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

WSTAG285: Admin Center 1F, Asuka City. More...

#include "common.h"
#include "field/stage.h"
#include "common/start_stage.inc.c"
Include dependency graph for wstag285.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   0x2B5
 
#define STAGE_ARCHIVE   0x32D
 

Functions

void updateStage (StageTask *task, void **children)
 Creates the event object of the story so far, the first that applies.
 
void endEvent272 (void)
 Clears the flag of the story so far.
 
void endEvent340 (void)
 After event 340, with DO Guard: keeps it from playing again.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing KANRIBGM; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28.
 

Variables

s16 script40 []
 
s16 script272 []
 
s16 script340 []
 
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 = { 189, 15, (0x60000000 | ( 2 ) << 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 actor1Talk0Actions []
 
u16 actor7Talk0Actions []
 
u16 actor8Talk0Actions []
 
u16 actor9Talk0Actions []
 
u16 actor10Talk0Actions []
 
FieldTalk actor1Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor11Talks []
 
FieldTalk actor12Talks []
 
u16 actor0Conditions [] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF }
 
u16 actor1Conditions [] = { (( 2 ) << 8 | ( 0x15 )) , 0, 0xFFFF }
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor7Conditions []
 
u16 actor8Conditions []
 
u16 actor9Conditions []
 
u16 actor10Conditions []
 
u16 actor11Conditions [] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 0xB, 4, 0, 0, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x21, 5, 825, 285, 1 }
 
FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0x25, 6, 560, 673, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x25, 6, 560, 673, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, ((void *)0) , 0x26, 7, 823, 819, 3 }
 
FieldActorEntry actor5 = { actor5Conditions, ((void *)0) , 0x27, 8, 438, 244, 1 }
 
FieldActorEntry actor6 = { actor6Conditions, ((void *)0) , 0x6A, 9, 0, 0, 1 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x132, 0xA, 823, 819, 3 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x133, 0xB, 438, 244, 1 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x134, 0xC, 370, 574, 3 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x135, 0xD, 349, 586, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x17D, 0xE, 823, 819, 3 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x17E, 0xF, 438, 244, 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

WSTAG285: Admin Center 1F, Asuka City.

Definition in file wstag285.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 36 of file wstag285.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)

Definition at line 55 of file wstag285.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_200 - 1)

Definition at line 56 of file wstag285.c.

◆ STAGE_FILE

#define STAGE_FILE   0x2B5

Definition at line 57 of file wstag285.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x32D

Definition at line 58 of file wstag285.c.

Function Documentation

◆ updateStage()

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

Creates the event object of the story so far, the first that applies.

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

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

Definition at line 9 of file wstag285.c.

Here is the call graph for this function:

◆ endEvent272()

void endEvent272 ( void  )

Clears the flag of the story so far.

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

Definition at line 40 of file wstag285.c.

◆ endEvent340()

void endEvent340 ( void  )

After event 340, with DO Guard: keeps it from playing again.

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

Definition at line 45 of file wstag285.c.

◆ setupStage()

void setupStage ( void  )

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

< 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)

< 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 64 of file wstag285.c.

Variable Documentation

◆ script40

s16 script40[]

Definition at line 92 of file wstag285.c.

◆ script272

s16 script272[]

Definition at line 124 of file wstag285.c.

◆ script340

s16 script340[]

Definition at line 167 of file wstag285.c.

◆ area0Battle0

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

Definition at line 204 of file wstag285.c.

◆ area0Battle1

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

Definition at line 205 of file wstag285.c.

◆ area0Battle2

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

Definition at line 206 of file wstag285.c.

◆ area0Battle3

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

Definition at line 207 of file wstag285.c.

◆ area0Battle4

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

Definition at line 208 of file wstag285.c.

◆ area0Battle5

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

Definition at line 209 of file wstag285.c.

◆ area0Battle6

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

Definition at line 210 of file wstag285.c.

◆ area0Battle7

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

Definition at line 211 of file wstag285.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
0,
}
AreaBattle area0Battle7
Definition wstag285.c:211
AreaBattle area0Battle1
Definition wstag285.c:205
AreaBattle area0Battle6
Definition wstag285.c:210
AreaBattle area0Battle3
Definition wstag285.c:207
AreaBattle area0Battle5
Definition wstag285.c:209
AreaBattle area0Battle0
Definition wstag285.c:204
AreaBattle area0Battle2
Definition wstag285.c:206
AreaBattle area0Battle4
Definition wstag285.c:208

Definition at line 212 of file wstag285.c.

◆ area1Battle0

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

Definition at line 217 of file wstag285.c.

◆ area1Battle1

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

Definition at line 218 of file wstag285.c.

◆ area1Battle2

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

Definition at line 219 of file wstag285.c.

◆ area1Battle3

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

Definition at line 220 of file wstag285.c.

◆ area1Battle4

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

Definition at line 221 of file wstag285.c.

◆ area1Battle5

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

Definition at line 222 of file wstag285.c.

◆ area1Battle6

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

Definition at line 223 of file wstag285.c.

◆ area1Battle7

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

Definition at line 224 of file wstag285.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag285.c:223
AreaBattle area1Battle2
Definition wstag285.c:219
AreaBattle area1Battle4
Definition wstag285.c:221
AreaBattle area1Battle5
Definition wstag285.c:222
AreaBattle area1Battle3
Definition wstag285.c:220
AreaBattle area1Battle0
Definition wstag285.c:217
AreaBattle area1Battle1
Definition wstag285.c:218
AreaBattle area1Battle7
Definition wstag285.c:224

Definition at line 225 of file wstag285.c.

◆ area2Battle0

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

Definition at line 230 of file wstag285.c.

◆ area2Battle1

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

Definition at line 231 of file wstag285.c.

◆ area2Battle2

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

Definition at line 232 of file wstag285.c.

◆ area2Battle3

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

Definition at line 233 of file wstag285.c.

◆ area2Battle4

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

Definition at line 234 of file wstag285.c.

◆ area2Battle5

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

Definition at line 235 of file wstag285.c.

◆ area2Battle6

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

Definition at line 236 of file wstag285.c.

◆ area2Battle7

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

Definition at line 237 of file wstag285.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag285.c:237
AreaBattle area2Battle6
Definition wstag285.c:236
AreaBattle area2Battle0
Definition wstag285.c:230
AreaBattle area2Battle4
Definition wstag285.c:234
AreaBattle area2Battle2
Definition wstag285.c:232
AreaBattle area2Battle1
Definition wstag285.c:231
AreaBattle area2Battle5
Definition wstag285.c:235
AreaBattle area2Battle3
Definition wstag285.c:233

Definition at line 238 of file wstag285.c.

◆ area3Battle0

AreaBattle area3Battle0 = { 189, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 243 of file wstag285.c.

◆ area3Battle1

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

Definition at line 244 of file wstag285.c.

◆ area3Battle2

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

Definition at line 245 of file wstag285.c.

◆ area3Battle3

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

Definition at line 246 of file wstag285.c.

◆ area3Battle4

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

Definition at line 247 of file wstag285.c.

◆ area3Battle5

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

Definition at line 248 of file wstag285.c.

◆ area3Battle6

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

Definition at line 249 of file wstag285.c.

◆ area3Battle7

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

Definition at line 250 of file wstag285.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag285.c:247
AreaBattle area3Battle3
Definition wstag285.c:246
AreaBattle area3Battle0
Definition wstag285.c:243
AreaBattle area3Battle2
Definition wstag285.c:245
AreaBattle area3Battle1
Definition wstag285.c:244
AreaBattle area3Battle6
Definition wstag285.c:249
AreaBattle area3Battle5
Definition wstag285.c:248
AreaBattle area3Battle7
Definition wstag285.c:250

Definition at line 251 of file wstag285.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag285.c:251
BattleList area1Battles
Definition wstag285.c:225
BattleList area2Battles
Definition wstag285.c:238
BattleList area0Battles
Definition wstag285.c:212

Definition at line 256 of file wstag285.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 },
{ 0x180, 0x100, 0x1B2, 0x1B0, 0x1C8, 0xB0, 0x160, 0x1FF },
{ 0x140, 0x100, 0x178, 0x100, 0xE0, 0, 0x170, 0x1FF },
{ 0x140, 0x100, 0x170, 0x100, 0xC0, 0, 0x160, 0x1FE },
{ 0x140, 0x100, 0x170, 0x130, 0xC0, 0x30, 0x170, 0x1FE },
{ 0x140, 0x100, 0x172, 0x1B1, 0xC8, 0xB1, 0x150, 0x1FD },
{ 0x180, 0x100, 0x180, 0x1BB, 0x100, 0xBB, 0x160, 0x1FD },
{ 0x180, 0x100, 0x1B6, 0x160, 0x1D8, 0x60, 0x170, 0x1FD },
{ 0x180, 0x100, 0x1B6, 0x188, 0x1D8, 0x88, 0x150, 0x1FC },
{ 0x180, 0x100, 0x1A2, 0x1A2, 0x188, 0xA2, 0x160, 0x1FC },
{ 0x180, 0x100, 0x1AA, 0x1A2, 0x1A8, 0xA2, 0x170, 0x1FC },
{ 0x180, 0x100, 0x1B2, 0x100, 0x1C8, 0, 0x150, 0x1FB },
{ 0x180, 0x100, 0x1B2, 0x130, 0x1C8, 0x30, 0x160, 0x1FB },
}

Definition at line 259 of file wstag285.c.

Referenced by setupStage().

◆ actor1Talk0Actions

u16 actor1Talk0Actions[]
Initial value:
= {
(( 2 ) << 8 | ( 0x15 )) , 1,
(0x8000 | ( 2 ) << 9 | ( 0xCF )), 1,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 279 of file wstag285.c.

◆ actor7Talk0Actions

u16 actor7Talk0Actions[]
Initial value:
= {
(( 0xC ) << 8 | ( 5 )) , 1,
(0x7400 | ( 0 )) , 1,
0xFFFF ,
}

Definition at line 285 of file wstag285.c.

◆ actor8Talk0Actions

u16 actor8Talk0Actions[]
Initial value:
= {
(0x7400 | ( 0 )) , 1,
(( 0xC ) << 8 | ( 6 )) , 1,
0xFFFF ,
}

Definition at line 290 of file wstag285.c.

◆ actor9Talk0Actions

u16 actor9Talk0Actions[]
Initial value:
= {
(0x7400 | ( 0 )) , 1,
(( 0xC ) << 8 | ( 7 )) , 1,
0xFFFF ,
}

Definition at line 295 of file wstag285.c.

◆ actor10Talk0Actions

u16 actor10Talk0Actions[]
Initial value:
= {
(0x7400 | ( 0 )) , 1,
(( 0xC ) << 8 | ( 7 )) , 1,
0xFFFF ,
}

Definition at line 300 of file wstag285.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , actor1Talk0Actions, 0x452 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk0Actions[]
Definition wstag285.c:279

Definition at line 305 of file wstag285.c.

◆ actor3Talks

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

Definition at line 309 of file wstag285.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ ((void *)0) , actor7Talk0Actions, 0xA9 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor7Talk0Actions[]
Definition wstag285.c:285

Definition at line 313 of file wstag285.c.

◆ actor8Talks

FieldTalk actor8Talks[]
Initial value:
= {
{ ((void *)0) , actor8Talk0Actions, 0xA9 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor8Talk0Actions[]
Definition wstag285.c:290

Definition at line 317 of file wstag285.c.

◆ actor9Talks

FieldTalk actor9Talks[]
Initial value:
= {
{ ((void *)0) , actor9Talk0Actions, 0xA9 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor9Talk0Actions[]
Definition wstag285.c:295

Definition at line 321 of file wstag285.c.

◆ actor10Talks

FieldTalk actor10Talks[]
Initial value:
= {
{ ((void *)0) , actor10Talk0Actions, 0xA9 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor10Talk0Actions[]
Definition wstag285.c:300

Definition at line 325 of file wstag285.c.

◆ actor11Talks

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

Definition at line 329 of file wstag285.c.

◆ actor12Talks

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

Definition at line 333 of file wstag285.c.

◆ actor0Conditions

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

Definition at line 337 of file wstag285.c.

◆ actor1Conditions

u16 actor1Conditions[] = { (( 2 ) << 8 | ( 0x15 )) , 0, 0xFFFF }

Definition at line 338 of file wstag285.c.

◆ actor2Conditions

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

Definition at line 339 of file wstag285.c.

◆ actor3Conditions

u16 actor3Conditions[] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF }

Definition at line 340 of file wstag285.c.

◆ actor4Conditions

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

Definition at line 341 of file wstag285.c.

◆ actor5Conditions

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

Definition at line 342 of file wstag285.c.

◆ actor6Conditions

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

Definition at line 343 of file wstag285.c.

◆ actor7Conditions

u16 actor7Conditions[]
Initial value:
= {
(0x6000 | ( STORY_CONTROL_ROOM )) , 1,
(( 0xC ) << 8 | ( 5 )) , 0,
0xFFFF ,
}
@ STORY_CONTROL_ROOM
WSTAG325 (Control Room, Asuka City), event 560: a Soldier guards the way.
Definition story.h:90

Definition at line 344 of file wstag285.c.

◆ actor8Conditions

u16 actor8Conditions[]
Initial value:
= {
(( 0xC ) << 8 | ( 6 )) , 0,
(0x6000 | ( STORY_CONTROL_ROOM )) , 1,
0xFFFF ,
}

Definition at line 349 of file wstag285.c.

◆ actor9Conditions

u16 actor9Conditions[]
Initial value:
= {
(0x6000 | ( STORY_CONTROL_ROOM )) , 1,
(( 0xC ) << 8 | ( 7 )) , 0,
0xFFFF ,
}

Definition at line 354 of file wstag285.c.

◆ actor10Conditions

u16 actor10Conditions[]
Initial value:
= {
(0x6000 | ( STORY_CONTROL_ROOM )) , 1,
(( 0xC ) << 8 | ( 7 )) , 0,
0xFFFF ,
}

Definition at line 359 of file wstag285.c.

◆ actor11Conditions

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

Definition at line 364 of file wstag285.c.

◆ actor12Conditions

u16 actor12Conditions[] = { (0x7000 | ( 0x23 )) , 1, 0xFFFF }

Definition at line 365 of file wstag285.c.

◆ actor0

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

Definition at line 366 of file wstag285.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x21, 5, 825, 285, 1 }

Definition at line 367 of file wstag285.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0x25, 6, 560, 673, 1 }

Definition at line 368 of file wstag285.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x25, 6, 560, 673, 1 }

Definition at line 369 of file wstag285.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, ((void *)0) , 0x26, 7, 823, 819, 3 }

Definition at line 370 of file wstag285.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, ((void *)0) , 0x27, 8, 438, 244, 1 }

Definition at line 371 of file wstag285.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, ((void *)0) , 0x6A, 9, 0, 0, 1 }

Definition at line 372 of file wstag285.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x132, 0xA, 823, 819, 3 }

Definition at line 373 of file wstag285.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x133, 0xB, 438, 244, 1 }

Definition at line 374 of file wstag285.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x134, 0xC, 370, 574, 3 }

Definition at line 375 of file wstag285.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x135, 0xD, 349, 586, 7 }

Definition at line 376 of file wstag285.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x17D, 0xE, 823, 819, 3 }

Definition at line 377 of file wstag285.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x17E, 0xF, 438, 244, 1 }

Definition at line 378 of file wstag285.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag285.c:366
FieldActorEntry actor6
Definition wstag285.c:372
FieldActorEntry actor5
Definition wstag285.c:371
FieldActorEntry actor2
Definition wstag285.c:368
FieldActorEntry actor10
Definition wstag285.c:376
FieldActorEntry actor4
Definition wstag285.c:370
FieldActorEntry actor8
Definition wstag285.c:374
FieldActorEntry actor9
Definition wstag285.c:375
FieldActorEntry actor12
Definition wstag285.c:378
FieldActorEntry actor7
Definition wstag285.c:373
FieldActorEntry actor11
Definition wstag285.c:377
FieldActorEntry actor1
Definition wstag285.c:367
FieldActorEntry actor3
Definition wstag285.c:369

Definition at line 379 of file wstag285.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 395 of file wstag285.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x217, 0x318, 0x1DC, 5, 0x64, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x203, 0x14A, 0xC4, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x215, 0xC8, 0x7C, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 441 of file wstag285.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 KANRIBGM; BGM_0029 instead at story s...
Definition wstag285.c:64

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 447 of file wstag285.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 40, script40, ( ( 0x113 - 1) << 16 | ( 0xA )), ((void *)0) , ((void *)0) },
{ 272, script272, ( ( 0x113 - 1) << 16 | ( 0x19 )), ((void *)0) , endEvent272 },
{ 340, script340, ( ( 0x113 - 1) << 16 | ( 0x1F )), ((void *)0) , endEvent340 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script272[]
Definition wstag285.c:124
s16 script340[]
Definition wstag285.c:167
void endEvent340(void)
After event 340, with DO Guard: keeps it from playing again.
Definition wstag285.c:45
s16 script40[]
Definition wstag285.c:92
void endEvent272(void)
Clears the flag of the story so far.
Definition wstag285.c:40

Definition at line 450 of file wstag285.c.

Referenced by setupStage().