src/scene/shared/vault_leader_beside_bone_flag.c
Vault's inn, before and after the thieves are caught (log_rooms_a.c and log_rooms_b.c): whether the leader stands beside the Bone lying on the barrel next to the girl at the inn.
Included by log_rooms_a.c and log_rooms_b.c.
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_VAULT_LEADER_BESIDE_BONE FLAG_SCENE_TEMP(0x50) | Set while the leader stands beside the Bone. |
Functions
| Name | Description | |
|---|---|---|
static void | scVaultUpdateLeaderBesideBoneFlag (void) | An event: sets FLAG_VAULT_LEADER_BESIDE_BONE while the leader stands in metatiles (34, 41) to (35, 42), beside the barrel, and clears it anywhere else. |
Description
Vault's inn, before and after the thieves are caught (log_rooms_a.c and
log_rooms_b.c): whether the leader stands beside the Bone lying on the barrel
next to the girl at the inn.
Macros in detail
FLAG_VAULT_LEADER_BESIDE_BONE
#define FLAG_VAULT_LEADER_BESIDE_BONE FLAG_SCENE_TEMP(0x50)
Set while the leader stands beside the Bone. The girl's talk row is off then, so the A button picks the Bone up instead of talking to her.
Referenced by LogRoomsACuesAfterThieves, LogRoomsBCues and scVaultUpdateLeaderBesideBoneFlag().
Definition at line 7 of file vault_leader_beside_bone_flag.c.
Functions in detail
scVaultUpdateLeaderBesideBoneFlag
static void scVaultUpdateLeaderBesideBoneFlag(void)
An event: sets FLAG_VAULT_LEADER_BESIDE_BONE while the leader stands in
metatiles (34, 41) to (35, 42), beside the barrel, and clears it anywhere
else.
References fdActorGetById(), gmFlagClear(), gmFlagSet() and Sint32.
Referenced by scInit().
Definition at line 12 of file vault_leader_beside_bone_flag.c.