re2_opcodes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| re2_opcodes [2024/08/02 21:38] – old revision restored (2024/08/02 20:42) 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; | + | UCHAR Opcode; // 0x00 |
| - | } 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; | + | UCHAR Opcode; // 0x01 |
| - | UCHAR zAlign; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | } Evt_end; | + | } Evt_end; |
| - | This bytecode ends the current Main/Sub script.++| | + | This bytecode ends the current Main/Sub script.++| |
| - | |{02} Evt_next | + | |{02} Evt_next |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x02 |
| - | } Evt_next; | + | } Evt_next; |
| - | This bytecode moves to the next event.++| | + | This bytecode moves to the next event in the sequence.++| 08-02-2024 Newly Added | |
| - | |{03} Evt_chain | + | |{03} Evt_chain |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x03 |
| - | UCHAR | + | UCHAR |
| - | } Evt_chain; | + | } Evt_chain; |
| - | This bytecode chains the next event.++| | + | This bytecode chains the current event to the specified |
| - | |{04} Evt_exec | + | |{04} Evt_exec |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x04 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Evt_exec; | + | } Evt_exec; |
| - | This bytecode executes the event.++| | + | This bytecode executes the specified |
| - | |{05} Evt_kill | + | |{05} Evt_kill |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x05 |
| - | UCHAR | + | UCHAR |
| - | } Evt_kill; | + | } Evt_kill; |
| - | This bytecode | + | This bytecode |
| - | |{06} Ifel_ck | + | |{06} Ifel_ck |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x06 |
| - | UCHAR zAlign; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | USHORT | + | USHORT |
| - | } Ifel_ck; | + | } Ifel_ck; |
| - | This bytecode checks | + | This bytecode checks |
| - | |{07} Else_ck | + | |{07} Else_ck |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x07 |
| - | UCHAR zAlign; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | USHORT | + | USHORT |
| - | } Else_ck; | + | } Else_ck; |
| - | This bytecode | + | This bytecode |
| - | |{08} Endif | 02 |++08 ??++|\\ | + | |{08} Endif | 02 |++08 00++|\\ |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x08 |
| - | UCHAR zAlign; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | } Endif; | + | } Endif; |
| - | This bytecode | + | This bytecode |
| - | |{09} Sleep | 04 |++09 ?? ?? ??++|\\ | + | |{09} Sleep | 04 |++09 ?? CO NT++|\\ |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x09 |
| - | UCHAR | + | UCHAR |
| - | USHORT | + | USHORT |
| - | } Sleep; | + | } Sleep; |
| - | This bytecode pauses the event for a specified duration.++| | + | This bytecode pauses |
| - | |{0A} Sleeping | + | |{0A} Sleeping |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x0A |
| - | USHORT | + | USHORT |
| - | } Sleeping; | + | } Sleeping; |
| - | This bytecode | + | This bytecode |
| - | |{0B} Wsleep | + | |{0B} Wsleep |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x0B |
| - | } Wsleep; | + | } Wsleep; |
| - | This bytecode | + | This bytecode |
| - | |{0C} Wsleeping | + | |{0C} Wsleeping |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x0C |
| - | } Wsleeping; | + | } Wsleeping; |
| - | This bytecode | + | 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 | + | 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 | + | 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 | + | This bytecode |
| - | |{10} Ewhile | + | |{10} Ewhile |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x10 |
| - | UCHAR | + | UCHAR |
| - | } Ewhile; | + | } Ewhile; |
| - | This bytecode ends a While loop.++| | + | This bytecode ends the specified while-loop.++| |
| - | |{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 | + | This bytecode |
| - | |{12} Edwhile | + | |{12} Edwhile |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x12 |
| - | UCHAR | + | UCHAR |
| - | } Edwhile; | + | } Edwhile; |
| - | This bytecode ends a Do-While loop.++| | + | This bytecode ends the specified do-while loop.++| |
| - | |{13} Switch | + | |{13} Switch |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x13 |
| - | UCHAR | + | UCHAR |
| - | USHORT | + | USHORT |
| - | } Switch; | + | } Switch; |
| - | This bytecode | + | 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 defines a Case in a Switch statement.++| 08-02-2024 Newly Added | | + | } Case; |
| - | |{15} Default | + | This bytecode defines a case within |
| - | typedef struct { // Ptr // Description | + | |{15} Default |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR zAlign; | + | UCHAR Opcode; // 0x15 |
| - | } Default; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | This bytecode | + | } 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 ends a Switch statement.++| 08-02-2024 Newly Added | | + | } Eswitch; |
| - | |{17} Goto | 06 |++17 ?? ?? ?? ?? ?? | + | This bytecode ends the switch-case block.++| 08-02-2024 Newly Added | |
| - | 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 | + | } 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 | + | } Gosub; |
| - | |{19} Return | + | This bytecode |
| - | typedef struct { // Ptr // Description | + | |{19} Return |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x19 |
| - | } Return; | + | UCHAR |
| - | This bytecode returns from a subroutine.++| | + | } Return; |
| - | |{1A} Break | 02 |++1A ??++|\\ | + | This bytecode returns from the specified |
| - | typedef struct { // Ptr // Description | + | |{1A} Break | 02 |++1A 00++|\\ |
| - | UCHAR Opcode; | + | typedef struct { |
| - | CHAR data1; // Data | + | UCHAR Opcode; // 0x1A |
| - | } Break; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | This bytecode breaks out of a loop.++| | + | } Break; |
| - | |{1B} For2 | 06 |++1B ?? ?? ?? ?? ??++|\\ | + | This bytecode breaks out of the specified |
| - | 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 | + | } For2; |
| - | |{1C} Break_point | + | This bytecode |
| - | typedef struct { // Ptr // Description | + | |{1C} Break_point |
| - | UCHAR Opcode; | + | typedef struct { |
| - | } Break_point; | + | UCHAR Opcode; // 0x1C |
| - | This bytecode sets a breakpoint.++| | + | } Break_point; |
| - | |{1D} Work_copy | + | This bytecode sets a breakpoint |
| - | typedef struct { // Ptr // Description | + | |{1D} Work_copy |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR Source; | + | UCHAR Opcode; // 0x1D |
| - | UCHAR | + | UCHAR Source; // Source |
| - | UCHAR Typecast; | + | UCHAR |
| - | } Work_copy; | + | UCHAR Typecast; // Typecast |
| - | This bytecode copies | + | } Work_copy; |
| - | |{1E} | + | This bytecode copies |
| - | typedef struct { // Ptr // Description | + | |{1E} |
| - | UCHAR Opcode; | + | typedef struct { |
| - | } Nop1E; | + | UCHAR Opcode; // 0x1E |
| - | 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 { |
| - | } Nop1F; | + | UCHAR Opcode; // 0x1F |
| - | 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; | + | UCHAR Opcode; // 0x20 |
| - | 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; | + | typedef struct { |
| - | UCHAR Flag; // System_flg, etc | + | UCHAR Opcode; // 0x21 |
| - | UCHAR Id; // Bit | + | UCHAR Flag; // System flag to check |
| - | UCHAR OnOff; | + | UCHAR Id; // Bit ID to check |
| - | } Ck; | + | UCHAR OnOff; // On/ |
| - | This bytecode checks | + | } Ck; |
| - | |{22} Set | 04 |++22 ?? ?? ?? | + | This bytecode checks |
| - | typedef struct { // Ptr // Description | + | |{22} Set | 04 |++22 ?? ID ??++|\\ |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR Flag; // System_flg, etc | + | UCHAR Opcode; // 0x22 |
| - | UCHAR Id; // Bit | + | UCHAR Flag; // System flag to set |
| - | UCHAR OnOff; | + | UCHAR Id; // Bit ID to set |
| - | } Set; | + | UCHAR OnOff; // On/ |
| - | This bytecode sets a flag.++| | + | } Set; |
| - | |{23} Cmp | 06 |++23 ?? ?? ?? ?? ??++|\\ | + | This bytecode sets the specified system |
| - | typedef struct { // Ptr // Description | + | |{23} Cmp | 06 |++23 00 ID ?? VA LU++|\\ |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; |
| - | UCHAR | + | UCHAR |
| - | SHORT Value; | + | UCHAR |
| - | } Cmp; | + | UCHAR |
| - | This bytecode compares | + | SHORT Value; |
| - | |{24} Save | 04 |++24 ?? ?? ??++|\\ | + | } Cmp; |
| - | typedef struct { // Ptr // Description | + | This bytecode compares |
| - | UCHAR Opcode; | + | |{24} Save | 04 |++24 ID XX XX++|\\ |
| - | UCHAR Destination; | + | typedef struct { |
| - | SHORT Source; | + | UCHAR Opcode; // 0x24 |
| - | } Save; | + | UCHAR Destination; |
| - | This bytecode saves data.++| 08-02-2024 Newly Added | | + | SHORT Source; // Source |
| - | |{25} Copy | 03 |++25 ?? ?? | + | } Save; |
| - | typedef struct { // Ptr // Description | + | This bytecode saves the specified source value to the destination index.++| 08-02-2024 Newly Added | |
| - | UCHAR Opcode; | + | |{25} Copy | 03 |++25 ID ??++|\\ |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x25 |
| - | } Copy; | + | UCHAR |
| - | This bytecode copies | + | UCHAR |
| - | |{26} Calc | 06 |++26 ?? ?? ?? ?? ?? ??++|\\ | + | } Copy; |
| - | typedef struct { // Ptr // Description | + | This bytecode copies |
| - | UCHAR Opcode; | + | |{26} Calc | 06 |++26 00 ?? ?? VA LU++|\\ |
| - | UCHAR | + | typedef struct { |
| - | UCHAR Operand1; | + | UCHAR Opcode; // 0x26 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR zAlign; // Alignment byte | + | UCHAR |
| - | } Calc; | + | SHORT Value; // Amount used in operation |
| - | This bytecode performs | + | } Calc; |
| - | |{27} Calc2 | 04 |++27 ?? ?? ?? ?? | + | This bytecode performs |
| - | typedef struct { // Ptr // Description | + | |{27} Calc2 | 04 |++27 ?? ?? ??++|\\ |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Calc2; | + | UCHAR |
| - | This bytecode performs | + | } Calc2; |
| - | |{28} Sce_rnd | + | This bytecode performs |
| - | typedef struct { // Ptr // Description | + | |{28} Sce_rnd |
| - | UCHAR Opcode; | + | typedef struct { |
| - | } Sce_rnd; | + | UCHAR Opcode; // 0x28 |
| - | This bytecode generates a random | + | } Sce_rnd; |
| - | |{29} Cut_chg | + | This bytecode generates a random |
| - | typedef struct { // Ptr // Description | + | |{29} Cut_chg |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x29 |
| - | } Cut_chg; | + | UCHAR |
| - | This bytecode changes the cutscene.++| 08-02-2024 Newly Added | | + | } Cut_chg; |
| - | |{2A} Cut_old | + | This bytecode changes the current camera to the specified camera ID.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{2A} Cut_old |
| - | UCHAR Opcode; | + | typedef struct { |
| - | } Cut_old; | + | UCHAR Opcode; // 0x2A |
| - | This bytecode reverts to the old cutscene.++| 08-02-2024 Newly Added | | + | } Cut_old; |
| - | |{2B} Message_on | + | This bytecode reverts to the previous camera.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{2B} Message_on |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x2B |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR Duration; // Display duration | + | UCHAR |
| - | } Message_on; | + | USHORT DisplayTime; // Time to display the message |
| - | This bytecode displays | + | } Message_on; |
| - | |{2C} Aot_set | + | This bytecode displays |
| - | typedef struct { // Ptr // Description | + | |{2C} Aot_set |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR AotType; | + | UCHAR Opcode; // 0x2C |
| - | UCHAR | + | CHAR Aot; // Aot |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR Super; | + | UCHAR |
| - | UCHAR X[2]; // X position | + | UCHAR Super; // Super |
| - | UCHAR Z[2]; // Z position | + | SHORT X; // Position |
| - | UCHAR W; | + | SHORT Z; // Position |
| - | UCHAR D; | + | USHORT |
| - | UCHAR Flag[2]; | + | USHORT |
| - | UCHAR Path[2]; | + | USHORT Data0; // Sce_Message |
| - | UCHAR Direction; | + | USHORT Data1; // Sce_Message / Flag Id / Script Id Init & Complete |
| - | UCHAR Param[6]; // Parameters | + | USHORT Data2; // Always 0xFFFF |
| - | } Aot_set; | + | } Aot_set; |
| - | This bytecode sets an AOT (Area of Trigger).++| 08-02-2024 Newly Added | | + | This bytecode sets the properties |
| - | |{2D} Obj_model_set | + | |{2D} Obj_model_set |
| - | typedef struct { | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x2D |
| - | UCHAR | + | UCHAR MD1; // MD1 File Id |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR X[2]; // X position | + | UCHAR |
| - | UCHAR Y[2]; // Y position | + | UCHAR |
| - | UCHAR Z[2]; // Z position | + | USHORT Type; // Global-> |
| - | UCHAR R[2]; // Rotation | + | USHORT BeFlag; // Global-> |
| - | UCHAR Unknown3[26]; // Unknown | + | SHORT Attribute; |
| - | } Obj_model_set; | + | SHORT X; // |
| - | This bytecode sets an object model.++| | + | SHORT |
| - | |{2E} Work_set | + | SHORT Z; // |
| - | typedef struct { // Ptr // Description | + | SHORT DirX; // |
| - | UCHAR Opcode; | + | SHORT DirY; // |
| - | UCHAR | + | SHORT DirZ; // |
| - | UCHAR | + | SHORT AtariOffsetX; |
| - | } Work_set; | + | SHORT AtariOffsetY; |
| - | This bytecode sets a work value.++| 08-02-2024 Newly Added | | + | SHORT AtariOffsetZ; |
| - | |{2F} Speed_set | + | SHORT AtariSizeX; |
| - | typedef struct { // Ptr // Description | + | SHORT AtariSizeY; |
| - | UCHAR Opcode; | + | SHORT AtariSizeZ; // |
| - | UCHAR | + | } Obj_model_set; |
| - | UCHAR SpeedY; | + | This bytecode sets the properties of the specified |
| - | UCHAR SpeedZ; // Speed Z | + | |{2E} Work_set |
| - | } Speed_set; | + | typedef struct { |
| - | This bytecode sets the speed of an object.++| 08-02-2024 Newly Added | | + | UCHAR Opcode; // 0x2E |
| - | |{30} Add_speed | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | } Work_set; |
| - | } Add_speed; | + | This bytecode sets the properties of the specified |
| - | This bytecode | + | |{2F} Speed_set |
| - | |{31} Add_aspeed | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x2F |
| - | UCHAR Opcode; | + | UCHAR |
| - | } Add_aspeed; | + | USHORT SpeedValue; // Value of the speed setting |
| - | This bytecode | + | } Speed_set; |
| - | |{32} Pos_set | + | This bytecode sets the specified |
| - | typedef struct { // Ptr // Description | + | |{30} Add_speed |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x30 |
| - | UCHAR Y[2]; // Y position | + | } Add_speed; |
| - | UCHAR Z[2]; // Z position | + | This bytecode |
| - | UCHAR R[2]; // Rotation | + | |{31} Add_aspeed |
| - | } Pos_set; | + | typedef struct { |
| - | This bytecode sets the position | + | UCHAR Opcode; // 0x31 |
| - | |{33} Dir_set | + | } Add_aspeed; |
| - | typedef struct { // Ptr // Description | + | This bytecode |
| - | UCHAR Opcode; | + | |{32} Pos_set |
| - | UCHAR DirX[2]; | + | typedef struct { |
| - | UCHAR DirY[2]; | + | UCHAR Opcode; // 0x32 |
| - | UCHAR DirZ[2]; | + | UCHAR |
| - | UCHAR Speed; | + | SHORT PosX; // X position |
| - | } Dir_set; | + | SHORT PosY; // Y position |
| - | This bytecode sets the direction | + | SHORT PosZ; // Z position |
| - | |{34} Member_set | + | } Pos_set; |
| - | typedef struct { // Ptr // Description | + | This bytecode sets the position |
| - | UCHAR Opcode; | + | |{33} Dir_set |
| - | UCHAR | + | typedef struct { |
| - | UCHAR Value[2]; // Value | + | UCHAR Opcode; // 0x33 |
| - | UCHAR zAlign; | + | UCHAR |
| - | } Member_set; | + | SHORT |
| - | This bytecode sets a member | + | SHORT DirY; // Y direction |
| - | |{35} Member_set2 | + | SHORT DirZ; // Z direction |
| - | typedef struct { // Ptr // Description | + | } Dir_set; |
| - | UCHAR Opcode; | + | This bytecode sets the direction |
| - | UCHAR | + | |{34} Member_set |
| - | UCHAR | + | typedef struct { |
| - | } Member_set2; | + | UCHAR Opcode; // 0x34 |
| - | This bytecode sets a secondary | + | UCHAR |
| - | |{36} Se_on | 12 |++36 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ | + | SHORT Source; // Source |
| - | typedef struct { // Ptr // Description | + | } Member_set; |
| - | UCHAR Opcode; | + | This bytecode sets the properties of the specified |
| - | UCHAR | + | |{35} Member_set2 |
| - | UCHAR X[2]; // X position | + | typedef struct { |
| - | UCHAR Y[2]; // Y position | + | UCHAR Opcode; // 0x35 |
| - | UCHAR Z[2]; | + | UCHAR |
| - | UCHAR Volume; // Volume | + | UCHAR |
| - | UCHAR Pan; // Pan | + | } Member_set2; |
| - | UCHAR Pitch; // Pitch | + | This bytecode sets a single property of the specified |
| - | UCHAR zAlign[2]; // Alignment bytes | + | |{36} Se_on | 12 |++36 ?? ?? ?? ?? XX XX YY YY ZZ ZZ++|\\ |
| - | } Se_on; | + | typedef struct { |
| - | This bytecode plays a sound effect.++| | + | UCHAR Opcode; // 0x36 |
| - | |{37} Sca_id_set | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | SHORT EDT; // EDT Sample Id |
| - | UCHAR Opcode; | + | SHORT data0; // Sound Reverberation, |
| - | UCHAR | + | SHORT X; // Position |
| - | UCHAR X[2]; | + | SHORT Y; |
| - | UCHAR Y[2]; // Y scale | + | SHORT Z; |
| - | UCHAR Z[2]; | + | } Se_on; |
| - | } Sca_id_set; | + | This bytecode plays the specified |
| - | This bytecode sets the scale of an object.++| 08-02-2024 Newly Added | | + | |{37} Sca_id_set |
| - | |{38} Flr_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x37 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | USHORT Id; // New Collision ID |
| - | UCHAR | + | } Sca_id_set; |
| - | UCHAR zAlign; | + | This bytecode sets the specified |
| - | } Flr_set; | + | |{38} Flr_set |
| - | This bytecode sets the floor height.++| 08-02-2024 Newly Added | | + | typedef struct { |
| - | |{39} Dir_ck | + | UCHAR Opcode; // 0x38 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | } Flr_set; |
| - | UCHAR DirY[2]; // Direction Y | + | This bytecode sets the specified |
| - | UCHAR DirZ[2]; | + | |{39} Dir_ck |
| - | UCHAR CheckType; // Check type | + | typedef struct { |
| - | UCHAR zAlign[2]; // Alignment bytes | + | UCHAR Opcode; // 0x39 |
| - | } Dir_ck; | + | UCHAR |
| - | This bytecode checks the direction | + | SHORT X; |
| - | |{3A} Sce_espr_on | + | SHORT Z; |
| - | typedef struct { // Ptr // Description | + | SHORT Add; |
| - | UCHAR Opcode; | + | } Dir_ck; |
| - | UCHAR | + | This bytecode checks the specified |
| - | UCHAR Id; | + | |{3A} Sce_espr_on |
| - | UCHAR SCE; // SCE | + | typedef struct { |
| - | UCHAR X[2]; // X position | + | UCHAR Opcode; // 0x3A |
| - | UCHAR Y[2]; // Y position | + | UCHAR |
| - | UCHAR Z[2]; // Z position | + | USHORT data0; |
| - | UCHAR Width; // Width | + | USHORT data1; |
| - | UCHAR Height; // Height | + | USHORT data2; |
| - | UCHAR Depth; // Depth | + | SHORT X; |
| - | UCHAR zAlign[4]; | + | SHORT Y; |
| - | } Sce_espr_on; | + | SHORT Z; |
| - | This bytecode | + | SHORT DirY; |
| - | |{3B} Door_aot_set | + | } Sce_espr_on; |
| - | typedef struct { | + | This bytecode |
| - | UCHAR | + | |{3B} Door_aot_set |
| - | UCHAR | + | typedef struct { |
| - | UCHAR X[2]; // X position | + | UCHAR Opcode; // 0x3B |
| - | UCHAR | + | UCHAR Aot; // Aot |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR Super; // Super |
| - | UCHAR | + | SHORT |
| - | UCHAR | + | SHORT Z; // Position |
| - | UCHAR | + | USHORT W; // Size |
| - | UCHAR | + | USHORT D; // Size */ tagSCE_AOT |
| - | } Door_aot_set; | + | SHORT Next_pos_x; |
| - | This bytecode sets a door AOT (Area of Trigger).++| 08-02-2024 Newly Added | | + | SHORT Next_pos_y; |
| - | |{3C} Cut_auto | + | SHORT Next_pos_z; |
| - | typedef struct { // Ptr // Description | + | SHORT Next_cdir_y; |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Cut_auto; | + | UCHAR |
| - | This bytecode | + | UCHAR |
| - | |{3D} Member_copy | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Member_copy; | + | UCHAR Free; // */ tagIN_DOOR_WORK |
| - | This bytecode copies | + | } Door_aot_set; |
| - | |{3E} Member_cmp | + | This bytecode sets the specified |
| - | typedef struct { // Ptr // Description | + | |{3C} Cut_auto |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x3C |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | } Cut_auto; |
| - | UCHAR Result; // Comparison result | + | This bytecode |
| - | } Member_cmp; | + | |{3D} Member_copy |
| - | This bytecode compares | + | typedef struct { |
| - | |{3F} Plc_motion | + | UCHAR Opcode; // 0x3D |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR MotionId; | + | } Member_copy; |
| - | UCHAR | + | This bytecode copies |
| - | UCHAR | + | |{3E} Member_cmp |
| - | } Plc_motion; | + | typedef struct { |
| - | This bytecode sets the motion | + | UCHAR Opcode; // 0x3E |
| - | |{40} Plc_dest | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | SHORT Value; // Value to compare |
| - | UCHAR | + | } Member_cmp; |
| - | UCHAR | + | This bytecode compares |
| - | UCHAR Speed; | + | |{3F} Plc_motion |
| - | UCHAR zAlign[2]; | + | typedef struct { |
| - | } Plc_dest; | + | UCHAR Opcode; // 0x3F |
| - | This bytecode sets the destination | + | UCHAR MotionId; // EDD/EMR Id |
| - | |{41} Plc_neck | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | } Plc_motion; |
| - | UCHAR | + | This bytecode sets the specified |
| - | UCHAR X[2]; // X position | + | |{40} Plc_dest |
| - | UCHAR Y[2]; // Y position | + | typedef struct { |
| - | UCHAR Z[2]; // Z position | + | UCHAR Opcode; // 0x40 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Plc_neck; | + | UCHAR |
| - | This bytecode sets the neck parameters | + | SHORT X; // Destination |
| - | |{42} Plc_ret | + | SHORT Z; // Destination |
| - | typedef struct { // Ptr // Description | + | } Plc_dest; |
| - | UCHAR Opcode; | + | This bytecode sets the specified |
| - | } Plc_ret; | + | |{41} Plc_neck |
| - | This bytecode returns the PLC state.++| 08-02-2024 Newly Added | | + | typedef struct { |
| - | |{43} Plc_flg | + | UCHAR Opcode; // 0x41 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | SHORT X; // |
| - | UCHAR | + | SHORT Y; // |
| - | UCHAR | + | SHORT Z; // |
| - | UCHAR | + | UCHAR |
| - | } Plc_flg; | + | UCHAR |
| - | This bytecode sets a PLC flag.++| | + | } Plc_neck; |
| - | |{44} Sce_em_set | + | This bytecode sets the specified |
| - | typedef struct { // Ptr // Description | + | |{42} Plc_ret |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x42 |
| - | UCHAR Id; // ID | + | } Plc_ret; |
| - | UCHAR SCE; | + | This bytecode returns |
| - | UCHAR | + | |{43} Plc_flg |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x43 |
| - | UCHAR | + | UCHAR |
| - | UCHAR Height; // Height | + | UCHAR |
| - | UCHAR Depth; | + | UCHAR |
| - | UCHAR Life; // Life | + | } Plc_flg; |
| - | UCHAR Speed; | + | This bytecode sets the specified |
| - | UCHAR zAlign[9]; | + | |{44} Sce_em_set |
| - | } Sce_em_set; | + | typedef struct { |
| - | This bytecode sets an enemy.++| | + | UCHAR Opcode; // 0x44 |
| - | |{45} Col_chg_set | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | CHAR Em_no; // Em_no |
| - | UCHAR Opcode; | + | UCHAR Id; // EMD File Id for Em_bin_load() function |
| - | UCHAR | + | USHORT Type; // Type |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Col_chg_set; | + | UCHAR |
| - | This bytecode | + | SHORT Pos_x; // Position X |
| - | |{46} Aot_reset | + | SHORT Pos_y; // Position Y |
| - | typedef struct { // Ptr // Description | + | SHORT Pos_z; // Position Z |
| - | UCHAR Opcode; | + | SHORT Cdir_y; // Rotation Y |
| - | UCHAR AotType; // AOT Type | + | SHORT Motion; // Motion |
| - | UCHAR Id; | + | SHORT Ctr_flg; |
| - | UCHAR SCE; | + | } Sce_em_set; |
| - | UCHAR | + | This bytecode sets the specified |
| - | UCHAR Super; | + | |{45} Col_chg_set |
| - | UCHAR X[2]; // X position | + | typedef struct { |
| - | UCHAR Z[2]; | + | UCHAR Opcode; // 0x45 |
| - | UCHAR W; // Width | + | UCHAR |
| - | UCHAR D; // Depth | + | UCHAR |
| - | UCHAR Flag[2]; // Flags | + | UCHAR |
| - | UCHAR Path[2]; | + | UCHAR |
| - | UCHAR Direction; | + | } Col_chg_set; |
| - | UCHAR zAlign[3]; | + | This bytecode |
| - | } Aot_reset; | + | |{46} Aot_reset |
| - | This bytecode resets | + | typedef struct { |
| - | |{47} Aot_on | + | UCHAR Opcode; // 0x46 |
| - | typedef struct { // Ptr // Description | + | CHAR Aot; // Aot |
| - | UCHAR Opcode; | + | UCHAR SCE; // SCE |
| - | UCHAR AotId; | + | UCHAR |
| - | } Aot_on; | + | SHORT Data0; // Data0 |
| - | This bytecode | + | SHORT Data1; // Data1 |
| - | |{48} Super_set | + | SHORT Data2; // Data2 |
| - | typedef struct { // Ptr // Description | + | } Aot_reset; |
| - | UCHAR Opcode; | + | This bytecode resets |
| - | UCHAR | + | |{47} Aot_on |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x47 |
| - | UCHAR X[2]; // X position | + | CHAR Aot; // Aot |
| - | UCHAR Y[2]; // Y position | + | } Aot_on; |
| - | UCHAR Z[2]; // Z position | + | This bytecode |
| - | UCHAR Width; | + | |{48} Super_set |
| - | UCHAR Height; // Height | + | typedef struct { |
| - | UCHAR Depth; // Depth | + | UCHAR Opcode; // 0x48 |
| - | UCHAR zAlign[2]; | + | UCHAR |
| - | } Super_set; | + | UCHAR |
| - | This bytecode sets a super parameter.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | |{49} Super_reset | + | SHORT pX; // Parent |
| - | typedef struct { // Ptr // Description | + | SHORT pY; // Parent |
| - | UCHAR Opcode; | + | SHORT pZ; // Parent |
| - | UCHAR | + | SHORT dX; // Destination X |
| - | UCHAR X[2]; // X position | + | SHORT dY; // Destination Y |
| - | UCHAR Y[2]; // Y position | + | SHORT dZ; // Destination Z |
| - | UCHAR Z[2]; // Z position | + | } Super_set; |
| - | UCHAR zAlign[2]; | + | This bytecode sets the specified |
| - | } Super_reset; | + | |{49} Super_reset |
| - | This bytecode resets | + | typedef struct { |
| - | |{4A} Plc_gun | + | UCHAR Opcode; // 0x49 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | SHORT dX; // Destination |
| - | UCHAR GunId; | + | SHORT dY; // Destination |
| - | } Plc_gun; | + | SHORT dZ; // Destination |
| - | This bytecode sets the gun parameters.++| | + | } Super_reset; |
| - | |{4B} Cut_replace | + | This bytecode resets |
| - | typedef struct { // Ptr // Description | + | |{4A} Plc_gun |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x4A |
| - | UCHAR | + | UCHAR GunId; // ID of the gun to set |
| - | UCHAR zAlign; | + | } Plc_gun; |
| - | } Cut_replace; | + | This bytecode sets the specified |
| - | This bytecode replaces | + | |{4B} Cut_replace |
| - | |{4C} Sce_espr_kill | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x4B |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | } Cut_replace; |
| - | UCHAR SCE; | + | This bytecode replaces |
| - | UCHAR zAlign; // Alignment byte | + | |{4C} Sce_espr_kill |
| - | } Sce_espr_kill; | + | typedef struct { |
| - | This bytecode kills an ESPR.++| 08-02-2024 Newly Added | | + | UCHAR Opcode; // 0x4C |
| - | |{4D} Door_model_set | + | UCHAR |
| - | typedef struct { | + | UCHAR |
| - | UCHAR | + | CHAR WorkKind; // Get_matrix() argv[0] |
| - | UCHAR | + | CHAR WorkNo; // Get_matrix() argv[1] |
| - | UCHAR | + | } Sce_espr_kill; |
| - | UCHAR | + | This bytecode kills the specified espr with the given parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR X[2]; // X position | + | |{4D} Door_model_set |
| - | UCHAR Y[2]; // Y position | + | typedef struct { |
| - | UCHAR Z[2]; // Z position | + | UCHAR Opcode; // 0x4D |
| - | UCHAR Width; | + | UCHAR data0; // data0 |
| - | UCHAR Height; // Height | + | UCHAR |
| - | UCHAR Depth; | + | UCHAR |
| - | UCHAR zAlign[10]; // Alignment bytes | + | UCHAR |
| - | } Door_model_set; | + | UCHAR |
| - | This bytecode sets a door model.++| | + | USHORT data6; // data6 |
| - | |{4E} Item_aot_set | + | SHORT |
| - | typedef struct { // Ptr // Description | + | SHORT Y; // DOOR_WORK.Atd[3] |
| - | UCHAR Opcode; | + | SHORT Z; // DOOR_WORK.Atd[3] |
| - | UCHAR | + | SHORT DirY; // DOOR_WORK.Atd[3] |
| - | UCHAR | + | USHORT data10; // DOOR_WORK.MATRIX |
| - | UCHAR | + | USHORT data11; // DOOR_WORK.MATRIX |
| - | UCHAR | + | USHORT data12; // DOOR_WORK.MATRIX |
| - | UCHAR | + | } Door_model_set; |
| - | UCHAR Z[2]; // Z position | + | This bytecode sets the specified |
| - | UCHAR Width; | + | |{4E} Item_aot_set |
| - | UCHAR Height; // Height | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x4E |
| - | UCHAR | + | UCHAR |
| - | } Item_aot_set; | + | UCHAR |
| - | This bytecode sets an item AOT.++| | + | UCHAR |
| - | |{4F} Sce_key_ck | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | SHORT X; // X |
| - | UCHAR | + | SHORT |
| - | UCHAR Flag; | + | USHORT W; // W |
| - | UCHAR zAlign; // Alignment byte | + | USHORT D; // D |
| - | } Sce_key_ck; | + | USHORT iItem; // iItem |
| - | This bytecode checks | + | USHORT nItem; // nItem |
| - | |{50} Sce_trg_ck | + | USHORT Flag; // Flag |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | } Item_aot_set; |
| - | UCHAR Flag; | + | This bytecode sets the specified |
| - | UCHAR zAlign; // Alignment byte | + | |{4F} Sce_key_ck |
| - | } Sce_trg_ck; | + | typedef struct { |
| - | This bytecode checks | + | UCHAR Opcode; // 0x4F |
| - | |{51} Sce_bgm_control | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | USHORT Value; // Value |
| - | UCHAR Opcode; | + | } Sce_key_ck; |
| - | UCHAR | + | This bytecode checks |
| - | UCHAR | + | |{50} Sce_trg_ck |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x50 |
| - | UCHAR | + | UCHAR |
| - | } Sce_bgm_control; | + | USHORT Value; // Value |
| - | This bytecode controls the background music.++| 08-02-2024 Newly Added | | + | } Sce_trg_ck; |
| - | |{52} Sce_espr_control | + | This bytecode checks |
| - | typedef struct { // Ptr // Description | + | |{51} Sce_bgm_control |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x51 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR Param2; // Parameter 2 | + | UCHAR |
| - | UCHAR zAlign; // Alignment byte | + | UCHAR |
| - | } Sce_espr_control; | + | UCHAR |
| - | This bytecode controls | + | } Sce_bgm_control; |
| - | |{53} Sce_fade_set | + | This bytecode controls the specified BGM parameters.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{52} Sce_espr_control |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x52 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR ColorG; // Green component | + | UCHAR |
| - | UCHAR ColorB; | + | CHAR WorkKind; // WorkKind |
| - | } Sce_fade_set; | + | CHAR WorkNo; // WorkNo |
| - | This bytecode sets a fade effect.++| 08-02-2024 Newly Added | | + | } Sce_espr_control; |
| - | |{54} Sce_espr3d_on | + | This bytecode controls |
| - | typedef struct { // Ptr // Description | + | |{53} Sce_fade_set |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x53 |
| - | UCHAR Id; // ID | + | UCHAR |
| - | UCHAR SCE; | + | UCHAR |
| - | UCHAR X[2]; // X position | + | UCHAR |
| - | UCHAR Y[2]; // Y position | + | USHORT data3; // data3 |
| - | UCHAR Z[2]; // Z position | + | } Sce_fade_set; |
| - | UCHAR Width; | + | This bytecode sets the specified |
| - | UCHAR Height; // Height | + | |{54} Sce_espr3d_on |
| - | UCHAR Depth; | + | typedef struct { |
| - | UCHAR zAlign[10]; // Alignment bytes | + | UCHAR Opcode; // 0x54 |
| - | } Sce_espr3d_on; | + | UCHAR |
| - | This bytecode | + | USHORT data0; // data0 |
| - | |{55} Member_calc | + | USHORT data1; // data1 |
| - | typedef struct { // Ptr // Description | + | USHORT data2; // data2 |
| - | UCHAR Opcode; | + | SHORT X; // X |
| - | UCHAR | + | SHORT Y; // Y |
| - | UCHAR Operation; // Operation type | + | SHORT Z; // Z |
| - | UCHAR Operand1; | + | SHORT DirX; // DirX |
| - | UCHAR Operand2; // Second operand | + | SHORT DirY; // DirY |
| - | UCHAR Result; | + | SHORT DirZ; // DirZ |
| - | } Member_calc; | + | SHORT data3; // data3 |
| - | This bytecode performs | + | } Sce_espr3d_on; |
| - | |{56} Member_calc2 | + | This bytecode |
| - | typedef struct { // Ptr // Description | + | |{55} Member_calc |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x55 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | USHORT Flag; // Flag |
| - | } Member_calc2; | + | SHORT Value; // Value |
| - | This bytecode performs | + | } Member_calc; |
| - | |{57} Sce_bgmtbl_set | + | This bytecode performs |
| - | typedef struct { // Ptr // Description | + | |{56} Member_calc2 |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x56 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR Pitch; | + | UCHAR |
| - | UCHAR zAlign[3]; | + | } Member_calc2; |
| - | } Sce_bgmtbl_set; | + | This bytecode performs |
| - | This bytecode sets the BGM table.++| | + | |{57} Sce_bgmtbl_set |
| - | |{58} Plc_rot | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x57 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR RotationY; | + | UCHAR |
| - | UCHAR RotationZ; | + | USHORT data1; // data1 |
| - | } Plc_rot; | + | USHORT data2; // data2 |
| - | This bytecode sets the rotation | + | } Sce_bgmtbl_set; |
| - | |{59} Xa_on | 04 |++59 ?? ?? ?? ?? | + | This bytecode sets the specified |
| - | typedef struct { // Ptr // Description | + | |{58} Plc_rot |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x58 |
| - | UCHAR Volume; | + | UCHAR |
| - | UCHAR Pan; // Pan | + | USHORT Sce_free0; // Sce_free0 |
| - | UCHAR zAlign; | + | } Plc_rot; |
| - | } Xa_on; | + | |
| - | This bytecode | + | This bytecode sets the specified |
| - | |{5A} Weapon_chg | + | |{59} Xa_on | 04 |++59 ?? ?? ?? ++|\\ |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x59 |
| - | UCHAR WeaponId; | + | UCHAR |
| - | } Weapon_chg; | + | USHORT Number; // Number |
| - | This bytecode changes the weapon.++| | + | } Xa_on; |
| - | |{5B} Plc_cnt | + | This bytecode |
| - | typedef struct { // Ptr // Description | + | |{5A} Weapon_chg |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x5A |
| - | } Plc_cnt; | + | UCHAR WeaponId; // ID of the weapon to change |
| - | This bytecode | + | } Weapon_chg; |
| - | |{5C} Sce_shake_on | + | This bytecode changes the specified |
| - | typedef struct { // Ptr // Description | + | |{5B} Plc_cnt |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR ShakeType; | + | UCHAR Opcode; // 0x5B |
| - | UCHAR Duration; // Duration | + | UCHAR |
| - | UCHAR zAlign; | + | } Plc_cnt; |
| - | } Sce_shake_on; | + | This bytecode |
| - | This bytecode | + | |{5C} Sce_shake_on |
| - | |{5D} Mizu_div_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x5C |
| - | UCHAR Opcode; | + | CHAR Slide_ofs; // Slide_ofs |
| - | UCHAR | + | CHAR Copy_ofs; // Copy_ofs |
| - | } Mizu_div_set; | + | } Sce_shake_on; |
| - | This bytecode sets the water division.++| | + | This bytecode |
| - | |{5E} Keep_Item_ck | + | |{5D} Mizu_div_set |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x5D |
| - | UCHAR ItemId; | + | UCHAR |
| - | } Keep_Item_ck; | + | } Mizu_div_set; |
| - | This bytecode checks | + | This bytecode sets the specified |
| - | |{5F} Xa_vol | + | |{5E} Keep_Item_ck |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x5E |
| - | UCHAR Volume; | + | UCHAR ItemId; // ID of the item to check |
| - | } Xa_vol; | + | } Keep_Item_ck; |
| - | This bytecode sets the XA volume.++| | + | This bytecode checks |
| - | |{60} Kage_set | + | |{5F} Xa_vol |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x5F |
| - | UCHAR | + | UCHAR Volume; // XA volume level |
| - | UCHAR X[2]; // X position | + | } Xa_vol; |
| - | UCHAR | + | This bytecode sets the specified |
| - | UCHAR | + | |{60} Kage_set |
| - | UCHAR | + | typedef struct { |
| - | UCHAR Height; // Height | + | UCHAR Opcode; // 0x60 |
| - | UCHAR Depth; | + | UCHAR |
| - | UCHAR zAlign[2]; | + | CHAR Id; // Id |
| - | } Kage_set; | + | UCHAR |
| - | This bytecode sets a shadow.++| | + | UCHAR |
| - | |{61} Cut_be_set | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | USHORT Data3; // Data3 |
| - | UCHAR Opcode; | + | USHORT Data4; // Data4 |
| - | UCHAR | + | USHORT Data5; // Data5 |
| - | UCHAR | + | USHORT Data6; // Data6 |
| - | UCHAR | + | } Kage_set; |
| - | } Cut_be_set; | + | This bytecode sets the specified |
| - | This bytecode sets a cutscene | + | |{61} Cut_be_set |
| - | |{62} Sce_Item_lost | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x61 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR ItemId; | + | UCHAR |
| - | } Sce_Item_lost; | + | UCHAR |
| - | This bytecode | + | } Cut_be_set; |
| - | |{63} Plc_gun_eff | + | This bytecode sets the specified |
| - | typedef struct { // Ptr // Description | + | |{62} Sce_Item_lost |
| - | UCHAR Opcode; | + | typedef struct { |
| - | } Plc_gun_eff; | + | UCHAR Opcode; // 0x62 |
| - | This bytecode sets the gun effect.++| | + | UCHAR ItemId; // ID of the lost item |
| - | |{64} Sce_espr_on2 | + | } Sce_Item_lost; |
| - | typedef struct { // Ptr // Description | + | This bytecode |
| - | UCHAR Opcode; | + | |{63} Plc_gun_eff |
| - | UCHAR | + | typedef struct { |
| - | UCHAR Id; // ID | + | UCHAR Opcode; // 0x63 |
| - | UCHAR | + | } Plc_gun_eff; |
| - | UCHAR | + | This bytecode sets the specified |
| - | UCHAR Y[2]; // Y position | + | |{64} Sce_espr_on2 |
| - | UCHAR Z[2]; // Z position | + | typedef struct { |
| - | UCHAR Width; | + | UCHAR Opcode; // 0x64 |
| - | UCHAR Height; // Height | + | UCHAR |
| - | UCHAR Depth; // Depth | + | USHORT data1; // data1 |
| - | UCHAR zAlign[4]; | + | UCHAR |
| - | } Sce_espr_on2; | + | UCHAR |
| - | This bytecode | + | USHORT data3; // data3 |
| - | |{65} Sce_espr_kill2 | + | SHORT X; // X |
| - | typedef struct { // Ptr // Description | + | SHORT Y; // Y |
| - | UCHAR Opcode; | + | SHORT Z; // Z |
| - | UCHAR | + | USHORT DirY; // DirY |
| - | } Sce_espr_kill2; | + | } Sce_espr_on2; |
| - | This bytecode kills a secondary ESPR.++| 08-02-2024 Newly Added | | + | This bytecode |
| - | |{66} Plc_stop | + | |{65} Sce_espr_kill2 |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x65 |
| - | } Plc_stop; | + | UCHAR |
| - | This bytecode stops the PLC.++| 08-02-2024 Newly Added | | + | } Sce_espr_kill2; |
| - | |{67} Aot_set_4p | + | This bytecode kills the specified espr with the given parameters.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{66} Plc_stop |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x66 |
| - | UCHAR | + | } Plc_stop; |
| - | UCHAR | + | This bytecode stops the specified plc function.++| 08-02-2024 Newly Added | |
| - | UCHAR | + | |{67} Aot_set_4p |
| - | UCHAR Super; | + | typedef struct { |
| - | UCHAR X[2]; // X position | + | UCHAR Opcode; // 0x67 |
| - | UCHAR Z[2]; // Z position | + | UCHAR |
| - | UCHAR W; | + | UCHAR |
| - | UCHAR D; | + | UCHAR |
| - | UCHAR Flag[2]; | + | UCHAR |
| - | UCHAR Path[2]; | + | UCHAR Super; // Super |
| - | UCHAR Direction; | + | SHORT X0; // X0 |
| - | UCHAR Param[10]; | + | SHORT Z0; // Z0 |
| - | } Aot_set_4p; | + | SHORT X1; // X1 |
| - | This bytecode sets an AOT (Area of Trigger) with 4 parameters.++| | + | SHORT Z1; // Z1 |
| - | |{68} Door_aot_set_4p | + | SHORT X2; // X2 |
| - | typedef struct { | + | SHORT Z2; // Z2 |
| - | UCHAR | + | SHORT X3; // X3 |
| - | UCHAR | + | SHORT Z3; // Z3 |
| - | UCHAR | + | USHORT Data0; // Data0 |
| - | UCHAR | + | USHORT Data1; // Data1 |
| - | UCHAR | + | USHORT Data2; // Data2 |
| - | UCHAR | + | } Aot_set_4p; |
| - | UCHAR | + | This bytecode sets the specified 4-point |
| - | UCHAR | + | |{68} Door_aot_set_4p |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x68 |
| - | UCHAR | + | UCHAR Aot; // Aot |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Door_aot_set_4p; | + | UCHAR |
| - | This bytecode sets a door AOT (Area of Trigger) with 4 parameters.++| | + | SHORT X0; // X0 |
| - | |{69} Item_aot_set_4p | + | SHORT Z0; // Z0 |
| - | typedef struct { // Ptr // Description | + | SHORT X1; // X1 |
| - | UCHAR Opcode; | + | SHORT Z1; // Z1 |
| - | UCHAR | + | SHORT X2; // X2 |
| - | UCHAR | + | SHORT Z2; // Z2 |
| - | UCHAR | + | SHORT X3; // X3 |
| - | UCHAR | + | SHORT Z3; // Z3 |
| - | UCHAR | + | SHORT Next_pos_x; |
| - | UCHAR Z[2]; // Z position | + | SHORT Next_pos_y; |
| - | UCHAR Width; | + | SHORT Next_pos_z; |
| - | UCHAR Height; // Height | + | SHORT Next_cdir_y; |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Item_aot_set_4p; | + | UCHAR |
| - | This bytecode sets an item AOT with 4 parameters.++| | + | UCHAR |
| - | |{6A} Light_pos_set | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Light_pos_set; | + | } Door_aot_set_4p; |
| - | This bytecode sets the position of a light.++| | + | This bytecode sets the specified 4-point |
| - | |{6B} Light_kido_set | + | |{69} Item_aot_set_4p |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x69 |
| - | UCHAR | + | UCHAR |
| - | UCHAR ColorR; | + | UCHAR |
| - | UCHAR ColorG; // Green component | + | UCHAR |
| - | UCHAR ColorB; | + | UCHAR |
| - | } Light_kido_set; | + | UCHAR |
| - | This bytecode sets the light intensity and color.++| | + | SHORT X0; // X0 |
| - | |{6C} Rbj_reset | + | SHORT Z0; // Z0 |
| - | typedef struct { // Ptr // Description | + | SHORT X1; // X1 |
| - | UCHAR Opcode; | + | SHORT Z1; // Z1 |
| - | } Rbj_reset; | + | SHORT X2; // X2 |
| - | This bytecode resets the RBJ.++| 08-02-2024 Newly Added | | + | SHORT Z2; // Z2 |
| - | |{6D} Sce_scr_move | + | SHORT X3; // X3 |
| - | typedef struct { // Ptr // Description | + | SHORT Z3; // Z3 |
| - | UCHAR Opcode; | + | USHORT iItem; // iItem |
| - | UCHAR | + | USHORT nItem; // nItem |
| - | UCHAR ScreenY[2]; // Screen Y position | + | USHORT Flag; // Flag |
| - | } Sce_scr_move; | + | UCHAR |
| - | This bytecode moves the screen | + | UCHAR |
| - | |{6E} Parts_set | + | } Item_aot_set_4p; |
| - | typedef struct { // Ptr // Description | + | This bytecode sets the specified 4-point |
| - | UCHAR Opcode; | + | |{6A} Light_pos_set |
| - | UCHAR | + | typedef struct { |
| - | UCHAR X[2]; // X position | + | UCHAR Opcode; // 0x6A |
| - | UCHAR Y[2]; // Y position | + | UCHAR |
| - | UCHAR Z[2]; // Z position | + | UCHAR |
| - | } Parts_set; | + | UCHAR |
| - | This bytecode sets the parts.++| | + | SHORT Position; |
| - | |{6F} Movie_on | + | } Light_pos_set; |
| - | typedef struct { // Ptr // Description | + | This bytecode sets the specified |
| - | UCHAR Opcode; | + | |{6B} Light_kido_set |
| - | UCHAR MovieId; | + | typedef struct { |
| - | } Movie_on; | + | UCHAR Opcode; // 0x6B |
| - | This bytecode | + | UCHAR |
| - | |{70} Splc_ret | + | SHORT Luminosity; // Luminosity |
| - | typedef struct { // Ptr // Description | + | } Light_kido_set; |
| - | UCHAR Opcode; | + | This bytecode sets the specified |
| - | } Splc_ret; | + | |{6C} Rbj_reset |
| - | This bytecode returns the SPLC state.++| 08-02-2024 Newly Added | | + | typedef struct { |
| - | |{71} Splc_sce | + | UCHAR Opcode; // 0x6C |
| - | typedef struct { // Ptr // Description | + | } Rbj_reset; |
| - | UCHAR Opcode; | + | This bytecode resets the specified rbj parameters.++| 08-02-2024 Newly Added | |
| - | } Splc_sce; | + | |{6D} Sce_scr_move |
| - | This bytecode sets the SPLC SCE.++| 08-02-2024 Newly Added | | + | typedef struct { |
| - | |{72} Super_on | + | UCHAR Opcode; // 0x6D |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | SHORT Scrl_y; // Scrl_y |
| - | UCHAR | + | } Sce_scr_move; |
| - | UCHAR | + | This bytecode moves the specified |
| - | UCHAR | + | |{6E} Parts_set |
| - | UCHAR X[2]; // X position | + | typedef struct { |
| - | UCHAR Y[2]; // Y position | + | UCHAR Opcode; // 0x6E |
| - | UCHAR Z[2]; // Z position | + | UCHAR |
| - | UCHAR Width; | + | CHAR Id; // Id |
| - | UCHAR Height; // Height | + | CHAR Type; // Type |
| - | UCHAR Depth; // Depth | + | SHORT Value; // Value |
| - | UCHAR zAlign[2]; | + | } Parts_set; |
| - | } Super_on; | + | This bytecode sets the specified |
| - | This bytecode | + | |{6F} Movie_on |
| - | |{73} Mirror_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x6F |
| - | UCHAR Opcode; | + | UCHAR MovieId; // ID of the movie |
| - | UCHAR | + | } Movie_on; |
| - | UCHAR Y[2]; // Y position | + | This bytecode |
| - | UCHAR Z[2]; // Z position | + | |{70} Splc_ret |
| - | UCHAR Reflection; // Reflection type | + | typedef struct { |
| - | } Mirror_set; | + | UCHAR Opcode; // 0x70 |
| - | This bytecode sets a mirror.++| | + | } Splc_ret; |
| - | |{74} Sce_fade_adjust | + | This bytecode returns |
| - | typedef struct { // Ptr // Description | + | |{71} Splc_sce |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x71 |
| - | UCHAR Duration; | + | } Splc_sce; |
| - | UCHAR ColorR; // Red component | + | This bytecode sets the specified splc parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR ColorG; | + | |{72} Super_on |
| - | UCHAR ColorB; | + | typedef struct { |
| - | } Sce_fade_adjust; | + | UCHAR Opcode; // 0x72 |
| - | This bytecode adjusts the fade effect.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | |{75} Sce_espr3d_on2 | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | SHORT data2; // data2 |
| - | UCHAR | + | SHORT data3; // data3 |
| - | UCHAR Id; // ID | + | SHORT data4; // data4 |
| - | UCHAR SCE; | + | SHORT data5; // data5 |
| - | UCHAR X[2]; // X position | + | SHORT data6; // data6 |
| - | UCHAR Y[2]; // Y position | + | SHORT data7; // data7 |
| - | UCHAR Z[2]; // Z position | + | } Super_on; |
| - | UCHAR Width; | + | This bytecode |
| - | UCHAR Height; // Height | + | |{73} Mirror_set |
| - | UCHAR Depth; | + | typedef struct { |
| - | UCHAR zAlign[10]; // Alignment bytes | + | UCHAR Opcode; // 0x73 |
| - | } Sce_espr3d_on2; | + | UCHAR |
| - | This bytecode | + | USHORT Position; // Position |
| - | |{76} Sce_Item_get | + | USHORT Min; // Min |
| - | typedef struct { // Ptr // Description | + | USHORT Max; // Max |
| - | UCHAR Opcode; | + | } Mirror_set; |
| - | UCHAR | + | This bytecode sets the specified |
| - | UCHAR | + | |{74} Sce_fade_adjust |
| - | UCHAR zAlign; | + | typedef struct { |
| - | } Sce_Item_get; | + | UCHAR Opcode; // 0x74 |
| - | This bytecode gets an item.++| | + | UCHAR |
| - | |{77} Sce_line_start | + | SHORT data1; // data1 |
| - | typedef struct { // Ptr // Description | + | } Sce_fade_adjust; |
| - | UCHAR Opcode; | + | This bytecode adjusts the specified |
| - | UCHAR | + | |{75} Sce_espr3d_on2 |
| - | UCHAR StartX[2]; | + | typedef struct { |
| - | UCHAR StartY[2]; // Start Y position | + | UCHAR Opcode; // 0x75 |
| - | UCHAR StartZ[2]; | + | UCHAR |
| - | } Sce_line_start; | + | USHORT bit; // bit |
| - | This bytecode starts | + | USHORT data4; // data4 |
| - | |{78} Sce_line_main | + | USHORT data6; // data6 |
| - | typedef struct { // Ptr // Description | + | USHORT data8; // data8 |
| - | UCHAR Opcode; | + | USHORT dataA; // dataA |
| - | UCHAR | + | USHORT dataC; // dataC |
| - | UCHAR MainX[2]; // Main X position | + | USHORT dataE; // dataE |
| - | UCHAR MainY[2]; // Main Y position | + | USHORT data10; // data10 |
| - | UCHAR MainZ[2]; | + | USHORT data12; // data12 |
| - | } Sce_line_main; | + | USHORT data14; // data14 |
| - | This bytecode sets the main line.++| | + | } Sce_espr3d_on2; |
| - | |{79} Sce_line_end | + | This bytecode |
| - | typedef struct { // Ptr // Description | + | |{76} Sce_Item_get |
| - | UCHAR Opcode; | + | typedef struct { |
| - | } Sce_line_end; | + | UCHAR Opcode; // 0x76 |
| - | This bytecode ends a line.++| | + | UCHAR |
| - | |{7A} Sce_parts_bomb | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | } Sce_Item_get; |
| - | UCHAR Opcode; | + | This bytecode gets the specified |
| - | UCHAR | + | |{77} Sce_line_start |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x77 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | USHORT Value; // Value |
| - | UCHAR Power; | + | } Sce_line_start; |
| - | UCHAR zAlign[8]; | + | This bytecode starts |
| - | } Sce_parts_bomb; | + | |{78} Sce_line_main |
| - | This bytecode | + | typedef struct { |
| - | |{7B} Sce_parts_down | + | UCHAR Opcode; // 0x78 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | SHORT Data0; // Data0 |
| - | UCHAR | + | SHORT Data1; // Data1 |
| - | UCHAR X[2]; // X position | + | } Sce_line_main; |
| - | UCHAR Y[2]; // Y position | + | This bytecode sets the specified |
| - | UCHAR Z[2]; // Z position | + | |{79} Sce_line_end |
| - | UCHAR Width; | + | typedef struct { |
| - | UCHAR Height; // Height | + | UCHAR Opcode; // 0x79 |
| - | UCHAR Depth; | + | } Sce_line_end; |
| - | UCHAR zAlign[6]; | + | This bytecode ends the specified |
| - | } Sce_parts_down; | + | |{7A} Sce_parts_bomb |
| - | This bytecode | + | typedef struct { |
| - | |{7C} Light_color_set | + | UCHAR Opcode; // 0x7A |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR zAlign[3]; | + | SHORT data6; // data6 |
| - | } Light_color_set; | + | SHORT data8; // data8 |
| - | This bytecode sets the color of a light.++| | + | SHORT dataA; // dataA |
| - | |{7D} Light_pos_set2 | + | SHORT dataC; // dataC |
| - | typedef struct { // Ptr // Description | + | SHORT dataE; // dataE |
| - | UCHAR Opcode; | + | } Sce_parts_bomb; |
| - | UCHAR | + | This bytecode |
| - | UCHAR | + | |{7B} Sce_parts_down |
| - | UCHAR | + | typedef struct { |
| - | } Light_pos_set2; | + | UCHAR Opcode; // 0x7B |
| - | This bytecode sets the position | + | UCHAR |
| - | |{7E} Light_kido_set2 | + | SHORT X; // X |
| - | typedef struct { // Ptr // Description | + | SHORT Y; // Y |
| - | UCHAR Opcode; | + | SHORT Z; // Z |
| - | UCHAR | + | SHORT cDirZ; // cDirZ |
| - | UCHAR | + | SHORT DirX; // DirX |
| - | UCHAR | + | SHORT DirY; // DirY |
| - | UCHAR ColorB; | + | SHORT DirZ; // DirZ |
| - | UCHAR zAlign; // Alignment byte | + | } Sce_parts_down; |
| - | } Light_kido_set2; | + | This bytecode |
| - | This bytecode sets the light intensity and color (secondary).++| 08-02-2024 Newly Added | | + | |{7C} Light_color_set |
| - | |{7F} Light_color_set2 | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x7C |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR B; // B |
| - | UCHAR | + | UCHAR zAlign; // zAlign |
| - | } Light_color_set2; | + | } Light_color_set; |
| - | This bytecode sets the color of a light (secondary).++| 08-02-2024 Newly Added | | + | This bytecode sets the specified |
| - | |{80} Se_vol | + | |{7D} Light_pos_set2 |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x7D |
| - | UCHAR Volume; | + | UCHAR |
| - | } Se_vol; | + | UCHAR |
| - | This bytecode sets the volume of a sound effect.++| | + | UCHAR |
| - | |{81} | + | SHORT Position; |
| - | typedef struct { // Ptr // Description | + | } Light_pos_set2; |
| - | UCHAR Opcode; | + | This bytecode sets the specified light position |
| - | UCHAR ItemId; | + | |{7E} Light_kido_set2 |
| - | UCHAR | + | typedef struct { |
| - | UCHAR zAlign; | + | UCHAR Opcode; // 0x7E |
| - | } Sce_Item_cmp; | + | UCHAR |
| - | This bytecode | + | UCHAR |
| - | |{82} Sce_espr_task | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | USHORT Luminosity; // Luminosity |
| - | UCHAR Opcode; | + | } Light_kido_set2; |
| - | UCHAR EspId; | + | This bytecode sets the specified |
| - | UCHAR TaskId; // Task ID | + | |{7F} Light_color_set2 |
| - | UCHAR zAlign; | + | typedef struct { |
| - | } Sce_espr_task; | + | UCHAR Opcode; // 0x7F |
| - | This bytecode | + | UCHAR |
| - | |{83} Plc_heal | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | } Plc_heal; | + | UCHAR B; // B |
| - | This bytecode heals a PLC.++| 08-02-2024 Newly Added | | + | } Light_color_set2; |
| - | |{84} St_map_hint | + | This bytecode sets the specified |
| - | typedef struct { // Ptr // Description | + | |{80} Se_vol |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x80 |
| - | } St_map_hint; | + | UCHAR Volume; // Volume |
| - | This bytecode sets a map hint.++| | + | } Se_vol; |
| - | |{85} Sce_em_pos_ck | + | This bytecode sets the specified |
| - | typedef struct { // Ptr // Description | + | |{81} |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x81 |
| - | UCHAR | + | UCHAR ItemId; // ID of the item to check |
| - | UCHAR | + | UCHAR |
| - | UCHAR Z[2]; // Z position | + | } Keep_Item_ck2; |
| - | } Sce_em_pos_ck; | + | This bytecode |
| - | This bytecode checks the position | + | |{82} Sce_espr_task |
| - | |{86} Poison_ck | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x82 |
| - | UCHAR Opcode; | + | CHAR WorkKind; // WorkKind |
| - | } Poison_ck; | + | CHAR WorkNo; // WorkNo |
| - | This bytecode checks | + | } Sce_espr_task; |
| - | |{87} Poison_clr | + | This bytecode |
| - | typedef struct { // Ptr // Description | + | |{83} Plc_heal |
| - | UCHAR Opcode; | + | typedef struct { |
| - | } Poison_clr; | + | UCHAR Opcode; // 0x83 |
| - | This bytecode clears the poison | + | } Plc_heal; |
| - | |{88} Sce_Item_lost2 | + | This bytecode heals the specified plc function.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{84} St_map_hint |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR ItemId; | + | UCHAR Opcode; // 0x84 |
| - | UCHAR | + | UCHAR |
| - | UCHAR zAlign; | + | } St_map_hint; |
| - | } Sce_Item_lost2; | + | This bytecode sets the specified |
| - | This bytecode | + | |{85} Sce_em_pos_ck |
| - | |{89} Evt_next2 | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x85 |
| - | UCHAR Opcode; | + | UCHAR |
| - | } Evt_next2; | + | UCHAR |
| - | This bytecode moves to the next event (secondary).++| 08-02-2024 Newly Added | | + | UCHAR |
| - | |{8A} Vib_set0 | + | USHORT Flg; // Flg |
| - | typedef struct { // Ptr // Description | + | } Sce_em_pos_ck; |
| - | UCHAR Opcode; | + | This bytecode checks the specified enemy position |
| - | UCHAR | + | |{86} Poison_ck |
| - | UCHAR Intensity; // Intensity | + | typedef struct { |
| - | UCHAR Duration; | + | UCHAR Opcode; // 0x86 |
| - | UCHAR Frequency; // Frequency | + | } Poison_ck; |
| - | UCHAR zAlign[2]; | + | This bytecode checks |
| - | } Vib_set0; | + | |{87} Poison_clr |
| - | This bytecode sets vibration parameters.++| | + | typedef struct { |
| - | |{8B} Vib_set1 | + | UCHAR Opcode; // 0x87 |
| - | typedef struct { // Ptr // Description | + | } Poison_clr; |
| - | UCHAR Opcode; | + | This bytecode clears the specified |
| - | UCHAR | + | |{88} Sce_Item_lost2 |
| - | UCHAR Intensity; | + | typedef struct { |
| - | UCHAR Duration; // Duration | + | UCHAR Opcode; // 0x88 |
| - | UCHAR Frequency; | + | UCHAR ItemId; // ID of the item |
| - | UCHAR zAlign[2]; // Alignment bytes | + | UCHAR |
| - | } Vib_set1; | + | } Sce_Item_lost2; |
| - | This bytecode sets secondary | + | This bytecode |
| - | |{8C} Vib_fade_set | + | |{89} Evt_next2 |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x89 |
| - | UCHAR | + | } Evt_next2; |
| - | UCHAR | + | This bytecode moves to the next event in the sequence.++| 08-02-2024 Newly Added | |
| - | UCHAR | + | |{8A} Vib_set0 |
| - | UCHAR Duration; // Duration | + | typedef struct { |
| - | UCHAR Frequency; // Frequency | + | UCHAR Opcode; // 0x8A |
| - | UCHAR zAlign[2]; | + | UCHAR |
| - | } Vib_fade_set; | + | USHORT data0; // data0 |
| - | This bytecode sets the fade effect for vibration.++| 08-02-2024 Newly Added | | + | USHORT data1; // data1 |
| - | |{8D} Item_aot_set2 | + | } Vib_set0; |
| - | typedef struct { // Ptr // Description | + | This bytecode sets the specified |
| - | UCHAR Opcode; | + | |{8B} Vib_set1 |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x8B |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | USHORT Value1; // Vibration Value 1 |
| - | UCHAR | + | USHORT Value2; // Vibration Value 2 |
| - | UCHAR Z[2]; // Z position | + | } Vib_set1; |
| - | UCHAR | + | This bytecode sets the specified |
| - | UCHAR | + | |{8C} Vib_fade_set |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x8C |
| - | } Item_aot_set2; | + | UCHAR |
| - | This bytecode sets an item AOT (secondary).++| 08-02-2024 Newly Added | | + | UCHAR |
| - | |{8E} Sce_em_set2 | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | USHORT data2; // data2 |
| - | UCHAR Opcode; | + | USHORT data3; // data3 |
| - | UCHAR | + | } Vib_fade_set; |
| - | UCHAR | + | This bytecode sets the specified vibration |
| - | UCHAR | + | |{8D} Item_aot_set2 |
| - | UCHAR X[2]; // X position | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x8D |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR Depth; | + | UCHAR |
| - | UCHAR Life; // Life | + | UCHAR |
| - | UCHAR Speed; | + | SHORT X; // Position |
| - | UCHAR zAlign[9]; | + | SHORT |
| - | } Sce_em_set2; | + | USHORT W; // Size |
| - | This bytecode sets a secondary | + | USHORT D; // Size |
| + | USHORT iItem; // Item Id | ||
| + | USHORT nItem; // Item Amount | ||
| + | USHORT Flag; // argv[1] for Flg_on() and Flg_ck() | ||
| + | UCHAR | ||
| + | UCHAR | ||
| + | UCHAR | ||
| + | UCHAR | ||
| + | } Item_aot_set2; | ||
| + | This bytecode sets the specified | ||
| + | |{8E} Sce_em_set2 | ||
| + | typedef struct { | ||
| + | UCHAR Opcode; // 0x8E | ||
| + | UCHAR | ||
| + | UCHAR | ||
| + | UCHAR | ||
| + | USHORT Type; // | ||
| + | UCHAR | ||
| + | UCHAR | ||
| + | UCHAR | ||
| + | UCHAR | ||
| + | SHORT X; // | ||
| + | SHORT Y; // | ||
| + | SHORT Z; // | ||
| + | SHORT DirY; // | ||
| + | USHORT Timer0; // | ||
| + | USHORT Timer1; // | ||
| + | USHORT data16; // | ||
| + | } Sce_em_set2; | ||
| + | This bytecode sets the specified | ||
re2_opcodes.1722659919.txt.gz · Last modified: 2024/08/02 21:38 by 3lric