• Opcode: 0x13F
  • Short name: WHOAMI
  • Long name: Get Junction Correspondent?

Argument

none

Stack

Character ID

WHOAMI

Description

Pops one value (a field character ID), maps it through getPointerCharaData, and stores the resulting real-character slot into temp variable 0 (I[0], entity+320).

This is only used twice in the game - both at Esthar’s “front gate” before the last dream sequence.

PC handler: SCRIPT_WHOAMI.

Function addresses

Function Address Description
SCRIPT_WHOAMI 0x51EF70 Field script opcode handler (verified IDA function)