• Opcode: 0x00C
  • Short name: PSHM_W
  • Long name: Push from memory (word)

Argument

Byte offset into the savemap field-variable block (VARMAP_START), i.e. a savemap variable number — not a raw pointer.

Stack

… => …, value

Description

Push the unsigned word stored at variable offset Argument onto the stack. Returns 2.

PC handler: SCRIPT_PSHM_W.

Function addresses

Function Address Description
SCRIPT_PSHM_W 0x51CB30 Field script opcode handler (verified IDA function)