Alchemy
Loading...
Searching...
No Matches

tolbi.h File Reference

Go to the source code of this file.

Data Structures

struct  TolbiUiWork
 The window state the running children consult before they widen their stopping range. More...

Macros

#define NULL   ((void *)0)
#define EVENT_WORK_1F4   (*(s32 *)((u8 *)gEventWork + 0x1f4))
 A word of the event work, at offset 0x1f4, that is set to the poster before the yes/no choice under the "Missing Person" window.

Enumerations

enum  TolbiActor {
  TOLBI_SPROUT = 8 , TOLBI_PUDDLE = 9 , TOLBI_PLAYER_COPY = 14 , TOLBI_OLDER_BROTHER = 16 ,
  TOLBI_YOUNGER_SIBLING = 17 , TOLBI_SNACK_VENDOR = 19 , TOLBI_FATHER = 24 , TOLBI_MOTHER = 25 ,
  TOLBI_CRYING_CHILD = 26 , TOLBI_SCALPER = 27 , TOLBI_GAMBLER = 28 , TOLBI_SOLDIER_A = 29 ,
  TOLBI_SOLDIER_B = 30 , TOLBI_EMBER = 31 , TOLBI_MISSING_PERSON_POSTER = 32
}
 Actors, numbered in the order of the placement table from 8. More...
enum  TolbiMapObject { TOLBI_BARREL = 100 , TOLBI_JAR = 101 , TOLBI_HIDDEN_CHEST = 102 }
 Map objects the party can search. More...
enum  { KID_CHASES_YOUNGER = 1 , KID_TALKING = 2 }
 The running children keep these flags in FieldActor.timer, their scene scratch halfword. More...

Variables

u8 gWindowWork []

Macro Definition Documentation

◆ NULL

#define NULL   ((void *)0)

Definition at line 12 of file tolbi.h.

◆ EVENT_WORK_1F4

#define EVENT_WORK_1F4   (*(s32 *)((u8 *)gEventWork + 0x1f4))

A word of the event work, at offset 0x1f4, that is set to the poster before the yes/no choice under the "Missing Person" window.

What reads it is not yet traced.

Definition at line 55 of file tolbi.h.

Referenced by Tolbi_MeetSearchingSoldiers().

Enumeration Type Documentation

◆ TolbiActor

enum TolbiActor

Actors, numbered in the order of the placement table from 8.

Enumerator
TOLBI_SPROUT 
TOLBI_PUDDLE 
TOLBI_PLAYER_COPY 

copies the leader's sprite priority every frame

TOLBI_OLDER_BROTHER 
TOLBI_YOUNGER_SIBLING 
TOLBI_SNACK_VENDOR 
TOLBI_FATHER 

A family at the festival: the father, the mother and their child, who cries for sweets.

The father: "the wife doesn't go in for that sort of thing"; the child: "Mom, you said you were all out of money".

TOLBI_MOTHER 
TOLBI_CRYING_CHILD 
TOLBI_SCALPER 

Sleeps under the archway during the festival; on finals day he sells seats.

"Today is a big day for us scalpers"

TOLBI_GAMBLER 
TOLBI_SOLDIER_A 
TOLBI_SOLDIER_B 
TOLBI_EMBER 
TOLBI_MISSING_PERSON_POSTER 

Definition at line 22 of file tolbi.h.

◆ TolbiMapObject

Map objects the party can search.

Enumerator
TOLBI_BARREL 
TOLBI_JAR 
TOLBI_HIDDEN_CHEST 

Definition at line 46 of file tolbi.h.

◆ anonymous enum

anonymous enum

The running children keep these flags in FieldActor.timer, their scene scratch halfword.

Bits: 1 talking | 0 chases the younger sibling.

Enumerator
KID_CHASES_YOUNGER 

set on the older brother, who runs after actor 17

KID_TALKING 

set while the party talks to this child

Definition at line 67 of file tolbi.h.

Variable Documentation

◆ gWindowWork