Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/204"

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>Aali
(Created page with "* Opcode: '''0x204''' & the rest of the 200 series of opcodes * Name: unknown * Two-word opcode: No ==== Parameters ==== {| border="1" cellspacing="1" cellpadding="3" style=...")
 
my_wiki>Aali
Line 1: Line 1:
 
* Opcode: '''0x204''' & the rest of the 200 series of opcodes
 
* Opcode: '''0x204''' & the rest of the 200 series of opcodes
* Name: unknown
+
* Name: run model function
 
* Two-word opcode: No
 
* Two-word opcode: No
  
Line 11: Line 11:
 
|-
 
|-
 
| Stack
 
| Stack
| Unknown
+
| Model
| Unknown
+
| Model ID
 
|}
 
|}
  
 
==== Notes ====
 
==== Notes ====
  
All the remaining opcodes in the 200 series are handled by the same code, not much is known about them except that they can trigger other functions to run. Presumably entity and/or function information is encoded in a combination of the parameter and the opcode itself.
+
Runs the function (opcode - 0x204) in the context of the specified model. Opcode 204 runs function 0, opcode 205 runs function 1 etc.
 +
An invalid model ID (>=64) causes it to run the specified function on the current active entity, it is unclear if this is intended behavior.

Revision as of 04:46, 7 August 2014

  • Opcode: 0x204 & the rest of the 200 series of opcodes
  • Name: run model function
  • Two-word opcode: No

Parameters

Location Name Description
Stack Model Model ID

Notes

Runs the function (opcode - 0x204) in the context of the specified model. Opcode 204 runs function 0, opcode 205 runs function 1 etc. An invalid model ID (>=64) causes it to run the specified function on the current active entity, it is unclear if this is intended behavior.