FF7/WorldMap Module/Script/Opcodes/310

From Final Fantasy Inside
< FF7‎ | WorldMap Module‎ | Script‎ | Opcodes
Revision as of 05:21, 23 May 2019 by BukTop (talk | contribs) (2 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Opcode: 0x310
  • Name: set active point
  • Two-word opcode: No

Parameters

Location Name Description
Stack Point ID Point to set active
Stack Point Type Sets the type of this point

Notes

The specified point is made active, Point ID is a value between 0 and 15 for a total of 16 unique points. All operations on points affect the point which is currently set active by means of this instruction.

Point Type sets a flag on the point specified and seems to determine whether the point is a light source (1) or just a set of coordinates (0).