Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/321"
< FF7 | WorldMap Module | Script | Opcodes
Jump to navigation
Jump to search
m |
|||
Line 17: | Line 17: | ||
==== Notes ==== | ==== Notes ==== | ||
− | Appears to be used to set the active entity's direction to face a given point number. Used to ensure, when entering the edge of gold saucer desert, that the player goes away from the desert and not towards it (by facing | + | Appears to be used to set the active entity's direction to face a given point number. Used to ensure, when entering the edge of gold saucer desert, that the player goes away from the desert and not towards it (by facing Cloud towards it, then rotating him 180 degrees) |
Uses data from atn table (this function uses some sketchy conditional pop, looks like a misguided bugfix, this could be one of the reasons for the [[FF7/WorldMap Module/Script/Opcodes/100|reset stack]] hack) | Uses data from atn table (this function uses some sketchy conditional pop, looks like a misguided bugfix, this could be one of the reasons for the [[FF7/WorldMap Module/Script/Opcodes/100|reset stack]] hack) |
Revision as of 08:24, 10 October 2024
- Opcode: 0x321
- Name: unknown
- Two-word opcode: No
Parameters
Location | Name | Description |
---|---|---|
Stack | Unknown | Unknown |
Notes
Appears to be used to set the active entity's direction to face a given point number. Used to ensure, when entering the edge of gold saucer desert, that the player goes away from the desert and not towards it (by facing Cloud towards it, then rotating him 180 degrees)
Uses data from atn table (this function uses some sketchy conditional pop, looks like a misguided bugfix, this could be one of the reasons for the reset stack hack)