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

WSTAG205: Asuka Bridge, Central Sector. More...

#include "common.h"
#include "field/stage.h"
#include "common/start_stage.inc.c"
Include dependency graph for wstag205.c:

Go to the source code of this file.

Macros

#define SPRITES   0x199
 The sprites, which the versions number differently.
 
#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)
 
#define STAGE_FILE   0x199
 
#define STAGE_ARCHIVE   0x2C3
 

Functions

void updateSpriteField (StageSpriteField *task)
 Plays the nine animations and draws the sprites of the table that are on screen.
 
void * createSpriteField (void)
 Creates the field of animated sprites (updateSpriteField); nothing in the game calls it.
 
void updateStage (StageTask *task, void **children)
 Creates the event object of progress 6 when flag 0x4006 is set and 0x4016 is not.
 
void endEvent100 (void)
 After event 100, with Mystery Player and Keith: starts the stage's event battle 0 and keeps it from playing again.
 
void endEvent101 (void)
 After event 101, with Keith: keeps it from playing again.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing ASKA_BGM; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28.
 

Variables

u8 * spriteFieldAnims []
 Defined below, after the code that uses them.
 
StageSpriteSpot updateSpriteFieldSpots []
 
const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x00 }
 the color the setup copies to FIELDSTG_state.spriteColor
 
s16 script100 []
 
s16 script101 []
 
u8 spriteFieldAnims_0 []
 
u8 spriteFieldAnims_1 []
 
u8 spriteFieldAnims_2 []
 
u8 spriteFieldAnims_3 []
 
u8 spriteFieldAnims_4 []
 
u8 spriteFieldAnims_5 []
 
u8 spriteFieldAnims_6 []
 
u8 spriteFieldAnims_7 []
 
u8 spriteFieldAnims_8 []
 
AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList area0Battles
 
AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList area1Battles
 
AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList area2Battles
 
AreaBattle area3Battle0 = { 263, 18, (0x60000000 | ( 0x23 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList area3Battles
 
FieldBattles stageBattles []
 
ActorImage stageImages []
 
u16 actor0Talk0Actions []
 
u16 actor20Talk0Actions [] = { (( 0x1A ) << 8 | ( 0x19 )) , 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
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 actor14Talks []
 
FieldTalk actor15Talks []
 
FieldTalk actor16Talks []
 
FieldTalk actor17Talks []
 
FieldTalk actor18Talks []
 
FieldTalk actor20Talks []
 
FieldTalk actor21Talks []
 
FieldTalk actor22Talks []
 
u16 actor0Conditions [] = { (( 2 ) << 8 | ( 6 )) , 0, 0xFFFF }
 
u16 actor1Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor16Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor17Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor18Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor19Conditions []
 
u16 actor20Conditions []
 
u16 actor21Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor22Conditions [] = { (0x7000 | ( 5 )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 304, 160, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x25, 5, 736, 184, 1 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x26, 6, 848, 240, 1 }
 
FieldActorEntry actor19 = { actor19Conditions, ((void *)0) , 0x66, 7, 792, 221, 1 }
 
FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x72, 8, 1144, 405, 1 }
 
FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x9D, 9, 736, 184, 1 }
 
FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x9E, 0xA, 848, 240, 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

WSTAG205: Asuka Bridge, Central Sector.

Definition in file wstag205.c.

Macro Definition Documentation

◆ SPRITES

#define SPRITES   0x199

The sprites, which the versions number differently.

Definition at line 15 of file wstag205.c.

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 101 of file wstag205.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)

Definition at line 125 of file wstag205.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)

Definition at line 126 of file wstag205.c.

◆ STAGE_FILE

#define STAGE_FILE   0x199

Definition at line 127 of file wstag205.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x2C3

Definition at line 128 of file wstag205.c.

Function Documentation

◆ updateSpriteField()

void updateSpriteField ( StageSpriteField *  task)

Plays the nine animations and draws the sprites of the table that are on screen.

< the map, its objects and characters, and the menus

< the map, its objects and characters, and the menus

Definition at line 19 of file wstag205.c.

Referenced by createSpriteField().

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

◆ createSpriteField()

void * createSpriteField ( void  )

Creates the field of animated sprites (updateSpriteField); nothing in the game calls it.

Definition at line 80 of file wstag205.c.

Here is the call graph for this function:

◆ updateStage()

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

Creates the event object of progress 6 when flag 0x4006 is set and 0x4016 is not.

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

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

Definition at line 85 of file wstag205.c.

Here is the call graph for this function:

◆ endEvent100()

void endEvent100 ( void  )

After event 100, with Mystery Player and Keith: starts the stage's event battle 0 and keeps it from playing again.

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

< action: FIELDSTG_battleFuncs.startEventBattle

Definition at line 108 of file wstag205.c.

◆ endEvent101()

void endEvent101 ( void  )

After event 101, with Keith: keeps it from playing again.

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

Definition at line 114 of file wstag205.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing ASKA_BGM; 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.

< ASKA_BGM: the Central Sector's streets and bridges, the Underground Path

< ASKA_BGM: the Central Sector's streets and bridges, the Underground Path

< 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 134 of file wstag205.c.

Variable Documentation

◆ spriteFieldAnims

u8 * spriteFieldAnims
Initial value:
= {
}
u8 spriteFieldAnims_1[]
Definition wstag205.c:261
u8 spriteFieldAnims_0[]
Definition wstag205.c:258
u8 spriteFieldAnims_6[]
Definition wstag205.c:278
u8 spriteFieldAnims_4[]
Definition wstag205.c:271
u8 spriteFieldAnims_5[]
Definition wstag205.c:274
u8 spriteFieldAnims_8[]
Definition wstag205.c:285
u8 spriteFieldAnims_7[]
Definition wstag205.c:282
u8 spriteFieldAnims_2[]
Definition wstag205.c:264
u8 spriteFieldAnims_3[]
Definition wstag205.c:267

Defined below, after the code that uses them.

Definition at line 289 of file wstag205.c.

Referenced by updateSpriteField().

◆ updateSpriteFieldSpots

StageSpriteSpot updateSpriteFieldSpots

Definition at line 300 of file wstag205.c.

Referenced by updateSpriteField().

◆ stageColor

const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x00 }

the color the setup copies to FIELDSTG_state.spriteColor

the color the setup copies to FIELDSTG_state.spriteColor

It starts the stage, before its jump tables: in wstag924.c GCC would align them to 8 bytes after it, so it is a file of its own, linked first

Definition at line 118 of file wstag205.c.

Referenced by setupStage().

◆ script100

s16 script100[]

Definition at line 163 of file wstag205.c.

◆ script101

s16 script101[]

Definition at line 221 of file wstag205.c.

◆ spriteFieldAnims_0

u8 spriteFieldAnims_0[]
Initial value:
= {
0x32, 0x0A, 0x33, 0x0A, 0x34, 0x0A, 0x00, 0x00,
}

Definition at line 258 of file wstag205.c.

◆ spriteFieldAnims_1

u8 spriteFieldAnims_1[]
Initial value:
= {
0x35, 0x0A, 0x36, 0x0A, 0x37, 0x0A, 0x00, 0x00,
}

Definition at line 261 of file wstag205.c.

◆ spriteFieldAnims_2

u8 spriteFieldAnims_2[]
Initial value:
= {
0x38, 0x0A, 0x39, 0x0A, 0x3A, 0x0A, 0x00, 0x00,
}

Definition at line 264 of file wstag205.c.

◆ spriteFieldAnims_3

u8 spriteFieldAnims_3[]
Initial value:
= {
72, 6, 73, 6, 74, 6, 75, 6,
0, 0, 0, 0,
}

Definition at line 267 of file wstag205.c.

◆ spriteFieldAnims_4

u8 spriteFieldAnims_4[]
Initial value:
= {
62, 6, 63, 6, 64, 6, 0, 0,
}

Definition at line 271 of file wstag205.c.

◆ spriteFieldAnims_5

u8 spriteFieldAnims_5[]
Initial value:
= {
80, 4, 81, 4, 82, 4, 83, 4,
0, 0, 0, 0,
}

Definition at line 274 of file wstag205.c.

◆ spriteFieldAnims_6

u8 spriteFieldAnims_6[]
Initial value:
= {
76, 6, 77, 6, 78, 6, 79, 6,
0, 0, 0, 0,
}

Definition at line 278 of file wstag205.c.

◆ spriteFieldAnims_7

u8 spriteFieldAnims_7[]
Initial value:
= {
65, 6, 66, 6, 67, 6, 0, 0,
}

Definition at line 282 of file wstag205.c.

◆ spriteFieldAnims_8

u8 spriteFieldAnims_8[]
Initial value:
= {
84, 4, 85, 4, 86, 4, 87, 4,
0, 0, 0, 0,
}

Definition at line 285 of file wstag205.c.

◆ area0Battle0

AreaBattle area0Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 439 of file wstag205.c.

◆ area0Battle1

AreaBattle area0Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 440 of file wstag205.c.

◆ area0Battle2

AreaBattle area0Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 441 of file wstag205.c.

◆ area0Battle3

AreaBattle area0Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 442 of file wstag205.c.

◆ area0Battle4

AreaBattle area0Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 443 of file wstag205.c.

◆ area0Battle5

AreaBattle area0Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 444 of file wstag205.c.

◆ area0Battle6

AreaBattle area0Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 445 of file wstag205.c.

◆ area0Battle7

AreaBattle area0Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 446 of file wstag205.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag205.c:446
AreaBattle area0Battle1
Definition wstag205.c:440
AreaBattle area0Battle6
Definition wstag205.c:445
AreaBattle area0Battle3
Definition wstag205.c:442
AreaBattle area0Battle5
Definition wstag205.c:444
AreaBattle area0Battle0
Definition wstag205.c:439
AreaBattle area0Battle2
Definition wstag205.c:441
AreaBattle area0Battle4
Definition wstag205.c:443

Definition at line 447 of file wstag205.c.

◆ area1Battle0

AreaBattle area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 452 of file wstag205.c.

◆ area1Battle1

AreaBattle area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 453 of file wstag205.c.

◆ area1Battle2

AreaBattle area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 454 of file wstag205.c.

◆ area1Battle3

AreaBattle area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 455 of file wstag205.c.

◆ area1Battle4

AreaBattle area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 456 of file wstag205.c.

◆ area1Battle5

AreaBattle area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 457 of file wstag205.c.

◆ area1Battle6

AreaBattle area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 458 of file wstag205.c.

◆ area1Battle7

AreaBattle area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 459 of file wstag205.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag205.c:458
AreaBattle area1Battle2
Definition wstag205.c:454
AreaBattle area1Battle4
Definition wstag205.c:456
AreaBattle area1Battle5
Definition wstag205.c:457
AreaBattle area1Battle3
Definition wstag205.c:455
AreaBattle area1Battle0
Definition wstag205.c:452
AreaBattle area1Battle1
Definition wstag205.c:453
AreaBattle area1Battle7
Definition wstag205.c:459

Definition at line 460 of file wstag205.c.

◆ area2Battle0

AreaBattle area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 465 of file wstag205.c.

◆ area2Battle1

AreaBattle area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 466 of file wstag205.c.

◆ area2Battle2

AreaBattle area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 467 of file wstag205.c.

◆ area2Battle3

AreaBattle area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 468 of file wstag205.c.

◆ area2Battle4

AreaBattle area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 469 of file wstag205.c.

◆ area2Battle5

AreaBattle area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 470 of file wstag205.c.

◆ area2Battle6

AreaBattle area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 471 of file wstag205.c.

◆ area2Battle7

AreaBattle area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 472 of file wstag205.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag205.c:472
AreaBattle area2Battle6
Definition wstag205.c:471
AreaBattle area2Battle0
Definition wstag205.c:465
AreaBattle area2Battle4
Definition wstag205.c:469
AreaBattle area2Battle2
Definition wstag205.c:467
AreaBattle area2Battle1
Definition wstag205.c:466
AreaBattle area2Battle5
Definition wstag205.c:470
AreaBattle area2Battle3
Definition wstag205.c:468

Definition at line 473 of file wstag205.c.

◆ area3Battle0

AreaBattle area3Battle0 = { 263, 18, (0x60000000 | ( 0x23 ) << 18 | ( 0 )) }

Definition at line 478 of file wstag205.c.

◆ area3Battle1

AreaBattle area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 479 of file wstag205.c.

◆ area3Battle2

AreaBattle area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 480 of file wstag205.c.

◆ area3Battle3

AreaBattle area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 481 of file wstag205.c.

◆ area3Battle4

AreaBattle area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 482 of file wstag205.c.

◆ area3Battle5

AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 483 of file wstag205.c.

◆ area3Battle6

AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 484 of file wstag205.c.

◆ area3Battle7

AreaBattle area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }

Definition at line 485 of file wstag205.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag205.c:482
AreaBattle area3Battle3
Definition wstag205.c:481
AreaBattle area3Battle0
Definition wstag205.c:478
AreaBattle area3Battle2
Definition wstag205.c:480
AreaBattle area3Battle1
Definition wstag205.c:479
AreaBattle area3Battle6
Definition wstag205.c:484
AreaBattle area3Battle5
Definition wstag205.c:483
AreaBattle area3Battle7
Definition wstag205.c:485

Definition at line 486 of file wstag205.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag205.c:486
BattleList area1Battles
Definition wstag205.c:460
BattleList area2Battles
Definition wstag205.c:473
BattleList area0Battles
Definition wstag205.c:447

Definition at line 491 of file wstag205.c.

Referenced by setupStage().

◆ 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, 0x168, 0x184, 0xA0, 0x84, 0x150, 0x1FF },
{ 0x180, 0x100, 0x180, 0x144, 0x100, 0x44, 0x160, 0x1FF },
{ 0x180, 0x100, 0x188, 0x144, 0x120, 0x44, 0x170, 0x1FF },
{ 0x180, 0x100, 0x1B2, 0x1CA, 0x1C8, 0xCA, 0x140, 0x1FE },
{ 0x180, 0x100, 0x190, 0x148, 0x140, 0x48, 0x150, 0x1FE },
{ 0x1C0, 0x100, 0x1EA, 0x118, 0x2A8, 0x18, 0x160, 0x1FE },
{ 0x1C0, 0x100, 0x1F2, 0x118, 0x2C8, 0x18, 0x170, 0x1FE },
}

Definition at line 494 of file wstag205.c.

Referenced by setupStage().

◆ actor0Talk0Actions

u16 actor0Talk0Actions[]
Initial value:
= {
(( 2 ) << 8 | ( 6 )) , 1,
(0x8000 | ( 2 ) << 9 | ( 0x6C )), 1,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 509 of file wstag205.c.

◆ actor20Talk0Actions

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

Definition at line 515 of file wstag205.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x44C },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag205.c:509

Definition at line 516 of file wstag205.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x2DB },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 520 of file wstag205.c.

◆ actor2Talks

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

Definition at line 524 of file wstag205.c.

◆ actor3Talks

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

Definition at line 528 of file wstag205.c.

◆ actor4Talks

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

Definition at line 532 of file wstag205.c.

◆ actor5Talks

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

Definition at line 536 of file wstag205.c.

◆ actor6Talks

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

Definition at line 540 of file wstag205.c.

◆ actor7Talks

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

Definition at line 544 of file wstag205.c.

◆ actor8Talks

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

Definition at line 548 of file wstag205.c.

◆ actor9Talks

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

Definition at line 552 of file wstag205.c.

◆ actor10Talks

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

Definition at line 556 of file wstag205.c.

◆ actor11Talks

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

Definition at line 560 of file wstag205.c.

◆ actor12Talks

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

Definition at line 564 of file wstag205.c.

◆ actor13Talks

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

Definition at line 568 of file wstag205.c.

◆ actor14Talks

FieldTalk actor14Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x2E8 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 572 of file wstag205.c.

◆ actor15Talks

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

Definition at line 576 of file wstag205.c.

◆ actor16Talks

FieldTalk actor16Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x2EA },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 580 of file wstag205.c.

◆ actor17Talks

FieldTalk actor17Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x2EB },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 584 of file wstag205.c.

◆ actor18Talks

FieldTalk actor18Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x2EC },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 588 of file wstag205.c.

◆ actor20Talks

FieldTalk actor20Talks[]
Initial value:
= {
{ ((void *)0) , actor20Talk0Actions, 0x50 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor20Talk0Actions[]
Definition wstag205.c:515

Definition at line 592 of file wstag205.c.

◆ actor21Talks

FieldTalk actor21Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x2E3 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 596 of file wstag205.c.

◆ actor22Talks

FieldTalk actor22Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x2ED },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 600 of file wstag205.c.

◆ actor0Conditions

u16 actor0Conditions[] = { (( 2 ) << 8 | ( 6 )) , 0, 0xFFFF }

Definition at line 604 of file wstag205.c.

◆ actor1Conditions

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

Definition at line 605 of file wstag205.c.

◆ actor2Conditions

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

Definition at line 606 of file wstag205.c.

◆ actor3Conditions

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

Definition at line 607 of file wstag205.c.

◆ actor4Conditions

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

Definition at line 608 of file wstag205.c.

◆ actor5Conditions

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

Definition at line 609 of file wstag205.c.

◆ actor6Conditions

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

Definition at line 610 of file wstag205.c.

◆ actor7Conditions

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

Definition at line 611 of file wstag205.c.

◆ actor8Conditions

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

Definition at line 612 of file wstag205.c.

◆ actor9Conditions

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

Definition at line 613 of file wstag205.c.

◆ actor10Conditions

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

Definition at line 614 of file wstag205.c.

◆ actor11Conditions

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

Definition at line 615 of file wstag205.c.

◆ actor12Conditions

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

Definition at line 616 of file wstag205.c.

◆ actor13Conditions

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

Definition at line 617 of file wstag205.c.

◆ actor14Conditions

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

Definition at line 618 of file wstag205.c.

◆ actor15Conditions

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

Definition at line 619 of file wstag205.c.

◆ actor16Conditions

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

Definition at line 620 of file wstag205.c.

◆ actor17Conditions

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

Definition at line 621 of file wstag205.c.

◆ actor18Conditions

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

Definition at line 622 of file wstag205.c.

◆ actor19Conditions

u16 actor19Conditions[]
Initial value:
= {
(0x6000 | ( STORY_FAKE_BLUE_CARD )) , 1,
(( 0x40 ) << 8 | ( 0x16 )) , 0,
0xFFFF ,
}
@ STORY_FAKE_BLUE_CARD
WSTAG410 (East Station), event 90: the Blue Card the player was given turns out to be a fake.
Definition story.h:42

Definition at line 623 of file wstag205.c.

◆ actor20Conditions

u16 actor20Conditions[]
Initial value:
= {
(0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1,
(( 0x1A ) << 8 | ( 0x18 )) , 1,
(( 0x1A ) << 8 | ( 0x19 )) , 0,
0xFFFF ,
}
@ STORY_SEPIKMON_MASK_LOST
WSTAG480 (Jungle Grave), event 171: Sepikmon will say how to beat Zanbamon once the player finds his ...
Definition story.h:49

Definition at line 628 of file wstag205.c.

◆ actor21Conditions

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

Definition at line 634 of file wstag205.c.

◆ actor22Conditions

u16 actor22Conditions[] = { (0x7000 | ( 5 )) , 1, 0xFFFF }

Definition at line 635 of file wstag205.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 304, 160, 1 }

Definition at line 636 of file wstag205.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x25, 5, 736, 184, 1 }

Definition at line 637 of file wstag205.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x25, 5, 736, 184, 1 }

Definition at line 638 of file wstag205.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x25, 5, 736, 184, 1 }

Definition at line 639 of file wstag205.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x25, 5, 736, 184, 1 }

Definition at line 640 of file wstag205.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x25, 5, 736, 184, 1 }

Definition at line 641 of file wstag205.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x25, 5, 736, 184, 1 }

Definition at line 642 of file wstag205.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x25, 5, 736, 184, 1 }

Definition at line 643 of file wstag205.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x25, 5, 736, 184, 1 }

Definition at line 644 of file wstag205.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x25, 5, 736, 184, 1 }

Definition at line 645 of file wstag205.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x26, 6, 848, 240, 1 }

Definition at line 646 of file wstag205.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x26, 6, 848, 240, 1 }

Definition at line 647 of file wstag205.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x26, 6, 848, 240, 1 }

Definition at line 648 of file wstag205.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x26, 6, 848, 240, 1 }

Definition at line 649 of file wstag205.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x26, 6, 848, 240, 1 }

Definition at line 650 of file wstag205.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x26, 6, 848, 240, 1 }

Definition at line 651 of file wstag205.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x26, 6, 848, 240, 1 }

Definition at line 652 of file wstag205.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x26, 6, 848, 240, 1 }

Definition at line 653 of file wstag205.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x26, 6, 848, 240, 1 }

Definition at line 654 of file wstag205.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, ((void *)0) , 0x66, 7, 792, 221, 1 }

Definition at line 655 of file wstag205.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x72, 8, 1144, 405, 1 }

Definition at line 656 of file wstag205.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x9D, 9, 736, 184, 1 }

Definition at line 657 of file wstag205.c.

◆ actor22

FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x9E, 0xA, 848, 240, 1 }

Definition at line 658 of file wstag205.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag205.c:636
FieldActorEntry actor6
Definition wstag205.c:642
FieldActorEntry actor17
Definition wstag205.c:653
FieldActorEntry actor18
Definition wstag205.c:654
FieldActorEntry actor5
Definition wstag205.c:641
FieldActorEntry actor2
Definition wstag205.c:638
FieldActorEntry actor19
Definition wstag205.c:655
FieldActorEntry actor22
Definition wstag205.c:658
FieldActorEntry actor10
Definition wstag205.c:646
FieldActorEntry actor4
Definition wstag205.c:640
FieldActorEntry actor8
Definition wstag205.c:644
FieldActorEntry actor9
Definition wstag205.c:645
FieldActorEntry actor20
Definition wstag205.c:656
FieldActorEntry actor15
Definition wstag205.c:651
FieldActorEntry actor12
Definition wstag205.c:648
FieldActorEntry actor16
Definition wstag205.c:652
FieldActorEntry actor7
Definition wstag205.c:643
FieldActorEntry actor13
Definition wstag205.c:649
FieldActorEntry actor11
Definition wstag205.c:647
FieldActorEntry actor1
Definition wstag205.c:637
FieldActorEntry actor21
Definition wstag205.c:657
FieldActorEntry actor3
Definition wstag205.c:639
FieldActorEntry actor14
Definition wstag205.c:650

Definition at line 659 of file wstag205.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 685 of file wstag205.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { (0x7000 | ( 7 )) , 0 }, { 0xFFFF , 0 } }, 1 , 0x200, 0x60, 0x31C, 5, 0x64, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x21D, 0x5E2, 0xE0, 1, 0, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E1, 0x1D0, 0x154, 7, 0, 2, 1 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E1, 0xE0, 0x110, 7, 0, 2, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 3, 0x110, 0x100, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 3, 0x120, 0xC8, 0, 0, 0, 0 },
{ { { (0x6000 | ( STORY_FAKE_BLUE_CARD )) , 1 }, { (( 0x40 ) << 8 | ( 6 )) , 0 } }, 8 , 0x64, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 790 of file wstag205.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map, actors, battles and events, playing ASKA_BGM; BGM_0029 instead at story s...
Definition wstag205.c:134

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 800 of file wstag205.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 100, script100, ( ( 0x113 - 1) << 16 | ( 0x15 )), ((void *)0) , endEvent100 },
{ 101, script101, ( ( 0x113 - 1) << 16 | ( 0x16 )), ((void *)0) , endEvent101 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script100[]
Definition wstag205.c:163
s16 script101[]
Definition wstag205.c:221
void endEvent101(void)
After event 101, with Keith: keeps it from playing again.
Definition wstag205.c:114
void endEvent100(void)
After event 100, with Mystery Player and Keith: starts the stage's event battle 0 and keeps it from p...
Definition wstag205.c:108

Definition at line 803 of file wstag205.c.

Referenced by setupStage().