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] – 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 { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x01 |
| - | UCHAR Opcode; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR zAlign; | + | } 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 { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x02 |
| - | UCHAR Opcode; | + | } Evt_next; |
| - | } Evt_next; | + | |
| This bytecode moves to the next event in the sequence.++| | This bytecode moves to the next event in the sequence.++| | ||
| - | + | |{03} Evt_chain | |
| - | |{03} Evt_chain | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x03 |
| - | UCHAR Opcode; | + | UCHAR NextEventId; |
| - | UCHAR NextEventId; | + | } Evt_chain; |
| - | } Evt_chain; | + | |
| This bytecode chains the current event to the specified next event ID, allowing the script to continue execution from the linked event.++| | This bytecode chains the current event to the specified next event ID, allowing the script to continue execution from the linked event.++| | ||
| - | + | |{04} Evt_exec | |
| - | |{04} Evt_exec | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x04 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | } Evt_exec; |
| - | } Evt_exec; | + | |
| This bytecode executes the specified event with given parameters.++| | This bytecode executes the specified event with given parameters.++| | ||
| - | + | |{05} Evt_kill | |
| - | |{05} Evt_kill | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x05 |
| - | UCHAR Opcode; | + | UCHAR EventId; // Event ID to terminate |
| - | UCHAR EventId; | + | } Evt_kill; |
| - | } Evt_kill; | + | |
| This bytecode terminates the specified event.++| | This bytecode terminates the specified event.++| | ||
| - | + | |{06} Ifel_ck | |
| - | |{06} Ifel_ck | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x06 |
| - | UCHAR Opcode; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR zAlign; | + | USHORT |
| - | USHORT | + | } Ifel_ck; |
| - | } Ifel_ck; | + | |
| This bytecode checks a condition and branches accordingly.++| | This bytecode checks a condition and branches accordingly.++| | ||
| - | + | |{07} Else_ck | |
| - | |{07} Else_ck | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x07 |
| - | UCHAR Opcode; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR zAlign; | + | USHORT |
| - | USHORT | + | } Else_ck; |
| - | } Else_ck; | + | This bytecode specifies the size of the block to check if the corresponding Ifel_ck condition is met.++| |
| - | This bytecode specifies the offset to jump to if the corresponding Ifel_ck condition is met.++| | + | |{08} Endif | 02 |++08 00++|\\ |
| - | + | typedef struct { | |
| - | |{08} Endif | 02 |++08 00++|\\ | + | UCHAR Opcode; // 0x08 |
| - | typedef struct { // Ptr // Description | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR Opcode; | + | } Endif; |
| - | UCHAR zAlign; | + | |
| - | } Endif; | + | |
| This bytecode marks the end of an If/ | This bytecode marks the end of an If/ | ||
| - | + | |{09} Sleep | 04 |++09 ?? CO NT++|\\ | |
| - | |{09} Sleep | 04 |++09 ?? ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x09 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | USHORT |
| - | UCHAR DurationHigh; | + | } Sleep; |
| - | USHORT | + | |
| - | } Sleep; | + | |
| This bytecode pauses script execution for the specified duration.++| | This bytecode pauses script execution for the specified duration.++| | ||
| - | + | |{0A} Sleeping | |
| - | |{0A} Sleeping | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x0A |
| - | UCHAR Opcode; | + | USHORT |
| - | USHORT | + | } Sleeping; |
| - | } Sleeping; | + | |
| This bytecode pauses script execution for the specified duration.++| | This bytecode pauses script execution for the specified duration.++| | ||
| - | + | |{0B} Wsleep | |
| - | |{0B} Wsleep | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x0B |
| - | UCHAR Opcode; | + | } Wsleep; |
| - | } Wsleep; | + | This bytecode |
| - | This bytecode | + | |{0C} Wsleeping |
| - | + | typedef struct { | |
| - | |{0C} Wsleeping | + | UCHAR Opcode; // 0x0C |
| - | typedef struct { // Ptr // Description | + | } Wsleeping; |
| - | UCHAR Opcode; | + | This bytecode |
| - | } Wsleeping; | + | |{0D} For | 06 |++0D 00 SI ZE CO NT++|\\ |
| - | This bytecode | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x0D | |
| - | |{0D} For | 06 |++0D 00 ?? ?? ?? ??++|\\ | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | typedef struct { // Ptr // Description | + | USHORT Size; // Size of the block to check |
| - | UCHAR Opcode; | + | USHORT |
| - | UCHAR zAlign; | + | } For; |
| - | SHORT StartValue; // Start value of the loop counter | + | |
| - | USHORT | + | |
| - | } For; | + | |
| This bytecode begins a for-loop with the specified start and end values.++| | This bytecode begins a for-loop with the specified start and end values.++| | ||
| - | + | |{0E} Next | 02 |++0E 00++|\\ | |
| - | |{0E} Next | 02 |++0E 00++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x0E |
| - | UCHAR Opcode; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR zAlign; | + | } Next; |
| - | } Next; | + | |
| This bytecode marks the end of a for-loop.++| | This bytecode marks the end of a for-loop.++| | ||
| - | + | |{0F} While | 04 |++0F 00 SI ZE++|\\ | |
| - | |{0F} While | 04 |++0F 00 ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x0F |
| - | UCHAR Opcode; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR zAlign; | + | USHORT Size; // Size of the block to check |
| - | SHORT Condition; | + | } While; |
| - | } While; | + | |
| This bytecode begins a while-loop that continues as long as the specified condition is true.++| | This bytecode begins a while-loop that continues as long as the specified condition is true.++| | ||
| - | + | |{10} Ewhile | |
| - | |{10} Ewhile | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x10 |
| - | UCHAR Opcode; | + | UCHAR LoopId; // ID of the while-loop to end |
| - | UCHAR LoopId; | + | } Ewhile; |
| - | } Ewhile; | + | |
| This bytecode ends the specified while-loop.++| | This bytecode ends the specified while-loop.++| | ||
| - | + | |{11} Do | 04 |++11 00 SI ZE++|\\ | |
| - | |{11} Do | 04 |++11 00 ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x11 |
| - | UCHAR Opcode; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR zAlign; | + | USHORT Size; // Size of the block to check |
| - | SHORT Condition; | + | } Do; |
| - | } Do; | + | |
| This bytecode begins a do-while loop that executes the loop body once before checking the condition.++| | This bytecode begins a do-while loop that executes the loop body once before checking the condition.++| | ||
| - | + | |{12} Edwhile | |
| - | |{12} Edwhile | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x12 |
| - | UCHAR Opcode; | + | UCHAR LoopId; // ID of the do-while loop to end |
| - | UCHAR LoopId; | + | } Edwhile; |
| - | } Edwhile; | + | |
| This bytecode ends the specified do-while loop.++| | This bytecode ends the specified do-while loop.++| | ||
| - | + | |{13} Switch | |
| - | |{13} Switch | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x13 |
| - | UCHAR Opcode; | + | UCHAR SwitchId; // ID of the switch variable |
| - | UCHAR SwitchId; | + | USHORT |
| - | USHORT | + | } Switch; |
| - | } Switch; | + | This bytecode begins a switch-case block with the specified switch variable and default |
| - | This bytecode begins a switch-case block with the specified switch variable and default | + | |{14} Case | 06 |++14 00 SI ZE VA LU++|\\ |
| - | + | typedef struct { | |
| - | |{14} Case | 06 |++14 ?? ?? ?? ?? ??++|\\ | + | UCHAR Opcode; // 0x14 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | USHORT Size; // Size of the block to check |
| - | UCHAR | + | USHORT |
| - | USHORT | + | } Case; |
| - | } Case; | + | |
| This bytecode defines a case within a switch-case block.++| | This bytecode defines a case within a switch-case block.++| | ||
| - | + | |{15} Default | |
| - | |{15} Default | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x15 |
| - | UCHAR Opcode; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR zAlign; | + | } Default; |
| - | } Default; | + | |
| This bytecode marks the default case in a switch-case block.++| | This bytecode marks the default case in a switch-case block.++| | ||
| - | + | |{16} Eswitch | |
| - | |{16} Eswitch | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x16 |
| - | UCHAR Opcode; | + | UCHAR zAlign; // Always Zero (Alignment byte) |
| - | UCHAR zAlign; | + | } Eswitch; |
| - | } Eswitch; | + | |
| This bytecode ends the switch-case block.++| | This bytecode ends the switch-case block.++| | ||
| - | + | |{17} Goto | 06 |++17 ?? ?? ?? ?? ?? ??++|\\ | |
| - | |{17} Goto | 06 |++17 ?? ?? ?? 00 00++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR zAlign; |
| - | USHORT | + | SHORT Offset; |
| - | } Goto; | + | } Goto; |
| This bytecode jumps to the specified offset within the script.++| | This bytecode jumps to the specified offset within the script.++| | ||
| - | + | |{18} Gosub | 02 |++18 ID++|\\ | |
| - | |{18} Gosub | 02 |++18 ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x18 |
| - | UCHAR Opcode; | + | UCHAR SubroutineId; |
| - | UCHAR SubroutineId; | + | } Gosub; |
| - | } Gosub; | + | |
| This bytecode calls the specified subroutine.++| | This bytecode calls the specified subroutine.++| | ||
| - | + | |{19} Return | |
| - | |{19} Return | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x19 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | } Return; |
| - | } Return; | + | |
| This bytecode returns from the specified subroutine.++| | This bytecode returns from the specified subroutine.++| | ||
| - | + | |{1A} Break | 02 |++1A 00++|\\ | |
| - | |{1A} Break | 02 |++1A ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x1A |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | } Break; |
| - | } Break; | + | |
| This bytecode breaks out of the specified loop.++| | This bytecode breaks out of the specified loop.++| | ||
| - | + | |{1B} For2 | 06 |++1B 00 XX XX 00 XX XX++|\\ | |
| - | |{1B} For2 | 06 |++1B 00 ?? ?? 00 ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x1B |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | SHORT StartValue; |
| - | SHORT StartValue; | + | UCHAR |
| - | UCHAR | + | SHORT EndValue; // End value of the loop counter |
| - | UCHAR EndValue; | + | } For2; |
| - | } For2; | + | |
| This bytecode begins a for-loop with the specified start and end values.++| | This bytecode begins a for-loop with the specified start and end values.++| | ||
| - | + | |{1C} Break_point | |
| - | |{1C} Break_point | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x1C |
| - | UCHAR Opcode; | + | } Break_point; |
| - | } Break_point; | + | |
| This bytecode sets a breakpoint for debugging purposes.++| | This bytecode sets a breakpoint for debugging purposes.++| | ||
| - | + | |{1D} Work_copy | |
| - | |{1D} Work_copy | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x1D |
| - | UCHAR Opcode; | + | UCHAR Source; // Source index |
| - | UCHAR Source; | + | UCHAR |
| - | UCHAR | + | UCHAR Typecast; // Typecast operation |
| - | UCHAR Typecast; | + | } Work_copy; |
| - | } Work_copy; | + | |
| This bytecode copies a value from the source index to the destination index with an optional typecast.++| | This bytecode copies a value from the source index to the destination index with an optional typecast.++| | ||
| - | + | |{1E} | |
| - | |{1E} | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x1E |
| - | UCHAR Opcode; | + | } 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.++| | ||
| - | + | |{1F} | |
| - | |{1F} | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x1F |
| - | UCHAR Opcode; | + | } 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.++| | ||
| - | + | |{20} Nop | 01 |++20++|\\ | |
| - | |{20} Nop | 01 |++20++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x20 |
| - | UCHAR Opcode; | + | } 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.++| | ||
| - | + | |{21} Ck | 04 |++21 ?? ID ??++|\\ | |
| - | |{21} Ck | 04 |++21 ?? ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x21 |
| - | UCHAR Opcode; | + | UCHAR Flag; // System flag to check |
| - | UCHAR Flag; // System flag to check | + | UCHAR Id; // Bit ID to check |
| - | UCHAR Id; // Bit ID to check | + | UCHAR OnOff; // On/Off state to check |
| - | UCHAR OnOff; | + | } Ck; |
| - | } Ck; | + | |
| This bytecode checks the specified system flag and bit ID for the given On/Off state.++| | This bytecode checks the specified system flag and bit ID for the given On/Off state.++| | ||
| - | + | |{22} Set | 04 |++22 ?? ID ??++|\\ | |
| - | |{22} Set | 04 |++22 ?? ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x22 |
| - | UCHAR Opcode; | + | UCHAR Flag; // System flag to set |
| - | UCHAR Flag; // System flag to set | + | UCHAR Id; // Bit ID to set |
| - | UCHAR Id; // Bit ID to set | + | UCHAR OnOff; // On/Off state to set |
| - | UCHAR OnOff; | + | } Set; |
| - | } Set; | + | |
| This bytecode sets the specified system flag and bit ID to the given On/Off state.++| | This bytecode sets the specified system flag and bit ID to the given On/Off state.++| | ||
| - | + | |{23} Cmp | 06 |++23 00 ID ?? VA LU++|\\ | |
| - | |{23} Cmp | 06 |++23 ?? ?? ?? ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR MemberId; |
| - | UCHAR Operator; | + | UCHAR Operator; |
| - | USHORT | + | SHORT Value; |
| - | } Cmp; | + | } Cmp; |
| This bytecode compares the specified system flag with the given value using the provided comparison operator.++| | This bytecode compares the specified system flag with the given value using the provided comparison operator.++| | ||
| - | + | |{24} Save | 04 |++24 ID XX XX++|\\ | |
| - | |{24} Save | 04 |++24 ?? ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x24 |
| - | UCHAR Opcode; | + | UCHAR Destination; |
| - | UCHAR Destination; | + | SHORT Source; // Source value |
| - | SHORT Source; | + | } Save; |
| - | } Save; | + | |
| This bytecode saves the specified source value to the destination index.++| | This bytecode saves the specified source value to the destination index.++| | ||
| - | + | |{25} Copy | 03 |++25 ID ??++|\\ | |
| - | |{25} Copy | 03 |++25 ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x25 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | } Copy; |
| - | } Copy; | + | |
| This bytecode copies the value from the source index to the destination index.++| | This bytecode copies the value from the source index to the destination index.++| | ||
| - | + | |{26} Calc | 06 |++26 00 ?? ?? VA LU++|\\ | |
| - | |{26} Calc | 06 |++26 ?? ?? ?? ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x26 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | SHORT Value; // Amount used in operation |
| - | UCHAR Result; // Result index | + | } Calc; |
| - | UCHAR zAlign; | + | |
| - | } Calc; | + | |
| This bytecode performs the specified arithmetic operation on the operands and stores the result.++| | This bytecode performs the specified arithmetic operation on the operands and stores the result.++| | ||
| - | |||
| |{27} Calc2 | 04 |++27 ?? ?? ??++|\\ | |{27} Calc2 | 04 |++27 ?? ?? ??++|\\ | ||
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Calc2; | + | } Calc2; |
| - | This bytecode performs the specified arithmetic operation on the operand | + | This bytecode performs the specified arithmetic operation on the two operands |
| - | + | |{28} Sce_rnd | |
| - | |{28} Sce_rnd | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x28 |
| - | UCHAR Opcode; | + | } Sce_rnd; |
| - | } Sce_rnd; | + | This bytecode generates a random value.++| |
| - | This bytecode generates a random value.++| | + | |{29} Cut_chg |
| - | + | typedef struct { | |
| - | |{29} Cut_chg | + | UCHAR Opcode; // 0x29 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | } Cut_chg; |
| - | UCHAR | + | This bytecode changes the current |
| - | } Cut_chg; | + | |{2A} Cut_old |
| - | This bytecode changes the current | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x2A | |
| - | |{2A} Cut_old | + | } Cut_old; |
| - | typedef struct { // Ptr // Description | + | This bytecode reverts to the previous |
| - | UCHAR Opcode; | + | |{2B} Message_on |
| - | } Cut_old; | + | typedef struct { |
| - | This bytecode reverts to the previous | + | UCHAR Opcode; // 0x2B |
| - | + | UCHAR | |
| - | |{2B} Message_on | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | USHORT DisplayTime; // Time to display |
| - | UCHAR | + | } Message_on; |
| - | UCHAR | + | This bytecode displays the specified message.++| |
| - | UCHAR | + | |{2C} Aot_set |
| - | UCHAR PositionY; | + | typedef struct { |
| - | UCHAR zAlign; | + | UCHAR Opcode; // 0x2C |
| - | } Message_on; | + | CHAR Aot; // Aot |
| - | This bytecode displays the specified message | + | UCHAR |
| - | + | UCHAR | |
| - | |{2C} Aot_set | + | UCHAR |
| - | typedef struct { | + | UCHAR |
| - | UCHAR | + | SHORT X; // Position |
| - | UCHAR | + | SHORT Z; // Position |
| - | UCHAR | + | USHORT W; // Size |
| - | UCHAR Data1[17]; | + | USHORT D; // Size |
| - | UCHAR zAlign[2]; | + | USHORT Data0; // Sce_Message / Flag Type / Always 0x00FF |
| + | USHORT | ||
| + | USHORT Data2; // Always | ||
| } Aot_set; | } Aot_set; | ||
| This bytecode sets the properties of the specified AOT.++| | This bytecode sets the properties of the specified AOT.++| | ||
| - | + | |{2D} Obj_model_set | |
| - | |{2D} Obj_model_set | + | typedef struct { |
| - | typedef struct { | + | UCHAR Opcode; // 0x2D |
| - | UCHAR | + | UCHAR MD1; // MD1 File Id |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR zAlign[2]; | + | UCHAR |
| - | } Obj_model_set; | + | 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.++| | This bytecode sets the properties of the specified object model.++| | ||
| - | + | |{2E} Work_set | |
| - | |{2E} Work_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x2E |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | } Work_set; |
| - | } Work_set; | + | |
| This bytecode sets the properties of the specified work (task).++| | This bytecode sets the properties of the specified work (task).++| | ||
| - | + | |{2F} Speed_set | |
| - | |{2F} Speed_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x2F |
| - | UCHAR Opcode; | + | UCHAR SpeedId; // ID of the speed setting |
| - | UCHAR SpeedId; | + | USHORT |
| - | UCHAR SpeedValue; | + | } Speed_set; |
| - | UCHAR zAlign; | + | |
| - | } Speed_set; | + | |
| This bytecode sets the specified speed setting.++| | This bytecode sets the specified speed setting.++| | ||
| - | + | |{30} Add_speed | |
| - | |{30} Add_speed | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x30 |
| - | UCHAR Opcode; | + | } Add_speed; |
| - | } Add_speed; | + | |
| This bytecode increments the speed setting.++| | This bytecode increments the speed setting.++| | ||
| - | + | |{31} Add_aspeed | |
| - | |{31} Add_aspeed | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x31 |
| - | UCHAR Opcode; | + | } Add_aspeed; |
| - | } Add_aspeed; | + | |
| This bytecode increments the angular speed setting.++| | This bytecode increments the angular speed setting.++| | ||
| - | + | |{32} Pos_set | |
| - | |{32} Pos_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x32 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR PosX[2]; | + | SHORT |
| - | UCHAR PosY[2]; | + | SHORT PosY; // Y position |
| - | UCHAR PosZ[2]; | + | SHORT PosZ; // Z position |
| - | UCHAR zAlign; | + | } Pos_set; |
| - | } Pos_set; | + | |
| This bytecode sets the position in 3D space.++| | This bytecode sets the position in 3D space.++| | ||
| - | + | |{33} Dir_set | |
| - | |{33} Dir_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x33 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR DirX[2]; | + | SHORT |
| - | UCHAR DirY[2]; | + | SHORT DirY; // Y direction |
| - | UCHAR DirZ[2]; | + | SHORT DirZ; // Z direction |
| - | UCHAR zAlign; | + | } Dir_set; |
| - | } Dir_set; | + | |
| This bytecode sets the direction in 3D space.++| | This bytecode sets the direction in 3D space.++| | ||
| - | + | |{34} Member_set | |
| - | |{34} Member_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x34 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | SHORT Source; // Source |
| - | UCHAR Property1; // Property 1 of the member | + | } Member_set; |
| - | UCHAR Property2; | + | |
| - | UCHAR zAlign; | + | |
| - | } Member_set; | + | |
| This bytecode sets the properties of the specified member.++| | This bytecode sets the properties of the specified member.++| | ||
| - | + | |{35} Member_set2 | |
| - | |{35} Member_set2 | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x35 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | } Member_set2; |
| - | } Member_set2; | + | |
| This bytecode sets a single property of the specified member.++| | This bytecode sets a single property of the specified member.++| | ||
| - | + | |{36} Se_on | 12 |++36 ?? ?? ?? ?? XX XX YY YY ZZ ZZ++|\\ | |
| - | |{36} Se_on | 12 |++36 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x36 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | SHORT EDT; // EDT Sample Id |
| - | UCHAR Volume; // Volume of the sound effect | + | SHORT data0; // Sound Reverberation, |
| - | UCHAR Pitch; | + | SHORT X; // Position |
| - | UCHAR Pan; | + | SHORT Y; |
| - | UCHAR Delay[8]; // Delay before playing the sound effect (8 bytes) | + | SHORT Z; |
| - | UCHAR zAlign; // Always Zero (Alignment byte) | + | } Se_on; |
| - | } Se_on; | + | This bytecode plays the specified sound effect with the given parameters.++| 08-02-2024 Newly Added | |
| - | This bytecode plays the specified sound effect with the given properties.++| 08-02-2024 Newly Added | | + | |{37} Sca_id_set |
| - | + | typedef struct { | |
| - | |{37} Sca_id_set | + | UCHAR Opcode; // 0x37 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | USHORT Id; // New Collision ID |
| - | UCHAR | + | } Sca_id_set; |
| - | UCHAR ScaleX; | + | This bytecode sets the specified |
| - | UCHAR ScaleY; // Y scale value | + | |{38} Flr_set |
| - | UCHAR zAlign; | + | typedef struct { |
| - | } Sca_id_set; | + | UCHAR Opcode; // 0x38 |
| - | This bytecode sets the scale of the specified object.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | + | UCHAR | |
| - | |{38} Flr_set | + | } Flr_set; |
| - | typedef struct { // Ptr // Description | + | This bytecode sets the specified floor ID to the given value.++| 08-02-2024 Newly Added | |
| - | UCHAR Opcode; | + | |{39} Dir_ck |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x39 |
| - | } Flr_set; | + | UCHAR |
| - | This bytecode sets the height of the specified floor.++| | + | SHORT X; |
| - | + | SHORT Z; | |
| - | |{39} Dir_ck | + | SHORT Add; |
| - | typedef struct { // Ptr // Description | + | } Dir_ck; |
| - | UCHAR Opcode; | + | This bytecode checks the specified |
| - | UCHAR | + | |{3A} Sce_espr_on |
| - | UCHAR DirY[2]; // Y direction to check (2 bytes) | + | typedef struct { |
| - | UCHAR DirZ[2]; // Z direction to check (2 bytes) | + | UCHAR Opcode; // 0x3A |
| - | UCHAR zAlign; // Always Zero (Alignment byte) | + | UCHAR |
| - | } Dir_ck; | + | USHORT data0; |
| - | This bytecode checks the direction | + | USHORT data1; |
| - | + | USHORT data2; | |
| - | |{3A} Sce_espr_on | + | SHORT X; |
| - | typedef struct { // Ptr // Description | + | SHORT Y; |
| - | UCHAR Opcode; | + | SHORT Z; |
| - | UCHAR | + | SHORT DirY; |
| - | UCHAR PosX[2]; // X position of the effect sprite (2 bytes) | + | } Sce_espr_on; |
| - | UCHAR PosY[2]; // Y position of the effect sprite (2 bytes) | + | This bytecode |
| - | UCHAR PosZ[2]; // Z position of the effect sprite (2 bytes) | + | |{3B} Door_aot_set |
| - | UCHAR ScaleX; // X scale of the effect sprite | + | typedef struct { |
| - | UCHAR ScaleY; | + | UCHAR Opcode; // 0x3B |
| - | UCHAR Rotation; // Rotation of the effect sprite | + | UCHAR Aot; // Aot |
| - | UCHAR Alpha; // Alpha transparency of the effect sprite | + | UCHAR |
| - | UCHAR Duration[4]; // Duration of the effect sprite (4 bytes) | + | UCHAR |
| - | UCHAR zAlign[2]; | + | UCHAR |
| - | } Sce_espr_on; | + | UCHAR Super; // Super |
| - | This bytecode | + | SHORT |
| - | + | SHORT Z; // Position | |
| - | |{3B} Door_aot_set | + | USHORT W; // Size |
| - | typedef struct { | + | USHORT D; // Size */ tagSCE_AOT |
| - | UCHAR | + | SHORT Next_pos_x; |
| - | UCHAR | + | SHORT Next_pos_y; |
| - | UCHAR | + | SHORT Next_pos_z; |
| - | UCHAR | + | SHORT Next_cdir_y; |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| + | UCHAR | ||
| + | UCHAR Knock_type; | ||
| + | UCHAR Key_id; // | ||
| + | UCHAR Key_type; | ||
| + | UCHAR Free; // */ tagIN_DOOR_WORK | ||
| } Door_aot_set; | } Door_aot_set; | ||
| - | This bytecode sets the properties of the specified door, including position, rotation, and lock status.++| 08-02-2024 Newly Added | | + | This bytecode sets the specified door AOT parameters.++| 08-02-2024 Newly Added | |
| - | + | |{3C} Cut_auto | |
| - | |{3C} Cut_auto | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x3C |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | } Cut_auto; |
| - | } Cut_auto; | + | This bytecode |
| - | This bytecode | + | |{3D} Member_copy |
| - | + | typedef struct { | |
| - | |{3D} Member_copy | + | UCHAR Opcode; // 0x3D |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | } Member_copy; |
| - | UCHAR | + | This bytecode copies the specified member parameters |
| - | } Member_copy; | + | |{3E} Member_cmp |
| - | This bytecode copies the properties | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x3E | |
| - | |{3E} Member_cmp | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR Operator; // Comparison operator |
| - | UCHAR | + | SHORT Value; // Value to compare |
| - | UCHAR | + | } Member_cmp; |
| - | USHORT Value; // Value to compare against | + | This bytecode compares the specified member |
| - | UCHAR ComparisonType; // Type of comparison (e.g., equal, not equal) | + | |{3F} Plc_motion |
| - | } Member_cmp; | + | typedef struct { |
| - | This bytecode compares the specified | + | UCHAR Opcode; // 0x3F |
| - | + | UCHAR MotionId; // EDD/EMR Id | |
| - | |{3F} Plc_motion | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | } Plc_motion; |
| - | UCHAR MotionId; | + | This bytecode sets the specified motion |
| - | UCHAR | + | |{40} Plc_dest |
| - | UCHAR | + | typedef struct { |
| - | } Plc_motion; | + | UCHAR Opcode; // 0x40 |
| - | This bytecode sets the specified motion | + | UCHAR |
| - | + | UCHAR | |
| - | |{40} Plc_dest | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | SHORT X; // Destination |
| - | UCHAR Opcode; | + | SHORT Z; // Destination |
| - | UCHAR | + | } Plc_dest; |
| - | UCHAR | + | This bytecode sets the specified |
| - | UCHAR | + | |{41} Plc_neck |
| - | UCHAR zAlign; // Always Zero (Alignment byte) | + | typedef struct { |
| - | } Plc_dest; | + | UCHAR Opcode; // 0x41 |
| - | This bytecode sets the destination | + | UCHAR |
| - | + | SHORT X; // | |
| - | |{41} Plc_neck | + | SHORT Y; // |
| - | typedef struct { // Ptr // Description | + | SHORT Z; // |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR PosX[2]; | + | } Plc_neck; |
| - | UCHAR PosY[2]; | + | This bytecode sets the specified neck parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR PosZ[2]; | + | |{42} Plc_ret |
| - | UCHAR | + | typedef struct { |
| - | UCHAR RotationY; | + | UCHAR Opcode; // 0x42 |
| - | UCHAR | + | } Plc_ret; |
| - | UCHAR zAlign[4]; | + | This bytecode returns from the specified plc function.++| 08-02-2024 Newly Added | |
| - | } Plc_neck; | + | |{43} Plc_flg |
| - | This bytecode sets the specified neck motion with the given position and rotation properties.++| 08-02-2024 Newly Added | | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x43 | |
| - | |{42} Plc_ret | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | } Plc_ret; | + | |
| - | This bytecode returns | + | |
| - | + | ||
| - | |{43} Plc_flg | + | |
| - | typedef struct { // Ptr // Description | + | |
| - | UCHAR Opcode; | + | |
| - | UCHAR | + | |
| - | UCHAR | + | |
| - | UCHAR | + | |
| } Plc_flg; | } Plc_flg; | ||
| - | This bytecode sets the specified flag to the given value.++| 08-02-2024 Newly Added | | + | This bytecode sets the specified flag parameters.++| 08-02-2024 Newly Added | |
| - | + | |{44} Sce_em_set | |
| - | |{44} Sce_em_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x44 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | CHAR Em_no; // Em_no |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | USHORT Type; // Type |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR RotationZ; | + | UCHAR |
| - | UCHAR Speed; | + | SHORT Pos_x; // Position X |
| - | UCHAR Health; // Health value | + | SHORT Pos_y; // Position |
| - | UCHAR zAlign[8]; | + | SHORT Pos_z; // Position |
| - | } Sce_em_set; | + | SHORT Cdir_y; // Rotation Y |
| - | This bytecode sets the specified enemy or entity with the given position, rotation, speed, and health properties.++| 08-02-2024 Newly Added | | + | SHORT Motion; // Motion |
| - | + | SHORT Ctr_flg; // Ctr_flg | |
| - | |{45} Col_chg_set | + | } Sce_em_set; |
| - | typedef struct { // Ptr // Description | + | This bytecode sets the specified enemy parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR Opcode; | + | |{45} Col_chg_set |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x45 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Col_chg_set; | + | UCHAR |
| - | This bytecode sets the specified color change properties.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | + | } Col_chg_set; | |
| - | |{46} Aot_reset | + | This bytecode sets the specified color parameters.++| 08-02-2024 Newly Added | |
| - | typedef struct { | + | |{46} Aot_reset |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x46 |
| - | UCHAR zAlign[11]; // Always Zero (Alignment bytes) | + | CHAR Aot; // Aot |
| - | } Aot_reset; | + | UCHAR |
| - | This bytecode resets the specified AOT to its default state.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | + | SHORT Data0; // Data0 | |
| - | |{47} Aot_on | + | SHORT Data1; // Data1 |
| - | typedef struct { // Ptr // Description | + | SHORT Data2; // Data2 |
| - | UCHAR Opcode; | + | } Aot_reset; |
| - | UCHAR AotId; | + | This bytecode resets the specified AOT parameters.++| 08-02-2024 Newly Added | |
| - | } Aot_on; | + | |{47} Aot_on |
| - | This bytecode | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x47 | |
| - | |{48} Super_set | + | CHAR Aot; // Aot |
| - | typedef struct { // Ptr // Description | + | } Aot_on; |
| - | UCHAR Opcode; | + | This bytecode |
| - | UCHAR | + | |{48} Super_set |
| - | UCHAR PosX[2]; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x48 |
| - | UCHAR | + | UCHAR |
| - | UCHAR ScaleX; // X scale | + | UCHAR |
| - | UCHAR ScaleY; // Y scale | + | UCHAR |
| - | UCHAR Rotation; // Rotation value | + | SHORT pX; // Parent |
| - | UCHAR Alpha; | + | SHORT pY; // Parent |
| - | UCHAR Duration[4]; | + | SHORT pZ; // Parent Z |
| - | UCHAR zAlign[2]; | + | SHORT dX; // Destination X |
| - | } Super_set; | + | SHORT dY; // Destination Y |
| - | This bytecode sets the specified super effect with the given properties.++| 08-02-2024 Newly Added | | + | SHORT dZ; // Destination Z |
| - | + | } Super_set; | |
| - | |{49} Super_reset | + | This bytecode sets the specified super parameters.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{49} Super_reset |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x49 |
| - | UCHAR zAlign[7]; | + | UCHAR |
| - | } Super_reset; | + | SHORT dX; // Destination X |
| - | This bytecode resets the specified super effect to its default state.++| 08-02-2024 Newly Added | | + | SHORT dY; // Destination Y |
| - | + | SHORT dZ; // Destination Z | |
| - | |{4A} Plc_gun | + | } Super_reset; |
| - | typedef struct { // Ptr // Description | + | This bytecode resets the specified super parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR Opcode; | + | |{4A} Plc_gun |
| - | UCHAR GunId; | + | typedef struct { |
| - | } Plc_gun; | + | UCHAR Opcode; // 0x4A |
| - | This bytecode | + | UCHAR GunId; // ID of the gun to set |
| - | + | } Plc_gun; | |
| - | |{4B} Cut_replace | + | This bytecode |
| - | typedef struct { // Ptr // Description | + | |{4B} Cut_replace |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x4B |
| - | UCHAR | + | UCHAR |
| - | } Cut_replace; | + | UCHAR |
| - | This bytecode replaces the specified cutscene | + | } Cut_replace; |
| - | + | This bytecode replaces the specified cutscene | |
| - | |{4C} Sce_espr_kill | + | |{4C} Sce_espr_kill |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x4C |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR PosY[2]; | + | CHAR WorkKind; // Get_matrix() argv[0] |
| - | UCHAR PosZ[2]; | + | CHAR WorkNo; // Get_matrix() argv[1] |
| - | } Sce_espr_kill; | + | } Sce_espr_kill; |
| - | This bytecode kills the specified | + | This bytecode kills the specified |
| - | + | |{4D} Door_model_set | |
| - | |{4D} Door_model_set | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x4D |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | USHORT data6; // data6 |
| - | UCHAR RotationY; | + | SHORT X; // DOOR_WORK.Atd[3] |
| - | UCHAR RotationZ; | + | SHORT Y; // DOOR_WORK.Atd[3] |
| - | UCHAR ScaleX; // X scale of the door model | + | SHORT Z; // DOOR_WORK.Atd[3] |
| - | UCHAR ScaleY; // Y scale of the door model | + | SHORT DirY; // DOOR_WORK.Atd[3] |
| - | UCHAR zAlign[12]; // Always Zero (Alignment bytes) | + | USHORT data10; // DOOR_WORK.MATRIX |
| - | } Door_model_set; | + | USHORT data11; // DOOR_WORK.MATRIX |
| - | This bytecode sets the properties of the specified door model with position, rotation, and scale values.++| 08-02-2024 Newly Added | | + | USHORT data12; // DOOR_WORK.MATRIX |
| - | + | } Door_model_set; | |
| - | |{4E} Item_aot_set | + | This bytecode sets the specified door model parameters.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{4E} Item_aot_set |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x4E |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR RotationY; | + | UCHAR |
| - | UCHAR RotationZ; | + | SHORT X; // X |
| - | UCHAR ScaleX; // X scale of the item | + | SHORT Z; // Z |
| - | UCHAR | + | USHORT W; // W |
| - | UCHAR | + | USHORT D; // D |
| - | } Item_aot_set; | + | USHORT iItem; // iItem |
| - | This bytecode sets the properties of the specified item with position, rotation, and scale values.++| 08-02-2024 Newly Added | | + | USHORT nItem; // nItem |
| - | + | USHORT Flag; // Flag | |
| - | |{4F} Sce_key_ck | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | } Item_aot_set; |
| - | UCHAR | + | This bytecode sets the specified item AOT parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR zAlign[2]; | + | |{4F} Sce_key_ck |
| - | USHORT | + | typedef struct { |
| - | } Sce_key_ck; | + | UCHAR Opcode; // 0x4F |
| - | This bytecode checks | + | UCHAR |
| - | + | USHORT | |
| - | |{50} Sce_trg_ck | + | } Sce_key_ck; |
| - | typedef struct { // Ptr // Description | + | This bytecode checks the specified key parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR Opcode; | + | |{50} Sce_trg_ck |
| - | UCHAR | + | typedef struct { |
| - | UCHAR zAlign[2]; | + | UCHAR Opcode; // 0x50 |
| - | USHORT | + | UCHAR |
| - | } Sce_trg_ck; | + | USHORT |
| - | This bytecode checks | + | } Sce_trg_ck; |
| - | + | This bytecode checks the specified trigger | |
| - | |{51} Sce_bgm_control | + | |{51} Sce_bgm_control |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x51 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Sce_bgm_control; | + | } Sce_bgm_control; |
| - | This bytecode controls | + | This bytecode controls the specified |
| - | + | |{52} Sce_espr_control | |
| - | |{52} Sce_espr_control | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x52 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | CHAR WorkKind; // WorkKind |
| - | UCHAR PosY[2]; | + | CHAR WorkNo; // WorkNo |
| - | UCHAR PosZ[2]; | + | } Sce_espr_control; |
| - | } Sce_espr_control; | + | This bytecode controls the specified |
| - | This bytecode controls the specified | + | |{53} Sce_fade_set |
| - | + | typedef struct { | |
| - | |{53} Sce_fade_set | + | UCHAR Opcode; // 0x53 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | USHORT data3; // data3 |
| - | UCHAR | + | } Sce_fade_set; |
| - | UCHAR Duration; // Duration of the fade effect | + | This bytecode sets the specified fade parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR Color; | + | |{54} Sce_espr3d_on |
| - | } Sce_fade_set; | + | typedef struct { |
| - | This bytecode sets the properties of the specified fade effect with start intensity, end intensity, duration, and color values.++| 08-02-2024 Newly Added | | + | UCHAR Opcode; // 0x54 |
| - | + | UCHAR | |
| - | |{54} Sce_espr3d_on | + | USHORT data0; // data0 |
| - | typedef struct { // Ptr // Description | + | USHORT data1; // data1 |
| - | UCHAR Opcode; | + | USHORT data2; // data2 |
| - | UCHAR | + | SHORT X; // X |
| - | UCHAR PosX[2]; | + | SHORT Y; // Y |
| - | UCHAR PosY[2]; | + | SHORT Z; // Z |
| - | UCHAR PosZ[2]; | + | SHORT DirX; // DirX |
| - | UCHAR RotationX; | + | SHORT DirY; // DirY |
| - | UCHAR RotationY; | + | SHORT DirZ; // DirZ |
| - | UCHAR RotationZ; | + | SHORT data3; // data3 |
| - | UCHAR ScaleX; // X scale of the 3D effect sprite | + | } Sce_espr3d_on; |
| - | UCHAR ScaleY; // Y scale of the 3D effect sprite | + | This bytecode |
| - | UCHAR zAlign[12]; // Always Zero (Alignment bytes) | + | |{55} Member_calc |
| - | } Sce_espr3d_on; | + | typedef struct { |
| - | This bytecode | + | UCHAR Opcode; // 0x55 |
| - | + | UCHAR | |
| - | |{55} Member_calc | + | USHORT Flag; // Flag |
| - | typedef struct { // Ptr // Description | + | SHORT Value; // Value |
| - | UCHAR Opcode; | + | } Member_calc; |
| - | UCHAR | + | This bytecode performs the specified arithmetic operation on the member |
| - | UCHAR Operand1; // First operand index | + | |{56} Member_calc2 |
| - | UCHAR Operand2; | + | typedef struct { |
| - | UCHAR Result; // Result index | + | UCHAR Opcode; // 0x56 |
| - | UCHAR zAlign; | + | UCHAR |
| - | } Member_calc; | + | UCHAR |
| - | This bytecode performs the specified arithmetic operation on the operands and stores the result in a member.++| | + | UCHAR |
| - | + | } Member_calc2; | |
| - | |{56} Member_calc2 | + | This bytecode performs the specified arithmetic operation on the member with the given value.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{57} Sce_bgmtbl_set |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x57 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR zAlign; | + | UCHAR |
| - | } Member_calc2; | + | USHORT data1; // data1 |
| - | This bytecode performs the specified arithmetic operation on the operand and stores | + | USHORT data2; // data2 |
| - | + | } Sce_bgmtbl_set; | |
| - | |{57} Sce_bgmtbl_set | + | This bytecode sets the specified |
| - | typedef struct { // Ptr // Description | + | |{58} Plc_rot |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x58 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | USHORT Sce_free0; // Sce_free0 |
| - | UCHAR Loop; // Loop flag (0 = no loop, 1 = loop) | + | |
| - | UCHAR FadeIn; | + | |
| - | UCHAR FadeOut; // Fade-out duration | + | |
| - | UCHAR zAlign; | + | |
| - | } Sce_bgmtbl_set; | + | |
| - | This bytecode sets the properties of the specified | + | |
| - | + | ||
| - | |{58} Plc_rot | + | |
| - | typedef struct { // Ptr // Description | + | |
| - | UCHAR Opcode; | + | |
| - | UCHAR | + | |
| - | UCHAR RotationY; | + | |
| - | UCHAR RotationZ; | + | |
| - | UCHAR zAlign; | + | |
| } Plc_rot; | } Plc_rot; | ||
| - | This bytecode sets the rotation | + | |
| - | + | This bytecode sets the specified | |
| - | |{59} Xa_on | 04 |++59 ?? ?? ?? ??++|\\ | + | |{59} Xa_on | 04 |++59 ?? ?? ?? ++|\\ |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x59 |
| - | UCHAR | + | UCHAR |
| - | UCHAR Volume; | + | USHORT Number; // Number |
| - | UCHAR Loop; // Loop flag (0 = no loop, 1 = loop) | + | } Xa_on; |
| - | UCHAR zAlign; | + | This bytecode |
| - | } Xa_on; | + | |{5A} Weapon_chg |
| - | This bytecode | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x5A | |
| - | |{5A} Weapon_chg | + | UCHAR WeaponId; // ID of the weapon to change |
| - | typedef struct { // Ptr // Description | + | } Weapon_chg; |
| - | UCHAR Opcode; | + | This bytecode changes the specified weapon |
| - | UCHAR WeaponId; | + | |{5B} Plc_cnt |
| - | } Weapon_chg; | + | typedef struct { |
| - | This bytecode changes | + | UCHAR Opcode; // 0x5B |
| - | + | UCHAR | |
| - | |{5B} Plc_cnt | + | } Plc_cnt; |
| - | typedef struct { // Ptr // Description | + | This bytecode |
| - | UCHAR Opcode; | + | |{5C} Sce_shake_on |
| - | UCHAR | + | typedef struct { |
| - | } Plc_cnt; | + | UCHAR Opcode; // 0x5C |
| - | This bytecode | + | CHAR Slide_ofs; // Slide_ofs |
| - | + | CHAR Copy_ofs; // Copy_ofs | |
| - | |{5C} Sce_shake_on | + | } Sce_shake_on; |
| - | typedef struct { // Ptr // Description | + | This bytecode |
| - | UCHAR Opcode; | + | |{5D} Mizu_div_set |
| - | UCHAR Intensity; | + | typedef struct { |
| - | UCHAR Duration; // Duration of the shake effect | + | UCHAR Opcode; // 0x5D |
| - | UCHAR Frequency; | + | UCHAR |
| - | } Sce_shake_on; | + | |
| - | This bytecode | + | |
| - | + | ||
| - | |{5D} Mizu_div_set | + | |
| - | typedef struct { // Ptr // Description | + | |
| - | UCHAR Opcode; | + | |
| - | UCHAR | + | |
| } Mizu_div_set; | } Mizu_div_set; | ||
| - | This bytecode sets the division factor for water effects.++| 08-02-2024 Newly Added | | + | This bytecode sets the specified |
| - | + | |{5E} Keep_Item_ck | |
| - | |{5E} Keep_Item_ck | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x5E |
| - | UCHAR Opcode; | + | UCHAR ItemId; // ID of the item to check |
| - | UCHAR ItemId; | + | } Keep_Item_ck; |
| - | } Keep_Item_ck; | + | This bytecode checks the specified item parameters.++| 08-02-2024 Newly Added | |
| - | This bytecode checks | + | |{5F} Xa_vol |
| - | + | typedef struct { | |
| - | |{5F} Xa_vol | + | UCHAR Opcode; // 0x5F |
| - | typedef struct { // Ptr // Description | + | UCHAR Volume; // XA volume |
| - | UCHAR Opcode; | + | } Xa_vol; |
| - | UCHAR Volume; | + | This bytecode sets the specified XA volume |
| - | } Xa_vol; | + | |{60} Kage_set |
| - | This bytecode sets the volume | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x60 | |
| - | |{60} Kage_set | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | CHAR Id; // Id |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR PosX[2]; | + | UCHAR |
| - | UCHAR | + | USHORT Data3; // Data3 |
| - | UCHAR | + | USHORT Data4; // Data4 |
| - | UCHAR | + | USHORT Data5; // Data5 |
| - | UCHAR ScaleY; // Y scale of the shadow effect | + | USHORT Data6; // Data6 |
| - | UCHAR Rotation; // Rotation of the shadow effect | + | } Kage_set; |
| - | UCHAR Alpha; | + | This bytecode sets the specified shadow |
| - | UCHAR Duration[4]; // Duration of the shadow effect (4 bytes) | + | |{61} Cut_be_set |
| - | UCHAR zAlign[2]; | + | typedef struct { |
| - | } Kage_set; | + | UCHAR Opcode; // 0x61 |
| - | This bytecode sets the properties of the specified shadow | + | UCHAR |
| - | + | UCHAR | |
| - | |{61} Cut_be_set | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | } Cut_be_set; |
| - | UCHAR Opcode; | + | This bytecode sets the specified cutscene |
| - | UCHAR | + | |{62} Sce_Item_lost |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x62 |
| - | UCHAR zAlign; | + | UCHAR ItemId; // ID of the lost item |
| - | } Cut_be_set; | + | } Sce_Item_lost; |
| - | This bytecode sets the properties of the specified cutscene | + | This bytecode removes the specified item from the inventory.++| |
| - | + | |{63} Plc_gun_eff | |
| - | |{62} Sce_Item_lost | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x63 |
| - | UCHAR Opcode; | + | } Plc_gun_eff; |
| - | UCHAR ItemId; | + | This bytecode |
| - | } Sce_Item_lost; | + | |{64} Sce_espr_on2 |
| - | This bytecode removes the specified item from the player' | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x64 | |
| - | |{63} Plc_gun_eff | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | USHORT data1; // data1 |
| - | UCHAR Opcode; | + | UCHAR |
| - | } Plc_gun_eff; | + | UCHAR |
| - | This bytecode | + | USHORT data3; // data3 |
| - | + | SHORT X; // X | |
| - | |{64} Sce_espr_on2 | + | SHORT Y; // Y |
| - | typedef struct { // Ptr // Description | + | SHORT Z; // Z |
| - | UCHAR Opcode; | + | USHORT DirY; // DirY |
| - | UCHAR | + | } Sce_espr_on2; |
| - | UCHAR PosX[2]; | + | This bytecode |
| - | UCHAR | + | |{65} Sce_espr_kill2 |
| - | UCHAR | + | typedef struct { |
| - | UCHAR ScaleX; // X scale of the effect sprite | + | UCHAR Opcode; // 0x65 |
| - | UCHAR ScaleY; // Y scale of the effect sprite | + | UCHAR EsprId; // ID of the effect sprite to kill |
| - | UCHAR Rotation; // Rotation of the effect sprite | + | } Sce_espr_kill2; |
| - | UCHAR Alpha; | + | This bytecode kills the specified |
| - | UCHAR Duration[4]; // Duration of the effect sprite (4 bytes) | + | |{66} Plc_stop |
| - | UCHAR zAlign[2]; | + | typedef struct { |
| - | } Sce_espr_on2; | + | UCHAR Opcode; // 0x66 |
| - | This bytecode | + | } Plc_stop; |
| - | + | This bytecode stops the specified plc function.++| 08-02-2024 Newly Added | | |
| - | |{65} Sce_espr_kill2 | + | |{67} Aot_set_4p |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x67 |
| - | UCHAR EsprId; | + | UCHAR |
| - | } Sce_espr_kill2; | + | UCHAR |
| - | This bytecode kills the specified | + | UCHAR |
| - | + | UCHAR | |
| - | |{66} Plc_stop | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | SHORT X0; // X0 |
| - | UCHAR Opcode; | + | SHORT Z0; // Z0 |
| - | } Plc_stop; | + | SHORT X1; // X1 |
| - | This bytecode stops the current action or motion.++| 08-02-2024 Newly Added | | + | SHORT Z1; // Z1 |
| - | + | SHORT X2; // X2 | |
| - | |{67} Aot_set_4p | + | SHORT Z2; // Z2 |
| - | typedef struct { // Ptr // Description | + | SHORT X3; // X3 |
| - | UCHAR Opcode; | + | 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 |
| - | UCHAR RotationY; | + | |{68} Door_aot_set_4p |
| - | UCHAR RotationZ; | + | typedef struct { |
| - | UCHAR ScaleX; // X scale of the AOT | + | UCHAR Opcode; // 0x68 |
| - | UCHAR ScaleY; // Y scale of the AOT | + | UCHAR Aot; // Aot |
| - | UCHAR zAlign[16]; // Always Zero (Alignment bytes) | + | UCHAR |
| - | } Aot_set_4p; | + | UCHAR |
| - | This bytecode sets the properties of the specified AOT (Animation Object) with position, rotation, and scale values.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | + | UCHAR | |
| - | |{68} Door_aot_set_4p | + | SHORT X0; // X0 |
| - | typedef struct { | + | SHORT Z0; // Z0 |
| - | UCHAR | + | SHORT X1; // X1 |
| - | UCHAR | + | 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 | + | SHORT Next_pos_y; |
| - | UCHAR | + | SHORT Next_pos_z; |
| - | UCHAR | + | SHORT Next_cdir_y; |
| - | UCHAR | + | UCHAR |
| - | } Door_aot_set_4p; | + | UCHAR |
| - | This bytecode sets the properties of the specified door with position, rotation, and scale values.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | + | UCHAR | |
| - | |{69} Item_aot_set_4p | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR Key_id; // Key_id |
| - | UCHAR | + | UCHAR Key_type; |
| - | UCHAR | + | UCHAR Free; // Free |
| - | UCHAR | + | } Door_aot_set_4p; |
| - | UCHAR | + | This bytecode sets the specified |
| - | UCHAR RotationY; | + | |{69} Item_aot_set_4p |
| - | UCHAR RotationZ; | + | typedef struct { |
| - | UCHAR ScaleX; // X scale of the item | + | UCHAR Opcode; // 0x69 |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | } Item_aot_set_4p; | + | UCHAR |
| - | This bytecode sets the properties of the specified item with position, rotation, and scale values.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | + | UCHAR | |
| - | |{6A} Light_pos_set | + | SHORT X0; // X0 |
| - | typedef struct { // Ptr // Description | + | SHORT Z0; // Z0 |
| - | UCHAR Opcode; | + | SHORT X1; // X1 |
| - | UCHAR | + | SHORT Z1; // Z1 |
| - | UCHAR | + | SHORT X2; // X2 |
| - | UCHAR | + | SHORT Z2; // Z2 |
| - | } Light_pos_set; | + | SHORT X3; // X3 |
| - | This bytecode sets the position of the specified light in 3D space.++| 08-02-2024 Newly Added | | + | SHORT Z3; // Z3 |
| - | + | USHORT iItem; // iItem | |
| - | |{6B} Light_kido_set | + | USHORT nItem; // nItem |
| - | typedef struct { // Ptr // Description | + | USHORT Flag; // Flag |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR Range; | + | } Item_aot_set_4p; |
| - | UCHAR Color; | + | This bytecode sets the specified |
| - | UCHAR zAlign; | + | |{6A} Light_pos_set |
| - | } Light_kido_set; | + | typedef struct { |
| - | This bytecode sets the intensity, range, | + | UCHAR Opcode; // 0x6A |
| - | + | UCHAR | |
| - | |{6C} Rbj_reset | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | SHORT Position; |
| - | } Rbj_reset; | + | } Light_pos_set; |
| - | This bytecode resets the RBJ (Resident Biohazard Jump) system to its default state.++| 08-02-2024 Newly Added | | + | This bytecode sets the specified light position parameters.++| 08-02-2024 Newly Added | |
| - | + | |{6B} Light_kido_set | |
| - | |{6D} Sce_scr_move | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x6B |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | SHORT Luminosity; // Luminosity |
| - | UCHAR PosY[2]; // Y position of the screen (2 bytes) | + | } Light_kido_set; |
| - | UCHAR zAlign; | + | This bytecode sets the specified light intensity and color parameters.++| 08-02-2024 Newly Added | |
| - | } Sce_scr_move; | + | |{6C} Rbj_reset |
| - | This bytecode moves the screen | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x6C | |
| - | |{6E} Parts_set | + | } Rbj_reset; |
| - | typedef struct { // Ptr // Description | + | This bytecode resets the specified rbj parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR Opcode; | + | |{6D} Sce_scr_move |
| - | UCHAR | + | typedef struct { |
| - | UCHAR PosX[2]; | + | UCHAR Opcode; // 0x6D |
| - | UCHAR PosY[2]; | + | UCHAR |
| - | UCHAR PosZ[2]; | + | SHORT Scrl_y; // Scrl_y |
| - | } Parts_set; | + | } Sce_scr_move; |
| - | This bytecode sets the properties of the specified | + | This bytecode moves the specified |
| - | + | |{6E} Parts_set | |
| - | |{6F} Movie_on | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x6E |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR MovieId; | + | CHAR Id; // Id |
| - | } Movie_on; | + | CHAR Type; // Type |
| + | SHORT Value; // Value | ||
| + | } Parts_set; | ||
| + | This bytecode sets the specified | ||
| + | |{6F} Movie_on | ||
| + | typedef struct { | ||
| + | UCHAR Opcode; // 0x6F | ||
| + | UCHAR MovieId; // ID of the movie | ||
| + | } Movie_on; | ||
| This bytecode plays the specified movie.++| | This bytecode plays the specified movie.++| | ||
| - | + | |{70} Splc_ret | |
| - | |{70} Splc_ret | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x70 |
| - | UCHAR Opcode; | + | } Splc_ret; |
| - | } Splc_ret; | + | This bytecode returns from the specified splc function.++| 08-02-2024 Newly Added | |
| - | This bytecode returns from the current script location.++| 08-02-2024 Newly Added | | + | |{71} Splc_sce |
| - | + | typedef struct { | |
| - | |{71} Splc_sce | + | UCHAR Opcode; // 0x71 |
| - | typedef struct { // Ptr // Description | + | } Splc_sce; |
| - | UCHAR Opcode; | + | This bytecode sets the specified |
| - | } Splc_sce; | + | |{72} Super_on |
| - | This bytecode sets the specified | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x72 | |
| - | |{72} Super_on | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | SHORT data2; // data2 |
| - | UCHAR | + | SHORT data3; // data3 |
| - | UCHAR | + | SHORT data4; // data4 |
| - | UCHAR PosZ[2]; | + | SHORT data5; // data5 |
| - | UCHAR ScaleX; // X scale of the super effect | + | SHORT data6; // data6 |
| - | UCHAR ScaleY; // Y scale of the super effect | + | SHORT data7; // data7 |
| - | UCHAR Rotation; // Rotation of the super effect | + | } Super_on; |
| - | UCHAR Alpha; | + | This bytecode |
| - | UCHAR Duration[4]; // Duration of the super effect (4 bytes) | + | |{73} Mirror_set |
| - | UCHAR zAlign[2]; | + | typedef struct { |
| - | } Super_on; | + | UCHAR Opcode; // 0x73 |
| - | This bytecode | + | UCHAR |
| - | + | USHORT Position; // Position | |
| - | |{73} Mirror_set | + | USHORT Min; // Min |
| - | typedef struct { // Ptr // Description | + | USHORT Max; // Max |
| - | UCHAR Opcode; | + | } Mirror_set; |
| - | UCHAR | + | This bytecode sets the specified mirror position |
| - | UCHAR PosY[2]; | + | |{74} Sce_fade_adjust |
| - | UCHAR PosZ[2]; // Z position of the mirror (2 bytes) | + | typedef struct { |
| - | UCHAR ScaleX; | + | UCHAR Opcode; // 0x74 |
| - | UCHAR ScaleY; // Y scale of the mirror | + | UCHAR |
| - | UCHAR Rotation; | + | SHORT data1; // data1 |
| - | } Mirror_set; | + | } Sce_fade_adjust; |
| - | This bytecode sets the properties of the specified mirror | + | This bytecode adjusts the specified fade parameters.++| 08-02-2024 Newly Added | |
| - | + | |{75} Sce_espr3d_on2 | |
| - | |{74} Sce_fade_adjust | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x75 |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | USHORT bit; // bit |
| - | UCHAR Adjustment; // Adjustment value for the fade effect | + | USHORT data4; // data4 |
| - | UCHAR zAlign[2]; | + | USHORT data6; // data6 |
| - | } Sce_fade_adjust; | + | USHORT data8; // data8 |
| - | This bytecode adjusts | + | USHORT dataA; // dataA |
| - | + | USHORT dataC; // dataC | |
| - | |{75} Sce_espr3d_on2 | + | USHORT dataE; // dataE |
| - | typedef struct { // Ptr // Description | + | USHORT data10; // data10 |
| - | UCHAR Opcode; | + | USHORT data12; // data12 |
| - | UCHAR | + | USHORT data14; // data14 |
| - | UCHAR PosX[2]; | + | } Sce_espr3d_on2; |
| - | UCHAR PosY[2]; | + | This bytecode |
| - | UCHAR PosZ[2]; | + | |{76} Sce_Item_get |
| - | UCHAR RotationX; | + | typedef struct { |
| - | UCHAR RotationY; | + | UCHAR Opcode; // 0x76 |
| - | UCHAR RotationZ; | + | UCHAR |
| - | UCHAR ScaleX; // X scale of the 3D effect sprite | + | UCHAR |
| - | UCHAR ScaleY; // Y scale of the 3D effect sprite | + | } Sce_Item_get; |
| - | UCHAR zAlign[12]; // Always Zero (Alignment bytes) | + | This bytecode |
| - | } Sce_espr3d_on2; | + | |{77} Sce_line_start |
| - | This bytecode | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x77 | |
| - | |{76} Sce_Item_get | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | USHORT Value; // Value |
| - | UCHAR Opcode; | + | } Sce_line_start; |
| - | UCHAR | + | This bytecode starts the specified line with the given parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR | + | |{78} Sce_line_main |
| - | } Sce_Item_get; | + | typedef struct { |
| - | This bytecode | + | UCHAR Opcode; // 0x78 |
| - | + | UCHAR | |
| - | |{77} Sce_line_start | + | SHORT Data0; // Data0 |
| - | typedef struct { // Ptr // Description | + | SHORT Data1; // Data1 |
| - | UCHAR Opcode; | + | } Sce_line_main; |
| - | UCHAR | + | This bytecode sets the specified line parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR zAlign[2]; // Always Zero (Alignment bytes) | + | |{79} Sce_line_end |
| - | UCHAR Duration; | + | typedef struct { |
| - | } Sce_line_start; | + | UCHAR Opcode; // 0x79 |
| - | This bytecode starts the specified line with the given duration.++| 08-02-2024 Newly Added | | + | } Sce_line_end; |
| - | + | ||
| - | |{78} Sce_line_main | + | |
| - | typedef struct { // Ptr // Description | + | |
| - | UCHAR Opcode; | + | |
| - | UCHAR | + | |
| - | UCHAR PosX[2]; | + | |
| - | UCHAR PosY[2]; // Y position of the line (2 bytes) | + | |
| - | UCHAR zAlign[2]; | + | |
| - | } Sce_line_main; | + | |
| - | This bytecode sets the main properties of the specified line with position values.++| 08-02-2024 Newly Added | | + | |
| - | + | ||
| - | |{79} Sce_line_end | + | |
| - | typedef struct { // Ptr // Description | + | |
| - | UCHAR Opcode; | + | |
| - | } Sce_line_end; | + | |
| This bytecode ends the specified line.++| | This bytecode ends the specified line.++| | ||
| - | + | |{7A} Sce_parts_bomb | |
| - | |{7A} Sce_parts_bomb | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x7A |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | UCHAR |
| - | UCHAR | + | SHORT data6; // data6 |
| - | UCHAR ScaleY; // Y scale of the bomb | + | SHORT data8; // data8 |
| - | UCHAR Rotation; // Rotation of the bomb | + | SHORT dataA; // dataA |
| - | UCHAR Alpha; | + | SHORT dataC; // dataC |
| - | UCHAR Duration[4]; | + | SHORT dataE; // dataE |
| - | UCHAR zAlign[2]; | + | } Sce_parts_bomb; |
| - | } Sce_parts_bomb; | + | This bytecode |
| - | This bytecode | + | |{7B} Sce_parts_down |
| - | + | typedef struct { | |
| - | |{7B} Sce_parts_down | + | UCHAR Opcode; // 0x7B |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | SHORT X; // X |
| - | UCHAR | + | SHORT Y; // Y |
| - | UCHAR PosX[2]; | + | SHORT Z; // Z |
| - | UCHAR PosY[2]; | + | SHORT cDirZ; // cDirZ |
| - | UCHAR PosZ[2]; | + | SHORT DirX; // DirX |
| - | UCHAR ScaleX; // X scale of the part | + | SHORT DirY; // DirY |
| - | UCHAR ScaleY; // Y scale of the part | + | SHORT DirZ; // DirZ |
| - | UCHAR Rotation; // Rotation of the part | + | } Sce_parts_down; |
| - | UCHAR Alpha; | + | This bytecode |
| - | UCHAR Duration[4]; // Duration of the part (4 bytes) | + | |{7C} Light_color_set |
| - | UCHAR zAlign[2]; | + | typedef struct { |
| - | } Sce_parts_down; | + | UCHAR Opcode; // 0x7C |
| - | This bytecode | + | UCHAR |
| - | + | UCHAR | |
| - | |{7C} Light_color_set | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR zAlign; // zAlign |
| - | UCHAR | + | } Light_color_set; |
| - | UCHAR | + | This bytecode sets the specified light color parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR | + | |{7D} Light_pos_set2 |
| - | UCHAR | + | typedef struct { |
| - | UCHAR zAlign; | + | UCHAR Opcode; // 0x7D |
| - | } Light_color_set; | + | UCHAR |
| - | This bytecode sets the color and intensity of the specified light.++| | + | UCHAR |
| - | + | UCHAR | |
| - | |{7D} Light_pos_set2 | + | SHORT Position; |
| - | typedef struct { // Ptr // Description | + | } Light_pos_set2; |
| - | UCHAR Opcode; | + | This bytecode sets the specified light position parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR | + | |{7E} Light_kido_set2 |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x7E |
| - | } Light_pos_set2; | + | UCHAR |
| - | This bytecode sets the position of the specified light in 3D space.++| 08-02-2024 Newly Added | | + | UCHAR |
| - | + | UCHAR | |
| - | |{7E} Light_kido_set2 | + | USHORT Luminosity; // Luminosity |
| - | typedef struct { // Ptr // Description | + | } Light_kido_set2; |
| - | UCHAR Opcode; | + | This bytecode sets the specified light intensity and color parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR | + | |{7F} Light_color_set2 |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x7F |
| - | UCHAR zAlign[2]; | + | UCHAR |
| - | } Light_kido_set2; | + | UCHAR |
| - | This bytecode sets the intensity, range, | + | UCHAR |
| - | + | UCHAR | |
| - | |{7F} Light_color_set2 | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | } Light_color_set2; |
| - | UCHAR Opcode; | + | This bytecode sets the specified light color parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR | + | |{80} Se_vol |
| - | UCHAR | + | typedef struct { |
| - | UCHAR | + | UCHAR Opcode; // 0x80 |
| - | UCHAR | + | UCHAR Volume; // Volume level |
| - | UCHAR | + | } Se_vol; |
| - | } Light_color_set2; | + | This bytecode sets the specified sound effect |
| - | This bytecode sets the color and intensity of the specified light.++| | + | |{81} |
| - | + | typedef struct { | |
| - | |{80} Se_vol | + | UCHAR Opcode; // 0x81 |
| - | typedef struct { // Ptr // Description | + | UCHAR ItemId; // ID of the item to check |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR Volume; | + | } Keep_Item_ck2; |
| - | } Se_vol; | + | This bytecode |
| - | This bytecode sets the volume level for the specified sound effect.++| | + | |
| - | + | ||
| - | |{81} | + | |
| - | typedef struct { // Ptr // Description | + | |
| - | UCHAR Opcode; | + | |
| - | UCHAR ItemId; | + | |
| - | UCHAR | + | |
| - | } Sce_Item_cmp; | + | |
| - | This bytecode | + | |
| |{82} Sce_espr_task | |{82} Sce_espr_task | ||
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x82 |
| - | UCHAR TaskId; // ID of the ESPR (effect sprite) task | + | CHAR WorkKind; // WorkKind |
| - | UCHAR zAlign[2]; | + | CHAR WorkNo; // WorkNo |
| - | } Sce_espr_task; | + | } Sce_espr_task; |
| - | This bytecode | + | This bytecode |
| - | + | |{83} Plc_heal | |
| - | |{83} Plc_heal | + | typedef struct { |
| - | typedef struct { // Ptr // Description | + | UCHAR Opcode; // 0x83 |
| - | UCHAR Opcode; | + | } Plc_heal; |
| - | } Plc_heal; | + | This bytecode heals the specified plc function.++| 08-02-2024 Newly Added | |
| - | This bytecode heals the player.++| 08-02-2024 Newly Added | | + | |{84} St_map_hint |
| - | + | typedef struct { | |
| - | |{84} St_map_hint | + | UCHAR Opcode; // 0x84 |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | } St_map_hint; |
| - | UCHAR | + | This bytecode |
| - | } St_map_hint; | + | |{85} Sce_em_pos_ck |
| - | This bytecode | + | typedef struct { |
| - | + | UCHAR Opcode; // 0x85 | |
| - | |{85} Sce_em_pos_ck | + | UCHAR |
| - | typedef struct { // Ptr // Description | + | UCHAR |
| - | UCHAR Opcode; | + | UCHAR |
| - | UCHAR | + | USHORT Flg; // Flg |
| - | UCHAR | + | } Sce_em_pos_ck; |
| - | UCHAR | + | This bytecode checks the specified enemy position parameters.++| 08-02-2024 Newly Added | |
| - | UCHAR zAlign[2]; | + | |{86} Poison_ck |
| - | } Sce_em_pos_ck; | + | typedef struct { |
| - | This bytecode checks | + | UCHAR Opcode; // 0x86 |
| - | + | } Poison_ck; | |
| - | |{86} Poison_ck | + | This bytecode checks the specified poison parameters.++| 08-02-2024 Newly Added | |
| - | typedef struct { // Ptr // Description | + | |{87} Poison_clr |
| - | UCHAR Opcode; | + | typedef struct { |
| - | } Poison_ck; | + | UCHAR Opcode; // 0x87 |
| - | This bytecode checks | + | } Poison_clr; |
| - | + | This bytecode clears the specified | |
| - | |{87} Poison_clr | + | |{88} Sce_Item_lost2 |
| - | typedef struct { // Ptr // Description | + | typedef struct { |
| - | UCHAR Opcode; | + | UCHAR Opcode; // 0x88 |
| - | } Poison_clr; | + | UCHAR ItemId; // ID of the item |
| - | This bytecode clears the player' | + | UCHAR |
| - | + | } Sce_Item_lost2; | |
| - | |{88} Sce_Item_lost2 | + | This bytecode removes the specified item from the inventory.++| |
| - | typedef struct { // Ptr // Description | + | |{89} Evt_next2 |
| - | UCHAR Opcode; | + | typedef struct { |
| - | UCHAR ItemId; | + | UCHAR Opcode; // 0x89 |
| - | UCHAR | + | } Evt_next2; |
| - | } Sce_Item_lost2; | + | |
| - | This bytecode removes the specified item from the player' | + | |
| - | + | ||
| - | |{89} Evt_next2 | + | |
| - | typedef struct { // Ptr // Description | + | |
| - | UCHAR Opcode; | + | |
| - | } Evt_next2; | + | |
| This bytecode moves to the next event in the sequence.++| | 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.++| | ||
| - | |{8A} Vib_set0 | ||
| - | typedef struct { // Ptr // Description | ||
| - | UCHAR Opcode; | ||
| - | UCHAR Intensity; | ||
| - | UCHAR Duration; | ||
| - | UCHAR Frequency; | ||
| - | UCHAR zAlign[3]; | ||
| - | } Vib_set0; | ||
| - | This bytecode sets the properties of the vibration effect with intensity, duration, and frequency values.++| | ||
| - | |||
| - | |{8B} Vib_set1 | ||
| - | typedef struct { // Ptr // Description | ||
| - | UCHAR Opcode; | ||
| - | UCHAR Intensity; | ||
| - | UCHAR Duration; | ||
| - | UCHAR Frequency; | ||
| - | UCHAR zAlign[3]; | ||
| - | } Vib_set1; | ||
| - | This bytecode sets the properties of the vibration effect with intensity, duration, and frequency values.++| | ||
| - | |||
| - | |{8C} Vib_fade_set | ||
| - | typedef struct { // Ptr // Description | ||
| - | UCHAR Opcode; | ||
| - | UCHAR FadeId; | ||
| - | UCHAR StartIntensity; | ||
| - | UCHAR EndIntensity; | ||
| - | UCHAR Duration; | ||
| - | UCHAR Frequency; | ||
| - | UCHAR zAlign[2]; | ||
| - | } Vib_fade_set; | ||
| - | This bytecode sets the fade effect for vibration.++| | ||
| - | |||
| - | |{8D} Item_aot_set2 | ||
| - | typedef struct { // Ptr // Description | ||
| - | UCHAR Opcode; | ||
| - | UCHAR ItemId; | ||
| - | UCHAR PosX[2]; | ||
| - | UCHAR PosY[2]; | ||
| - | UCHAR PosZ[2]; | ||
| - | UCHAR RotationX; | ||
| - | UCHAR RotationY; | ||
| - | UCHAR RotationZ; | ||
| - | UCHAR ScaleX; | ||
| - | UCHAR ScaleY; | ||
| - | UCHAR zAlign[12]; | ||
| - | } Item_aot_set2; | ||
| - | This bytecode sets the properties of the specified item with position, rotation, and scale values.++| | ||
| - | |{8E} Sce_em_set2 | ||
| - | typedef struct { // Ptr // Description | ||
| - | UCHAR Opcode; | ||
| - | UCHAR EmId; // ID of the enemy or entity | ||
| - | UCHAR PosX[2]; | ||
| - | UCHAR PosY[2]; | ||
| - | UCHAR PosZ[2]; | ||
| - | UCHAR RotationX; | ||
| - | UCHAR RotationY; | ||
| - | UCHAR RotationZ; | ||
| - | UCHAR ScaleX; | ||
| - | UCHAR ScaleY; | ||
| - | UCHAR Health; | ||
| - | UCHAR zAlign[12]; | ||
| - | } Sce_em_set2; | ||
| - | This bytecode sets the specified enemy or entity with the given position, rotation, scale, and health properties.++| | ||
re2_opcodes.1722659929.txt.gz · Last modified: 2024/08/02 21:38 by 3lric