FF7/Field/Script/Opcodes/6E LSTMP

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 20:05, 26 February 2007 by my_wiki>Synergy Blades
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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.