Difference between revisions of "FF7/Field/Script/Opcodes/6E LSTMP"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
my_wiki>Synergy Blades m (slight update) |
||
Line 17: | Line 17: | ||
==== Description ==== | ==== Description ==== | ||
− | Retrieves the [[FF7/Field/Field ID|field ID]] number of the | + | Retrieves the [[FF7/Field/Field ID|field ID]] number of the field that was played directly before the current one, into the bank ''B'' and address ''A'' specified. The previous area does not include the specific world map locations that are given a field ID (0x1 to 0x40), so traversing via a gateway to the world map, then back to the field, will not cause the world map ID to be retrieved; rather, that same field ID will be loaded. |
Revision as of 15:44, 27 February 2007
- Opcode: 0x6E
- Short name: LSTMP
- Long name: Last Map
Memory layout
0x6E | B | A |
---|
Arguments
- const UByte B: Bank to store value.
- const UByte A: Address to store value.
Description
Retrieves the field ID number of the field that was played directly before the current one, into the bank B and address A specified. The previous area does not include the specific world map locations that are given a field ID (0x1 to 0x40), so traversing via a gateway to the world map, then back to the field, will not cause the world map ID to be retrieved; rather, that same field ID will be loaded.