• Opcode: 0x155
  • Short name: SETDRAWPOINT
  • Long name: Set Draw Point hidden

Argument

isHidden

Stack

Bool (PSHN_L)

SETDRAWPOINT

Description

If isHidden is bigger or equal to 1, then hides the draw point. If not, the draw point is visible.

The handler pops one value into the field var-map (hidden flag), registers this entity’s position (from entity+400/404/408) as a draw-point location via sub_474750, and calls Script_SetDrawPoint to spawn/refresh the draw-point marker with that hidden state.

– By MaKiPL

PC handler: SCRIPT_SETDRAWPOINT.

Function addresses

Function Address Description
SCRIPT_SETDRAWPOINT 0x523030 Field script opcode handler (verified IDA function)