FF7/WorldMap Module/Script/Opcodes/117

From Final Fantasy Inside
< FF7‎ | WorldMap Module‎ | Script‎ | Opcodes
Revision as of 09:38, 5 August 2014 by my_wiki>Aali (Created page with "* Opcode: '''0x117''', '''0x11b''' & '''0x11f''' * Name: push special * Two-word opcode: Yes ==== Parameters ==== {| border="1" cellspacing="1" cellpadding="3" style="border...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Opcode: 0x117, 0x11b & 0x11f
  • Name: push special
  • Two-word opcode: Yes

Parameters

Location Name Description
Code Address "Address" to the special variables

Notes

There are 21 different special variables accessible to the script engine. There are several opcodes that access these variables in the same way, presumably they were supposed to be bit, byte and word versions of the instruction but there is absolutely no difference.

The variables you can access through this instruction are:

Address Description
0 Active entity X mesh coordinate
1 Active entity Y mesh coordinate
2 Active entity X coordinate in mesh
3 Active entity Y coordinate in mesh
4 Unknown
5 Unknown
6 Unknown
7 Unknown
8 Model ID of entity at top of entity list
9 Model ID of active entity
10 Wild chocobo type
11 Battle result
12 Unknown
13 Prompt window result
14 Unknown
15 Unknown
16 Unknown
17 Unknown
18 Unknown
19 Unknown
20 Unknown