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

WSTAG520: Suzaku Hall, Suzaku City. More...

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

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_01)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_500 - 1)
 
#define STAGE_FILE   0x24B
 
#define STAGE_ARCHIVE   0x3DC
 

Functions

void updateStage (StageTask *task, void **children)
 Creates the event object of story progress 0xA.
 
void endEvent260 (void)
 After event 260, with Suzaku Leader: lets event 261 start and starts the stage's event battle 0.
 
void endEvent261 (void)
 After event 261, with Suzaku Leader: gives the player the Suzaku Badge and moves the story on to STORY_SUZAKU_BADGE.
 
void endEvent695 (void)
 After event 695, with Patamon: moves the story on to STORY_BULBMON_FOUND.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing BGM_0016; BGM_0029 instead at story steps 0x27 to 0x28.
 

Variables

s16 script260 []
 
s16 script261 []
 
s16 script695 []
 
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 = { 4, 18, (0x60000000 | ( 0x23 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle1 = { 302, 18, (0x60000000 | ( 0x23 ) << 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 actor7Talk0Conditions []
 
u16 actor7Talk1Conditions []
 
u16 actor7Talk2Conditions []
 
u16 actor14Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }
 
u16 actor14Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }
 
u16 actor23Talk0Actions [] = { (0x9000 | ( 0x40 )) , 1, 0xFFFF }
 
u16 actor28Talk0Actions [] = { (0x9000 | ( 0x42 )) , 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor11Talks []
 
FieldTalk actor12Talks []
 
FieldTalk actor13Talks []
 
FieldTalk actor14Talks []
 
FieldTalk actor15Talks []
 
FieldTalk actor16Talks []
 
FieldTalk actor17Talks []
 
FieldTalk actor18Talks []
 
FieldTalk actor19Talks []
 
FieldTalk actor20Talks []
 
FieldTalk actor21Talks []
 
FieldTalk actor22Talks []
 
FieldTalk actor23Talks []
 
FieldTalk actor24Talks []
 
FieldTalk actor25Talks []
 
FieldTalk actor26Talks []
 
FieldTalk actor27Talks []
 
FieldTalk actor28Talks []
 
FieldTalk actor29Talks []
 
FieldTalk actor30Talks []
 
FieldTalk actor31Talks []
 
FieldTalk actor32Talks []
 
FieldTalk actor33Talks []
 
FieldTalk actor34Talks []
 
FieldTalk actor35Talks []
 
FieldTalk actor39Talks []
 
FieldTalk actor40Talks []
 
u16 actor0Conditions [] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }
 
u16 actor1Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor16Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor17Conditions []
 
u16 actor18Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }
 
u16 actor19Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }
 
u16 actor20Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor21Conditions [] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF }
 
u16 actor22Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }
 
u16 actor23Conditions [] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }
 
u16 actor24Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor25Conditions []
 
u16 actor26Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }
 
u16 actor27Conditions [] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF }
 
u16 actor28Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }
 
u16 actor29Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor30Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor31Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor32Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor33Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor34Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor35Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }
 
u16 actor39Conditions [] = { (0x7000 | ( 5 )) , 1, 0xFFFF }
 
u16 actor40Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x41, 4, 517, 289, 5 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x42, 5, 321, 193, 3 }
 
FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x67, 6, 400, 303, 7 }
 
FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x67, 6, 400, 303, 7 }
 
FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor32 = { actor32Conditions, actor32Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor33 = { actor33Conditions, actor33Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor34 = { actor34Conditions, actor34Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor35 = { actor35Conditions, actor35Talks, 0x8D, 7, 417, 201, 3 }
 
FieldActorEntry actor36 = { ((void *)0) , ((void *)0) , 0x93, 8, 198, 184, 7 }
 
FieldActorEntry actor37 = { ((void *)0) , ((void *)0) , 0x94, 9, 223, 172, 7 }
 
FieldActorEntry actor38 = { ((void *)0) , ((void *)0) , 0x95, 0xA, 248, 160, 7 }
 
FieldActorEntry actor39 = { actor39Conditions, actor39Talks, 0x9D, 0xB, 417, 201, 3 }
 
FieldActorEntry actor40 = { actor40Conditions, actor40Talks, 0x12C, 0xC, 520, 252, 3 }
 
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

WSTAG520: Suzaku Hall, Suzaku City.

Definition in file wstag520.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 25 of file wstag520.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_01)

Definition at line 57 of file wstag520.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_500 - 1)

Definition at line 58 of file wstag520.c.

◆ STAGE_FILE

#define STAGE_FILE   0x24B

Definition at line 59 of file wstag520.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x3DC

Definition at line 60 of file wstag520.c.

Function Documentation

◆ updateStage()

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

Creates the event object of story progress 0xA.

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

Definition at line 9 of file wstag520.c.

Here is the call graph for this function:

◆ endEvent260()

void endEvent260 ( void  )

After event 260, with Suzaku Leader: lets event 261 start and starts the stage's event battle 0.

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

< action: FIELDSTG_battleFuncs.startEventBattle

Definition at line 32 of file wstag520.c.

◆ endEvent261()

void endEvent261 ( void  )

After event 261, with Suzaku Leader: gives the player the Suzaku Badge and moves the story on to STORY_SUZAKU_BADGE.

Definition at line 41 of file wstag520.c.

◆ endEvent695()

void endEvent695 ( void  )

After event 695, with Patamon: moves the story on to STORY_BULBMON_FOUND.

Definition at line 47 of file wstag520.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing BGM_0016; BGM_0029 instead at story steps 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.

< BGM_0016: Suzaku City and its Hall

< BGM_0016: Suzaku City and its Hall

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

Definition at line 66 of file wstag520.c.

Variable Documentation

◆ script260

s16 script260[]
Initial value:
= {
0x102, 2 , 0x1B9 , 0xD5 , 3 ,
0x100, 0x8D , 0x1A1 , 0xC9 ,
0x101, 0x8D , 1 , 7 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 3 ,
0x300, 0x1E ,
0x200, 0 , 1 , 0x8D , 0 ,
0x301 ,
0x300, 0x1E ,
0x200, 0 , 2 , 2 , 0 ,
0x101, 2 , 7 , 3 ,
0x301 ,
0x101, 2 , 1 , 3 ,
0x300, 0x1E ,
0x200, 0 , 3 , 0x8D , 0 ,
0x301 ,
0x300, 0x1E ,
0 ,
}

Definition at line 90 of file wstag520.c.

◆ script261

s16 script261[]

Definition at line 111 of file wstag520.c.

◆ script695

s16 script695[]

Definition at line 148 of file wstag520.c.

◆ area0Battle0

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

Definition at line 183 of file wstag520.c.

◆ area0Battle1

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

Definition at line 184 of file wstag520.c.

◆ area0Battle2

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

Definition at line 185 of file wstag520.c.

◆ area0Battle3

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

Definition at line 186 of file wstag520.c.

◆ area0Battle4

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

Definition at line 187 of file wstag520.c.

◆ area0Battle5

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

Definition at line 188 of file wstag520.c.

◆ area0Battle6

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

Definition at line 189 of file wstag520.c.

◆ area0Battle7

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

Definition at line 190 of file wstag520.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag520.c:190
AreaBattle area0Battle1
Definition wstag520.c:184
AreaBattle area0Battle6
Definition wstag520.c:189
AreaBattle area0Battle3
Definition wstag520.c:186
AreaBattle area0Battle5
Definition wstag520.c:188
AreaBattle area0Battle0
Definition wstag520.c:183
AreaBattle area0Battle2
Definition wstag520.c:185
AreaBattle area0Battle4
Definition wstag520.c:187

Definition at line 191 of file wstag520.c.

◆ area1Battle0

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

Definition at line 196 of file wstag520.c.

◆ area1Battle1

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

Definition at line 197 of file wstag520.c.

◆ area1Battle2

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

Definition at line 198 of file wstag520.c.

◆ area1Battle3

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

Definition at line 199 of file wstag520.c.

◆ area1Battle4

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

Definition at line 200 of file wstag520.c.

◆ area1Battle5

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

Definition at line 201 of file wstag520.c.

◆ area1Battle6

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

Definition at line 202 of file wstag520.c.

◆ area1Battle7

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

Definition at line 203 of file wstag520.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag520.c:202
AreaBattle area1Battle2
Definition wstag520.c:198
AreaBattle area1Battle4
Definition wstag520.c:200
AreaBattle area1Battle5
Definition wstag520.c:201
AreaBattle area1Battle3
Definition wstag520.c:199
AreaBattle area1Battle0
Definition wstag520.c:196
AreaBattle area1Battle1
Definition wstag520.c:197
AreaBattle area1Battle7
Definition wstag520.c:203

Definition at line 204 of file wstag520.c.

◆ area2Battle0

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

Definition at line 209 of file wstag520.c.

◆ area2Battle1

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

Definition at line 210 of file wstag520.c.

◆ area2Battle2

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

Definition at line 211 of file wstag520.c.

◆ area2Battle3

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

Definition at line 212 of file wstag520.c.

◆ area2Battle4

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

Definition at line 213 of file wstag520.c.

◆ area2Battle5

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

Definition at line 214 of file wstag520.c.

◆ area2Battle6

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

Definition at line 215 of file wstag520.c.

◆ area2Battle7

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

Definition at line 216 of file wstag520.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag520.c:216
AreaBattle area2Battle6
Definition wstag520.c:215
AreaBattle area2Battle0
Definition wstag520.c:209
AreaBattle area2Battle4
Definition wstag520.c:213
AreaBattle area2Battle2
Definition wstag520.c:211
AreaBattle area2Battle1
Definition wstag520.c:210
AreaBattle area2Battle5
Definition wstag520.c:214
AreaBattle area2Battle3
Definition wstag520.c:212

Definition at line 217 of file wstag520.c.

◆ area3Battle0

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

Definition at line 222 of file wstag520.c.

◆ area3Battle1

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

Definition at line 223 of file wstag520.c.

◆ area3Battle2

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

Definition at line 224 of file wstag520.c.

◆ area3Battle3

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

Definition at line 225 of file wstag520.c.

◆ area3Battle4

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

Definition at line 226 of file wstag520.c.

◆ area3Battle5

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

Definition at line 227 of file wstag520.c.

◆ area3Battle6

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

Definition at line 228 of file wstag520.c.

◆ area3Battle7

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

Definition at line 229 of file wstag520.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag520.c:226
AreaBattle area3Battle3
Definition wstag520.c:225
AreaBattle area3Battle0
Definition wstag520.c:222
AreaBattle area3Battle2
Definition wstag520.c:224
AreaBattle area3Battle1
Definition wstag520.c:223
AreaBattle area3Battle6
Definition wstag520.c:228
AreaBattle area3Battle5
Definition wstag520.c:227
AreaBattle area3Battle7
Definition wstag520.c:229

Definition at line 230 of file wstag520.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag520.c:230
BattleList area1Battles
Definition wstag520.c:204
BattleList area2Battles
Definition wstag520.c:217
BattleList area0Battles
Definition wstag520.c:191

Definition at line 235 of file wstag520.c.

Referenced by setupStage().

◆ stageImages

ActorImage stageImages[]
Initial value:
= {
{ 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
{ 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
{ 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
{ 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
{ 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
{ 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
{ 0x140, 0x100, 0x140, 0x19D, 0, 0x9D, 0x160, 0x1FF },
{ 0x140, 0x100, 0x166, 0x19D, 0x98, 0x9D, 0x170, 0x1FF },
{ 0x140, 0x100, 0x168, 0x175, 0xA0, 0x75, 0x160, 0x1FE },
{ 0x140, 0x100, 0x14C, 0x15A, 0x30, 0x5A, 0x170, 0x1FE },
{ 0x140, 0x100, 0x170, 0x175, 0xC0, 0x75, 0x150, 0x1FD },
{ 0x140, 0x100, 0x156, 0x17E, 0x58, 0x7E, 0x160, 0x1FD },
{ 0x140, 0x100, 0x15E, 0x17E, 0x78, 0x7E, 0x170, 0x1FD },
{ 0x140, 0x100, 0x16E, 0x19D, 0xB8, 0x9D, 0x150, 0x1FC },
{ 0x140, 0x100, 0x176, 0x19D, 0xD8, 0x9D, 0x160, 0x1FC },
}

Definition at line 238 of file wstag520.c.

Referenced by setupStage().

◆ actor7Talk0Conditions

u16 actor7Talk0Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x1C )) , 0,
(0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 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 255 of file wstag520.c.

◆ actor7Talk1Conditions

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

Definition at line 260 of file wstag520.c.

◆ actor7Talk2Conditions

u16 actor7Talk2Conditions[]
Initial value:
= {
(0x7000 | ( 0x17 )) , 1,
(0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 0,
0xFFFF ,
}

Definition at line 265 of file wstag520.c.

◆ actor14Talk0Conditions

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

Definition at line 270 of file wstag520.c.

◆ actor14Talk1Conditions

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

Definition at line 271 of file wstag520.c.

◆ actor23Talk0Actions

u16 actor23Talk0Actions[] = { (0x9000 | ( 0x40 )) , 1, 0xFFFF }

Definition at line 272 of file wstag520.c.

◆ actor28Talk0Actions

u16 actor28Talk0Actions[] = { (0x9000 | ( 0x42 )) , 1, 0xFFFF }

Definition at line 273 of file wstag520.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0xA2 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 274 of file wstag520.c.

◆ actor1Talks

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

Definition at line 278 of file wstag520.c.

◆ actor2Talks

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

Definition at line 282 of file wstag520.c.

◆ actor3Talks

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

Definition at line 286 of file wstag520.c.

◆ actor4Talks

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

Definition at line 290 of file wstag520.c.

◆ actor5Talks

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

Definition at line 294 of file wstag520.c.

◆ actor6Talks

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

Definition at line 298 of file wstag520.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ actor7Talk0Conditions, ((void *)0) , 0x99 },
{ actor7Talk1Conditions, ((void *)0) , 0x9C },
{ actor7Talk2Conditions, ((void *)0) , 0x99 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor7Talk1Conditions[]
Definition wstag520.c:260
u16 actor7Talk2Conditions[]
Definition wstag520.c:265
u16 actor7Talk0Conditions[]
Definition wstag520.c:255

Definition at line 302 of file wstag520.c.

◆ actor8Talks

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

Definition at line 308 of file wstag520.c.

◆ actor9Talks

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

Definition at line 312 of file wstag520.c.

◆ actor10Talks

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

Definition at line 316 of file wstag520.c.

◆ actor11Talks

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

Definition at line 320 of file wstag520.c.

◆ actor12Talks

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

Definition at line 324 of file wstag520.c.

◆ actor13Talks

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

Definition at line 328 of file wstag520.c.

◆ actor14Talks

FieldTalk actor14Talks[]
Initial value:
= {
{ actor14Talk0Conditions, ((void *)0) , 0x9D },
{ actor14Talk1Conditions, ((void *)0) , 0x3D },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor14Talk1Conditions[]
Definition wstag520.c:271
u16 actor14Talk0Conditions[]
Definition wstag520.c:270

Definition at line 332 of file wstag520.c.

◆ actor15Talks

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

Definition at line 337 of file wstag520.c.

◆ actor16Talks

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

Definition at line 341 of file wstag520.c.

◆ actor17Talks

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

Definition at line 345 of file wstag520.c.

◆ actor18Talks

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

Definition at line 349 of file wstag520.c.

◆ actor19Talks

FieldTalk actor19Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0xA3 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 353 of file wstag520.c.

◆ actor20Talks

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

Definition at line 357 of file wstag520.c.

◆ actor21Talks

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

Definition at line 361 of file wstag520.c.

◆ actor22Talks

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

Definition at line 365 of file wstag520.c.

◆ actor23Talks

FieldTalk actor23Talks[]
Initial value:
= {
{ ((void *)0) , actor23Talk0Actions, 0xA3 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor23Talk0Actions[]
Definition wstag520.c:272

Definition at line 369 of file wstag520.c.

◆ actor24Talks

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

Definition at line 373 of file wstag520.c.

◆ actor25Talks

FieldTalk actor25Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x170 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 377 of file wstag520.c.

◆ actor26Talks

FieldTalk actor26Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x170 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 381 of file wstag520.c.

◆ actor27Talks

FieldTalk actor27Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x11D },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 385 of file wstag520.c.

◆ actor28Talks

FieldTalk actor28Talks[]
Initial value:
= {
{ ((void *)0) , actor28Talk0Actions, 0x92 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor28Talk0Actions[]
Definition wstag520.c:273

Definition at line 389 of file wstag520.c.

◆ actor29Talks

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

Definition at line 393 of file wstag520.c.

◆ actor30Talks

FieldTalk actor30Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x95 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 397 of file wstag520.c.

◆ actor31Talks

FieldTalk actor31Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x98 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 401 of file wstag520.c.

◆ actor32Talks

FieldTalk actor32Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x9B },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 405 of file wstag520.c.

◆ actor33Talks

FieldTalk actor33Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0xB0 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 409 of file wstag520.c.

◆ actor34Talks

FieldTalk actor34Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x9E },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 413 of file wstag520.c.

◆ actor35Talks

FieldTalk actor35Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0xA1 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 417 of file wstag520.c.

◆ actor39Talks

FieldTalk actor39Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0xAD },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 421 of file wstag520.c.

◆ actor40Talks

FieldTalk actor40Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x90 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 425 of file wstag520.c.

◆ actor0Conditions

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

Definition at line 429 of file wstag520.c.

◆ actor1Conditions

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

Definition at line 430 of file wstag520.c.

◆ actor2Conditions

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

Definition at line 431 of file wstag520.c.

◆ actor3Conditions

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

Definition at line 432 of file wstag520.c.

◆ actor4Conditions

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

Definition at line 433 of file wstag520.c.

◆ actor5Conditions

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

Definition at line 434 of file wstag520.c.

◆ actor6Conditions

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

Definition at line 435 of file wstag520.c.

◆ actor7Conditions

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

Definition at line 436 of file wstag520.c.

◆ actor8Conditions

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

Definition at line 437 of file wstag520.c.

◆ actor9Conditions

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

Definition at line 438 of file wstag520.c.

◆ actor10Conditions

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

Definition at line 439 of file wstag520.c.

◆ actor11Conditions

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

Definition at line 440 of file wstag520.c.

◆ actor12Conditions

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

Definition at line 441 of file wstag520.c.

◆ actor13Conditions

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

Definition at line 442 of file wstag520.c.

◆ actor14Conditions

u16 actor14Conditions[] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }

Definition at line 443 of file wstag520.c.

◆ actor15Conditions

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

Definition at line 444 of file wstag520.c.

◆ actor16Conditions

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

Definition at line 445 of file wstag520.c.

◆ actor17Conditions

u16 actor17Conditions[]
Initial value:
= {
(0x7000 | ( 0x17 )) , 1,
(0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 0,
0xFFFF ,
}

Definition at line 446 of file wstag520.c.

◆ actor18Conditions

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

Definition at line 451 of file wstag520.c.

◆ actor19Conditions

u16 actor19Conditions[] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }

Definition at line 452 of file wstag520.c.

◆ actor20Conditions

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

Definition at line 453 of file wstag520.c.

◆ actor21Conditions

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

Definition at line 454 of file wstag520.c.

◆ actor22Conditions

u16 actor22Conditions[] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }

Definition at line 455 of file wstag520.c.

◆ actor23Conditions

u16 actor23Conditions[] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }

Definition at line 456 of file wstag520.c.

◆ actor24Conditions

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

Definition at line 457 of file wstag520.c.

◆ actor25Conditions

u16 actor25Conditions[]
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 458 of file wstag520.c.

◆ actor26Conditions

u16 actor26Conditions[] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }

Definition at line 463 of file wstag520.c.

◆ actor27Conditions

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

Definition at line 464 of file wstag520.c.

◆ actor28Conditions

u16 actor28Conditions[] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }

Definition at line 465 of file wstag520.c.

◆ actor29Conditions

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

Definition at line 466 of file wstag520.c.

◆ actor30Conditions

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

Definition at line 467 of file wstag520.c.

◆ actor31Conditions

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

Definition at line 468 of file wstag520.c.

◆ actor32Conditions

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

Definition at line 469 of file wstag520.c.

◆ actor33Conditions

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

Definition at line 470 of file wstag520.c.

◆ actor34Conditions

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

Definition at line 471 of file wstag520.c.

◆ actor35Conditions

u16 actor35Conditions[] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }

Definition at line 472 of file wstag520.c.

◆ actor39Conditions

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

Definition at line 473 of file wstag520.c.

◆ actor40Conditions

u16 actor40Conditions[] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }

Definition at line 474 of file wstag520.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x41, 4, 517, 289, 5 }

Definition at line 475 of file wstag520.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x41, 4, 517, 289, 5 }

Definition at line 476 of file wstag520.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x41, 4, 517, 289, 5 }

Definition at line 477 of file wstag520.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x41, 4, 517, 289, 5 }

Definition at line 478 of file wstag520.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x41, 4, 517, 289, 5 }

Definition at line 479 of file wstag520.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x41, 4, 517, 289, 5 }

Definition at line 480 of file wstag520.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x41, 4, 517, 289, 5 }

Definition at line 481 of file wstag520.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x41, 4, 517, 289, 5 }

Definition at line 482 of file wstag520.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x41, 4, 517, 289, 5 }

Definition at line 483 of file wstag520.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x41, 4, 517, 289, 5 }

Definition at line 484 of file wstag520.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x41, 4, 517, 289, 5 }

Definition at line 485 of file wstag520.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x41, 4, 517, 289, 5 }

Definition at line 486 of file wstag520.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x42, 5, 321, 193, 3 }

Definition at line 487 of file wstag520.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x42, 5, 321, 193, 3 }

Definition at line 488 of file wstag520.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x42, 5, 321, 193, 3 }

Definition at line 489 of file wstag520.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x42, 5, 321, 193, 3 }

Definition at line 490 of file wstag520.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x42, 5, 321, 193, 3 }

Definition at line 491 of file wstag520.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x42, 5, 321, 193, 3 }

Definition at line 492 of file wstag520.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x42, 5, 321, 193, 3 }

Definition at line 493 of file wstag520.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x42, 5, 321, 193, 3 }

Definition at line 494 of file wstag520.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x42, 5, 321, 193, 3 }

Definition at line 495 of file wstag520.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x42, 5, 321, 193, 3 }

Definition at line 496 of file wstag520.c.

◆ actor22

FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x42, 5, 321, 193, 3 }

Definition at line 497 of file wstag520.c.

◆ actor23

FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x42, 5, 321, 193, 3 }

Definition at line 498 of file wstag520.c.

◆ actor24

FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x42, 5, 321, 193, 3 }

Definition at line 499 of file wstag520.c.

◆ actor25

FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x67, 6, 400, 303, 7 }

Definition at line 500 of file wstag520.c.

◆ actor26

FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x67, 6, 400, 303, 7 }

Definition at line 501 of file wstag520.c.

◆ actor27

FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 502 of file wstag520.c.

◆ actor28

FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 503 of file wstag520.c.

◆ actor29

FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 504 of file wstag520.c.

◆ actor30

FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 505 of file wstag520.c.

◆ actor31

FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 506 of file wstag520.c.

◆ actor32

FieldActorEntry actor32 = { actor32Conditions, actor32Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 507 of file wstag520.c.

◆ actor33

FieldActorEntry actor33 = { actor33Conditions, actor33Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 508 of file wstag520.c.

◆ actor34

FieldActorEntry actor34 = { actor34Conditions, actor34Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 509 of file wstag520.c.

◆ actor35

FieldActorEntry actor35 = { actor35Conditions, actor35Talks, 0x8D, 7, 417, 201, 3 }

Definition at line 510 of file wstag520.c.

◆ actor36

FieldActorEntry actor36 = { ((void *)0) , ((void *)0) , 0x93, 8, 198, 184, 7 }

Definition at line 511 of file wstag520.c.

◆ actor37

FieldActorEntry actor37 = { ((void *)0) , ((void *)0) , 0x94, 9, 223, 172, 7 }

Definition at line 512 of file wstag520.c.

◆ actor38

FieldActorEntry actor38 = { ((void *)0) , ((void *)0) , 0x95, 0xA, 248, 160, 7 }

Definition at line 513 of file wstag520.c.

◆ actor39

FieldActorEntry actor39 = { actor39Conditions, actor39Talks, 0x9D, 0xB, 417, 201, 3 }

Definition at line 514 of file wstag520.c.

◆ actor40

FieldActorEntry actor40 = { actor40Conditions, actor40Talks, 0x12C, 0xC, 520, 252, 3 }

Definition at line 515 of file wstag520.c.

◆ stageActors

FieldActorEntry* stageActors[]

Definition at line 516 of file wstag520.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 323, 114, 0, 0 },
{ 1, 0, 0xA0, 6, 0xA, 0, 0, 0, 0, 0, 367, 110, 0, 0 },
{ 1, 0, 0x40, 4, 7, 0, 0, 0, 0, 0, 205, 181, 199, 0 },
{ 1, 0, 0x40, 4, 8, 0, 0, 0, 0, 0, 237, 165, 183, 0 },
{ 1, 0, 0x40, 4, 9, 0, 0, 0, 0, 0, 270, 149, 167, 0 },
{ 1, 0, 0x40, 4, 0x33, 2, 0, 1, 4, 0, 186, 161, 199, 0 },
{ 1, 0, 0x40, 4, 0x33, 2, 0, 1, 4, 0, 218, 145, 183, 0 },
{ 1, 0, 0x40, 4, 0x33, 2, 0, 1, 4, 0, 252, 129, 167, 0 },
{ 1, 0, 0x58, 4, 0, 0, 0, 0, 0, 0, 521, 189, 272, 0 },
{ 1, 0, 0xA0, 4, 1, 0, 0, 0, 0, 0, 367, 110, 256, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 230, 243, 272, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 259, 221, 255, 0 },
{ 1, 0, 0x58, 4, 4, 0, 0, 0, 0, 0, 171, 118, 198, 0 },
{ 1, 0, 0x55, 4, 5, 0, 0, 0, 0, 0, 138, 106, 182, 0 },
{ 1, 0, 0x5C, 4, 6, 0, 0, 0, 0, 0, 263, 68, 153, 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 560 of file wstag520.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x23E, 0x32A, 0x9C, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x23E, 0x238, 0x8C, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0x1CE, 0xE6, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0x1BE, 0x12E, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 6, 0x220, 0x150, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 6, 0x230, 0x1B8, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 578 of file wstag520.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 BGM_0016; BGM_0029 instead at story s...
Definition wstag520.c:66

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 587 of file wstag520.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 260, script260, ( ( 0x13D - 1) << 16 | ( 1 )), ((void *)0) , endEvent260 },
{ 261, script261, ( ( 0x13D - 1) << 16 | ( 2 )), ((void *)0) , endEvent261 },
{ 695, script695, ( ( 0x13D - 1) << 16 | ( 0x20 )), ((void *)0) , endEvent695 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent261(void)
After event 261, with Suzaku Leader: gives the player the Suzaku Badge and moves the story on to STOR...
Definition wstag520.c:41
s16 script695[]
Definition wstag520.c:148
void endEvent695(void)
After event 695, with Patamon: moves the story on to STORY_BULBMON_FOUND.
Definition wstag520.c:47
s16 script260[]
Definition wstag520.c:90
void endEvent260(void)
After event 260, with Suzaku Leader: lets event 261 start and starts the stage's event battle 0.
Definition wstag520.c:32
s16 script261[]
Definition wstag520.c:111

Definition at line 590 of file wstag520.c.

Referenced by setupStage().