FF7/Field/Script/Opcodes/6E LSTMP

From QhimmWiki
Revision as of 19:05, 26 February 2007 by Qhimm>Synergy Blades
Jump to navigation Jump to search
  • 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.