Difference between revisions of "FF7/Field/Script/Opcodes/6E LSTMP"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
(No difference)

Revision as of 20:05, 26 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 area that was played directly before the current one, into the bank B and address A specified. If the previous area was not a field but a world map location, the current field ID is retrieved instead.