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

WSTAG615: Sewers, West Sector. More...

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

Functions

void updateStage (StageTask *task, void **children)
 Creates the event object of story progress 0x12.
 
void endEvent530 (void)
 After event 530, with WaruMonzaemon and Lisa: starts the stage's event battle 0 and keeps it from playing again.
 
void endEvent531 (void)
 After event 531, with Lisa, Numemon and Lucky Mouse: moves the story on to STORY_LUCKY_MOUSE.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0018; slot list 0 before STORY_STAFF_PASS, 1 from then on.
 

Variables

StageSlot stageSlots0 []
 Defined below, after the code that uses them.
 
StageSlot stageSlots1 []
 
const CVECTOR stageColor = { 0x80, 0x80, 0x80, 0x00 }
 the color the setup copies to FIELDSTG_state.spriteColor
 
s16 script530 []
 
s16 script531 []
 
AreaBattle area0Battle0 = { 81, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle1 = { 81, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle2 = { 81, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle3 = { 81, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle4 = { 82, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle5 = { 82, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle6 = { 82, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle7 = { 82, 12, (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 = { 8, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle1 = { 312, 19, (0x60000000 | ( 0x22 ) << 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 []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
u16 actor0Conditions [] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, (( 0x40 ) << 8 | ( 0x39 )) , 1, 0xFFFF }
 
u16 actor1Conditions [] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, 0xFFFF }
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 1, 4, 0, 0, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0x65, 5, 640, 570, 5 }
 
FieldActorEntry actor2 = { actor2Conditions, ((void *)0) , 0x68, 6, 0, 0, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, ((void *)0) , 0x69, 7, 0, 0, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x97, 8, 624, 544, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x97, 8, 624, 544, 7 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x97, 8, 624, 544, 7 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x97, 8, 624, 544, 7 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x97, 8, 624, 544, 7 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x97, 8, 624, 544, 7 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x97, 8, 668, 554, 1 }
 
FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x11F, 9, 0, 0, 1 }
 
FieldActorEntry * stageActors []
 
StageTile stageObjects []
 The tables and color setupStage gives FIELDSTG_state (FieldState)
 
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

WSTAG615: Sewers, West Sector.

Definition in file wstag615.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 25 of file wstag615.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)

Definition at line 51 of file wstag615.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_600 - 1)

Definition at line 52 of file wstag615.c.

◆ STAGE_FILE

#define STAGE_FILE   0x55D

Definition at line 53 of file wstag615.c.

Function Documentation

◆ updateStage()

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

Creates the event object of story progress 0x12.

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

Definition at line 9 of file wstag615.c.

Here is the call graph for this function:

◆ endEvent530()

void endEvent530 ( void  )

After event 530, with WaruMonzaemon and Lisa: 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 32 of file wstag615.c.

◆ endEvent531()

void endEvent531 ( void  )

After event 531, with Lisa, Numemon and Lucky Mouse: moves the story on to STORY_LUCKY_MOUSE.

Definition at line 38 of file wstag615.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0018; slot list 0 before STORY_STAFF_PASS, 1 from then on.

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_0018: the West Sector's Sewers and Secret Stairs

< ENV_0018: the West Sector's Sewers and Secret Stairs

< 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 59 of file wstag615.c.

Variable Documentation

◆ stageSlots0

StageSlot stageSlots0[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x253, 0x90, 0x240, 7, 0, 0, 0 },
{ { { (0x7000 | ( 0x41 )) , 1 }, { 0xFFFF , 0 } }, 1 , 0x255, 0x268, 0x1AC, 3, 0x64, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 6, 0xB3, 0x238, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 6, 0xC3, 0x2A0, 0, 0, 0, 0 },
{ { { (0x6000 | ( STORY_LISA_SAVED )) , 1 }, { (( 0x40 ) << 8 | ( 0x39 )) , 0 } }, 8 , 0x212, 0, 0, 0, 0, 0, 0 },
}
@ STORY_LISA_SAVED
WSTAG605 (Operation Room), event 511: the player saves Lisa from WaruMonzaemon (the Rusty Rifle)
Definition story.h:79

Defined below, after the code that uses them.

Definition at line 531 of file wstag615.c.

Referenced by setupStage().

◆ stageSlots1

StageSlot stageSlots1[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x253, 0x90, 0x240, 7, 0, 0, 0 },
{ { { (0x7000 | ( 0x41 )) , 1 }, { 0xFFFF , 0 } }, 1 , 0x256, 0x268, 0x1AC, 3, 0x64, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 6, 0xB3, 0x238, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 6, 0xC3, 0x2A0, 0, 0, 0, 0 },
{ { { (0x6000 | ( STORY_LISA_SAVED )) , 1 }, { (( 0x40 ) << 8 | ( 0x39 )) , 0 } }, 8 , 0x212, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 538 of file wstag615.c.

Referenced by setupStage().

◆ stageColor

const CVECTOR stageColor = { 0x80, 0x80, 0x80, 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 45 of file wstag615.c.

Referenced by setupStage().

◆ script530

s16 script530[]

Definition at line 85 of file wstag615.c.

◆ script531

s16 script531[]

Definition at line 161 of file wstag615.c.

◆ area0Battle0

AreaBattle area0Battle0 = { 81, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 257 of file wstag615.c.

◆ area0Battle1

AreaBattle area0Battle1 = { 81, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 258 of file wstag615.c.

◆ area0Battle2

AreaBattle area0Battle2 = { 81, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 259 of file wstag615.c.

◆ area0Battle3

AreaBattle area0Battle3 = { 81, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 260 of file wstag615.c.

◆ area0Battle4

AreaBattle area0Battle4 = { 82, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 261 of file wstag615.c.

◆ area0Battle5

AreaBattle area0Battle5 = { 82, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 262 of file wstag615.c.

◆ area0Battle6

AreaBattle area0Battle6 = { 82, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 263 of file wstag615.c.

◆ area0Battle7

AreaBattle area0Battle7 = { 82, 12, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 264 of file wstag615.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag615.c:264
AreaBattle area0Battle1
Definition wstag615.c:258
AreaBattle area0Battle6
Definition wstag615.c:263
AreaBattle area0Battle3
Definition wstag615.c:260
AreaBattle area0Battle5
Definition wstag615.c:262
AreaBattle area0Battle0
Definition wstag615.c:257
AreaBattle area0Battle2
Definition wstag615.c:259
AreaBattle area0Battle4
Definition wstag615.c:261

Definition at line 265 of file wstag615.c.

◆ area1Battle0

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

Definition at line 270 of file wstag615.c.

◆ area1Battle1

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

Definition at line 271 of file wstag615.c.

◆ area1Battle2

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

Definition at line 272 of file wstag615.c.

◆ area1Battle3

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

Definition at line 273 of file wstag615.c.

◆ area1Battle4

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

Definition at line 274 of file wstag615.c.

◆ area1Battle5

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

Definition at line 275 of file wstag615.c.

◆ area1Battle6

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

Definition at line 276 of file wstag615.c.

◆ area1Battle7

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

Definition at line 277 of file wstag615.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag615.c:276
AreaBattle area1Battle2
Definition wstag615.c:272
AreaBattle area1Battle4
Definition wstag615.c:274
AreaBattle area1Battle5
Definition wstag615.c:275
AreaBattle area1Battle3
Definition wstag615.c:273
AreaBattle area1Battle0
Definition wstag615.c:270
AreaBattle area1Battle1
Definition wstag615.c:271
AreaBattle area1Battle7
Definition wstag615.c:277

Definition at line 278 of file wstag615.c.

◆ area2Battle0

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

Definition at line 283 of file wstag615.c.

◆ area2Battle1

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

Definition at line 284 of file wstag615.c.

◆ area2Battle2

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

Definition at line 285 of file wstag615.c.

◆ area2Battle3

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

Definition at line 286 of file wstag615.c.

◆ area2Battle4

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

Definition at line 287 of file wstag615.c.

◆ area2Battle5

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

Definition at line 288 of file wstag615.c.

◆ area2Battle6

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

Definition at line 289 of file wstag615.c.

◆ area2Battle7

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

Definition at line 290 of file wstag615.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag615.c:290
AreaBattle area2Battle6
Definition wstag615.c:289
AreaBattle area2Battle0
Definition wstag615.c:283
AreaBattle area2Battle4
Definition wstag615.c:287
AreaBattle area2Battle2
Definition wstag615.c:285
AreaBattle area2Battle1
Definition wstag615.c:284
AreaBattle area2Battle5
Definition wstag615.c:288
AreaBattle area2Battle3
Definition wstag615.c:286

Definition at line 291 of file wstag615.c.

◆ area3Battle0

AreaBattle area3Battle0 = { 8, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) }

Definition at line 296 of file wstag615.c.

◆ area3Battle1

AreaBattle area3Battle1 = { 312, 19, (0x60000000 | ( 0x22 ) << 18 | ( 0 )) }

Definition at line 297 of file wstag615.c.

◆ area3Battle2

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

Definition at line 298 of file wstag615.c.

◆ area3Battle3

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

Definition at line 299 of file wstag615.c.

◆ area3Battle4

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

Definition at line 300 of file wstag615.c.

◆ area3Battle5

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

Definition at line 301 of file wstag615.c.

◆ area3Battle6

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

Definition at line 302 of file wstag615.c.

◆ area3Battle7

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

Definition at line 303 of file wstag615.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag615.c:300
AreaBattle area3Battle3
Definition wstag615.c:299
AreaBattle area3Battle0
Definition wstag615.c:296
AreaBattle area3Battle2
Definition wstag615.c:298
AreaBattle area3Battle1
Definition wstag615.c:297
AreaBattle area3Battle6
Definition wstag615.c:302
AreaBattle area3Battle5
Definition wstag615.c:301
AreaBattle area3Battle7
Definition wstag615.c:303

Definition at line 304 of file wstag615.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag615.c:304
BattleList area1Battles
Definition wstag615.c:278
BattleList area2Battles
Definition wstag615.c:291
BattleList area0Battles
Definition wstag615.c:265

Definition at line 309 of file wstag615.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, 0x1A8, 0x168, 0x1A0, 0x68, 0x160, 0x1FE },
{ 0x180, 0x100, 0x1B6, 0x130, 0x1D8, 0x30, 0x170, 0x1FE },
{ 0x140, 0x100, 0x179, 0x100, 0xE4, 0, 0x140, 0x1FD },
{ 0x180, 0x100, 0x180, 0x16E, 0x100, 0x6E, 0x150, 0x1FD },
{ 0x140, 0x100, 0x170, 0x18B, 0xC0, 0x8B, 0x160, 0x1FD },
{ 0x140, 0x100, 0x178, 0x168, 0xE0, 0x68, 0x170, 0x1FD },
}

Definition at line 312 of file wstag615.c.

Referenced by setupStage().

◆ actor4Talks

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

Definition at line 326 of file wstag615.c.

◆ actor5Talks

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

Definition at line 330 of file wstag615.c.

◆ actor6Talks

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

Definition at line 334 of file wstag615.c.

◆ actor7Talks

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

Definition at line 338 of file wstag615.c.

◆ actor8Talks

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

Definition at line 342 of file wstag615.c.

◆ actor9Talks

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

Definition at line 346 of file wstag615.c.

◆ actor10Talks

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

Definition at line 350 of file wstag615.c.

◆ actor0Conditions

u16 actor0Conditions[] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, (( 0x40 ) << 8 | ( 0x39 )) , 1, 0xFFFF }

Definition at line 354 of file wstag615.c.

◆ actor1Conditions

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

Definition at line 355 of file wstag615.c.

◆ actor2Conditions

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

Definition at line 356 of file wstag615.c.

◆ actor3Conditions

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

Definition at line 357 of file wstag615.c.

◆ actor4Conditions

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

Definition at line 358 of file wstag615.c.

◆ actor5Conditions

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

Definition at line 359 of file wstag615.c.

◆ actor6Conditions

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

Definition at line 360 of file wstag615.c.

◆ actor7Conditions

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

Definition at line 361 of file wstag615.c.

◆ actor8Conditions

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

Definition at line 362 of file wstag615.c.

◆ actor9Conditions

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

Definition at line 363 of file wstag615.c.

◆ actor10Conditions

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

Definition at line 364 of file wstag615.c.

◆ actor11Conditions

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

Definition at line 365 of file wstag615.c.

◆ actor0

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

Definition at line 366 of file wstag615.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, ((void *)0) , 0x65, 5, 640, 570, 5 }

Definition at line 367 of file wstag615.c.

◆ actor2

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

Definition at line 368 of file wstag615.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, ((void *)0) , 0x69, 7, 0, 0, 1 }

Definition at line 369 of file wstag615.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x97, 8, 624, 544, 7 }

Definition at line 370 of file wstag615.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x97, 8, 624, 544, 7 }

Definition at line 371 of file wstag615.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x97, 8, 624, 544, 7 }

Definition at line 372 of file wstag615.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x97, 8, 624, 544, 7 }

Definition at line 373 of file wstag615.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x97, 8, 624, 544, 7 }

Definition at line 374 of file wstag615.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x97, 8, 624, 544, 7 }

Definition at line 375 of file wstag615.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x97, 8, 668, 554, 1 }

Definition at line 376 of file wstag615.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, ((void *)0) , 0x11F, 9, 0, 0, 1 }

Definition at line 377 of file wstag615.c.

◆ stageActors

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

Definition at line 378 of file wstag615.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 393 of file wstag615.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_0018; slot list 0 be...
Definition wstag615.c:59

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 546 of file wstag615.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 530, script530, ( ( 0x144 - 1) << 16 | ( 0x15 )), ((void *)0) , endEvent530 },
{ 531, script531, ( ( 0x144 - 1) << 16 | ( 5 )), ((void *)0) , endEvent531 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent530(void)
After event 530, with WaruMonzaemon and Lisa: starts the stage's event battle 0 and keeps it from pla...
Definition wstag615.c:32
void endEvent531(void)
After event 531, with Lisa, Numemon and Lucky Mouse: moves the story on to STORY_LUCKY_MOUSE.
Definition wstag615.c:38
s16 script530[]
Definition wstag615.c:85
s16 script531[]
Definition wstag615.c:161

Definition at line 549 of file wstag615.c.

Referenced by setupStage().