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

WSTAG300: Admin Center 2F, Asuka City. More...

#include "common.h"
#include "field/stage.h"
#include "common/start_stage.inc.c"
Include dependency graph for wstag300.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_300 - 1)
 
#define STAGE_FILE   0x34F
 

Functions

void updateStage (StageTask *task, void **children)
 Creates the event object of progress 0x16, which depends on flags 0x404A to 0x404C.
 
void endEvent570 (void)
 After event 570, with Soldier: starts the stage's event battle 1, sets flag 0x0C11 (which decides whether actor 15 appears) and keeps it from playing again.
 
void endEvent571 (void)
 After event 571, with the player: starts the stage's event battle 2 and keeps it from playing again.
 
void endEvent572 (void)
 After event 572, with the player: 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 script349 []
 
s16 script570 []
 
s16 script571 []
 
s16 script572 []
 
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 = { 190, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle2 = { 322, 15, (0x60000000 | ( 2 ) << 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 actor13Talk0Actions []
 
u16 actor14Talk0Actions []
 
u16 actor15Talk0Actions []
 
u16 actor16Talk0Actions []
 
u16 actor17Talk0Actions []
 
u16 actor18Talk0Actions []
 
u16 actor19Talk0Actions []
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor13Talks []
 
FieldTalk actor14Talks []
 
FieldTalk actor15Talks []
 
FieldTalk actor16Talks []
 
FieldTalk actor17Talks []
 
FieldTalk actor18Talks []
 
FieldTalk actor19Talks []
 
FieldTalk actor21Talks []
 
FieldTalk actor22Talks []
 
FieldTalk actor23Talks []
 
FieldTalk actor24Talks []
 
u16 actor0Conditions [] = { (( 2 ) << 8 | ( 0x14 )) , 0, 0xFFFF }
 
u16 actor1Conditions [] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF }
 
u16 actor2Conditions []
 
u16 actor3Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor4Conditions []
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF }
 
u16 actor6Conditions []
 
u16 actor7Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor8Conditions []
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_NETWORK_OFFLINE )) , 1, 0xFFFF }
 
u16 actor10Conditions []
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }
 
u16 actor13Conditions []
 
u16 actor14Conditions []
 
u16 actor15Conditions []
 
u16 actor16Conditions []
 
u16 actor17Conditions []
 
u16 actor18Conditions []
 
u16 actor19Conditions []
 
u16 actor20Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor21Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor22Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor23Conditions []
 
u16 actor24Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 700, 283, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x25, 5, 880, 225, 1 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x25, 5, 880, 225, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x26, 6, 905, 188, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x26, 6, 905, 188, 1 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x26, 6, 848, 209, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x26, 6, 848, 209, 3 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x27, 7, 953, 213, 1 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x27, 7, 953, 213, 1 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x27, 7, 912, 240, 7 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x27, 7, 912, 240, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x6A, 8, 0, 0, 1 }
 
FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x76, 9, 0, 0, 1 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x12B, 0xA, 992, 282, 1 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x12F, 0xB, 769, 169, 1 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x130, 0xC, 929, 201, 1 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x132, 0xD, 936, 477, 1 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x133, 0xE, 1225, 429, 3 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x134, 0xF, 321, 201, 7 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x135, 0x10, 1120, 281, 1 }
 
FieldActorEntry actor20 = { actor20Conditions, ((void *)0) , 0x14A, 0x11, 880, 225, 5 }
 
FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x17D, 0x12, 1225, 429, 3 }
 
FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x17D, 0x12, 929, 201, 1 }
 
FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x17D, 0x12, 929, 201, 1 }
 
FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x17E, 0x13, 318, 199, 7 }
 
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

WSTAG300: Admin Center 2F, Asuka City.

Definition in file wstag300.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 27 of file wstag300.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)

Definition at line 60 of file wstag300.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_300 - 1)

Definition at line 61 of file wstag300.c.

◆ STAGE_FILE

#define STAGE_FILE   0x34F

Definition at line 62 of file wstag300.c.

Function Documentation

◆ updateStage()

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

Creates the event object of progress 0x16, which depends on flags 0x404A to 0x404C.

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

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

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

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

Definition at line 9 of file wstag300.c.

Here is the call graph for this function:

◆ endEvent570()

void endEvent570 ( void  )

After event 570, with Soldier: starts the stage's event battle 1, sets flag 0x0C11 (which decides whether actor 15 appears) and keeps it from playing again.

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

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

< action: FIELDSTG_battleFuncs.startEventBattle

Definition at line 35 of file wstag300.c.

◆ endEvent571()

void endEvent571 ( void  )

After event 571, with the player: starts the stage's event battle 2 and keeps it from playing again.

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

< action: FIELDSTG_battleFuncs.startEventBattle

Definition at line 45 of file wstag300.c.

◆ endEvent572()

void endEvent572 ( void  )

After event 572, with the player: keeps it from playing again.

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

Definition at line 51 of file wstag300.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 68 of file wstag300.c.

Variable Documentation

◆ script349

s16 script349[]

Definition at line 96 of file wstag300.c.

◆ script570

s16 script570[]
Initial value:
= {
0x102, 2 , 0x370 , 0xE0 , 3 ,
0x100, 0x130 , 0x3A1 , 0xC9 ,
0x101, 0x130 , 1 , 1 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 5 ,
0x101, 0x323 , 0x325 , 0x130 ,
0x300, 0x3C ,
0x101, 0x323 , 0x326 , 2 ,
0x300, 0x1E ,
0x102, 0x130 , 0x389 , 0xD5 , 1 ,
0x302, 0x130 ,
0x200, 0 , 1 , 0x130 , 2 ,
0x101, 0x130 , 1 , 1 ,
0x301 ,
0x300, 0x1E ,
0x200, 0 , 2 , 2 , 3 ,
0x301 ,
0x300, 0x1E ,
0 ,
}

Definition at line 154 of file wstag300.c.

◆ script571

s16 script571[]

Definition at line 176 of file wstag300.c.

◆ script572

s16 script572[]
Initial value:
= {
0x100, 2 , 0x370 , 0xE0 ,
0x101, 2 , 1 , 5 ,
0x100, 0x76 , 0x389 , 0xD5 ,
0x101, 0x76 , 1 , 1 ,
0x101, 0x32D , (0x34D + ( 0 )) , 2 ,
0x300, 0x78 ,
0x200, 0 , 2 , 0x76 , 2 ,
0x301 ,
0x102, 0x76 , 0x3C9 , 0xB5 , 5 ,
0x302, 0x76 ,
0x200, 0 , 4 , 2 , 1 ,
0x301 ,
0x100, 0x76 , 0 , 0 ,
0x101, 0x76 , 1 , 0 ,
0x101, 0x32D , (0x353 + ( 0 )) , 2 ,
0x300, 0x5A ,
0x200, 0 , 1 , 2 , 3 ,
0x301 ,
0x101, 0x323 , 0x327 , 2 ,
0x300, 0x3C ,
0x101, 0x323 , 0x326 , 2 ,
0x300, 0x1E ,
0x200, 0 , 3 , 2 , 3 ,
0x301 ,
0x300, 0x1E ,
0 ,
}

Definition at line 236 of file wstag300.c.

◆ area0Battle0

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

Definition at line 264 of file wstag300.c.

◆ area0Battle1

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

Definition at line 265 of file wstag300.c.

◆ area0Battle2

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

Definition at line 266 of file wstag300.c.

◆ area0Battle3

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

Definition at line 267 of file wstag300.c.

◆ area0Battle4

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

Definition at line 268 of file wstag300.c.

◆ area0Battle5

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

Definition at line 269 of file wstag300.c.

◆ area0Battle6

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

Definition at line 270 of file wstag300.c.

◆ area0Battle7

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

Definition at line 271 of file wstag300.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
0,
}
AreaBattle area0Battle7
Definition wstag300.c:271
AreaBattle area0Battle1
Definition wstag300.c:265
AreaBattle area0Battle6
Definition wstag300.c:270
AreaBattle area0Battle3
Definition wstag300.c:267
AreaBattle area0Battle5
Definition wstag300.c:269
AreaBattle area0Battle0
Definition wstag300.c:264
AreaBattle area0Battle2
Definition wstag300.c:266
AreaBattle area0Battle4
Definition wstag300.c:268

Definition at line 272 of file wstag300.c.

◆ area1Battle0

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

Definition at line 277 of file wstag300.c.

◆ area1Battle1

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

Definition at line 278 of file wstag300.c.

◆ area1Battle2

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

Definition at line 279 of file wstag300.c.

◆ area1Battle3

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

Definition at line 280 of file wstag300.c.

◆ area1Battle4

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

Definition at line 281 of file wstag300.c.

◆ area1Battle5

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

Definition at line 282 of file wstag300.c.

◆ area1Battle6

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

Definition at line 283 of file wstag300.c.

◆ area1Battle7

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

Definition at line 284 of file wstag300.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag300.c:283
AreaBattle area1Battle2
Definition wstag300.c:279
AreaBattle area1Battle4
Definition wstag300.c:281
AreaBattle area1Battle5
Definition wstag300.c:282
AreaBattle area1Battle3
Definition wstag300.c:280
AreaBattle area1Battle0
Definition wstag300.c:277
AreaBattle area1Battle1
Definition wstag300.c:278
AreaBattle area1Battle7
Definition wstag300.c:284

Definition at line 285 of file wstag300.c.

◆ area2Battle0

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

Definition at line 290 of file wstag300.c.

◆ area2Battle1

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

Definition at line 291 of file wstag300.c.

◆ area2Battle2

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

Definition at line 292 of file wstag300.c.

◆ area2Battle3

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

Definition at line 293 of file wstag300.c.

◆ area2Battle4

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

Definition at line 294 of file wstag300.c.

◆ area2Battle5

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

Definition at line 295 of file wstag300.c.

◆ area2Battle6

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

Definition at line 296 of file wstag300.c.

◆ area2Battle7

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

Definition at line 297 of file wstag300.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag300.c:297
AreaBattle area2Battle6
Definition wstag300.c:296
AreaBattle area2Battle0
Definition wstag300.c:290
AreaBattle area2Battle4
Definition wstag300.c:294
AreaBattle area2Battle2
Definition wstag300.c:292
AreaBattle area2Battle1
Definition wstag300.c:291
AreaBattle area2Battle5
Definition wstag300.c:295
AreaBattle area2Battle3
Definition wstag300.c:293

Definition at line 298 of file wstag300.c.

◆ area3Battle0

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

Definition at line 303 of file wstag300.c.

◆ area3Battle1

AreaBattle area3Battle1 = { 190, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 304 of file wstag300.c.

◆ area3Battle2

AreaBattle area3Battle2 = { 322, 15, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 305 of file wstag300.c.

◆ area3Battle3

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

Definition at line 306 of file wstag300.c.

◆ area3Battle4

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

Definition at line 307 of file wstag300.c.

◆ area3Battle5

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

Definition at line 308 of file wstag300.c.

◆ area3Battle6

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

Definition at line 309 of file wstag300.c.

◆ area3Battle7

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

Definition at line 310 of file wstag300.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag300.c:307
AreaBattle area3Battle3
Definition wstag300.c:306
AreaBattle area3Battle0
Definition wstag300.c:303
AreaBattle area3Battle2
Definition wstag300.c:305
AreaBattle area3Battle1
Definition wstag300.c:304
AreaBattle area3Battle6
Definition wstag300.c:309
AreaBattle area3Battle5
Definition wstag300.c:308
AreaBattle area3Battle7
Definition wstag300.c:310

Definition at line 311 of file wstag300.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag300.c:311
BattleList area1Battles
Definition wstag300.c:285
BattleList area2Battles
Definition wstag300.c:298
BattleList area0Battles
Definition wstag300.c:272

Definition at line 316 of file wstag300.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, 0x1B8, 0x100, 0x1E0, 0, 0x170, 0x1F9 },
{ 0x140, 0x100, 0x172, 0x1B1, 0xC8, 0xB1, 0x170, 0x1F8 },
{ 0x180, 0x100, 0x1B0, 0x100, 0x1C0, 0, 0x170, 0x1F7 },
{ 0x180, 0x100, 0x1B0, 0x130, 0x1C0, 0x30, 0x170, 0x1F6 },
{ 0x180, 0x100, 0x1A0, 0x197, 0x180, 0x97, 0x150, 0x1F5 },
{ 0x180, 0x100, 0x190, 0x19C, 0x140, 0x9C, 0x160, 0x1F5 },
{ 0x180, 0x100, 0x1A8, 0x167, 0x1A0, 0x67, 0x170, 0x1F5 },
{ 0x180, 0x100, 0x190, 0x174, 0x140, 0x74, 0x150, 0x1F4 },
{ 0x180, 0x100, 0x198, 0x174, 0x160, 0x74, 0x160, 0x1F4 },
{ 0x180, 0x100, 0x180, 0x17F, 0x100, 0x7F, 0x170, 0x1F4 },
{ 0x180, 0x100, 0x188, 0x17F, 0x120, 0x7F, 0x150, 0x1F3 },
{ 0x180, 0x100, 0x1A8, 0x18F, 0x1A0, 0x8F, 0x160, 0x1F3 },
{ 0x180, 0x100, 0x1B0, 0x190, 0x1C0, 0x90, 0x170, 0x1F3 },
{ 0x180, 0x100, 0x198, 0x19C, 0x160, 0x9C, 0x150, 0x1F2 },
{ 0x180, 0x100, 0x1B0, 0x160, 0x1C0, 0x60, 0x160, 0x1F2 },
{ 0x180, 0x100, 0x1A0, 0x167, 0x180, 0x67, 0x170, 0x1F2 },
}

Definition at line 319 of file wstag300.c.

Referenced by setupStage().

◆ actor0Talk0Actions

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

Definition at line 343 of file wstag300.c.

◆ actor13Talk0Actions

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

Definition at line 349 of file wstag300.c.

◆ actor14Talk0Actions

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

Definition at line 354 of file wstag300.c.

◆ actor15Talk0Actions

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

Definition at line 359 of file wstag300.c.

◆ actor16Talk0Actions

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

Definition at line 364 of file wstag300.c.

◆ actor17Talk0Actions

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

Definition at line 369 of file wstag300.c.

◆ actor18Talk0Actions

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

Definition at line 374 of file wstag300.c.

◆ actor19Talk0Actions

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

Definition at line 379 of file wstag300.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x2B6 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag300.c:343

Definition at line 384 of file wstag300.c.

◆ actor1Talks

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

Definition at line 388 of file wstag300.c.

◆ actor2Talks

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

Definition at line 392 of file wstag300.c.

◆ actor3Talks

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

Definition at line 396 of file wstag300.c.

◆ actor4Talks

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

Definition at line 400 of file wstag300.c.

◆ actor5Talks

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

Definition at line 404 of file wstag300.c.

◆ actor6Talks

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

Definition at line 408 of file wstag300.c.

◆ actor7Talks

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

Definition at line 412 of file wstag300.c.

◆ actor8Talks

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

Definition at line 416 of file wstag300.c.

◆ actor9Talks

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

Definition at line 420 of file wstag300.c.

◆ actor10Talks

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

Definition at line 424 of file wstag300.c.

◆ actor13Talks

FieldTalk actor13Talks[]
Initial value:
= {
{ ((void *)0) , actor13Talk0Actions, 0x417 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor13Talk0Actions[]
Definition wstag300.c:349

Definition at line 428 of file wstag300.c.

◆ actor14Talks

FieldTalk actor14Talks[]
Initial value:
= {
{ ((void *)0) , actor14Talk0Actions, 0x417 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor14Talk0Actions[]
Definition wstag300.c:354

Definition at line 432 of file wstag300.c.

◆ actor15Talks

FieldTalk actor15Talks[]
Initial value:
= {
{ ((void *)0) , actor15Talk0Actions, 0x1ED },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor15Talk0Actions[]
Definition wstag300.c:359

Definition at line 436 of file wstag300.c.

◆ actor16Talks

FieldTalk actor16Talks[]
Initial value:
= {
{ ((void *)0) , actor16Talk0Actions, 0xA9 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor16Talk0Actions[]
Definition wstag300.c:364

Definition at line 440 of file wstag300.c.

◆ actor17Talks

FieldTalk actor17Talks[]
Initial value:
= {
{ ((void *)0) , actor17Talk0Actions, 0xA9 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor17Talk0Actions[]
Definition wstag300.c:369

Definition at line 444 of file wstag300.c.

◆ actor18Talks

FieldTalk actor18Talks[]
Initial value:
= {
{ ((void *)0) , actor18Talk0Actions, 0xA9 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor18Talk0Actions[]
Definition wstag300.c:374

Definition at line 448 of file wstag300.c.

◆ actor19Talks

FieldTalk actor19Talks[]
Initial value:
= {
{ ((void *)0) , actor19Talk0Actions, 0xA9 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor19Talk0Actions[]
Definition wstag300.c:379

Definition at line 452 of file wstag300.c.

◆ actor21Talks

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

Definition at line 456 of file wstag300.c.

◆ actor22Talks

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

Definition at line 460 of file wstag300.c.

◆ actor23Talks

FieldTalk actor23Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0xAB },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 464 of file wstag300.c.

◆ actor24Talks

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

Definition at line 468 of file wstag300.c.

◆ actor0Conditions

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

Definition at line 472 of file wstag300.c.

◆ actor1Conditions

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

Definition at line 473 of file wstag300.c.

◆ actor2Conditions

u16 actor2Conditions[]
Initial value:
= {
(0x7000 | ( 0x21 )) , 1,
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 0,
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 474 of file wstag300.c.

◆ actor3Conditions

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

Definition at line 479 of file wstag300.c.

◆ actor4Conditions

u16 actor4Conditions[]
Initial value:
= {
(0x7000 | ( 0x20 )) , 1,
(0x6000 | ( STORY_NETWORK_OFFLINE )) , 0,
0xFFFF ,
}
@ STORY_NETWORK_OFFLINE
WSTAG750, event 886: the news say the Optical Network is offline.
Definition story.h:123

Definition at line 480 of file wstag300.c.

◆ actor5Conditions

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

Definition at line 485 of file wstag300.c.

◆ actor6Conditions

u16 actor6Conditions[]
Initial value:
= {
(0x7000 | ( 0x21 )) , 1,
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 0,
0xFFFF ,
}

Definition at line 486 of file wstag300.c.

◆ actor7Conditions

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

Definition at line 491 of file wstag300.c.

◆ actor8Conditions

u16 actor8Conditions[]
Initial value:
= {
(0x7000 | ( 0x20 )) , 1,
(0x6000 | ( STORY_NETWORK_OFFLINE )) , 0,
0xFFFF ,
}

Definition at line 492 of file wstag300.c.

◆ actor9Conditions

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

Definition at line 497 of file wstag300.c.

◆ actor10Conditions

u16 actor10Conditions[]
Initial value:
= {
(0x7000 | ( 0x21 )) , 1,
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 0,
0xFFFF ,
}

Definition at line 498 of file wstag300.c.

◆ actor11Conditions

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

Definition at line 503 of file wstag300.c.

◆ actor12Conditions

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

Definition at line 504 of file wstag300.c.

◆ actor13Conditions

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

Definition at line 505 of file wstag300.c.

◆ actor14Conditions

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

Definition at line 510 of file wstag300.c.

◆ actor15Conditions

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

Definition at line 515 of file wstag300.c.

◆ actor16Conditions

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

Definition at line 520 of file wstag300.c.

◆ actor17Conditions

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

Definition at line 525 of file wstag300.c.

◆ actor18Conditions

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

Definition at line 530 of file wstag300.c.

◆ actor19Conditions

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

Definition at line 535 of file wstag300.c.

◆ actor20Conditions

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

Definition at line 540 of file wstag300.c.

◆ actor21Conditions

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

Definition at line 541 of file wstag300.c.

◆ actor22Conditions

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

Definition at line 542 of file wstag300.c.

◆ actor23Conditions

u16 actor23Conditions[]
Initial value:
= {
(0x7000 | ( 0x20 )) , 1,
(0x6000 | ( STORY_NETWORK_OFFLINE )) , 0,
0xFFFF ,
}

Definition at line 543 of file wstag300.c.

◆ actor24Conditions

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

Definition at line 548 of file wstag300.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 700, 283, 1 }

Definition at line 549 of file wstag300.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x25, 5, 880, 225, 1 }

Definition at line 550 of file wstag300.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x25, 5, 880, 225, 1 }

Definition at line 551 of file wstag300.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x26, 6, 905, 188, 1 }

Definition at line 552 of file wstag300.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x26, 6, 905, 188, 1 }

Definition at line 553 of file wstag300.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x26, 6, 848, 209, 3 }

Definition at line 554 of file wstag300.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x26, 6, 848, 209, 3 }

Definition at line 555 of file wstag300.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x27, 7, 953, 213, 1 }

Definition at line 556 of file wstag300.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x27, 7, 953, 213, 1 }

Definition at line 557 of file wstag300.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x27, 7, 912, 240, 7 }

Definition at line 558 of file wstag300.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x27, 7, 912, 240, 7 }

Definition at line 559 of file wstag300.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x6A, 8, 0, 0, 1 }

Definition at line 560 of file wstag300.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x76, 9, 0, 0, 1 }

Definition at line 561 of file wstag300.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x12B, 0xA, 992, 282, 1 }

Definition at line 562 of file wstag300.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x12F, 0xB, 769, 169, 1 }

Definition at line 563 of file wstag300.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x130, 0xC, 929, 201, 1 }

Definition at line 564 of file wstag300.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x132, 0xD, 936, 477, 1 }

Definition at line 565 of file wstag300.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x133, 0xE, 1225, 429, 3 }

Definition at line 566 of file wstag300.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x134, 0xF, 321, 201, 7 }

Definition at line 567 of file wstag300.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x135, 0x10, 1120, 281, 1 }

Definition at line 568 of file wstag300.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, ((void *)0) , 0x14A, 0x11, 880, 225, 5 }

Definition at line 569 of file wstag300.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x17D, 0x12, 1225, 429, 3 }

Definition at line 570 of file wstag300.c.

◆ actor22

FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x17D, 0x12, 929, 201, 1 }

Definition at line 571 of file wstag300.c.

◆ actor23

FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x17D, 0x12, 929, 201, 1 }

Definition at line 572 of file wstag300.c.

◆ actor24

FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x17E, 0x13, 318, 199, 7 }

Definition at line 573 of file wstag300.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag300.c:549
FieldActorEntry actor6
Definition wstag300.c:555
FieldActorEntry actor24
Definition wstag300.c:573
FieldActorEntry actor17
Definition wstag300.c:566
FieldActorEntry actor18
Definition wstag300.c:567
FieldActorEntry actor5
Definition wstag300.c:554
FieldActorEntry actor2
Definition wstag300.c:551
FieldActorEntry actor23
Definition wstag300.c:572
FieldActorEntry actor19
Definition wstag300.c:568
FieldActorEntry actor22
Definition wstag300.c:571
FieldActorEntry actor10
Definition wstag300.c:559
FieldActorEntry actor4
Definition wstag300.c:553
FieldActorEntry actor8
Definition wstag300.c:557
FieldActorEntry actor9
Definition wstag300.c:558
FieldActorEntry actor20
Definition wstag300.c:569
FieldActorEntry actor15
Definition wstag300.c:564
FieldActorEntry actor12
Definition wstag300.c:561
FieldActorEntry actor16
Definition wstag300.c:565
FieldActorEntry actor7
Definition wstag300.c:556
FieldActorEntry actor13
Definition wstag300.c:562
FieldActorEntry actor11
Definition wstag300.c:560
FieldActorEntry actor1
Definition wstag300.c:550
FieldActorEntry actor21
Definition wstag300.c:570
FieldActorEntry actor3
Definition wstag300.c:552
FieldActorEntry actor14
Definition wstag300.c:563

Definition at line 574 of file wstag300.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 2, 0x36, 2, 0, 9, 8, 0, 918, 96, 0, 0 },
{ 1, 0, 0x40, 2, 0x37, 2, 0, 9, 0xA, 0, 918, 96, 0, 0 },
{ 1, 0, 0xFF, 2, 0xB, 0, 0, 0, 0, 0, 992, 126, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 5, 8, 0, 166, 118, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 5, 8, 0, 541, 90, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 5, 8, 0, 1115, 172, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 5, 8, 0, 332, 103, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 5, 8, 0, 1009, 185, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 5, 8, 0, 1211, 143, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 5, 8, 0, 1294, 168, 0, 0 },
{ 1, 0, 0x40, 6, 0x34, 2, 0, 5, 8, 0, 860, 89, 0, 0 },
{ 1, 0, 0x80, 6, 0x35, 3, 0, 0xF, 0xE, 0, 660, 434, 0, 0 },
{ 1, 0x64, 0x40, 6, 0, 0, 0, 0, 0, 0, 929, 148, 0, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 768, 107, 151, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 992, 218, 264, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 1088, 218, 264, 0 },
{ 1, 0, 0x40, 4, 4, 0, 0, 0, 0, 0, 1152, 186, 230, 0 },
{ 1, 0, 0x60, 4, 5, 0, 0, 0, 0, 0, 816, 333, 432, 0 },
{ 1, 0, 0x40, 4, 6, 0, 0, 0, 0, 0, 945, 441, 462, 0 },
{ 1, 0, 0x40, 4, 7, 0, 0, 0, 0, 0, 960, 190, 231, 0 },
{ 1, 0, 0x40, 4, 8, 0, 0, 0, 0, 0, 480, 321, 342, 0 },
{ 1, 0, 0x40, 4, 9, 0, 0, 0, 0, 0, 497, 256, 272, 0 },
{ 1, 0, 0x40, 4, 0xA, 0, 0, 0, 0, 0, 953, 144, 200, 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 602 of file wstag300.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x205, 0x158, 0xA4, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x218, 0x56, 0x18A, 5, 0x64, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x203, 0xC8, 0x9C, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x214, 0x177, 0xBD, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x205, 0x372, 0x132, 7, 0, 0, 0 },
{ { { (0x6000 | ( STORY_CONTROL_ROOM )) , 1 }, { (( 0x40 ) << 8 | ( 0x4A )) , 0 } }, 8 , 0x23A, 0, 0, 0, 0, 0, 0 },
{ { { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1 }, { 0xFFFF , 0 } }, 8 , 0x15D, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}
@ STORY_AGUMON_DISGUISE
WSTAG237 (Underground Path), event 300: in the Agumon Suit; Kail goes on ahead alone.
Definition story.h:64

Definition at line 628 of file wstag300.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 wstag300.c:68

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 638 of file wstag300.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 349, script349, ( ( 0x128 - 1) << 16 | ( 3 )), ((void *)0) , ((void *)0) },
{ 570, script570, ( ( 0x128 - 1) << 16 | ( 7 )), ((void *)0) , endEvent570 },
{ 571, script571, ( ( 0x128 - 1) << 16 | ( 8 )), ((void *)0) , endEvent571 },
{ 572, script572, ( ( 0x128 - 1) << 16 | ( 9 )), ((void *)0) , endEvent572 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent571(void)
After event 571, with the player: starts the stage's event battle 2 and keeps it from playing again.
Definition wstag300.c:45
s16 script572[]
Definition wstag300.c:236
s16 script349[]
Definition wstag300.c:96
s16 script570[]
Definition wstag300.c:154
void endEvent570(void)
After event 570, with Soldier: starts the stage's event battle 1, sets flag 0x0C11 (which decides whe...
Definition wstag300.c:35
void endEvent572(void)
After event 572, with the player: keeps it from playing again.
Definition wstag300.c:51
s16 script571[]
Definition wstag300.c:176

Definition at line 641 of file wstag300.c.

Referenced by setupStage().