Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/117"
< FF7 | WorldMap Module | Script | Opcodes
Jump to navigation
Jump to search
my_wiki>Aali |
my_wiki>BukTop m (4 revisions imported) |
(No difference)
|
Revision as of 12:36, 4 April 2018
- Opcode: 0x117, 0x11b & 0x11f
- Name: push special
- Two-word opcode: Yes
Parameters
Location | Name | Description |
---|---|---|
Code | Address | "Address" to the special variable |
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 in the way they work.
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 | Active entity direction (0-255) |
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 |