• Opcode: 0x05E
  • Short name: MAPJUMPOFF
  • Long name: Disable Field Exits

Argument

none

Stack

MAPJUMPOFF

Description

Prevents the player from leaving the field via a field exit (ie walking off the screen to get to the next area) by setting the field-exit-disable flag (= 1). Undone by MAPJUMPON. No stack use.

PC handler: SCRIPT_MAPJUMPOFF.

Function addresses

Function Address Description
SCRIPT_MAPJUMPOFF 0x521CC0 Field script opcode handler (verified IDA function)
field-exit-disable flag byte 0x1CE4902 Global byte, not a function