Skip to Content
The Alchemy Project

struct TREASURE_SPOT

A treasure spot placed as an actor: a chest or a Psynergy Stone.

Declared in field_state.h.

Fields

NameDescription
struct ACTOR *actorthe actor placed for it
Uint8idthe subject of its cue (TREASURE_SPOT_FIRST_ID on)
Uint8unusedcleared with the slot
Uint8columnits 16-pixel metatile
Uint8rowits 16-pixel metatile

Description

A treasure spot placed as an actor: a chest or a Psynergy Stone.

struct TREASURE_SPOT

Referenced by fdPlaceTreasureSpots(), fdSetMarkerAnimationAndPlaySound(), fdTreasureSpotFindSlot(), fdTreasureSpotGetActor(), fdTreasureSpotHide(), fdTreasureSpotLaunchMimic(), fdTreasureSpotMoveLeaderAway(), fdTreasureSpotSetActorPos() and fdTreasureSpotShowOpened().

Definition at line 24 of file field_state.h.

Fields in detail

actor

struct ACTOR *actor

the actor placed for it

id

Uint8 id

the subject of its cue (TREASURE_SPOT_FIRST_ID on)

unused

Uint8 unused

cleared with the slot

column

Uint8 column

its 16-pixel metatile

row

Uint8 row

its 16-pixel metatile