Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
wstag225.c File Reference

WSTAG225: Login Room, Asuka City. More...

Include dependency graph for wstag225.c:

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)
 
#define STAGE_FILE   0x19F
 
#define STAGE_ARCHIVE   0x3CD
 

Functions

void updateTileEffect (StageTileEffect *task)
 Once the substate is set to 1, moves the map objects of animations 1-3 to (x, y), plays a sound and animates them once.
 
void handleCommand815 (StageTileEffect *task, s32 id)
 Starts the effect at the place of map object 0x346 or 0x347.
 
void * createCommand815 (s32 arg)
 Command 815 of the event scripts: the effect of event 5, the player's arrival at the Asuka Server.
 
void * createTileEffect (void)
 Creates the arrival effect (updateTileEffect) without an id; nothing in the game calls it.
 
void updateStage (StageTask *task, void **children)
 Creates the event object of progress 1.
 
void endEvent5 (void)
 After event 5, with Account Clerk: moves the story on to STORY_LOGGED_IN.
 
void setupStage (void)
 Sets the stage up: its map, actors and events, playing the ambience ENV_0011; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28.
 

Variables

AnimFrame * updateTileEffectFrames []
 Defined below, after the code that uses them.
 
s8 tileEffectSortY []
 
s8 tileEffectY []
 
s16 tileEffectPlaces [][2]
 
s16 script5 []
 
AnimFrame updateTileEffectFrames_0 []
 
AnimFrame updateTileEffectFrames_2 []
 
AnimFrame updateTileEffectFrames_1 []
 
ActorImage stageImages []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor11Talks []
 
FieldTalk actor12Talks []
 
FieldTalk actor13Talks []
 
FieldTalk actor15Talks []
 
u16 actor0Conditions [] = { (0x6000 | ( STORY_ACCOUNT_REGISTERED )) , 1, 0xFFFF }
 
u16 actor1Conditions [] = { (0x6000 | ( STORY_ACCOUNT_REGISTERED )) , 1, 0xFFFF }
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xD, 5, 0, 0, 3 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x20, 6, 265, 397, 3 }
 
FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0x6A, 7, 0, 0, 1 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x9D, 8, 265, 397, 3 }
 
FieldActorEntry * stageActors []
 
StageTile stageObjects []
 The tables and color setupStage gives FIELDSTG_state (FieldState)
 
StageSlot stageSlots []
 
void(* stageFuncs [])(void)
 The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.
 
FieldEvent stageEvents []
 

Detailed Description

WSTAG225: Login Room, Asuka City.

Definition in file wstag225.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 145 of file wstag225.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)

Definition at line 159 of file wstag225.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)

Definition at line 160 of file wstag225.c.

◆ STAGE_FILE

#define STAGE_FILE   0x19F

Definition at line 161 of file wstag225.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x3CD

Definition at line 162 of file wstag225.c.

Function Documentation

◆ updateTileEffect()

void updateTileEffect ( StageTileEffect *  task)

Once the substate is set to 1, moves the map objects of animations 1-3 to (x, y), plays a sound and animates them once.

Definition at line 18 of file wstag225.c.

Referenced by createCommand815(), and createTileEffect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleCommand815()

void handleCommand815 ( StageTileEffect *  task,
s32  id 
)

Starts the effect at the place of map object 0x346 or 0x347.

Definition at line 97 of file wstag225.c.

◆ createCommand815()

void * createCommand815 ( s32  arg)

Command 815 of the event scripts: the effect of event 5, the player's arrival at the Asuka Server.

Definition at line 119 of file wstag225.c.

Here is the call graph for this function:

◆ createTileEffect()

void * createTileEffect ( void  )

Creates the arrival effect (updateTileEffect) without an id; nothing in the game calls it.

Definition at line 124 of file wstag225.c.

Referenced by updateStage().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateStage()

void updateStage ( StageTask *  task,
void **  children 
)

Creates the event object of progress 1.

Definition at line 129 of file wstag225.c.

Here is the call graph for this function:

◆ endEvent5()

void endEvent5 ( void  )

After event 5, with Account Clerk: moves the story on to STORY_LOGGED_IN.

Definition at line 149 of file wstag225.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors and events, playing the ambience ENV_0011; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28.

Sets the stage up: its map, actors, battles and events, playing KANRIBGM; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.

< ENV_0011: Asuka's Digimon Lab and Login Room

< ENV_0011: Asuka's Digimon Lab and Login Room

< a cell's value: a direction (3 bits) and a StageSlot (5)

< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)

< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)

< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)

< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)

Definition at line 168 of file wstag225.c.

Variable Documentation

◆ updateTileEffectFrames

AnimFrame* updateTileEffectFrames[]
Initial value:
= {
}
AnimFrame updateTileEffectFrames_0[]
Definition wstag225.c:247
AnimFrame updateTileEffectFrames_2[]
Definition wstag225.c:251
AnimFrame updateTileEffectFrames_1[]
Definition wstag225.c:258

Defined below, after the code that uses them.

Definition at line 264 of file wstag225.c.

Referenced by updateTileEffect().

◆ tileEffectSortY

s8 tileEffectSortY[]
Initial value:
= {
30, 30, 30, 0,
}

Definition at line 267 of file wstag225.c.

Referenced by updateTileEffect().

◆ tileEffectY

s8 tileEffectY[]
Initial value:
= {
0, -0x2F, -0x2F, 0,
}

Definition at line 270 of file wstag225.c.

Referenced by updateTileEffect().

◆ tileEffectPlaces

s16 tileEffectPlaces[][2]
Initial value:
= {
{ 0x150, 0x112 }, { 112, 0x112 },
}

Definition at line 273 of file wstag225.c.

Referenced by handleCommand815().

◆ script5

s16 script5[]

Definition at line 195 of file wstag225.c.

◆ updateTileEffectFrames_0

AnimFrame updateTileEffectFrames_0[]
Initial value:
= {
{ 70, 4 }, { 71, 4 }, { 70, 4 }, { 71, 4 },
{ 255, 0x3E7 },
}

Definition at line 247 of file wstag225.c.

◆ updateTileEffectFrames_2

AnimFrame updateTileEffectFrames_2[]
Initial value:
= {
{ 0x12C, 56 }, { 85, 6 }, { 86, 6 }, { 87, 4 },
{ 88, 4 }, { 89, 4 }, { 90, 4 }, { 88, 4 },
{ 89, 4 }, { 90, 4 }, { 88, 4 }, { 89, 4 },
{ 90, 4 }, { 88, 4 }, { 89, 4 }, { 90, 4 },
{ 88, 4 }, { 89, 4 }, { 90, 4 }, { 255, 0x3E7 },
}

Definition at line 251 of file wstag225.c.

◆ updateTileEffectFrames_1

AnimFrame updateTileEffectFrames_1[]
Initial value:
= {
{ 0x12C, 16 }, { 72, 4 }, { 73, 4 }, { 74, 4 },
{ 73, 4 }, { 75, 6 }, { 76, 6 }, { 77, 14 },
{ 78, 114 }, { 79, 6 }, { 80, 6 }, { 81, 6 },
{ 82, 6 }, { 83, 6 }, { 84, 8 }, { 255, 0x3E7 },
}

Definition at line 258 of file wstag225.c.

◆ stageImages

ActorImage stageImages[]
Initial value:
= {
{ 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
{ 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
{ 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
{ 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
{ 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
{ 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
{ 0x140, 0x100, 0x152, 0x1D0, 0x48, 0xD0, 0x170, 0x1FE },
{ 0x140, 0x100, 0x170, 0x1B0, 0xC0, 0xB0, 0x160, 0x1FD },
{ 0x140, 0x100, 0x14A, 0x1B8, 0x28, 0xB8, 0x170, 0x1FD },
{ 0x140, 0x100, 0x162, 0x1D0, 0x88, 0xD0, 0x150, 0x1FC },
{ 0x140, 0x100, 0x15A, 0x1D0, 0x68, 0xD0, 0x160, 0x1FC },
}

Definition at line 276 of file wstag225.c.

Referenced by setupStage().

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1C },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 289 of file wstag225.c.

◆ actor3Talks

FieldTalk actor3Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x19A },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 293 of file wstag225.c.

◆ actor4Talks

FieldTalk actor4Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x19B },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 297 of file wstag225.c.

◆ actor5Talks

FieldTalk actor5Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x19D },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 301 of file wstag225.c.

◆ actor6Talks

FieldTalk actor6Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1A1 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 305 of file wstag225.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1A2 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 309 of file wstag225.c.

◆ actor8Talks

FieldTalk actor8Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x19C },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 313 of file wstag225.c.

◆ actor9Talks

FieldTalk actor9Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x19E },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 317 of file wstag225.c.

◆ actor10Talks

FieldTalk actor10Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x19F },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 321 of file wstag225.c.

◆ actor11Talks

FieldTalk actor11Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1A3 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 325 of file wstag225.c.

◆ actor12Talks

FieldTalk actor12Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1B1 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 329 of file wstag225.c.

◆ actor13Talks

FieldTalk actor13Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1A0 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 333 of file wstag225.c.

◆ actor15Talks

FieldTalk actor15Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1B0 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 337 of file wstag225.c.

◆ actor0Conditions

u16 actor0Conditions[] = { (0x6000 | ( STORY_ACCOUNT_REGISTERED )) , 1, 0xFFFF }

Definition at line 341 of file wstag225.c.

◆ actor1Conditions

u16 actor1Conditions[] = { (0x6000 | ( STORY_ACCOUNT_REGISTERED )) , 1, 0xFFFF }

Definition at line 342 of file wstag225.c.

◆ actor2Conditions

u16 actor2Conditions[] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF }

Definition at line 343 of file wstag225.c.

◆ actor3Conditions

u16 actor3Conditions[] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }

Definition at line 344 of file wstag225.c.

◆ actor4Conditions

u16 actor4Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }

Definition at line 345 of file wstag225.c.

◆ actor5Conditions

u16 actor5Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }

Definition at line 346 of file wstag225.c.

◆ actor6Conditions

u16 actor6Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }

Definition at line 347 of file wstag225.c.

◆ actor7Conditions

u16 actor7Conditions[] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }

Definition at line 348 of file wstag225.c.

◆ actor8Conditions

u16 actor8Conditions[] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }

Definition at line 349 of file wstag225.c.

◆ actor9Conditions

u16 actor9Conditions[] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }

Definition at line 350 of file wstag225.c.

◆ actor10Conditions

u16 actor10Conditions[] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }

Definition at line 351 of file wstag225.c.

◆ actor11Conditions

u16 actor11Conditions[] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }

Definition at line 352 of file wstag225.c.

◆ actor12Conditions

u16 actor12Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }

Definition at line 353 of file wstag225.c.

◆ actor13Conditions

u16 actor13Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }

Definition at line 354 of file wstag225.c.

◆ actor14Conditions

u16 actor14Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }

Definition at line 355 of file wstag225.c.

◆ actor15Conditions

u16 actor15Conditions[] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }

Definition at line 356 of file wstag225.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 }

Definition at line 357 of file wstag225.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xD, 5, 0, 0, 3 }

Definition at line 358 of file wstag225.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x20, 6, 265, 397, 3 }

Definition at line 359 of file wstag225.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x20, 6, 265, 397, 3 }

Definition at line 360 of file wstag225.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 6, 265, 397, 3 }

Definition at line 361 of file wstag225.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 6, 265, 397, 3 }

Definition at line 362 of file wstag225.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x20, 6, 265, 397, 3 }

Definition at line 363 of file wstag225.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x20, 6, 265, 397, 3 }

Definition at line 364 of file wstag225.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x20, 6, 265, 397, 3 }

Definition at line 365 of file wstag225.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x20, 6, 265, 397, 3 }

Definition at line 366 of file wstag225.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x20, 6, 265, 397, 3 }

Definition at line 367 of file wstag225.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x20, 6, 265, 397, 3 }

Definition at line 368 of file wstag225.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x20, 6, 265, 397, 3 }

Definition at line 369 of file wstag225.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x20, 6, 265, 397, 3 }

Definition at line 370 of file wstag225.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0x6A, 7, 0, 0, 1 }

Definition at line 371 of file wstag225.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x9D, 8, 265, 397, 3 }

Definition at line 372 of file wstag225.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag225.c:357
FieldActorEntry actor6
Definition wstag225.c:363
FieldActorEntry actor5
Definition wstag225.c:362
FieldActorEntry actor2
Definition wstag225.c:359
FieldActorEntry actor10
Definition wstag225.c:367
FieldActorEntry actor4
Definition wstag225.c:361
FieldActorEntry actor8
Definition wstag225.c:365
FieldActorEntry actor9
Definition wstag225.c:366
FieldActorEntry actor15
Definition wstag225.c:372
FieldActorEntry actor12
Definition wstag225.c:369
FieldActorEntry actor7
Definition wstag225.c:364
FieldActorEntry actor13
Definition wstag225.c:370
FieldActorEntry actor11
Definition wstag225.c:368
FieldActorEntry actor1
Definition wstag225.c:358
FieldActorEntry actor3
Definition wstag225.c:360
FieldActorEntry actor14
Definition wstag225.c:371

Definition at line 373 of file wstag225.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 0, 1, 0x50, 6, 0x46, 0, 0, 0, 0, 0, 112, 274, 0, 0 },
{ 1, 0, 0x40, 6, 0x3F, 1, 0x3F, 0x42, 6, 0, 116, 258, 0, 0 },
{ 1, 0, 0x40, 6, 0x3F, 1, 0x3F, 0x42, 6, 0, 228, 282, 0, 0 },
{ 1, 0, 0x40, 6, 0x3F, 1, 0x3F, 0x42, 6, 0, 340, 258, 0, 0 },
{ 1, 0, 0x40, 6, 0x3F, 1, 0x3F, 0x42, 6, 0, 355, 346, 0, 0 },
{ 0, 2, 0x50, 4, 0x48, 0, 0, 0, 0, 0, 112, 227, 301, 0 },
{ 0, 3, 0x50, 4, 0x55, 0, 0, 0, 0, 0, 112, 227, 294, 0 },
{ 1, 0, 0x40, 4, 0x3B, 1, 0x3B, 0x3E, 6, 0, 116, 274, 300, 0 },
{ 1, 0, 0x40, 4, 0x3B, 1, 0x3B, 0x3E, 6, 0, 228, 298, 324, 0 },
{ 1, 0, 0x40, 4, 0x3B, 1, 0x3B, 0x3E, 6, 0, 340, 274, 300, 0 },
{ 1, 0, 0x40, 4, 0x3B, 1, 0x3B, 0x3E, 6, 0, 355, 362, 388, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
}

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 392 of file wstag225.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x203, 0x2DA, 0x17E, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 406 of file wstag225.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map, actors and events, playing the ambience ENV_0011; BGM_0029 instead at sto...
Definition wstag225.c:168

The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.

Definition at line 410 of file wstag225.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 5, script5, ( ( 0x113 - 1) << 16 | ( 0 )), ((void *)0) , endEvent5 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent5(void)
After event 5, with Account Clerk: moves the story on to STORY_LOGGED_IN.
Definition wstag225.c:149
s16 script5[]
Definition wstag225.c:195

Definition at line 413 of file wstag225.c.

Referenced by setupStage().