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