Difference between revisions of "Final Fantasy Hacktics:Sandbox"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(test substitution)
 
m (expansion 1)
Line 18: Line 18:
 
|-
 
|-
 
|'''[[Event_Instruction_10|<span title="This instruction is used to display any text stored after the event's instruction in various ways like a character thinking, speaking, or simply printing text on the screen.">{10} DisplayMessage</span>]]'''
 
|'''[[Event_Instruction_10|<span title="This instruction is used to display any text stored after the event's instruction in various ways like a character thinking, speaking, or simply printing text on the screen.">{10} DisplayMessage</span>]]'''
|'''{{IE_10}}(x10,<span title="Dialog Type" style="color:green">xDT</span>,<span title="Message ID" style="color:green">xMSG#</span>,<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Portrait Row" style="color:green">xPR</span>,<span title="X Coordinate" style="color:green">+XXXXX</span>,<span title="Y Coordinate" style="color:green">+YYYYY</span>,<span title="Arrow Position" style="color:green">+ARPOS</span>,<span title="Dialog Box Opening Type" style="color:green">xOT</span>)'''
+
|'''DisplayMessage(x10,<span title="Dialog Type" style="color:green">xDT</span>,<span title="Message ID" style="color:green">xMSG#</span>,<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Portrait Row" style="color:green">xPR</span>,<span title="X Coordinate" style="color:green">+XXXXX</span>,<span title="Y Coordinate" style="color:green">+YYYYY</span>,<span title="Arrow Position" style="color:green">+ARPOS</span>,<span title="Dialog Box Opening Type" style="color:green">xOT</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_11|<span title="This instruction is used load a humanoid shaped sprite off EVTCHR.BIN on a sprite using the original unit's palette.">{11} UnitAnim</span>]]'''
 
|'''[[Event_Instruction_11|<span title="This instruction is used load a humanoid shaped sprite off EVTCHR.BIN on a sprite using the original unit's palette.">{11} UnitAnim</span>]]'''
|'''{{IE_11}}(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Animation ID (SEQ/EVTCHR)" style="color:green">xANIM</span>,x00)'''
+
|'''UnitAnim(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Animation ID (SEQ/EVTCHR)" style="color:green">xANIM</span>,x00)'''
 
|Structure Altered
 
|Structure Altered
 
|-
 
|-
Line 30: Line 30:
 
|-
 
|-
 
|'''[[Event_Instruction_13|<span title="Changes the map the event is currently played in. Not recommended for use.">{13} ChangeMapBeta</span>]]'''
 
|'''[[Event_Instruction_13|<span title="Changes the map the event is currently played in. Not recommended for use.">{13} ChangeMapBeta</span>]]'''
|'''{{IE_13}}(<span title="Map" style="color:green">MAP</span>,x00)'''
+
|'''ChangeMapBeta(<span title="Map" style="color:green">MAP</span>,x00)'''
 
|Renamed (ChangeMap)
 
|Renamed (ChangeMap)
 
|-
 
|-
 
|'''[[Event_Instruction_16|<span title="Pause the event and resume it when the player presses either O (confirm), X (cancel) or select.">{16} Pause</span>]]'''
 
|'''[[Event_Instruction_16|<span title="Pause the event and resume it when the player presses either O (confirm), X (cancel) or select.">{16} Pause</span>]]'''
|'''{{IE_16}}()'''
+
|'''Pause()'''
 
|
 
|
 
|-
 
|-
Line 42: Line 42:
 
|-
 
|-
 
|'''[[Event_Instruction_18|<span title="Uses an ability or effect on target Unit.  Only one Effect can play at a time or the game will freeze.">{18} Effect</span>]]'''
 
|'''[[Event_Instruction_18|<span title="Uses an ability or effect on target Unit.  Only one Effect can play at a time or the game will freeze.">{18} Effect</span>]]'''
|'''{{IE_18}}(<span title="Ability/Effect ID" style="color:green">xEFID</span>,<span title="Unit ID" style="color:green">xID</span>,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Unknown" style="color:green">x00</span>)'''
+
|'''Effect(<span title="Ability/Effect ID" style="color:green">xEFID</span>,<span title="Unit ID" style="color:green">xID</span>,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Unknown" style="color:green">x00</span>)'''
 
|
 
|
 
|-
 
|-
Line 50: Line 50:
  
 
All entry fields can range from -32768 to 32767. Tiles are 28x28, and Camera motion is 4x more precise, so 112 = 1 Tile. 1h is 12 pixels high, so 48 = 1h, and regular units are 3h tall.">{19} Camera</span>]]'''
 
All entry fields can range from -32768 to 32767. Tiles are 28x28, and Camera motion is 4x more precise, so 112 = 1 Tile. 1h is 12 pixels high, so 48 = 1h, and regular units are 3h tall.">{19} Camera</span>]]'''
|'''{{IE_19}}(<span title="X axis" style="color:green">+XXXXX</span>,<span title="Z axis" style="color:green">+ZZZZZ</span>,<span title="Y axis" style="color:green">+YYYYY</span>,<span title="Angle" style="color:green">+ANGLE</span>,<span title="Map Rotation" style="color:green">+MAPRT</span>,<span title="Camera Rotation" style="color:green">+CAMRT</span>,<span title="Zoom" style="color:green">+ZOOM%</span>,<span title="Time" style="color:green">+TIMER</span>)'''
+
|'''Camera(<span title="X axis" style="color:green">+XXXXX</span>,<span title="Z axis" style="color:green">+ZZZZZ</span>,<span title="Y axis" style="color:green">+YYYYY</span>,<span title="Angle" style="color:green">+ANGLE</span>,<span title="Map Rotation" style="color:green">+MAPRT</span>,<span title="Camera Rotation" style="color:green">+CAMRT</span>,<span title="Zoom" style="color:green">+ZOOM%</span>,<span title="Time" style="color:green">+TIMER</span>)'''
 
|
 
|
 
|-
 
|-
Line 56: Line 56:
  
 
Battle-friendly.">{1A} MapDarkness</span>]]'''
 
Battle-friendly.">{1A} MapDarkness</span>]]'''
|'''{{IE_1A}}(<span title="Blending Mode" style="color:green">xBM</span>,<span title="Red" style="color:green">+RED</span>,<span title="Green" style="color:green">+GRN</span>,<span title="Blue" style="color:green">+BLU</span>,<span title="Time" style="color:green">TIM</span>)'''
+
|'''MapDarkness(<span title="Blending Mode" style="color:green">xBM</span>,<span title="Red" style="color:green">+RED</span>,<span title="Green" style="color:green">+GRN</span>,<span title="Blue" style="color:green">+BLU</span>,<span title="Time" style="color:green">TIM</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 62: Line 62:
  
 
Battle-friendly.">{1B} MapLight</span>]]'''
 
Battle-friendly.">{1B} MapLight</span>]]'''
|'''{{IE_1B}}(<span title="Unknown (Controls Lighting)" style="color:green">+00000</span>,<span title="Unknown (Controls Lighting)" style="color:green">+00000</span>,<span title="Unknown (Controls Lighting)" style="color:green">+?????</span>,<span title="Red" style="color:green">+RRRED</span>,<span title="Green" style="color:green">+GREEN</span>,<span title="Blue" style="color:green">+BBLUE</span>,<span title="Time" style="color:green">+TIMER</span>)'''
+
|'''MapLight(<span title="Unknown (Controls Lighting)" style="color:green">+00000</span>,<span title="Unknown (Controls Lighting)" style="color:green">+00000</span>,<span title="Unknown (Controls Lighting)" style="color:green">+?????</span>,<span title="Red" style="color:green">+RRRED</span>,<span title="Green" style="color:green">+GREEN</span>,<span title="Blue" style="color:green">+BBLUE</span>,<span title="Time" style="color:green">+TIMER</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_1C|<span title="This instruction determines the speed the event will play. It is only used alongside Lucavi transformation and death Effects to slow them down.">{1C} EventSpeed</span>]]'''
 
|'''[[Event_Instruction_1C|<span title="This instruction determines the speed the event will play. It is only used alongside Lucavi transformation and death Effects to slow them down.">{1C} EventSpeed</span>]]'''
|'''{{IE_1C}}(<span title="Speed" style="color:green">xSP</span>)'''
+
|'''EventSpeed(<span title="Speed" style="color:green">xSP</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_1D|<span title="Place many camera instructions in this block make them transition smoothly.">{1D} CameraFusionStart</span>]]'''
 
|'''[[Event_Instruction_1D|<span title="Place many camera instructions in this block make them transition smoothly.">{1D} CameraFusionStart</span>]]'''
|'''{{IE_1D}}()'''
+
|'''CameraFusionStart()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_1E|<span title="Place many camera instructions in this block make them transition smoothly.">{1E} CameraFusionEnd</span>]]'''
 
|'''[[Event_Instruction_1E|<span title="Place many camera instructions in this block make them transition smoothly.">{1E} CameraFusionEnd</span>]]'''
|'''{{IE_1E}}()'''
+
|'''CameraFusionEnd()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_1F|<span title="The next Camera instruction will automatically center between Unit 1 and Unit 2. If the two are the same unit, it focuses on that single unit.">{1F} Focus</span>]]'''
 
|'''[[Event_Instruction_1F|<span title="The next Camera instruction will automatically center between Unit 1 and Unit 2. If the two are the same unit, it focuses on that single unit.">{1F} Focus</span>]]'''
|'''{{IE_1F}}(<span title="Unit 1 ID" style="color:green">xID</span>,x00,<span title="Unit 2 ID" style="color:green">xID</span>,x00,<span title="Unknown" style="color:green">x00</span>)'''
+
|'''Focus(<span title="Unit 1 ID" style="color:green">xID</span>,x00,<span title="Unit 2 ID" style="color:green">xID</span>,x00,<span title="Unknown" style="color:green">x00</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_21|<span title="Terminate currently playing sound created by this instruction & plays the indexed sound once.">{21} Sound</span>]]'''
 
|'''[[Event_Instruction_21|<span title="Terminate currently playing sound created by this instruction & plays the indexed sound once.">{21} Sound</span>]]'''
|'''{{IE_21}}(<span title="Sound ID" style="color:green">xSDID</span>)'''
+
|'''Sound(<span title="Sound ID" style="color:green">xSDID</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_22|<span title="Toggle between the first and second song assigned in ATTACK.OUT for the scenario.">{22} Music</span>]]'''
 
|'''[[Event_Instruction_22|<span title="Toggle between the first and second song assigned in ATTACK.OUT for the scenario.">{22} Music</span>]]'''
|'''{{IE_22}}(x01,<span title="Volume" style="color:green">+VOL</span>,<span title="Time" style="color:green">TIM</span>)'''
+
|'''Music(x01,<span title="Volume" style="color:green">+VOL</span>,<span title="Time" style="color:green">TIM</span>)'''
 
|
 
|
 
|-
 
|-
Line 106: Line 106:
 
|-
 
|-
 
|'''[[Event_Instruction_27|<span title="Reloads the map with new, currently stored settings such as map arrangement (Variable x0030), weather and daytime. Map arrangements and daytime can be viewed using map2gl.">{27} ReloadMapState</span>]]'''
 
|'''[[Event_Instruction_27|<span title="Reloads the map with new, currently stored settings such as map arrangement (Variable x0030), weather and daytime. Map arrangements and daytime can be viewed using map2gl.">{27} ReloadMapState</span>]]'''
|'''{{IE_27}}()'''
+
|'''ReloadMapState()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 114: Line 114:
  
 
Jump value affects the path the unit will take.">{28} WalkTo</span>]]'''
 
Jump value affects the path the unit will take.">{28} WalkTo</span>]]'''
|'''{{IE_28}}(<span title="Unit ID" style="color:green">xID</span>,<span title="Unknown" style="color:green">x00</span>,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Elevation" style="color:green">xEL</span>,<span title="Unknown" style="color:green">x00</span>,<span title="Speed" style="color:green">+SPD</span>,<span title="Unknown" style="color:green">x01</span>)'''
+
|'''WalkTo(<span title="Unit ID" style="color:green">xID</span>,<span title="Unknown" style="color:green">x00</span>,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Elevation" style="color:green">xEL</span>,<span title="Unknown" style="color:green">x00</span>,<span title="Speed" style="color:green">+SPD</span>,<span title="Unknown" style="color:green">x01</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_29|<span title="Resumes instructions when the given unit arrives at destination.">{29} WaitWalk</span>]]'''
 
|'''[[Event_Instruction_29|<span title="Resumes instructions when the given unit arrives at destination.">{29} WaitWalk</span>]]'''
|'''{{IE_29}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''WaitWalk(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
Line 124: Line 124:
  
 
When the game finds a block, it will start executing it and will also resume the event whatever there is after the block at the same time.">{2A} BlockStart</span>]]'''
 
When the game finds a block, it will start executing it and will also resume the event whatever there is after the block at the same time.">{2A} BlockStart</span>]]'''
|'''{{IE_2A}}()'''
+
|'''BlockStart()'''
 
|
 
|
 
|-
 
|-
Line 130: Line 130:
  
 
When the game finds a block, it will start executing it and will also resume the event whatever there is after the block at the same time.">{2B} BlockEnd</span>]]'''
 
When the game finds a block, it will start executing it and will also resume the event whatever there is after the block at the same time.">{2B} BlockEnd</span>]]'''
|'''{{IE_2B}}()'''
+
|'''BlockEnd()'''
 
|
 
|
 
|-
 
|-
|'''[[Event_Instruction_2C|<span title="A copy of {53} {{IE_53}} with one a certain value set to 0 instead of 1. Visually, there doesn't seem to be any difference with the other.
+
|'''[[Event_Instruction_2C|<span title="A copy of {53} FaceUnit with one a certain value set to 0 instead of 1. Visually, there doesn't seem to be any difference with the other.
{{IE_53_desc}}">{2C} FaceUnit2</span>]]'''
+
Makes unit(s) rotate to face a specified unit. The rotation direction is the shortest one (Clockwise as default).">{2C} FaceUnit2</span>]]'''
|'''{{IE_2C}}(<span title="Faced Unit ID" style="color:green">xFU</span>,x00,<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Clockwise or Counter-clockwise" style="color:green">xCL</span>,<span title="Rotation Speed" style="color:green">xRS</span>,<span title="Delay" style="color:green">xDL</span>)'''
+
|'''FaceUnit2(<span title="Faced Unit ID" style="color:green">xFU</span>,x00,<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Clockwise or Counter-clockwise" style="color:green">xCL</span>,<span title="Rotation Speed" style="color:green">xRS</span>,<span title="Delay" style="color:green">xDL</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_2D|<span title="The unit will rotate to a given direction.">{2D} RotateUnit</span>]]'''
 
|'''[[Event_Instruction_2D|<span title="The unit will rotate to a given direction.">{2D} RotateUnit</span>]]'''
|'''{{IE_2D}}(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Direction" style="color:green">xDR</span>,<span title="Clockwise or Counter-clockwise" style="color:green">xCL</span>,<span title="Rotation Speed" style="color:green">xRS</span>,<span title="Delay" style="color:green">xDL</span>)'''
+
|'''RotateUnit(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Direction" style="color:green">xDR</span>,<span title="Clockwise or Counter-clockwise" style="color:green">xCL</span>,<span title="Rotation Speed" style="color:green">xRS</span>,<span title="Delay" style="color:green">xDL</span>)'''
 
|Structure Altered
 
|Structure Altered
 
|-
 
|-
Line 145: Line 145:
  
 
(0,0,0) is black and (255,255,255) is white.">{2E} Background</span>]]'''
 
(0,0,0) is black and (255,255,255) is white.">{2E} Background</span>]]'''
|'''{{IE_2E}}(<span title="Red (Top)" style="color:green">RDT</span>,<span title="Green (Top)" style="color:green">GRT</span>,<span title="Blue (Top)" style="color:green">BLT</span>,<span title="Red (Bottom)" style="color:green">RDB</span>,<span title="Green (Bottom)" style="color:green">GRB</span>,<span title="Blue (Bottom)" style="color:green">BLB</span>,<span title="Time" style="color:green">TIM</span>,<span title="Unknown" style="color:green">x00</span>)'''
+
|'''Background(<span title="Red (Top)" style="color:green">RDT</span>,<span title="Green (Top)" style="color:green">GRT</span>,<span title="Blue (Top)" style="color:green">BLT</span>,<span title="Red (Bottom)" style="color:green">RDB</span>,<span title="Green (Bottom)" style="color:green">GRB</span>,<span title="Blue (Bottom)" style="color:green">BLB</span>,<span title="Time" style="color:green">TIM</span>,<span title="Unknown" style="color:green">x00</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_31|<span title="Colors Background to new value based on the current coloration, allowing better blending but ineffective on pure-black backgrounds.">{31} ColorBGBeta</span>]]'''
 
|'''[[Event_Instruction_31|<span title="Colors Background to new value based on the current coloration, allowing better blending but ineffective on pure-black backgrounds.">{31} ColorBGBeta</span>]]'''
|'''{{IE_31}}(<span title="Pre-set Color" style="color:green">xPR</span>,<span title="Red" style="color:green">+RED</span>,<span title="Green" style="color:green">+GRN</span>,<span title="Blue" style="color:green">+BLU</span>,<span title="Time" style="color:green">TIM</span>)'''
+
|'''ColorBGBeta(<span title="Pre-set Color" style="color:green">xPR</span>,<span title="Red" style="color:green">+RED</span>,<span title="Green" style="color:green">+GRN</span>,<span title="Blue" style="color:green">+BLU</span>,<span title="Time" style="color:green">TIM</span>)'''
 
|
 
|
 
|-
 
|-
Line 155: Line 155:
  
 
(+127,-128,-128) is red and (+127,+127,+127) is white while (+000,+000,+000) returns the unit to its original color.">{32} ColorUnit</span>]]'''
 
(+127,-128,-128) is red and (+127,+127,+127) is white while (+000,+000,+000) returns the unit to its original color.">{32} ColorUnit</span>]]'''
|'''{{IE_32}}(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Pre-set Color" style="color:green">xPR</span>,<span title="Red" style="color:green">+RED</span>,<span title="Green" style="color:green">+GRN</span>,<span title="Blue" style="color:green">+BLU</span>,<span title="Time" style="color:green">TIM</span>)'''
+
|'''ColorUnit(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Pre-set Color" style="color:green">xPR</span>,<span title="Red" style="color:green">+RED</span>,<span title="Green" style="color:green">+GRN</span>,<span title="Blue" style="color:green">+BLU</span>,<span title="Time" style="color:green">TIM</span>)'''
 
|
 
|
 
|-
 
|-
Line 161: Line 161:
  
 
(-128,-128,-128) is black and (+127,+127,+127) is white while (+000,+000,+000) returns the map to its original color.">{33} ColorField</span>]]'''
 
(-128,-128,-128) is black and (+127,+127,+127) is white while (+000,+000,+000) returns the map to its original color.">{33} ColorField</span>]]'''
|'''{{IE_33}}(<span title="Pre-set Color" style="color:green">xPR</span>,<span title="Red" style="color:green">+RED</span>,<span title="Green" style="color:green">+GRN</span>,<span title="Blue" style="color:green">+BLU</span>,<span title="Time" style="color:green">TIM</span>)'''
+
|'''ColorField(<span title="Pre-set Color" style="color:green">xPR</span>,<span title="Red" style="color:green">+RED</span>,<span title="Green" style="color:green">+GRN</span>,<span title="Blue" style="color:green">+BLU</span>,<span title="Time" style="color:green">TIM</span>)'''
 
|
 
|
 
|-
 
|-
Line 169: Line 169:
 
|-
 
|-
 
|'''[[Event_Instruction_38|<span title="Sets the traveling speed for the camera instruction using Focus' settings.">{38} FocusSpeed</span>]]'''
 
|'''[[Event_Instruction_38|<span title="Sets the traveling speed for the camera instruction using Focus' settings.">{38} FocusSpeed</span>]]'''
|'''{{IE_38}}(<span title="Travel Speed" style="color:green">+SPEED</span>)'''
+
|'''FocusSpeed(<span title="Travel Speed" style="color:green">+SPEED</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 181: Line 181:
 
|-
 
|-
 
|'''[[Event_Instruction_3B|<span title="Moves Target Unit to specified coordinates relative to its starting position, ignoring the field and the units statistics such as Jump.">{3B} SpriteMove</span>]]'''
 
|'''[[Event_Instruction_3B|<span title="Moves Target Unit to specified coordinates relative to its starting position, ignoring the field and the units statistics such as Jump.">{3B} SpriteMove</span>]]'''
|'''{{IE_3B}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="X Movement" style="color:green">+XXXXX</span>,<span title="Z Movement" style="color:green">+ZZZZZ</span>,<span title="Y Movement" style="color:green">+YYYYY</span>,<span title="Movement Type" style="color:green">xMV</span>,<span title="Unknown" style="color:green">x??</span>,<span title="Time" style="color:green">+TIMER</span>)'''
+
|'''SpriteMove(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="X Movement" style="color:green">+XXXXX</span>,<span title="Z Movement" style="color:green">+ZZZZZ</span>,<span title="Y Movement" style="color:green">+YYYYY</span>,<span title="Movement Type" style="color:green">xMV</span>,<span title="Unknown" style="color:green">x??</span>,<span title="Time" style="color:green">+TIMER</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_3C|<span title="Controls the weather's power, but not the weather type.">{3C} Weather</span>]]'''
 
|'''[[Event_Instruction_3C|<span title="Controls the weather's power, but not the weather type.">{3C} Weather</span>]]'''
|'''{{IE_3C}}(<span title="Weather Power" style="color:green">xWP</span>,<span title="Unknown" style="color:green">x01</span>)'''
+
|'''Weather(<span title="Weather Power" style="color:green">xWP</span>,<span title="Unknown" style="color:green">x01</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_3D|<span title="Removes a unit from the field and memory entirely.">{3D} RemoveUnit</span>]]'''
 
|'''[[Event_Instruction_3D|<span title="Removes a unit from the field and memory entirely.">{3D} RemoveUnit</span>]]'''
|'''{{IE_3D}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''RemoveUnit(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
Line 197: Line 197:
  
 
Not battle-friendly.">{3E} ColorScreen</span>]]'''
 
Not battle-friendly.">{3E} ColorScreen</span>]]'''
|'''{{IE_3E}}(<span title="Blending Mode" style="color:green">xBM</span>,<span title="Initial Red" style="color:green">IRD</span>,<span title="Initial Green" style="color:green">IGR</span>,<span title="Initial Blue" style="color:green">IBL</span>,<span title="Target Red" style="color:green">TRD</span>,<span title="Target Green" style="color:green">TGR</span>,<span title="Target Blue" style="color:green">TBL</span>,<span title="Time" style="color:green">+TIMER</span>)'''
+
|'''ColorScreen(<span title="Blending Mode" style="color:green">xBM</span>,<span title="Initial Red" style="color:green">IRD</span>,<span title="Initial Green" style="color:green">IGR</span>,<span title="Initial Blue" style="color:green">IBL</span>,<span title="Target Red" style="color:green">TRD</span>,<span title="Target Green" style="color:green">TGR</span>,<span title="Target Blue" style="color:green">TBL</span>,<span title="Time" style="color:green">+TIMER</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 211: Line 211:
  
 
Not battle-friendly.">{41} EarthquakeStart</span>]]'''
 
Not battle-friendly.">{41} EarthquakeStart</span>]]'''
|'''{{IE_41}}(<span title="Magnitude" style="color:green">MAG</span>,<span title="Mercalli Intensity Scale" style="color:green">MER</span>,<span title="Secondary Shock Magnitude" style="color:green">SMG</span>,<span title="Secondary Shock Delay" style="color:green">SSD</span>)'''
+
|'''EarthquakeStart(<span title="Magnitude" style="color:green">MAG</span>,<span title="Mercalli Intensity Scale" style="color:green">MER</span>,<span title="Secondary Shock Magnitude" style="color:green">SMG</span>,<span title="Secondary Shock Delay" style="color:green">SSD</span>)'''
 
|Renamed (Earthquake)
 
|Renamed (Earthquake)
 
|-
 
|-
 
|'''[[Event_Instruction_42|<span title="Stops an ongoing earthquake.">{42} EarthquakeEnd</span>]]'''
 
|'''[[Event_Instruction_42|<span title="Stops an ongoing earthquake.">{42} EarthquakeEnd</span>]]'''
|'''{{IE_42}}()'''
+
|'''EarthquakeEnd()'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_43|<span title="Can call various different functions to alter many different things in the game.">{43} CallFunction</span>]]'''
 
|'''[[Event_Instruction_43|<span title="Can call various different functions to alter many different things in the game.">{43} CallFunction</span>]]'''
|'''{{IE_43}}(<span title="Function" style="color:green">xFC</span>)'''
+
|'''CallFunction(<span title="Function" style="color:green">xFC</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_44|<span title="Draws a loaded unit that is currently not being displayed.">{44} Draw</span>]]'''
 
|'''[[Event_Instruction_44|<span title="Draws a loaded unit that is currently not being displayed.">{44} Draw</span>]]'''
|'''{{IE_44}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''Draw(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_45|<span title="Adds a unit to the event that is not currently loaded.">{45} AddUnit</span>]]'''
 
|'''[[Event_Instruction_45|<span title="Adds a unit to the event that is not currently loaded.">{45} AddUnit</span>]]'''
|'''{{IE_45}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Drawing" style="color:green">xDR</span>)'''
+
|'''AddUnit(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Drawing" style="color:green">xDR</span>)'''
 
|Renamed (UnitPresent)
 
|Renamed (UnitPresent)
 
|-
 
|-
 
|'''[[Event_Instruction_46|<span title="Erase a unit whose sprite is currently being displayed. Unit can be re-drawn later.">{46} Erase</span>]]'''
 
|'''[[Event_Instruction_46|<span title="Erase a unit whose sprite is currently being displayed. Unit can be re-drawn later.">{46} Erase</span>]]'''
|'''{{IE_46}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''Erase(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_47|<span title="Adds a fake unit on the map which can be mostly controlled like a regular unit, with some exceptions. In battle, the unit cannot take action or be targeted, and units will be able to walk through it. You can use any spritesheet you want, but be warned: Adding a new spritesheet will leave you with the impossibility of removing the spritesheet even if you remove the Ghost Unit.">{47} AddGhostUnit</span>]]'''
 
|'''[[Event_Instruction_47|<span title="Adds a fake unit on the map which can be mostly controlled like a regular unit, with some exceptions. In battle, the unit cannot take action or be targeted, and units will be able to walk through it. You can use any spritesheet you want, but be warned: Adding a new spritesheet will leave you with the impossibility of removing the spritesheet even if you remove the Ghost Unit.">{47} AddGhostUnit</span>]]'''
|'''{{IE_47}}(<span title="Spritesheet ID" style="color:green">xSP</span>,x00,<span title="Assigned Unit ID" style="color:green">xID</span>,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Elevation" style="color:green">xEL</span>,<span title="Facing Direction" style="color:green">xFD</span>,<span title="Drawing" style="color:green">xDR</span>)'''
+
|'''AddGhostUnit(<span title="Spritesheet ID" style="color:green">xSP</span>,x00,<span title="Assigned Unit ID" style="color:green">xID</span>,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Elevation" style="color:green">xEL</span>,<span title="Facing Direction" style="color:green">xFD</span>,<span title="Drawing" style="color:green">xDR</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_48|<span title="Waits until a normal or ghost unit is loaded into the event before resuming.">{48} WaitAddUnit</span>]]'''
 
|'''[[Event_Instruction_48|<span title="Waits until a normal or ghost unit is loaded into the event before resuming.">{48} WaitAddUnit</span>]]'''
|'''{{IE_48}}()'''
+
|'''WaitAddUnit()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
|'''[[Event_Instruction_49|<span title="Creates an independently running block inside the event to load one or many units in the game. Does not slow down the event in any way, but make sure to use {4B} {{IE_4B}} before using instructions on the new units.
+
|'''[[Event_Instruction_49|<span title="Creates an independently running block inside the event to load one or many units in the game. Does not slow down the event in any way, but make sure to use {4B} WaitAddUnitEnd before using instructions on the new units.
  
There is no need to use {48} {{IE_48}} after each unit inside this block.">{49} AddUnitStart</span>]]'''
+
There is no need to use {48} WaitAddUnit after each unit inside this block.">{49} AddUnitStart</span>]]'''
|'''{{IE_49}}()'''
+
|'''AddUnitStart()'''
 
|Renamed (AddUnitPrep)
 
|Renamed (AddUnitPrep)
 
|-
 
|-
|'''[[Event_Instruction_4A|<span title="Creates an independently running block inside the event to load one or many units in the game. Does not slow down the event in any way, but make sure to use {4B} {{IE_4B}} before using instructions on the new units.
+
|'''[[Event_Instruction_4A|<span title="Creates an independently running block inside the event to load one or many units in the game. Does not slow down the event in any way, but make sure to use {4B} WaitAddUnitEnd before using instructions on the new units.
  
There is no need to use {48} {{IE_48}} after each unit inside this block.">{4A} AddUnitEnd</span>]]'''
+
There is no need to use {48} WaitAddUnit after each unit inside this block.">{4A} AddUnitEnd</span>]]'''
|'''{{IE_4A}}()'''
+
|'''AddUnitEnd()'''
 
|Renamed (AddUnitStart)
 
|Renamed (AddUnitStart)
 
|-
 
|-
|'''[[Event_Instruction_4B|<span title="Waits until a currently running {49} {{IE_49}}/{4A} {{IE_4A}} block has completed before resuming.">{4B} WaitAddUnitEnd</span>]]'''
+
|'''[[Event_Instruction_4B|<span title="Waits until a currently running {49} AddUnitStart/{4A} AddUnitEnd block has completed before resuming.">{4B} WaitAddUnitEnd</span>]]'''
|'''{{IE_4B}}()'''
+
|'''WaitAddUnitEnd()'''
 
|Renamed (AddUnitEnd)
 
|Renamed (AddUnitEnd)
 
|-
 
|-
 
|'''[[Event_Instruction_4C|<span title="Fades to black, then changes the map, reloading all the settings such as Weather or State.">{4C} ChangeMap</span>]]'''
 
|'''[[Event_Instruction_4C|<span title="Fades to black, then changes the map, reloading all the settings such as Weather or State.">{4C} ChangeMap</span>]]'''
|'''{{IE_4C}}(<span title="Map" style="color:green">MAP</span>,x00)'''
+
|'''ChangeMap(<span title="Map" style="color:green">MAP</span>,x00)'''
 
|Renamed (BlackoutBeta)
 
|Renamed (BlackoutBeta)
 
|-
 
|-
 
|'''[[Event_Instruction_4D|<span title="Progressively reveals the screen to unveil the scene. Required to start a new scenario.">{4D} Reveal</span>]]'''
 
|'''[[Event_Instruction_4D|<span title="Progressively reveals the screen to unveil the scene. Required to start a new scenario.">{4D} Reveal</span>]]'''
|'''{{IE_4D}}(<span title="Time" style="color:green">TIM</span>)'''
+
|'''Reveal(<span title="Time" style="color:green">TIM</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 269: Line 269:
  
 
Battle-friendly.">{4E} UnitShadow</span>]]'''
 
Battle-friendly.">{4E} UnitShadow</span>]]'''
|'''{{IE_4E}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Shadow" style="color:green">xSH</span>)'''
+
|'''UnitShadow(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Shadow" style="color:green">xSH</span>)'''
 
|Renamed (AddUnit)
 
|Renamed (AddUnit)
 
|-
 
|-
 
|'''[[Event_Instruction_4F|<span title="Stores day or night for the next time you will load/reload a map.">{4F} SetDaytime</span>]]'''
 
|'''[[Event_Instruction_4F|<span title="Stores day or night for the next time you will load/reload a map.">{4F} SetDaytime</span>]]'''
|'''{{IE_4F}}(<span title="Daytime" style="color:green">xDT</span>)'''
+
|'''SetDaytime(<span title="Daytime" style="color:green">xDT</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_50|<span title="Sets the column that will be used to load a custom portrait from EVTFACE.BIN for the following Dialog Boxes.">{50} PortraitCol</span>]]'''
 
|'''[[Event_Instruction_50|<span title="Sets the column that will be used to load a custom portrait from EVTFACE.BIN for the following Dialog Boxes.">{50} PortraitCol</span>]]'''
|'''{{IE_50}}(<span title="Portrait Column" style="color:green">xPC</span>)'''
+
|'''PortraitCol(<span title="Portrait Column" style="color:green">xPC</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_51|<span title="Changes the content of a Dialog Box or closes it.">{51} ChangeDialog</span>]]'''
 
|'''[[Event_Instruction_51|<span title="Changes the content of a Dialog Box or closes it.">{51} ChangeDialog</span>]]'''
|'''{{IE_51}}(<span title="Target Dialog Box" style="color:green">xDB</span>,<span title="New Message ID" style="color:green">xMSG#</span>,<span title="Portrait Row" style="color:green">xPR</span>,<span title="Portrait Palette" style="color:green">xPP</span>)'''
+
|'''ChangeDialog(<span title="Target Dialog Box" style="color:green">xDB</span>,<span title="New Message ID" style="color:green">xMSG#</span>,<span title="Portrait Row" style="color:green">xPR</span>,<span title="Portrait Palette" style="color:green">xPP</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_53|<span title="Makes unit(s) rotate to face a specified unit. The rotation direction is the shortest one (Clockwise as default).">{53} FaceUnit</span>]]'''
 
|'''[[Event_Instruction_53|<span title="Makes unit(s) rotate to face a specified unit. The rotation direction is the shortest one (Clockwise as default).">{53} FaceUnit</span>]]'''
|'''{{IE_53}}(<span title="Faced Unit ID" style="color:green">xFU</span>,x00,<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Clockwise or Counter-clockwise" style="color:green">xCL</span>,<span title="Rotation Speed" style="color:green">xRS</span>,<span title="Delay" style="color:green">xDL</span>)'''
+
|'''FaceUnit(<span title="Faced Unit ID" style="color:green">xFU</span>,x00,<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Clockwise or Counter-clockwise" style="color:green">xCL</span>,<span title="Rotation Speed" style="color:green">xRS</span>,<span title="Delay" style="color:green">xDL</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_54|<span title="Use an object that has a 3D animation.">{54} Use3DObject</span>]]'''
 
|'''[[Event_Instruction_54|<span title="Use an object that has a 3D animation.">{54} Use3DObject</span>]]'''
|'''{{IE_54}}(<span title="Object ID" style="color:green">xID</span>,<span title="New State" style="color:green">xST</span>)'''
+
|'''Use3DObject(<span title="Object ID" style="color:green">xID</span>,<span title="New State" style="color:green">xST</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_55|<span title="Changes the state of an object on the map.">{55} UseFieldObject</span>]]'''
 
|'''[[Event_Instruction_55|<span title="Changes the state of an object on the map.">{55} UseFieldObject</span>]]'''
|'''{{IE_55}}(<span title="State Change ID" style="color:green">xID</span>,x00)'''
+
|'''UseFieldObject(<span title="State Change ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_56|<span title="Waits until all activated 3D objects are done animating before resuming.">{56} Wait3DObject</span>]]'''
 
|'''[[Event_Instruction_56|<span title="Waits until all activated 3D objects are done animating before resuming.">{56} Wait3DObject</span>]]'''
|'''{{IE_56}}()'''
+
|'''Wait3DObject()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_57|<span title="Waits for an object being used to complete its cycle before resuming.">{57} WaitFieldObject</span>]]'''
 
|'''[[Event_Instruction_57|<span title="Waits for an object being used to complete its cycle before resuming.">{57} WaitFieldObject</span>]]'''
|'''{{IE_57}}()'''
+
|'''WaitFieldObject()'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_58|<span title="Loads an EVTCHR slot from the CD to temporary memory.">{58} LoadEVTCHR</span>]]'''
 
|'''[[Event_Instruction_58|<span title="Loads an EVTCHR slot from the CD to temporary memory.">{58} LoadEVTCHR</span>]]'''
|'''{{IE_58}}(<span title="Memory Block" style="color:green">xBL</span>,<span title="EVTCHR Slot" style="color:green">xEV</span>,x00)'''
+
|'''LoadEVTCHR(<span title="Memory Block" style="color:green">xBL</span>,<span title="EVTCHR Slot" style="color:green">xEV</span>,x00)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_59|<span title="Saves the loaded EVTCHR Slot to a specific block in order to use its frames and animations.">{59} SaveEVTCHR</span>]]'''
 
|'''[[Event_Instruction_59|<span title="Saves the loaded EVTCHR Slot to a specific block in order to use its frames and animations.">{59} SaveEVTCHR</span>]]'''
|'''{{IE_59}}(<span title="Memory Block" style="color:green">xBL</span>)'''
+
|'''SaveEVTCHR(<span title="Memory Block" style="color:green">xBL</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_5A|<span title="Allows to save an EVTCHR slot once more in the given memory block.">{5A} SaveEVTCHRClear</span>]]'''
 
|'''[[Event_Instruction_5A|<span title="Allows to save an EVTCHR slot once more in the given memory block.">{5A} SaveEVTCHRClear</span>]]'''
|'''{{IE_5A}}(<span title="Memory Block" style="color:green">xBL</span>,x00)'''
+
|'''SaveEVTCHRClear(<span title="Memory Block" style="color:green">xBL</span>,x00)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_5B|<span title="Allows to load an EVTCHR slot once more in the given memory block.">{5B} LoadEVTCHRClear</span>]]'''
 
|'''[[Event_Instruction_5B|<span title="Allows to load an EVTCHR slot once more in the given memory block.">{5B} LoadEVTCHRClear</span>]]'''
|'''{{IE_5B}}(<span title="Memory Block" style="color:green">xBL</span>,x00)'''
+
|'''LoadEVTCHRClear(<span title="Memory Block" style="color:green">xBL</span>,x00)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 329: Line 329:
 
|-
 
|-
 
|'''[[Event_Instruction_5E|<span title="Terminates the currently playing song immediately.">{5E} EndSong</span>]]'''
 
|'''[[Event_Instruction_5E|<span title="Terminates the currently playing song immediately.">{5E} EndSong</span>]]'''
|'''{{IE_5E}}(<span title="Unknown" style="color:green">x??</span>)'''
+
|'''EndSong(<span title="Unknown" style="color:green">x??</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_5F|<span title="Warps a unit to a new location instantly.">{5F} WarpUnit</span>]]'''
 
|'''[[Event_Instruction_5F|<span title="Warps a unit to a new location instantly.">{5F} WarpUnit</span>]]'''
|'''{{IE_5F}}(<span title="UnitID" style="color:green">xID</span>,x00,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Elevation" style="color:green">xEL</span>,<span title="Facing Direction" style="color:green">xFD</span>)'''
+
|'''WarpUnit(<span title="UnitID" style="color:green">xID</span>,x00,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Elevation" style="color:green">xEL</span>,<span title="Facing Direction" style="color:green">xFD</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_60|<span title="Progressively fade sounds and music until they stop playing completely.">{60} FadeSound</span>]]'''
 
|'''[[Event_Instruction_60|<span title="Progressively fade sounds and music until they stop playing completely.">{60} FadeSound</span>]]'''
|'''{{IE_60}}(x00,<span title="Time" style="color:green">TIM</span>)'''
+
|'''FadeSound(x00,<span title="Time" style="color:green">TIM</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 353: Line 353:
 
|-
 
|-
 
|'''[[Event_Instruction_64|<span title="Waits for a unit to finish rotating/facing another unit before resuming.">{64} WaitRotateUnit</span>]]'''
 
|'''[[Event_Instruction_64|<span title="Waits for a unit to finish rotating/facing another unit before resuming.">{64} WaitRotateUnit</span>]]'''
|'''{{IE_64}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''WaitRotateUnit(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_65|<span title="Waits for every unit to finish rotating/facing another unit before resuming.">{65} WaitRotateAll</span>]]'''
 
|'''[[Event_Instruction_65|<span title="Waits for every unit to finish rotating/facing another unit before resuming.">{65} WaitRotateAll</span>]]'''
|'''{{IE_65}}()'''
+
|'''WaitRotateAll()'''
 
|Renamed (WaitFaceUnit)
 
|Renamed (WaitFaceUnit)
 
|-
 
|-
Line 365: Line 365:
 
|-
 
|-
 
|'''[[Event_Instruction_68|<span title="Mirrors a sprite and all its animations/ETVCHR as if they were facing left instead of right, and vice versa.">{68} MirrorSprite</span>]]'''
 
|'''[[Event_Instruction_68|<span title="Mirrors a sprite and all its animations/ETVCHR as if they were facing left instead of right, and vice versa.">{68} MirrorSprite</span>]]'''
|'''{{IE_68}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Mirror" style="color:green">xMI</span>)'''
+
|'''MirrorSprite(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Mirror" style="color:green">xMI</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_69|<span title="Makes unit(s) rotate to face a specified tile. The rotation direction is the shortest one (Clockwise as default).">{69} FaceTile</span>]]'''
 
|'''[[Event_Instruction_69|<span title="Makes unit(s) rotate to face a specified tile. The rotation direction is the shortest one (Clockwise as default).">{69} FaceTile</span>]]'''
|'''{{IE_69}}(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Unknown" style="color:green">x00</span>,<span title="Clockwise or Counter-clockwise" style="color:green">xCL</span>,<span title="Rotation Speed" style="color:green">xRS</span>,<span title="Delay" style="color:green">xDL</span>)'''
+
|'''FaceTile(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="X Coordinate" style="color:green">XXX</span>,<span title="Y Coordinate" style="color:green">YYY</span>,<span title="Unknown" style="color:green">x00</span>,<span title="Clockwise or Counter-clockwise" style="color:green">xCL</span>,<span title="Rotation Speed" style="color:green">xRS</span>,<span title="Delay" style="color:green">xDL</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_6A|<span title="Edits a currently playing Background sound.">{6A} EditBGSound</span>]]'''
 
|'''[[Event_Instruction_6A|<span title="Edits a currently playing Background sound.">{6A} EditBGSound</span>]]'''
|'''{{IE_6A}}(<span title="Sound ID" style="color:green">xSD</span>,<span title="Volume" style="color:green">+VOL</span>,<span title="Echo" style="color:green">+ECH</span>,<span title="Unknown" style="color:green">x00</span>,<span title="Unknown" style="color:green">x??</span>)'''
+
|'''EditBGSound(<span title="Sound ID" style="color:green">xSD</span>,<span title="Volume" style="color:green">+VOL</span>,<span title="Echo" style="color:green">+ECH</span>,<span title="Unknown" style="color:green">x00</span>,<span title="Unknown" style="color:green">x??</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_6B|<span title="Plays the indexed background sound effect.">{6B} BGSound</span>]]'''
 
|'''[[Event_Instruction_6B|<span title="Plays the indexed background sound effect.">{6B} BGSound</span>]]'''
|'''{{IE_6B}}(<span title="Sound ID" style="color:green">xSD</span>,<span title="Volume" style="color:green">+VOL</span>,<span title="Echo" style="color:green">+ECH</span>,<span title="Sound Stacking" style="color:green">xST</span>,<span title="Time" style="color:green">TIM</span>)'''
+
|'''BGSound(<span title="Sound ID" style="color:green">xSD</span>,<span title="Volume" style="color:green">+VOL</span>,<span title="Echo" style="color:green">+ECH</span>,<span title="Sound Stacking" style="color:green">xST</span>,<span title="Time" style="color:green">TIM</span>)'''
 
|
 
|
 
|-
 
|-
Line 390: Line 390:
 
|'''[[Event_Instruction_6E|<span title="Very similar to its sister instruction, but instead uses different movement types and uses speed instead of time.
 
|'''[[Event_Instruction_6E|<span title="Very similar to its sister instruction, but instead uses different movement types and uses speed instead of time.
  
{{IE_3B_desc}}">{6E} SpriteMoveBeta</span>]]'''
+
Moves Target Unit to specified coordinates relative to its starting position, ignoring the field and the units statistics such as Jump.">{6E} SpriteMoveBeta</span>]]'''
|'''{{IE_6E}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="X Movement" style="color:green">+XXXXX</span>,<span title="Z Movement" style="color:green">+ZZZZZ</span>,<span title="Y Movement" style="color:green">+YYYYY</span>,<span title="Movement Type" style="color:green">xMV</span>,<span title="Unknown" style="color:green">x??</span>,<span title="Speed" style="color:green">+SPEED</span>)'''
+
|'''SpriteMoveBeta(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="X Movement" style="color:green">+XXXXX</span>,<span title="Z Movement" style="color:green">+ZZZZZ</span>,<span title="Y Movement" style="color:green">+YYYYY</span>,<span title="Movement Type" style="color:green">xMV</span>,<span title="Unknown" style="color:green">x??</span>,<span title="Speed" style="color:green">+SPEED</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_6F|<span title="Wait for a unit to complete its custom movement before resuming.">{6F} WaitSpriteMove</span>]]'''
 
|'''[[Event_Instruction_6F|<span title="Wait for a unit to complete its custom movement before resuming.">{6F} WaitSpriteMove</span>]]'''
|'''{{IE_6F}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''WaitSpriteMove(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
Line 401: Line 401:
  
 
If the target tile is off the map, the unit will freeze in its frame and slide off the screen.">{70} Jump</span>]]'''
 
If the target tile is off the map, the unit will freeze in its frame and slide off the screen.">{70} Jump</span>]]'''
|'''{{IE_70}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Distance" style="color:green">DST</span>,<span title="Direction" style="color:green">xDR</span>)'''
+
|'''Jump(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Distance" style="color:green">DST</span>,<span title="Direction" style="color:green">xDR</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 425: Line 425:
 
|-
 
|-
 
|'''[[Event_Instruction_76|<span title="Create a dark screen that allows units to join your party, display winning conditions and save your party back to formation.">{76} DarkScreen</span>]]'''
 
|'''[[Event_Instruction_76|<span title="Create a dark screen that allows units to join your party, display winning conditions and save your party back to formation.">{76} DarkScreen</span>]]'''
|'''{{IE_76}}(x00,<span title="Shape" style="color:green">xSH</span>,<span title="Screen Expansion Speed" style="color:green">ESP</span>,<span title="Rotation Speed" style="color:green">RTS</span>,x00,<span title="Square Expansion Speed" style="color:green">SES</span>)'''
+
|'''DarkScreen(x00,<span title="Shape" style="color:green">xSH</span>,<span title="Screen Expansion Speed" style="color:green">ESP</span>,<span title="Rotation Speed" style="color:green">RTS</span>,x00,<span title="Square Expansion Speed" style="color:green">SES</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_77|<span title="Removes the dark screen with the same parameters it was called with.">{77} RemoveDarkScreen</span>]]'''
 
|'''[[Event_Instruction_77|<span title="Removes the dark screen with the same parameters it was called with.">{77} RemoveDarkScreen</span>]]'''
|'''{{IE_77}}()'''
+
|'''RemoveDarkScreen()'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_78|<span title="Display a Winning condition, Congratulations, War Trophies or Bonus Money received after the battle.">{78} DisplayConditions</span>]]'''
 
|'''[[Event_Instruction_78|<span title="Display a Winning condition, Congratulations, War Trophies or Bonus Money received after the battle.">{78} DisplayConditions</span>]]'''
|'''{{IE_78}}(<span title="Message" style="color:green">xMG</span>,<span title="Display Time" style="color:green">DST</span>)'''
+
|'''DisplayConditions(<span title="Message" style="color:green">xMG</span>,<span title="Display Time" style="color:green">DST</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_79|<span title="Applies a normal or an EVTCHR animation to a given unit when it arrives at destination.">{79} WalkToAnim</span>]]'''
 
|'''[[Event_Instruction_79|<span title="Applies a normal or an EVTCHR animation to a given unit when it arrives at destination.">{79} WalkToAnim</span>]]'''
|'''{{IE_79}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Animation ID (SEQ/EVTCHR)" style="color:green">xANIM</span>)'''
+
|'''WalkToAnim(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Animation ID (SEQ/EVTCHR)" style="color:green">xANIM</span>)'''
 
|Renamed (MovementAnim)
 
|Renamed (MovementAnim)
 
|-
 
|-
 
|'''[[Event_Instruction_7A|<span title="Removes the first unit which matches the given Special Job ID from the player's roster.">{7A} DismissUnit</span>]]'''
 
|'''[[Event_Instruction_7A|<span title="Removes the first unit which matches the given Special Job ID from the player's roster.">{7A} DismissUnit</span>]]'''
|'''{{IE_7A}}(<span title="Special Job ID" style="color:green">xJB</span>,x00)'''
+
|'''DismissUnit(<span title="Special Job ID" style="color:green">xJB</span>,x00)'''
 
|
 
|
 
|-
 
|-
Line 453: Line 453:
 
|-
 
|-
 
|'''[[Event_Instruction_7D|<span title="Gradually prints a graphic on the screen, and erases it the same way.">{7D} ShowGraphic</span>]]'''
 
|'''[[Event_Instruction_7D|<span title="Gradually prints a graphic on the screen, and erases it the same way.">{7D} ShowGraphic</span>]]'''
|'''{{IE_7D}}(<span title="Graphic ID" style="color:green">xGR</span>)'''
+
|'''ShowGraphic(<span title="Graphic ID" style="color:green">xGR</span>)'''
 
|Renamed (ShowChapter)
 
|Renamed (ShowChapter)
 
|-
 
|-
 
|'''[[Event_Instruction_7E|<span title="Waits until a given value has reached at least a certain amount before resuming.">{7E} WaitValue</span>]]'''
 
|'''[[Event_Instruction_7E|<span title="Waits until a given value has reached at least a certain amount before resuming.">{7E} WaitValue</span>]]'''
|'''{{IE_7E}}(<span title="Address" style="color:green">xADDR</span>,<span title="Value" style="color:green">xVALU</span>)'''
+
|'''WaitValue(<span title="Address" style="color:green">xADDR</span>,<span title="Value" style="color:green">xVALU</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_7F|<span title="Changes the palette of a character by loading one from an EVTCHR Block.">{7F} EVTCHRPalette</span>]]'''
 
|'''[[Event_Instruction_7F|<span title="Changes the palette of a character by loading one from an EVTCHR Block.">{7F} EVTCHRPalette</span>]]'''
|'''{{IE_7F}}(<span title="UnitID" style="color:green">xID</span>,x00,<span title="EVTCHR Block" style="color:green">xBL</span>,<span title="Palette ID" style="color:green">xPL</span>)'''
+
|'''EVTCHRPalette(<span title="UnitID" style="color:green">xID</span>,x00,<span title="EVTCHR Block" style="color:green">xBL</span>,<span title="Palette ID" style="color:green">xPL</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_80|<span title="Make units start their walking animation, ready to fight. Even if not called, this instruction is automatically executed when a battle starts with 0 frames between units.">{80} March</span>]]'''
 
|'''[[Event_Instruction_80|<span title="Make units start their walking animation, ready to fight. Even if not called, this instruction is automatically executed when a battle starts with 0 frames between units.">{80} March</span>]]'''
|'''{{IE_80}}(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Time" style="color:green">TIM</span>)'''
+
|'''March(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Time" style="color:green">TIM</span>)'''
 
|
 
|
 
|-
 
|-
Line 472: Line 472:
 
|
 
|
 
|-
 
|-
|'''[[Event_Instruction_82|<span title="Unknown. Only ever used inside {49} {{IE_49}} + {4A} {{IE_4A}} blocks. High tendency to break the game when {43} {{IE_43}}(x06) is used afterwards. Even though the original game achieves this without crashing, the procedure is unknown.">{82}</span>]]'''
+
|'''[[Event_Instruction_82|<span title="Unknown. Only ever used inside {49} AddUnitStart + {4A} AddUnitEnd blocks. High tendency to break the game when {43} CallFunction(x06) is used afterwards. Even though the original game achieves this without crashing, the procedure is unknown.">{82}</span>]]'''
 
|
 
|
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_83|<span title="Change the stats of affected units.">{83} ChangeStats</span>]]'''
 
|'''[[Event_Instruction_83|<span title="Change the stats of affected units.">{83} ChangeStats</span>]]'''
|'''{{IE_83}}(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Stat" style="color:green">xST</span>,<span title="Value" style="color:green">+VALUE</span>)'''
+
|'''ChangeStats(<span title="Affected Units" style="color:green">xAU</span>,<span title="Multi Targeting" style="color:green">xMT</span>,<span title="Stat" style="color:green">xST</span>,<span title="Value" style="color:green">+VALUE</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_84|<span title="Plays a song file. Don't get excited, the list is very short and mostly useless.">{84} PlaySong</span>]]'''
 
|'''[[Event_Instruction_84|<span title="Plays a song file. Don't get excited, the list is very short and mostly useless.">{84} PlaySong</span>]]'''
|'''{{IE_84}}(<span title="Song ID" style="color:green">xSG</span>)'''
+
|'''PlaySong(<span title="Song ID" style="color:green">xSG</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_85|<span title="Sets the unlocking date of a treasure/land to the current day.">{85} UnlockDate</span>]]'''
 
|'''[[Event_Instruction_85|<span title="Sets the unlocking date of a treasure/land to the current day.">{85} UnlockDate</span>]]'''
|'''{{IE_85}}(<span title="Treasure/Land" style="color:green">xTL</span>)'''
+
|'''UnlockDate(<span title="Treasure/Land" style="color:green">xTL</span>)'''
 
|Renamed (Date)
 
|Renamed (Date)
 
|-
 
|-
 
|'''[[Event_Instruction_86|<span title="Gives unit a temporary weapon to swing. Does not affect equipped items.">{86} TempWeapon</span>]]'''
 
|'''[[Event_Instruction_86|<span title="Gives unit a temporary weapon to swing. Does not affect equipped items.">{86} TempWeapon</span>]]'''
|'''{{IE_86}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Item ID" style="color:green">xIT</span>)'''
+
|'''TempWeapon(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Item ID" style="color:green">xIT</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_87|<span title="Adds an arrow or bolt the next time a unit that has a bow (arrow) or a crossbow (bolt) shoots with a SEQ animation of x53, x54 or x55.">{87} Arrow</span>]]'''
 
|'''[[Event_Instruction_87|<span title="Adds an arrow or bolt the next time a unit that has a bow (arrow) or a crossbow (bolt) shoots with a SEQ animation of x53, x54 or x55.">{87} Arrow</span>]]'''
|'''{{IE_87}}(<span title="Target's Unit ID" style="color:green">xTG</span>,x00,<span title="Shooter's Unit ID" style="color:green">xSH</span>,x00)'''
+
|'''Arrow(<span title="Target's Unit ID" style="color:green">xTG</span>,x00,<span title="Shooter's Unit ID" style="color:green">xSH</span>,x00)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_88|<span title="Allows animations of a map again.">{88} MapUnfreeze</span>]]'''
 
|'''[[Event_Instruction_88|<span title="Allows animations of a map again.">{88} MapUnfreeze</span>]]'''
|'''{{IE_88}}()'''
+
|'''MapUnfreeze()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_89|<span title="Freezes all animations of a map.">{89} MapFreeze</span>]]'''
 
|'''[[Event_Instruction_89|<span title="Freezes all animations of a map.">{89} MapFreeze</span>]]'''
|'''{{IE_89}}()'''
+
|'''MapFreeze()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_8A|<span title="Must be used in a block to activate the animation of a previously set Effect file.">{8A} EffectStart</span>]]'''
 
|'''[[Event_Instruction_8A|<span title="Must be used in a block to activate the animation of a previously set Effect file.">{8A} EffectStart</span>]]'''
|'''{{IE_8A}}()'''
+
|'''EffectStart()'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_8B|<span title="Must be used in a block to activate the animation of a previously set Effect file.">{8B} EffectEnd</span>]]'''
 
|'''[[Event_Instruction_8B|<span title="Must be used in a block to activate the animation of a previously set Effect file.">{8B} EffectEnd</span>]]'''
|'''{{IE_8B}}()'''
+
|'''EffectEnd()'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_8C|<span title="Makes the unit immediately rotate to a certain direction and execute an animation.">{8C} UnitAnimRotate</span>]]'''
 
|'''[[Event_Instruction_8C|<span title="Makes the unit immediately rotate to a certain direction and execute an animation.">{8C} UnitAnimRotate</span>]]'''
|'''{{IE_8C}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Direction" style="color:green">xDR</span>,<span title="Animation ID" style="color:green">xANIM</span>,x00)'''
+
|'''UnitAnimRotate(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Direction" style="color:green">xDR</span>,<span title="Animation ID" style="color:green">xANIM</span>,x00)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
|'''[[Event_Instruction_8E|<span title="Waits until a graphic generated by {7D} {{IE_7D}} is done animating, fully showing on the screen, before resuming.">{8E} WaitGraphicPrint</span>]]'''
+
|'''[[Event_Instruction_8E|<span title="Waits until a graphic generated by {7D} ShowGraphic is done animating, fully showing on the screen, before resuming.">{8E} WaitGraphicPrint</span>]]'''
|'''{{IE_8E}}()'''
+
|'''WaitGraphicPrint()'''
 
|Renamed (ShowChapterEnd)
 
|Renamed (ShowChapterEnd)
 
|-
 
|-
Line 529: Line 529:
 
|-
 
|-
 
|'''[[Event_Instruction_91|<span title="Displays a 256x20 4bit image (EVENT\MAPTITLE.BIN) of the current map's title on the screen. Only Map 1 to 120 have a graphic assigned to them. Trying to display the title of other maps will result in rubbish.">{91} ShowMapTitle</span>]]'''
 
|'''[[Event_Instruction_91|<span title="Displays a 256x20 4bit image (EVENT\MAPTITLE.BIN) of the current map's title on the screen. Only Map 1 to 120 have a graphic assigned to them. Trying to display the title of other maps will result in rubbish.">{91} ShowMapTitle</span>]]'''
|'''{{IE_91}}(<span title="X Axis" style="color:green">+XXX</span>,<span title="Y Axis" style="color:green">+YYY</span>,<span title="Speed" style="color:green">+SPD</span>)'''
+
|'''ShowMapTitle(<span title="X Axis" style="color:green">+XXX</span>,<span title="Y Axis" style="color:green">+YYY</span>,<span title="Speed" style="color:green">+SPD</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_92|<span title="Inflict a status on a given unit.">{92} InflictStatus</span>]]'''
 
|'''[[Event_Instruction_92|<span title="Inflict a status on a given unit.">{92} InflictStatus</span>]]'''
|'''{{IE_92}}(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Status" style="color:green">xSS</span>,<span title="Unknown" style="color:green">x0C</span>,x00)'''
+
|'''InflictStatus(<span title="Unit ID" style="color:green">xID</span>,x00,<span title="Status" style="color:green">xSS</span>,<span title="Unknown" style="color:green">x0C</span>,x00)'''
 
|
 
|
 
|-
 
|-
Line 541: Line 541:
 
|-
 
|-
 
|'''[[Event_Instruction_94|<span title="Unit will teleport out of the field.">{94} TeleportOut</span>]]'''
 
|'''[[Event_Instruction_94|<span title="Unit will teleport out of the field.">{94} TeleportOut</span>]]'''
|'''{{IE_94}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''TeleportOut(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
Line 548: Line 548:
 
|
 
|
 
|-
 
|-
|'''[[Event_Instruction_96|<span title="Append map changes to be loaded during a {43} {{IE_43}} event with an effect.">{96} AppendMapState</span>]]'''
+
|'''[[Event_Instruction_96|<span title="Append map changes to be loaded during a {43} CallFunction event with an effect.">{96} AppendMapState</span>]]'''
|'''{{IE_96}}()'''
+
|'''AppendMapState()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_97|<span title="Resets the palette color of a unit to its original state.">{97} ResetPalette</span>]]'''
 
|'''[[Event_Instruction_97|<span title="Resets the palette color of a unit to its original state.">{97} ResetPalette</span>]]'''
|'''{{IE_97}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''ResetPalette(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|Renamed (ResetUnitColor)
 
|Renamed (ResetUnitColor)
 
|-
 
|-
 
|'''[[Event_Instruction_98|<span title="Unit will teleport onto the field.">{98} TeleportIn</span>]]'''
 
|'''[[Event_Instruction_98|<span title="Unit will teleport onto the field.">{98} TeleportIn</span>]]'''
|'''{{IE_98}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''TeleportIn(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_99|<span title="Remove a non-Charmed enemy team unit from the map with a blue hueing.">{99} BlueRemoveUnit</span>]]'''
 
|'''[[Event_Instruction_99|<span title="Remove a non-Charmed enemy team unit from the map with a blue hueing.">{99} BlueRemoveUnit</span>]]'''
|'''{{IE_99}}(<span title="Unit ID" style="color:green">xID</span>,x00)'''
+
|'''BlueRemoveUnit(<span title="Unit ID" style="color:green">xID</span>,x00)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_A0|<span title="Less Than or Equal | Variable 0x0000 = If ( Variable 0x0000 &#60;= Variable 0x0001 )">{A0} LTE</span>]]'''
 
|'''[[Event_Instruction_A0|<span title="Less Than or Equal | Variable 0x0000 = If ( Variable 0x0000 &#60;= Variable 0x0001 )">{A0} LTE</span>]]'''
|'''{{IE_A0}}()'''
+
|'''LTE()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_A1|<span title="Greater Than or Equal | Variable 0x0000 = If ( Variable 0x0000 &#62;= Variable 0x0001 )">{A1} GTE</span>]]'''
 
|'''[[Event_Instruction_A1|<span title="Greater Than or Equal | Variable 0x0000 = If ( Variable 0x0000 &#62;= Variable 0x0001 )">{A1} GTE</span>]]'''
|'''{{IE_A1}}()'''
+
|'''GTE()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_A2|<span title="Equal | Variable 0x0000 = If ( Variable 0x0000 == Variable 0x0001 )">{A2} EQ</span>]]'''
 
|'''[[Event_Instruction_A2|<span title="Equal | Variable 0x0000 = If ( Variable 0x0000 == Variable 0x0001 )">{A2} EQ</span>]]'''
|'''{{IE_A2}}()'''
+
|'''EQ()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_A3|<span title="Not Equal | Variable 0x0000 = If ( Variable 0x0000 != Variable 0x0001 )">{A3} NEQ</span>]]'''
 
|'''[[Event_Instruction_A3|<span title="Not Equal | Variable 0x0000 = If ( Variable 0x0000 != Variable 0x0001 )">{A3} NEQ</span>]]'''
|'''{{IE_A3}}()'''
+
|'''NEQ()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_A4|<span title="Less Than | Variable 0x0000 = If ( Variable 0x0000 &#60; Variable 0x0001 )">{A4} LT</span>]]'''
 
|'''[[Event_Instruction_A4|<span title="Less Than | Variable 0x0000 = If ( Variable 0x0000 &#60; Variable 0x0001 )">{A4} LT</span>]]'''
|'''{{IE_A4}}()'''
+
|'''LT()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_A5|<span title="Greater Than | Variable 0x0000 = If ( Variable 0x0000 &#62; Variable 0x0001 )">{A5} GT</span>]]'''
 
|'''[[Event_Instruction_A5|<span title="Greater Than | Variable 0x0000 = If ( Variable 0x0000 &#62; Variable 0x0001 )">{A5} GT</span>]]'''
|'''{{IE_A5}}()'''
+
|'''GT()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_B0|<span title="Add Immediate | Variable = Variable + ImmediateValue (Can overflow)">{B0} ADD</span>]]'''
 
|'''[[Event_Instruction_B0|<span title="Add Immediate | Variable = Variable + ImmediateValue (Can overflow)">{B0} ADD</span>]]'''
|'''{{IE_B0}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''ADD(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_B1|<span title="Add Variable | Variable1 = Variable1 + Variable2 (Can overflow)">{B1} ADDVar</span>]]'''
 
|'''[[Event_Instruction_B1|<span title="Add Variable | Variable1 = Variable1 + Variable2 (Can overflow)">{B1} ADDVar</span>]]'''
|'''{{IE_B1}}(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
+
|'''ADDVar(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_B2|<span title="Subtract Immediate | Variable = Variable - ImmediateValue (Can overflow)">{B2} SUB</span>]]'''
 
|'''[[Event_Instruction_B2|<span title="Subtract Immediate | Variable = Variable - ImmediateValue (Can overflow)">{B2} SUB</span>]]'''
|'''{{IE_B2}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''SUB(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_B3|<span title="Subtract Variable | Variable1 = Variable1 - Variable2 (Can overflow)">{B3} SUBVar</span>]]'''
 
|'''[[Event_Instruction_B3|<span title="Subtract Variable | Variable1 = Variable1 - Variable2 (Can overflow)">{B3} SUBVar</span>]]'''
|'''{{IE_B3}}(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
+
|'''SUBVar(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 607: Line 607:
  
 
Use this instruction for general multiplication.">{B4} MULT</span>]]'''
 
Use this instruction for general multiplication.">{B4} MULT</span>]]'''
|'''{{IE_B4}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''MULT(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|
 
|
 
|-
 
|-
Line 613: Line 613:
  
 
Use this instruction for general multiplication.">{B5} MULTVar</span>]]'''
 
Use this instruction for general multiplication.">{B5} MULTVar</span>]]'''
|'''{{IE_B5}}(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
+
|'''MULTVar(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 619: Line 619:
  
 
Use this instruction for general division.">{B6} DIV</span>]]'''
 
Use this instruction for general division.">{B6} DIV</span>]]'''
|'''{{IE_B6}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''DIV(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|
 
|
 
|-
 
|-
Line 625: Line 625:
  
 
Use this instruction for general division.">{B7} DIVVar</span>]]'''
 
Use this instruction for general division.">{B7} DIVVar</span>]]'''
|'''{{IE_B7}}(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
+
|'''DIVVar(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_B8|<span title="Divide Immediate (modulus) | Variable = Variable % ImmediateValue (high 32bit)">{B8} DIVHI</span>]]'''
 
|'''[[Event_Instruction_B8|<span title="Divide Immediate (modulus) | Variable = Variable % ImmediateValue (high 32bit)">{B8} DIVHI</span>]]'''
|'''{{IE_B8}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''DIVHI(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|Renamed (MULTHI)
 
|Renamed (MULTHI)
 
|-
 
|-
 
|'''[[Event_Instruction_B9|<span title="Divide Immediate | Variable = Variable ÷ ImmediateValue (high 32bit)">{B9} DIVHIVar</span>]]'''
 
|'''[[Event_Instruction_B9|<span title="Divide Immediate | Variable = Variable ÷ ImmediateValue (high 32bit)">{B9} DIVHIVar</span>]]'''
|'''{{IE_B9}}(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
+
|'''DIVHIVar(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
 
|Renamed (DIVHI)
 
|Renamed (DIVHI)
 
|-
 
|-
 
|'''[[Event_Instruction_BA|<span title="AND bitwise operand | Variable = Variable AND ImmediateValue">{BA} AND</span>]]'''
 
|'''[[Event_Instruction_BA|<span title="AND bitwise operand | Variable = Variable AND ImmediateValue">{BA} AND</span>]]'''
|'''{{IE_BA}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''AND(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_BB|<span title="AND Variable bitwise operand | Variable1 = Variable1 AND Variable2">{BB} ANDVar</span>]]'''
 
|'''[[Event_Instruction_BB|<span title="AND Variable bitwise operand | Variable1 = Variable1 AND Variable2">{BB} ANDVar</span>]]'''
|'''{{IE_BB}}(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
+
|'''ANDVar(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_BC|<span title="OR bitwise operand | Variable = Variable OR ImmediateValue">{BC} OR</span>]]'''
 
|'''[[Event_Instruction_BC|<span title="OR bitwise operand | Variable = Variable OR ImmediateValue">{BC} OR</span>]]'''
|'''{{IE_BC}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''OR(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_BD|<span title="OR Variable bitwise operand | Variable1 = Variable1 OR Variable2">{BD} ORVar</span>]]'''
 
|'''[[Event_Instruction_BD|<span title="OR Variable bitwise operand | Variable1 = Variable1 OR Variable2">{BD} ORVar</span>]]'''
|'''{{IE_BD}}(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
+
|'''ORVar(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_BE|<span title="Zero | Variable = 0">{BE} ZERO</span>]]'''
 
|'''[[Event_Instruction_BE|<span title="Zero | Variable = 0">{BE} ZERO</span>]]'''
|'''{{IE_BE}}(<span title="Variable" style="color:green">xVARI</span>)'''
+
|'''ZERO(<span title="Variable" style="color:green">xVARI</span>)'''
 
|
 
|
 
|-
 
|-
Line 660: Line 660:
 
|
 
|
 
|-
 
|-
|'''[[Event_Instruction_D0|<span title="Jumps to {D2} {{IE_D2}} if Variable 0x0000 is equal to 0. Otherwise simply keeps advancing.
+
|'''[[Event_Instruction_D0|<span title="Jumps to {D2} ForwardTarget if Variable 0x0000 is equal to 0. Otherwise simply keeps advancing.
  
Must be placed before {D2} {{IE_D2}}!">{D0} JumpForwardIfNot</span>]]'''
+
Must be placed before {D2} ForwardTarget!">{D0} JumpForwardIfNot</span>]]'''
|'''{{IE_D0}}(<span title="JumpForward ID" style="color:green">xJF</span>)'''
+
|'''JumpForwardIfNot(<span title="JumpForward ID" style="color:green">xJF</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
|'''[[Event_Instruction_D1|<span title="Jumps to {D2} {{IE_D2}}.
+
|'''[[Event_Instruction_D1|<span title="Jumps to {D2} ForwardTarget.
  
Must be placed before {D2} {{IE_D2}}!">{D1} JumpForward</span>]]'''
+
Must be placed before {D2} ForwardTarget!">{D1} JumpForward</span>]]'''
|'''{{IE_D1}}(<span title="JumpForward ID" style="color:green">xJF</span>)'''
+
|'''JumpForward(<span title="JumpForward ID" style="color:green">xJF</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
|'''[[Event_Instruction_D2|<span title="Target Destination of {D0} {{IE_D0}}/{D1} {{IE_D1}}.
+
|'''[[Event_Instruction_D2|<span title="Target Destination of {D0} JumpForwardIfNot/{D1} JumpForward.
  
Must be placed after {D0} {{IE_D0}}/{D1} {{IE_D1}}!">{D2} ForwardTarget</span>]]'''
+
Must be placed after {D0} JumpForwardIfNot/{D1} JumpForward!">{D2} ForwardTarget</span>]]'''
|'''{{IE_D2}}(<span title="JumpForward ID" style="color:green">xJF</span>)'''
+
|'''ForwardTarget(<span title="JumpForward ID" style="color:green">xJF</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
|'''[[Event_Instruction_D3|<span title="Jumps back to {D5} {{IE_D5}}.
+
|'''[[Event_Instruction_D3|<span title="Jumps back to {D5} BackTarget.
  
Must be placed after {D5} {{IE_D5}}!">{D3} JumpBack</span>]]'''
+
Must be placed after {D5} BackTarget!">{D3} JumpBack</span>]]'''
|'''{{IE_D3}}(<span title="JumpBack ID" style="color:green">xJB</span>)'''
+
|'''JumpBack(<span title="JumpBack ID" style="color:green">xJB</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 688: Line 688:
 
|
 
|
 
|-
 
|-
|'''[[Event_Instruction_D5|<span title="Target Destination of {D3} {{IE_D3}}.
+
|'''[[Event_Instruction_D5|<span title="Target Destination of {D3} JumpBack.
  
Must be placed before {D3} {{IE_D3}}!">{D5} BackTarget</span>]]'''
+
Must be placed before {D3} JumpBack!">{D5} BackTarget</span>]]'''
|'''{{IE_D5}}(<span title="JumpBack ID" style="color:green">xJB</span>)'''
+
|'''BackTarget(<span title="JumpBack ID" style="color:green">xJB</span>)'''
 
|Introduced
 
|Introduced
 
|-
 
|-
Line 707: Line 707:
 
|-
 
|-
 
|'''[[Event_Instruction_DB|<span title="Marks the end of the event.">{DB} EventEnd</span>]]'''
 
|'''[[Event_Instruction_DB|<span title="Marks the end of the event.">{DB} EventEnd</span>]]'''
|'''{{IE_DB}}()'''
+
|'''EventEnd()'''
 
|
 
|
 
|-
 
|-
Line 718: Line 718:
 
|
 
|
 
|-
 
|-
|'''[[Event_Instruction_E3|<span title="A perfect copy of the other EventEnd. {{IE_DB_desc}}">{E3} EventEnd2</span>]]'''
+
|'''[[Event_Instruction_E3|<span title="A perfect copy of the other EventEnd. Marks the end of the event.">{E3} EventEnd2</span>]]'''
|'''{{IE_E3}}()'''
+
|'''EventEnd2()'''
 
|Introduced
 
|Introduced
 
|-
 
|-
 
|'''[[Event_Instruction_E5|<span title="Wait for any given instruction type instance to complete before resuming.">{E5} WaitForInstruction</span>]]'''
 
|'''[[Event_Instruction_E5|<span title="Wait for any given instruction type instance to complete before resuming.">{E5} WaitForInstruction</span>]]'''
|'''{{IE_E5}}(<span title="Instruction Type" style="color:green">xIN</span>,x00)'''
+
|'''WaitForInstruction(<span title="Instruction Type" style="color:green">xIN</span>,x00)'''
 
|
 
|
 
|-
 
|-
Line 731: Line 731:
 
|-
 
|-
 
|'''[[Event_Instruction_F1|<span title="Wait for a given number of frames before resuming.">{F1} Wait</span>]]'''
 
|'''[[Event_Instruction_F1|<span title="Wait for a given number of frames before resuming.">{F1} Wait</span>]]'''
|'''{{IE_F1}}(<span title="Time" style="color:green">TIMER</span>)'''
+
|'''Wait(<span title="Time" style="color:green">TIMER</span>)'''
 
|
 
|
 
|-
 
|-
 
|'''[[Event_Instruction_F2|<span title="Doesn't do anything. Ideal for hex editing parts of the event out without any risk.">{F2} Pad</span>]]'''
 
|'''[[Event_Instruction_F2|<span title="Doesn't do anything. Ideal for hex editing parts of the event out without any risk.">{F2} Pad</span>]]'''
|'''{{IE_F2}}()'''
+
|'''Pad()'''
 
|Introduced
 
|Introduced
 
|}
 
|}
Line 751: Line 751:
  
 
A block left running will prevent the event from ending!">{2F} BlockLoop</span>]]'''
 
A block left running will prevent the event from ending!">{2F} BlockLoop</span>]]'''
|'''{{IE_2F}}(<span title="Loop Amount" style="color:green">LPA</span>,<span title="Variable" style="color:green">xVR</span>,<span title="Destination" style="color:green">xDEST</span>)'''
+
|'''BlockLoop(<span title="Loop Amount" style="color:green">LPA</span>,<span title="Variable" style="color:green">xVR</span>,<span title="Destination" style="color:green">xDEST</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_AC|<span title="Load Upper Immediate | Variable = Immediate Value &#60;&#60; 16">{AC} LUI</span>]]'''
 
|'''[[Event_Instruction_AC|<span title="Load Upper Immediate | Variable = Immediate Value &#60;&#60; 16">{AC} LUI</span>]]'''
|'''{{IE_AC}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''LUI(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_AE|<span title="Set | Variable = Immediate Value">{AE} SET</span>]]'''
 
|'''[[Event_Instruction_AE|<span title="Set | Variable = Immediate Value">{AE} SET</span>]]'''
|'''{{IE_AE}}(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
+
|'''SET(<span title="Variable" style="color:green">xVARI</span>,<span title="Immediate Value" style="color:green">xVALU</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_AF|<span title="Set Variable (copy) | Variable1 = Variable2">{AF} SETVar</span>]]'''
 
|'''[[Event_Instruction_AF|<span title="Set Variable (copy) | Variable1 = Variable2">{AF} SETVar</span>]]'''
|'''{{IE_AF}}(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
+
|'''SETVar(<span title="Variable 1" style="color:green">xVAR1</span>,<span title="Variable 2" style="color:green">xVAR2</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_BF|<span title="Calls the RNG routine and stores the resulting number in a given variable.">{BF} Random</span>]]'''
 
|'''[[Event_Instruction_BF|<span title="Calls the RNG routine and stores the resulting number in a given variable.">{BF} Random</span>]]'''
|'''{{IE_BF}}(<span title="Variable" style="color:green">xVR</span>)'''
+
|'''Random(<span title="Variable" style="color:green">xVR</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_C1|<span title="Loads a value to a given variable. Works essentially the same as lbu/lhu/lw, but using variables.">{C1} LoadAddress</span>]]'''
 
|'''[[Event_Instruction_C1|<span title="Loads a value to a given variable. Works essentially the same as lbu/lhu/lw, but using variables.">{C1} LoadAddress</span>]]'''
|'''{{IE_C1}}(<span title="Variable" style="color:green">xVR</span>,<span title="Immediate Value" style="color:green">xVALU</span>,<span title="Variable Address" style="color:green">xVA</span>,<span title="Byte Length" style="color:green">LEN</span>)'''
+
|'''LoadAddress(<span title="Variable" style="color:green">xVR</span>,<span title="Immediate Value" style="color:green">xVALU</span>,<span title="Variable Address" style="color:green">xVA</span>,<span title="Byte Length" style="color:green">LEN</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_C2|<span title="Searches for the given Unit ID and returns the address to alter its stats. Returns 0 if no unit matched.">{C2} UnitAddress</span>]]'''
 
|'''[[Event_Instruction_C2|<span title="Searches for the given Unit ID and returns the address to alter its stats. Returns 0 if no unit matched.">{C2} UnitAddress</span>]]'''
|'''{{IE_C2}}(<span title="Unit ID" style="color:green">xID</span>,<span title="Variable" style="color:green">xVR</span>)'''
+
|'''UnitAddress(<span title="Unit ID" style="color:green">xID</span>,<span title="Variable" style="color:green">xVR</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_C3|<span title="Searches for the given Unit ID and returns the address to alter its world (non-battle) stats. Returns 0 if no unit matched.">{C3} WorldUnitAddress</span>]]'''
 
|'''[[Event_Instruction_C3|<span title="Searches for the given Unit ID and returns the address to alter its world (non-battle) stats. Returns 0 if no unit matched.">{C3} WorldUnitAddress</span>]]'''
|'''{{IE_C3}}(<span title="Unit ID" style="color:green">xID</span>,<span title="Variable" style="color:green">xVR</span>)'''
+
|'''WorldUnitAddress(<span title="Unit ID" style="color:green">xID</span>,<span title="Variable" style="color:green">xVR</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_C4|<span title="Saves a variable to a given address. Works essentially the same as sb/sh/sw, but using variables.">{C4} SaveAddress</span>]]'''
 
|'''[[Event_Instruction_C4|<span title="Saves a variable to a given address. Works essentially the same as sb/sh/sw, but using variables.">{C4} SaveAddress</span>]]'''
|'''{{IE_C4}}(<span title="Variable" style="color:green">xVR</span>,<span title="Immediate Value" style="color:green">xVALU</span>,<span title="Variable Address" style="color:green">xVA</span>,<span title="Byte Length" style="color:green">LEN</span>)'''
+
|'''SaveAddress(<span title="Variable" style="color:green">xVR</span>,<span title="Immediate Value" style="color:green">xVALU</span>,<span title="Variable Address" style="color:green">xVA</span>,<span title="Byte Length" style="color:green">LEN</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_C5|<span title="Updates a unit's characteristics in special ways that cannot be easily achieved manually. Can currently only update statuses on a unit.">{C5} UpdateUnit</span>]]'''
 
|'''[[Event_Instruction_C5|<span title="Updates a unit's characteristics in special ways that cannot be easily achieved manually. Can currently only update statuses on a unit.">{C5} UpdateUnit</span>]]'''
|'''{{IE_C5}}(<span title="Unit ID" style="color:green">xID</span>,<span title="Parameters" style="color:green">xPR</span>)'''
+
|'''UpdateUnit(<span title="Unit ID" style="color:green">xID</span>,<span title="Parameters" style="color:green">xPR</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_C6|<span title="Alters a variable's value when it is too small or too great so that it fits within a given range.">{C6} MinMax</span>]]'''
 
|'''[[Event_Instruction_C6|<span title="Alters a variable's value when it is too small or too great so that it fits within a given range.">{C6} MinMax</span>]]'''
|'''{{IE_C6}}(<span title="Variable" style="color:green">xVR</span>,<span title="Parameters" style="color:green">xPR</span>,<span title="Minimum Value" style="color:green">MINIM</span>,<span title="Maximum Value" style="color:green">MAXIM</span>)'''
+
|'''MinMax(<span title="Variable" style="color:green">xVR</span>,<span title="Parameters" style="color:green">xPR</span>,<span title="Minimum Value" style="color:green">MINIM</span>,<span title="Maximum Value" style="color:green">MAXIM</span>)'''
 
|-
 
|-
 
|'''[[Event_Instruction_CF|<span title="Runs/executes a routine at any address. r1 to r16 are automatically already freed and at your disposal.">{CF} Routine</span>]]'''
 
|'''[[Event_Instruction_CF|<span title="Runs/executes a routine at any address. r1 to r16 are automatically already freed and at your disposal.">{CF} Routine</span>]]'''
|'''{{IE_CF}}(<span title="Routine Address" style="color:green">rROUTINEA</span>)'''
+
|'''Routine(<span title="Routine Address" style="color:green">rROUTINEA</span>)'''
 
|}
 
|}

Revision as of 03:10, 8 February 2016

Download the latest CONFIG.INI (2014-04-10)

Mini-Guides


New Instructions exclusive:


Instructions

Instruction Name Example History
{10} DisplayMessage DisplayMessage(x10,xDT,xMSG#,xID,x00,xPR,+XXXXX,+YYYYY,+ARPOS,xOT)
{11} UnitAnim UnitAnim(xAU,xMT,xANIM,x00) Structure Altered
{12}
{13} ChangeMapBeta ChangeMapBeta(MAP,x00) Renamed (ChangeMap)
{16} Pause Pause()
{17} Never used
{18} Effect Effect(xEFID,xID,XXX,YYY,x00)
{19} Camera Camera(+XXXXX,+ZZZZZ,+YYYYY,+ANGLE,+MAPRT,+CAMRT,+ZOOM%,+TIMER)
{1A} MapDarkness MapDarkness(xBM,+RED,+GRN,+BLU,TIM) Introduced
{1B} MapLight MapLight(+00000,+00000,+?????,+RRRED,+GREEN,+BBLUE,+TIMER) Introduced
{1C} EventSpeed EventSpeed(xSP) Introduced
{1D} CameraFusionStart CameraFusionStart() Introduced
{1E} CameraFusionEnd CameraFusionEnd() Introduced
{1F} Focus Focus(xID,x00,xID,x00,x00)
{21} Sound Sound(xSDID)
{22} Music Music(x01,+VOL,TIM)
{23} Never used
{24} Never used
{25} Never used
{26} Never used
{27} ReloadMapState ReloadMapState() Introduced
{28} WalkTo WalkTo(xID,x00,XXX,YYY,xEL,x00,+SPD,x01)
{29} WaitWalk WaitWalk(xID,x00)
{2A} BlockStart BlockStart()
{2B} BlockEnd BlockEnd()
{2C} FaceUnit2 FaceUnit2(xFU,x00,xAU,xMT,xCL,xRS,xDL) Introduced
{2D} RotateUnit RotateUnit(xAU,xMT,xDR,xCL,xRS,xDL) Structure Altered
{2E} Background Background(RDT,GRT,BLT,RDB,GRB,BLB,TIM,x00)
{31} ColorBGBeta ColorBGBeta(xPR,+RED,+GRN,+BLU,TIM)
{32} ColorUnit ColorUnit(xAU,xMT,xPR,+RED,+GRN,+BLU,TIM)
{33} ColorField ColorField(xPR,+RED,+GRN,+BLU,TIM)
{37} Never used
{38} FocusSpeed FocusSpeed(+SPEED) Introduced
{39}
{3A}
{3B} SpriteMove SpriteMove(xID,x00,+XXXXX,+ZZZZZ,+YYYYY,xMV,x??,+TIMER)
{3C} Weather Weather(xWP,x01)
{3D} RemoveUnit RemoveUnit(xID,x00)
{3E} ColorScreen ColorScreen(xBM,IRD,IGR,IBL,TRD,TGR,TBL,+TIMER) Introduced
{3F} Never used
{40}
{41} EarthquakeStart EarthquakeStart(MAG,MER,SMG,SSD) Renamed (Earthquake)
{42} EarthquakeEnd EarthquakeEnd()
{43} CallFunction CallFunction(xFC)
{44} Draw Draw(xID,x00)
{45} AddUnit AddUnit(xID,x00,xDR) Renamed (UnitPresent)
{46} Erase Erase(xID,x00)
{47} AddGhostUnit AddGhostUnit(xSP,x00,xID,XXX,YYY,xEL,xFD,xDR) Introduced
{48} WaitAddUnit WaitAddUnit() Introduced
{49} AddUnitStart AddUnitStart() Renamed (AddUnitPrep)
{4A} AddUnitEnd AddUnitEnd() Renamed (AddUnitStart)
{4B} WaitAddUnitEnd WaitAddUnitEnd() Renamed (AddUnitEnd)
{4C} ChangeMap ChangeMap(MAP,x00) Renamed (BlackoutBeta)
{4D} Reveal Reveal(TIM) Introduced
{4E} UnitShadow UnitShadow(xID,x00,xSH) Renamed (AddUnit)
{4F} SetDaytime SetDaytime(xDT) Introduced
{50} PortraitCol PortraitCol(xPC)
{51} ChangeDialog ChangeDialog(xDB,xMSG#,xPR,xPP)
{53} FaceUnit FaceUnit(xFU,x00,xAU,xMT,xCL,xRS,xDL)
{54} Use3DObject Use3DObject(xID,xST) Introduced
{55} UseFieldObject UseFieldObject(xID,x00)
{56} Wait3DObject Wait3DObject() Introduced
{57} WaitFieldObject WaitFieldObject()
{58} LoadEVTCHR LoadEVTCHR(xBL,xEV,x00)
{59} SaveEVTCHR SaveEVTCHR(xBL)
{5A} SaveEVTCHRClear SaveEVTCHRClear(xBL,x00) Introduced
{5B} LoadEVTCHRClear LoadEVTCHRClear(xBL,x00) Introduced
{5C} Never used
{5D} Never used
{5E} EndSong EndSong(x??) Introduced
{5F} WarpUnit WarpUnit(xID,x00,XXX,YYY,xEL,xFD)
{60} FadeSound FadeSound(x00,TIM) Introduced
{61} Never used
{62} Never used
{63}
{64} WaitRotateUnit WaitRotateUnit(xID,x00)
{65} WaitRotateAll WaitRotateAll() Renamed (WaitFaceUnit)
{66}
{68} MirrorSprite MirrorSprite(xID,x00,xMI) Introduced
{69} FaceTile FaceTile(xAU,xMT,XXX,YYY,x00,xCL,xRS,xDL) Introduced
{6A} EditBGSound EditBGSound(xSD,+VOL,+ECH,x00,x??) Introduced
{6B} BGSound BGSound(xSD,+VOL,+ECH,xST,TIM)
{6C} Never used
{6D}
{6E} SpriteMoveBeta SpriteMoveBeta(xID,x00,+XXXXX,+ZZZZZ,+YYYYY,xMV,x??,+SPEED) Introduced
{6F} WaitSpriteMove WaitSpriteMove(xID,x00)
{70} Jump Jump(xID,x00,DST,xDR) Introduced
{71}
{72} Never used
{73}
{74} Never used
{75}
{76} DarkScreen DarkScreen(x00,xSH,ESP,RTS,x00,SES)
{77} RemoveDarkScreen RemoveDarkScreen()
{78} DisplayConditions DisplayConditions(xMG,DST)
{79} WalkToAnim WalkToAnim(xID,x00,xANIM) Renamed (MovementAnim)
{7A} DismissUnit DismissUnit(xJB,x00)
{7B}
{7C}
{7D} ShowGraphic ShowGraphic(xGR) Renamed (ShowChapter)
{7E} WaitValue WaitValue(xADDR,xVALU) Introduced
{7F} EVTCHRPalette EVTCHRPalette(xID,x00,xBL,xPL) Introduced
{80} March March(xAU,xMT,TIM)
{81} Never used
{82}
{83} ChangeStats ChangeStats(xAU,xMT,xST,+VALUE)
{84} PlaySong PlaySong(xSG) Introduced
{85} UnlockDate UnlockDate(xTL) Renamed (Date)
{86} TempWeapon TempWeapon(xID,x00,xIT)
{87} Arrow Arrow(xTG,x00,xSH,x00)
{88} MapUnfreeze MapUnfreeze() Introduced
{89} MapFreeze MapFreeze() Introduced
{8A} EffectStart EffectStart()
{8B} EffectEnd EffectEnd()
{8C} UnitAnimRotate UnitAnimRotate(xID,x00,xDR,xANIM,x00) Introduced
{8E} WaitGraphicPrint WaitGraphicPrint() Renamed (ShowChapterEnd)
{8F}
{90}
{91} ShowMapTitle ShowMapTitle(+XXX,+YYY,+SPD)
{92} InflictStatus InflictStatus(xID,x00,xSS,x0C,x00)
{93}
{94} TeleportOut TeleportOut(xID,x00)
{95} Never used
{96} AppendMapState AppendMapState() Introduced
{97} ResetPalette ResetPalette(xID,x00) Renamed (ResetUnitColor)
{98} TeleportIn TeleportIn(xID,x00)
{99} BlueRemoveUnit BlueRemoveUnit(xID,x00)
{A0} LTE LTE() Introduced
{A1} GTE GTE() Introduced
{A2} EQ EQ() Introduced
{A3} NEQ NEQ() Introduced
{A4} LT LT() Introduced
{A5} GT GT() Introduced
{B0} ADD ADD(xVARI,xVALU)
{B1} ADDVar ADDVar(xVAR1,xVAR2) Introduced
{B2} SUB SUB(xVARI,xVALU)
{B3} SUBVar SUBVar(xVAR1,xVAR2) Introduced
{B4} MULT MULT(xVARI,xVALU)
{B5} MULTVar MULTVar(xVAR1,xVAR2) Introduced
{B6} DIV DIV(xVARI,xVALU)
{B7} DIVVar DIVVar(xVAR1,xVAR2) Introduced
{B8} DIVHI DIVHI(xVARI,xVALU) Renamed (MULTHI)
{B9} DIVHIVar DIVHIVar(xVAR1,xVAR2) Renamed (DIVHI)
{BA} AND AND(xVARI,xVALU)
{BB} ANDVar ANDVar(xVAR1,xVAR2) Introduced
{BC} OR OR(xVARI,xVALU)
{BD} ORVar ORVar(xVAR1,xVAR2) Introduced
{BE} ZERO ZERO(xVARI)
{C0} Never used
{D0} JumpForwardIfNot JumpForwardIfNot(xJF) Introduced
{D1} JumpForward JumpForward(xJF) Introduced
{D2} ForwardTarget ForwardTarget(xJF) Introduced
{D3} JumpBack JumpBack(xJB) Introduced
{D4}
{D5} BackTarget BackTarget(xJB) Introduced
{D8} Never used
{D9} Never used
{DA} Never used
{DB} EventEnd EventEnd()
{DC} Never used
{E0} Never used
{E3} EventEnd2 EventEnd2() Introduced
{E5} WaitForInstruction WaitForInstruction(xIN,x00)
{F0}
{F1} Wait Wait(TIMER)
{F2} Pad Pad() Introduced


New Instructions

These instructions require the Event Instruction Upgrade hack.

Instruction Name Example
{2F} BlockLoop BlockLoop(LPA,xVR,xDEST)
{AC} LUI LUI(xVARI,xVALU)
{AE} SET SET(xVARI,xVALU)
{AF} SETVar SETVar(xVAR1,xVAR2)
{BF} Random Random(xVR)
{C1} LoadAddress LoadAddress(xVR,xVALU,xVA,LEN)
{C2} UnitAddress UnitAddress(xID,xVR)
{C3} WorldUnitAddress WorldUnitAddress(xID,xVR)
{C4} SaveAddress SaveAddress(xVR,xVALU,xVA,LEN)
{C5} UpdateUnit UpdateUnit(xID,xPR)
{C6} MinMax MinMax(xVR,xPR,MINIM,MAXIM)
{CF} Routine Routine(rROUTINEA)