Difference between revisions of "FF7/Field/Script/Opcodes/60 MAPJUMP"
Jump to navigation
Jump to search
my_wiki>Synergy Blades m (→Description) |
my_wiki>Synergy Blades m |
||
Line 15: | Line 15: | ||
==== Arguments ==== | ==== Arguments ==== | ||
− | * '''const | + | * '''const UShort''' ''I'': [[FF7/Field/Field List|Field ID]] of the map to jump to. |
* '''const Short''' ''X'': X-coordinate of the player on the next field. | * '''const Short''' ''X'': X-coordinate of the player on the next field. | ||
* '''const Short''' ''Y'': Y-coordinate of the player on the next field. | * '''const Short''' ''Y'': Y-coordinate of the player on the next field. |
Revision as of 19:23, 28 September 2006
- Opcode: 0x60
- Short name: MAPJUMP
- Long name: Change Field
Memory layout
0x60 | I | X | Y | Z | D |
---|
Arguments
- const UShort I: Field ID of the map to jump to.
- const Short X: X-coordinate of the player on the next field.
- const Short Y: Y-coordinate of the player on the next field.
- const Short Z: Z-coordinate of the player on the next field.
- const UByte D: Direction the character will be facing on the next field, in the standard game format.
Description
Switches fields to the one indicated by I, and places the character at the coordinates and direction specified. This is an alternative to using a gateway, and can complement their usage as it allows for more than 12 gateways by simulating their behaviour through a LINE which, when crossed, executes a MAPJUMP.