1#ifndef ALCHEMY_EVENT_WORK_H
2#define ALCHEMY_EVENT_WORK_H
The edition's language, for C to compare (LANGUAGE == LANGUAGE_GERMAN).
STATIC_ASSERT, a compile-time check that emits nothing.
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
#define offsetof(type, member)
The running scene's event work: its placement and event tables, its actors, the triggers and exit it ...
u8 unk1e4[0xade]
not named by TBS code through this view
s32 encounterThreshold
encounter steps before a battle
u16 encounterEnemyGroup
the next battle's enemy group, 0 for none
struct FieldActor * viewCenter
the object the map view follows
struct SceneEvent * events
the scene's event table
s16 facingTrigger
the collision code ahead, which a search answers
u8 unk174[6]
FieldWork's examine, start and descriptor.
u8 unk1c4[4]
FieldWork's unk1c4 and transitionActive.
s16 raisedTrigger
a raised event for Scene_RunRaisedEvent
s32 startTransition
SCENE_TRANSITION(style, variant).
u16 unkcc4
FieldWork's nameWidth; Colosso sets it to 4.
struct FieldActor * actors[8]
the party's characters, ids 0 to 7
s16 blockedSteps
frames the leader has pushed against something
s16 touchedTrigger
the step event a touch or exit event answers
u16 unk172
FieldWork's menu request; scenes set it to 1.
u8 unk180[2]
FieldWork's item request; not named by TBS code.
u16 requestedExit
the exit kind taken, which ends the scene
s32 encounterBias
randomized distance adjustment between battles
u8 unk1cc[0x0c]
FieldWork's fastForward and unk1d0.
s16 mode
MODE_WORLD_MAP (3) on the world map.
u8 unk16e[2]
FieldWork's input request; not named by TBS code.
struct FieldActor * placedActors[58]
the placed actors, from id 8
u8 unk1b0[0x10]
FieldWork's walking distance and tiles.
u16 choiceMessage
Message containing the choices.
s16 psynergyRequest
a field Psynergy to use, as owner << 10 | Psynergy
u8 encounterGroups[8]
encounter zone for each kind of ground
s32 transitionFrames
frames
struct ScenePlacement * tables[4]
the placement tables placed so far
u16 message
the next message, advanced as each window opens
u8 unk184[0x18]
FieldWork's fallen characters and item slot.
u8 unk11c[0x50]
FieldWork's markers; not named by TBS code.
u8 unk1da[6]
FieldWork's unk1da to unk1de.
A field actor: a person or thing on the field with a position, motion toward a target,...
One of the 64 field objects in the object pool (heap slot 5): its script, position,...
A scene event: its kind and detail, the trigger it answers, its condition and its value (a message or...
An actor a scene places: its sprite, the condition for placing it, how it behaves,...
The integer types, TRUE, UNUSED and the fixed-address macros.