Alchemy
Loading...
Searching...
No Matches

EffectDescriptor Struct Reference

One of the scene's events (the same 12 bytes as struct SceneEvent). More...

#include <unit/object/object.h>

Data Fields

s32 flags
 the low 4 bits are the kind (SceneEventKind; 7 talks to the actor the party stopped)
u8 value
 the target (an actor or a tile code)
u8 unused05
s16 condition
 as for GameFlag_IsConditionActive
s32 result
 below 0x10000 a message, else a function to call

Detailed Description

One of the scene's events (the same 12 bytes as struct SceneEvent).

Definition at line 62 of file object.h.

Field Documentation

◆ flags

s32 EffectDescriptor::flags

the low 4 bits are the kind (SceneEventKind; 7 talks to the actor the party stopped)

Definition at line 63 of file object.h.

Referenced by Scene_FindEvent(), and Scene_RunTouchOrExit().

◆ value

u8 EffectDescriptor::value

the target (an actor or a tile code)

Definition at line 65 of file object.h.

Referenced by Scene_RunRaisedEvent().

◆ unused05

u8 EffectDescriptor::unused05

Definition at line 66 of file object.h.

◆ condition

s16 EffectDescriptor::condition

as for GameFlag_IsConditionActive

Definition at line 67 of file object.h.

◆ result

s32 EffectDescriptor::result

below 0x10000 a message, else a function to call

Definition at line 68 of file object.h.

Referenced by Field_RunEventAction(), Scene_RunRaisedEvent(), Scene_RunTouchOrExit(), and Scene_TalkToActor().