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

WSTAG525: Suzaku UG Lake, South Sector. More...

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

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_500 - 1)
 
#define STAGE_FILE   0x3C3
 

Functions

void updateStage (StageTask *task, void **children)
 Back from the battle after event 1273, starts event 1274, with Kyukimon, unless it has played.
 
void endEvent550 (void)
 After event 550, with Nick and Keith: lets event 551 of WSTAG620 start.
 
void endEvent1273 (void)
 After event 1273, with Kyukimon: lets event 1274 start and starts the stage's event battle 0.
 
void endEvent1274 (void)
 After event 1274, with Kyukimon: gives the player the Kotemon DDNA and keeps it from playing again.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0015.
 

Variables

s16 script550 []
 
s16 script1273 []
 
s16 script1274 []
 
AreaBattle area0Battle0 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle1 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle2 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle3 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle4 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle5 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle6 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle7 = { 65, 27, (0x60000000 | ( 2 ) << 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 = { 268, 27, (0x60000000 | ( 0x22 ) << 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 actor3Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x16 )) , 0, 0xFFFF }
 
u16 actor3Talk0Actions [] = { (0x9000 | ( 0x29 )) , 1, (( 0x1C ) << 8 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor3Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x16 )) , 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor3Talks []
 
u16 actor0Conditions [] = { (( 2 ) << 8 | ( 8 )) , 0, 0xFFFF }
 
u16 actor1Conditions []
 
u16 actor2Conditions []
 
u16 actor3Conditions [] = { (( 6 ) << 8 | ( 4 )) , 1, (0x8000 | ( 0 ) << 9 | ( 0x13 )), 0, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 545, 177, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0x66, 5, 113, 729, 5 }
 
FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0x67, 6, 145, 713, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x80, 7, 128, 168, 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

WSTAG525: Suzaku UG Lake, South Sector.

Definition in file wstag525.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 25 of file wstag525.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)

Definition at line 53 of file wstag525.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_500 - 1)

Definition at line 54 of file wstag525.c.

◆ STAGE_FILE

#define STAGE_FILE   0x3C3

Definition at line 55 of file wstag525.c.

Function Documentation

◆ updateStage()

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

Back from the battle after event 1273, starts event 1274, with Kyukimon, unless it has played.

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

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

Definition at line 9 of file wstag525.c.

Here is the call graph for this function:

◆ endEvent550()

void endEvent550 ( void  )

After event 550, with Nick and Keith: lets event 551 of WSTAG620 start.

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

Definition at line 29 of file wstag525.c.

◆ endEvent1273()

void endEvent1273 ( void  )

After event 1273, with Kyukimon: lets event 1274 start and starts the stage's event battle 0.

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

< action: FIELDSTG_battleFuncs.startEventBattle

Definition at line 34 of file wstag525.c.

◆ endEvent1274()

void endEvent1274 ( void  )

After event 1274, with Kyukimon: gives the player the Kotemon DDNA and keeps it from playing again.

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

Definition at line 43 of file wstag525.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0015.

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

< ENV_0015: the UG Lake

< ENV_0015: the UG Lake

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

< a cell's value: its battle area (FieldBattles), or 0

Definition at line 58 of file wstag525.c.

Variable Documentation

◆ script550

s16 script550[]

Definition at line 79 of file wstag525.c.

◆ script1273

s16 script1273[]
Initial value:
= {
0x600, 1 , 2 ,
0x102, 2 , 0xA0 , 0xB8 , 3 ,
0x100, 0x80 , 0x80 , 0xA8 ,
0x101, 0x80 , 1 , 7 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 3 ,
0x300, 6 ,
0x300, 0x1E ,
0x200, 0 , 1 , 2 , 1 ,
0x101, 2 , 7 , 3 ,
0x301 ,
0x101, 2 , 1 , 3 ,
0x300, 0x1E ,
0x200, 0 , 2 , 0x80 , 2 ,
0x301 ,
0x300, 0x1E ,
0 ,
}

Definition at line 188 of file wstag525.c.

◆ script1274

s16 script1274[]
Initial value:
= {
0x600, 1 , 2 ,
0x100, 2 , 0xA0 , 0xB8 ,
0x101, 2 , 1 , 3 ,
0x100, 0x80 , 0x80 , 0xA8 ,
0x101, 0x80 , 1 , 7 ,
0x300, 0x78 ,
0x200, 0 , 1 , 2 , 1 ,
0x101, 2 , 7 , 3 ,
0x301 ,
0x101, 2 , 1 , 3 ,
0x300, 0x1E ,
0x200, 0 , 2 , 0x80 , 2 ,
0x301 ,
0x101, 0x32D , 0x34A , 2 ,
0x300, 0x1E ,
0x200, 0 , 3 , 2 , 1 ,
0x101, 2 , 7 , 3 ,
0x301 ,
0x101, 2 , 1 , 3 ,
0x300, 0x3C ,
0 ,
}

Definition at line 208 of file wstag525.c.

◆ area0Battle0

AreaBattle area0Battle0 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 231 of file wstag525.c.

◆ area0Battle1

AreaBattle area0Battle1 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 232 of file wstag525.c.

◆ area0Battle2

AreaBattle area0Battle2 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 233 of file wstag525.c.

◆ area0Battle3

AreaBattle area0Battle3 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 234 of file wstag525.c.

◆ area0Battle4

AreaBattle area0Battle4 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 235 of file wstag525.c.

◆ area0Battle5

AreaBattle area0Battle5 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 236 of file wstag525.c.

◆ area0Battle6

AreaBattle area0Battle6 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 237 of file wstag525.c.

◆ area0Battle7

AreaBattle area0Battle7 = { 65, 27, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 238 of file wstag525.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag525.c:238
AreaBattle area0Battle1
Definition wstag525.c:232
AreaBattle area0Battle6
Definition wstag525.c:237
AreaBattle area0Battle3
Definition wstag525.c:234
AreaBattle area0Battle5
Definition wstag525.c:236
AreaBattle area0Battle0
Definition wstag525.c:231
AreaBattle area0Battle2
Definition wstag525.c:233
AreaBattle area0Battle4
Definition wstag525.c:235

Definition at line 239 of file wstag525.c.

◆ area1Battle0

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

Definition at line 244 of file wstag525.c.

◆ area1Battle1

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

Definition at line 245 of file wstag525.c.

◆ area1Battle2

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

Definition at line 246 of file wstag525.c.

◆ area1Battle3

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

Definition at line 247 of file wstag525.c.

◆ area1Battle4

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

Definition at line 248 of file wstag525.c.

◆ area1Battle5

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

Definition at line 249 of file wstag525.c.

◆ area1Battle6

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

Definition at line 250 of file wstag525.c.

◆ area1Battle7

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

Definition at line 251 of file wstag525.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag525.c:250
AreaBattle area1Battle2
Definition wstag525.c:246
AreaBattle area1Battle4
Definition wstag525.c:248
AreaBattle area1Battle5
Definition wstag525.c:249
AreaBattle area1Battle3
Definition wstag525.c:247
AreaBattle area1Battle0
Definition wstag525.c:244
AreaBattle area1Battle1
Definition wstag525.c:245
AreaBattle area1Battle7
Definition wstag525.c:251

Definition at line 252 of file wstag525.c.

◆ area2Battle0

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

Definition at line 257 of file wstag525.c.

◆ area2Battle1

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

Definition at line 258 of file wstag525.c.

◆ area2Battle2

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

Definition at line 259 of file wstag525.c.

◆ area2Battle3

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

Definition at line 260 of file wstag525.c.

◆ area2Battle4

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

Definition at line 261 of file wstag525.c.

◆ area2Battle5

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

Definition at line 262 of file wstag525.c.

◆ area2Battle6

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

Definition at line 263 of file wstag525.c.

◆ area2Battle7

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

Definition at line 264 of file wstag525.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag525.c:264
AreaBattle area2Battle6
Definition wstag525.c:263
AreaBattle area2Battle0
Definition wstag525.c:257
AreaBattle area2Battle4
Definition wstag525.c:261
AreaBattle area2Battle2
Definition wstag525.c:259
AreaBattle area2Battle1
Definition wstag525.c:258
AreaBattle area2Battle5
Definition wstag525.c:262
AreaBattle area2Battle3
Definition wstag525.c:260

Definition at line 265 of file wstag525.c.

◆ area3Battle0

AreaBattle area3Battle0 = { 268, 27, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) }

Definition at line 270 of file wstag525.c.

◆ area3Battle1

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

Definition at line 271 of file wstag525.c.

◆ area3Battle2

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

Definition at line 272 of file wstag525.c.

◆ area3Battle3

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

Definition at line 273 of file wstag525.c.

◆ area3Battle4

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

Definition at line 274 of file wstag525.c.

◆ area3Battle5

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

Definition at line 275 of file wstag525.c.

◆ area3Battle6

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

Definition at line 276 of file wstag525.c.

◆ area3Battle7

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

Definition at line 277 of file wstag525.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag525.c:274
AreaBattle area3Battle3
Definition wstag525.c:273
AreaBattle area3Battle0
Definition wstag525.c:270
AreaBattle area3Battle2
Definition wstag525.c:272
AreaBattle area3Battle1
Definition wstag525.c:271
AreaBattle area3Battle6
Definition wstag525.c:276
AreaBattle area3Battle5
Definition wstag525.c:275
AreaBattle area3Battle7
Definition wstag525.c:277

Definition at line 278 of file wstag525.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag525.c:278
BattleList area1Battles
Definition wstag525.c:252
BattleList area2Battles
Definition wstag525.c:265
BattleList area0Battles
Definition wstag525.c:239

Definition at line 283 of file wstag525.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, 0x19A, 0x198, 0x168, 0x98, 0x170, 0x1FE },
{ 0x140, 0x100, 0x16E, 0x1C0, 0xB8, 0xC0, 0x170, 0x1FD },
{ 0x140, 0x100, 0x174, 0x1C0, 0xD0, 0xC0, 0x170, 0x1FC },
{ 0x140, 0x100, 0x154, 0x1C0, 0x50, 0xC0, 0x170, 0x1FB },
}

Definition at line 286 of file wstag525.c.

Referenced by setupStage().

◆ actor0Talk0Actions

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

Definition at line 298 of file wstag525.c.

◆ actor3Talk0Conditions

u16 actor3Talk0Conditions[] = { (( 0x1C ) << 8 | ( 0x16 )) , 0, 0xFFFF }

Definition at line 304 of file wstag525.c.

◆ actor3Talk0Actions

u16 actor3Talk0Actions[] = { (0x9000 | ( 0x29 )) , 1, (( 0x1C ) << 8 | ( 0x16 )) , 1, 0xFFFF }

Definition at line 305 of file wstag525.c.

◆ actor3Talk1Conditions

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

Definition at line 306 of file wstag525.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x251 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag525.c:298

Definition at line 307 of file wstag525.c.

◆ actor3Talks

FieldTalk actor3Talks[]
Initial value:
= {
{ actor3Talk1Conditions, ((void *)0) , 0x2C6 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor3Talk0Conditions[]
Definition wstag525.c:304
u16 actor3Talk1Conditions[]
Definition wstag525.c:306
u16 actor3Talk0Actions[]
Definition wstag525.c:305

Definition at line 311 of file wstag525.c.

◆ actor0Conditions

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

Definition at line 316 of file wstag525.c.

◆ actor1Conditions

u16 actor1Conditions[]
Initial value:
= {
(0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1,
(( 0x1C ) << 8 | ( 0x1C )) , 1,
0xFFFF ,
}
@ STORY_BYAKKO_LEADER_FOUGHT
WSTAG620 (the rebels' hideout), event 534: the Byakko Leader takes the player for the A....
Definition story.h:85

Definition at line 317 of file wstag525.c.

◆ actor2Conditions

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

Definition at line 322 of file wstag525.c.

◆ actor3Conditions

u16 actor3Conditions[] = { (( 6 ) << 8 | ( 4 )) , 1, (0x8000 | ( 0 ) << 9 | ( 0x13 )), 0, 0xFFFF }

Definition at line 327 of file wstag525.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x21, 4, 545, 177, 1 }

Definition at line 328 of file wstag525.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0x66, 5, 113, 729, 5 }

Definition at line 329 of file wstag525.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0x67, 6, 145, 713, 1 }

Definition at line 330 of file wstag525.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x80, 7, 128, 168, 7 }

Definition at line 331 of file wstag525.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag525.c:328
FieldActorEntry actor2
Definition wstag525.c:330
FieldActorEntry actor1
Definition wstag525.c:329
FieldActorEntry actor3
Definition wstag525.c:331

Definition at line 332 of file wstag525.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 339 of file wstag525.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E0, 0x240, 0xD8, 1, 0, 7, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 5, 0x22F, 0x3C8, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 5, 0x220, 0x372, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 5, 0x251, 0x2F7, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 5, 0x260, 0x2A1, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 0xA, 0x1C0, 0x181, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 0xA, 0x1D0, 0xDA, 0, 0, 0, 0 },
{ { { (( 0x1C ) << 8 | ( 0x1C )) , 1 }, { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1 } }, 8 , 0x226, 0, 0, 0, 0, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E0, 0x240, 0xD8, 1, 0, 7, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 410 of file wstag525.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 the ambience ENV_0015.
Definition wstag525.c:58

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 422 of file wstag525.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 550, script550, ( ( 0x13D - 1) << 16 | ( 0x1C )), ((void *)0) , endEvent550 },
{ 1273, script1273, ( ( 0x13D - 1) << 16 | ( 0x12 )), ((void *)0) , endEvent1273 },
{ 1274, script1274, ( ( 0x13D - 1) << 16 | ( 0x13 )), ((void *)0) , endEvent1274 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script1274[]
Definition wstag525.c:208
void endEvent550(void)
After event 550, with Nick and Keith: lets event 551 of WSTAG620 start.
Definition wstag525.c:29
s16 script550[]
Definition wstag525.c:79
void endEvent1274(void)
After event 1274, with Kyukimon: gives the player the Kotemon DDNA and keeps it from playing again.
Definition wstag525.c:43
void endEvent1273(void)
After event 1273, with Kyukimon: lets event 1274 start and starts the stage's event battle 0.
Definition wstag525.c:34
s16 script1273[]
Definition wstag525.c:188

Definition at line 425 of file wstag525.c.

Referenced by setupStage().