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

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>Aali
my_wiki>Aali
Line 19: Line 19:
 
Runs the function (opcode - 0x204) in the context of the specified model. Opcode 204 runs function 0, opcode 205 runs function 1 etc.
 
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 a system function in the context of the current active entity.
+
An invalid model ID (>=64) causes it to run a system function in the context of the current active entity. It is unclear if this is intended behavior.

Revision as of 02:45, 8 August 2014

  • Opcode: 0x204 & the rest of the 200 series of opcodes
  • Name: run 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 a system function in the context of the current active entity. It is unclear if this is intended behavior.