Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/6E LSTMP

678 bytes added, 20:05, 26 February 2007
no edit summary
* Opcode: '''0x6E'''
* Short name: '''LSTMP'''
* Long name: Last Map

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x6E
! width="40" | ''B''
! width="40" | ''A''
|}

==== Arguments ====

* '''const UByte''' ''B'': Bank to store value.
* '''const UByte''' ''A'': Address to store value.

==== Description ====

Retrieves the [[FF7/Field/Field ID|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.

Navigation menu