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/03 00:53] 3lricre2_opcodes [2024/08/04 06:23] (current) 3lric
Line 1: Line 1:
-====== !!SECTION UNDER CONSTRUCTION!! ====== 
- 
 ^  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 // 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x01 // 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x02 // 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 ID++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x03 // 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 ?? ?? ID++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x04 // 0x04 + UCHAR Opcode; // 0x04
  UCHAR data1; // Typically FF  UCHAR data1; // Typically FF
- UCHAR GoSub; // Opcode for GoSub 0x18  + UCHAR GoSub; // Opcode for GoSub 0x18 
- UCHAR ScdId; // Sub Script ID to Jump to + UCHAR ScdId; // Sub Script ID to Jump to
  } 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 ID++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x05 // 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 SI ZE++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x06 // 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 Size; // Size of the block 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 SI ZE++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x07 // 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 Size; // Size of the block to check
  } 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 size of the block to check if the corresponding Ifel_ck condition is met.++|  08-02-2024 Newly Added  |
 |{08}  Endif  |  02  |++08 00++|\\  |{08}  Endif  |  02  |++08 00++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x08 // 0x08  + UCHAR Opcode; // 0x08 
- UCHAR zAlign; // Always Zero (Alignment byte) + UCHAR zAlign; // Always Zero (Alignment byte)
  } Endif;   } 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 ?? ?? 00++|\\  +|{09}  Sleep  |  04  |++09 ?? CO NT++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x09 // 0x09  + UCHAR Opcode; // 0x09 
- UCHAR Sleeping; // Opcode for Sleeping 0x0A  + UCHAR Sleeping; // Opcode for Sleeping 0x0A 
- USHORT Count; // Timer / Sleep Duration + USHORT Count; // Timer / Sleep Duration
  } Sleep;   } 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 ?? 00++|\\  +|{0A}  Sleeping  |  03  |++0A CO NT++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x0A // 0x0A  + UCHAR Opcode; // 0x0A 
- USHORT Count; // Timer / Sleep Duration + USHORT Count; // Timer / Sleep Duration
  } 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x0B // 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 used before 0C will wait until the current XA sound has finished playing before proceeding.++|  08-02-2024 Newly Added  |
 |{0C}  Wsleeping  |  01  |++0C++|\\  |{0C}  Wsleeping  |  01  |++0C++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x0C // 0x0C + UCHAR Opcode; // 0x0C
  } Wsleeping;   } Wsleeping;
 This bytecode used after 0B will wait until the current XA sound has finished playing before proceeding.++|  08-02-2024 Newly Added  | This bytecode used after 0B will wait until the current XA sound has finished playing before proceeding.++|  08-02-2024 Newly Added  |
-|{0D}  For  |  06  |++0D 00 ?? ?? ?? ??++|\\  +|{0D}  For  |  06  |++0D 00 SI ZE CO NT++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x0D // 0x0D  + UCHAR Opcode; // 0x0D 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // Always Zero (Alignment byte) 
- USHORT Size; // Size of the block to check  + USHORT Size; // Size of the block to check 
- USHORT Count; // Amount of times block is looped + USHORT Count; // Amount of times block is looped
  } For;   } 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x0E // 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 ?? ??++|\\  +|{0F}  While  |  04  |++0F 00 SI ZE++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x0F // 0x0F  + UCHAR Opcode; // 0x0F 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // Always Zero (Alignment byte) 
- SHORT Size; // Size of the block to check + USHORT Size; // Size of the block to check
  } While;   } While;
 This bytecode begins a while-loop that continues as long as the specified condition is true.++|  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 ID++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x10 // 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 ?? ??++|\\  +|{11}  Do  |  04  |++11 00 SI ZE++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x11 // 0x11  + UCHAR Opcode; // 0x11 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // Always Zero (Alignment byte) 
- SHORT Size; // Size of the block to check + USHORT Size; // Size of the block to check
  } Do;   } Do;
 This bytecode begins a do-while loop that executes the loop body once before checking the condition.++|  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 ID++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x12 // 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 ID SI ZE++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x13 // 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 Size; // Size of the block to check
  } 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 size.++|  08-02-2024 Newly Added  |
-|{14}  Case  |  06  |++14 ID ?? ?? ?? 00++|\\  +|{14}  Case  |  06  |++14 00 SI ZE VA LU++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x14 // 0x14  + UCHAR Opcode; // 0x14 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // Always Zero (Alignment byte) 
- USHORT Size; // Size of the block to check  + USHORT Size; // Size of the block to check 
- USHORT CaseValue; // Value to compare with the switch variable + USHORT CaseValue; // Value to compare with the switch variable
  } 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x15 // 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x16 // 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  |  04  |++17 ?? ?? 00 00++|\\  +|{17}  Goto  |  06  |++17 ?? ?? ?? ?? ?? ??++|\\ 
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x17 // 0x17 + UCHAR Opcode;       // 0x17 
- UCHAR Ifel_ctr; // Always 0xFF (0x01 on r304-sub05, only+ UCHAR Ifel_ctr;     // Always 0xFF (or 0x01 on specific cases
- UCHAR Loop_ctr; // Always 0xFF (0x00 on r500-sub04 and sub07, only+ UCHAR Loop_ctr;     // Always 0xFF (or 0x00 on specific cases
- UCHAR zAlign; // Always 0x00 + UCHAR zAlign;       // Always 0x00 
- SHORT Offset; // Relative Pointer, always references same script + 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 ID++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x18 // 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 ID++|\\  +|{19}  Return  |  02  |++19 00++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x19 // 0x19  + UCHAR Opcode; // 0x19 
- UCHAR SubroutineId; // ID of the subroutine to return from + UCHAR zAlign; // Always Zero (Alignment byte)
  } 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 ID++|\\  +|{1A}  Break  |  02  |++1A 00++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x1A // 0x1A  + UCHAR Opcode; // 0x1A 
- UCHAR LoopId; // ID of the loop to break from + UCHAR zAlign; // Always Zero (Alignment byte)
  } 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 ?? ?? 00 ??++|\\  +|{1B}  For2  |  06  |++1B 00 XX XX 00 XX XX++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x1B // 0x1B  + UCHAR Opcode; // 0x1B 
- UCHAR zAlign0; // Always Zero (Alignment byte)  + UCHAR zAlign; // Always Zero (Alignment byte) 
- SHORT StartValue; // Start value of the loop counter  + SHORT StartValue; // Start value of the loop counter 
- UCHAR zAlign1; // Always Zero (Alignment byte)  + UCHAR zAlign2; // Always Zero (Alignment byte) 
- UCHAR EndValue; // End value of the loop counter + SHORT 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x1C // 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 ?? ?? ??++|\\  +|{1D}  Work_copy  |  04  |++1D ?? ID ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x1D // 0x1D  + UCHAR Opcode; // 0x1D 
- UCHAR Source; // Source index  + UCHAR Source; // Source index 
- UCHAR Destination; // Destination index  + UCHAR DestinationId; // 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}  Nop1E   01  |++1E++|\\  +|{1E}  Nop   01  |++1E++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x1E // 0x1E  + UCHAR Opcode; // 0x1E 
-Nop1E; +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}  Nop1F   01  |++1F++|\\  +|{1F}  Nop   01  |++1F++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x1F // 0x1F  + UCHAR Opcode; // 0x1F 
-Nop1F; +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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x20 // 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 ?? ?? ??++|\\  +|{21}  Ck  |  04  |++21 ?? ID ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x21 // 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 ?? ?? ??++|\\  +|{22}  Set  |  04  |++22 ?? ID ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x22 // 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 ?? ?? ?? ?? ??++|\\  +|{23}  Cmp  |  06  |++23 00 ID ?? VA LU++|\\ 
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x23 // 0x23  + UCHAR Opcode;       // 0x23 
- UCHAR Flag; // System flag to compare  + UCHAR zAlign;      // Always 0x00 
- UCHAR Operator; // Comparison operator  + UCHAR MemberId    // Id of the member to compare 
- USHORT Value; // Value to compare against  + UCHAR Operator;     // Type of comparison 
- } Cmp; + SHORT Value;       // Value to compare the member to 
 + } 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 ?? ??++|\\  +|{24}  Save  |  04  |++24 ID XX XX++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x24 // 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 ?? ??++|\\  +|{25}  Copy  |  03  |++25 ID ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x25 // 0x25 + UCHAR Opcode; // 0x25
  UCHAR Destination; // Destination index  UCHAR Destination; // Destination index
- UCHAR Source; // Source index + UCHAR Source; // Source 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 ?? ?? ?? ?? ??++|\\  +|{26}  Calc  |  06  |++26 00 ?? ?? VA LU++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x26 // 0x26  + UCHAR Opcode; // 0x26 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR Operator; // Arithmetic operation to perform  + UCHAR Operator; // Arithmetic operation to perform 
- UCHAR Flag; // Memory Location to apply math to + UCHAR Flag; // Memory Location to apply math to
  SHORT Value; // Amount used in operation  SHORT Value; // Amount used in operation
  } Calc;   } 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 // 0x27  + UCHAR Opcode;        // 0x27 
- UCHAR Operator; // Arithmetic operation to perform  + UCHAR Operator;     // Type of operation 
- UCHAR Flag; // Memory Location to apply math to  + UCHAR Flag;         // F_atari, etc 
- UCHAR Value; // Amount used in operation + 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x28 // 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++|\\  |{29}  Cut_chg  |  02  |++29 ID++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x29 // 0x29  + UCHAR Opcode; // 0x29 
- UCHAR CutId; // ID of the camera to change to + UCHAR CutId; // ID of the cutscene
  } Cut_chg;   } Cut_chg;
 This bytecode changes the current camera to the specified camera ID.++|  08-02-2024 Newly Added  | This bytecode changes the current camera to the specified camera ID.++|  08-02-2024 Newly Added  |
 |{2A}  Cut_old  |  01  |++2A++|\\  |{2A}  Cut_old  |  01  |++2A++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x2A // 0x2A + UCHAR Opcode; // 0x2A
  } Cut_old;   } Cut_old;
 This bytecode reverts to the previous camera.++|  08-02-2024 Newly Added  | This bytecode reverts to the previous camera.++|  08-02-2024 Newly Added  |
-|{2B}  Message_on  |  06  |++2B 00 ID ?? ?? ??++|\\  +|{2B}  Message_on  |  06  |++2B 00 ?? ?? SI ZE++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x2B // 0x2B  + UCHAR Opcode; // 0x2B 
- UCHAR Type; // Sub/Main? + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR MessageId; // ID of the message to display  + UCHAR Type; // Message type 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR MessageId; // ID of the message to display 
- USHORT DisplayTime; // Time to display the message + USHORT DisplayTime; // Time to display the message
  } Message_on;   } Message_on;
 This bytecode displays the specified message.++|  08-02-2024 Newly Added  | This bytecode displays the specified message.++|  08-02-2024 Newly Added  |
-|{2C}  Aot_set  |  20  |++2C ID ?? ?? FL ?? XX XX ZZ ZZ WW WW DD DD ?? ?? ?? ?? ?? ?? 00 00++|\\  +|{2C}  Aot_set  |  20  |++2C ID ?? ?? ?? ?? XX XX ZZ ZZ SI ZE SI ZE ?? ?? ?? ?? ?? ??++|\\  
- typedef struct { // Ptr // Description  + typedef struct {
  UCHAR Opcode; // 0x2C  UCHAR Opcode; // 0x2C
- CHAR Aot; // Aot + CHAR Aot; // Aot 
- UCHAR SCE; // Id /* tagSCE_AOT + UCHAR SCE; // Id 
- UCHAR SAT; // Type+ UCHAR SAT; // Type
  UCHAR nFloor; // nFloor  UCHAR nFloor; // nFloor
  UCHAR Super; // Super  UCHAR Super; // Super
- SHORT X; // Position + SHORT X; // Position 
- SHORT Z; // Position + SHORT Z; // Position 
- USHORT W; // Size + USHORT W; // Size 
- USHORT D; // Size */ tagSCE_AOT + USHORT D; // Size 
- USHORT Data0; // Sce_Message + USHORT Data0; // Sce_Message / Flag Type / Always 0x00FF 
- // byte0 ??? + USHORT Data1; // Sce_Message / Flag Id / Script Id Init Complete 
- // byte1 MSG Id + USHORT Data2; // Always 0xFFFF 
- // + } Aot_set;
- // Sce_Flg_chg +
- // Flag Type +
- // For example, if(Ck(ROOM, 0x01, OFF)) +
- // This variable would be 0x0005 +
- // +
- // Sce_Event +
- // Always 0x00FF +
- // +
- USHORT Data1; // Sce_Message +
- // byte0 ??? +
- // byte1 ??? +
- // +
- // Sce_Flg_chg +
- // Flag Id +
- // For example, if(Ck(ROOM, 0x01, OFF)) +
- // This variable would be 0x0001 +
- // +
- // Sce_Event +
- // byte0 Script Id Init +
- // byte1 Script Id Complete +
- // +
- USHORT Data2; // Sce_Message +
- // Always 0xFFFF +
- // +
- } Aot_set; // 0x2C // 0x00 bytes // 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 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00++|\\  +|{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++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x2D // 0x2D + UCHAR Opcode; // 0x2D 
- UCHAR MD1; // MD1 File Id + UCHAR MD1; // MD1 File Id 
- UCHAR ModelId; // ID of the object model+ UCHAR Id; // Global->Ob_model[].Id
  UCHAR Ccol_old; // CC_WORK structure  UCHAR Ccol_old; // CC_WORK structure
  UCHAR Ccol_no; // CC_WORK structure  UCHAR Ccol_no; // CC_WORK structure
  UCHAR Ctex_old; // CC_WORK structure  UCHAR Ctex_old; // CC_WORK structure
- UCHAR nFloor; // Floor+ UCHAR nFloor; // 
  UCHAR Super; //   UCHAR Super; // 
  USHORT Type; // Global->Ob_model[].Type  USHORT Type; // Global->Ob_model[].Type
  USHORT BeFlag; // Global->Ob_model[].Be_flg  USHORT BeFlag; // Global->Ob_model[].Be_flg
  SHORT Attribute; // Global->Ob_model[].Attribute  SHORT Attribute; // Global->Ob_model[].Attribute
- SHORT PosX; // X position (2 bytes)  + SHORT X; //  
- SHORT PosY; // Y position (2 bytes)  + SHORT Y; //  
- SHORT PosZ; // Z position (2 bytes)  + SHORT Z; //  
- SHORT DirX; // X direction (2 bytes)  + SHORT DirX; //  
- SHORT DirY; // Y direction (2 bytes)  + SHORT DirY; //  
- SHORT DirZ; // Z direction (2 bytes)  + SHORT DirZ; //  
- SHORT AtariOffsetX; // For Moveable Object + SHORT AtariOffsetX; //  
- SHORT AtariOffsetY; // For Moveable Object  + SHORT AtariOffsetY; //  
- SHORT AtariOffsetZ; // For Moveable Object + SHORT AtariOffsetZ; //  
- SHORT AtariSizeX; // For Moveable Object + SHORT AtariSizeX; //  
- SHORT AtariSizeY; // For Moveable Object + SHORT AtariSizeY; //  
- SHORT AtariSizeZ; // For Moveable Object  + SHORT AtariSizeZ; //  
- } Obj_model_set; + } 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 ?? ??++|\\  +|{2E}  Work_set  |  03  |++2E ?? ID++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x2E // 0x2E  + UCHAR Opcode; // 0x2E 
- UCHAR Type; // Type of Work Set to Select + UCHAR Type; // Type of Work Set to Select 
- UCHAR Entity; // ID of Entity to select + UCHAR EntityId; // ID of Entity to select
  } 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 ID ?? 00++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x2F // 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 + USHORT SpeedValue; // Value of the speed setting
  } Speed_set;   } 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x30 // 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 { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x31 // 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 00 XX XX YY YY ZZ ZZ++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x32 // 0x32  + UCHAR Opcode; // 0x32 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // Always Zero (Alignment byte) 
- SHORT PosX; // X position (2 bytes)  + SHORT PosX; // X position 
- SHORT PosY; // Y position (2 bytes)  + SHORT PosY; // Y position 
- SHORT PosZ; // Z position (2 bytes) + SHORT PosZ; // Z position
  } 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 RX RX RY RY RZ RZ++|\\  +|{33}  Dir_set  |  08  |++33 00 DX DX DY DY DZ DZ++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x33 // 0x33  + UCHAR Opcode; // 0x33 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // Always Zero (Alignment byte) 
- SHORT DirX; // X direction (2 bytes)  + SHORT DirX; // X direction 
- SHORT DirY; // Y direction (2 bytes)  + SHORT DirY; // Y direction 
- SHORT DirZ; // Z direction (2 bytes) + SHORT DirZ; // Z direction
  } 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 ID ?? ?? 00++|\\  +|{34}  Member_set  |  04  |++34 ?? ?? ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x34 // 0x34  + UCHAR Opcode; // 0x34 
- UCHAR Destination; // Set written from + UCHAR Destination; // Destination 
- SHORT Source; // Memory to be written to + SHORT Source; // Source 
- } Member_set; + } 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 ID ??++|\\  +|{35}  Member_set2  |  03  |++35 ?? ?? ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x34 // 0x34  + UCHAR Opcode; // 0x35 
- UCHAR Destination; // Memory to be written to + UCHAR Destination; // Destination 
- UCHAR Source; // Set written from + UCHAR Source; // Source 
- } 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 ID ?? ?? ?? ?? ?? XX XX YY YY ZZ ZZ++|\\  +|{36}  Se_on  |  12  |++36 ?? ?? ?? ?? XX XX YY YY ZZ ZZ++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x36 // 0x36  + UCHAR Opcode; // 0x36 
- UCHAR SeId; // ID of the sound effect  + UCHAR VAB; // VAB Bank Id 
- UCHAR Volume; // Volume of the sound effect + SHORT EDT; // EDT Sample Id
  SHORT data0; // Sound Reverberation, Work Aot/Obj No  SHORT data0; // Sound Reverberation, Work Aot/Obj No
- SHORT PosX; // X position (2 bytes)  + SHORT X; // Position 
- SHORT PosY; // Y position (2 bytes)  + SHORT Y
- SHORT PosZ; // Z position (2 bytes)  + SHORT Z
- } Se_on;  + } Se_on;  
-This bytecode plays the specified sound effect with the given properties.++|  08-02-2024 Newly Added  | +This bytecode plays the specified sound effect with the given parameters.++|  08-02-2024 Newly Added  | 
-|{37}  Sca_id_set  |  04  |++37 ID ?? ?? 00++|\\  +|{37}  Sca_id_set  |  04  |++37 ?? ?? ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x37 // 0x37  + UCHAR Opcode; // 0x37 
- UCHAR ScaId; // ID of the Boundary  + UCHAR iEntry; // SCA Collision Entry 
- USHORT Id; // New Collision Height + USHORT Id; // New Collision ID 
- } Sca_id_set;  + } Sca_id_set;  
-This bytecode turns a boundary on or off.++|  08-02-2024 Newly Added  |+This bytecode sets the specified scale ID to the given value.++|  08-02-2024 Newly Added  |
 |{38}  Flr_set  |  03  |++38 ID ??++|\\  |{38}  Flr_set  |  03  |++38 ID ??++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x38 // 0x38  + UCHAR Opcode; // 0x38 
- UCHAR FlrId; // ID of the floor  + UCHAR Id
- UCHAR Flag;  + UCHAR Flag; 
- } Flr_set;  + } Flr_set;  
-This bytecode sets the height of the specified floor.++|  08-02-2024 Newly Added  | +This bytecode sets the specified floor ID to the given value.++|  08-02-2024 Newly Added  | 
-|{39}  Dir_ck  |  08  |++39 RX RX RY RY RZ RZ 00++|\\  +|{39}  Dir_ck  |  08  |++39 00 XX XX ZZ ZZ ?? ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x39 // 0x39  + UCHAR Opcode; // 0x39 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // 0x00 
- USHORT DirX; // X direction to check (2 bytes)  + SHORT X
- USHORT DirY; // Y direction to check (2 bytes)  + SHORT Z
- USHORT DirZ; // Z direction to check (2 bytes)  + SHORT Add
- } Dir_ck;  + } Dir_ck;  
-This bytecode checks the direction in 3D space.++|  08-02-2024 Newly Added  |+This bytecode checks the specified direction coordinates.++|  08-02-2024 Newly Added  |
 |{3A}  Sce_espr_on  |  16  |++3A 00 ?? ?? ?? ?? ?? ?? XX XX YY YY ZZ ZZ DY DY++|\\  |{3A}  Sce_espr_on  |  16  |++3A 00 ?? ?? ?? ?? ?? ?? XX XX YY YY ZZ ZZ DY DY++|\\
- typedef struct { // Ptr // Description  + typedef struct {
  UCHAR Opcode; // 0x3A  UCHAR Opcode; // 0x3A
- UCHAR zAlign;+ UCHAR zAlign; // 0x00
  USHORT data0;  USHORT data0;
  USHORT data1;  USHORT data1;
  USHORT data2;  USHORT data2;
- SHORT PosX; // X position (2 bytes)  + SHORT X
- SHORT PosY; // Y position (2 bytes)  + SHORT Y
- SHORT PosZ; // Z position (2 bytes)  + SHORT Z
- SHORT DirY; // Y direction to check (2 bytes)  + SHORT DirY; 
- } Sce_espr_on;  + } Sce_espr_on;  
-This bytecode activates the specified effect sprite with the given properties.++|  08-02-2024 Newly Added  | +This bytecode turns on the specified espr with the given parameters.++|  08-02-2024 Newly Added  | 
-|{3B}  Door_aot_set  |  32  |++3B ID ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00++|\\  +|{3B}  Door_aot_set  |  32  |++3B ID ?? ?? ?? ?? ?? XX XX ZZ ZZ SI ZE SI ZE XX XX YY YY ZZ ZZ 00 ?? ?? ?? ?? ++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x3B // 0x3B  + UCHAR Opcode; // 0x3B 
- UCHAR AotId; // 0x01 // Index ID + UCHAR Aot; // Aot 
- UCHAR SCE; // 0x02 // Dummy + UCHAR SCE; // Id /* tagSCE_AOT 
- UCHAR SAT; // 0x03 // Dummy + UCHAR SAT; // Type 
- UCHAR nFloor; // 0x04 // nFloor + UCHAR nFloor; // nFloor 
- UCHAR Super; // 0x05 // Attach Function + UCHAR Super; // Super 
- SHORT X; // 0x06 // X Position + SHORT X; // Position 
- SHORT Z; // 0x08 // Z Position + SHORT Z; // Position 
- USHORT W; // 0x0A // X/Z Width + USHORT W; // Size 
- USHORT D; // 0x0C // Y Width + USHORT D; // Size *tagSCE_AOT 
- SHORT Next_pos_x; // 0x0E // X coordinates in next room + SHORT Next_pos_x; // *tagIN_DOOR_WORK 
- SHORT Next_pos_y; // 0x10 // Y coordinates in next room + SHORT Next_pos_y; // 
- SHORT Next_pos_z; // 0x12 // Z coordinates in next room + SHORT Next_pos_z; // 
- SHORT Next_cdir_y; // 0x14 // Rotation in next room + SHORT Next_cdir_y; // 
- UCHAR Next_stage; // 0x16 // Next room Stage + UCHAR Next_stage; // 
- UCHAR Next_room; // 0x17 // Next room Number + UCHAR Next_room; // 
- UCHAR Next_cut; // 0x18 // Next room amera angle + UCHAR Next_cut; // 
- UCHAR Next_nfloor; // 0x19 // Next room Floor + UCHAR Next_nfloor; // 
- UCHAR Dtex_type; // 0x1A // Door Type + UCHAR Dtex_type; // DO2 File Id 
- UCHAR Door_type; // 0x1B // DO2 Animation Set + UCHAR Door_type; // DO2 Animation Set 
- UCHAR Knock_type; // 0x1C // Dummy + UCHAR Knock_type; // Sound 
- UCHAR Key_id; // 0x1D // Lock Flag + UCHAR Key_id; //  
- UCHAR Key_type; // 0x1E // Key Required + UCHAR Key_type; //  
- UCHAR Free; // 0x1F // Dummy + 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 ID++|\\  +|{3C}  Cut_auto  |  02  |++3C ?? ++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x3C // 0x3C  + UCHAR Opcode; // 0x3C 
- UCHAR OnOff; // Set whether the camera changes automatically when hitting switch zone or not. + UCHAR OnOff; // 00 OFF, 01 ON 
- } Cut_auto;  + } Cut_auto;  
-This bytecode starts the specified cutscene automatically.++|  08-02-2024 Newly Added  | +This bytecode sets the specified auto cutscene parameters.++|  08-02-2024 Newly Added  | 
-|{3D}  Member_copy  |  03  |++3D ID ID++|\\  +|{3D}  Member_copy  |  03  |++3D ?? ?? ++|\\  
- typedef struct {  // Ptr // Description   + typedef struct {   
- UCHAR Opcode; // 0x3D // 0x3D  + UCHAR Opcode; // 0x3D 
- CHAR DestinationId; // ID of the destination member  + UCHAR Destination; // Destination 
- CHAR SourceMemberId; // ID of the source member  + UCHAR Source; // Source 
- } Member_copy;  + } Member_copy;  
-This bytecode copies the properties from the source member to the destination member.++|  08-02-2024 Newly Added  | +This bytecode copies the specified member parameters from the source to the destination.++|  08-02-2024 Newly Added  | 
-|{3E}  Member_cmp  |  06  |++3E ?? ?? ?? ?? ??++|\\  +|{3E}  Member_cmp  |  06  |++3E 00 ?? ?? VA LU++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x3E // 0x3E  + UCHAR Opcode; // 0x3E 
- UCHAR zAlign; + UCHAR zAlign; // Always Zero (Alignment byte) 
- UCHAR Flag; // System flag to compare  + UCHAR Flag; // Load_member_addr_branch() argv[1] 
- UCHAR Operator; // Comparison operator  + UCHAR Operator; // Comparison operator 
- SHORT Value; // Value to compare against + SHORT Value; // Value to compare
  } Member_cmp;   } Member_cmp;
-This bytecode compares the specified property of the member with the given value using the specified comparison type.++|  08-02-2024 Newly Added  | +This bytecode compares the specified member parameters with the given value.++|  08-02-2024 Newly Added  | 
-|{3F}  Plc_motion  |  04  |++3F ID ?? ?? 00++|\\  +|{3F}  Plc_motion  |  04  |++3F ID ?? ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x3F // 0x3F  + UCHAR Opcode; // 0x3F 
- UCHAR MotionId; // ID of the motion to play  + UCHAR MotionId; // EDD/EMR Id 
- UCHAR Speed; // Speed of the motion  + UCHAR Mode; // Mode to set the motion to 
- UCHAR Loop; // Loop flag (0 = no loop, 1 = loop)  + UCHAR Param; // Parameter for the motion
- UCHAR zAlign; // Always Zero (Alignment byte) +
  } Plc_motion;   } Plc_motion;
-This bytecode sets the specified motion to play at the given speed with the optional loop flag.++|  08-02-2024 Newly Added  |+This bytecode sets the specified motion parameters.++|  08-02-2024 Newly Added  |
 |{40}  Plc_dest  |  08  |++40 00 ?? ?? XX XX ZZ ZZ++|\\  |{40}  Plc_dest  |  08  |++40 00 ?? ?? XX XX ZZ ZZ++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x40 // 0x40  + UCHAR Opcode; // 0x40 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // 0x00 
- UCHAR Animation; // EDD/EMR Id + UCHAR Animation; // EDD/EMR Id 
- UCHAR Bit; // Room_flg + UCHAR Bit; // Room_flg 
- SHORT X; + SHORT X; // Destination 
- SHORT Z; // Destination + SHORT Z; // Destination 
- } Plc_dest;  + } Plc_dest;  
-This bytecode sets the destination position in 3D space.++|  08-02-2024 Newly Added  | +This bytecode sets the specified destination parameters.++|  08-02-2024 Newly Added  | 
-|{41}  Plc_neck  |  10  |++41 ID XX XX YY YY ZZ ZZ ?? ??++|\\  +|{41}  Plc_neck  |  10  |++41 ?? XX XX YY YY ZZ ZZ ?? ?? ++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x41 // 0x41  + UCHAR Opcode; // 0x41 
- UCHAR NeckId; // ID of the neck motion  + UCHAR Op; // 
- SHORT PosX; // X position of the neck motion (2 bytes)  + SHORT X; // 
- SHORT PosY; // Y position of the neck motion (2 bytes)  + SHORT Y; // 
- SHORT PosZ; // Z position of the neck motion (2 bytes)  + SHORT Z; // 
- UCHAR SpeedX; + UCHAR SpeedX; // 
- UCHAR SpeedZ; + UCHAR SpeedZ; // 
- } Plc_neck;  + } Plc_neck;  
-This bytecode sets the specified neck motion with the given position and rotation properties.++|  08-02-2024 Newly Added  |+This bytecode sets the specified neck parameters.++|  08-02-2024 Newly Added  |
 |{42}  Plc_ret  |  01  |++42++|\\  |{42}  Plc_ret  |  01  |++42++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x42 // 0x42  + UCHAR Opcode; // 0x42 
- } Plc_ret;  + } Plc_ret;  
-This bytecode returns control from the current motion or behavior.++|  08-02-2024 Newly Added  | +This bytecode returns from the specified plc function.++|  08-02-2024 Newly Added  | 
-|{43}  Plc_flg  |  04  |++43 ?? ?? 00++|\\  +|{43}  Plc_flg  |  04  |++43 00 ?? ??++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x43 // 0x43  + UCHAR Opcode; // 0x43 
- UCHAR Type; //  + UCHAR zAlign; // 0x00 
- USHORT Flag; //  + UCHAR data0; //  
- } Plc_flg;  + UCHAR data1; //  
-This bytecode sets the specified flag to the given value.++|  08-02-2024 Newly Added  | + } Plc_flg; 
-|{44}  Sce_em_set  |  22  |++44 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\  +This bytecode sets the specified flag parameters.++|  08-02-2024 Newly Added  | 
- typedef struct { // Ptr // Description   +|{44}  Sce_em_set  |  22  |++44 00 ?? ID ?? ?? ?? ?? ?? XX XX YY YY ZZ ZZ DY DY ?? ?? ++|\\  
- UCHAR Opcode; // 0x44 // 0x44  + typedef struct {  
- UCHAR Nop; // 0x01 // 0x00  + UCHAR Opcode; // 0x44 
- CHAR EmId; // SCE Index ID of the enemy or entity  + UCHAR Nop; // 0x00 
- UCHAR EMD; // EMD File to load + CHAR Em_no; // Em_no 
- UCHAR Animation // + UCHAR Id; // EMD File Id for Em_bin_load() function 
- UCHAR AI Related // + USHORT Type; // Type 
- UCHAR nFloor; // nFloor  + UCHAR nFloor; // nFloor 
- UCHAR Soundbank // + UCHAR Sound_flg; // Sound_flg 
- UCHAR Texture // Texture selector for EM1F + UCHAR Model_type; // Model_type 
- UCHAR Flag // Enemy Flag + UCHAR Em_set_flg; // Em_set_flg 
- USHORT PosX; // X position (2 bytes)  + SHORT Pos_x; // Position 
- USHORT PosY; // Y position (2 bytes)  + SHORT Pos_y; // Position 
- USHORT PosZ; // Z position (2 bytes)  + SHORT Pos_z; // Position 
- UCHAR RotationX; // X rotation  + SHORT Cdir_y; // Rotation Y 
- UCHAR Speed; // Movement speed  + SHORT Motion; // Motion 
- UCHAR Animation # // + SHORT Ctr_flg; // Ctr_flg 
- UCHAR Anim Block // + } Sce_em_set;  
- UCHAR Anim Execution//  +This bytecode sets the specified enemy parameters.++|  08-02-2024 Newly Added  | 
- UCHAR zAlign; // Always Zero (Alignment bytes)  +|{45}  Col_chg_set  |  05  |++45 ?? ?? ?? ??++|\\ 
- } Sce_em_set;  + typedef struct {  
-This bytecode sets the specified enemy or entity with the given position, rotation, speed, and health properties.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x45 
-|{45}  Col_chg_set  |  05  |++45 ?? ?? ?? ??++|\\  + UCHAR Data0; // Data0 
- typedef struct { // Ptr // Description   + UCHAR Data1; // Data1 
- UCHAR Opcode; // 0x45 // 0x45  + UCHAR Data2; // Data2 
- UCHAR R; // Red color value  + UCHAR Data3; // Data3 
- UCHAR G; // Green color value  + } Col_chg_set;  
- UCHAR B; // Blue color value  +This bytecode sets the specified color parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Alpha; // Alpha transparency value  +|{46}  Aot_reset  |  10  |++46 ID ?? ?? ?? XX XX XX XX ++|\\ 
- } Col_chg_set;  + typedef struct {  
-This bytecode sets the specified color change properties.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x46 
-|{46}  Aot_reset  |  10  |++46 ID 00 00 00 00 00 00 00 00++|\\  + CHAR Aot; // Aot 
- typedef struct { // Ptr // Description   + UCHAR SCE; // SCE 
- UCHAR Opcode; // 0x46 // 0x46  + UCHAR SAT; // SAT 
- UCHAR AotId; // ID of the AOT to reset  + SHORT Data0; // Data0 
- UCHAR SCE; + SHORT Data1; // Data1 
- UCHAR SAT; // Scenario Atari + SHORT Data2; // Data2 
- SHORT Data0; + } Aot_reset;  
- SHORT Data1; +This bytecode resets the specified AOT parameters.++|  08-02-2024 Newly Added  | 
- SHORT Data2; +|{47}  Aot_on  |  02  |++47 ID++|\\ 
- } Aot_reset;  + typedef struct {  
-This bytecode resets the specified AOT to its default state.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x47 
-|{47}  Aot_on  |  02  |++47 ID++|\\  + CHAR Aot; // Aot 
- typedef struct { // Ptr // Description   + } Aot_on;  
- UCHAR Opcode; // 0x47 // 0x47  +This bytecode turns on the specified AOT.++|  08-02-2024 Newly Added  | 
- CHAR AotId; // ID of the AOT to activate  +|{48}  Super_set  |  16  |++48 00 ?? ID XX XX YY YY ZZ ZZ DX DX DY DY DZ DZ ++|\\ 
- } Aot_on;  + typedef struct {  
-This bytecode activates the specified AOT.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x48 
-|{48}  Super_set  |  16  |++48 ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? ?? ?? 00 00++|\\  + UCHAR zAlign; // Alignment byte (always 0x00
- typedef struct { // Ptr // Description   + UCHAR Work; // Work Type 
- UCHAR Opcode; // 0x48 // 0x48  + UCHAR Id; // Work Aot/Obj No 
- UCHAR SuperId; // ID of the super effect  + SHORT pX; // Parent 
- USHORT PosX; // X position (2 bytes)  + SHORT pY; // Parent 
- USHORT PosY; // Y position (2 bytes)  + SHORT pZ; // Parent Z 
- USHORT PosZ; // Z position (2 bytes)  + SHORT dX; // Destination X 
- UCHAR ScaleX; // X scale  + SHORT dY; // Destination Y 
- UCHAR ScaleY; // Y scale  + SHORT dZ; // Destination Z 
- UCHAR Rotation; // Rotation value  + } Super_set;  
- UCHAR Alpha; // Alpha transparency value  +This bytecode sets the specified super parameters.++|  08-02-2024 Newly Added  | 
- ULONG Duration; // Duration of the effect (4 bytes)  +|{49}  Super_reset  |  08  |++49 00 DX DX DY DY DZ DZ ++|\\ 
- UCHAR zAlign[2]; // Always Zero (Alignment bytes)  + typedef struct {  
- } Super_set;  + UCHAR Opcode; // 0x49 
-This bytecode sets the specified super effect with the given properties.++|  08-02-2024 Newly Added  | + UCHAR zAlign; // Alignment byte (always 0x00) 
-|{49}  Super_reset  |  08  |++49 ID 00 00 00 00 00 00 00++|\\  + SHORT dX; // Destination X 
- typedef struct { // Ptr // Description   + SHORT dY; // Destination Y 
- UCHAR Opcode; // 0x49 // 0x49  + SHORT dZ; // Destination Z 
- UCHAR SuperId; // ID of the super effect to reset  + } Super_reset;  
- UCHAR zAlign[7]; // Always Zero (Alignment bytes)  +This bytecode resets the specified super parameters.++|  08-02-2024 Newly Added  |
- } Super_reset;  +
-This bytecode resets the specified super effect to its default state.++|  08-02-2024 Newly Added  |+
 |{4A}  Plc_gun  |  02  |++4A ID++|\\  |{4A}  Plc_gun  |  02  |++4A ID++|\\
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x4A // 0x4A  + UCHAR Opcode; // 0x4A 
- UCHAR GunId; // ID of the gun to equip + UCHAR GunId; // ID of the gun to set
  } Plc_gun;   } Plc_gun;
-This bytecode equips the specified gun.++|  08-02-2024 Newly Added  | +This bytecode sets the specified gun parameters.++|  08-02-2024 Newly Added  | 
-|{4B}  Cut_replace  |  03  |++4B ?? ID++|\\  +|{4B}  Cut_replace  |  03  |++4B ID ??++|\\ 
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x4B // 0x4B  + UCHAR Opcode; // 0x4B 
- UCHAR OldCutId; // ID of the cutscene to replace  + UCHAR Id; // Id 
- UCHAR NewCutId; // ID of the new cutscene  + UCHAR Value; // Value 
- } Cut_replace;  + } Cut_replace;  
-This bytecode replaces the specified cutscene with a new cutscene.++|  08-02-2024 Newly Added  | +This bytecode replaces the specified cutscene parameters.++|  08-02-2024 Newly Added  | 
-|{4C}  Sce_espr_kill  |  05  |++4C ID XX XX YY YY ZZ ZZ++|\\  +|{4C}  Sce_espr_kill  |  05  |++4C ID ?? ?? ??++|\\ 
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x4C // 0x4C  + UCHAR Opcode; // 0x4C 
- UCHAR EsprId; // ID of the effect sprite to kill  + UCHAR id; // Esp_kill() argv[0] 
- USHORT PosX; // X position of the effect sprite (2 bytes)  + UCHAR tp; // Esp_kill() argv[1] 
- USHORT PosY; // Y position of the effect sprite (2 bytes)  + CHAR WorkKind; // Get_matrix() argv[0] 
- USHORT PosZ; // 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 RX RY RZ ?? ?? ?? ?? ?? ?? 00 00++|\\  +|{4D}  Door_model_set  |  22  |++4D ?? ID ?? ?? ?? ?? XX XX YY YY ZZ ZZ DY DY ?? ?? ?? ?? ?? ?? ++|\\ 
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x4D // 0x4D  + UCHAR Opcode; // 0x4D 
- UCHAR ModelId; // ID of the door model  + UCHAR data0; // data0 
- USHORT PosX; // X position of the door model (2 bytes)  + UCHAR Id; // DOOR_WORK.Id 
- USHORT PosY; // Y position of the door model (2 bytes)  + UCHAR OfsY; // DOOR_WORK.Atd[3] 
- USHORT PosZ; // Z position of the door model (2 bytes)  + UCHAR BeFlg; // DOOR_WORK.Be_flg 
- UCHAR RotationX; // X rotation of the door model  + UCHAR data5; // data5 
- UCHAR RotationY; // Y rotation of the door model  + USHORT data6; // data6 
- UCHAR RotationZ; // Z rotation of the door model  + SHORT X; // DOOR_WORK.Atd[3] 
- UCHAR Speed; // Movement speed  + SHORT Y; // DOOR_WORK.Atd[3] 
- UCHAR Health; // Health value  + SHORT Z; // DOOR_WORK.Atd[3] 
- UCHAR zAlign[8]; // Always Zero (Alignment bytes)  + SHORT DirY; // DOOR_WORK.Atd[3] 
- } Door_model_set;  + USHORT data10; // DOOR_WORK.MATRIX 
-This bytecode sets the specified door model with the given properties.++|  08-02-2024 Newly Added  | + USHORT data11; // DOOR_WORK.MATRIX 
-|{4E}  Trg_model_set  |  10  |++4E ID XX XX YY YY ZZ ZZ ?? ?? ?? 00++|\\  + USHORT data12; // DOOR_WORK.MATRIX 
- typedef struct { // Ptr // Description   + } Door_model_set;  
- UCHAR Opcode; // 0x4E // 0x4E  +This bytecode sets the specified door model parameters.++|  08-02-2024 Newly Added  | 
- UCHAR TrgId; // ID of the target model  +|{4E}  Item_aot_set  |  22  |++4E ID ?? ?? ?? ?? ?? XX XX ZZ ZZ SI ZE SI ZE ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
- USHORT PosX; // X position of the target model (2 bytes)  + typedef struct {  
- USHORT PosY; // Y position of the target model (2 bytes)  + UCHAR Opcode; // 0x4E 
- USHORT PosZ; // Z position of the target model (2 bytes)  + UCHAR Aot; // Aot 
- UCHAR Scale; // Scale value  + UCHAR SCE; // SCE 
- UCHAR Alpha; // Alpha transparency value  + UCHAR SAT; // SAT 
- UCHAR zAlign[2]; // Always Zero (Alignment bytes)  + UCHAR nFloor; // nFloor 
-Trg_model_set;  + UCHAR Super; // Super 
-This bytecode sets the specified target model with the given properties.++|  08-02-2024 Newly Added  | + SHORT X; // X 
-|{4F}  Plc_gun_equip  |  02  |++4F ID++|\\  + SHORT Z; // Z 
- typedef struct { // Ptr // Description   + USHORT W; // W 
- UCHAR Opcode; // 0x4F // 0x4F  + USHORT D; // D 
- UCHAR GunId; // ID of the gun to equip  + USHORT iItem; // iItem 
-Plc_gun_equip;  + USHORT nItem; // nItem 
-This bytecode equips the specified gun.++|  08-02-2024 Newly Added  | + USHORT Flag; // Flag 
-|{50}  Pos_reset  |  08  |++50 XX XX YY YY ZZ ZZ 00++|\\  + UCHAR MD1; // MD1 
- typedef struct { // Ptr // Description   + UCHAR Action; // Action 
- UCHAR Opcode; // 0x50 // 0x50  +Item_aot_set;  
- USHORT PosX; // X position to reset to (2 bytes)  +This bytecode sets the specified item AOT parameters.++|  08-02-2024 Newly Added  | 
- USHORT PosY; // Y position to reset to (2 bytes)  +|{4F}  Sce_key_ck  |  04  |++4F ?? VA LU ++|\\ 
- USHORT PosZ; // Z position to reset to (2 bytes)  + typedef struct {  
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR Opcode; // 0x4F 
-Pos_reset;  + UCHAR Flag; // Flag 
-This bytecode resets the position to the specified coordinates.++|  08-02-2024 Newly Added  | + USHORT Value; // Value 
-|{51}  Member_hide  |  02  |++51 ID++|\\  +Sce_key_ck;  
- typedef struct { // Ptr // Description   +This bytecode checks the specified key parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode; // 0x51 // 0x51  +|{50}  Sce_trg_ck  |  04  |++50 ?? VA LU ++|\\ 
- UCHAR MemberId; // ID of the member to hide  + typedef struct {  
-Member_hide;  + UCHAR Opcode; // 0x50 
-This bytecode hides the specified member.++|  08-02-2024 Newly Added  | + UCHAR Flag; // Flag 
-|{52}  Member_show  |  02  |++52 ID++|\\  + USHORT Value; // Value 
- typedef struct { // Ptr // Description   +Sce_trg_ck;  
- UCHAR Opcode; // 0x52 // 0x52  +This bytecode checks the specified trigger parameters.++|  08-02-2024 Newly Added  | 
- UCHAR MemberId; // ID of the member to show  +|{51}  Sce_bgm_control  |  06  |++51 ID ?? ?? ?? ?? ++|\\ 
-Member_show;  + typedef struct {  
-This bytecode shows the specified member.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x51 
-|{53}  Sce_work_set  |  05  |++53 ?? ?? ?? ?? 00++|\\  + UCHAR Id; // Id 
- typedef struct { // Ptr // Description   + UCHAR Op; // Op 
- UCHAR Opcode; // 0x53 // 0x53  + UCHAR Type; // Type 
- UCHAR WorkId; // ID of the work  + UCHAR VolL; // VolL 
- UCHAR Parameter1; // Parameter 1 for the work  + UCHAR VolR; // VolR 
- UCHAR Parameter2; // Parameter 2 for the work  +Sce_bgm_control;  
- UCHAR zAlign; // Always Zero (Alignment byte)  +This bytecode controls the specified BGM parameters.++|  08-02-2024 Newly Added  | 
-Sce_work_set;  +|{52}  Sce_espr_control  |  06  |++52 ID ?? ?? ?? ?? ++|\\ 
-This bytecode sets the specified work with the given parameters.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{54}  Sce_trg_chk  |  08  |++54 ID XX XX YY YY ZZ ZZ 00++|\\  + UCHAR Opcode; // 0x52 
- typedef struct { // Ptr // Description   + UCHAR Id; // Id 
- UCHAR Opcode; // 0x54 // 0x54  + UCHAR Type; // Type 
- UCHAR TrgId; // ID of the target  + UCHAR Return; // Return 
- USHORT PosX; // X position of the target (2 bytes)  + CHAR WorkKind; // WorkKind 
- USHORT PosY; // Y position of the target (2 bytes)  + CHAR WorkNo; // WorkNo 
- USHORT PosZ; // Z position of the target (2 bytes)  +Sce_espr_control;  
- UCHAR zAlign; // Always Zero (Alignment byte)  +This bytecode controls the specified espr parameters.++|  08-02-2024 Newly Added  | 
-Sce_trg_chk;  +|{53}  Sce_fade_set  |  06  |++53 ?? ?? ?? ?? ?? ++|\\ 
-This bytecode checks the specified target at the given position.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{55}  Sce_trg_on  |  04  |++55 ID ?? 00++|\\  + UCHAR Opcode; // 0x53 
- typedef struct { // Ptr // Description   + UCHAR data0; // data0 
- UCHAR Opcode; // 0x55 // 0x55  + UCHAR data1; // data1 
- UCHAR TrgId; // ID of the target  + UCHAR data2; // data2 
- UCHAR State; // State to set the target to  + USHORT data3; // data3 
- UCHAR zAlign; // Always Zero (Alignment byte)  +Sce_fade_set;  
-Sce_trg_on;  +This bytecode sets the specified fade parameters.++|  08-02-2024 Newly Added  | 
-This bytecode sets the state of the specified target.++|  08-02-2024 Newly Added  | +|{54}  Sce_espr3d_on  |  22  |++54 00 ?? ?? ?? ?? XX XX YY YY ZZ ZZ DX DX DY DY DZ DZ ?? ?? ++|\\ 
-|{56}  Sce_trg_off  |  02  |++56 ID++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x54 
- UCHAR Opcode; // 0x56 // 0x56  + UCHAR zAlign; // zAlign 
- UCHAR TrgId; // ID of the target  + USHORT data0; // data0 
-Sce_trg_off;  + USHORT data1; // data1 
-This bytecode turns off the specified target.++|  08-02-2024 Newly Added  | + USHORT data2; // data2 
-|{57}  Sce_trg_reset  |  02  |++57 ID++|\\  + SHORT X; // X 
- typedef struct { // Ptr // Description   + SHORT Y; // Y 
- UCHAR Opcode; // 0x57 // 0x57  + SHORT Z; // Z 
- UCHAR TrgId; // ID of the target  + SHORT DirX; // DirX 
-Sce_trg_reset;  + SHORT DirY; // DirY 
-This bytecode resets the specified target.++|  08-02-2024 Newly Added  | + SHORT DirZ; // DirZ 
-|{58}  Sce_esp_off  |  02  |++58 ID++|\\  + SHORT data3; // data3 
- typedef struct { // Ptr // Description   +Sce_espr3d_on;  
- UCHAR Opcode; // 0x58 // 0x58  +This bytecode turns on the specified 3D espr with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR EsprId; // ID of the effect sprite  +|{55}  Member_calc  |  06  |++55 ?? ?? ?? ?? VA LU ++|\\ 
-Sce_esp_off;  + typedef struct {  
-This bytecode turns off the specified effect sprite.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x55 
-|{59}  Trg_speed_set   04  |++59 ID ?? 00++|\\  + UCHAR Operator; // Operator 
- typedef struct { // Ptr // Description   + USHORT Flag; // Flag 
- UCHAR Opcode; // 0x59 // 0x59  + SHORT Value; // Value 
- UCHAR TrgId; // ID of the target  +Member_calc;  
- UCHAR Speed; // Speed to set  +This bytecode performs the specified arithmetic operation on the member with the given value.++|  08-02-2024 Newly Added  | 
- UCHAR zAlign; // Always Zero (Alignment byte)  +|{56}  Member_calc2  |  04  |++56 ?? ?? ?? ++|\\ 
- } Trg_speed_set;  + typedef struct {  
-This bytecode sets the speed of the specified target.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x56 
-|{5A}  Sce_espr_copy  |  05  |++5A ID XX XX YY YY ZZ ZZ++|\\  + UCHAR Operator; // Operator 
- typedef struct { // Ptr // Description   + UCHAR Flag; // Flag 
- UCHAR Opcode; // 0x5A // 0x5A  + UCHAR Value; // Value 
- UCHAR EsprId; // ID of the effect sprite to copy  +Member_calc2;  
- USHORT PosX; // X position of the effect sprite (2 bytes)  +This bytecode performs the specified arithmetic operation on the member with the given value.++|  08-02-2024 Newly Added  | 
- USHORT PosY; // Y position of the effect sprite (2 bytes)  +|{57}  Sce_bgmtbl_set  |  08  |++57 00 ?? ?? ?? ?? ?? ++|\\ 
- USHORT PosZ; // Z position of the effect sprite (2 bytes)  + typedef struct {  
-Sce_espr_copy;  + UCHAR Opcode; // 0x57 
-This bytecode copies the specified effect sprite at the given position.++|  08-02-2024 Newly Added  | + UCHAR zAlign; // zAlign 
-|{5B}  Em_door_set  |  24  |++5B ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00++|\\  + UCHAR Stage; // Stage 
- typedef struct { // Ptr // Description   + UCHAR Room; // Room 
- UCHAR Opcode; // 0x5B // 0x5B  + USHORT data1; // data1 
- UCHAR EmId; // ID of the enemy or entity  + USHORT data2; // data2 
- USHORT PosX; // X position of the enemy or entity (2 bytes)  +Sce_bgmtbl_set;  
- USHORT PosY; // Y position of the enemy or entity (2 bytes)  +This bytecode sets the specified BGM table parameters.++|  08-02-2024 Newly Added  | 
- USHORT PosZ; // Z position of the enemy or entity (2 bytes)  +|{58}  Plc_rot  |  04  |++58 ID ?? ?? ++|\\ 
- UCHAR RotationX; // X rotation  + typedef struct {  
- UCHAR RotationY; // Y rotation  + UCHAR Opcode; // 0x58 
- UCHAR RotationZ; // Z rotation  + UCHAR Id; // Id 
- UCHAR Speed; // Movement speed  + USHORT Sce_free0; // Sce_free0 
- UCHAR Health; // Health value  +Plc_rot; 
- UCHAR zAlign[10]; // Always Zero (Alignment bytes)  +  
-Em_door_set;  +This bytecode sets the specified rotation parameters.++|  08-02-2024 Newly Added  | 
-This bytecode sets the specified enemy or entity with the given properties.++|  08-02-2024 Newly Added  | +|{59}  Xa_on   04  |++59 ?? ?? ?? ++|\\ 
-|{5C}  Sce_item_set  |  12  |++5C ID ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x59 
- UCHAR Opcode; // 0x5C // 0x5C  + UCHAR Mode; // Mode 
- UCHAR ItemId; // ID of the item  + USHORT Number; // Number 
- UCHAR Quantity; // Quantity of the item  + } Xa_on;  
- UCHAR Property1; // Property 1 of the item  +This bytecode turns on the specified XA with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Property2; // Property 2 of the item  +|{5A}  Weapon_chg  |  02  |++5A ID++|\\  
- UCHAR Property3; // Property 3 of the item  + typedef struct {  
- UCHAR Property4; // Property 4 of the item  + UCHAR Opcode; // 0x5A 
- UCHAR Property5; // Property 5 of the item  + UCHAR WeaponId; // ID of the weapon to change 
- UCHAR Property6; // Property 6 of the item  +Weapon_chg;  
- UCHAR Property7; // Property 7 of the item  +This bytecode changes the specified weapon parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Property8; // Property 8 of the item  +|{5B}  Plc_cnt  |  02  |++5B ID ++|\\ 
- UCHAR zAlign; // Always Zero (Alignment byte)  + typedef struct {  
-Sce_item_set;  + UCHAR Opcode; // 0x5B 
-This bytecode sets the specified item with the given properties.++|  08-02-2024 Newly Added  | + UCHAR Id; // Id 
-|{5D}  Sce_item_reset  |  04  |++5D ID ?? ??++|\\  +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; // 0x5D // 0x5D  +|{5C}  Sce_shake_on  |  03  |++5C ?? ?? ++|\\ 
- UCHAR ItemId; // ID of the item  + typedef struct {  
- UCHAR Quantity; // Quantity of the item  + UCHAR Opcode; // 0x5C 
- UCHAR zAlign; // Always Zero (Alignment byte)  + CHAR Slide_ofs; // Slide_ofs 
-Sce_item_reset;  + CHAR Copy_ofs; // Copy_ofs 
-This bytecode resets the specified item with the given quantity.++|  08-02-2024 Newly Added  | +Sce_shake_on;  
-|{5E}  Sce_work_chk  |  04  |++5E ID ?? 00++|\\  +This bytecode turns on the specified shake effect with the given parameters.++|  08-02-2024 Newly Added  | 
- typedef struct { // Ptr // Description   +|{5D}  Mizu_div_set  |  02  |++5D ID ++|\\ 
- UCHAR Opcode; // 0x5E // 0x5E  + typedef struct {  
- UCHAR WorkId; // ID of the work  + UCHAR Opcode; // 0x5D 
- UCHAR State; // State to check  + UCHAR Id; // Id 
- UCHAR zAlign; // Always Zero (Alignment byte)  +Mizu_div_set
-Sce_work_chk;  +This bytecode sets the specified water division parameters.++|  08-02-2024 Newly Added  | 
-This bytecode checks the state of the specified work.++|  08-02-2024 Newly Added  | +|{5E}  Keep_Item_ck  |  02  |++5E ??++|\\  
-|{5F}  Sce_work_on  |  04  |++5F ID ?? 00++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x5E 
- UCHAR Opcode; // 0x5F // 0x5F  + UCHAR ItemId; // ID of the item to check 
- UCHAR WorkId; // ID of the work  +Keep_Item_ck;  
- UCHAR State; // State to set the work to  +This bytecode checks the specified item parameters.++|  08-02-2024 Newly Added  | 
- UCHAR zAlign; // Always Zero (Alignment byte)  +|{5F}  Xa_vol  |  02  |++5F ??++|\\  
-Sce_work_on;  + typedef struct {  
-This bytecode sets the state of the specified work.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x5F 
-|{60}  Sce_work_off  |  02  |++60 ID++|\\  + UCHAR Volume; // XA volume level 
- typedef struct { // Ptr // Description   +Xa_vol;  
- UCHAR Opcode; // 0x60 // 0x60  +This bytecode sets the specified XA volume and pan parameters.++|  08-02-2024 Newly Added  | 
- UCHAR WorkId; // ID of the work  +|{60}  Kage_set  |  14  |++60 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
- } Sce_work_off;  + typedef struct {  
-This bytecode turns off the specified work.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x60 
-|{61}  Sce_work_reset  |  02  |++61 ID++|\\  + UCHAR Work; // Work 
- typedef struct { // Ptr // Description   + CHAR Id; // Id 
- UCHAR Opcode; // 0x61 // 0x61  + UCHAR Data0; // Data0 
- UCHAR WorkId; // ID of the work  + UCHAR Data1; // Data1 
-Sce_work_reset;  + UCHAR Data2; // Data2 
-This bytecode resets the specified work.++|  08-02-2024 Newly Added  | + USHORT Data3; // Data3 
-|{62}  Sce_item_off  |  02  |++62 ID++|\\  + USHORT Data4; // Data4 
- typedef struct { // Ptr // Description   + USHORT Data5; // Data5 
- UCHAR Opcode; // 0x62 // 0x62  + USHORT Data6; // Data6 
- UCHAR ItemId; // ID of the item  +Kage_set;  
-Sce_item_off;  +This bytecode sets the specified shadow parameters.++|  08-02-2024 Newly Added  | 
-This bytecode turns off the specified item.++|  08-02-2024 Newly Added  | +|{61}  Cut_be_set  |  04  |++61 ID ?? ?? ++|\\ 
-|{63}  Sce_item_on  |  04  |++63 ID ?? 00++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x61 
- UCHAR Opcode; // 0x63 // 0x63  + UCHAR Id; // Id 
- UCHAR ItemId; // ID of the item  + UCHAR Value; // Value 
- UCHAR State; // State to set the item to  + UCHAR OnOff; // OnOff 
- UCHAR zAlign; // Always Zero (Alignment byte)  +Cut_be_set;  
-Sce_item_on;  +This bytecode sets the specified cutscene parameters.++|  08-02-2024 Newly Added  | 
-This bytecode sets the state of the specified item.++|  08-02-2024 Newly Added  | +|{62}  Sce_Item_lost  |  02  |++62 ID++|\\  
-|{64}  Sce_esp_reset  |  02  |++64 ID++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x62 
- UCHAR Opcode; // 0x64 // 0x64  + UCHAR ItemId; // ID of the lost item 
- UCHAR EsprId; // ID of the effect sprite  +Sce_Item_lost;  
-Sce_esp_reset;  +This bytecode removes the specified item from the inventory.++|  08-02-2024 Newly Added  | 
-This bytecode resets the specified effect sprite.++|  08-02-2024 Newly Added  | +|{63}  Plc_gun_eff  |  01  |++63++|\\  
-|{65}  Sce_eff_set  |  12  |++65 ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? 00++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x63 
- UCHAR Opcode; // 0x65 // 0x65  +Plc_gun_eff;  
- UCHAR EffId; // ID of the effect  +This bytecode sets the specified gun effect parameters.++|  08-02-2024 Newly Added  | 
- USHORT PosX; // X position of the effect (2 bytes)  +|{64}  Sce_espr_on2  |  16  |++64 ?? ?? ?? ?? ?? ?? XX XX YY YY ZZ ZZ ?? ?? ++|\\ 
- USHORT PosY; // Y position of the effect (2 bytes)  + typedef struct {  
- USHORT PosZ; // Z position of the effect (2 bytes)  + UCHAR Opcode; // 0x64 
- UCHAR RotationX; // X rotation of the effect  + UCHAR dir_y_id2; // dir_y_id2 
- UCHAR RotationY; // Y rotation of the effect  + USHORT data1; // data1 
- UCHAR RotationZ; // Z rotation of the effect  + UCHAR WorkKind; // WorkKind 
- UCHAR Scale; // Scale value  + UCHAR WorkNo; // WorkNo 
- UCHAR Alpha; // Alpha transparency value  + USHORT data3; // data3 
- UCHAR zAlign; // Always Zero (Alignment byte)  + SHORT X; // X 
-Sce_eff_set;  + SHORT Y; // Y 
-This bytecode sets the specified effect with the given properties.++|  08-02-2024 Newly Added  | + SHORT Z; // Z 
-|{66}  Sce_eff_reset   02  |++66 ID++|\\  + USHORT DirY; // DirY 
- typedef struct { // Ptr // Description   +Sce_espr_on2;  
- UCHAR Opcode; // 0x66 // 0x66  +This bytecode turns on the specified espr with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR EffId; // ID of the effect  +|{65}  Sce_espr_kill2   02  |++65 ??++|\\  
-Sce_eff_reset;  + typedef struct {  
-This bytecode resets the specified effect.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x65 
-|{67}  Sce_trg_copy  |  05  |++67 ID XX XX YY YY ZZ ZZ++|\\  + UCHAR EsprId; // ID of the effect sprite to kill 
- typedef struct { // Ptr // Description   +Sce_espr_kill2;  
- UCHAR Opcode; // 0x67 // 0x67  +This bytecode kills the specified espr with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR TrgId; // ID of the target to copy  +|{66}  Plc_stop  |  01  |++66++|\\  
- USHORT PosX; // X position of the target (2 bytes)  + typedef struct {  
- USHORT PosY; // Y position of the target (2 bytes)  + UCHAR Opcode; // 0x66 
- USHORT PosZ; // Z position of the target (2 bytes)  +Plc_stop;  
-Sce_trg_copy;  +This bytecode stops the specified plc function.++|  08-02-2024 Newly Added  | 
-This bytecode copies the specified target at the given position.++|  08-02-2024 Newly Added  | +|{67}  Aot_set_4p  |  28  |++67 ID ?? ?? ?? ?? ?? XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ ?? ?? ?? ?? ++|\\ 
-|{68}  Door_aot_set_4p  |  40  |++68 ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x67 
- UCHAR Opcode; // 0x68 // 0x68  + UCHAR Aot; // Aot 
- UCHAR DoorId; // ID of the door  + UCHAR SCE; // Id 
- USHORT PosX; // X position of the door (2 bytes)  + UCHAR SAT; // Type 
- USHORT PosY; // Y position of the door (2 bytes)  + UCHAR nFloor; // nFloor 
- USHORT PosZ; // Z position of the door (2 bytes)  + UCHAR Super; // Super 
- UCHAR RotationX; // X rotation of the door  + SHORT X0; // X0 
- UCHAR RotationY; // Y rotation of the door  + SHORT Z0; // Z0 
- UCHAR RotationZ; // Z rotation of the door  + SHORT X1; // X1 
- UCHAR ScaleX; // X scale of the door  + SHORT Z1; // Z1 
- UCHAR ScaleY; // Y scale of the door  + SHORT X2; // X2 
- UCHAR zAlign[28]; // Always Zero (Alignment bytes)  + SHORT Z2; // Z2 
- } Door_aot_set_4p;  + SHORT X3; // X3 
-This bytecode sets the properties of the specified door with position, rotation, and scale values.++|  08-02-2024 Newly Added  | + SHORT Z3; // Z3 
-|{69}  Trg_init  |  03  |++69 ID ??++|\\  + USHORT Data0; // Data0 
- typedef struct { // Ptr // Description   + USHORT Data1; // Data1 
- UCHAR Opcode; // 0x69 // 0x69  + USHORT Data2; // Data2 
- UCHAR TrgId; // ID of the target to initialize  +Aot_set_4p;  
- UCHAR State; // Initial state of the target  +This bytecode sets the specified 4-point AOT parameters.++|  08-02-2024 Newly Added  | 
- } Trg_init;  +|{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 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
-This bytecode initializes the specified target with the given state.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{6A}  Dir_set2  |  06  |++6A RX RX RY RY RZ RZ++|\\  + UCHAR Opcode; // 0x68 
- typedef struct { // Ptr // Description   + UCHAR Aot; // Aot 
- UCHAR Opcode; // 0x6A // 0x6A  + UCHAR SCE; // Id 
- USHORT DirX; // X direction (2 bytes)  + UCHAR SAT; // Type 
- USHORT DirY; // Y direction (2 bytes)  + UCHAR nFloor; // nFloor 
- USHORT DirZ; // Z direction (2 bytes)  + UCHAR Super; // Super 
-Dir_set2;  + SHORT X0; // X0 
-This bytecode sets the direction in 3D space.++|  08-02-2024 Newly Added  | + SHORT Z0; // Z0 
-|{6B}  Col_set2  |  05  |++6B ?? ?? ?? ?? 00++|\\  + SHORT X1; // X1 
- typedef struct { // Ptr // Description   + SHORT Z1; // Z1 
- UCHAR Opcode; // 0x6B // 0x6B  + SHORT X2; // X2 
- UCHAR R; // Red color value  + SHORT Z2; // Z2 
- UCHAR G; // Green color value  + SHORT X3; // X3 
- UCHAR B; // Blue color value  + SHORT Z3; // Z3 
- UCHAR Alpha; // Alpha transparency value  + SHORT Next_pos_x; // Next_pos_x 
- } Col_set2;  + SHORT Next_pos_y; // Next_pos_y 
-This bytecode sets the specified color values.++|  08-02-2024 Newly Added  | + SHORT Next_pos_z; // Next_pos_z 
-|{6C}  Sce_eff_on  |  12  |++6C ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? 00++|\\  + SHORT Next_cdir_y; // Next_cdir_y 
- typedef struct { // Ptr // Description   + UCHAR Next_stage; // Next_stage 
- UCHAR Opcode; // 0x6C // 0x6C  + UCHAR Next_room; // Next_room 
- UCHAR EffId; // ID of the effect  + UCHAR Next_cut; // Next_cut 
- USHORT PosX; // X position of the effect (2 bytes)  + UCHAR Next_nfloor; // Next_nfloor 
- USHORT PosY; // Y position of the effect (2 bytes)  + UCHAR Dtex_type; // Dtex_type 
- USHORT PosZ; // Z position of the effect (2 bytes)  + UCHAR Door_type; // Door_type 
- UCHAR RotationX; // X rotation of the effect  + UCHAR Knock_type; // Knock_type 
- UCHAR RotationY; // Y rotation of the effect  + UCHAR Key_id; // Key_id 
- UCHAR RotationZ; // Z rotation of the effect  + UCHAR Key_type; // Key_type 
- UCHAR Scale; // Scale value  + UCHAR Free; // Free 
- UCHAR Alpha; // Alpha transparency value  +Door_aot_set_4p;  
- UCHAR zAlign; // Always Zero (Alignment byte)  +This bytecode sets the specified 4-point door AOT parameters.++|  08-02-2024 Newly Added  | 
-Sce_eff_on;  +|{69}  Item_aot_set_4p  |  30  |++69 ID ?? ?? ?? ?? ?? XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ XX XX ZZ ZZ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
-This bytecode activates the specified effect with the given properties.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{6D}  Eff_aot_set  |  40  |++6D ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00++|\\  + UCHAR Opcode; // 0x69 
- typedef struct { // Ptr // Description   + UCHAR Aot; // Aot 
- UCHAR Opcode; // 0x6D // 0x6D  + UCHAR SCE; // Id 
- UCHAR EffId; // ID of the effect  + UCHAR SAT; // Type 
- USHORT PosX; // X position of the effect (2 bytes)  + UCHAR nFloor; // nFloor 
- USHORT PosY; // Y position of the effect (2 bytes)  + UCHAR Super; // Super 
- USHORT PosZ; // Z position of the effect (2 bytes)  + SHORT X0; // X0 
- UCHAR RotationX; // X rotation of the effect  + SHORT Z0; // Z0 
- UCHAR RotationY; // Y rotation of the effect  + SHORT X1; // X1 
- UCHAR RotationZ; // Z rotation of the effect  + SHORT Z1; // Z1 
- UCHAR ScaleX; // X scale of the effect  + SHORT X2; // X2 
- UCHAR ScaleY; // Y scale of the effect  + SHORT Z2; // Z2 
- UCHAR zAlign[28]; // Always Zero (Alignment bytes)  + SHORT X3; // X3 
-Eff_aot_set;  + SHORT Z3; // Z3 
-This bytecode sets the specified effect with the given properties.++|  08-02-2024 Newly Added  | + USHORT iItem; // iItem 
-|{6E}  Col_set3  |  05  |++6E ?? ?? ?? ?? 00++|\\  + USHORT nItem; // nItem 
- typedef struct { // Ptr // Description   + USHORT Flag; // Flag 
- UCHAR Opcode; // 0x6E // 0x6E  + UCHAR MD1; // MD1 
- UCHAR R; // Red color value  + UCHAR Action; // Action 
- UCHAR G; // Green color value  +Item_aot_set_4p;  
- UCHAR B; // Blue color value  +This bytecode sets the specified 4-point item AOT parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Alpha; // Alpha transparency value  +|{6A}  Light_pos_set  |  06  |++6A 00 ?? ?? XX XX ++|\\ 
-Col_set3;  + typedef struct {  
-This bytecode sets the specified color values.++|  08-02-2024 Newly Added  | + UCHAR Opcode; // 0x6A 
-|{6F}  Item_aot_set  |  40  |++6F ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00++|\\  + UCHAR zAlign; // zAlign 
- typedef struct { // Ptr // Description   + UCHAR Index; // Index 
- UCHAR Opcode; // 0x6F // 0x6F  + UCHAR XYZ; // XYZ 
- UCHAR ItemId; // ID of the item  + SHORT Position; // Position 
- USHORT PosX; // X position of the item (2 bytes)  +Light_pos_set;  
- USHORT PosY; // Y position of the item (2 bytes)  +This bytecode sets the specified light position parameters.++|  08-02-2024 Newly Added  | 
- USHORT PosZ; // Z position of the item (2 bytes)  +|{6B}  Light_kido_set  |  04  |++6B ?? ?? XX XX ++|\\ 
- UCHAR RotationX; // X rotation of the item  + typedef struct {  
- UCHAR RotationY; // Y rotation of the item  + UCHAR Opcode; // 0x6B 
- UCHAR RotationZ; // Z rotation of the item  + UCHAR Index; // Index 
- UCHAR ScaleX; // X scale of the item  + SHORT Luminosity; // Luminosity 
- UCHAR ScaleY; // Y scale of the item  + } Light_kido_set;  
- UCHAR zAlign[28]; // Always Zero (Alignment bytes)  +This bytecode sets the specified light intensity and color parameters.++|  08-02-2024 Newly Added  | 
-Item_aot_set;  +|{6C}  Rbj_reset  |  01  |++6C++|\\  
-This bytecode sets the specified item with the given properties.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{70}  Member_speed_set   04  |++70 ID ?? 00++|\\  + UCHAR Opcode; // 0x6C 
- typedef struct { // Ptr // Description   +Rbj_reset;  
- UCHAR Opcode; // 0x70 // 0x70  +This bytecode resets the specified rbj parameters.++|  08-02-2024 Newly Added  | 
- UCHAR MemberId; // ID of the member  +|{6D}  Sce_scr_move   04  |++6D 00 XX XX ++|\\ 
- UCHAR Speed; // Speed to set  + typedef struct {  
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR Opcode; // 0x6D 
-Member_speed_set;  + UCHAR zAlign; // zAlign 
-This bytecode sets the speed of the specified member.++|  08-02-2024 Newly Added  | + SHORT Scrl_y; // Scrl_y 
-|{71}  Sce_item_reset2  |  04  |++71 ID ?? ??++|\\  +Sce_scr_move;  
- typedef struct { // Ptr // Description   +This bytecode moves the specified screen with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode; // 0x71 // 0x71  +|{6E}  Parts_set  |  06  |++6E 00 ?? ?? XX XX ++|\\ 
- UCHAR ItemId; // ID of the item  + typedef struct {  
- UCHAR Quantity; // Quantity of the item  + UCHAR Opcode; // 0x6E 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR zAlign; // zAlign 
-Sce_item_reset2;  + CHAR Id; // Id 
-This bytecode resets the specified item with the given quantity.++|  08-02-2024 Newly Added  | + CHAR Type; // Type 
-|{72}  Member_scale_set  |  04  |++72 ID ?? 00++|\\  + SHORT Value; // Value 
- typedef struct { // Ptr // Description   +Parts_set;  
- UCHAR Opcode; // 0x72 // 0x72  +This bytecode sets the specified parts parameters.++|  08-02-2024 Newly Added  | 
- UCHAR MemberId; // ID of the member  +|{6F}  Movie_on  |  02  |++6F ??++|\\  
- UCHAR Scale; // Scale to set  + typedef struct {  
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR Opcode; // 0x6F 
-Member_scale_set;  + UCHAR MovieId; // ID of the movie 
-This bytecode sets the scale of the specified member.++|  08-02-2024 Newly Added  | +Movie_on;  
-|{73}  Pos_copy  |  06  |++73 XX XX YY YY ZZ ZZ++|\\  +This bytecode plays the specified movie.++|  08-02-2024 Newly Added  | 
- typedef struct { // Ptr // Description   +|{70}  Splc_ret  |  01  |++70++|\\  
- UCHAR Opcode; // 0x73 // 0x73  + typedef struct {  
- USHORT PosX; // X position to copy (2 bytes)  + UCHAR Opcode; // 0x70 
- USHORT PosY; // Y position to copy (2 bytes)  + } Splc_ret;  
- USHORT PosZ; // Z position to copy (2 bytes)  +This bytecode returns from the specified splc function.++|  08-02-2024 Newly Added  | 
-Pos_copy;  +|{71}  Splc_sce  |  01  |++71++|\\  
-This bytecode copies the specified position.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{74}  Sce_item_copy  |  04  |++74 ID ?? ??++|\\  + UCHAR Opcode; // 0x71 
- typedef struct { // Ptr // Description   +Splc_sce;  
- UCHAR Opcode; // 0x74 // 0x74  +This bytecode sets the specified splc parameters.++|  08-02-2024 Newly Added  | 
- UCHAR ItemId; // ID of the item  +|{72}  Super_on  |  16  |++72 00 ?? ?? ?? ?? XX XX XX XX XX XX XX XX XX ++|\\ 
- UCHAR Quantity; // Quantity of the item  + typedef struct {  
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR Opcode; // 0x72 
-Sce_item_copy;  + UCHAR zAlign; // zAlign 
-This bytecode copies the specified item with the given quantity.++|  08-02-2024 Newly Added  | + UCHAR data0; // data0 
-|{75}  Item_ck  |  04  |++75 ID ?? 00++|\\  + UCHAR data1; // data1 
- typedef struct { // Ptr // Description   + SHORT data2; // data2 
- UCHAR Opcode; // 0x75 // 0x75  + SHORT data3; // data3 
- UCHAR ItemId; // ID of the item  + SHORT data4; // data4 
- UCHAR State; // State to check  + SHORT data5; // data5 
- UCHAR zAlign; // Always Zero (Alignment byte)  + SHORT data6; // data6 
-Item_ck;  + SHORT data7; // data7 
-This bytecode checks the state of the specified item.++|  08-02-2024 Newly Added  | +Super_on;  
-|{76}  Member_dir_set  |  08  |++76 RX RX RY RY RZ RZ 00++|\\  +This bytecode turns on the specified super with the given parameters.++|  08-02-2024 Newly Added  | 
- typedef struct { // Ptr // Description   +|{73}  Mirror_set  |  08  |++73 ?? ?? XX XX XX XX XX XX ++|\\ 
- UCHAR Opcode; // 0x76 // 0x76  + typedef struct {  
- USHORT DirX; // X direction of the member (2 bytes)  + UCHAR Opcode; // 0x73 
- USHORT DirY; // Y direction of the member (2 bytes)  + UCHAR Flag; // Flag 
- USHORT DirZ; // Z direction of the member (2 bytes)  + USHORT Position; // Position 
- UCHAR zAlign; // Always Zero (Alignment byte)  + USHORT Min; // Min 
-Member_dir_set;  + USHORT Max; // Max 
-This bytecode sets the direction of the specified member.++|  08-02-2024 Newly Added  | +Mirror_set;  
-|{77}  Aot_pos_set  |  40  |++77 ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00++|\\  +This bytecode sets the specified mirror position parameters.++|  08-02-2024 Newly Added  | 
- typedef struct { // Ptr // Description   +|{74}  Sce_fade_adjust  |  04  |++74 ?? ?? XX XX ++|\\ 
- UCHAR Opcode; // 0x77 // 0x77  + typedef struct {  
- UCHAR AotId; // ID of the AOT  + UCHAR Opcode; // 0x74 
- USHORT PosX; // X position of the AOT (2 bytes)  + UCHAR data0; // data0 
- USHORT PosY; // Y position of the AOT (2 bytes)  + SHORT data1; // data1 
- USHORT PosZ; // Z position of the AOT (2 bytes)  +Sce_fade_adjust;  
- UCHAR RotationX; // X rotation of the AOT  +This bytecode adjusts the specified fade parameters.++|  08-02-2024 Newly Added  | 
- UCHAR RotationY; // Y rotation of the AOT  +|{75}  Sce_espr3d_on2  |  22  |++75 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ++|\\ 
- UCHAR RotationZ; // Z rotation of the AOT  + typedef struct {  
- UCHAR ScaleX; // X scale of the AOT  + UCHAR Opcode; // 0x75 
- UCHAR ScaleY; // Y scale of the AOT  + UCHAR dir_y_id2; // dir_y_id2 
- UCHAR zAlign[28]; // Always Zero (Alignment bytes)  + USHORT bit; // bit 
-Aot_pos_set;  + USHORT data4; // data4 
-This bytecode sets the specified AOT with the given position, rotation, and scale properties.++|  08-02-2024 Newly Added  | + USHORT data6; // data6 
-|{78}  Pos_set2  |  08  |++78 XX XX YY YY ZZ ZZ 00++|\\  + USHORT data8; // data8 
- typedef struct { // Ptr // Description   + USHORT dataA; // dataA 
- UCHAR Opcode; // 0x78 // 0x78  + USHORT dataC; // dataC 
- USHORT PosX; // X position (2 bytes)  + USHORT dataE; // dataE 
- USHORT PosY; // Y position (2 bytes)  + USHORT data10; // data10 
- USHORT PosZ; // Z position (2 bytes)  + USHORT data12; // data12 
- UCHAR zAlign; // Always Zero (Alignment byte)  + USHORT data14; // data14 
-Pos_set2;  +Sce_espr3d_on2;  
-This bytecode sets the position in 3D space.++|  08-02-2024 Newly Added  | +This bytecode turns on the specified 3D espr with the given parameters.++|  08-02-2024 Newly Added  | 
-|{79}  Pos_cmp   06  |++79 XX XX YY YY ZZ ZZ++|\\  +|{76}  Sce_Item_get  |  03  |++76 ID ?? ++|\\ 
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x79 // 0x79  + UCHAR Opcode; // 0x76 
- USHORT PosX; // X position to compare (2 bytes)  + UCHAR Id; // Id 
- USHORT PosY; // Y position to compare (2 bytes)  + UCHAR Num; // Num 
- USHORT PosZ; // Z position to compare (2 bytes)  + } Sce_Item_get;  
-Pos_cmp;  +This bytecode gets the specified item with the given quantity.++|  08-02-2024 Newly Added  | 
-This bytecode compares the specified position.++|  08-02-2024 Newly Added  | +|{77}  Sce_line_start  |  04  |++77 ID XX XX ++|\\ 
-|{7A}  Sce_work_copy  |  03  |++7A ID ??++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x77 
- UCHAR Opcode; // 0x7A // 0x7A  + UCHAR Id; // Id 
- UCHAR WorkId; // ID of the work  + USHORT Value; // Value 
- UCHAR State; // State to copy  +Sce_line_start;  
-Sce_work_copy;  +This bytecode starts the specified line with the given parameters.++|  08-02-2024 Newly Added  | 
-This bytecode copies the specified work with the given state.++|  08-02-2024 Newly Added  | +|{78}  Sce_line_main   06  |++78 ID XX XX XX XX ++|\\ 
-|{7B}  Sce_item_set2  |  12  |++7B ID ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x78 
- UCHAR Opcode; // 0x7B // 0x7B  + UCHAR Id; // Id 
- UCHAR ItemId; // ID of the item  + SHORT Data0; // Data0 
- UCHAR Quantity; // Quantity of the item  + SHORT Data1; // Data1 
- UCHAR Property1; // Property 1 of the item  +Sce_line_main;  
- UCHAR Property2; // Property 2 of the item  +This bytecode sets the specified line parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Property3; // Property 3 of the item  +|{79}  Sce_line_end  |  01  |++79 ++|\\ 
- UCHAR Property4; // Property 4 of the item  + typedef struct {  
- UCHAR Property5; // Property 5 of the item  + UCHAR Opcode; // 0x79 
- UCHAR Property6; // Property 6 of the item  +Sce_line_end;  
- UCHAR Property7; // Property 7 of the item  +This bytecode ends the specified line.++|  08-02-2024 Newly Added  | 
- UCHAR Property8; // Property 8 of the item  +|{7A}  Sce_parts_bomb  |  16  |++7A 00 ?? ?? ?? ?? XX XX XX XX XX XX XX XX XX ++|\\ 
- UCHAR zAlign; // Always Zero (Alignment byte)  + typedef struct {  
-Sce_item_set2;  + UCHAR Opcode; // 0x7A 
-This bytecode sets the specified item with the given properties.++|  08-02-2024 Newly Added  | + UCHAR zAlign; // zAlign 
-|{7C}  Sce_eff_on2  |  12  |++7C ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? 00++|\\  + UCHAR data2; // data2 
- typedef struct { // Ptr // Description   + UCHAR data3; // data3 
- UCHAR Opcode; // 0x7C // 0x7C  + UCHAR data4; // data4 
- UCHAR EffId; // ID of the effect  + UCHAR data5; // data5 
- USHORT PosX; // X position of the effect (2 bytes)  + SHORT data6; // data6 
- USHORT PosY; // Y position of the effect (2 bytes)  + SHORT data8; // data8 
- USHORT PosZ; // Z position of the effect (2 bytes)  + SHORT dataA; // dataA 
- UCHAR RotationX; // X rotation of the effect  + SHORT dataC; // dataC 
- UCHAR RotationY; // Y rotation of the effect  + SHORT dataE; // dataE 
- UCHAR RotationZ; // Z rotation of the effect  +Sce_parts_bomb;  
- UCHAR Scale; // Scale value  +This bytecode bombs the specified parts with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Alpha; // Alpha transparency value  +|{7B}  Sce_parts_down  |  16  |++7B ID XX XX XX XX XX XX XX XX XX XX XX XX ++|\\ 
- UCHAR zAlign; // Always Zero (Alignment byte)  + typedef struct {  
-Sce_eff_on2;  + UCHAR Opcode; // 0x7B 
-This bytecode activates the specified effect with the given properties.++|  08-02-2024 Newly Added  | + UCHAR Id; // Id 
-|{7D}  Trg_speed_reset  |  02  |++7D ID++|\\  + SHORT X; // X 
- typedef struct { // Ptr // Description   + SHORT Y; // Y 
- UCHAR Opcode; // 0x7D // 0x7D  + SHORT Z; // Z 
- UCHAR TrgId; // ID of the target  + SHORT cDirZ; // cDirZ 
-Trg_speed_reset;  + SHORT DirX; // DirX 
-This bytecode resets the speed of the specified target.++|  08-02-2024 Newly Added  | + SHORT DirY; // DirY 
-|{7E}  Member_color_set  |  05  |++7E ID ?? ?? ?? ??++|\\  + SHORT DirZ; // DirZ 
- typedef struct { // Ptr // Description   +Sce_parts_down;  
- UCHAR Opcode; // 0x7E // 0x7E  +This bytecode moves down the specified parts with the given parameters.++|  08-02-2024 Newly Added  | 
- UCHAR MemberId; // ID of the member  +|{7C}  Light_color_set  |  06  |++7C ?? ?? ?? ?? ?? 00 ++|\\ 
- UCHAR R; // Red color value  + typedef struct {  
- UCHAR G; // Green color value  + UCHAR Opcode; // 0x7C 
- UCHAR B; // Blue color value  + UCHAR Index; // Index 
- UCHAR Alpha; // Alpha transparency value  + UCHAR R; // 
-Member_color_set;  + UCHAR G; // G 
-This bytecode sets the color values of the specified member.++|  08-02-2024 Newly Added  | + UCHAR B; // 
-|{7F}  Sce_item_color_set  |  05  |++7F ID ?? ?? ?? ??++|\\  + UCHAR zAlign; // zAlign 
- typedef struct { // Ptr // Description   +Light_color_set;  
- UCHAR Opcode; // 0x7F // 0x7F  +This bytecode sets the specified light color parameters.++|  08-02-2024 Newly Added  | 
- UCHAR ItemId; // ID of the item  +|{7D}  Light_pos_set2  |  06  |++7D ?? ?? ?? ?? XX XX ++|\\ 
- UCHAR R; // Red color value  + typedef struct {  
- UCHAR G; // Green color value  + UCHAR Opcode; // 0x7D 
- UCHAR B; // Blue color value  + UCHAR nCut; // nCut 
- UCHAR Alpha; // Alpha transparency value  + UCHAR Index; // Index 
-Sce_item_color_set;  + UCHAR XYZ; // XYZ 
-This bytecode sets the color values of the specified item.++|  08-02-2024 Newly Added  | + SHORT Position; // Position 
-|{80}  Sce_trg_color_set  |  05  |++80 ID ?? ?? ?? ??++|\\  +Light_pos_set2;  
- typedef struct { // Ptr // Description   +This bytecode sets the specified light position parameters.++|  08-02-2024 Newly Added  | 
- UCHAR Opcode; // 0x80 // 0x80  +|{7E}  Light_kido_set2  |  06  |++7E 00 ?? ?? XX XX ++|\\ 
- UCHAR TrgId; // ID of the target  + typedef struct {  
- UCHAR R; // Red color value  + UCHAR Opcode; // 0x7E 
- UCHAR G; // Green color value  + UCHAR zAlign; // zAlign 
- UCHAR B; // Blue color value  + UCHAR nCut; // nCut 
- UCHAR Alpha; // Alpha transparency value  + UCHAR Index; // Index 
-Sce_trg_color_set;  + USHORT Luminosity; // Luminosity 
-This bytecode sets the color values of the specified target.++|  08-02-2024 Newly Added  | +Light_kido_set2;  
-|{81}  Sce_work_color_set  |  05  |++81 ID ?? ?? ?? ??++|\\  +This bytecode sets the specified light intensity and color parameters.++|  08-02-2024 Newly Added  | 
- typedef struct { // Ptr // Description   +|{7F}  Light_color_set2  |  06  |++7F ?? ?? ?? ?? ?? ?? ++|\\ 
- UCHAR Opcode; // 0x81 // 0x81  + typedef struct {  
- UCHAR WorkId; // ID of the work  + UCHAR Opcode; // 0x7F 
- UCHAR R; // Red color value  + UCHAR nCut; // nCut 
- UCHAR G; // Green color value  + UCHAR Index; // Index 
- UCHAR B; // Blue color value  + UCHAR R; // R 
- UCHAR Alpha; // Alpha transparency value  + UCHAR G; // G 
-Sce_work_color_set;  + UCHAR B; // B 
-This bytecode sets the color values of the specified work.++|  08-02-2024 Newly Added  | +Light_color_set2;  
-|{82}  Eff_copy  |  12  |++82 ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? 00++|\\  +This bytecode sets the specified light color parameters.++|  08-02-2024 Newly Added  | 
- typedef struct { // Ptr // Description   +|{80}  Se_vol  |  02  |++80 ?? ??++|\\  
- UCHAR Opcode; // 0x82 // 0x82  + typedef struct {  
- UCHAR EffId; // ID of the effect to copy  + UCHAR Opcode; // 0x80 
- USHORT PosX; // X position of the effect (2 bytes)  + UCHAR Volume; // Volume level 
- USHORT PosY; // Y position of the effect (2 bytes)  +Se_vol;  
- USHORT PosZ; // Z position of the effect (2 bytes)  +This bytecode sets the specified sound effect volume and pan parameters.++|  08-02-2024 Newly Added  | 
- UCHAR RotationX; // X rotation of the effect  +|{81}  Keep_Item_ck2  |  03  |++81 ID ??++|\\  
- UCHAR RotationY; // Y rotation of the effect  + typedef struct {  
- UCHAR RotationZ; // Z rotation of the effect  + UCHAR Opcode; // 0x81 
- UCHAR Scale; // Scale value  + UCHAR ItemId; // ID of the item to check 
- UCHAR Alpha; // Alpha transparency value  + UCHAR Quantity; // Quantity of the item to check 
- UCHAR zAlign; // Always Zero (Alignment byte)  + } Keep_Item_ck2;  
-Eff_copy;  +This bytecode checks the specified item parameters.++|  08-02-2024 Newly Added  | 
-This bytecode copies the specified effect with the given properties.++|  08-02-2024 Newly Added  | +|{82}  Sce_espr_task  |  03  |++82 ?? ?? ??++|\\ 
-|{83}  Sce_work_reset2  |  02  |++83 ID++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x82 
- UCHAR Opcode; // 0x83 // 0x83  + CHAR WorkKind; // WorkKind 
- UCHAR WorkId; // ID of the work  + CHAR WorkNo; // WorkNo 
-Sce_work_reset2;  +Sce_espr_task;  
-This bytecode resets the specified work.++|  08-02-2024 Newly Added  | +This bytecode sets the specified espr task parameters.++|  08-02-2024 Newly Added  | 
-|{84}  Sce_trg_set  |  10  |++84 ID XX XX YY YY ZZ ZZ ?? ?? ?? 00++|\\  +|{83}  Plc_heal  |  01  |++83++|\\  
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x84 // 0x84  + UCHAR Opcode; // 0x83 
- UCHAR TrgId; // ID of the target  +Plc_heal;  
- USHORT PosX; // X position of the target (2 bytes)  +This bytecode heals the specified plc function.++|  08-02-2024 Newly Added  | 
- USHORT PosY; // Y position of the target (2 bytes)  +|{84}  St_map_hint  |  02  |++84 ?? ??++|\\ 
- USHORT PosZ; // Z position of the target (2 bytes)  + typedef struct {  
- UCHAR Scale; // Scale value  + UCHAR Opcode; // 0x84 
- UCHAR Alpha; // Alpha transparency value  + UCHAR DrModeTag; // DrModeTag 
- UCHAR zAlign[2]; // Always Zero (Alignment bytes)  + } St_map_hint;  
- } Sce_trg_set;  +This bytecode sets the specified map hint parameters.++|  08-02-2024 Newly Added  | 
-This bytecode sets the specified target with the given properties.++|  08-02-2024 Newly Added  | +|{85}  Sce_em_pos_ck  |  06  |++85 ?? ?? ?? ?? CO NT++|\\ 
-|{85}  Sce_eff_ck  |  12  |++85 ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? 00++|\\  + typedef struct {  
- typedef struct { // Ptr // Description   + UCHAR Opcode; // 0x85 
- UCHAR Opcode; // 0x85 // 0x85  + UCHAR Id; // Id 
- UCHAR EffId; // ID of the effect  + UCHAR data1; // data1 
- USHORT PosX; // X position of the effect (2 bytes)  + UCHAR Att; // Att 
- USHORT PosY; // Y position of the effect (2 bytes)  + USHORT Flg; // Flg 
- USHORT PosZ; // Z position of the effect (2 bytes)  +Sce_em_pos_ck;  
- UCHAR RotationX; // X rotation of the effect  +This bytecode checks the specified enemy position parameters.++|  08-02-2024 Newly Added  | 
- UCHAR RotationY; // Y rotation of the effect  +|{86}  Poison_ck  |  01  |++86++|\\  
- UCHAR RotationZ; // Z rotation of the effect  + typedef struct {  
- UCHAR Scale; // Scale value  + UCHAR Opcode; // 0x86 
- UCHAR Alpha; // Alpha transparency value  +Poison_ck;  
- UCHAR zAlign; // Always Zero (Alignment byte)  +This bytecode checks the specified poison parameters.++|  08-02-2024 Newly Added  | 
-Sce_eff_ck;  +|{87}  Poison_clr  |  01  |++87++|\\  
-This bytecode checks the specified effect with the given properties.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{86}  Sce_eff_kill  |  05  |++86 ID XX XX YY YY ZZ ZZ++|\\  + UCHAR Opcode; // 0x87 
- typedef struct { // Ptr // Description   +Poison_clr;  
- UCHAR Opcode; // 0x86 // 0x86  +This bytecode clears the specified poison parameters.++|  08-02-2024 Newly Added  | 
- UCHAR EffId; // ID of the effect to kill  +|{88}  Sce_Item_lost2  |  03  |++88 ID ??++|\\  
- USHORT PosX; // X position of the effect (2 bytes)  + typedef struct {  
- USHORT PosY; // Y position of the effect (2 bytes)  + UCHAR Opcode; // 0x88 
- USHORT PosZ; // Z position of the effect (2 bytes)  + UCHAR ItemId; // ID of the item 
-Sce_eff_kill;  + UCHAR Quantity; // Quantity of the item 
-This bytecode kills the specified effect at the given position.++|  08-02-2024 Newly Added  | +Sce_Item_lost2;  
-|{87}  Sce_eff_reset  |  02  |++87 ID++|\\  +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; // 0x87 // 0x87  + typedef struct {  
- UCHAR EffId; // ID of the effect  + UCHAR Opcode; // 0x89 
-Sce_eff_reset;  +Evt_next2;  
-This bytecode resets the specified effect.++|  08-02-2024 Newly Added  | +This bytecode moves to the next event in the sequence.++|  08-02-2024 Newly Added  | 
-|{88}  Sce_work_set2  |  05  |++88 ID ?? ?? ?? 00++|\\  +|{8A}  Vib_set0  |  06  |++8A 00 ?? ?? ?? ??++|\\ 
- typedef struct { // Ptr // Description   + typedef struct {  
- UCHAR Opcode; // 0x88 // 0x88  + UCHAR Opcode; // 0x8A 
- UCHAR WorkId; // ID of the work  + UCHAR zAlign; // zAlign 
- UCHAR Parameter1; // Parameter 1 for the work  + USHORT data0; // data0 
- UCHAR Parameter2; // Parameter 2 for the work  + USHORT data1; // data1 
- UCHAR Parameter3; // Parameter 3 for the work  +Vib_set0;  
- UCHAR zAlign; // Always Zero (Alignment byte)  +This bytecode sets the specified vibration parameters.++|  08-02-2024 Newly Added  | 
-Sce_work_set2;  +|{8B}  Vib_set1  |  06  |++8B ID  VA LU VA LU++|\\  
-This bytecode sets the specified work with the given parameters.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{89}  Sce_work_ck2  |  04  |++89 ID ?? 00++|\\  + UCHAR Opcode; // 0x8B 
- typedef struct { // Ptr // Description   + UCHAR Id; // Vibration ID 
- UCHAR Opcode; // 0x89 // 0x89  + USHORT Value1; // Vibration Value 1 
- UCHAR WorkId; // ID of the work  + USHORT Value2; // Vibration Value 2 
- UCHAR State; // State to check  +Vib_set1;  
- UCHAR zAlign; // Always Zero (Alignment byte)  +This bytecode sets the specified vibration parameters.++|  08-02-2024 Newly Added  | 
-Sce_work_ck2;  +|{8C}  Vib_fade_set  |  08  |++8C 00 ?? ?? ?? ?? ?? ??++|\\ 
-This bytecode checks the state of the specified work.++|  08-02-2024 Newly Added  | + typedef struct {  
-|{8A}  Sce_eff_copy  |  12  |++8A ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? 00++|\\  + UCHAR Opcode; // 0x8C 
- typedef struct { // Ptr // Description   + UCHAR zAlign; // zAlign 
- UCHAR Opcode; // 0x8A // 0x8A  + UCHAR data0; // data0 
- UCHAR EffId; // ID of the effect to copy  + UCHAR data1; // data1 
- USHORT PosX; // X position of the effect (2 bytes)  + USHORT data2; // data2 
- USHORT PosY; // Y position of the effect (2 bytes)  + USHORT data3; // data3 
- USHORT PosZ; // Z position of the effect (2 bytes)  +Vib_fade_set;  
- UCHAR RotationX; // X rotation of the effect  +This bytecode sets the specified vibration fade parameters.++|  08-02-2024 Newly Added  | 
- UCHAR RotationY; // Y rotation of the effect  +|{8D}  Item_aot_set2  |  24  |++8D ID ?? ?? ?? ?? ?? XX XX ZZ ZZ WW WW DD DD ?? ?? ?? ?? ?? ?? ?? ?? ??++|\\  
- UCHAR RotationZ; // Z rotation of the effect  + typedef struct {  
- UCHAR Scale; // Scale value  + UCHAR Opcode; // 0x8D 
- UCHAR Alpha; // Alpha transparency value  + UCHAR Aot; // Id 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR SCE; // Type (0x02) 
-Sce_eff_copy;  + UCHAR SAT; // Atari 
-This bytecode copies the specified effect with the given properties.++|  08-02-2024 Newly Added  | + UCHAR nFloor; // Height 
-|{8B}  Sce_work_reset3  |  02  |++8B ID++|\\  + UCHAR Super; // Matrix 
- typedef struct { // Ptr // Description   + SHORT X; // Position 
- UCHAR Opcode; // 0x8B // 0x8B  + SHORT Z; // Position 
- UCHAR WorkId; // ID of the work  + USHORT W; // Size 
-Sce_work_reset3;  + USHORT D; // Size 
-This bytecode resets the specified work.++|  08-02-2024 Newly Added  | + USHORT iItem; // Item Id 
-|{8C}  Sce_eff_set2  |  12  |++8C ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? 00++|\\  + USHORT nItem; // Item Amount 
- typedef struct { // Ptr // Description   + USHORT Flag; // argv[1] for Flg_on() and Flg_ck() 
- UCHAR Opcode; // 0x8C // 0x8C  + UCHAR MD1; // MD1 File Id - 0xFF if no MD1 
- UCHAR EffId; // ID of the effect  + UCHAR Action; // Predefined action taken to obtain 
- USHORT PosX; // X position of the effect (2 bytes)  + UCHAR data16; //  
- USHORT PosY; // Y position of the effect (2 bytes)  + UCHAR data17; //  
- USHORT PosZ; // Z position of the effect (2 bytes)  +Item_aot_set2
- UCHAR RotationX; // X rotation of the effect  +This bytecode sets the specified item AOT parameters.++|  08-02-2024 Newly Added  | 
- UCHAR RotationY; // Y rotation of the effect  +|{8E}  Sce_em_set2  |  24  |++8E 00 ID ?? ?? SI ZE ?? ?? ?? XX XX YY YY ZZ ZZ DY DY ?? ?? ?? ??++|\\  
- UCHAR RotationZ; // Z rotation of the effect  + typedef struct {  
- UCHAR Scale; // Scale value  + UCHAR Opcode; // 0x8E 
- UCHAR Alpha; // Alpha transparency value  + UCHAR zAlign; // Alignment byte, always zero 
- UCHAR zAlign; // Always Zero (Alignment byte)  + UCHAR Aot; //  
-Sce_eff_set2;  + UCHAR EMD; //  
-This bytecode sets the specified effect with the given properties.++|  08-02-2024 Newly Added  | + USHORT Type; //  
-|{8D}  Sce_work_cmp  |  06  |++8D ID ?? ?? ?? 00++|\\  + UCHAR nFloor; //  
- typedef struct { // Ptr // Description   + UCHAR SeType; //  
- UCHAR Opcode; // 0x8D // 0x8D  + UCHAR ModelType; //  
- UCHAR WorkId; // ID of the work  + UCHAR EmSetFlg; //  
- UCHAR Property; // Property to compare  + SHORT X; //  
- USHORT Value; // Value to compare against  + SHORT Y; //  
- UCHAR ComparisonType; // Type of comparison (e.g., equal, not equal)  + SHORT Z; //  
-Sce_work_cmp;  + SHORT DirY; //  
-This bytecode compares the specified property of the work with the given value using the specified comparison type.++|  08-02-2024 Newly Added  | + USHORT Timer0; //  
-|{8E}  Sce_eff_set3  |  12  |++8E ID XX XX YY YY ZZ ZZ RX RY RZ ?? ?? 00++|\\  + USHORT Timer1; //  
- typedef struct { // Ptr // Description   + USHORT data16; //  
- UCHAR Opcode; // 0x8E // 0x8E  +Sce_em_set2;  
- UCHAR EffId; // ID of the effect  +This bytecode sets the specified enemy parameters.++|  08-02-2024 Newly Added  | 
- USHORT PosX; // X position of the effect (2 bytes)  + 
- USHORT PosY; // Y position of the effect (2 bytes)  +
- USHORT PosZ; // Z position of the effect (2 bytes)  +
- UCHAR RotationX; // X rotation of the effect  +
- UCHAR RotationY; // Y rotation of the effect  +
- UCHAR RotationZ; // Z rotation of the effect  +
- UCHAR Scale; // Scale value  +
- UCHAR Alpha; // Alpha transparency value  +
- UCHAR zAlign; // Always Zero (Alignment byte)  +
-Sce_eff_set3;  +
-This bytecode sets the specified effect with the given properties.++|  08-02-2024 Newly Added  |+
re2_opcodes.1722671618.txt.gz · Last modified: 2024/08/03 00:53 by 3lric