User Tools

Site Tools


re2_opcodes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
re2_opcodes [2024/08/02 21:38] 3lricre2_opcodes [2024/08/04 06:23] (current) 3lric
Line 1: Line 1:
 ^  Instruction Name  ^  Length  ^  Example / Info  ^  History  ^ ^  Instruction Name  ^  Length  ^  Example / Info  ^  History  ^
-|{00}  Nop  |  01  |++00++|\\ +|{00}  Nop  |  01  |++00++|\\  
- typedef struct {         // Ptr // Description + typedef struct {   
- UCHAR Opcode;                // 0x00 + UCHAR Opcode; // 0x00 
- } Nop;+ } Nop;
 This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++|  08-02-2024 Newly Added  | This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++|  08-02-2024 Newly Added  |
- +|{01}  Evt_end  |  02  |++01 00++|\\  
-|{01}  Evt_end  |  02  |++01 00++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x01 
- UCHAR Opcode;                // 0x01 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign;                // Always Zero (Alignment byte) + } Evt_end;
- } Evt_end;+
 This bytecode ends the current Main/Sub script.++|  08-02-2024 Newly Added  | This bytecode ends the current Main/Sub script.++|  08-02-2024 Newly Added  |
- +|{02}  Evt_next  |  01  |++02++|\\  
-|{02}  Evt_next  |  01  |++02++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x02 
- UCHAR Opcode;                // 0x02 + } Evt_next;
- } Evt_next;+
 This bytecode moves to the next event in the sequence.++|  08-02-2024 Newly Added  | This bytecode moves to the next event in the sequence.++|  08-02-2024 Newly Added  |
- +|{03}  Evt_chain  |  02  |++03 ID++|\\  
-|{03}  Evt_chain  |  02  |++03 ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x03 
- UCHAR Opcode;                // 0x03 + UCHAR NextEventId; // Event ID to chain to 
- UCHAR NextEventId;           // Event ID to chain to + } 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.++|  08-02-2024 Newly Added  | This bytecode chains the current event to the specified next event ID, allowing the script to continue execution from the linked event.++|  08-02-2024 Newly Added  |
- +|{04}  Evt_exec  |  04  |++04 ?? ?? ID++|\\  
-|{04}  Evt_exec  |  04  |++04 ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x04 
- UCHAR Opcode;                // 0x04 + UCHAR data1; // Typically FF 
- UCHAR EventId              // Event ID to execute + UCHAR GoSub; // Opcode for GoSub 0x18 
- UCHAR Parameter1           // Parameter 1 for the event + UCHAR ScdId; // Sub Script ID to Jump to 
- UCHAR Parameter2           // Parameter 2 for the event + } Evt_exec;
- } Evt_exec;+
 This bytecode executes the specified event with given parameters.++|  08-02-2024 Newly Added  | This bytecode executes the specified event with given parameters.++|  08-02-2024 Newly Added  |
- +|{05}  Evt_kill  |  02  |++05 ID++|\\  
-|{05}  Evt_kill  |  02  |++05 ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x05 
- UCHAR Opcode;                // 0x05 + UCHAR EventId; // Event ID to terminate 
- UCHAR EventId;               // Event ID to terminate + } Evt_kill;
- } Evt_kill;+
 This bytecode terminates the specified event.++|  08-02-2024 Newly Added  | This bytecode terminates the specified event.++|  08-02-2024 Newly Added  |
- +|{06}  Ifel_ck  |  04  |++06 00 SI ZE++|\\  
-|{06}  Ifel_ck  |  04  |++06 00 ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x06 
- UCHAR Opcode;                // 0x06 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign;                // Always Zero (Alignment byte) + USHORT Size; // Size of the block to check 
- USHORT Condition           // Condition to check + } Ifel_ck;
- } Ifel_ck;+
 This bytecode checks a condition and branches accordingly.++|  08-02-2024 Newly Added  | This bytecode checks a condition and branches accordingly.++|  08-02-2024 Newly Added  |
- +|{07}  Else_ck  |  04  |++07 00 SI ZE++|\\  
-|{07}  Else_ck  |  04  |++07 00 ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x07 
- UCHAR Opcode;                // 0x07 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign;                // Always Zero (Alignment byte) + USHORT Size; // Size of the block to check 
- USHORT Offset              // Offset to jump if condition is met + } Else_ck;  
- } Else_ck; +This bytecode specifies the size of the block to check if the corresponding Ifel_ck condition is met.++|  08-02-2024 Newly Added  | 
-This bytecode specifies the offset to jump to if the corresponding Ifel_ck condition is met.++|  08-02-2024 Newly Added  | +|{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;                // 0x08 + } Endif;
- UCHAR zAlign;                // Always Zero (Alignment byte) +
- } Endif;+
 This bytecode marks the end of an If/ElseIf/Else block.++|  08-02-2024 Newly Added  | This bytecode marks the end of an If/ElseIf/Else block.++|  08-02-2024 Newly Added  |
- +|{09}  Sleep  |  04  |++09 ?? CO NT++|\\  
-|{09}  Sleep  |  04  |++09 ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x09 
- UCHAR Opcode;                // 0x09 + UCHAR Sleeping; // Opcode for Sleeping 0x0A 
- UCHAR DurationLow          // Low byte of sleep duration + USHORT Count; // Timer / Sleep Duration 
- UCHAR DurationHigh;          // High byte of sleep duration + } Sleep;
- USHORT zAlign              // Always Zero (Alignment bytes) +
- } Sleep;+
 This bytecode pauses script execution for the specified duration.++|  08-02-2024 Newly Added  | This bytecode pauses script execution for the specified duration.++|  08-02-2024 Newly Added  |
- +|{0A}  Sleeping  |  03  |++0A CO NT++|\\  
-|{0A}  Sleeping  |  03  |++0A ?? 00++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x0A 
- UCHAR Opcode;                // 0x0A + USHORT Count; /Timer Sleep Duration 
- USHORT Duration            // Duration of sleep + } Sleeping;
- } Sleeping;+
 This bytecode pauses script execution for the specified duration.++|  08-02-2024 Newly Added  | This bytecode pauses script execution for the specified duration.++|  08-02-2024 Newly Added  |
- +|{0B}  Wsleep  |  01  |++0B++|\\  
-|{0B}  Wsleep  |  01  |++0B++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x0B 
- UCHAR Opcode;                // 0x0B + } Wsleep;  
- } Wsleep; +This bytecode used before 0C will wait until the current XA sound has finished playing before proceeding.++|  08-02-2024 Newly Added  | 
-This bytecode causes the script to wait indefinitely.++|  08-02-2024 Newly Added  | +|{0C}  Wsleeping  |  01  |++0C++|\\  
- + typedef struct {   
-|{0C}  Wsleeping  |  01  |++0C++|\\ + UCHAR Opcode; // 0x0C 
- typedef struct {         // Ptr // Description + } Wsleeping;  
- UCHAR Opcode;                // 0x0C +This bytecode used after 0B will wait until the current XA sound has finished playing before proceeding.++|  08-02-2024 Newly Added  | 
- } Wsleeping; +|{0D}  For  |  06  |++0D 00 SI ZE CO NT++|\\  
-This bytecode causes the script to wait indefinitely.++|  08-02-2024 Newly Added  | + 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;                // 0x0D + USHORT Count; // Amount of times block is looped 
- UCHAR zAlign;                // Always Zero (Alignment byte) + } For;
- SHORT StartValue           // Start value of the loop counter +
- USHORT EndValue            // End value of the loop counter +
- } For;+
 This bytecode begins a for-loop with the specified start and end values.++|  08-02-2024 Newly Added  | This bytecode begins a for-loop with the specified start and end values.++|  08-02-2024 Newly Added  |
- +|{0E}  Next  |  02  |++0E 00++|\\  
-|{0E}  Next  |  02  |++0E 00++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x0E 
- UCHAR Opcode;                // 0x0E + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign;                // Always Zero (Alignment byte) + } Next;
- } Next;+
 This bytecode marks the end of a for-loop.++|  08-02-2024 Newly Added  | This bytecode marks the end of a for-loop.++|  08-02-2024 Newly Added  |
- +|{0F}  While  |  04  |++0F 00 SI ZE++|\\  
-|{0F}  While  |  04  |++0F 00 ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x0F 
- UCHAR Opcode;                // 0x0F + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign;                // Always Zero (Alignment byte) + USHORT Size; // Size of the block to check 
- SHORT Condition            // Condition to check + } While;
- } While;+
 This bytecode begins a while-loop that continues as long as the specified condition is true.++|  08-02-2024 Newly Added  | This bytecode begins a while-loop that continues as long as the specified condition is true.++|  08-02-2024 Newly Added  |
- +|{10}  Ewhile  |  02  |++10 ID++|\\  
-|{10}  Ewhile  |  02  |++10 ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x10 
- UCHAR Opcode;                // 0x10 + UCHAR LoopId; // ID of the while-loop to end 
- UCHAR LoopId;                // ID of the while-loop to end + } Ewhile;
- } Ewhile;+
 This bytecode ends the specified while-loop.++|  08-02-2024 Newly Added  | This bytecode ends the specified while-loop.++|  08-02-2024 Newly Added  |
- +|{11}  Do  |  04  |++11 00 SI ZE++|\\  
-|{11}  Do  |  04  |++11 00 ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x11 
- UCHAR Opcode;                // 0x11 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign;                // Always Zero (Alignment byte) + USHORT Size; // Size of the block to check 
- SHORT Condition            // Condition to check + } Do;
- } Do;+
 This bytecode begins a do-while loop that executes the loop body once before checking the condition.++|  08-02-2024 Newly Added  | This bytecode begins a do-while loop that executes the loop body once before checking the condition.++|  08-02-2024 Newly Added  |
- +|{12}  Edwhile  |  02  |++12 ID++|\\  
-|{12}  Edwhile  |  02  |++12 ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x12 
- UCHAR Opcode;                // 0x12 + UCHAR LoopId; // ID of the do-while loop to end 
- UCHAR LoopId;                // ID of the do-while loop to end + } Edwhile;
- } Edwhile;+
 This bytecode ends the specified do-while loop.++|  08-02-2024 Newly Added  | This bytecode ends the specified do-while loop.++|  08-02-2024 Newly Added  |
- +|{13}  Switch  |  04  |++13 ID SI ZE++|\\  
-|{13}  Switch  |  04  |++13 ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x13 
- UCHAR Opcode;                // 0x13 + UCHAR SwitchId; // ID of the switch variable 
- UCHAR SwitchId;              // ID of the switch variable + USHORT Size; // Size of the block to check 
- USHORT DefaultOffset       // Default offset to jump to if no case matches + } Switch;  
- } Switch; +This bytecode begins a switch-case block with the specified switch variable and default size.++|  08-02-2024 Newly Added  | 
-This bytecode begins a switch-case block with the specified switch variable and default offset.++|  08-02-2024 Newly Added  | +|{14}  Case  |  06  |++14 00 SI ZE VA LU++|\\  
- + typedef struct {   
-|{14}  Case  |  06  |++14 ?? ?? ?? ?? ??++|\\ + UCHAR Opcode; // 0x14 
- typedef struct {         // Ptr // Description + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR Opcode;                // 0x14 + USHORT Size; // Size of the block to check 
- UCHAR CaseValue            // Value to compare with the switch variable + USHORT CaseValue; // Value to compare with the switch variable 
- USHORT Offset              // Offset to jump to if the case matches + } Case;
- } Case;+
 This bytecode defines a case within a switch-case block.++|  08-02-2024 Newly Added  | This bytecode defines a case within a switch-case block.++|  08-02-2024 Newly Added  |
- +|{15}  Default  |  02  |++15 00++|\\  
-|{15}  Default  |  02  |++15 00++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x15 
- UCHAR Opcode;                // 0x15 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign;                // Always Zero (Alignment byte) + } Default;
- } Default;+
 This bytecode marks the default case in a switch-case block.++|  08-02-2024 Newly Added  | This bytecode marks the default case in a switch-case block.++|  08-02-2024 Newly Added  |
- +|{16}  Eswitch  |  02  |++16 00++|\\  
-|{16}  Eswitch  |  02  |++16 00++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x16 
- UCHAR Opcode;                // 0x16 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign;                // Always Zero (Alignment byte) + } Eswitch;
- } Eswitch;+
 This bytecode ends the switch-case block.++|  08-02-2024 Newly Added  | This bytecode ends the switch-case block.++|  08-02-2024 Newly Added  |
- +|{17}  Goto  |  06  |++17 ?? ?? ?? ?? ?? ??++|\\ 
-|{17}  Goto  |  06  |++17 ?? ?? ?? 00 00++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode;       // 0x17 
- UCHAR Opcode;                // 0x17 + UCHAR Ifel_ctr    // Always 0xFF (or 0x01 on specific cases) 
- UCHAR OffsetLow            // Low byte of the offset to jump to + UCHAR Loop_ctr    // Always 0xFF (or 0x00 on specific cases) 
- UCHAR OffsetHigh           // High byte of the offset to jump to + UCHAR zAlign;       // Always 0x00 
- USHORT zAlign;               // Always Zero (Alignment bytes) + SHORT Offset;      // Relative Pointer, always references the same script 
- } Goto;+ } Goto;
 This bytecode jumps to the specified offset within the script.++|  08-02-2024 Newly Added  | This bytecode jumps to the specified offset within the script.++|  08-02-2024 Newly Added  |
- +|{18}  Gosub  |  02  |++18 ID++|\\  
-|{18}  Gosub  |  02  |++18 ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x18 
- UCHAR Opcode;                // 0x18 + UCHAR SubroutineId; // ID of the subroutine to call 
- UCHAR SubroutineId;          // ID of the subroutine to call + } Gosub;
- } Gosub;+
 This bytecode calls the specified subroutine.++|  08-02-2024 Newly Added  | This bytecode calls the specified subroutine.++|  08-02-2024 Newly Added  |
- +|{19}  Return  |  02  |++19 00++|\\  
-|{19}  Return  |  02  |++19 ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x19 
- UCHAR Opcode;                // 0x19 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR SubroutineId         // ID of the subroutine to return from + } Return;
- } Return;+
 This bytecode returns from the specified subroutine.++|  08-02-2024 Newly Added  | This bytecode returns from the specified subroutine.++|  08-02-2024 Newly Added  |
- +|{1A}  Break  |  02  |++1A 00++|\\  
-|{1A}  Break  |  02  |++1A ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x1A 
- UCHAR Opcode;                // 0x1A + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR LoopId               // ID of the loop to break from + } Break;
- } Break;+
 This bytecode breaks out of the specified loop.++|  08-02-2024 Newly Added  | This bytecode breaks out of the specified loop.++|  08-02-2024 Newly Added  |
- +|{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;                // 0x1B + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR zAlign0              // Always Zero (Alignment byte) + SHORT StartValue; // Start value of the loop counter 
- SHORT StartValue;            // Start value of the loop counter + UCHAR zAlign2; // Always Zero (Alignment byte) 
- UCHAR zAlign1              // Always Zero (Alignment byte) + SHORT EndValue; // End value of the loop counter 
- UCHAR EndValue;              // End value of the loop counter + } For2;
- } For2;+
 This bytecode begins a for-loop with the specified start and end values.++|  08-02-2024 Newly Added  | This bytecode begins a for-loop with the specified start and end values.++|  08-02-2024 Newly Added  |
- +|{1C}  Break_point  |  01  |++1C++|\\  
-|{1C}  Break_point  |  01  |++1C++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x1C 
- UCHAR Opcode;                // 0x1C + } Break_point;
- } Break_point;+
 This bytecode sets a breakpoint for debugging purposes.++|  08-02-2024 Newly Added  | This bytecode sets a breakpoint for debugging purposes.++|  08-02-2024 Newly Added  |
- +|{1D}  Work_copy  |  04  |++1D ?? ID ??++|\\  
-|{1D}  Work_copy  |  04  |++1D ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x1D 
- UCHAR Opcode;                // 0x1D + UCHAR Source; // Source index 
- UCHAR Source;                // Source index + UCHAR DestinationId; // Destination index 
- UCHAR Destination          // Destination index + UCHAR Typecast; // Typecast operation 
- 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.++|  08-02-2024 Newly Added  | This bytecode copies a value from the source index to the destination index with an optional typecast.++|  08-02-2024 Newly Added  |
- +|{1E}  Nop   01  |++1E++|\\  
-|{1E}  Nop1E   01  |++1E++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x1E 
- UCHAR Opcode;                // 0x1E + } Nop;
- } Nop;+
 This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++|  08-02-2024 Newly Added  | This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++|  08-02-2024 Newly Added  |
- +|{1F}  Nop   01  |++1F++|\\  
-|{1F}  Nop1F   01  |++1F++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x1F 
- UCHAR Opcode;                // 0x1F + } Nop;
- } Nop;+
 This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++|  08-02-2024 Newly Added  | This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++|  08-02-2024 Newly Added  |
- +|{20}  Nop  |  01  |++20++|\\  
-|{20}  Nop  |  01  |++20++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x20 
- UCHAR Opcode;                // 0x20 + } Nop;
- } Nop;+
 This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++|  08-02-2024 Newly Added  | This bytecode is used for alignment of 1-byte opcodes and ending ElseIf blocks.++|  08-02-2024 Newly Added  |
- +|{21}  Ck  |  04  |++21 ?? ID ??++|\\  
-|{21}  Ck  |  04  |++21 ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x21 
- 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; // On/Off state to check 
- 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.++|  08-02-2024 Newly Added  | This bytecode checks the specified system flag and bit ID for the given On/Off state.++|  08-02-2024 Newly Added  |
- +|{22}  Set  |  04  |++22 ?? ID ??++|\\  
-|{22}  Set  |  04  |++22 ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x22 
- 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; // On/Off state to set 
- 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.++|  08-02-2024 Newly Added  | This bytecode sets the specified system flag and bit ID to the given On/Off state.++|  08-02-2024 Newly Added  |
- +|{23}  Cmp  |  06  |++23 00 ID ?? VA LU++|\\ 
-|{23}  Cmp  |  06  |++23 ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode;       // 0x23 
- UCHAR Opcode;                // 0x23 + UCHAR zAlign      // Always 0x00 
- UCHAR Flag                 // System flag to compare + UCHAR MemberId;    // Id of the member to compare 
- UCHAR Operator;              // Comparison operator + UCHAR Operator;     // Type of comparison 
- USHORT Value;                // Value to compare against + SHORT Value;       // Value to compare the member to 
- } Cmp;+ } Cmp;
 This bytecode compares the specified system flag with the given value using the provided comparison operator.++|  08-02-2024 Newly Added  | This bytecode compares the specified system flag with the given value using the provided comparison operator.++|  08-02-2024 Newly Added  |
- +|{24}  Save  |  04  |++24 ID XX XX++|\\  
-|{24}  Save  |  04  |++24 ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x24 
- UCHAR Opcode;                // 0x24 + UCHAR Destination; // Destination index 
- UCHAR Destination;           // Destination index + SHORT Source; // Source value 
- SHORT Source;                // Source value + } Save;
- } Save;+
 This bytecode saves the specified source value to the destination index.++|  08-02-2024 Newly Added  | This bytecode saves the specified source value to the destination index.++|  08-02-2024 Newly Added  |
- +|{25}  Copy  |  03  |++25 ID ??++|\\  
-|{25}  Copy  |  03  |++25 ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x25 
- UCHAR Opcode;                // 0x25 + UCHAR Destination; // Destination index 
- UCHAR Source               // Source index + UCHAR Source; // Source index 
- UCHAR Destination          // Destination index + } Copy;
- } Copy;+
 This bytecode copies the value from the source index to the destination index.++|  08-02-2024 Newly Added  | This bytecode copies the value from the source index to the destination index.++|  08-02-2024 Newly Added  |
- +|{26}  Calc  |  06  |++26 00 ?? ?? VA LU++|\\  
-|{26}  Calc  |  06  |++26 ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x26 
- UCHAR Opcode;                // 0x26 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR Operation            // Arithmetic operation to perform + UCHAR Operator; // Arithmetic operation to perform 
- UCHAR Operand1             // First operand index + UCHAR Flag; // Memory Location to apply math to 
- UCHAR Operand2             // Second operand index + SHORT Value; // Amount used in operation 
- UCHAR Result               // Result index + } Calc;
- UCHAR zAlign;                // Always Zero (Alignment byte) +
- } Calc;+
 This bytecode performs the specified arithmetic operation on the operands and stores the result.++|  08-02-2024 Newly Added  | This bytecode performs the specified arithmetic operation on the operands and stores the result.++|  08-02-2024 Newly Added  |
- 
 |{27}  Calc2  |  04  |++27 ?? ?? ??++|\\ |{27}  Calc2  |  04  |++27 ?? ?? ??++|\\
- typedef struct {         // Ptr // Description + typedef struct {   
- UCHAR Opcode;                // 0x27 + UCHAR Opcode;        // 0x27 
- UCHAR Operation            // Arithmetic operation to perform + UCHAR Operator    // Type of operation 
- UCHAR Operand              // Operand index + UCHAR Flag        // F_atari, etc 
- UCHAR Result               // Result index + UCHAR Value        // Value to use in the operation 
- } Calc2; + } Calc2;  
-This bytecode performs the specified arithmetic operation on the operand and stores the result.++|  08-02-2024 Newly Added  | +This bytecode performs the specified arithmetic operation on the two operands and stores the result.++|  08-02-2024 Newly Added  | 
- +|{28}  Sce_rnd  |  01  |++28++|\\  
-|{28}  Sce_rnd  |  01  |++28++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x28 
- UCHAR Opcode;                // 0x28 + } Sce_rnd;  
- } Sce_rnd; +This bytecode generates a random value.++|  08-02-2024 Newly Added  |  
-This bytecode generates a random value.++|  08-02-2024 Newly Added  | +|{29}  Cut_chg  |  02  |++29 ID++|\\  
- + typedef struct {   
-|{29}  Cut_chg  |  02  |++29 ??++|\\ + UCHAR Opcode; // 0x29 
- typedef struct {         // Ptr // Description + UCHAR CutId; // ID of the cutscene 
- UCHAR Opcode;                // 0x29 + } Cut_chg;  
- UCHAR CutsceneId           // ID of the cutscene to change to +This bytecode changes the current camera to the specified camera ID.++|  08-02-2024 Newly Added  | 
- } Cut_chg; +|{2A}  Cut_old  |  01  |++2A++|\\  
-This bytecode changes the current cutscene to the specified cutscene ID.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x2A 
-|{2A}  Cut_old  |  01  |++2A++|\\ + } Cut_old;  
- typedef struct {         // Ptr // Description +This bytecode reverts to the previous camera.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode;                // 0x2A +|{2B}  Message_on  |  06  |++2B 00 ?? ?? SI ZE++|\\  
- } Cut_old; + typedef struct {   
-This bytecode reverts to the previous cutscene.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x2B 
- + UCHAR zAlign; // Always Zero (Alignment byte) 
-|{2B}  Message_on  |  06  |++2B ?? ?? ?? ?? ??++|\\ + UCHAR Type; // Message type 
- typedef struct {         // Ptr // Description + UCHAR MessageId; // ID of the message to display 
- UCHAR Opcode;                // 0x2B + USHORT DisplayTime; // Time to display the message 
- UCHAR MessageId            // ID of the message to display + } Message_on;  
- UCHAR DisplayTime          // Time to display the message +This bytecode displays the specified message.++|  08-02-2024 Newly Added  | 
- UCHAR PositionX            // X position of the message +|{2C}  Aot_set  |  20  |++2C ID ?? ?? ?? ?? XX XX ZZ ZZ SI ZE SI ZE ?? ?? ?? ?? ?? ??++|\\  
- UCHAR PositionY            // Y position of the message + typedef struct {   
- UCHAR zAlign;                // Always Zero (Alignment byte) + UCHAR Opcode; // 0x2C 
- } Message_on; + CHAR Aot; // Aot 
-This bytecode displays the specified message at the given position for the specified duration.++|  08-02-2024 Newly Added  | + UCHAR SCE; // Id 
- + UCHAR SAT; // Type 
-|{2C}  Aot_set  |  20  |++2C ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + UCHAR nFloor; // nFloor 
- typedef struct {         // Ptr // Description + UCHAR Super; // Super 
- UCHAR Opcode               // 0x2C + SHORT X; // Position 
- UCHAR AotId                // ID of the AOT (Animation Object) + SHORT Z; // Position 
- UCHAR AotType              // Type of the AOT + USHORT W; // Size 
- UCHAR Data1[17]            // Data specific to the AOT + USHORT D; // Size 
- UCHAR zAlign[2]            // Always Zero (Alignment bytes)+ USHORT Data0; // Sce_Message / Flag Type / Always 0x00FF 
 + USHORT Data1; // Sce_Message / Flag Id / Script Id Init & Complete 
 + USHORT Data2; // Always 0xFFFF
  } Aot_set;  } Aot_set;
 This bytecode sets the properties of the specified AOT.++|  08-02-2024 Newly Added  | This bytecode sets the properties of the specified AOT.++|  08-02-2024 Newly Added  |
- +|{2D}  Obj_model_set  |  38  |++2D ?? ID ?? ?? ?? ?? ?? ?? TI PE BE FL XX XX YY YY ZZ ZZ DX DX DY DY DZ DZ XX XX YY YY ZZ ZZ XX XX YY YY ZZ ZZ++|\\  
-|{2D}  Obj_model_set  |  38  |++2D ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x2D 
- UCHAR Opcode               // 0x2D + UCHAR MD1; // MD1 File Id 
- UCHAR ModelId              // ID of the object model + UCHAR Id; // Global->Ob_model[].Id 
- UCHAR Data1[35];             // Data specific to the object model + UCHAR Ccol_old; // CC_WORK structure 
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) + UCHAR Ccol_no; // CC_WORK structure 
- } Obj_model_set;+ UCHAR Ctex_old; // CC_WORK structure 
 + UCHAR nFloor; //  
 + UCHAR Super; //  
 + USHORT Type; // Global->Ob_model[].Type 
 + USHORT BeFlag; // Global->Ob_model[].Be_flg 
 + SHORT Attribute; // Global->Ob_model[].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.++|  08-02-2024 Newly Added  | This bytecode sets the properties of the specified object model.++|  08-02-2024 Newly Added  |
- +|{2E}  Work_set  |  03  |++2E ?? ID++|\\  
-|{2E}  Work_set  |  03  |++2E ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x2E 
- UCHAR Opcode;                // 0x2E + UCHAR Type; // Type of Work Set to Select 
- UCHAR WorkId               // ID of the work (task) + UCHAR EntityId; // ID of Entity to select 
- UCHAR Data1                // Data specific to the work + } Work_set;
- } Work_set;+
 This bytecode sets the properties of the specified work (task).++|  08-02-2024 Newly Added  | This bytecode sets the properties of the specified work (task).++|  08-02-2024 Newly Added  |
- +|{2F}  Speed_set  |  04  |++2F ID ?? 00++|\\  
-|{2F}  Speed_set  |  04  |++2F ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x2F 
- UCHAR Opcode;                // 0x2F + UCHAR SpeedId; // ID of the speed setting 
- UCHAR SpeedId;               // ID of the speed setting + USHORT SpeedValue; // Value of the speed setting 
- UCHAR SpeedValue;            // Value of the speed setting + } Speed_set;
- UCHAR zAlign;                // Always Zero (Alignment byte) +
- } Speed_set;+
 This bytecode sets the specified speed setting.++|  08-02-2024 Newly Added  | This bytecode sets the specified speed setting.++|  08-02-2024 Newly Added  |
- +|{30}  Add_speed  |  01  |++30++|\\  
-|{30}  Add_speed  |  01  |++30++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x30 
- UCHAR Opcode;                // 0x30 + } Add_speed;
- } Add_speed;+
 This bytecode increments the speed setting.++|  08-02-2024 Newly Added  | This bytecode increments the speed setting.++|  08-02-2024 Newly Added  |
- +|{31}  Add_aspeed  |  01  |++31++|\\  
-|{31}  Add_aspeed  |  01  |++31++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x31 
- UCHAR Opcode;                // 0x31 + } Add_aspeed;
- } Add_aspeed;+
 This bytecode increments the angular speed setting.++|  08-02-2024 Newly Added  | This bytecode increments the angular speed setting.++|  08-02-2024 Newly Added  |
- +|{32}  Pos_set  |  08  |++32 00 XX XX YY YY ZZ ZZ++|\\  
-|{32}  Pos_set  |  08  |++32 ?? ?? ?? ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x32 
- UCHAR Opcode;                // 0x32 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR PosX[2]              // X position (2 bytes) + SHORT PosX; // X position 
- UCHAR PosY[2]              // Y position (2 bytes) + SHORT PosY; // Y position 
- UCHAR PosZ[2]              // Z position (2 bytes) + SHORT PosZ; // Z position 
- UCHAR zAlign;                // Always Zero (Alignment byte) + } Pos_set;
- } Pos_set;+
 This bytecode sets the position in 3D space.++|  08-02-2024 Newly Added  | This bytecode sets the position in 3D space.++|  08-02-2024 Newly Added  |
- +|{33}  Dir_set  |  08  |++33 00 DX DX DY DY DZ DZ++|\\  
-|{33}  Dir_set  |  08  |++33 ?? ?? ?? ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x33 
- UCHAR Opcode;                // 0x33 + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR DirX[2]              // X direction (2 bytes) + SHORT DirX; // X direction 
- UCHAR DirY[2]              // Y direction (2 bytes) + SHORT DirY; // Y direction 
- UCHAR DirZ[2]              // Z direction (2 bytes) + SHORT DirZ; // Z direction 
- UCHAR zAlign;                // Always Zero (Alignment byte) + } Dir_set;
- } Dir_set;+
 This bytecode sets the direction in 3D space.++|  08-02-2024 Newly Added  | This bytecode sets the direction in 3D space.++|  08-02-2024 Newly Added  |
- +|{34}  Member_set  |  04  |++34 ?? ?? ??++|\\  
-|{34}  Member_set  |  04  |++34 ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x34 
- UCHAR Opcode;                // 0x34 + UCHAR Destination; // Destination 
- UCHAR MemberId             // ID of the member + SHORT Source; // Source 
- UCHAR Property1            // Property 1 of the member + } Member_set;
- UCHAR Property2;             // Property 2 of the member +
- UCHAR zAlign;                // Always Zero (Alignment byte) +
- } Member_set;+
 This bytecode sets the properties of the specified member.++|  08-02-2024 Newly Added  | This bytecode sets the properties of the specified member.++|  08-02-2024 Newly Added  |
- +|{35}  Member_set2  |  03  |++35 ?? ?? ??++|\\  
-|{35}  Member_set2  |  03  |++35 ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x35 
- UCHAR Opcode;                // 0x35 + UCHAR Destination; // Destination 
- UCHAR MemberId             // ID of the member + UCHAR Source; // Source 
- UCHAR Property             // Property of the member + } Member_set2;
- } Member_set2;+
 This bytecode sets a single property of the specified member.++|  08-02-2024 Newly Added  | This bytecode sets a single property of the specified member.++|  08-02-2024 Newly Added  |
- +|{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;                // 0x36 + UCHAR VAB; // VAB Bank Id 
- UCHAR SeId                 // ID of the sound effect + SHORT EDT; // EDT Sample Id 
- UCHAR Volume               // Volume of the sound effect + SHORT data0; // Sound Reverberation, Work Aot/Obj No 
- UCHAR Pitch                // Pitch of the sound effect + SHORT X; // Position 
- UCHAR Pan                  // Pan of the sound effect + 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  |  04  |++37 ?? ?? ??++|\\  
- + typedef struct {   
-|{37}  Sca_id_set  |  04  |++37 ?? ?? ?? ??++|\\ + UCHAR Opcode; // 0x37 
- typedef struct {         // Ptr // Description + UCHAR iEntry; // SCA Collision Entry 
- UCHAR Opcode;                // 0x37 + USHORT Id; // New Collision ID 
- UCHAR ScaId                // ID of the scale + } Sca_id_set;  
- UCHAR ScaleX;                // X scale value +This bytecode sets the specified scale ID to the given value.++|  08-02-2024 Newly Added  | 
- UCHAR ScaleY               // Y scale value +|{38}  Flr_set  |  03  |++38 ID ??++|\\  
- UCHAR zAlign;                // Always Zero (Alignment byte) + typedef struct {   
- } Sca_id_set; + UCHAR Opcode; // 0x38 
-This bytecode sets the scale of the specified object.++|  08-02-2024 Newly Added  | + UCHAR Id
- + UCHAR Flag
-|{38}  Flr_set  |  03  |++38 ?? ??++|\\ + } Flr_set;  
- typedef struct {         // Ptr // Description +This bytecode sets the specified floor ID to the given value.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode;                // 0x38 +|{39}  Dir_ck  |  08  |++39 00 XX XX ZZ ZZ ?? ??++|\\  
- UCHAR FlrId                // ID of the floor + typedef struct {   
- UCHAR Height               // Height of the floor + UCHAR Opcode; // 0x39 
- } Flr_set; + UCHAR zAlign; // 0x00 
-This bytecode sets the height of the specified floor.++|  08-02-2024 Newly Added  | + SHORT X
- + SHORT Z
-|{39}  Dir_ck  |  08  |++39 ?? ?? ?? ?? ?? ?? ?? ??++|\\ + SHORT Add
- typedef struct {         // Ptr // Description + } Dir_ck;  
- UCHAR Opcode;                // 0x39 +This bytecode checks the specified direction coordinates.++|  08-02-2024 Newly Added  | 
- UCHAR DirX[2]              // X direction to check (2 bytes) +|{3A}  Sce_espr_on  |  16  |++3A 00 ?? ?? ?? ?? ?? ?? XX XX YY YY ZZ ZZ DY DY++|\\  
- 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 zAlign; // 0x00 
- } Dir_ck; + USHORT data0
-This bytecode checks the direction in 3D space.++|  08-02-2024 Newly Added  | + USHORT data1
- + USHORT data2
-|{3A}  Sce_espr_on  |  16  |++3A ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + SHORT X
- typedef struct {         // Ptr // Description + SHORT Y; 
- UCHAR Opcode;                // 0x3A + SHORT Z
- UCHAR EsprId               // ID of the ESPR (effect sprite) + 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 turns on the specified espr with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR PosZ[2]              // Z position of the effect sprite (2 bytes) +|{3B}  Door_aot_set  |  32  |++3B ID ?? ?? ?? ?? ?? XX XX ZZ ZZ SI ZE SI ZE XX XX YY YY ZZ ZZ 00 ?? ?? ?? ?? ++|\\  
- UCHAR ScaleX               // X scale of the effect sprite + typedef struct {   
- UCHAR ScaleY;                // scale of the effect sprite + UCHAR Opcode; // 0x3B 
- UCHAR Rotation             // Rotation of the effect sprite + UCHAR Aot; // Aot 
- UCHAR Alpha                // Alpha transparency of the effect sprite + UCHAR SCE; // Id /* tagSCE_AOT 
- UCHAR Duration[4]          // Duration of the effect sprite (4 bytes) + UCHAR SAT; // Type 
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) + UCHAR nFloor; // nFloor 
- } Sce_espr_on; + UCHAR Super; // Super 
-This bytecode activates the specified effect sprite with the given properties.++|  08-02-2024 Newly Added  | + SHORT X; // Position 
- + SHORT Z; // Position 
-|{3B}  Door_aot_set  |  32  |++3B ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + USHORT W; // Size 
- typedef struct {         // Ptr // Description + USHORT D; // Size */ tagSCE_AOT 
- UCHAR Opcode               // 0x3B + SHORT Next_pos_x; // */ tagIN_DOOR_WORK 
- UCHAR DoorId               // ID of the door + SHORT Next_pos_y; // 
- UCHAR PosX[2]              // X position of the door (2 bytes) + SHORT Next_pos_z; // 
- UCHAR PosY[2]              // Y position of the door (2 bytes) + SHORT Next_cdir_y; // 
- UCHAR PosZ[2]              // Z position of the door (2 bytes) + UCHAR Next_stage; // 
- UCHAR Rotation             // Rotation of the door + UCHAR Next_room; // 
- UCHAR LockStatus           // Lock status of the door + UCHAR Next_cut; // 
- UCHAR KeyItemId            // ID of the key item required to unlock the door + UCHAR Next_nfloor; // 
- UCHAR zAlign[23]           // Always Zero (Alignment bytes)+ UCHAR Dtex_type; // DO2 File Id 
 + UCHAR Door_type; // DO2 Animation Set 
 + UCHAR Knock_type; // Sound 
 + 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  |  02  |++3C ?? ++|\\  
-|{3C}  Cut_auto  |  02  |++3C ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x3C 
- UCHAR Opcode;                // 0x3C + UCHAR OnOff; // 00 OFF, 01 ON 
- UCHAR CutsceneId           // ID of the cutscene to automatically start + } Cut_auto;  
- } Cut_auto; +This bytecode sets the specified auto cutscene parameters.++|  08-02-2024 Newly Added  | 
-This bytecode starts the specified cutscene automatically.++|  08-02-2024 Newly Added  | +|{3D}  Member_copy  |  03  |++3D ?? ?? ++|\\  
- + typedef struct {   
-|{3D}  Member_copy  |  03  |++3D ?? ??++|\\ + UCHAR Opcode; // 0x3D 
- typedef struct {         // Ptr // Description + UCHAR Destination; // Destination 
- UCHAR Opcode;                // 0x3D + UCHAR Source; // Source 
- UCHAR SourceMemberId       // ID of the source member + } Member_copy;  
- UCHAR DestinationMemberId  // ID of the destination member +This bytecode copies the specified member parameters from the source to the destination.++|  08-02-2024 Newly Added  | 
- } Member_copy; +|{3E}  Member_cmp  |  06  |++3E 00 ?? ?? VA LU++|\\  
-This bytecode copies the properties from the source member to the destination member.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x3E 
-|{3E}  Member_cmp  |  06  |++3E ?? ?? ?? ?? ??++|\\ + UCHAR zAlign; // Always Zero (Alignment byte) 
- typedef struct {         // Ptr // Description + UCHAR Flag; // Load_member_addr_branch() argv[1] 
- UCHAR Opcode;                // 0x3E + UCHAR Operator; // Comparison operator 
- UCHAR MemberId             // ID of the member + SHORT Value; // Value to compare 
- UCHAR Property             // Property to compare + } Member_cmp;  
- USHORT Value               // Value to compare against +This bytecode compares the specified member parameters with the given value.++|  08-02-2024 Newly Added  | 
- UCHAR ComparisonType       // Type of comparison (e.g., equal, not equal) +|{3F}  Plc_motion  |  04  |++3F ID ?? ??++|\\  
- } Member_cmp; + typedef struct {   
-This bytecode compares the specified property of the member with the given value using the specified comparison type.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x3F 
- + UCHAR MotionId; // EDD/EMR Id 
-|{3F}  Plc_motion  |  04  |++3F ?? ?? ??++|\\ + UCHAR Mode; // Mode to set the motion to 
- typedef struct {         // Ptr // Description + UCHAR Param; // Parameter for the motion 
- UCHAR Opcode;                // 0x3F + } Plc_motion;  
- UCHAR MotionId;              // ID of the motion to play +This bytecode sets the specified motion parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Speed                // Speed of the motion +|{40}  Plc_dest  |  08  |++40 00 ?? ?? XX XX ZZ ZZ++|\\  
- UCHAR Loop                 // Loop flag (0 = no loop, 1 = loop) + typedef struct {   
- } Plc_motion; + UCHAR Opcode; // 0x40 
-This bytecode sets the specified motion to play at the given speed with the optional loop flag.++|  08-02-2024 Newly Added  | + UCHAR zAlign; // 0x00 
- + UCHAR Animation; // EDD/EMR Id 
-|{40}  Plc_dest  |  08  |++40 ?? ?? ?? ?? ?? ?? ?? ??++|\\ + UCHAR Bit; // Room_flg 
- typedef struct {         // Ptr // Description + SHORT X; // Destination 
- UCHAR Opcode;                // 0x40 + SHORT Z; // Destination 
- UCHAR DestX[2]             // X destination (2 bytes) + } Plc_dest;  
- UCHAR DestY[2]             // Y destination (2 bytes) +This bytecode sets the specified destination parameters.++|  08-02-2024 Newly Added  | 
- UCHAR DestZ[2]             // Z destination (2 bytes) +|{41}  Plc_neck  |  10  |++41 ?? XX XX YY YY ZZ ZZ ?? ?? ++|\\  
- UCHAR zAlign               // Always Zero (Alignment byte) + typedef struct {   
- } Plc_dest; + UCHAR Opcode; // 0x41 
-This bytecode sets the destination position in 3D space.++|  08-02-2024 Newly Added  | + UCHAR Op; // 
- + SHORT X; // 
-|{41}  Plc_neck  |  10  |++41 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + SHORT Y; // 
- typedef struct {         // Ptr // Description + SHORT Z; // 
- UCHAR Opcode;                // 0x41 + UCHAR SpeedX; // 
- UCHAR NeckId               // ID of the neck motion + UCHAR SpeedZ; // 
- UCHAR PosX[2]              // X position of the neck motion (2 bytes) + } Plc_neck;  
- UCHAR PosY[2]              // Y position of the neck motion (2 bytes) +This bytecode sets the specified neck parameters.++|  08-02-2024 Newly Added  | 
- UCHAR PosZ[2]              // Z position of the neck motion (2 bytes) +|{42}  Plc_ret  |  01  |++42++|\\  
- UCHAR RotationX            // X rotation of the neck motion + typedef struct {   
- UCHAR RotationY;             // Y rotation of the neck motion + UCHAR Opcode; // 0x42 
- UCHAR RotationZ            // Z rotation of the neck motion + } Plc_ret;  
- UCHAR zAlign[4];             // Always Zero (Alignment bytes) +This bytecode returns from the specified plc function.++|  08-02-2024 Newly Added  | 
- } Plc_neck; +|{43}  Plc_flg  |  04  |++43 00 ?? ??++|\\  
-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  |  01  |++42++|\\ + UCHAR zAlign; // 0x00 
- typedef struct {         // Ptr // Description + UCHAR data0; //  
- UCHAR Opcode;                // 0x42 + UCHAR data1; // 
- } Plc_ret; +
-This bytecode returns control from the current motion or behavior.++|  08-02-2024 Newly Added  | +
- +
-|{43}  Plc_flg  |  04  |++43 ?? ?? ??++|\\ +
- typedef struct {         // Ptr // Description +
- UCHAR Opcode;                // 0x43 +
- UCHAR Flag                 // Flag to set +
- UCHAR Value                // Value to set the flag to +
- UCHAR zAlign               // Always Zero (Alignment byte)+
  } 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  |  22  |++44 00 ?? ID ?? ?? ?? ?? ?? XX XX YY YY ZZ ZZ DY DY ?? ?? ++|\\  
-|{44}  Sce_em_set  |  22  |++44 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x44 
- UCHAR Opcode;                // 0x44 + UCHAR Nop; // 0x00 
- UCHAR EmId                 // ID of the enemy or entity + CHAR Em_no; // Em_no 
- UCHAR PosX[2]              // X position (2 bytes+ UCHAR Id; // EMD File Id for Em_bin_load() function 
- UCHAR PosY[2]              // Y position (2 bytes) + USHORT Type; // Type 
- UCHAR PosZ[2]              // Z position (2 bytes) + UCHAR nFloor; // nFloor 
- UCHAR RotationX            // X rotation + UCHAR Sound_flg; // Sound_flg 
- UCHAR RotationY            // Y rotation + UCHAR Model_type; // Model_type 
- UCHAR RotationZ            // Z rotation + UCHAR Em_set_flg; // Em_set_flg 
- UCHAR Speed                // Movement speed + SHORT Pos_x; // Position X 
- UCHAR Health               // Health value + SHORT Pos_y; // Position 
- UCHAR zAlign[8]            // Always Zero (Alignment bytes) + 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  |  05  |++45 ?? ?? ?? ?? ??++|\\ + } Sce_em_set;  
- typedef struct {         // Ptr // Description +This bytecode sets the specified enemy parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode;                // 0x45 +|{45}  Col_chg_set  |  05  |++45 ?? ?? ?? ??++|\\ 
- UCHAR R                    // Red color value + typedef struct {   
- UCHAR G                    // Green color value + UCHAR Opcode; // 0x45 
- UCHAR B                    // Blue color value + UCHAR Data0; // Data0 
- UCHAR Alpha                // Alpha transparency value + UCHAR Data1; // Data1 
- } Col_chg_set; + UCHAR Data2; // Data2 
-This bytecode sets the specified color change properties.++|  08-02-2024 Newly Added  | + UCHAR Data3; // Data3 
- + } Col_chg_set;  
-|{46}  Aot_reset  |  10  |++46 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ +This bytecode sets the specified color parameters.++|  08-02-2024 Newly Added  | 
- typedef struct {         // Ptr // Description +|{46}  Aot_reset  |  10  |++46 ID ?? ?? ?? XX XX XX XX ++|\\ 
- UCHAR Opcode               // 0x46 + typedef struct {   
- UCHAR AotId                // ID of the AOT to reset + UCHAR Opcode; // 0x46 
- UCHAR zAlign[11]           // Always Zero (Alignment bytes) + CHAR Aot; // Aot 
- } Aot_reset; + UCHAR SCE; // SCE 
-This bytecode resets the specified AOT to its default state.++|  08-02-2024 Newly Added  | + UCHAR SAT; // SAT 
- + SHORT Data0; // Data0 
-|{47}  Aot_on  |  02  |++47 ??++|\\ + SHORT Data1; // Data1 
- typedef struct {         // Ptr // Description + SHORT Data2; // Data2 
- UCHAR Opcode;                // 0x47 + } Aot_reset;  
- UCHAR AotId                // ID of the AOT to activate +This bytecode resets the specified AOT parameters.++|  08-02-2024 Newly Added  | 
- } Aot_on; +|{47}  Aot_on  |  02  |++47 ID++|\\ 
-This bytecode activates the specified AOT.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x47 
-|{48}  Super_set  |  16  |++48 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + CHAR Aot; // Aot 
- typedef struct {         // Ptr // Description + } Aot_on;  
- UCHAR Opcode;                // 0x48 +This bytecode turns on the specified AOT.++|  08-02-2024 Newly Added  | 
- UCHAR SuperId              // ID of the super effect +|{48}  Super_set  |  16  |++48 00 ?? ID XX XX YY YY ZZ ZZ DX DX DY DY DZ DZ ++|\\ 
- UCHAR PosX[2];               // X position (2 bytes+ typedef struct {   
- UCHAR PosY[2]              // Y position (2 bytes) + UCHAR Opcode; // 0x48 
- UCHAR PosZ[2]              // Z position (2 bytes) + UCHAR zAlign; // Alignment byte (always 0x00
- UCHAR ScaleX               // X scale + UCHAR Work; // Work Type 
- UCHAR ScaleY               // Y scale + UCHAR Id; // Work Aot/Obj No 
- UCHAR Rotation             // Rotation value + SHORT pX; // Parent 
- UCHAR Alpha                // Alpha transparency value + SHORT pY; // Parent 
- UCHAR Duration[4]          // Duration of the effect (4 bytes) + SHORT pZ; // Parent Z 
- UCHAR zAlign[2]            // Always Zero (Alignment bytes) + 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  |  08  |++49 ?? ?? ?? ?? ?? ?? ?? ??++|\\ +This bytecode sets the specified super parameters.++|  08-02-2024 Newly Added  | 
- typedef struct {         // Ptr // Description +|{49}  Super_reset  |  08  |++49 00 DX DX DY DY DZ DZ ++|\\ 
- UCHAR Opcode;                // 0x49 + typedef struct {   
- UCHAR SuperId              // ID of the super effect to reset + UCHAR Opcode; // 0x49 
- UCHAR zAlign[7]            // Always Zero (Alignment bytes) + UCHAR zAlign; // Alignment byte (always 0x00) 
- } 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  |  02  |++4A ??++|\\ + } Super_reset;  
- typedef struct {         // Ptr // Description +This bytecode resets the specified super parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode;                // 0x4A +|{4A}  Plc_gun  |  02  |++4A ID++|\\  
- UCHAR GunId;                 // ID of the gun to equip + typedef struct {   
- } Plc_gun; + UCHAR Opcode; // 0x4A 
-This bytecode equips the specified gun.++|  08-02-2024 Newly Added  | + UCHAR GunId; // ID of the gun to set 
- + } Plc_gun;  
-|{4B}  Cut_replace  |  03  |++4B ?? ??++|\\ +This bytecode sets the specified gun parameters.++|  08-02-2024 Newly Added  | 
- typedef struct {         // Ptr // Description +|{4B}  Cut_replace  |  03  |++4B ID ??++|\\ 
- UCHAR Opcode;                // 0x4B + typedef struct {   
- UCHAR OldCutId             // ID of the cutscene to replace + UCHAR Opcode; // 0x4B 
- UCHAR NewCutId             // ID of the new cutscene + UCHAR Id; // Id 
- } Cut_replace; + UCHAR Value; // Value 
-This bytecode replaces the specified cutscene with a new cutscene.++|  08-02-2024 Newly Added  | + } Cut_replace;  
- +This bytecode replaces the specified cutscene parameters.++|  08-02-2024 Newly Added  | 
-|{4C}  Sce_espr_kill  |  05  |++4C ?? ?? ?? ?? ??++|\\ +|{4C}  Sce_espr_kill  |  05  |++4C ID ?? ?? ??++|\\ 
- typedef struct {         // Ptr // Description + typedef struct {   
- UCHAR Opcode;                // 0x4C + UCHAR Opcode; // 0x4C 
- UCHAR EsprId               // ID of the effect sprite to kill + UCHAR id; // Esp_kill() argv[0] 
- UCHAR PosX[2]              // X position of the effect sprite (2 bytes+ UCHAR tp; // Esp_kill() argv[1] 
- UCHAR PosY[2]              // Y position of the effect sprite (2 bytes+ CHAR WorkKind; // Get_matrix() argv[0] 
- UCHAR PosZ[2]              // Z position of the effect sprite (2 bytes+ CHAR WorkNo; // Get_matrix() argv[1] 
- } Sce_espr_kill; + } Sce_espr_kill;  
-This bytecode kills the specified effect sprite at the given position.++|  08-02-2024 Newly Added  | +This bytecode kills the specified espr with the given parameters.++|  08-02-2024 Newly Added  | 
- +|{4D}  Door_model_set  |  22  |++4D ?? ID ?? ?? ?? ?? XX XX YY YY ZZ ZZ DY DY ?? ?? ?? ?? ?? ?? ++|\\ 
-|{4D}  Door_model_set  |  22  |++4D ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x4D 
- UCHAR Opcode;                // 0x4D + UCHAR data0; // data0 
- UCHAR DoorId               // ID of the door model + UCHAR Id; // DOOR_WORK.Id 
- UCHAR PosX[2]              // X position of the door model (2 bytes) + UCHAR OfsY; // DOOR_WORK.Atd[3] 
- UCHAR PosY[2]              // Y position of the door model (2 bytes) + UCHAR BeFlg; // DOOR_WORK.Be_flg 
- UCHAR PosZ[2]              // Z position of the door model (2 bytes) + UCHAR data5; // data5 
- UCHAR RotationX            // X rotation of the door model + USHORT data6; // data6 
- UCHAR RotationY            // Y rotation of the door model + SHORT X; // DOOR_WORK.Atd[3] 
- UCHAR RotationZ            // Z rotation of the door model + 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  |  22  |++4E ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ +This bytecode sets the specified door model parameters.++|  08-02-2024 Newly Added  | 
- typedef struct {         // Ptr // Description +|{4E}  Item_aot_set  |  22  |++4E ID ?? ?? ?? ?? ?? XX XX ZZ ZZ SI ZE SI ZE ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
- UCHAR Opcode;                // 0x4E + typedef struct {   
- UCHAR ItemId               // ID of the item + UCHAR Opcode; // 0x4E 
- UCHAR PosX[2]              // X position of the item (2 bytes) + UCHAR Aot; // Aot 
- UCHAR PosY[2]              // Y position of the item (2 bytes) + UCHAR SCE; // SCE 
- UCHAR PosZ[2]              // Z position of the item (2 bytes) + UCHAR SAT; // SAT 
- UCHAR RotationX            // X rotation of the item + UCHAR nFloor; // nFloor 
- UCHAR RotationY            // Y rotation of the item + UCHAR Super; // Super 
- UCHAR RotationZ            // Z rotation of the item + SHORT X; // X 
- UCHAR ScaleX               // X scale of the item + SHORT Z; // Z 
- UCHAR ScaleY               // Y scale of the item + USHORT W; // 
- UCHAR zAlign[12]           // Always Zero (Alignment bytes) + 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  |  04  |++4F ?? ?? ?? ??++|\\ + UCHAR MD1; // MD1 
- typedef struct {         // Ptr // Description + UCHAR Action; // Action 
- UCHAR Opcode;                // 0x4F + } Item_aot_set;  
- UCHAR KeyId                // ID of the key to check +This bytecode sets the specified item AOT parameters.++|  08-02-2024 Newly Added  | 
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) +|{4F}  Sce_key_ck  |  04  |++4F ?? VA LU ++|\\ 
- USHORT Result              // Result of the key check + typedef struct {   
- } Sce_key_ck; + UCHAR Opcode; // 0x4F 
-This bytecode checks if the specified key is present and returns the result.++|  08-02-2024 Newly Added  | + UCHAR Flag; // Flag 
- + USHORT Value; // Value 
-|{50}  Sce_trg_ck  |  04  |++50 ?? ?? ?? ??++|\\ + } Sce_key_ck;  
- typedef struct {         // Ptr // Description +This bytecode checks the specified key parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode;                // 0x50 +|{50}  Sce_trg_ck  |  04  |++50 ?? VA LU ++|\\ 
- UCHAR TriggerId            // ID of the trigger to check + typedef struct {   
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) + UCHAR Opcode; // 0x50 
- USHORT Result              // Result of the trigger check + UCHAR Flag; // Flag 
- } Sce_trg_ck; + USHORT Value; // Value 
-This bytecode checks if the specified trigger is activated and returns the result.++|  08-02-2024 Newly Added  | + } Sce_trg_ck;  
- +This bytecode checks the specified trigger parameters.++|  08-02-2024 Newly Added  | 
-|{51}  Sce_bgm_control  |  06  |++51 ?? ?? ?? ?? ?? ??++|\\ +|{51}  Sce_bgm_control  |  06  |++51 ID ?? ?? ?? ?? ++|\\ 
- typedef struct {         // Ptr // Description + typedef struct {   
- UCHAR Opcode;                // 0x51 + UCHAR Opcode; // 0x51 
- UCHAR BgmId                // ID of the background music track + UCHAR Id; // Id 
- UCHAR Volume               // Volume level + UCHAR Op; // Op 
- UCHAR Loop                 // Loop flag (0 = no loop, 1 = loop) + UCHAR Type; // Type 
- UCHAR FadeIn               // Fade-in duration + UCHAR VolL; // VolL 
- UCHAR FadeOut              // Fade-out duration + UCHAR VolR; // VolR 
- } Sce_bgm_control; + } Sce_bgm_control;  
-This bytecode controls the playback of the specified background music track with volume, loop, fade-in, and fade-out settings.++|  08-02-2024 Newly Added  | +This bytecode controls the specified BGM parameters.++|  08-02-2024 Newly Added  | 
- +|{52}  Sce_espr_control  |  06  |++52 ID ?? ?? ?? ?? ++|\\ 
-|{52}  Sce_espr_control  |  06  |++52 ?? ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x52 
- UCHAR Opcode;                // 0x52 + UCHAR Id; // Id 
- UCHAR EsprId               // ID of the effect sprite + UCHAR Type; // Type 
- UCHAR Action               // Action to perform (e.g., start, stop) + UCHAR Return; // Return 
- UCHAR PosX[2]              // X position of the effect sprite (2 bytes) + CHAR WorkKind; // WorkKind 
- UCHAR PosY[2]              // Y position of the effect sprite (2 bytes) + CHAR WorkNo; // WorkNo 
- UCHAR PosZ[2]              // Z position of the effect sprite (2 bytes) + } Sce_espr_control;  
- } Sce_espr_control; +This bytecode controls the specified espr parameters.++|  08-02-2024 Newly Added  | 
-This bytecode controls the specified effect sprite with the given action and position settings.++|  08-02-2024 Newly Added  | +|{53}  Sce_fade_set  |  06  |++53 ?? ?? ?? ?? ?? ++|\\ 
- + typedef struct {   
-|{53}  Sce_fade_set  |  06  |++53 ?? ?? ?? ?? ?? ??++|\\ + UCHAR Opcode; // 0x53 
- typedef struct {         // Ptr // Description + UCHAR data0; // data0 
- UCHAR Opcode;                // 0x53 + UCHAR data1; // data1 
- UCHAR FadeId               // ID of the fade effect + UCHAR data2; // data2 
- UCHAR StartIntensity       // Start intensity of the fade effect + USHORT data3; // data3 
- UCHAR EndIntensity         // End intensity of the fade effect + } Sce_fade_set;  
- UCHAR Duration             // Duration of the fade effect +This bytecode sets the specified fade parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Color;                 // Color of the fade effect +|{54}  Sce_espr3d_on  |  22  |++54 00 ?? ?? ?? ?? XX XX YY YY ZZ ZZ DX DX DY DY DZ DZ ?? ?? ++|\\ 
- } 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 zAlign; // zAlign 
-|{54}  Sce_espr3d_on  |  22  |++54 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + USHORT data0; // data0 
- typedef struct {         // Ptr // Description + USHORT data1; // data1 
- UCHAR Opcode;                // 0x54 + USHORT data2; // data2 
- UCHAR Espr3dId             // ID of the 3D effect sprite + SHORT X; // X 
- UCHAR PosX[2]              // X position of the 3D effect sprite (2 bytes) + SHORT Y; // Y 
- UCHAR PosY[2]              // Y position of the 3D effect sprite (2 bytes) + SHORT Z; // Z 
- UCHAR PosZ[2]              // Z position of the 3D effect sprite (2 bytes) + SHORT DirX; // DirX 
- UCHAR RotationX            // X rotation of the 3D effect sprite + SHORT DirY; // DirY 
- UCHAR RotationY            // Y rotation of the 3D effect sprite + SHORT DirZ; // DirZ 
- UCHAR RotationZ            // Z rotation of the 3D effect sprite + 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 turns on the specified 3D espr with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR zAlign[12]           // Always Zero (Alignment bytes) +|{55}  Member_calc  |  06  |++55 ?? ?? ?? ?? VA LU ++|\\ 
- } Sce_espr3d_on; + typedef struct {   
-This bytecode activates the specified 3D effect sprite with the given position, rotation, and scale values.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x55 
- + UCHAR Operator; // Operator 
-|{55}  Member_calc  |  06  |++55 ?? ?? ?? ?? ?? ??++|\\ + USHORT Flag; // Flag 
- typedef struct {         // Ptr // Description + SHORT Value; // Value 
- UCHAR Opcode;                // 0x55 + } Member_calc;  
- UCHAR Operation            // Arithmetic operation to perform +This bytecode performs the specified arithmetic operation on the member with the given value.++|  08-02-2024 Newly Added  | 
- UCHAR Operand1             // First operand index +|{56}  Member_calc2  |  04  |++56 ?? ?? ?? ++|\\ 
- UCHAR Operand2;              // Second operand index + typedef struct {   
- UCHAR Result               // Result index + UCHAR Opcode; // 0x56 
- UCHAR zAlign;                // Always Zero (Alignment byte) + UCHAR Operator; // Operator 
- } Member_calc; + UCHAR Flag; // Flag 
-This bytecode performs the specified arithmetic operation on the operands and stores the result in a member.++|  08-02-2024 Newly Added  | + UCHAR Value; // Value 
- + } Member_calc2;  
-|{56}  Member_calc2  |  04  |++56 ?? ?? ?? ??++|\\ +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  |  08  |++57 00 ?? ?? ?? ?? ?? ++|\\ 
- UCHAR Opcode;                // 0x56 + typedef struct {   
- UCHAR Operation            // Arithmetic operation to perform + UCHAR Opcode; // 0x57 
- UCHAR Operand              // Operand index + UCHAR zAlign; // zAlign 
- UCHAR Result               // Result index + UCHAR Stage; // Stage 
- UCHAR zAlign;                // Always Zero (Alignment byte) + UCHAR Room; // Room 
- } Member_calc2; + USHORT data1; // data1 
-This bytecode performs the specified arithmetic operation on the operand and stores the result in a member.++|  08-02-2024 Newly Added  | + USHORT data2; // data2 
- + } Sce_bgmtbl_set;  
-|{57}  Sce_bgmtbl_set  |  08  |++57 ?? ?? ?? ?? ?? ?? ?? ??++|\\ +This bytecode sets the specified BGM table parameters.++|  08-02-2024 Newly Added  | 
- typedef struct {         // Ptr // Description +|{58}  Plc_rot  |  04  |++58 ID ?? ?? ++|\\ 
- UCHAR Opcode;                // 0x57 + typedef struct {   
- UCHAR BgmTblId             // ID of the background music table + UCHAR Opcode; // 0x58 
- UCHAR TrackId[2]           // ID of the music track (2 bytes) + UCHAR Id; // Id 
- UCHAR Volume               // Volume level + USHORT Sce_free0; // Sce_free0
- UCHAR Loop                 // Loop flag (0 = no loop, 1 = loop) +
- UCHAR FadeIn;                // Fade-in duration +
- UCHAR FadeOut              // Fade-out duration +
- UCHAR zAlign;                // Always Zero (Alignment byte) +
- } Sce_bgmtbl_set; +
-This bytecode sets the properties of the specified background music table with track ID, volume, loop, fade-in, and fade-out settings.++|  08-02-2024 Newly Added  | +
- +
-|{58}  Plc_rot  |  04  |++58 ?? ?? ?? ??++|\\ +
- typedef struct {         // Ptr // Description +
- UCHAR Opcode;                // 0x58 +
- UCHAR RotationX            // X rotation value +
- UCHAR RotationY;             // Y rotation value +
- UCHAR RotationZ            // Z rotation value +
- UCHAR zAlign;                // Always Zero (Alignment byte)+
  } Plc_rot;  } Plc_rot;
-This bytecode sets the rotation values in 3D space.++|  08-02-2024 Newly Added  | +  
- +This bytecode sets the specified rotation parameters.++|  08-02-2024 Newly Added  | 
-|{59}  Xa_on  |  04  |++59 ?? ?? ?? ??++|\\ +|{59}  Xa_on  |  04  |++59 ?? ?? ?? ++|\\ 
- typedef struct {         // Ptr // Description + typedef struct {   
- UCHAR Opcode;                // 0x59 + UCHAR Opcode; // 0x59 
- UCHAR XaId                 // ID of the XA audio stream + UCHAR Mode; // Mode 
- UCHAR Volume;                // Volume level + USHORT Number; // Number 
- UCHAR Loop                 // Loop flag (0 = no loop, 1 = loop) + } Xa_on;  
- UCHAR zAlign;                // Always Zero (Alignment byte) +This bytecode turns on the specified XA with the given parameters.++|  08-02-2024 Newly Added  | 
- } Xa_on; +|{5A}  Weapon_chg  |  02  |++5A ID++|\\  
-This bytecode plays the specified XA audio stream with volume and loop settings.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x5A 
-|{5A}  Weapon_chg  |  02  |++5A ??++|\\ + UCHAR WeaponId; // ID of the weapon to change 
- typedef struct {         // Ptr // Description + } Weapon_chg;  
- UCHAR Opcode;                // 0x5A +This bytecode changes the specified weapon parameters.++|  08-02-2024 Newly Added  | 
- UCHAR WeaponId;              // ID of the weapon to change to +|{5B}  Plc_cnt  |  02  |++5B ID ++|\\ 
- } Weapon_chg; + typedef struct {   
-This bytecode changes the player's weapon to the specified weapon ID.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x5B 
- + UCHAR Id; // Id 
-|{5B}  Plc_cnt  |  02  |++5B ??++|\\ + } Plc_cnt;  
- typedef struct {         // Ptr // Description +This bytecode performs the specified arithmetic operation on the counter with the given value.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode;                // 0x5B +|{5C}  Sce_shake_on  |  03  |++5C ?? ?? ++|\\ 
- UCHAR CounterId            // ID of the counter to increment + typedef struct {   
- } Plc_cnt; + UCHAR Opcode; // 0x5C 
-This bytecode increments the specified counter.++|  08-02-2024 Newly Added  | + CHAR Slide_ofs; // Slide_ofs 
- + CHAR Copy_ofs; // Copy_ofs 
-|{5C}  Sce_shake_on  |  03  |++5C ?? ?? ??++|\\ + } Sce_shake_on;  
- typedef struct {         // Ptr // Description +This bytecode turns on the specified shake effect with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode;                // 0x5C +|{5D}  Mizu_div_set  |  02  |++5D ID ++|\\ 
- UCHAR Intensity            // Intensity of the shake effect + typedef struct {   
- UCHAR Duration             // Duration of the shake effect + UCHAR Opcode; // 0x5D 
- UCHAR Frequency;             // Frequency of the shake effect + UCHAR Id; // Id
- } Sce_shake_on; +
-This bytecode activates the screen shake effect with the specified intensity, duration, and frequency.++|  08-02-2024 Newly Added  | +
- +
-|{5D}  Mizu_div_set  |  02  |++5D ??++|\\ +
- typedef struct {         // Ptr // Description +
- UCHAR Opcode;                // 0x5D +
- UCHAR Division             // Division factor for water effects+
  } 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 water division parameters.++|  08-02-2024 Newly Added  | 
- +|{5E}  Keep_Item_ck  |  02  |++5E ??++|\\  
-|{5E}  Keep_Item_ck  |  02  |++5E ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x5E 
- UCHAR Opcode;                // 0x5E + UCHAR ItemId; // ID of the item to check 
- UCHAR ItemId;                // ID of the item to check + } Keep_Item_ck;  
- } Keep_Item_ck; +This bytecode checks the specified item parameters.++|  08-02-2024 Newly Added  | 
-This bytecode checks if the player has the specified item and returns the result.++|  08-02-2024 Newly Added  | +|{5F}  Xa_vol  |  02  |++5F ??++|\\  
- + typedef struct {   
-|{5F}  Xa_vol  |  02  |++5F ??++|\\ + UCHAR Opcode; // 0x5F 
- typedef struct {         // Ptr // Description + UCHAR Volume; // XA volume level 
- UCHAR Opcode;                // 0x5F + } Xa_vol;  
- UCHAR Volume;                // Volume level for XA audio stream +This bytecode sets the specified XA volume and pan parameters.++|  08-02-2024 Newly Added  | 
- } Xa_vol; +|{60}  Kage_set  |  14  |++60 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
-This bytecode sets the volume level for the XA audio stream.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x60 
-|{60}  Kage_set  |  14  |++60 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + UCHAR Work; // Work 
- typedef struct {         // Ptr // Description + CHAR Id; // Id 
- UCHAR Opcode;                // 0x60 + UCHAR Data0; // Data0 
- UCHAR KageId               // ID of the shadow effect + UCHAR Data1; // Data1 
- UCHAR PosX[2]              // X position of the shadow effect (2 bytes) + UCHAR Data2; // Data2 
- UCHAR PosY[2]              // Y position of the shadow effect (2 bytes) + USHORT Data3; // Data3 
- UCHAR PosZ[2]              // Z position of the shadow effect (2 bytes) + USHORT Data4; // Data4 
- UCHAR ScaleX               // X scale of the shadow effect + 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                // Alpha transparency of the shadow effect +This bytecode sets the specified shadow parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Duration[4]          // Duration of the shadow effect (4 bytes) +|{61}  Cut_be_set  |  04  |++61 ID ?? ?? ++|\\ 
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) + typedef struct {   
- } Kage_set; + UCHAR Opcode; // 0x61 
-This bytecode sets the properties of the specified shadow effect with position, scale, rotation, alpha, and duration values.++|  08-02-2024 Newly Added  | + UCHAR Id; // Id 
- + UCHAR Value; // Value 
-|{61}  Cut_be_set  |  04  |++61 ?? ?? ?? ??++|\\ + UCHAR OnOff; // OnOff 
- typedef struct {         // Ptr // Description + } Cut_be_set;  
- UCHAR Opcode;                // 0x61 +This bytecode sets the specified cutscene parameters.++|  08-02-2024 Newly Added  | 
- UCHAR CutsceneId           // ID of the cutscene to set +|{62}  Sce_Item_lost  |  02  |++62 ID++|\\  
- UCHAR EventId              // ID of the event associated with the cutscene + typedef struct {   
- UCHAR TriggerId            // ID of the trigger associated with the cutscene + UCHAR Opcode; // 0x62 
- UCHAR zAlign;                // Always Zero (Alignment byte) + UCHAR ItemId; // ID of the lost item 
- } Cut_be_set; + } Sce_Item_lost;  
-This bytecode sets the properties of the specified cutscene with event and trigger associations.++|  08-02-2024 Newly Added  | +This bytecode removes the specified item from the inventory.++|  08-02-2024 Newly Added  | 
- +|{63}  Plc_gun_eff  |  01  |++63++|\\  
-|{62}  Sce_Item_lost  |  02  |++62 ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x63 
- UCHAR Opcode;                // 0x62 + } Plc_gun_eff;  
- UCHAR ItemId;                // ID of the item to remove +This bytecode sets the specified gun effect parameters.++|  08-02-2024 Newly Added  | 
- } Sce_Item_lost; +|{64}  Sce_espr_on2  |  16  |++64 ?? ?? ?? ?? ?? ?? XX XX YY YY ZZ ZZ ?? ?? ++|\\ 
-This bytecode removes the specified item from the player'inventory.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x64 
-|{63}  Plc_gun_eff  |  01  |++63++|\\ + UCHAR dir_y_id2; // dir_y_id2 
- typedef struct {         // Ptr // Description + USHORT data1; // data1 
- UCHAR Opcode;                // 0x63 + UCHAR WorkKind; // WorkKind 
- } Plc_gun_eff; + UCHAR WorkNo; // WorkNo 
-This bytecode triggers the gun effect for the current weapon.++|  08-02-2024 Newly Added  | + USHORT data3; // data3 
- + SHORT X; // X 
-|{64}  Sce_espr_on2  |  16  |++64 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + SHORT Y; // Y 
- typedef struct {         // Ptr // Description + SHORT Z; // Z 
- UCHAR Opcode;                // 0x64 + USHORT DirY; // DirY 
- UCHAR EsprId               // ID of the effect sprite + } Sce_espr_on2;  
- UCHAR PosX[2]              // X position of the effect sprite (2 bytes) +This bytecode turns on the specified espr with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR PosY[2]              // Y position of the effect sprite (2 bytes) +|{65}  Sce_espr_kill2  |  02  |++65 ??++|\\  
- UCHAR PosZ[2]              // Z position of the effect sprite (2 bytes) + 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                // Alpha transparency of the effect sprite +This bytecode kills the specified espr with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Duration[4]          // Duration of the effect sprite (4 bytes) +|{66}  Plc_stop  |  01  |++66++|\\  
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) + typedef struct {   
- } Sce_espr_on2; + UCHAR Opcode; // 0x66 
-This bytecode activates the specified effect sprite with position, scale, rotation, alpha, and duration values.++|  08-02-2024 Newly Added  | + } Plc_stop;  
- +This bytecode stops the specified plc function.++|  08-02-2024 Newly Added  | 
-|{65}  Sce_espr_kill2  |  02  |++65 ??++|\\ +|{67}  Aot_set_4p  |  28  |++67 ID ?? ?? ?? ?? ?? XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ ?? ?? ?? ?? ++|\\ 
- typedef struct {         // Ptr // Description + typedef struct {   
- UCHAR Opcode;                // 0x65 + UCHAR Opcode; // 0x67 
- UCHAR EsprId;                // ID of the effect sprite to kill + UCHAR Aot; // Aot 
- } Sce_espr_kill2; + UCHAR SCE; // Id 
-This bytecode kills the specified effect sprite.++|  08-02-2024 Newly Added  | + UCHAR SAT; // Type 
- + UCHAR nFloor; // nFloor 
-|{66}  Plc_stop  |  01  |++66++|\\ + UCHAR Super; // Super 
- typedef struct {         // Ptr // Description + SHORT X0; // X0 
- UCHAR Opcode;                // 0x66 + 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  |  28  |++67 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + SHORT Z2; // Z2 
- typedef struct {         // Ptr // Description + SHORT X3; // X3 
- UCHAR Opcode;                // 0x67 + SHORT Z3; // Z3 
- UCHAR AotId                // ID of the AOT (Animation Object) + USHORT Data0; // Data0 
- UCHAR PosX[2]              // X position of the AOT (2 bytes) + USHORT Data1; // Data1 
- UCHAR PosY[2]              // Y position of the AOT (2 bytes) + USHORT Data2; // Data2 
- UCHAR PosZ[2]              // Z position of the AOT (2 bytes) + } Aot_set_4p;  
- UCHAR RotationX            // X rotation of the AOT +This bytecode sets the specified 4-point AOT parameters.++|  08-02-2024 Newly Added  | 
- UCHAR RotationY            // Y rotation of the AOT +|{68}  Door_aot_set_4p  |  40  |++68 ID ?? ?? ?? ?? ?? XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ XX XX YY YY ZZ ZZ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
- UCHAR RotationZ            // Z rotation of the AOT + 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 SCE; // Id 
- } Aot_set_4p; + UCHAR SAT; // Type 
-This bytecode sets the properties of the specified AOT (Animation Object) with position, rotation, and scale values.++|  08-02-2024 Newly Added  | + UCHAR nFloor; // nFloor 
- + UCHAR Super; // Super 
-|{68}  Door_aot_set_4p  |  40  |++68 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + SHORT X0; // X0 
- typedef struct {         // Ptr // Description + SHORT Z0; // Z0 
- UCHAR Opcode               // 0x68 + SHORT X1; // X1 
- UCHAR DoorId               // ID of the door + SHORT Z1; // Z1 
- UCHAR PosX[2]              // X position of the door (2 bytes) + SHORT X2; // X2 
- UCHAR PosY[2]              // Y position of the door (2 bytes) + SHORT Z2; // Z2 
- UCHAR PosZ[2]              // Z position of the door (2 bytes) + SHORT X3; // X3 
- UCHAR RotationX            // X rotation of the door + SHORT Z3; // Z3 
- UCHAR RotationY            // Y rotation of the door + SHORT Next_pos_x; // Next_pos_x 
- UCHAR RotationZ            // Z rotation of the door + SHORT Next_pos_y; // Next_pos_y 
- UCHAR ScaleX               // X scale of the door + SHORT Next_pos_z; // Next_pos_z 
- UCHAR ScaleY               // Y scale of the door + SHORT Next_cdir_y; // Next_cdir_y 
- UCHAR zAlign[28]           // Always Zero (Alignment bytes) + UCHAR Next_stage; // Next_stage 
- } Door_aot_set_4p; + UCHAR Next_room; // Next_room 
-This bytecode sets the properties of the specified door with position, rotation, and scale values.++|  08-02-2024 Newly Added  | + UCHAR Next_cut; // Next_cut 
- + UCHAR Next_nfloor; // Next_nfloor 
-|{69}  Item_aot_set_4p  |  30  |++69 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + UCHAR Dtex_type; // Dtex_type 
- typedef struct {         // Ptr // Description + UCHAR Door_type; // Door_type 
- UCHAR Opcode;                // 0x69 + UCHAR Knock_type; // Knock_type 
- UCHAR ItemId               // ID of the item + UCHAR Key_id; // Key_id 
- UCHAR PosX[2]              // X position of the item (2 bytes) + UCHAR Key_type; // Key_type 
- UCHAR PosY[2]              // Y position of the item (2 bytes) + UCHAR Free; // Free 
- UCHAR PosZ[2]              // Z position of the item (2 bytes) + } Door_aot_set_4p;  
- UCHAR RotationX            // X rotation of the item +This bytecode sets the specified 4-point door AOT parameters.++|  08-02-2024 Newly Added  | 
- UCHAR RotationY            // Y rotation of the item +|{69}  Item_aot_set_4p  |  30  |++69 ID ?? ?? ?? ?? ?? XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
- UCHAR RotationZ            // Z rotation of the item + typedef struct {   
- UCHAR ScaleX               // X scale of the item + UCHAR Opcode; // 0x69 
- UCHAR ScaleY               // Y scale of the item + UCHAR Aot; // Aot 
- UCHAR zAlign[18]           // Always Zero (Alignment bytes) + UCHAR SCE; // Id 
- } Item_aot_set_4p; + UCHAR SAT; // Type 
-This bytecode sets the properties of the specified item with position, rotation, and scale values.++|  08-02-2024 Newly Added  | + UCHAR nFloor; // nFloor 
- + UCHAR Super; // Super 
-|{6A}  Light_pos_set  |  06  |++6A ?? ?? ?? ?? ?? ??++|\\ + SHORT X0; // X0 
- typedef struct {         // Ptr // Description + SHORT Z0; // Z0 
- UCHAR Opcode;                // 0x6A + SHORT X1; // X1 
- UCHAR PosX[2]              // X position of the light (2 bytes) + SHORT Z1; // Z1 
- UCHAR PosY[2]              // Y position of the light (2 bytes) + SHORT X2; // X2 
- UCHAR PosZ[2]              // Z position of the light (2 bytes) + 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  |  04  |++6B ?? ?? ?? ??++|\\ + USHORT nItem; // nItem 
- typedef struct {         // Ptr // Description + USHORT Flag; // Flag 
- UCHAR Opcode;                // 0x6B + UCHAR MD1; // MD1 
- UCHAR Intensity            // Intensity of the light + UCHAR Action; // Action 
- UCHAR Range;                 // Range of the light + } Item_aot_set_4p;  
- UCHAR Color                // Color of the light +This bytecode sets the specified 4-point item AOT parameters.++|  08-02-2024 Newly Added  | 
- UCHAR zAlign;                // Always Zero (Alignment byte) +|{6A}  Light_pos_set  |  06  |++6A 00 ?? ?? XX XX ++|\\ 
- } Light_kido_set; + typedef struct {   
-This bytecode sets the intensity, range, and color of the specified light.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x6A 
- + UCHAR zAlign; // zAlign 
-|{6C}  Rbj_reset  |  01  |++6C++|\\ + UCHAR Index; // Index 
- typedef struct {         // Ptr // Description + UCHAR XYZ; // XYZ 
- UCHAR Opcode;                // 0x6C + SHORT Position; // 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  |  04  |++6B ?? ?? XX XX ++|\\ 
-|{6D}  Sce_scr_move  |  04  |++6D ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x6B 
- UCHAR Opcode;                // 0x6D + UCHAR Index; // Index 
- UCHAR PosX[2]              // X position of the screen (2 bytes) + SHORT Luminosity; // Luminosity 
- UCHAR PosY[2]              // Y position of the screen (2 bytes) + } Light_kido_set;  
- UCHAR zAlign;                // Always Zero (Alignment byte) +This bytecode sets the specified light intensity and color parameters.++|  08-02-2024 Newly Added  | 
- } Sce_scr_move; +|{6C}  Rbj_reset  |  01  |++6C++|\\  
-This bytecode moves the screen to the specified position.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x6C 
-|{6E}  Parts_set  |  06  |++6E ?? ?? ?? ?? ?? ??++|\\ + } Rbj_reset;  
- typedef struct {         // Ptr // Description +This bytecode resets the specified rbj parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode;                // 0x6E +|{6D}  Sce_scr_move  |  04  |++6D 00 XX XX ++|\\ 
- UCHAR PartId               // ID of the part to set + typedef struct {   
- UCHAR PosX[2]              // X position of the part (2 bytes) + UCHAR Opcode; // 0x6D 
- UCHAR PosY[2]              // Y position of the part (2 bytes) + UCHAR zAlign; // zAlign 
- UCHAR PosZ[2]              // Z position of the part (2 bytes) + SHORT Scrl_y; // Scrl_y 
- } Parts_set; + } Sce_scr_move;  
-This bytecode sets the properties of the specified part with position values.++|  08-02-2024 Newly Added  | +This bytecode moves the specified screen with the given parameters.++|  08-02-2024 Newly Added  | 
- +|{6E}  Parts_set  |  06  |++6E 00 ?? ?? XX XX ++|\\ 
-|{6F}  Movie_on  |  02  |++6F ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x6E 
- UCHAR Opcode;                // 0x6F + UCHAR zAlign; // zAlign 
- UCHAR MovieId;               // ID of the movie to play + CHAR Id; // Id 
- } Movie_on;+ CHAR Type; // Type 
 + SHORT Value; // Value 
 + } Parts_set;  
 +This bytecode sets the specified parts parameters.++|  08-02-2024 Newly Added  | 
 +|{6F}  Movie_on  |  02  |++6F ??++|\\  
 + typedef struct {   
 + UCHAR Opcode; // 0x6F 
 + UCHAR MovieId; // ID of the movie 
 + } Movie_on;
 This bytecode plays the specified movie.++|  08-02-2024 Newly Added  | This bytecode plays the specified movie.++|  08-02-2024 Newly Added  |
- +|{70}  Splc_ret  |  01  |++70++|\\  
-|{70}  Splc_ret  |  01  |++70++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x70 
- UCHAR Opcode;                // 0x70 + } 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  |  01  |++71++|\\  
- + typedef struct {   
-|{71}  Splc_sce  |  01  |++71++|\\ + UCHAR Opcode; // 0x71 
- typedef struct {         // Ptr // Description + } Splc_sce;  
- UCHAR Opcode;                // 0x71 +This bytecode sets the specified splc parameters.++|  08-02-2024 Newly Added  | 
- } Splc_sce; +|{72}  Super_on  |  16  |++72 00 ?? ?? ?? ?? XX XX XX XX XX XX XX XX XX ++|\\ 
-This bytecode sets the specified scene.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x72 
-|{72}  Super_on  |  16  |++72 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + UCHAR zAlign; // zAlign 
- typedef struct {         // Ptr // Description + UCHAR data0; // data0 
- UCHAR Opcode;                // 0x72 + UCHAR data1; // data1 
- UCHAR SuperId              // ID of the super effect + SHORT data2; // data2 
- UCHAR PosX[2]              // X position of the super effect (2 bytes) + SHORT data3; // data3 
- UCHAR PosY[2]              // Y position of the super effect (2 bytes) + SHORT data4; // data4 
- UCHAR PosZ[2]              // Z position of the super effect (2 bytes) + 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                // Alpha transparency of the super effect +This bytecode turns on the specified super with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Duration[4]          // Duration of the super effect (4 bytes) +|{73}  Mirror_set  |  08  |++73 ?? ?? XX XX XX XX XX XX ++|\\ 
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) + typedef struct {   
- } Super_on; + UCHAR Opcode; // 0x73 
-This bytecode activates the specified super effect with position, scale, rotation, alpha, and duration values.++|  08-02-2024 Newly Added  | + UCHAR Flag; // Flag 
- + USHORT Position; // Position 
-|{73}  Mirror_set  |  08  |++73 ?? ?? ?? ?? ?? ?? ?? ??++|\\ + USHORT Min; // Min 
- typedef struct {         // Ptr // Description + USHORT Max; // Max 
- UCHAR Opcode;                // 0x73 + } Mirror_set;  
- UCHAR PosX[2]              // X position of the mirror (2 bytes) +This bytecode sets the specified mirror position parameters.++|  08-02-2024 Newly Added  | 
- UCHAR PosY[2]              // Y position of the mirror (2 bytes) +|{74}  Sce_fade_adjust  |  04  |++74 ?? ?? XX XX ++|\\ 
- UCHAR PosZ[2]              // Z position of the mirror (2 bytes) + typedef struct {   
- UCHAR ScaleX;                // X scale of the mirror + UCHAR Opcode; // 0x74 
- UCHAR ScaleY               // Y scale of the mirror + UCHAR data0; // data0 
- UCHAR Rotation;              // Rotation of the mirror + SHORT data1; // data1 
- } Mirror_set; + } Sce_fade_adjust;  
-This bytecode sets the properties of the specified mirror with position, scale, and rotation values.++|  08-02-2024 Newly Added  | +This bytecode adjusts the specified fade parameters.++|  08-02-2024 Newly Added  | 
- +|{75}  Sce_espr3d_on2  |  22  |++75 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
-|{74}  Sce_fade_adjust  |  04  |++74 ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x75 
- UCHAR Opcode;                // 0x74 + UCHAR dir_y_id2; // dir_y_id2 
- UCHAR FadeId               // ID of the fade effect + USHORT bit; // bit 
- UCHAR Adjustment           // Adjustment value for the fade effect + USHORT data4; // data4 
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) + USHORT data6; // data6 
- } Sce_fade_adjust; + USHORT data8; // data8 
-This bytecode adjusts the properties of the specified fade effect.++|  08-02-2024 Newly Added  | + USHORT dataA; // dataA 
- + USHORT dataC; // dataC 
-|{75}  Sce_espr3d_on2  |  22  |++75 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + USHORT dataE; // dataE 
- typedef struct {         // Ptr // Description + USHORT data10; // data10 
- UCHAR Opcode;                // 0x75 + USHORT data12; // data12 
- UCHAR Espr3dId             // ID of the 3D effect sprite + USHORT data14; // data14 
- UCHAR PosX[2]              // X position of the 3D effect sprite (2 bytes) + } Sce_espr3d_on2;  
- UCHAR PosY[2]              // Y position of the 3D effect sprite (2 bytes) +This bytecode turns on the specified 3D espr with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR PosZ[2]              // Z position of the 3D effect sprite (2 bytes) +|{76}  Sce_Item_get  |  03  |++76 ID ?? ++|\\ 
- UCHAR RotationX            // X rotation of the 3D effect sprite + typedef struct {   
- UCHAR RotationY            // Y rotation of the 3D effect sprite + UCHAR Opcode; // 0x76 
- UCHAR RotationZ            // Z rotation of the 3D effect sprite + UCHAR Id; // Id 
- UCHAR ScaleX               // X scale of the 3D effect sprite + UCHAR Num; // Num 
- UCHAR ScaleY               // Y scale of the 3D effect sprite + } Sce_Item_get;  
- UCHAR zAlign[12]           // Always Zero (Alignment bytes) +This bytecode gets the specified item with the given quantity.++|  08-02-2024 Newly Added  | 
- } Sce_espr3d_on2; +|{77}  Sce_line_start  |  04  |++77 ID XX XX ++|\\ 
-This bytecode activates the specified 3D effect sprite with position, rotation, and scale values.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x77 
-|{76}  Sce_Item_get  |  03  |++76 ?? ?? ??++|\\ + UCHAR Id; // Id 
- typedef struct {         // Ptr // Description + USHORT Value; // Value 
- UCHAR Opcode;                // 0x76 + } Sce_line_start;  
- UCHAR ItemId               // ID of the item to get +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  |  06  |++78 ID XX XX XX XX ++|\\ 
- } Sce_Item_get; + typedef struct {   
-This bytecode adds the specified item to the player's inventory.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x78 
- + UCHAR Id; // Id 
-|{77}  Sce_line_start  |  04  |++77 ?? ?? ?? ??++|\\ + SHORT Data0; // Data0 
- typedef struct {         // Ptr // Description + SHORT Data1; // Data1 
- UCHAR Opcode;                // 0x77 + } Sce_line_main;  
- UCHAR LineId               // ID of the line to start +This bytecode sets the specified line parameters.++|  08-02-2024 Newly Added  | 
- UCHAR zAlign[2]            // Always Zero (Alignment bytes) +|{79}  Sce_line_end  |  01  |++79 ++|\\ 
- UCHAR Duration;              // Duration of the line + 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  |  06  |++78 ?? ?? ?? ?? ?? ??++|\\ +
- typedef struct {         // Ptr // Description +
- UCHAR Opcode;                // 0x78 +
- UCHAR LineId               // ID of the line +
- UCHAR PosX[2]              // X position of the line (2 bytes) +
- UCHAR PosY[2]              // Y position of the line (2 bytes) +
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) +
- } 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  |  01  |++79++|\\ +
- typedef struct {         // Ptr // Description +
- UCHAR Opcode;                // 0x79 +
- } Sce_line_end;+
 This bytecode ends the specified line.++|  08-02-2024 Newly Added  | This bytecode ends the specified line.++|  08-02-2024 Newly Added  |
- +|{7A}  Sce_parts_bomb  |  16  |++7A 00 ?? ?? ?? ?? XX XX XX XX XX XX XX XX XX ++|\\ 
-|{7A}  Sce_parts_bomb  |  16  |++7A ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x7A 
- UCHAR Opcode;                // 0x7A + UCHAR zAlign; // zAlign 
- UCHAR BombId               // ID of the bomb + UCHAR data2; // data2 
- UCHAR PosX[2]              // X position of the bomb (2 bytes) + UCHAR data3; // data3 
- UCHAR PosY[2]              // Y position of the bomb (2 bytes) + UCHAR data4; // data4 
- UCHAR PosZ[2]              // Z position of the bomb (2 bytes) + UCHAR data5; // data5 
- UCHAR ScaleX               // X scale of the bomb + SHORT data6; // data6 
- UCHAR ScaleY               // Y scale of the bomb + SHORT data8; // data8 
- UCHAR Rotation             // Rotation of the bomb + SHORT dataA; // dataA 
- UCHAR Alpha                // Alpha transparency of the bomb + SHORT dataC; // dataC 
- UCHAR Duration[4]          // Duration of the bomb (4 bytes) + SHORT dataE; // dataE 
- UCHAR zAlign[2]            // Always Zero (Alignment bytes) + } Sce_parts_bomb;  
- } Sce_parts_bomb; +This bytecode bombs the specified parts with the given parameters.++|  08-02-2024 Newly Added  | 
-This bytecode sets the properties of the specified bomb with position, scale, rotation, alpha, and duration values.++|  08-02-2024 Newly Added  | +|{7B}  Sce_parts_down  |  16  |++7B ID XX XX XX XX XX XX XX XX XX XX XX XX ++|\\ 
- + typedef struct {   
-|{7B}  Sce_parts_down  |  16  |++7B ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ + UCHAR Opcode; // 0x7B 
- typedef struct {         // Ptr // Description + UCHAR Id; // Id 
- UCHAR Opcode;                // 0x7B + SHORT X; // X 
- UCHAR PartId               // ID of the part to set down + SHORT Y; // Y 
- UCHAR PosX[2]              // X position of the part (2 bytes) + SHORT Z; // Z 
- UCHAR PosY[2]              // Y position of the part (2 bytes) + SHORT cDirZ; // cDirZ 
- UCHAR PosZ[2]              // Z position of the part (2 bytes) + 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;                 // Alpha transparency of the part +This bytecode moves down the specified parts with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Duration[4]          // Duration of the part (4 bytes) +|{7C}  Light_color_set  |  06  |++7C ?? ?? ?? ?? ?? 00 ++|\\ 
- UCHAR zAlign[2];             // Always Zero (Alignment bytes) + typedef struct {   
- } Sce_parts_down; + UCHAR Opcode; // 0x7C 
-This bytecode sets the properties of the specified part with position, scale, rotation, alpha, and duration values.++|  08-02-2024 Newly Added  | + UCHAR Index; // Index 
- + UCHAR R; // R 
-|{7C}  Light_color_set  |  06  |++7C ?? ?? ?? ?? ?? ??++|\\ + UCHAR G; // G 
- typedef struct {         // Ptr // Description + UCHAR B; // B 
- UCHAR Opcode;                // 0x7C + UCHAR zAlign; // zAlign 
- UCHAR R                    // Red color value + } Light_color_set;  
- UCHAR G                    // Green color value +This bytecode sets the specified light color parameters.++|  08-02-2024 Newly Added  | 
- UCHAR B                    // Blue color value +|{7D}  Light_pos_set2  |  06  |++7D ?? ?? ?? ?? XX XX ++|\\ 
- UCHAR Intensity            // Intensity of the light + typedef struct {   
- UCHAR zAlign;                // Always Zero (Alignment byte) + UCHAR Opcode; // 0x7D 
- } Light_color_set; + UCHAR nCut; // nCut 
-This bytecode sets the color and intensity of the specified light.++|  08-02-2024 Newly Added  | + UCHAR Index; // Index 
- + UCHAR XYZ; // XYZ 
-|{7D}  Light_pos_set2  |  06  |++7D ?? ?? ?? ?? ?? ??++|\\ + SHORT Position; // Position 
- typedef struct {         // Ptr // Description + } Light_pos_set2;  
- UCHAR Opcode;                // 0x7D +This bytecode sets the specified light position parameters.++|  08-02-2024 Newly Added  | 
- UCHAR PosX[2]              // X position of the light (2 bytes) +|{7E}  Light_kido_set2  |  06  |++7E 00 ?? ?? XX XX ++|\\ 
- UCHAR PosY[2]              // Y position of the light (2 bytes) + typedef struct {   
- UCHAR PosZ[2]              // Z position of the light (2 bytes) + UCHAR Opcode; // 0x7E 
- } Light_pos_set2; + UCHAR zAlign; // zAlign 
-This bytecode sets the position of the specified light in 3D space.++|  08-02-2024 Newly Added  | + UCHAR nCut; // nCut 
- + UCHAR Index; // Index 
-|{7E}  Light_kido_set2  |  06  |++7E ?? ?? ?? ?? ?? ??++|\\ + USHORT Luminosity; // Luminosity 
- typedef struct {         // Ptr // Description + } Light_kido_set2;  
- UCHAR Opcode;                // 0x7E +This bytecode sets the specified light intensity and color parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Intensity            // Intensity of the light +|{7F}  Light_color_set2  |  06  |++7F ?? ?? ?? ?? ?? ?? ++|\\ 
- UCHAR Range                // Range of the light + typedef struct {   
- UCHAR Color                // Color of the light + UCHAR Opcode; // 0x7F 
- UCHAR zAlign[2]            // Always Zero (Alignment bytes) + UCHAR nCut; // nCut 
- } Light_kido_set2; + UCHAR Index; // Index 
-This bytecode sets the intensity, range, and color of the specified light.++|  08-02-2024 Newly Added  | + UCHAR R; // R 
- + UCHAR G; // G 
-|{7F}  Light_color_set2  |  06  |++7F ?? ?? ?? ?? ?? ??++|\\ + UCHAR B; // B 
- typedef struct {         // Ptr // Description + } Light_color_set2;  
- UCHAR Opcode;                // 0x7F +This bytecode sets the specified light color parameters.++|  08-02-2024 Newly Added  | 
- UCHAR R                    // Red color value +|{80}  Se_vol  |  02  |++80 ?? ??++|\\  
- UCHAR G                    // Green color value + typedef struct {   
- UCHAR B                    // Blue color value + UCHAR Opcode; // 0x80 
- UCHAR Intensity            // Intensity of the light + UCHAR Volume; // Volume level 
- UCHAR zAlign               // Always Zero (Alignment byte) + } Se_vol;  
- } Light_color_set2; +This bytecode sets the specified sound effect volume and pan parameters.++|  08-02-2024 Newly Added  | 
-This bytecode sets the color and intensity of the specified light.++|  08-02-2024 Newly Added  | +|{81}  Keep_Item_ck2   03  |++81 ID ??++|\\  
- + typedef struct {   
-|{80}  Se_vol  |  02  |++80 ??++|\\ + UCHAR Opcode; // 0x81 
- typedef struct {         // Ptr // Description + UCHAR ItemId; // ID of the item to check 
- UCHAR Opcode;                // 0x80 + UCHAR Quantity; // Quantity of the item to check 
- UCHAR Volume;                // Volume level for the sound effect +Keep_Item_ck2;  
- } Se_vol; +This bytecode checks the specified item parameters.++|  08-02-2024 Newly Added  |
-This bytecode sets the volume level for the specified sound effect.++|  08-02-2024 Newly Added  | +
- +
-|{81}  Sce_Item_cmp   03  |++81 ?? ?? ??++|\\ +
- typedef struct {         // Ptr // Description +
- UCHAR Opcode;                // 0x81 +
- UCHAR ItemId;                // ID of the item to compare +
- UCHAR zAlign[2]            // Always Zero (Alignment bytes) +
-Sce_Item_cmp+
-This bytecode compares the specified item with the player's inventory.++|  08-02-2024 Newly Added  | +
 |{82}  Sce_espr_task  |  03  |++82 ?? ?? ??++|\\ |{82}  Sce_espr_task  |  03  |++82 ?? ?? ??++|\\
- typedef struct {         // Ptr // Description + typedef struct {   
- UCHAR Opcode;                // 0x82 + UCHAR Opcode; // 0x82 
- UCHAR TaskId               // ID of the ESPR (effect sprite) task + CHAR WorkKind; // WorkKind 
- UCHAR zAlign[2]            // Always Zero (Alignment bytes) + CHAR WorkNo; // WorkNo 
- } Sce_espr_task; + } Sce_espr_task;  
-This bytecode activates the specified ESPR (effect sprite) task.++|  08-02-2024 Newly Added  | +This bytecode sets the specified espr task parameters.++|  08-02-2024 Newly Added  | 
- +|{83}  Plc_heal  |  01  |++83++|\\  
-|{83}  Plc_heal  |  01  |++83++|\\ + typedef struct {   
- typedef struct {         // Ptr // Description + UCHAR Opcode; // 0x83 
- UCHAR Opcode;                // 0x83 + } 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  |  02  |++84 ?? ??++|\\ 
- + typedef struct {   
-|{84}  St_map_hint  |  02  |++84 ??++|\\ + UCHAR Opcode; // 0x84 
- typedef struct {         // Ptr // Description + UCHAR DrModeTag; // DrModeTag 
- UCHAR Opcode;                // 0x84 + } St_map_hint;  
- UCHAR HintId               // ID of the map hint +This bytecode sets the specified map hint parameters.++|  08-02-2024 Newly Added  | 
- } St_map_hint; +|{85}  Sce_em_pos_ck  |  06  |++85 ?? ?? ?? ?? CO NT++|\\ 
-This bytecode displays the specified map hint.++|  08-02-2024 Newly Added  | + typedef struct {   
- + UCHAR Opcode; // 0x85 
-|{85}  Sce_em_pos_ck  |  06  |++85 ?? ?? ?? ?? ?? ??++|\\ + UCHAR Id; // Id 
- typedef struct {         // Ptr // Description + UCHAR data1; // data1 
- UCHAR Opcode;                // 0x85 + UCHAR Att; // Att 
- UCHAR EmId                 // ID of the enemy or entity + USHORT Flg; // Flg 
- UCHAR PosX[2]              // X position to check (2 bytes) + } Sce_em_pos_ck;  
- UCHAR PosY[2]              // Y position to check (2 bytes) +This bytecode checks the specified enemy position parameters.++|  08-02-2024 Newly Added  | 
- UCHAR zAlign[2]            // Always Zero (Alignment bytes) +|{86}  Poison_ck  |  01  |++86++|\\  
- } Sce_em_pos_ck; + typedef struct {   
-This bytecode checks the position of the specified enemy or entity.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x86 
- + } Poison_ck;  
-|{86}  Poison_ck  |  01  |++86++|\\ +This bytecode checks the specified poison parameters.++|  08-02-2024 Newly Added  | 
- typedef struct {         // Ptr // Description +|{87}  Poison_clr  |  01  |++87++|\\  
- UCHAR Opcode;                // 0x86 + typedef struct {   
- } Poison_ck; + UCHAR Opcode; // 0x87 
-This bytecode checks if the player is poisoned.++|  08-02-2024 Newly Added  | + } Poison_clr;  
- +This bytecode clears the specified poison parameters.++|  08-02-2024 Newly Added  | 
-|{87}  Poison_clr  |  01  |++87++|\\ +|{88}  Sce_Item_lost2  |  03  |++88 ID ??++|\\  
- typedef struct {         // Ptr // Description + typedef struct {   
- UCHAR Opcode;                // 0x87 + UCHAR Opcode; // 0x88 
- } Poison_clr; + UCHAR ItemId; // ID of the item 
-This bytecode clears the player'poison status.++|  08-02-2024 Newly Added  | + UCHAR Quantity; // Quantity of the item 
- + } Sce_Item_lost2;  
-|{88}  Sce_Item_lost2  |  03  |++88 ?? ?? ??++|\\ +This bytecode removes the specified item from the inventory.++|  08-02-2024 Newly Added  | 
- typedef struct {         // Ptr // Description +|{89}  Evt_next2  |  01  |++89++|\\  
- UCHAR Opcode;                // 0x88 + typedef struct {   
- UCHAR ItemId;                // ID of the item to remove + UCHAR Opcode; // 0x89 
- UCHAR zAlign[2]            // Always Zero (Alignment bytes) + } Evt_next2;
- } Sce_Item_lost2; +
-This bytecode removes the specified item from the player'inventory.++|  08-02-2024 Newly Added  | +
- +
-|{89}  Evt_next2  |  01  |++89++|\\ +
- typedef struct {         // Ptr // Description +
- UCHAR Opcode;                // 0x89 +
- } Evt_next2;+
 This bytecode moves to the next event in the sequence.++|  08-02-2024 Newly Added  | This bytecode moves to the next event in the sequence.++|  08-02-2024 Newly Added  |
 +|{8A}  Vib_set0  |  06  |++8A 00 ?? ?? ?? ??++|\\
 + typedef struct {
 + UCHAR Opcode; // 0x8A
 + UCHAR zAlign; // zAlign
 + USHORT data0; // data0
 + USHORT data1; // data1
 + } Vib_set0;
 +This bytecode sets the specified vibration parameters.++|  08-02-2024 Newly Added  |
 +|{8B}  Vib_set1  |  06  |++8B ID  VA LU VA LU++|\\
 + 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.++|  08-02-2024 Newly Added  |
 +|{8C}  Vib_fade_set  |  08  |++8C 00 ?? ?? ?? ?? ?? ??++|\\
 + 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.++|  08-02-2024 Newly Added  |
 +|{8D}  Item_aot_set2  |  24  |++8D ID ?? ?? ?? ?? ?? XX XX ZZ ZZ WW WW DD DD ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\
 + 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.++|  08-02-2024 Newly Added  |
 +|{8E}  Sce_em_set2  |  24  |++8E 00 ID ?? ?? SI ZE ?? ?? ?? XX XX YY YY ZZ ZZ DY DY ?? ?? ?? ??++|\\
 + 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.++|  08-02-2024 Newly Added  |
  
-|{8A}  Vib_set0  |  06  |++8A ?? ?? ?? ?? ?? ??++|\\ 
- typedef struct {         // Ptr // Description 
- UCHAR Opcode;                // 0x8A 
- UCHAR Intensity;             // Intensity of the vibration 
- UCHAR Duration;              // Duration of the vibration 
- UCHAR Frequency;             // Frequency of the vibration 
- UCHAR zAlign[3];             // Always Zero (Alignment bytes) 
- } Vib_set0; 
-This bytecode sets the properties of the vibration effect with intensity, duration, and frequency values.++|  08-02-2024 Newly Added  | 
- 
-|{8B}  Vib_set1  |  06  |++8B ?? ?? ?? ?? ?? ??++|\\ 
- typedef struct {         // Ptr // Description 
- UCHAR Opcode;                // 0x8B 
- UCHAR Intensity;             // Intensity of the vibration 
- UCHAR Duration;              // Duration of the vibration 
- UCHAR Frequency;             // Frequency of the vibration 
- UCHAR zAlign[3];             // Always Zero (Alignment bytes) 
- } Vib_set1; 
-This bytecode sets the properties of the vibration effect with intensity, duration, and frequency values.++|  08-02-2024 Newly Added  | 
- 
-|{8C}  Vib_fade_set  |  08  |++8C ?? ?? ?? ?? ?? ?? ?? ??++|\\ 
- typedef struct {         // Ptr // Description 
- UCHAR Opcode;                // 0x8C 
- UCHAR FadeId;                // Fade ID 
- UCHAR StartIntensity;        // Start intensity 
- UCHAR EndIntensity;          // End intensity 
- UCHAR Duration;              // Duration 
- UCHAR Frequency;             // Frequency 
- UCHAR zAlign[2];             // Alignment bytes 
- } Vib_fade_set; 
-This bytecode sets the fade effect for vibration.++|  08-02-2024 Newly Added  | 
- 
-|{8D}  Item_aot_set2  |  24  |++8D ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ 
- typedef struct {         // Ptr // Description 
- UCHAR Opcode;                // 0x8D 
- UCHAR ItemId;                // ID of the item 
- UCHAR PosX[2];               // X position of the item (2 bytes) 
- UCHAR PosY[2];               // Y position of the item (2 bytes) 
- UCHAR PosZ[2];               // Z position of the item (2 bytes) 
- UCHAR RotationX;             // X rotation of the item 
- UCHAR RotationY;             // Y rotation of the item 
- UCHAR RotationZ;             // Z rotation of the item 
- UCHAR ScaleX;                // X scale of the item 
- UCHAR ScaleY;                // Y scale of the item 
- UCHAR zAlign[12];            // Always Zero (Alignment bytes) 
- } Item_aot_set2; 
-This bytecode sets the properties of the specified item with position, rotation, and scale values.++|  08-02-2024 Newly Added  | 
  
-|{8E}  Sce_em_set2  |  24  |++8E ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\ 
- typedef struct {         // Ptr // Description 
- UCHAR Opcode;                // 0x8E 
- UCHAR EmId;                  // ID of the enemy or entity 
- UCHAR PosX[2];               // X position (2 bytes) 
- UCHAR PosY[2];               // Y position (2 bytes) 
- UCHAR PosZ[2];               // Z position (2 bytes) 
- UCHAR RotationX;             // X rotation 
- UCHAR RotationY;             // Y rotation 
- UCHAR RotationZ;             // Z rotation 
- UCHAR ScaleX;                // X scale 
- UCHAR ScaleY;                // Y scale 
- UCHAR Health;                // Health value 
- UCHAR zAlign[12];            // Always Zero (Alignment bytes) 
- } Sce_em_set2; 
-This bytecode sets the specified enemy or entity with the given position, rotation, scale, and health properties.++|  08-02-2024 Newly Added  | 
re2_opcodes.1722659929.txt.gz · Last modified: 2024/08/02 21:38 by 3lric