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

WSTAG226: Login Room, Amaterasu City. More...

Include dependency graph for wstag226.c:

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   0x8
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_03)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)
 
#define STAGE_FILE   0x4B8
 

Functions

void updateTileEffect (StageTileEffect *task)
 Moves its map objects to (x, y) and animates them when the substate is set to 1.
 
void startTileEffect (StageTileEffect *task, s32 id)
 Starts the effect at the place of map 0 or 1.
 
void * createTileEffectTask (void)
 Creates the effect of map objects that startTileEffect sets off (updateTileEffect)
 
void updateStage (StageTask *task, void **children)
 Creates the stage helper task and the event object of progress 0x25 when flag 0x4060 is set.
 
void endEvent935 (void)
 After event 935, with Teddy, Kail and Kurt: moves the story on to STORY_PRESIDENT_ARRESTED.
 
void setupStage (void)
 Sets the stage up: its map, actors and events, playing KANRIBGM; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.
 

Variables

AnimFrame * updateTileEffectFrames []
 Defined below, after the code that uses them.
 
s8 tileEffectSortY []
 
s8 tileEffectY []
 
s16 tileEffectPlaces [][2]
 
s16 script935 []
 
AnimFrame updateTileEffectFrames_0 []
 
AnimFrame updateTileEffectFrames_2 []
 
AnimFrame updateTileEffectFrames_1 []
 
ActorImage stageImages []
 
u16 actor3Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0xA )) , 0, 0xFFFF }
 
u16 actor3Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0xA )) , 1, 0xFFFF }
 
u16 actor6Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor6Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor6Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor9Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0xA )) , 0, 0xFFFF }
 
u16 actor9Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0xA )) , 1, 0xFFFF }
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
u16 actor0Conditions []
 
u16 actor1Conditions []
 
u16 actor2Conditions []
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor4Conditions []
 
u16 actor5Conditions [] = { (0x8000 | ( 4 ) << 9 | ( 0x2B )), 1, (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor6Conditions []
 
u16 actor7Conditions []
 
u16 actor8Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor10Conditions []
 
u16 actor11Conditions []
 
FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xB, 5, 0, 0, 1 }
 
FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0xC, 6, 0, 0, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0xC, 6, 208, 376, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 7, 265, 397, 3 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 7, 265, 397, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x68, 8, 255, 352, 7 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x9D, 9, 265, 397, 3 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x9D, 9, 265, 397, 3 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0xB2, 0xA, 277, 363, 3 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x13D, 0xB, 255, 352, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x13D, 0xB, 0, 0, 1 }
 
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

WSTAG226: Login Room, Amaterasu City.

On the Amaterasu server; its Asuka server twin is WSTAG225.

Definition in file wstag226.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   0x8

Definition at line 144 of file wstag226.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_03)

Definition at line 157 of file wstag226.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)

Definition at line 158 of file wstag226.c.

◆ STAGE_FILE

#define STAGE_FILE   0x4B8

Definition at line 159 of file wstag226.c.

Function Documentation

◆ updateTileEffect()

void updateTileEffect ( StageTileEffect *  task)

Moves its map objects to (x, y) and animates them when the substate is set to 1.

Definition at line 19 of file wstag226.c.

Referenced by createTileEffect(), and createTileEffectTask().

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

◆ startTileEffect()

void startTileEffect ( StageTileEffect *  task,
s32  id 
)

Starts the effect at the place of map 0 or 1.

Definition at line 98 of file wstag226.c.

◆ createTileEffectTask()

void * createTileEffectTask ( void  )

Creates the effect of map objects that startTileEffect sets off (updateTileEffect)

Definition at line 119 of file wstag226.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 stage helper task and the event object of progress 0x25 when flag 0x4060 is set.

< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40

Definition at line 124 of file wstag226.c.

Here is the call graph for this function:

◆ endEvent935()

void endEvent935 ( void  )

After event 935, with Teddy, Kail and Kurt: moves the story on to STORY_PRESIDENT_ARRESTED.

Definition at line 148 of file wstag226.c.

◆ setupStage()

void setupStage ( void  )

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

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.

< KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room

< KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room

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

< 0x1A 0x00-0x40: FLAGS_00, GAME.flags02-flags40

< 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 165 of file wstag226.c.

Variable Documentation

◆ updateTileEffectFrames

AnimFrame * updateTileEffectFrames
Initial value:
= {
}
AnimFrame updateTileEffectFrames_0[]
Definition wstag226.c:323
AnimFrame updateTileEffectFrames_2[]
Definition wstag226.c:327
AnimFrame updateTileEffectFrames_1[]
Definition wstag226.c:334

Defined below, after the code that uses them.

Definition at line 340 of file wstag226.c.

Referenced by resetTileEffect(), and updateTileEffect().

◆ tileEffectSortY

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

Definition at line 343 of file wstag226.c.

Referenced by updateTileEffect().

◆ tileEffectY

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

Definition at line 346 of file wstag226.c.

Referenced by updateTileEffect().

◆ tileEffectPlaces

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

Definition at line 349 of file wstag226.c.

Referenced by startTileEffect().

◆ script935

s16 script935[]

Definition at line 188 of file wstag226.c.

◆ updateTileEffectFrames_0

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

Definition at line 323 of file wstag226.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 327 of file wstag226.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 334 of file wstag226.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, 0x160, 0x180, 0x80, 0x80, 0x170, 0x1FE },
{ 0x140, 0x100, 0x168, 0x180, 0xA0, 0x80, 0x160, 0x1FD },
{ 0x140, 0x100, 0x160, 0x160, 0x80, 0x60, 0x170, 0x1FD },
{ 0x140, 0x100, 0x152, 0x198, 0x48, 0x98, 0x150, 0x1FC },
{ 0x140, 0x100, 0x15A, 0x198, 0x68, 0x98, 0x160, 0x1FC },
{ 0x140, 0x100, 0x168, 0x160, 0xA0, 0x60, 0x170, 0x1FC },
{ 0x140, 0x100, 0x14A, 0x190, 0x28, 0x90, 0x160, 0x1FB },
{ 0x140, 0x100, 0x14A, 0x170, 0x28, 0x70, 0x170, 0x1FB },
}

Definition at line 352 of file wstag226.c.

Referenced by setupStage().

◆ actor3Talk0Conditions

u16 actor3Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0xA )) , 0, 0xFFFF }

Definition at line 368 of file wstag226.c.

◆ actor3Talk1Conditions

u16 actor3Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0xA )) , 1, 0xFFFF }

Definition at line 369 of file wstag226.c.

◆ actor6Talk0Conditions

u16 actor6Talk0Conditions[] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }

Definition at line 370 of file wstag226.c.

◆ actor6Talk0Actions

u16 actor6Talk0Actions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }

Definition at line 371 of file wstag226.c.

◆ actor6Talk1Conditions

u16 actor6Talk1Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }

Definition at line 372 of file wstag226.c.

◆ actor9Talk0Conditions

u16 actor9Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0xA )) , 0, 0xFFFF }

Definition at line 373 of file wstag226.c.

◆ actor9Talk1Conditions

u16 actor9Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0xA )) , 1, 0xFFFF }

Definition at line 374 of file wstag226.c.

◆ actor3Talks

FieldTalk actor3Talks[]
Initial value:
= {
{ actor3Talk0Conditions, ((void *)0) , 0x1B4 },
{ actor3Talk1Conditions, ((void *)0) , 0x209 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor3Talk0Conditions[]
Definition wstag226.c:368
u16 actor3Talk1Conditions[]
Definition wstag226.c:369

Definition at line 375 of file wstag226.c.

◆ actor4Talks

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

Definition at line 380 of file wstag226.c.

◆ actor5Talks

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

Definition at line 384 of file wstag226.c.

◆ actor6Talks

FieldTalk actor6Talks[]
Initial value:
= {
{ actor6Talk1Conditions, ((void *)0) , 0x202 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor6Talk0Actions[]
Definition wstag226.c:371
u16 actor6Talk1Conditions[]
Definition wstag226.c:372
u16 actor6Talk0Conditions[]
Definition wstag226.c:370

Definition at line 388 of file wstag226.c.

◆ actor7Talks

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

Definition at line 393 of file wstag226.c.

◆ actor8Talks

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

Definition at line 397 of file wstag226.c.

◆ actor9Talks

FieldTalk actor9Talks[]
Initial value:
= {
{ actor9Talk0Conditions, ((void *)0) , 0x1FA },
{ actor9Talk1Conditions, ((void *)0) , 0x208 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor9Talk0Conditions[]
Definition wstag226.c:373
u16 actor9Talk1Conditions[]
Definition wstag226.c:374

Definition at line 401 of file wstag226.c.

◆ actor10Talks

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

Definition at line 406 of file wstag226.c.

◆ actor0Conditions

u16 actor0Conditions[]
Initial value:
= {
(0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1,
(( 0x40 ) << 8 | ( 0x60 )) , 1,
0xFFFF ,
}
@ STORY_AMATERASU_BRIDGE
WSTAG206 (Amaterasu Bridge), event 922: an Attacker holds the bridge.
Definition story.h:133

Definition at line 410 of file wstag226.c.

◆ actor1Conditions

u16 actor1Conditions[]
Initial value:
= {
(0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1,
(( 0x40 ) << 8 | ( 0x60 )) , 1,
0xFFFF ,
}

Definition at line 415 of file wstag226.c.

◆ actor2Conditions

u16 actor2Conditions[]
Initial value:
= {
(0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1,
(( 0x40 ) << 8 | ( 0x60 )) , 1,
0xFFFF ,
}

Definition at line 420 of file wstag226.c.

◆ actor3Conditions

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

Definition at line 425 of file wstag226.c.

◆ actor4Conditions

u16 actor4Conditions[]
Initial value:
= {
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 1,
0xFFFF ,
}
@ STORY_PRESIDENT_ARRESTED
WSTAG226 (Login Room, Amaterasu City), event 935, after the President of MAGAMI gives himself up (WST...
Definition story.h:136

Definition at line 426 of file wstag226.c.

◆ actor5Conditions

u16 actor5Conditions[] = { (0x8000 | ( 4 ) << 9 | ( 0x2B )), 1, (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }

Definition at line 431 of file wstag226.c.

◆ actor6Conditions

u16 actor6Conditions[]
Initial value:
= {
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 1,
0xFFFF ,
}

Definition at line 432 of file wstag226.c.

◆ actor7Conditions

u16 actor7Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0xA )) , 0,
(0x7000 | ( 0x1C )) , 1,
0xFFFF ,
}

Definition at line 437 of file wstag226.c.

◆ actor8Conditions

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

Definition at line 442 of file wstag226.c.

◆ actor9Conditions

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

Definition at line 443 of file wstag226.c.

◆ actor10Conditions

u16 actor10Conditions[]
Initial value:
= {
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 0,
0xFFFF ,
}

Definition at line 444 of file wstag226.c.

◆ actor11Conditions

u16 actor11Conditions[]
Initial value:
= {
(0x6000 | ( STORY_AMATERASU_BRIDGE )) , 1,
(( 0x40 ) << 8 | ( 0x60 )) , 1,
0xFFFF ,
}

Definition at line 449 of file wstag226.c.

◆ actor0

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

Definition at line 454 of file wstag226.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0xB, 5, 0, 0, 1 }

Definition at line 455 of file wstag226.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0xC, 6, 0, 0, 1 }

Definition at line 456 of file wstag226.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0xC, 6, 208, 376, 7 }

Definition at line 457 of file wstag226.c.

◆ actor4

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

Definition at line 458 of file wstag226.c.

◆ actor5

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

Definition at line 459 of file wstag226.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x68, 8, 255, 352, 7 }

Definition at line 460 of file wstag226.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x9D, 9, 265, 397, 3 }

Definition at line 461 of file wstag226.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x9D, 9, 265, 397, 3 }

Definition at line 462 of file wstag226.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0xB2, 0xA, 277, 363, 3 }

Definition at line 463 of file wstag226.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x13D, 0xB, 255, 352, 7 }

Definition at line 464 of file wstag226.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x13D, 0xB, 0, 0, 1 }

Definition at line 465 of file wstag226.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag226.c:454
FieldActorEntry actor6
Definition wstag226.c:460
FieldActorEntry actor5
Definition wstag226.c:459
FieldActorEntry actor2
Definition wstag226.c:456
FieldActorEntry actor10
Definition wstag226.c:464
FieldActorEntry actor4
Definition wstag226.c:458
FieldActorEntry actor8
Definition wstag226.c:462
FieldActorEntry actor9
Definition wstag226.c:463
FieldActorEntry actor7
Definition wstag226.c:461
FieldActorEntry actor11
Definition wstag226.c:465
FieldActorEntry actor1
Definition wstag226.c:455
FieldActorEntry actor3
Definition wstag226.c:457

Definition at line 466 of file wstag226.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 0, 1, 0x50, 6, 0x46, 0, 0, 0, 0, 0, 336, 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, 2, 0, 0, 0, 336, 227, 301, 0 },
{ 0, 3, 0x50, 4, 0x55, 0, 0, 0, 0, 0, 336, 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 481 of file wstag226.c.

Referenced by setupStage().

◆ stageSlots

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

Definition at line 495 of file wstag226.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map, actors and events, playing KANRIBGM; BGM_0029 instead except at STORY_PRE...
Definition wstag226.c:165

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 499 of file wstag226.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 935, script935, ( ( 0x113 - 1) << 16 | ( 0x29 )), ((void *)0) , endEvent935 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent935(void)
After event 935, with Teddy, Kail and Kurt: moves the story on to STORY_PRESIDENT_ARRESTED.
Definition wstag226.c:148
s16 script935[]
Definition wstag226.c:188

Definition at line 502 of file wstag226.c.

Referenced by setupStage().