Alchemy
Loading...
Searching...
No Matches

vale_babi.c File Reference

The south-west of Vale around Isaac's house, through the stormy night, the party's departure and its return; entrance 19 is instead a room of Babi's scholars, and entrance 22 shows the Mythril Bag. More...

Go to the source code of this file.

Enumerations

enum  ValeBabiActor {
  ACTOR_DORA = 8 , ACTOR_KYLE = 9 , ACTOR_INNKEEPER = 13 , ACTOR_NEIGHBOR = 16 ,
  ACTOR_KRADEN = 18
}
 Vale's placed actors, numbered in the order of gValeBabi_Placements (the scholars of entrance 19 are numbered from 8 in their own table). More...
enum  ValeBabiPlaceFlag { FLAG_VALE_INNKEEPER_WELCOMED_ISAAC = 0x300 , FLAG_VALE_NEIGHBOR_SAW_ISAAC_GROWN = 0x301 }
 Vale's place flags this scene keeps while the party is in Vale. More...

Functions

static void Event_DoraWakesIsaac (void)
 Dora wakes Isaac on the stormy night, makes him take his tunic, and leads him out into the storm.
static void Event_HurryToThePlaza (void)
 Kyle calls to Isaac and Dora to hurry; actor 10 shakes, falls and fades as they run to the plaza.
static void ValeBabi_RestoreRoomPatch (void)
 Restores the room's tiles and collision patch outside the storm sequence.
static void Event_ShowMythrilBag (void)
 The Mythril Bag rises and wobbles before Kraden, with no text.
static void ValeBabi_SpawnEffectPair (union FieldObject *object)
 Copies the parent's terrain height into two oppositely moving vertical effects.
static void ValeBabi_DemonstrateCatch (void)
 Catch's effect plays on Dora, then its objects are released.
const struct SceneEntrance * ValeBabi_GetEntrances (void)
 Returns the entrances, among them the scenes played on arrival: 19 from Babi's palace (its exit 11), 20 where a new game begins (menu/clear.c, and ValeHome's exit 50), 21 from this scene's own exit 20, and 22 from Kraden's cottage (ValeKraden's exit 13).
const struct SceneRegion * ValeBabi_GetRegions (void)
const u32 * ValeBabi_GetExits (void)
 On the stormy night the exits lead into the storm.
const struct ScenePlacement * ValeBabi_GetPlacements (void)
 Places Babi's scholars, or Vale's villagers as the story has left them.
static void Event_ScholarAsksAboutKraden (s32 speakerId)
 A scholar asks whether the party knows Kraden.
const struct SceneEvent * ValeBabi_GetEvents (void)
 Chooses the events: Babi's scholars talk differently once the Colosso finals are over; Vale's villagers follow the storm and the story.
static void Event_AskIsaacHisBusiness (void)
 The neighbour asks whether Isaac has business with him, and sends him off either way.
static void Event_AskWhetherMaskedManWasFelix (void)
 A villager asks whether the masked man was Felix, and wonders whether Jenna can be trusted.
static void ValeBabi_CloseScreenAndExit (s32 exitId)
 Stops storm lightning before fading through the requested exit.
static void Event_ExitNorthwestArea (void)
 Reached by cell code 1; takes exit 1, to ValeHome's entrance 6.
static void Event_ExitNorthArea (void)
 Reached by cell code 2; takes exit 2, to Kraden's cottage (ValeKraden's entrance 3).
static void Event_ExitNortheastArea (void)
 Reached by cell code 3; takes exit 3, to ValeHome's entrance 2.
static void Event_ExitWestAreaSouth (void)
 Reached by cell code 4; takes exit 4, to ValeHome's entrance 7.
static void Event_ExitWestAreaNorth (void)
 Reached by cell code 5; takes exit 5, to this scene's entrance 8.
static void Event_ExitCenterAreaSouth (void)
 Reached by cell code 6; takes exit 6, to Vale's entrance 8, or on the stormy night to ValeStorm's.
static void Event_ExitCenterAreaNorth (void)
 Reached by cell code 7; takes exit 7, to this scene's entrance 9.
static void Event_ExitSouthwestArea (void)
 Reached by cell code 8; takes exit 8, to this scene's entrance 5.
static void Event_ExitSouthAreaWest (void)
 Reached by cell code 9; takes exit 9, to this scene's entrance 7.
static void Event_ExitSouthAreaSouth (void)
 Reached by cell code 10; takes exit 10, to ValeStorm's entrance 12.
static void Event_ExitSoutheastArea (void)
 Reached by cell code 11; takes exit 11, to ValeStorm's entrance 13.
s32 ValeBabi_Initialize (void)
 Sets up the stormy night or the villagers of the story, and plays the scenes of entrances 20 to 22.
static __inline__ void SetBlendTarget (u32 value)
 Selects the hardware blend targets for the storm sequence.
static __inline__ void SetBlendAlpha (u32 value)
static void Event_TalkToInnkeeper (void)
 The innkeeper offers a room from behind the counter; elsewhere talks of the travelers, the eruption, or, back from Kalay, welcomes Isaac home.
static void Event_NeighborSeesIsaacHasGrown (void)
 Back from Kalay, the neighbour remarks how much Isaac has grown.
static void Event_ReadInnkeepersThoughts (void)
 Mind Read on the innkeeper: Dora would not let Isaac stay in Vale.
static void Event_ReadThoughtsAboutDorasIllness (void)
 Mind Read on the neighbour: Dora was struck with illness.
static void Event_VisitSickDora (void)
 Back from Kalay, Isaac visits Dora in her sickbed; she asks who told him she was ill, then gets up to show she feels well.
static void Event_TalkToDora (void)
 Talking to Dora: in her sickbed she murmurs Kyle's name; once up, she tells Isaac not to worry.
static UNUSED void ValeBabi_FlashPaletteAndSpawnPair (union FieldObject *object)
 Flashes between two palettes and emits a paired effect every sixteen frames.
static void ValeBabi_CyclePaletteAndSpawnPair (union FieldObject *object)
 Cycles six palettes on odd frames and periodically emit paired effects.
static void ValeBabi_CyclePaletteOnOddFrames (union FieldObject *object)
 Advances deterministically through six palettes on odd frames.
static UNUSED void ValeBabi_CyclePaletteWithParticles (void)
static UNUSED void ValeBabi_CyclePaletteWithoutParticles (void)

Variables

s32 gValeBabi_LeaveHouseScript []
s32 gValeBabi_DoraLeavesScript []
s32 gValeBabi_IsaacLeavesScript []
s32 gValeBabi_DoraRunsAheadScript []
s32 gValeBabi_IsaacRunsAheadScript []
s32 gValeBabi_DoraRunsBackScript []
s32 gValeBabi_IsaacRunsBackScript []
s32 gValeBabi_RunToPlazaScript []
s32 gValeBabi_Actor10ShakesScript []
s32 gValeBabi_Actor10FallsScript []
s32 gValeBabi_DoraFacesIsaacScript []
s32 gValeBabi_MythrilBagRisesScript []
s32 gValeBabi_MythrilBagWobblesScript []
struct SceneEntrance gValeBabi_Entrances []
u32 gValeBabi_Exits []
u32 gValeBabi_StormExits []
struct ScenePlacement gValeBabi_Placements []
struct ScenePlacement gValeBabi_PlacementsAfterLeaving []
struct ScenePlacement gValeBabi_PlacementsAfterKalay []
struct ScenePlacement gValeBabi_ScholarsPlacements []
struct SceneEvent gValeBabi_StormEvents []
struct SceneEvent gValeBabi_Events []
struct SceneEvent gValeBabi_EventsAfterLeaving []
struct SceneEvent gValeBabi_EventsAfterKalay []
struct SceneEvent gValeBabi_ScholarsEvents []
struct SceneEvent gValeBabi_ScholarsLaterEvents []

Detailed Description

The south-west of Vale around Isaac's house, through the stormy night, the party's departure and its return; entrance 19 is instead a room of Babi's scholars, and entrance 22 shows the Mythril Bag.

Definition in file vale_babi.c.

Enumeration Type Documentation

◆ ValeBabiActor

Vale's placed actors, numbered in the order of gValeBabi_Placements (the scholars of entrance 19 are numbered from 8 in their own table).

Enumerator
ACTOR_DORA 

Isaac's mother. "Isaac, wake up!".

ACTOR_KYLE 

Isaac's father (sprite 0x35, Kyle in vale_storm.c).

"Isaac, Dora, hurry! The Boulder could fall at any second!"

ACTOR_INNKEEPER 
ACTOR_NEIGHBOR 

A neighbour who tells Isaac to be off, and who knows of Dora's illness once the party is back from Kalay.

"Hey... Boy..."

ACTOR_KRADEN 

Kraden's sprite (0x1e, as in Sol Sanctum's scenes), seen only from entrance 22.

Definition at line 65 of file vale_babi.c.

◆ ValeBabiPlaceFlag

Vale's place flags this scene keeps while the party is in Vale.

Enumerator
FLAG_VALE_INNKEEPER_WELCOMED_ISAAC 

Back from Kalay, the innkeeper welcomed Isaac home.

FLAG_VALE_NEIGHBOR_SAW_ISAAC_GROWN 

Back from Kalay, the neighbour remarked how much Isaac has grown.

Definition at line 81 of file vale_babi.c.

Function Documentation

◆ Event_DoraWakesIsaac()

void Event_DoraWakesIsaac ( void )
static

Dora wakes Isaac on the stormy night, makes him take his tunic, and leads him out into the storm.

"The Mt. Aleph Boulder is going to fall!" Called by ValeBabi_Initialize on arrival by entrance 20, where a new game begins. Sets FLAG_ISAAC_WEARS_TUNIC and takes exit 20, back into this scene by entrance 21, where Event_HurryToThePlaza follows.

Definition at line 371 of file vale_babi.c.

Referenced by Event_DoraWakesIsaac(), and ValeBabi_Initialize().

◆ Event_HurryToThePlaza()

void Event_HurryToThePlaza ( void )
static

Kyle calls to Isaac and Dora to hurry; actor 10 shakes, falls and fades as they run to the plaza.

Called by ValeBabi_Initialize on arrival by entrance 21, after Event_DoraWakesIsaac. Takes exit 21, to ValeStorm's entrance 15, where Event_DoraSendsIsaacToThePlaza follows.

Definition at line 542 of file vale_babi.c.

Referenced by Event_HurryToThePlaza(), and ValeBabi_Initialize().

◆ ValeBabi_RestoreRoomPatch()

void ValeBabi_RestoreRoomPatch ( void )
static

Restores the room's tiles and collision patch outside the storm sequence.

Called by ValeBabi_Initialize when FLAG_VALE_STORM is clear.

Definition at line 889 of file vale_babi.c.

Referenced by ValeBabi_Initialize(), and ValeBabi_RestoreRoomPatch().

◆ Event_ShowMythrilBag()

void Event_ShowMythrilBag ( void )
static

The Mythril Bag rises and wobbles before Kraden, with no text.

Called by ValeBabi_Initialize on arrival by entrance 22, from Kraden's cottage, while he prepares for the first Sol Sanctum visit (Event_TalkToKraden). Takes exit 22 back outside (ValeKraden's entrance 10), where Event_KradenSetsOff gathers the party.

Definition at line 899 of file vale_babi.c.

Referenced by Event_ShowMythrilBag(), and ValeBabi_Initialize().

◆ ValeBabi_SpawnEffectPair()

void ValeBabi_SpawnEffectPair ( union FieldObject * object)
static

Copies the parent's terrain height into two oppositely moving vertical effects.

Definition at line 983 of file vale_babi.c.

Referenced by ValeBabi_CyclePaletteAndSpawnPair(), ValeBabi_FlashPaletteAndSpawnPair(), and ValeBabi_SpawnEffectPair().

◆ ValeBabi_DemonstrateCatch()

void ValeBabi_DemonstrateCatch ( void )
static

Catch's effect plays on Dora, then its objects are released.

Called by Event_DoraWakesIsaac as Dora hands Isaac his tunic.

Definition at line 1048 of file vale_babi.c.

Referenced by Event_DoraWakesIsaac(), and ValeBabi_DemonstrateCatch().

◆ ValeBabi_GetEntrances()

const struct SceneEntrance * ValeBabi_GetEntrances ( void )

Returns the entrances, among them the scenes played on arrival: 19 from Babi's palace (its exit 11), 20 where a new game begins (menu/clear.c, and ValeHome's exit 50), 21 from this scene's own exit 20, and 22 from Kraden's cottage (ValeKraden's exit 13).

Definition at line 94 of file vale_babi.c.

Referenced by ValeBabi_GetEntrances().

◆ ValeBabi_GetRegions()

const struct SceneRegion * ValeBabi_GetRegions ( void )

Definition at line 98 of file vale_babi.c.

Referenced by ValeBabi_GetRegions().

◆ ValeBabi_GetExits()

const u32 * ValeBabi_GetExits ( void )

On the stormy night the exits lead into the storm.

Definition at line 101 of file vale_babi.c.

Referenced by ValeBabi_GetExits().

◆ ValeBabi_GetPlacements()

const struct ScenePlacement * ValeBabi_GetPlacements ( void )

Places Babi's scholars, or Vale's villagers as the story has left them.

Definition at line 109 of file vale_babi.c.

Referenced by ValeBabi_GetPlacements().

◆ Event_ScholarAsksAboutKraden()

void Event_ScholarAsksAboutKraden ( s32 speakerId)
static

A scholar asks whether the party knows Kraden.

Reached by talking to scholar 9 in Babi's scholars' room (entrance 19) once FLAG_COLOSSO_OVER is set; speakerId is the actor spoken to.

Definition at line 127 of file vale_babi.c.

Referenced by Event_ScholarAsksAboutKraden().

◆ ValeBabi_GetEvents()

const struct SceneEvent * ValeBabi_GetEvents ( void )

Chooses the events: Babi's scholars talk differently once the Colosso finals are over; Vale's villagers follow the storm and the story.

Definition at line 143 of file vale_babi.c.

Referenced by ValeBabi_GetEvents().

◆ Event_AskIsaacHisBusiness()

void Event_AskIsaacHisBusiness ( void )
static

The neighbour asks whether Isaac has business with him, and sends him off either way.

"Hey... Boy..." Reached by talking to the neighbour (actor 16) before the party leaves Vale (gValeBabi_Events).

Definition at line 167 of file vale_babi.c.

Referenced by Event_AskIsaacHisBusiness().

◆ Event_AskWhetherMaskedManWasFelix()

void Event_AskWhetherMaskedManWasFelix ( void )
static

A villager asks whether the masked man was Felix, and wonders whether Jenna can be trusted.

Reached by talking to actor 14 once the party has left Vale and until it reaches Kalay (gValeBabi_EventsAfterLeaving).

Definition at line 193 of file vale_babi.c.

Referenced by Event_AskWhetherMaskedManWasFelix().

◆ ValeBabi_CloseScreenAndExit()

void ValeBabi_CloseScreenAndExit ( s32 exitId)
static

◆ Event_ExitNorthwestArea()

void Event_ExitNorthwestArea ( void )
static

Reached by cell code 1; takes exit 1, to ValeHome's entrance 6.

Definition at line 227 of file vale_babi.c.

Referenced by Event_ExitNorthwestArea().

◆ Event_ExitNorthArea()

void Event_ExitNorthArea ( void )
static

Reached by cell code 2; takes exit 2, to Kraden's cottage (ValeKraden's entrance 3).

Definition at line 234 of file vale_babi.c.

Referenced by Event_ExitNorthArea().

◆ Event_ExitNortheastArea()

void Event_ExitNortheastArea ( void )
static

Reached by cell code 3; takes exit 3, to ValeHome's entrance 2.

Definition at line 240 of file vale_babi.c.

Referenced by Event_ExitNortheastArea().

◆ Event_ExitWestAreaSouth()

void Event_ExitWestAreaSouth ( void )
static

Reached by cell code 4; takes exit 4, to ValeHome's entrance 7.

Definition at line 246 of file vale_babi.c.

Referenced by Event_ExitWestAreaSouth().

◆ Event_ExitWestAreaNorth()

void Event_ExitWestAreaNorth ( void )
static

Reached by cell code 5; takes exit 5, to this scene's entrance 8.

Definition at line 252 of file vale_babi.c.

Referenced by Event_ExitWestAreaNorth().

◆ Event_ExitCenterAreaSouth()

void Event_ExitCenterAreaSouth ( void )
static

Reached by cell code 6; takes exit 6, to Vale's entrance 8, or on the stormy night to ValeStorm's.

Definition at line 259 of file vale_babi.c.

Referenced by Event_ExitCenterAreaSouth().

◆ Event_ExitCenterAreaNorth()

void Event_ExitCenterAreaNorth ( void )
static

Reached by cell code 7; takes exit 7, to this scene's entrance 9.

Definition at line 265 of file vale_babi.c.

Referenced by Event_ExitCenterAreaNorth().

◆ Event_ExitSouthwestArea()

void Event_ExitSouthwestArea ( void )
static

Reached by cell code 8; takes exit 8, to this scene's entrance 5.

Definition at line 271 of file vale_babi.c.

Referenced by Event_ExitSouthwestArea().

◆ Event_ExitSouthAreaWest()

void Event_ExitSouthAreaWest ( void )
static

Reached by cell code 9; takes exit 9, to this scene's entrance 7.

Definition at line 277 of file vale_babi.c.

Referenced by Event_ExitSouthAreaWest().

◆ Event_ExitSouthAreaSouth()

void Event_ExitSouthAreaSouth ( void )
static

Reached by cell code 10; takes exit 10, to ValeStorm's entrance 12.

Definition at line 283 of file vale_babi.c.

Referenced by Event_ExitSouthAreaSouth().

◆ Event_ExitSoutheastArea()

void Event_ExitSoutheastArea ( void )
static

Reached by cell code 11; takes exit 11, to ValeStorm's entrance 13.

Definition at line 289 of file vale_babi.c.

Referenced by Event_ExitSoutheastArea().

◆ ValeBabi_Initialize()

s32 ValeBabi_Initialize ( void )

Sets up the stormy night or the villagers of the story, and plays the scenes of entrances 20 to 22.

Called by Field_RunScene once the actors are placed. Entrance 20 sets FLAG_VALE_STORM before Event_DoraWakesIsaac; back from Kalay, Dora is put back in her sickbed unless FLAG_SCENE_TEMP_03 says she got up.

Definition at line 299 of file vale_babi.c.

Referenced by ValeBabi_Initialize().

◆ SetBlendTarget()

__inline__ void SetBlendTarget ( u32 value)
static

Selects the hardware blend targets for the storm sequence.

Definition at line 533 of file vale_babi.c.

Referenced by Event_HurryToThePlaza(), and SetBlendTarget().

◆ SetBlendAlpha()

__inline__ void SetBlendAlpha ( u32 value)
static

Definition at line 535 of file vale_babi.c.

Referenced by Event_HurryToThePlaza(), and SetBlendAlpha().

◆ Event_TalkToInnkeeper()

void Event_TalkToInnkeeper ( void )
static

The innkeeper offers a room from behind the counter; elsewhere talks of the travelers, the eruption, or, back from Kalay, welcomes Isaac home.

Reached by talking to the innkeeper (actor 13) in every Vale table but the storm's, and back from Kalay by Mind Read on him until he has welcomed Isaac. Sets FLAG_VALE_INNKEEPER_WELCOMED_ISAAC on that welcome.

Definition at line 670 of file vale_babi.c.

◆ Event_NeighborSeesIsaacHasGrown()

void Event_NeighborSeesIsaacHasGrown ( void )
static

Back from Kalay, the neighbour remarks how much Isaac has grown.

Reached by talking to the neighbour (actor 16) while FLAG_VALE_INNKEEPER_WELCOMED_ISAAC is clear, or by Mind Read on him until FLAG_VALE_NEIGHBOR_SAW_ISAAC_GROWN is set, which this sets. XXX: the talk row tests the innkeeper's flag, not this one; likely a slip, because the Mind Read row tests this one, but both show the same line.

Definition at line 707 of file vale_babi.c.

Referenced by Event_NeighborSeesIsaacHasGrown().

◆ Event_ReadInnkeepersThoughts()

void Event_ReadInnkeepersThoughts ( void )
static

Mind Read on the innkeeper: Dora would not let Isaac stay in Vale.

Reached back from Kalay once he has welcomed Isaac. Sets FLAG_READ_THOUGHTS_ABOUT_DORA.

Definition at line 720 of file vale_babi.c.

Referenced by Event_ReadInnkeepersThoughts().

◆ Event_ReadThoughtsAboutDorasIllness()

void Event_ReadThoughtsAboutDorasIllness ( void )
static

Mind Read on the neighbour: Dora was struck with illness.

Reached back from Kalay once he has remarked on Isaac. Sets FLAG_READ_THOUGHTS_ABOUT_DORA.

Definition at line 731 of file vale_babi.c.

Referenced by Event_ReadThoughtsAboutDorasIllness().

◆ Event_VisitSickDora()

void Event_VisitSickDora ( void )
static

Back from Kalay, Isaac visits Dora in her sickbed; she asks who told him she was ill, then gets up to show she feels well.

Reached by talking to Dora (actor 8), or by Mind Read on her, until FLAG_VISITED_SICK_DORA is set. Sets it and FLAG_SCENE_TEMP_03.

Definition at line 743 of file vale_babi.c.

Referenced by Event_VisitSickDora().

◆ Event_TalkToDora()

void Event_TalkToDora ( void )
static

Talking to Dora: in her sickbed she murmurs Kyle's name; once up, she tells Isaac not to worry.

Reached by talking to her back from Kalay once FLAG_VISITED_SICK_DORA is set; she is up while FLAG_SCENE_TEMP_03 is set.

Definition at line 865 of file vale_babi.c.

Referenced by Event_TalkToDora().

◆ ValeBabi_FlashPaletteAndSpawnPair()

UNUSED void ValeBabi_FlashPaletteAndSpawnPair ( union FieldObject * object)
static

Flashes between two palettes and emits a paired effect every sixteen frames.

Definition at line 948 of file vale_babi.c.

Referenced by ValeBabi_FlashPaletteAndSpawnPair().

◆ ValeBabi_CyclePaletteAndSpawnPair()

void ValeBabi_CyclePaletteAndSpawnPair ( union FieldObject * object)
static

Cycles six palettes on odd frames and periodically emit paired effects.

Definition at line 960 of file vale_babi.c.

Referenced by ValeBabi_CyclePaletteAndSpawnPair(), and ValeBabi_CyclePaletteWithParticles().

◆ ValeBabi_CyclePaletteOnOddFrames()

void ValeBabi_CyclePaletteOnOddFrames ( union FieldObject * object)
static

Advances deterministically through six palettes on odd frames.

Definition at line 970 of file vale_babi.c.

Referenced by ValeBabi_CyclePaletteOnOddFrames(), and ValeBabi_CyclePaletteWithoutParticles().

◆ ValeBabi_CyclePaletteWithParticles()

UNUSED void ValeBabi_CyclePaletteWithParticles ( void )
static

Definition at line 1038 of file vale_babi.c.

Referenced by ValeBabi_CyclePaletteWithParticles().

◆ ValeBabi_CyclePaletteWithoutParticles()

UNUSED void ValeBabi_CyclePaletteWithoutParticles ( void )
static

Definition at line 1042 of file vale_babi.c.

Referenced by ValeBabi_CyclePaletteWithoutParticles().

Variable Documentation

◆ gValeBabi_LeaveHouseScript

s32 gValeBabi_LeaveHouseScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(522), 0, PIXELS(748)),
SC_SYNC, SC_MOVE(PIXELS(419), 0, PIXELS(748)),
SC_SYNC, SC_MOVE(PIXELS(419), 0, PIXELS(691)),
}
#define PIXELS(value)
#define SC_SYNC
Wait for arrival.
Definition objcmd.h:17
#define SC_ARG(v)
Definition objcmd.h:44
#define SC_MOVE(x, y, z)
Move toward the target.
Definition objcmd.h:19
#define SC_END
Return to the main script.
Definition objcmd.h:32

Definition at line 1057 of file vale_babi.c.

Referenced by Event_DoraWakesIsaac().

◆ gValeBabi_DoraLeavesScript

s32 gValeBabi_DoraLeavesScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(387), 0, PIXELS(661)), SC_SYNC, SC_POS(0, 0, 0),
}
#define SC_POS(x, y, z)
Set position.
Definition objcmd.h:18

Definition at line 1065 of file vale_babi.c.

Referenced by Event_DoraWakesIsaac().

◆ gValeBabi_IsaacLeavesScript

s32 gValeBabi_IsaacLeavesScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(408), 0, PIXELS(661)),
SC_SYNC, SC_MOVE(PIXELS(387), 0, PIXELS(661)),
SC_SYNC, SC_POS(0, 0, 0),
}

Definition at line 1070 of file vale_babi.c.

Referenced by Event_DoraWakesIsaac().

◆ gValeBabi_DoraRunsAheadScript

s32 gValeBabi_DoraRunsAheadScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(468), 0, PIXELS(390)),
SC_SYNC, SC_MOVE(PIXELS(508), 0, PIXELS(402)),
}

Definition at line 1077 of file vale_babi.c.

Referenced by Event_HurryToThePlaza().

◆ gValeBabi_IsaacRunsAheadScript

s32 gValeBabi_IsaacRunsAheadScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(431), 0, PIXELS(391)),
SC_SYNC, SC_MOVE(PIXELS(468), 0, PIXELS(390)),
SC_SYNC, SC_MOVE(PIXELS(486), 0, PIXELS(393)),
}

Definition at line 1084 of file vale_babi.c.

Referenced by Event_HurryToThePlaza().

◆ gValeBabi_DoraRunsBackScript

s32 gValeBabi_DoraRunsBackScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(525), 0, PIXELS(414)),
SC_SYNC, SC_MOVE(PIXELS(509), 0, PIXELS(442)),
SC_SYNC, SC_MOVE(PIXELS(455), 0, PIXELS(450)),
}

Definition at line 1092 of file vale_babi.c.

Referenced by Event_HurryToThePlaza().

◆ gValeBabi_IsaacRunsBackScript

s32 gValeBabi_IsaacRunsBackScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(525), 0, PIXELS(414)),
SC_SYNC, SC_MOVE(PIXELS(509), 0, PIXELS(442)),
SC_SYNC, SC_MOVE(PIXELS(481), 0, PIXELS(443)),
}

Definition at line 1100 of file vale_babi.c.

Referenced by Event_HurryToThePlaza().

◆ gValeBabi_RunToPlazaScript

s32 gValeBabi_RunToPlazaScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(428), 0, PIXELS(460)),
SC_SYNC, SC_MOVE(PIXELS(415), 0, PIXELS(513)),
SC_SYNC, SC_MOVE(PIXELS(415), 0, PIXELS(589)),
}

Definition at line 1108 of file vale_babi.c.

Referenced by Event_HurryToThePlaza().

◆ gValeBabi_Actor10ShakesScript

s32 gValeBabi_Actor10ShakesScript[]
Initial value:
= {
SC_SET(SW_SCALE_X, 0xe666), SC_SET(SW_SCALE_Y, 0x10000), SC_WAIT(4),
SC_SET(SW_SCALE_X, 0xcccc), SC_SET(SW_SCALE_Y, 0xcccc), SC_WAIT(4),
}
#define SC_SET(w, v)
Write a work value.
Definition objcmd.h:37
#define SC_LOOP(n, to)
Repeat up to n times.
Definition objcmd.h:28
#define SC_FOREVER
Definition objcmd.h:14
#define SC_WAIT(n)
Wait n frames.
Definition objcmd.h:16
#define SC_TOP
Script start.
Definition objcmd.h:13
@ SW_SCALE_Y
Definition objcmd.h:63
@ SW_SCALE_X
Definition objcmd.h:62

Definition at line 1115 of file vale_babi.c.

Referenced by Event_HurryToThePlaza().

◆ gValeBabi_Actor10FallsScript

s32 gValeBabi_Actor10FallsScript[]

Definition at line 1121 of file vale_babi.c.

Referenced by Event_HurryToThePlaza().

◆ gValeBabi_DoraFacesIsaacScript

s32 gValeBabi_DoraFacesIsaacScript[]
Initial value:
= {
SC_CALL(Scene_TurnTowardTarget),
SC_MOVE(PIXELS(567), 0, PIXELS(690)),
SC_MOVE(PIXELS(543), 0, PIXELS(674)),
}
#define SC_CALL(fn)
Definition objcmd.h:50

Definition at line 1154 of file vale_babi.c.

Referenced by Event_TalkToDora().

◆ gValeBabi_MythrilBagRisesScript

s32 gValeBabi_MythrilBagRisesScript[]
Initial value:
= {
SC_ADD(SW_Y, 0x8000),
SC_WAIT(1),
}
#define SC_ADD(w, v)
Definition objcmd.h:38
@ SW_Y
Definition objcmd.h:59

Definition at line 1164 of file vale_babi.c.

Referenced by Event_ShowMythrilBag().

◆ gValeBabi_MythrilBagWobblesScript

s32 gValeBabi_MythrilBagWobblesScript[]
Initial value:
= {
SC_ADD(SW_SCALE_X, -0x4000),
SC_ADD(SW_SCALE_Y, 0x2000),
SC_WAIT(2),
SC_ADD(SW_SCALE_X, 0x2000),
SC_ADD(SW_SCALE_Y, -0x1000),
SC_WAIT(2),
SC_ADD(SW_SCALE_X, 0x1000),
SC_ADD(SW_SCALE_Y, -2048),
SC_WAIT(2),
SC_ADD(SW_SCALE_X, 0x1000),
SC_ADD(SW_SCALE_Y, -2048),
SC_WAIT(4),
SC_ADD(SW_SCALE_X, -0x4000),
SC_ADD(SW_SCALE_Y, 0x2000),
SC_WAIT(2),
SC_ADD(SW_SCALE_X, 0x2000),
SC_ADD(SW_SCALE_Y, -0x1000),
SC_WAIT(2),
SC_ADD(SW_SCALE_X, 0x1000),
SC_ADD(SW_SCALE_Y, -2048),
SC_WAIT(2),
SC_ADD(SW_SCALE_X, 0x1000),
SC_ADD(SW_SCALE_Y, -2048),
SC_WAIT(4),
}

Definition at line 1170 of file vale_babi.c.

Referenced by Event_ShowMythrilBag().

◆ gValeBabi_Entrances

struct SceneEntrance gValeBabi_Entrances[]
Initial value:
= {
{0, CONDITION_ALWAYS, 120, 0, 100, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{1, CONDITION_ALWAYS, 160, 0, 228, FACING_NORTH, 0, 24, 0, 248, 256, 0},
{2, CONDITION_ALWAYS, 480, 0, 176, FACING_NORTH, 0, 264, 8, 560, 240, 0},
{3, CONDITION_ALWAYS, 721, 0, 192, FACING_NORTH, 0, 584, 0, 848, 224, 0},
{4, CONDITION_ALWAYS, 144, 0, 494, FACING_NORTH, 0, 8, 256, 320, 528, 0},
{5, CONDITION_ALWAYS, 119, 0, 340, FACING_SOUTH, 0, 8, 256, 320, 528, 0},
{6, CONDITION_ALWAYS, 416, 0, 528, FACING_NORTH, 0, 344, 272, 640, 560, 0},
{7, CONDITION_ALWAYS, 408, 0, 371, FACING_SOUTH, 0, 344, 272, 640, 560, 0},
{8, CONDITION_ALWAYS, 184, 0, 633, FACING_EAST, 0, 8, 576, 320, 736, 0},
{9, CONDITION_ALWAYS, 408, 0, 665, FACING_EAST, 0, 328, 600, 624, 816, 0},
{10, CONDITION_ALWAYS, 528, 0, 683, FACING_SOUTH, 0, 328, 600, 624, 816, 0},
{11, CONDITION_ALWAYS, 705, 0, 817, FACING_NORTH, 0, 640, 552, 952, 864, 0},
{12, CONDITION_ALWAYS, 879, 0, 765, FACING_NORTH, 0, 640, 552, 952, 864, 0},
{16, CONDITION_ALWAYS, 538, 0, 683, FACING_SOUTH, 0, 328, 600, 624, 816, 0},
{19, CONDITION_ALWAYS, 760, 0, 328, FACING_SOUTH, 0, 672, 272, 960, 488, 0},
{20, CONDITION_ALWAYS, 567, 0, 676, FACING_EAST, 0, 1024, 576, 1024, 576,
0},
{21, CONDITION_ALWAYS, 408, 0, 371, FACING_SOUTH, 0, 344, 272, 640, 560, 0},
{22, CONDITION_ALWAYS, 480, 0, 176, FACING_NORTH, 0, 264, 8, 560, 240, 0},
}
@ SCENE_TABLE_END
Definition field_scene.h:43
@ CONDITION_ALWAYS
Definition field_scene.h:44
@ FACING_EAST
Definition field_scene.h:26
@ FACING_NORTH
Definition field_scene.h:32
@ FACING_SOUTH
Definition field_scene.h:28

Definition at line 1198 of file vale_babi.c.

Referenced by ValeBabi_GetEntrances().

◆ gValeBabi_Exits

u32 gValeBabi_Exits[]
Initial value:
= {
SCENE_EXITS(8), SCENE_EXIT(1, 5, 6), SCENE_EXIT(2, 6, 3),
SCENE_EXIT(3, 5, 2), SCENE_EXIT(4, 5, 7), SCENE_EXIT(5, 8, 8),
SCENE_EXIT(6, 4, 8), SCENE_EXIT(7, 8, 9), SCENE_EXIT(8, 8, 5),
SCENE_EXIT(9, 8, 7), SCENE_EXIT(10, 3, 12), SCENE_EXIT(11, 3, 13),
SCENE_EXIT(19, 138, 11), SCENE_EXIT(20, 8, 21), SCENE_EXIT(21, 3, 15),
}
#define SCENE_EXITS(scene)
Definition field_scene.h:72
#define SCENE_EXIT(exit, scene, entrance)
Definition field_scene.h:73
#define SCENE_EXITS_END
Definition field_scene.h:77

Definition at line 1221 of file vale_babi.c.

Referenced by ValeBabi_GetExits().

◆ gValeBabi_StormExits

u32 gValeBabi_StormExits[]
Initial value:
= {
SCENE_EXITS(8), SCENE_EXIT(1, 5, 6), SCENE_EXIT(2, 6, 3),
SCENE_EXIT(3, 5, 2), SCENE_EXIT(4, 5, 7), SCENE_EXIT(5, 8, 8),
SCENE_EXIT(6, 3, 8), SCENE_EXIT(7, 8, 9), SCENE_EXIT(8, 8, 5),
SCENE_EXIT(9, 8, 7), SCENE_EXIT(10, 3, 12), SCENE_EXIT(11, 3, 13),
SCENE_EXIT(20, 8, 21), SCENE_EXIT(21, 3, 15), SCENE_EXITS_END,
}

Definition at line 1230 of file vale_babi.c.

Referenced by ValeBabi_GetExits().

◆ gValeBabi_Placements

struct ScenePlacement gValeBabi_Placements[]
Initial value:
= {
0, 0, 0, FACING_EAST, TALK_FACE_PARTY, 0 },
0, 0, 0, FACING_NORTH, TALK_FACE_PARTY, 0 },
0, 0, 0, FACING_NORTH, TALK_FACE_PARTY, 0 },
{ 0x6c, 0x0, ACTOR_STAND,
PIXELS(151), 0, PIXELS(152), FACING_SOUTH, TALK_FACE_PARTY, 0 },
{ 0x78, 0x0, ACTOR_WANDER,
{ 0x80, 0x0, ACTOR_STAND,
{ 0x6c, 0x0, ACTOR_WANDER,
{ 0x6a, 0x0, ACTOR_STAND,
{ 0x22, 0x0, ACTOR_STAND,
}
@ FACING_STEP
Definition field_scene.h:36
@ TALK_KEEP_FACING
@ TALK_FACE_PARTY
@ TALK_FACE_PARTY_AND_BACK
@ ACTOR_WANDER
@ ACTOR_STAND
@ FACING_NORTHEAST
Definition field_scene.h:33
@ FACING_NORTHWEST
Definition field_scene.h:31
@ FACING_WEST
Definition field_scene.h:30

Definition at line 1239 of file vale_babi.c.

Referenced by ValeBabi_GetPlacements().

◆ gValeBabi_PlacementsAfterLeaving

struct ScenePlacement gValeBabi_PlacementsAfterLeaving[]
Initial value:
= {
0, 0, 0, FACING_EAST, TALK_FACE_PARTY, 0 },
{ 0x35, 0x0, ACTOR_STAND,
0, 0, 0, FACING_NORTH, TALK_FACE_PARTY, 0 },
{ 0xd0, 0x0, ACTOR_STAND,
0, 0, 0, FACING_NORTH, TALK_FACE_PARTY, 0 },
{ 0x6c, 0x0, ACTOR_STAND,
PIXELS(151), 0, PIXELS(152), FACING_SOUTH, TALK_FACE_PARTY, 0 },
{ 0x78, 0x0, ACTOR_WANDER,
{ 0x80, 0x0, ACTOR_STAND,
PIXELS(246), 0, PIXELS(391), FACING_WEST, TALK_FACE_PARTY, 0 },
{ 0x6c, 0x0, ACTOR_WANDER,
{ 0x6a, 0x0, ACTOR_STAND,
}

Definition at line 1265 of file vale_babi.c.

Referenced by ValeBabi_GetPlacements().

◆ gValeBabi_PlacementsAfterKalay

struct ScenePlacement gValeBabi_PlacementsAfterKalay[]
Initial value:
= {
PIXELS(586), 0, PIXELS(406), FACING_EAST, TALK_KEEP_FACING, 0 },
{ 0x35, 0x0, ACTOR_STAND,
0, 0, 0, FACING_NORTH, TALK_FACE_PARTY, 0 },
{ 0xd0, 0x0, ACTOR_STAND,
0, 0, 0, FACING_NORTH, TALK_FACE_PARTY, 0 },
{ 0x6c, 0x0, ACTOR_STAND,
PIXELS(151), 0, PIXELS(152), FACING_SOUTH, TALK_FACE_PARTY, 0 },
{ 0x78, 0x0, ACTOR_WANDER,
{ 0x80, 0x0, ACTOR_STAND,
PIXELS(246), 0, PIXELS(391), FACING_WEST, TALK_FACE_PARTY, 0 },
{ 0x6c, 0x0, ACTOR_WANDER,
{ 0x6a, 0x0, ACTOR_STAND,
{ 0x65, 0x0, ACTOR_STAND,
{ 0x16, 0x0, ACTOR_STAND,
PIXELS(252), 0, PIXELS(378), FACING_SOUTH, TALK_FACE_PARTY, 0 },
}

Definition at line 1285 of file vale_babi.c.

Referenced by ValeBabi_GetPlacements().

◆ gValeBabi_ScholarsPlacements

struct ScenePlacement gValeBabi_ScholarsPlacements[]
Initial value:

Definition at line 1309 of file vale_babi.c.

Referenced by ValeBabi_GetPlacements().

◆ gValeBabi_StormEvents

struct SceneEvent gValeBabi_StormEvents[]
Initial value:
= {
{ SEARCH(SEARCH_WOODEN_BOX), 100, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeWoodenBoxEmpty)) },
{ SEARCH(SEARCH_JAR), 101, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeJarEmpty)) },
{ SEARCH(SEARCH_BARREL), 102, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgVaultButDidntFindAnything)) },
{ SEARCH(SEARCH_BOOKCASE), 206, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeNotebookStudyOfAlchemy)) },
{ SEARCH(SEARCH_BOOKCASE), 207, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookAncientLemurians)) },
{ SEARCH(SEARCH_BOOKCASE), 208, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookFountainOfTolbi)) },
{ 0xc4f3, 209, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeEncyclopediaOfAlchemy)) },
{ 0xc4f3, 210, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookLegendOfAleph)) },
{ SEARCH(SEARCH_BOOKCASE), 211, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookBeingAdept)) },
{ 0xc4f3, 212, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookTravelersEtiquette)) },
}
#define SCENE_EVENTS_END
@ EVENT_TOUCH
#define FIND_MESSAGE(message)
#define EVENT_SCRIPT(script)
#define SEARCH(target)
@ SEARCH_BOOKCASE
@ SEARCH_WOODEN_BOX
@ SEARCH_JAR
@ SEARCH_BARREL
static void Event_ExitSoutheastArea(void)
Reached by cell code 11; takes exit 11, to ValeStorm's entrance 13.
Definition vale_babi.c:289
static void Event_ExitWestAreaNorth(void)
Reached by cell code 5; takes exit 5, to this scene's entrance 8.
Definition vale_babi.c:252
static void Event_ExitNorthwestArea(void)
Reached by cell code 1; takes exit 1, to ValeHome's entrance 6.
Definition vale_babi.c:227
static void Event_ExitCenterAreaSouth(void)
Reached by cell code 6; takes exit 6, to Vale's entrance 8, or on the stormy night to ValeStorm's.
Definition vale_babi.c:259
static void Event_ExitSouthAreaWest(void)
Reached by cell code 9; takes exit 9, to this scene's entrance 7.
Definition vale_babi.c:277
static void Event_ExitNortheastArea(void)
Reached by cell code 3; takes exit 3, to ValeHome's entrance 2.
Definition vale_babi.c:240
static void Event_ExitSouthwestArea(void)
Reached by cell code 8; takes exit 8, to this scene's entrance 5.
Definition vale_babi.c:271
static void Event_ExitNorthArea(void)
Reached by cell code 2; takes exit 2, to Kraden's cottage (ValeKraden's entrance 3).
Definition vale_babi.c:234
static void Event_ExitCenterAreaNorth(void)
Reached by cell code 7; takes exit 7, to this scene's entrance 9.
Definition vale_babi.c:265
static void Event_ExitWestAreaSouth(void)
Reached by cell code 4; takes exit 4, to ValeHome's entrance 7.
Definition vale_babi.c:246
static void Event_ExitSouthAreaSouth(void)
Reached by cell code 10; takes exit 10, to ValeStorm's entrance 12.
Definition vale_babi.c:283

Definition at line 1323 of file vale_babi.c.

Referenced by ValeBabi_GetEvents().

◆ gValeBabi_Events

struct SceneEvent gValeBabi_Events[]
Initial value:
= {
{ EVENT_TALK, 11, CONDITION_ALWAYS, MSGNO(MsgValeMyFatherAlsoDiedInThat) },
{ EVENT_TALK, 12, CONDITION_ALWAYS, MSGNO(MsgValeMySonIsStillYoungSo) },
{ EVENT_TALK, 14, CONDITION_ALWAYS, MSGNO(MsgValeOneOfTheMenFromThat) },
{ EVENT_TALK, 15, CONDITION_ALWAYS, MSGNO(MsgValeTwoOfThoseThreeGuestsStaying) },
{ SEARCH(SEARCH_BOOKCASE), 206, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeNotebookStudyOfAlchemy)) },
{ SEARCH(SEARCH_BOOKCASE), 207, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookAncientLemurians)) },
{ SEARCH(SEARCH_BOOKCASE), 208, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookFountainOfTolbi)) },
{ 0xc4f3, 209, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeEncyclopediaOfAlchemy)) },
{ 0xc4f3, 210, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookLegendOfAleph)) },
{ SEARCH(SEARCH_BOOKCASE), 211, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookBeingAdept)) },
{ 0xc4f3, 212, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeBookTravelersEtiquette)) },
}
@ ACTOR_INNKEEPER
Definition altin.c:82
#define FIND_ITEM(item)
@ EVENT_TALK
#define FIND_COINS(coins)
#define FLAG_VALE_BARREL_COIN
1 coin
Definition flags.h:515
#define FLAG_VALE_WOODEN_BOX_HERB
The containers, set once each is searched; the last three hold their finds only once the party is bac...
Definition flags.h:513
#define FLAG_VALE_JAR_COINS
5 coins
Definition flags.h:514
@ ITEM_HERB
Definition item_ids.h:40
static void Event_TalkToInnkeeper(void)
The innkeeper offers a room from behind the counter; elsewhere talks of the travelers,...
Definition vale_babi.c:670
static void Event_AskIsaacHisBusiness(void)
The neighbour asks whether Isaac has business with him, and sends him off either way.
Definition vale_babi.c:167
@ ACTOR_NEIGHBOR
A neighbour who tells Isaac to be off, and who knows of Dora's illness once the party is back from Ka...
Definition vale_babi.c:74

Definition at line 1348 of file vale_babi.c.

Referenced by ValeBabi_GetEvents().

◆ gValeBabi_EventsAfterLeaving

struct SceneEvent gValeBabi_EventsAfterLeaving[]

Definition at line 1379 of file vale_babi.c.

Referenced by ValeBabi_GetEvents().

◆ gValeBabi_EventsAfterKalay

struct SceneEvent gValeBabi_EventsAfterKalay[]

Definition at line 1414 of file vale_babi.c.

Referenced by ValeBabi_GetEvents().

◆ gValeBabi_ScholarsEvents

struct SceneEvent gValeBabi_ScholarsEvents[]
Initial value:
= {
{ EVENT_TALK, 8, CONDITION_ALWAYS, MSGNO(MsgBabiOriginallyThereWereAncientRuinsAt) },
{ EVENT_TALK, 9, CONDITION_ALWAYS, MSGNO(MsgBabiNoMatterHowManyTimesI) },
{ EVENT_TALK, 10, CONDITION_ALWAYS, MSGNO(MsgBabiItIsSaidThatLongAgo) },
{ EVENT_TALK, 11, CONDITION_ALWAYS, MSGNO(MsgBabiOriginallyTheAncientVenusRuinsLay) },
{ EVENT_TALK, 12, CONDITION_ALWAYS, MSGNO(MsgBabiBabiMakesHisScholarsPerformAll) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 8, CONDITION_ALWAYS, MSGNO(MsgBabiNoOneHasEverReachedThe) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 9, CONDITION_ALWAYS, MSGNO(MsgBabiStillMyExperimentsInAlchemyAre) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 10, CONDITION_ALWAYS, MSGNO(MsgBabiKradensJourneyWasMeantToRevive) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 11, CONDITION_ALWAYS, MSGNO(MsgBabiTheVenusRuinsAreTheRemnants) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 12, CONDITION_ALWAYS, MSGNO(MsgBabiLordBabiExpectedGreatResultsFrom) },
{ 0x21, 20, CONDITION_ALWAYS, 19 },
{ SEARCH(SEARCH_BOOKCASE), 207, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeTheresABookEntitledEncyclopediaOf)) },
{ SEARCH(SEARCH_BOOKCASE), 208, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeTheresANotebookEntitledExperimentsIn)) },
{ SEARCH(SEARCH_BOOKCASE), 209, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeTheresANotebookEntitledStudyOf)) },
}
@ ABILITY_MIND_READ
Definition ability_ids.h:16
#define PSYNERGY_ON_ACTOR(ability)
#define FLAG_BABI_PALACE_HARD_NUT
A jar in the scholars' room, which is drawn on Vale's map (vale_babi.c).
Definition flags.h:213
@ ITEM_HARD_NUT
Definition item_ids.h:53

Definition at line 1462 of file vale_babi.c.

Referenced by ValeBabi_GetEvents().

◆ gValeBabi_ScholarsLaterEvents

struct SceneEvent gValeBabi_ScholarsLaterEvents[]
Initial value:
= {
{ EVENT_TALK, 8, CONDITION_ALWAYS, MSGNO(MsgBabiOnceBabiLighthouseIsCompleteId) },
{ EVENT_TALK, 10, CONDITION_ALWAYS, MSGNO(MsgBabiAlchemyTeachesThatTheFourElements) },
{ EVENT_TALK, 11, CONDITION_ALWAYS, MSGNO(MsgBabiIfTheRiddleOfTheVenus) },
{ EVENT_TALK, 12, CONDITION_ALWAYS, MSGNO(MsgBabiImSureKradenWouldStopBy) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 8, CONDITION_ALWAYS, MSGNO(MsgBabiTheRelationshipBetweenAlchemyAndThe) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 9, CONDITION_ALWAYS, MSGNO(MsgBabiIWantToSeeKradenAnd) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 10, CONDITION_ALWAYS, MSGNO(MsgBabiTheresGotToBeAGood) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 11, CONDITION_ALWAYS, MSGNO(MsgBabiWhatSortOfUnfathomableRiddlesAre) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 12, CONDITION_ALWAYS, MSGNO(MsgBabiThereMustBeAReasonWhy) },
{ 0x21, 20, CONDITION_ALWAYS, 19 },
{ SEARCH(SEARCH_BOOKCASE), 207, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeTheresABookEntitledEncyclopediaOf)) },
{ SEARCH(SEARCH_BOOKCASE), 208, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeTheresANotebookEntitledExperimentsIn)) },
{ SEARCH(SEARCH_BOOKCASE), 209, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgValeTheresANotebookEntitledStudyOf)) },
}
static void Event_ScholarAsksAboutKraden(s32 speakerId)
A scholar asks whether the party knows Kraden.
Definition vale_babi.c:127

Definition at line 1481 of file vale_babi.c.

Referenced by ValeBabi_GetEvents().