re2_opcodes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
re2_opcodes [2023/08/10 19:08] – 3lric | re2_opcodes [2024/08/04 06:23] (current) – 3lric | ||
---|---|---|---|
Line 1: | Line 1: | ||
^ Instruction Name ^ Length | ^ Instruction Name ^ Length | ||
- | |{00} Nop | 01 |++00|\\ | + | |{00} Nop | 01 |++00++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x00 | + | UCHAR Opcode; // 0x00 |
- | } Nop; // Nop | + | } Nop; |
- | This bytecode is used for alignment of 1 byte opcodes and ending ElseIf blocks.++| | + | This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++| |
- | |{01} Evt_end | + | |{01} Evt_end |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x01 | + | UCHAR Opcode; // 0x01 |
- | UCHAR zAlign; // 0x01 // Always Zero | + | UCHAR zAlign; // Always Zero (Alignment byte) |
- | } Evt_end; // End Current Script | + | } Evt_end; |
- | This bytecode ends the current Main/Sub script++| | + | This bytecode ends the current Main/Sub script.++| 08-02-2024 Newly Added | |
- | |{02} Evt_next | + | |{02} Evt_next |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x02 | + | UCHAR Opcode; // 0x02 |
- | } Evt_next; // | + | } Evt_next; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{03} Evt_chain | + | |{03} Evt_chain |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x03 | + | UCHAR Opcode; // 0x03 |
- | UCHAR | + | UCHAR |
- | } Evt_chain; | + | } Evt_chain; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{04} Evt_exec | + | |{04} Evt_exec |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x04 | + | UCHAR Opcode; // 0x04 |
- | UCHAR | + | UCHAR |
- | UCHAR | + | UCHAR |
- | UCHAR | + | UCHAR |
- | } Evt_exec; | + | } Evt_exec; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{05} Evt_kill | + | |{05} Evt_kill |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x05 | + | UCHAR Opcode; // 0x05 |
- | UCHAR | + | UCHAR |
- | } Evt_kill; | + | } Evt_kill; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{06} Ifel_ck | + | |{06} Ifel_ck |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x06 | + | UCHAR Opcode; // 0x06 |
- | UCHAR zAlign; | + | UCHAR zAlign; |
- | USHORT | + | USHORT |
- | } Ifel_ck; | + | } Ifel_ck; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{07} Else_ck | + | |{07} Else_ck |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x07 | + | UCHAR Opcode; // 0x07 |
- | UCHAR zAlign; | + | UCHAR zAlign; |
- | USHORT | + | USHORT |
- | } Else_ck; | + | } Else_ck; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{08} Endif | 02 |++08 ??|\\ | + | |{08} Endif | 02 |++08 00++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x08 | + | UCHAR Opcode; // 0x08 |
- | UCHAR zAlign; | + | UCHAR zAlign; |
- | } Endif; | + | } Endif; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{09} Sleep | 04 |++09 ?? ?? ??|\\ | + | |{09} Sleep | 04 |++09 ?? CO NT++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; // 0x00 // 0x09 | + | UCHAR Opcode; // 0x09 |
- | UCHAR | + | UCHAR |
- | USHORT | + | USHORT |
- | } Sleep; | + | } Sleep; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{0A} Sleeping | + | |{0A} Sleeping |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x0A |
- | USHORT | + | USHORT |
- | } Sleeping; | + | } Sleeping; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{0B} Wsleep | + | |{0B} Wsleep |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x0B |
- | } Wsleep; | + | } Wsleep; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{0C} Wsleeping | + | |{0C} Wsleeping |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x0C |
- | } Wsleeping; | + | } Wsleeping; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{0D} For | 06 |++0D ?? ?? ?? ?? ??|\\ | + | |{0D} For | 06 |++0D 00 SI ZE CO NT++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x0D |
- | UCHAR zAlign; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
- | SHORT data2; | + | USHORT Size; // Size of the block to check |
- | USHORT | + | USHORT |
- | } For; | + | } For; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{0E} Next | 02 |++0E ??|\\ | + | |{0E} Next | 02 |++0E 00++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x0E |
- | UCHAR zAlign; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
- | } Next; | + | } Next; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{0F} While | 04 |++0F ?? ?? ??|\\ | + | |{0F} While | 04 |++0F 00 SI ZE++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x0F |
- | UCHAR zAlign; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
- | SHORT data1; | + | USHORT Size; // Size of the block to check |
- | } While; | + | } While; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{10} Ewhile | + | |{10} Ewhile |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x10 |
- | UCHAR | + | UCHAR |
- | } Ewhile; | + | } Ewhile; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{11} Do | 04 |++11 ?? ?? ??|\\ | + | |{11} Do | 04 |++11 00 SI ZE++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x11 |
- | UCHAR zAlign; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
- | SHORT data2; | + | USHORT Size; // Size of the block to check |
- | } Do; | + | } Do; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{12} Edwhile | + | |{12} Edwhile |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x12 |
- | UCHAR | + | UCHAR |
- | } Edwhile; | + | } Edwhile; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{13} Switch | + | |{13} Switch |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x13 |
- | UCHAR | + | UCHAR |
- | USHORT | + | USHORT |
- | } Switch; | + | } Switch; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{14} Case | 06 |++14 ?? ?? ?? ?? ??|\\ | + | |{14} Case | 06 |++14 00 SI ZE VA LU++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x14 |
- | UCHAR | + | UCHAR |
- | USHORT | + | USHORT |
- | } Case; | + | USHORT CaseValue; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Case; |
- | |{15} Default | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{15} Default |
- | UCHAR Opcode; | + | typedef struct { |
- | UCHAR zAlign; | + | UCHAR Opcode; // 0x15 |
- | } Default; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Default; |
- | |{16} Eswitch | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{16} Eswitch |
- | UCHAR Opcode; | + | typedef struct { |
- | UCHAR zAlign; | + | UCHAR Opcode; // 0x16 |
- | } Eswitch; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Eswitch; |
- | |{17} Goto | 06 |++17 ?? ?? ?? ?? ??|\\ | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{17} Goto | 06 |++17 ?? ?? ?? ?? ?? ??++|\\ |
- | UCHAR Opcode; | + | typedef struct { |
- | UCHAR | + | UCHAR Opcode; |
- | UCHAR | + | UCHAR |
- | UCHAR zAlign; | + | UCHAR |
- | SHORT | + | UCHAR zAlign; |
- | } Goto; | + | SHORT |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Goto; |
- | |{18} Gosub | 02 |++18 ??|\\ | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{18} Gosub | 02 |++18 ID++|\\ |
- | UCHAR Opcode; | + | typedef struct { |
- | UCHAR | + | UCHAR Opcode; // 0x18 |
- | } Gosub; | + | UCHAR |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Gosub; |
- | |{19} Return | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{19} Return |
- | UCHAR Opcode; | + | typedef struct { |
- | UCHAR | + | UCHAR Opcode; // 0x19 |
- | } Return; | + | UCHAR |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Return; |
- | |{1A} Break | 02 |++1A ??|\\ | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{1A} Break | 02 |++1A 00++|\\ |
- | UCHAR Opcode; | + | typedef struct { |
- | CHAR data1; | + | UCHAR Opcode; // 0x1A |
- | } Break; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Break; |
- | |{1B} For2 | 06 |++1B ?? ?? ?? ?? ??|\\ | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{1B} For2 | 06 |++1B 00 XX XX 00 XX XX++|\\ |
- | UCHAR Opcode; | + | typedef struct { |
- | UCHAR | + | UCHAR Opcode; // 0x1B |
- | SHORT | + | UCHAR |
- | UCHAR | + | SHORT |
- | UCHAR data5; | + | UCHAR |
- | } For2; | + | SHORT EndValue; // End value of the loop counter |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } For2; |
- | |{1C} Break_point | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{1C} Break_point |
- | UCHAR Opcode; | + | typedef struct { |
- | } Break_point; | + | UCHAR Opcode; // 0x1C |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Break_point; |
- | |{1D} Work_copy | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{1D} Work_copy |
- | UCHAR Opcode; | + | typedef struct { |
- | UCHAR Source; | + | UCHAR Opcode; // 0x1D |
- | UCHAR | + | UCHAR Source; // Source index |
- | UCHAR Typecast; | + | UCHAR |
- | } Work_copy; | + | UCHAR Typecast; // Typecast operation |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Work_copy; |
- | |{1E} | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{1E} |
- | UCHAR Opcode; | + | typedef struct { |
- | } Nop; // Nop | + | UCHAR Opcode; |
- | This bytecode is used for alignment of 1 byte opcodes and ending ElseIf blocks.++| | + | } Nop; |
- | |{1F} | + | This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++| |
- | typedef struct { // Ptr // Description | + | |{1F} |
- | UCHAR Opcode; | + | typedef struct { |
- | } Nop; // Nop | + | UCHAR Opcode; |
- | This bytecode is used for alignment of 1 byte opcodes and ending ElseIf blocks.++| | + | } Nop; |
- | |{20} Nop | 01 |++20|\\ | + | This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++| |
- | typedef struct { // Ptr // Description | + | |{20} Nop | 01 |++20++|\\ |
- | UCHAR Opcode; | + | typedef struct { |
- | } Nop; // Nop | + | UCHAR Opcode; |
- | This bytecode is used for alignment of 1 byte opcodes and ending ElseIf blocks.++| | + | } Nop; |
- | |{21} Ck | 04 |++21 ?? ?? ??|\\ | + | This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++| |
- | typedef struct { // Ptr // Description | + | |{21} Ck | 04 |++21 ?? ID ??++|\\ |
- | UCHAR Opcode; // 0x21 | + | typedef struct { |
- | UCHAR Flag; | + | UCHAR Opcode; // 0x21 |
- | UCHAR Id; // Bit | + | UCHAR Flag; |
- | UCHAR OnOff; | + | UCHAR Id; // Bit ID to check |
- | } Ck; | + | UCHAR OnOff; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Ck; |
- | |{22} Set | 04 |++22 ?? ?? ??|\\ | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{22} Set | 04 |++22 ?? ID ??++|\\ |
- | UCHAR Opcode; // 0x22 | + | typedef struct { |
- | UCHAR Flag; | + | UCHAR Opcode; // 0x22 |
- | UCHAR Id; // Bit | + | UCHAR Flag; |
- | UCHAR OnOff; | + | UCHAR Id; // Bit ID to set |
- | } Set; | + | UCHAR OnOff; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | } Set; |
- | |{23} Cmp | 06 |++23 ?? ?? ?? ?? ??|\\ | + | This bytecode |
- | typedef struct { // Ptr // Description | + | |{23} Cmp | 06 |++23 00 ID ?? VA LU++|\\ |
- | UCHAR zAlign; | + | typedef struct { |
- | UCHAR | + | UCHAR Opcode; |
- | UCHAR Operator; | + | UCHAR zAlign; |
- | SHORT Value; | + | UCHAR |
+ | UCHAR Operator; | ||
+ | SHORT Value; | ||
} Cmp; | } Cmp; | ||
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode |
- | |{24} Save | 04 |++24 ?? ?? ?? | + | |{24} Save | 04 |++24 ID XX XX++|\\ |
- | typedef struct { // Ptr // Description | + | typedef struct { |
- | UCHAR Opcode; | + | UCHAR Opcode; // 0x24 |
- | UCHAR Destination; | + | UCHAR Destination; |
- | SHORT Source; | + | SHORT Source; // Source value |
- | } Save; | + | } Save; |
- | This bytecode ++| 08-08-2023 Newly Added | | + | This bytecode saves the specified source value to the destination index.++| |
+ | |{25} Copy | 03 |++25 ID ??++|\\ | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x25 | ||
+ | UCHAR Destination; | ||
+ | UCHAR Source; // Source index | ||
+ | } Copy; | ||
+ | This bytecode copies the value from the source index to the destination index.++| | ||
+ | |{26} Calc | 06 |++26 00 ?? ?? VA LU++|\\ | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x26 | ||
+ | UCHAR zAlign; // Always Zero (Alignment byte) | ||
+ | UCHAR Operator; | ||
+ | UCHAR Flag; // Memory Location to apply math to | ||
+ | SHORT Value; // Amount used in operation | ||
+ | } Calc; | ||
+ | This bytecode performs the specified arithmetic operation on the operands and stores the result.++| | ||
+ | |{27} Calc2 | 04 |++27 ?? ?? ??++|\\ | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x27 | ||
+ | UCHAR Operator; | ||
+ | UCHAR Flag; | ||
+ | UCHAR Value; | ||
+ | } Calc2; | ||
+ | This bytecode performs the specified arithmetic operation on the two operands and stores the result.++| | ||
+ | |{28} Sce_rnd | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x28 | ||
+ | } Sce_rnd; | ||
+ | This bytecode generates a random value.++| | ||
+ | |{29} Cut_chg | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x29 | ||
+ | UCHAR CutId; // ID of the cutscene | ||
+ | } Cut_chg; | ||
+ | This bytecode changes the current camera to the specified camera ID.++| | ||
+ | |{2A} Cut_old | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x2A | ||
+ | } Cut_old; | ||
+ | This bytecode reverts to the previous camera.++| | ||
+ | |{2B} Message_on | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x2B | ||
+ | UCHAR zAlign; // Always Zero (Alignment byte) | ||
+ | UCHAR Type; // Message type | ||
+ | UCHAR MessageId; | ||
+ | USHORT DisplayTime; | ||
+ | } Message_on; | ||
+ | This bytecode displays the specified message.++| | ||
+ | |{2C} Aot_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x2C | ||
+ | CHAR Aot; // Aot | ||
+ | UCHAR SCE; // Id | ||
+ | UCHAR SAT; // Type | ||
+ | UCHAR nFloor; // nFloor | ||
+ | UCHAR Super; // Super | ||
+ | SHORT X; // Position | ||
+ | SHORT Z; // Position | ||
+ | USHORT W; // Size | ||
+ | USHORT D; // Size | ||
+ | USHORT Data0; // Sce_Message / Flag Type / Always 0x00FF | ||
+ | USHORT Data1; // Sce_Message / Flag Id / Script Id Init & Complete | ||
+ | USHORT Data2; // Always 0xFFFF | ||
+ | } Aot_set; | ||
+ | This bytecode sets the properties of the specified AOT.++| | ||
+ | |{2D} Obj_model_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x2D | ||
+ | UCHAR MD1; // MD1 File Id | ||
+ | UCHAR Id; // Global-> | ||
+ | UCHAR Ccol_old; | ||
+ | UCHAR Ccol_no; | ||
+ | UCHAR Ctex_old; | ||
+ | UCHAR nFloor; // | ||
+ | UCHAR Super; // | ||
+ | USHORT Type; // Global-> | ||
+ | USHORT BeFlag; // Global-> | ||
+ | SHORT Attribute; | ||
+ | SHORT X; // | ||
+ | SHORT Y; // | ||
+ | SHORT Z; // | ||
+ | SHORT DirX; // | ||
+ | SHORT DirY; // | ||
+ | SHORT DirZ; // | ||
+ | SHORT AtariOffsetX; | ||
+ | SHORT AtariOffsetY; | ||
+ | SHORT AtariOffsetZ; | ||
+ | SHORT AtariSizeX; | ||
+ | SHORT AtariSizeY; | ||
+ | SHORT AtariSizeZ; | ||
+ | } Obj_model_set; | ||
+ | This bytecode sets the properties of the specified object model.++| | ||
+ | |{2E} Work_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x2E | ||
+ | UCHAR Type; // Type of Work Set to Select | ||
+ | UCHAR EntityId; | ||
+ | } Work_set; | ||
+ | This bytecode sets the properties of the specified work (task).++| | ||
+ | |{2F} Speed_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x2F | ||
+ | UCHAR SpeedId; | ||
+ | USHORT SpeedValue; | ||
+ | } Speed_set; | ||
+ | This bytecode sets the specified speed setting.++| | ||
+ | |{30} Add_speed | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x30 | ||
+ | } Add_speed; | ||
+ | This bytecode increments the speed setting.++| | ||
+ | |{31} Add_aspeed | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x31 | ||
+ | } Add_aspeed; | ||
+ | This bytecode increments the angular speed setting.++| | ||
+ | |{32} Pos_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x32 | ||
+ | UCHAR zAlign; // Always Zero (Alignment byte) | ||
+ | SHORT PosX; // X position | ||
+ | SHORT PosY; // Y position | ||
+ | SHORT PosZ; // Z position | ||
+ | } Pos_set; | ||
+ | This bytecode sets the position in 3D space.++| | ||
+ | |{33} Dir_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x33 | ||
+ | UCHAR zAlign; // Always Zero (Alignment byte) | ||
+ | SHORT DirX; // X direction | ||
+ | SHORT DirY; // Y direction | ||
+ | SHORT DirZ; // Z direction | ||
+ | } Dir_set; | ||
+ | This bytecode sets the direction in 3D space.++| | ||
+ | |{34} Member_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x34 | ||
+ | UCHAR Destination; | ||
+ | SHORT Source; // Source | ||
+ | } Member_set; | ||
+ | This bytecode sets the properties of the specified member.++| | ||
+ | |{35} Member_set2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x35 | ||
+ | UCHAR Destination; // Destination | ||
+ | UCHAR Source; // Source | ||
+ | } Member_set2; | ||
+ | This bytecode sets a single property of the specified member.++| | ||
+ | |{36} Se_on | 12 |++36 ?? ?? ?? ?? XX XX YY YY ZZ ZZ++|\\ | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x36 | ||
+ | UCHAR VAB; // VAB Bank Id | ||
+ | SHORT EDT; // EDT Sample Id | ||
+ | SHORT data0; // Sound Reverberation, | ||
+ | SHORT X; // Position | ||
+ | SHORT Y; | ||
+ | SHORT Z; | ||
+ | } Se_on; | ||
+ | This bytecode plays the specified sound effect with the given parameters.++| | ||
+ | |{37} Sca_id_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x37 | ||
+ | UCHAR iEntry; // SCA Collision Entry | ||
+ | USHORT Id; // New Collision ID | ||
+ | } Sca_id_set; | ||
+ | This bytecode sets the specified scale ID to the given value.++| | ||
+ | |{38} Flr_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x38 | ||
+ | UCHAR Id; | ||
+ | UCHAR Flag; | ||
+ | } Flr_set; | ||
+ | This bytecode sets the specified floor ID to the given value.++| | ||
+ | |{39} Dir_ck | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x39 | ||
+ | UCHAR zAlign; // 0x00 | ||
+ | SHORT | ||
+ | SHORT Z; | ||
+ | SHORT Add; | ||
+ | } Dir_ck; | ||
+ | This bytecode checks the specified direction coordinates.++| | ||
+ | |{3A} Sce_espr_on | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x3A | ||
+ | UCHAR zAlign; // 0x00 | ||
+ | USHORT data0; | ||
+ | USHORT data1; | ||
+ | USHORT data2; | ||
+ | SHORT X; | ||
+ | SHORT Y; | ||
+ | SHORT Z; | ||
+ | SHORT DirY; | ||
+ | } Sce_espr_on; | ||
+ | This bytecode turns on the specified espr with the given parameters.++| | ||
+ | |{3B} Door_aot_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x3B | ||
+ | UCHAR Aot; // Aot | ||
+ | UCHAR SCE; // Id /* tagSCE_AOT | ||
+ | UCHAR SAT; // Type | ||
+ | UCHAR nFloor; // nFloor | ||
+ | UCHAR Super; // Super | ||
+ | SHORT X; // Position | ||
+ | SHORT Z; // Position | ||
+ | USHORT W; // Size | ||
+ | USHORT D; // Size */ tagSCE_AOT | ||
+ | SHORT Next_pos_x; | ||
+ | SHORT Next_pos_y; | ||
+ | SHORT Next_pos_z; | ||
+ | SHORT Next_cdir_y; | ||
+ | UCHAR Next_stage; | ||
+ | UCHAR Next_room; | ||
+ | UCHAR Next_cut; | ||
+ | UCHAR Next_nfloor; | ||
+ | UCHAR Dtex_type; | ||
+ | UCHAR Door_type; | ||
+ | UCHAR Knock_type; | ||
+ | UCHAR Key_id; // | ||
+ | UCHAR Key_type; | ||
+ | UCHAR Free; // */ tagIN_DOOR_WORK | ||
+ | } Door_aot_set; | ||
+ | This bytecode sets the specified door AOT parameters.++| | ||
+ | |{3C} Cut_auto | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x3C | ||
+ | UCHAR OnOff; // 00 OFF, 01 ON | ||
+ | } Cut_auto; | ||
+ | This bytecode sets the specified auto cutscene parameters.++| | ||
+ | |{3D} Member_copy | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x3D | ||
+ | UCHAR Destination; | ||
+ | UCHAR | ||
+ | } Member_copy; | ||
+ | This bytecode copies the specified member parameters from the source to the destination.++| | ||
+ | |{3E} | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x3E | ||
+ | UCHAR zAlign; // Always Zero (Alignment byte) | ||
+ | UCHAR Flag; // Load_member_addr_branch() argv[1] | ||
+ | UCHAR Operator; | ||
+ | SHORT Value; // Value to compare | ||
+ | } Member_cmp; | ||
+ | This bytecode compares the specified member parameters with the given value.++| | ||
+ | |{3F} Plc_motion | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x3F | ||
+ | UCHAR MotionId; | ||
+ | UCHAR Mode; // Mode to set the motion to | ||
+ | UCHAR Param; // Parameter for the motion | ||
+ | } Plc_motion; | ||
+ | This bytecode sets the specified motion parameters.++| | ||
+ | |{40} Plc_dest | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x40 | ||
+ | UCHAR zAlign; // 0x00 | ||
+ | UCHAR Animation; | ||
+ | UCHAR Bit; // Room_flg | ||
+ | SHORT X; // Destination | ||
+ | SHORT Z; // Destination | ||
+ | } Plc_dest; | ||
+ | This bytecode | ||
+ | |{41} Plc_neck | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x41 | ||
+ | UCHAR Op; // | ||
+ | SHORT X; // | ||
+ | SHORT Y; // | ||
+ | SHORT Z; // | ||
+ | UCHAR SpeedX; | ||
+ | UCHAR SpeedZ; | ||
+ | } Plc_neck; | ||
+ | This bytecode sets the specified neck parameters.++| | ||
+ | |{42} Plc_ret | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x42 | ||
+ | } Plc_ret; | ||
+ | This bytecode returns from the specified plc function.++| | ||
+ | |{43} Plc_flg | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x43 | ||
+ | UCHAR zAlign; // 0x00 | ||
+ | UCHAR data0; // | ||
+ | UCHAR data1; // | ||
+ | } Plc_flg; | ||
+ | This bytecode sets the specified flag parameters.++| | ||
+ | |{44} Sce_em_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x44 | ||
+ | UCHAR Nop; // 0x00 | ||
+ | CHAR Em_no; // Em_no | ||
+ | UCHAR Id; // EMD File Id for Em_bin_load() function | ||
+ | USHORT Type; // Type | ||
+ | UCHAR nFloor; // nFloor | ||
+ | UCHAR Sound_flg; | ||
+ | UCHAR Model_type; | ||
+ | UCHAR Em_set_flg; | ||
+ | SHORT Pos_x; // Position X | ||
+ | SHORT Pos_y; // Position Y | ||
+ | SHORT Pos_z; // Position Z | ||
+ | SHORT Cdir_y; // Rotation Y | ||
+ | SHORT Motion; // Motion | ||
+ | SHORT Ctr_flg; | ||
+ | } Sce_em_set; | ||
+ | This bytecode sets the specified enemy parameters.++| | ||
+ | |{45} Col_chg_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x45 | ||
+ | UCHAR Data0; // Data0 | ||
+ | UCHAR Data1; // Data1 | ||
+ | UCHAR Data2; // Data2 | ||
+ | UCHAR Data3; // Data3 | ||
+ | } Col_chg_set; | ||
+ | This bytecode sets the specified color parameters.++| | ||
+ | |{46} Aot_reset | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x46 | ||
+ | CHAR Aot; // Aot | ||
+ | UCHAR SCE; // SCE | ||
+ | UCHAR SAT; // SAT | ||
+ | SHORT Data0; // Data0 | ||
+ | SHORT Data1; // Data1 | ||
+ | SHORT Data2; // Data2 | ||
+ | } Aot_reset; | ||
+ | This bytecode resets the specified AOT parameters.++| | ||
+ | |{47} Aot_on | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x47 | ||
+ | CHAR Aot; // Aot | ||
+ | } Aot_on; | ||
+ | This bytecode turns on the specified AOT.++| | ||
+ | |{48} Super_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x48 | ||
+ | UCHAR zAlign; // Alignment byte (always 0x00) | ||
+ | UCHAR Work; // Work Type | ||
+ | UCHAR Id; // Work Aot/Obj No | ||
+ | SHORT pX; // Parent X | ||
+ | SHORT pY; // Parent Y | ||
+ | SHORT pZ; // Parent Z | ||
+ | SHORT dX; // Destination X | ||
+ | SHORT dY; // Destination Y | ||
+ | SHORT dZ; // Destination Z | ||
+ | } Super_set; | ||
+ | This bytecode sets the specified super parameters.++| | ||
+ | |{49} Super_reset | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x49 | ||
+ | UCHAR zAlign; // Alignment byte (always 0x00) | ||
+ | SHORT dX; // Destination X | ||
+ | SHORT dY; // Destination Y | ||
+ | SHORT dZ; // Destination Z | ||
+ | } Super_reset; | ||
+ | This bytecode resets the specified super parameters.++| | ||
+ | |{4A} Plc_gun | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x4A | ||
+ | UCHAR GunId; // ID of the gun to set | ||
+ | } Plc_gun; | ||
+ | This bytecode sets the specified gun parameters.++| | ||
+ | |{4B} Cut_replace | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x4B | ||
+ | UCHAR Id; // Id | ||
+ | UCHAR Value; // Value | ||
+ | } Cut_replace; | ||
+ | This bytecode replaces the specified cutscene parameters.++| | ||
+ | |{4C} Sce_espr_kill | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x4C | ||
+ | UCHAR id; // Esp_kill() argv[0] | ||
+ | UCHAR tp; // Esp_kill() argv[1] | ||
+ | CHAR WorkKind; | ||
+ | CHAR WorkNo; // Get_matrix() argv[1] | ||
+ | } Sce_espr_kill; | ||
+ | This bytecode kills the specified espr with the given parameters.++| | ||
+ | |{4D} Door_model_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x4D | ||
+ | UCHAR data0; // data0 | ||
+ | UCHAR Id; // DOOR_WORK.Id | ||
+ | UCHAR OfsY; // DOOR_WORK.Atd[3] | ||
+ | UCHAR BeFlg; // DOOR_WORK.Be_flg | ||
+ | UCHAR data5; // data5 | ||
+ | USHORT data6; // data6 | ||
+ | SHORT X; // DOOR_WORK.Atd[3] | ||
+ | SHORT Y; // DOOR_WORK.Atd[3] | ||
+ | SHORT Z; // DOOR_WORK.Atd[3] | ||
+ | SHORT DirY; // DOOR_WORK.Atd[3] | ||
+ | USHORT data10; // DOOR_WORK.MATRIX | ||
+ | USHORT data11; // DOOR_WORK.MATRIX | ||
+ | USHORT data12; // DOOR_WORK.MATRIX | ||
+ | } Door_model_set; | ||
+ | This bytecode sets the specified door model parameters.++| | ||
+ | |{4E} Item_aot_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x4E | ||
+ | UCHAR Aot; // Aot | ||
+ | UCHAR SCE; // SCE | ||
+ | UCHAR SAT; // SAT | ||
+ | UCHAR nFloor; // nFloor | ||
+ | UCHAR Super; // Super | ||
+ | SHORT X; // X | ||
+ | SHORT Z; // Z | ||
+ | USHORT W; // W | ||
+ | USHORT D; // D | ||
+ | USHORT iItem; // iItem | ||
+ | USHORT nItem; // nItem | ||
+ | USHORT Flag; // Flag | ||
+ | UCHAR MD1; // MD1 | ||
+ | UCHAR Action; // Action | ||
+ | } Item_aot_set; | ||
+ | This bytecode sets the specified item AOT parameters.++| | ||
+ | |{4F} Sce_key_ck | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x4F | ||
+ | UCHAR Flag; // Flag | ||
+ | USHORT Value; // Value | ||
+ | } Sce_key_ck; | ||
+ | This bytecode checks the specified key parameters.++| | ||
+ | |{50} Sce_trg_ck | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x50 | ||
+ | UCHAR Flag; // Flag | ||
+ | USHORT Value; // Value | ||
+ | } Sce_trg_ck; | ||
+ | This bytecode checks the specified trigger parameters.++| | ||
+ | |{51} Sce_bgm_control | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x51 | ||
+ | UCHAR Id; // Id | ||
+ | UCHAR Op; // Op | ||
+ | UCHAR Type; // Type | ||
+ | UCHAR VolL; // VolL | ||
+ | UCHAR VolR; // VolR | ||
+ | } Sce_bgm_control; | ||
+ | This bytecode controls the specified BGM parameters.++| | ||
+ | |{52} Sce_espr_control | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x52 | ||
+ | UCHAR Id; // Id | ||
+ | UCHAR Type; // Type | ||
+ | UCHAR Return; // Return | ||
+ | CHAR WorkKind; | ||
+ | CHAR WorkNo; // WorkNo | ||
+ | } Sce_espr_control; | ||
+ | This bytecode controls the specified espr parameters.++| | ||
+ | |{53} Sce_fade_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x53 | ||
+ | UCHAR data0; // data0 | ||
+ | UCHAR data1; // data1 | ||
+ | UCHAR data2; // data2 | ||
+ | USHORT data3; // data3 | ||
+ | } Sce_fade_set; | ||
+ | This bytecode sets the specified fade parameters.++| | ||
+ | |{54} Sce_espr3d_on | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x54 | ||
+ | UCHAR zAlign; // zAlign | ||
+ | USHORT data0; // data0 | ||
+ | USHORT data1; // data1 | ||
+ | USHORT data2; // data2 | ||
+ | SHORT X; // X | ||
+ | SHORT Y; // Y | ||
+ | SHORT Z; // Z | ||
+ | SHORT DirX; // DirX | ||
+ | SHORT DirY; // DirY | ||
+ | SHORT DirZ; // DirZ | ||
+ | SHORT data3; // data3 | ||
+ | } Sce_espr3d_on; | ||
+ | This bytecode turns on the specified 3D espr with the given parameters.++| | ||
+ | |{55} Member_calc | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x55 | ||
+ | UCHAR Operator; | ||
+ | USHORT Flag; // Flag | ||
+ | SHORT Value; // Value | ||
+ | } Member_calc; | ||
+ | This bytecode performs the specified arithmetic operation on the member with the given value.++| | ||
+ | |{56} Member_calc2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x56 | ||
+ | UCHAR Operator; | ||
+ | UCHAR Flag; // Flag | ||
+ | UCHAR Value; // Value | ||
+ | } Member_calc2; | ||
+ | This bytecode performs the specified arithmetic operation on the member with the given value.++| | ||
+ | |{57} Sce_bgmtbl_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x57 | ||
+ | UCHAR zAlign; // zAlign | ||
+ | UCHAR Stage; // Stage | ||
+ | UCHAR Room; // Room | ||
+ | USHORT data1; // data1 | ||
+ | USHORT data2; // data2 | ||
+ | } Sce_bgmtbl_set; | ||
+ | This bytecode sets the specified BGM table parameters.++| | ||
+ | |{58} Plc_rot | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x58 | ||
+ | UCHAR Id; // Id | ||
+ | USHORT Sce_free0; | ||
+ | } Plc_rot; | ||
+ | |||
+ | This bytecode sets the specified rotation parameters.++| | ||
+ | |{59} Xa_on | 04 |++59 ?? ?? ?? ++|\\ | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x59 | ||
+ | UCHAR Mode; // Mode | ||
+ | USHORT Number; // Number | ||
+ | } Xa_on; | ||
+ | This bytecode turns on the specified XA with the given parameters.++| | ||
+ | |{5A} Weapon_chg | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x5A | ||
+ | UCHAR WeaponId; | ||
+ | } Weapon_chg; | ||
+ | This bytecode changes the specified weapon parameters.++| | ||
+ | |{5B} Plc_cnt | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x5B | ||
+ | UCHAR Id; // Id | ||
+ | } Plc_cnt; | ||
+ | This bytecode performs the specified arithmetic operation on the counter with the given value.++| | ||
+ | |{5C} Sce_shake_on | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x5C | ||
+ | CHAR Slide_ofs; | ||
+ | CHAR Copy_ofs; | ||
+ | } Sce_shake_on; | ||
+ | This bytecode turns on the specified shake effect with the given parameters.++| | ||
+ | |{5D} Mizu_div_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x5D | ||
+ | UCHAR Id; // Id | ||
+ | } Mizu_div_set; | ||
+ | This bytecode sets the specified water division parameters.++| | ||
+ | |{5E} Keep_Item_ck | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x5E | ||
+ | UCHAR ItemId; // ID of the item to check | ||
+ | } Keep_Item_ck; | ||
+ | This bytecode checks the specified item parameters.++| | ||
+ | |{5F} Xa_vol | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x5F | ||
+ | UCHAR Volume; // XA volume level | ||
+ | } Xa_vol; | ||
+ | This bytecode sets the specified XA volume and pan parameters.++| | ||
+ | |{60} Kage_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x60 | ||
+ | UCHAR Work; // Work | ||
+ | CHAR Id; // Id | ||
+ | UCHAR Data0; // Data0 | ||
+ | UCHAR Data1; // Data1 | ||
+ | UCHAR Data2; // Data2 | ||
+ | USHORT Data3; // Data3 | ||
+ | USHORT Data4; // Data4 | ||
+ | USHORT Data5; // Data5 | ||
+ | USHORT Data6; // Data6 | ||
+ | } Kage_set; | ||
+ | This bytecode sets the specified shadow parameters.++| | ||
+ | |{61} Cut_be_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x61 | ||
+ | UCHAR Id; // Id | ||
+ | UCHAR Value; // Value | ||
+ | UCHAR OnOff; // OnOff | ||
+ | } Cut_be_set; | ||
+ | This bytecode sets the specified cutscene parameters.++| | ||
+ | |{62} Sce_Item_lost | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x62 | ||
+ | UCHAR ItemId; // ID of the lost item | ||
+ | } Sce_Item_lost; | ||
+ | This bytecode removes the specified item from the inventory.++| | ||
+ | |{63} Plc_gun_eff | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x63 | ||
+ | } Plc_gun_eff; | ||
+ | This bytecode sets the specified gun effect parameters.++| | ||
+ | |{64} Sce_espr_on2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x64 | ||
+ | UCHAR dir_y_id2; | ||
+ | USHORT data1; // data1 | ||
+ | UCHAR WorkKind; | ||
+ | UCHAR WorkNo; // WorkNo | ||
+ | USHORT data3; // data3 | ||
+ | SHORT X; // X | ||
+ | SHORT Y; // Y | ||
+ | SHORT Z; // Z | ||
+ | USHORT DirY; // DirY | ||
+ | } Sce_espr_on2; | ||
+ | This bytecode turns on the specified espr with the given parameters.++| | ||
+ | |{65} Sce_espr_kill2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x65 | ||
+ | UCHAR EsprId; // ID of the effect sprite to kill | ||
+ | } Sce_espr_kill2; | ||
+ | This bytecode kills the specified espr with the given parameters.++| | ||
+ | |{66} Plc_stop | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x66 | ||
+ | } Plc_stop; | ||
+ | This bytecode stops the specified plc function.++| | ||
+ | |{67} Aot_set_4p | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x67 | ||
+ | UCHAR Aot; // Aot | ||
+ | UCHAR SCE; // Id | ||
+ | UCHAR SAT; // Type | ||
+ | UCHAR nFloor; // nFloor | ||
+ | UCHAR Super; // Super | ||
+ | SHORT X0; // X0 | ||
+ | SHORT Z0; // Z0 | ||
+ | SHORT X1; // X1 | ||
+ | SHORT Z1; // Z1 | ||
+ | SHORT X2; // X2 | ||
+ | SHORT Z2; // Z2 | ||
+ | SHORT X3; // X3 | ||
+ | SHORT Z3; // Z3 | ||
+ | USHORT Data0; // Data0 | ||
+ | USHORT Data1; // Data1 | ||
+ | USHORT Data2; // Data2 | ||
+ | } Aot_set_4p; | ||
+ | This bytecode sets the specified 4-point AOT parameters.++| | ||
+ | |{68} Door_aot_set_4p | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x68 | ||
+ | UCHAR Aot; // Aot | ||
+ | UCHAR SCE; // Id | ||
+ | UCHAR SAT; // Type | ||
+ | UCHAR nFloor; // nFloor | ||
+ | UCHAR Super; // Super | ||
+ | SHORT X0; // X0 | ||
+ | SHORT Z0; // Z0 | ||
+ | SHORT X1; // X1 | ||
+ | SHORT Z1; // Z1 | ||
+ | SHORT X2; // X2 | ||
+ | SHORT Z2; // Z2 | ||
+ | SHORT X3; // X3 | ||
+ | SHORT Z3; // Z3 | ||
+ | SHORT Next_pos_x; | ||
+ | SHORT Next_pos_y; | ||
+ | SHORT Next_pos_z; | ||
+ | SHORT Next_cdir_y; | ||
+ | UCHAR Next_stage; | ||
+ | UCHAR Next_room; | ||
+ | UCHAR Next_cut; | ||
+ | UCHAR Next_nfloor; | ||
+ | UCHAR Dtex_type; | ||
+ | UCHAR Door_type; | ||
+ | UCHAR Knock_type; | ||
+ | UCHAR Key_id; // Key_id | ||
+ | UCHAR Key_type; | ||
+ | UCHAR Free; // Free | ||
+ | } Door_aot_set_4p; | ||
+ | This bytecode sets the specified 4-point door AOT parameters.++| | ||
+ | |{69} Item_aot_set_4p | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x69 | ||
+ | UCHAR Aot; // Aot | ||
+ | UCHAR SCE; // Id | ||
+ | UCHAR SAT; // Type | ||
+ | UCHAR nFloor; // nFloor | ||
+ | UCHAR Super; // Super | ||
+ | SHORT X0; // X0 | ||
+ | SHORT Z0; // Z0 | ||
+ | SHORT X1; // X1 | ||
+ | SHORT Z1; // Z1 | ||
+ | SHORT X2; // X2 | ||
+ | SHORT Z2; // Z2 | ||
+ | SHORT X3; // X3 | ||
+ | SHORT Z3; // Z3 | ||
+ | USHORT iItem; // iItem | ||
+ | USHORT nItem; // nItem | ||
+ | USHORT Flag; // Flag | ||
+ | UCHAR MD1; // MD1 | ||
+ | UCHAR Action; // Action | ||
+ | } Item_aot_set_4p; | ||
+ | This bytecode sets the specified 4-point item AOT parameters.++| | ||
+ | |{6A} Light_pos_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x6A | ||
+ | UCHAR zAlign; // zAlign | ||
+ | UCHAR Index; // Index | ||
+ | UCHAR XYZ; // XYZ | ||
+ | SHORT Position; | ||
+ | } Light_pos_set; | ||
+ | This bytecode sets the specified light position parameters.++| | ||
+ | |{6B} Light_kido_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x6B | ||
+ | UCHAR Index; // Index | ||
+ | SHORT Luminosity; | ||
+ | } Light_kido_set; | ||
+ | This bytecode sets the specified light intensity and color parameters.++| | ||
+ | |{6C} Rbj_reset | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x6C | ||
+ | } Rbj_reset; | ||
+ | This bytecode resets the specified rbj parameters.++| | ||
+ | |{6D} Sce_scr_move | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x6D | ||
+ | UCHAR zAlign; // zAlign | ||
+ | SHORT Scrl_y; // Scrl_y | ||
+ | } Sce_scr_move; | ||
+ | This bytecode moves the specified screen with the given parameters.++| | ||
+ | |{6E} Parts_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x6E | ||
+ | UCHAR zAlign; // zAlign | ||
+ | CHAR Id; // Id | ||
+ | CHAR Type; // Type | ||
+ | SHORT Value; // Value | ||
+ | } Parts_set; | ||
+ | This bytecode sets the specified parts parameters.++| | ||
+ | |{6F} Movie_on | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x6F | ||
+ | UCHAR MovieId; | ||
+ | } Movie_on; | ||
+ | This bytecode plays the specified movie.++| | ||
+ | |{70} Splc_ret | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x70 | ||
+ | } Splc_ret; | ||
+ | This bytecode returns from the specified splc function.++| | ||
+ | |{71} Splc_sce | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x71 | ||
+ | } Splc_sce; | ||
+ | This bytecode sets the specified splc parameters.++| | ||
+ | |{72} Super_on | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x72 | ||
+ | UCHAR zAlign; // zAlign | ||
+ | UCHAR data0; // data0 | ||
+ | UCHAR data1; // data1 | ||
+ | SHORT data2; // data2 | ||
+ | SHORT data3; // data3 | ||
+ | SHORT data4; // data4 | ||
+ | SHORT data5; // data5 | ||
+ | SHORT data6; // data6 | ||
+ | SHORT data7; // data7 | ||
+ | } Super_on; | ||
+ | This bytecode turns on the specified super with the given parameters.++| | ||
+ | |{73} Mirror_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x73 | ||
+ | UCHAR Flag; // Flag | ||
+ | USHORT Position; | ||
+ | USHORT Min; // Min | ||
+ | USHORT Max; // Max | ||
+ | } Mirror_set; | ||
+ | This bytecode sets the specified mirror position parameters.++| | ||
+ | |{74} Sce_fade_adjust | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x74 | ||
+ | UCHAR data0; // data0 | ||
+ | SHORT data1; // data1 | ||
+ | } Sce_fade_adjust; | ||
+ | This bytecode adjusts the specified fade parameters.++| | ||
+ | |{75} Sce_espr3d_on2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x75 | ||
+ | UCHAR dir_y_id2; | ||
+ | USHORT bit; // bit | ||
+ | USHORT data4; // data4 | ||
+ | USHORT data6; // data6 | ||
+ | USHORT data8; // data8 | ||
+ | USHORT dataA; // dataA | ||
+ | USHORT dataC; // dataC | ||
+ | USHORT dataE; // dataE | ||
+ | USHORT data10; // data10 | ||
+ | USHORT data12; // data12 | ||
+ | USHORT data14; // data14 | ||
+ | } Sce_espr3d_on2; | ||
+ | This bytecode turns on the specified 3D espr with the given parameters.++| | ||
+ | |{76} Sce_Item_get | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x76 | ||
+ | UCHAR Id; // Id | ||
+ | UCHAR Num; // Num | ||
+ | } Sce_Item_get; | ||
+ | This bytecode gets the specified item with the given quantity.++| | ||
+ | |{77} Sce_line_start | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x77 | ||
+ | UCHAR Id; // Id | ||
+ | USHORT Value; // Value | ||
+ | } Sce_line_start; | ||
+ | This bytecode starts the specified line with the given parameters.++| | ||
+ | |{78} Sce_line_main | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x78 | ||
+ | UCHAR Id; // Id | ||
+ | SHORT Data0; // Data0 | ||
+ | SHORT Data1; // Data1 | ||
+ | } Sce_line_main; | ||
+ | This bytecode sets the specified line parameters.++| | ||
+ | |{79} Sce_line_end | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x79 | ||
+ | } Sce_line_end; | ||
+ | This bytecode ends the specified line.++| | ||
+ | |{7A} Sce_parts_bomb | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x7A | ||
+ | UCHAR zAlign; // zAlign | ||
+ | UCHAR data2; // data2 | ||
+ | UCHAR data3; // data3 | ||
+ | UCHAR data4; // data4 | ||
+ | UCHAR data5; // data5 | ||
+ | SHORT data6; // data6 | ||
+ | SHORT data8; // data8 | ||
+ | SHORT dataA; // dataA | ||
+ | SHORT dataC; // dataC | ||
+ | SHORT dataE; // dataE | ||
+ | } Sce_parts_bomb; | ||
+ | This bytecode bombs the specified parts with the given parameters.++| | ||
+ | |{7B} Sce_parts_down | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x7B | ||
+ | UCHAR Id; // Id | ||
+ | SHORT X; // X | ||
+ | SHORT Y; // Y | ||
+ | SHORT Z; // Z | ||
+ | SHORT cDirZ; // cDirZ | ||
+ | SHORT DirX; // DirX | ||
+ | SHORT DirY; // DirY | ||
+ | SHORT DirZ; // DirZ | ||
+ | } Sce_parts_down; | ||
+ | This bytecode moves down the specified parts with the given parameters.++| | ||
+ | |{7C} Light_color_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x7C | ||
+ | UCHAR Index; // Index | ||
+ | UCHAR R; // R | ||
+ | UCHAR G; // G | ||
+ | UCHAR B; // B | ||
+ | UCHAR zAlign; // zAlign | ||
+ | } Light_color_set; | ||
+ | This bytecode sets the specified light color parameters.++| | ||
+ | |{7D} Light_pos_set2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x7D | ||
+ | UCHAR nCut; // nCut | ||
+ | UCHAR Index; // Index | ||
+ | UCHAR XYZ; // XYZ | ||
+ | SHORT Position; | ||
+ | } Light_pos_set2; | ||
+ | This bytecode sets the specified light position parameters.++| | ||
+ | |{7E} Light_kido_set2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x7E | ||
+ | UCHAR zAlign; // zAlign | ||
+ | UCHAR nCut; // nCut | ||
+ | UCHAR Index; // Index | ||
+ | USHORT Luminosity; | ||
+ | } Light_kido_set2; | ||
+ | This bytecode sets the specified light intensity and color parameters.++| | ||
+ | |{7F} Light_color_set2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x7F | ||
+ | UCHAR nCut; // nCut | ||
+ | UCHAR Index; // Index | ||
+ | UCHAR R; // R | ||
+ | UCHAR G; // G | ||
+ | UCHAR B; // B | ||
+ | } Light_color_set2; | ||
+ | This bytecode sets the specified light color parameters.++| | ||
+ | |{80} Se_vol | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x80 | ||
+ | UCHAR Volume; // Volume level | ||
+ | } Se_vol; | ||
+ | This bytecode sets the specified sound effect volume and pan parameters.++| | ||
+ | |{81} Keep_Item_ck2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x81 | ||
+ | UCHAR ItemId; // ID of the item to check | ||
+ | UCHAR Quantity; | ||
+ | } Keep_Item_ck2; | ||
+ | This bytecode checks the specified item parameters.++| | ||
+ | |{82} Sce_espr_task | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x82 | ||
+ | CHAR WorkKind; | ||
+ | CHAR WorkNo; // WorkNo | ||
+ | } Sce_espr_task; | ||
+ | This bytecode sets the specified espr task parameters.++| | ||
+ | |{83} Plc_heal | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x83 | ||
+ | } Plc_heal; | ||
+ | This bytecode heals the specified plc function.++| | ||
+ | |{84} St_map_hint | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x84 | ||
+ | UCHAR DrModeTag; | ||
+ | } St_map_hint; | ||
+ | This bytecode sets the specified map hint parameters.++| | ||
+ | |{85} Sce_em_pos_ck | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x85 | ||
+ | UCHAR Id; // Id | ||
+ | UCHAR data1; // data1 | ||
+ | UCHAR Att; // Att | ||
+ | USHORT Flg; // Flg | ||
+ | } Sce_em_pos_ck; | ||
+ | This bytecode checks the specified enemy position parameters.++| | ||
+ | |{86} Poison_ck | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x86 | ||
+ | } Poison_ck; | ||
+ | This bytecode checks the specified poison parameters.++| | ||
+ | |{87} Poison_clr | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x87 | ||
+ | } Poison_clr; | ||
+ | This bytecode clears the specified poison parameters.++| | ||
+ | |{88} Sce_Item_lost2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x88 | ||
+ | UCHAR ItemId; // ID of the item | ||
+ | UCHAR Quantity; | ||
+ | } Sce_Item_lost2; | ||
+ | This bytecode removes the specified item from the inventory.++| | ||
+ | |{89} Evt_next2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x89 | ||
+ | } Evt_next2; | ||
+ | This bytecode moves to the next event in the sequence.++| | ||
+ | |{8A} Vib_set0 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x8A | ||
+ | UCHAR zAlign; // zAlign | ||
+ | USHORT data0; // data0 | ||
+ | USHORT data1; // data1 | ||
+ | } Vib_set0; | ||
+ | This bytecode sets the specified vibration parameters.++| | ||
+ | |{8B} Vib_set1 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x8B | ||
+ | UCHAR Id; // Vibration ID | ||
+ | USHORT Value1; // Vibration Value 1 | ||
+ | USHORT Value2; // Vibration Value 2 | ||
+ | } Vib_set1; | ||
+ | This bytecode sets the specified vibration parameters.++| | ||
+ | |{8C} Vib_fade_set | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x8C | ||
+ | UCHAR zAlign; // zAlign | ||
+ | UCHAR data0; // data0 | ||
+ | UCHAR data1; // data1 | ||
+ | USHORT data2; // data2 | ||
+ | USHORT data3; // data3 | ||
+ | } Vib_fade_set; | ||
+ | This bytecode sets the specified vibration fade parameters.++| | ||
+ | |{8D} Item_aot_set2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x8D | ||
+ | UCHAR Aot; // Id | ||
+ | UCHAR SCE; // Type (0x02) | ||
+ | UCHAR SAT; // Atari | ||
+ | UCHAR nFloor; // Height | ||
+ | UCHAR Super; // Matrix | ||
+ | SHORT X; // Position | ||
+ | SHORT Z; // Position | ||
+ | USHORT W; // Size | ||
+ | USHORT D; // Size | ||
+ | USHORT iItem; // Item Id | ||
+ | USHORT nItem; // Item Amount | ||
+ | USHORT Flag; // argv[1] for Flg_on() and Flg_ck() | ||
+ | UCHAR MD1; // MD1 File Id - 0xFF if no MD1 | ||
+ | UCHAR Action; // Predefined action taken to obtain | ||
+ | UCHAR data16; // | ||
+ | UCHAR data17; // | ||
+ | } Item_aot_set2; | ||
+ | This bytecode sets the specified item AOT parameters.++| | ||
+ | |{8E} Sce_em_set2 | ||
+ | typedef struct { | ||
+ | UCHAR Opcode; // 0x8E | ||
+ | UCHAR zAlign; // Alignment byte, always zero | ||
+ | UCHAR Aot; // | ||
+ | UCHAR EMD; // | ||
+ | USHORT Type; // | ||
+ | UCHAR nFloor; // | ||
+ | UCHAR SeType; // | ||
+ | UCHAR ModelType; | ||
+ | UCHAR EmSetFlg; | ||
+ | SHORT X; // | ||
+ | SHORT Y; // | ||
+ | SHORT Z; // | ||
+ | SHORT DirY; // | ||
+ | USHORT Timer0; // | ||
+ | USHORT Timer1; // | ||
+ | USHORT data16; // | ||
+ | } Sce_em_set2; | ||
+ | This bytecode sets the specified enemy parameters.++| | ||
- | |{25} Copy | 03 | | 08-08-2023 Newly Added | | ||
- | |{26} Calc | 06 | | 08-08-2023 Newly Added | | ||
- | |{27} Calc2 | 04 | | 08-08-2023 Newly Added | | ||
- | |{28} Sce_rnd | ||
- | |{29} Cut_chg | ||
- | |{2A} Cut_old | ||
- | |{2B} Message_on | ||
- | |{2C} Aot_set | ||
- | |{2D} Obj_model_set | ||
- | |{2E} Work_set | ||
- | |{2F} Speed_set | ||
- | |{30} Add_speed | ||
- | |{31} Add_aspeed | ||
- | |{32} Pos_set | ||
- | |{33} Dir_set | ||
- | |{34} Member_set | ||
- | |{35} Member_set2 | ||
- | |{36} Se_on | 12 | | 08-08-2023 Newly Added | | ||
- | |{37} Sca_id_set | ||
- | |{38} Flr_set | ||
- | |{39} Dir_ck | ||
- | |{3A} Sce_espr_on | ||
- | |{3B} Door_aot_set | ||
- | |{3C} Cut_auto | ||
- | |{3D} Member_copy | ||
- | |{3E} Member_cmp | ||
- | |{3F} Plc_motion | ||
- | |{40} Plc_dest | ||
- | |{41} Plc_neck | ||
- | |{42} Plc_ret | ||
- | |{43} Plc_flg | ||
- | |{44} Sce_em_set | ||
- | |{45} Col_chg_set | ||
- | |{46} Aot_reset | ||
- | |{47} Aot_on | ||
- | |{48} Super_set | ||
- | |{49} Super_reset | ||
- | |{4A} Plc_gun | ||
- | |{4B} Cut_replace | ||
- | |{4C} Sce_espr_kill | ||
- | |{4D} Door_model_set | ||
- | |{4E} Item_aot_set | ||
- | |{4F} Sce_key_ck | ||
- | |{50} Sce_trg_ck | ||
- | |{51} Sce_bgm_control | ||
- | |{52} Sce_espr_control | ||
- | |{53} Sce_fade_set | ||
- | |{54} Sce_espr3d_on | ||
- | |{55} Member_calc | ||
- | |{56} Member_calc2 | ||
- | |{57} Sce_bgmtbl_set | ||
- | |{58} Plc_rot | ||
- | |{59} Xa_on | 04 | | 08-08-2023 Newly Added | | ||
- | |{5A} Weapon_chg | ||
- | |{5B} Plc_cnt | ||
- | |{5C} Sce_shake_on | ||
- | |{5D} Mizu_div_set | ||
- | |{5E} Keep_Item_ck | ||
- | |{5F} Xa_vol | ||
- | |{60} Kage_set | ||
- | |{61} Cut_be_set | ||
- | |{62} Sce_Item_lost | ||
- | |{63} Plc_gun_eff | ||
- | |{64} Sce_espr_on2 | ||
- | |{65} Sce_espr_kill2 | ||
- | |{66} Plc_stop | ||
- | |{67} Aot_set_4p | ||
- | |{68} Door_aot_set_4p | ||
- | |{69} Item_aot_set_4p | ||
- | |{6A} Light_pos_set | ||
- | |{6B} Light_kido_set | ||
- | |{6C} Rbj_reset | ||
- | |{6D} Sce_scr_move | ||
- | |{6E} Parts_set | ||
- | |{6F} Movie_on | ||
- | |{70} Splc_ret | ||
- | |{71} Splc_sce | ||
- | |{72} Super_on | ||
- | |{73} Mirror_set | ||
- | |{74} Sce_fade_adjust | ||
- | |{75} Sce_espr3d_on2 | ||
- | |{76} Sce_Item_get | ||
- | |{77} Sce_line_start | ||
- | |{78} Sce_line_main | ||
- | |{79} Sce_line_end | ||
- | |{7A} Sce_parts_bomb | ||
- | |{7B} Sce_parts_down | ||
- | |{7C} Light_color_set | ||
- | |{7D} Light_pos_set2 | ||
- | |{7E} Light_kido_set2 | ||
- | |{7F} Light_color_set2 | ||
- | |{80} Se_vol | ||
- | |{81} Sce_Item_cmp | ||
- | |{82} Sce_espr_task | ||
- | |{83} Plc_heal | ||
- | |{84} St_map_hint | ||
- | |{85} Sce_em_pos_ck | ||
- | |{86} Poison_ck | ||
- | |{87} Poison_clr | ||
- | |{88} Sce_Item_lost2 | ||
- | |{89} Evt_next2 | ||
- | |{8A} Vib_set0 | ||
- | |{8B} Vib_set1 | ||
- | |{8C} Vib_fade_set | ||
- | |{8D} Item_aot_set2 | ||
- | |{8E} Sce_em_set2 | ||
re2_opcodes.1691719693.txt.gz · Last modified: 2023/08/10 19:08 by 3lric