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

WSTAG410: East Station, East Sector. More...

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

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)
 
#define STAGE_FILE   0x39D
 

Functions

void endEvent90 (void)
 After event 90, with the player: moves the story on to STORY_FAKE_BLUE_CARD.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing BGM_0012; BGM_0029 instead at story steps 0x27 to 0x28.
 

Variables

const CVECTOR stageColor = { 0x80, 0x80, 0x80, 0x00 }
 the color the setup copies to FIELDSTG_state.spriteColor
 
s16 script90 []
 
s16 script140 []
 
s16 script142 []
 
s16 script143 []
 
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 = { 208, 20, (0x60000000 | ( 3 ) << 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 actor0Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor0Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor0Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 0, 0xFFFF }
 
u16 actor0Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 1, (0x7200 | ( 3 )) , 0, 0xFFFF }
 
u16 actor0Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }
 
u16 actor0Talk3Conditions []
 
u16 actor0Talk3Actions [] = { (( 0xE ) << 8 | ( 8 )) , 1, (0x7400 | ( 0 )) , 1, 0xFFFF }
 
u16 actor0Talk4Conditions []
 
u16 actor0Talk5Conditions []
 
u16 actor0Talk6Conditions []
 
u16 actor0Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }
 
u16 actor1Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor1Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor1Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor1Talk2Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 1, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor1Talk2Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor2Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor2Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor2Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 0, 0xFFFF }
 
u16 actor2Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 1, (0x7200 | ( 3 )) , 0, 0xFFFF }
 
u16 actor2Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }
 
u16 actor2Talk3Conditions []
 
u16 actor2Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor2Talk4Conditions []
 
u16 actor2Talk5Conditions []
 
u16 actor2Talk6Conditions []
 
u16 actor2Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }
 
u16 actor3Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor3Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor3Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 0, 0xFFFF }
 
u16 actor3Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 1, (0x7200 | ( 3 )) , 0, 0xFFFF }
 
u16 actor3Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }
 
u16 actor3Talk3Conditions []
 
u16 actor3Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor3Talk4Conditions []
 
u16 actor3Talk5Conditions []
 
u16 actor3Talk6Conditions []
 
u16 actor3Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }
 
u16 actor5Talk0Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x18E )), 1, 0xFFFF }
 
u16 actor5Talk0Actions [] = { (0x9000 | ( 0xA )) , 1, 0xFFFF }
 
u16 actor5Talk1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x18E )), 0, (0x8000 | ( 0 ) << 9 | ( 0x18F )), 0, 0xFFFF }
 
u16 actor5Talk2Conditions []
 
u16 actor5Talk2Actions []
 
u16 actor5Talk3Conditions []
 
u16 actor6Talk0Actions [] = { (0x9000 | ( 0x5F )) , 1, 0xFFFF }
 
u16 actor7Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor7Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 0, 0xFFFF }
 
u16 actor7Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 1, (0x7200 | ( 3 )) , 0, 0xFFFF }
 
u16 actor7Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }
 
u16 actor7Talk3Conditions []
 
u16 actor7Talk3Actions [] = { (( 0xE ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor7Talk4Conditions []
 
u16 actor7Talk5Conditions []
 
u16 actor7Talk6Conditions []
 
u16 actor7Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
u16 actor0Conditions []
 
u16 actor1Conditions []
 
u16 actor2Conditions []
 
u16 actor3Conditions []
 
u16 actor4Conditions []
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_FAKE_BLUE_CARD )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x14 )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x30, 4, 624, 152, 7 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x30, 4, 624, 152, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x30, 4, 624, 152, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x30, 4, 624, 152, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x30, 4, 624, 152, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x3F, 5, 463, 328, 5 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x3F, 5, 463, 328, 5 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x9D, 6, 624, 152, 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

WSTAG410: East Station, East Sector.

Definition in file wstag410.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)

Definition at line 22 of file wstag410.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)

Definition at line 23 of file wstag410.c.

◆ STAGE_FILE

#define STAGE_FILE   0x39D

Definition at line 24 of file wstag410.c.

Function Documentation

◆ endEvent90()

void endEvent90 ( void  )

After event 90, with the player: moves the story on to STORY_FAKE_BLUE_CARD.

Definition at line 12 of file wstag410.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing BGM_0012; 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_0012: the East and South Stations

< BGM_0012: the East and South Stations

< 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 30 of file wstag410.c.

Variable Documentation

◆ 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 16 of file wstag410.c.

Referenced by setupStage().

◆ script90

s16 script90[]
Initial value:
= {
0x102, 2 , 0x1DE , 0x140 , 1 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 1 ,
0x300, 0x1E ,
0x200, 0 , 1 , 2 , 0 ,
0x301 ,
0x300, 0x1E ,
0x200, 0 , 2 , 2 , 4 ,
0x301 ,
0x300, 0x1E ,
0x101, 0x323 , 0x325 , 2 ,
0x300, 0x3C ,
0x101, 0x323 , 0x326 , 2 ,
0x300, 0x1E ,
0x200, 0 , 3 , 2 , 0 ,
0x301 ,
0x300, 0x1E ,
0x200, 0 , 4 , 2 , 4 ,
0x301 ,
0x300, 0x1E ,
0x200, 0 , 5 , 2 , 0 ,
0x301 ,
0x300, 0x1E ,
0x102, 2 , 0x20E , 0x128 , 5 ,
0x300, 0x1E ,
0x304, 0x22A , 0xD0 , 0x2FC , 7 ,
0 ,
}

Definition at line 55 of file wstag410.c.

◆ script140

s16 script140[]

Definition at line 85 of file wstag410.c.

◆ script142

s16 script142[]
Initial value:
= {
0x102, 2 , 0x1DE , 0x140 , 1 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 1 ,
0x300, 0x1E ,
0x200, 0 , 1 , 2 , 4 ,
0x301 ,
0x300, 0x1E ,
0x101, 0x32D , 0x338 , 2 ,
0x300, 0x3C ,
0x101, 0x32D , 0x339 , 2 ,
0x300, 0x1E ,
0x300, 0x1E ,
0x200, 0 , 2 , 2 , 2 ,
0x101, 2 , 7 , 1 ,
0x301 ,
0x101, 2 , 1 , 1 ,
0x300, 0x1E ,
0x101, 2 , 1 , 5 ,
0x300, 0x1E ,
0x102, 2 , 0x1EF , 0x139 , 5 ,
0x302, 2 ,
0x102, 2 , 0x19F , 0x111 , 3 ,
0x302, 2 ,
0x102, 2 , 0x13F , 0x141 , 1 ,
0x300, 0x3C ,
0x304, 0x22D , 0x114 , 0x157 , 1 ,
0 ,
}

Definition at line 120 of file wstag410.c.

◆ script143

s16 script143[]
Initial value:
= {
0x102, 2 , 0x1DE , 0x140 , 1 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 1 ,
0x300, 0x1E ,
0x101, 0x32D , 0x338 , 2 ,
0x300, 0x78 ,
0x101, 0x32D , 0x339 , 2 ,
0x300, 0x1E ,
0x200, 0 , 1 , 2 , 4 ,
0x301 ,
0x101, 2 , 1 , 3 ,
0x300, 0x1E ,
0x102, 2 , 0x18E , 0x118 , 3 ,
0x302, 2 ,
0x102, 2 , 0x14E , 0x138 , 1 ,
0x300, 0x3C ,
0x304, 0x232 , 0x1C0 , 0xD0 , 1 ,
0 ,
}

Definition at line 150 of file wstag410.c.

◆ area0Battle0

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

Definition at line 171 of file wstag410.c.

◆ area0Battle1

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

Definition at line 172 of file wstag410.c.

◆ area0Battle2

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

Definition at line 173 of file wstag410.c.

◆ area0Battle3

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

Definition at line 174 of file wstag410.c.

◆ area0Battle4

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

Definition at line 175 of file wstag410.c.

◆ area0Battle5

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

Definition at line 176 of file wstag410.c.

◆ area0Battle6

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

Definition at line 177 of file wstag410.c.

◆ area0Battle7

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

Definition at line 178 of file wstag410.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag410.c:178
AreaBattle area0Battle1
Definition wstag410.c:172
AreaBattle area0Battle6
Definition wstag410.c:177
AreaBattle area0Battle3
Definition wstag410.c:174
AreaBattle area0Battle5
Definition wstag410.c:176
AreaBattle area0Battle0
Definition wstag410.c:171
AreaBattle area0Battle2
Definition wstag410.c:173
AreaBattle area0Battle4
Definition wstag410.c:175

Definition at line 179 of file wstag410.c.

◆ area1Battle0

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

Definition at line 184 of file wstag410.c.

◆ area1Battle1

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

Definition at line 185 of file wstag410.c.

◆ area1Battle2

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

Definition at line 186 of file wstag410.c.

◆ area1Battle3

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

Definition at line 187 of file wstag410.c.

◆ area1Battle4

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

Definition at line 188 of file wstag410.c.

◆ area1Battle5

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

Definition at line 189 of file wstag410.c.

◆ area1Battle6

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

Definition at line 190 of file wstag410.c.

◆ area1Battle7

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

Definition at line 191 of file wstag410.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag410.c:190
AreaBattle area1Battle2
Definition wstag410.c:186
AreaBattle area1Battle4
Definition wstag410.c:188
AreaBattle area1Battle5
Definition wstag410.c:189
AreaBattle area1Battle3
Definition wstag410.c:187
AreaBattle area1Battle0
Definition wstag410.c:184
AreaBattle area1Battle1
Definition wstag410.c:185
AreaBattle area1Battle7
Definition wstag410.c:191

Definition at line 192 of file wstag410.c.

◆ area2Battle0

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

Definition at line 197 of file wstag410.c.

◆ area2Battle1

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

Definition at line 198 of file wstag410.c.

◆ area2Battle2

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

Definition at line 199 of file wstag410.c.

◆ area2Battle3

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

Definition at line 200 of file wstag410.c.

◆ area2Battle4

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

Definition at line 201 of file wstag410.c.

◆ area2Battle5

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

Definition at line 202 of file wstag410.c.

◆ area2Battle6

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

Definition at line 203 of file wstag410.c.

◆ area2Battle7

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

Definition at line 204 of file wstag410.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag410.c:204
AreaBattle area2Battle6
Definition wstag410.c:203
AreaBattle area2Battle0
Definition wstag410.c:197
AreaBattle area2Battle4
Definition wstag410.c:201
AreaBattle area2Battle2
Definition wstag410.c:199
AreaBattle area2Battle1
Definition wstag410.c:198
AreaBattle area2Battle5
Definition wstag410.c:202
AreaBattle area2Battle3
Definition wstag410.c:200

Definition at line 205 of file wstag410.c.

◆ area3Battle0

AreaBattle area3Battle0 = { 208, 20, (0x60000000 | ( 3 ) << 18 | ( 0 )) }

Definition at line 210 of file wstag410.c.

◆ area3Battle1

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

Definition at line 211 of file wstag410.c.

◆ area3Battle2

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

Definition at line 212 of file wstag410.c.

◆ area3Battle3

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

Definition at line 213 of file wstag410.c.

◆ area3Battle4

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

Definition at line 214 of file wstag410.c.

◆ area3Battle5

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

Definition at line 215 of file wstag410.c.

◆ area3Battle6

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

Definition at line 216 of file wstag410.c.

◆ area3Battle7

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

Definition at line 217 of file wstag410.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag410.c:214
AreaBattle area3Battle3
Definition wstag410.c:213
AreaBattle area3Battle0
Definition wstag410.c:210
AreaBattle area3Battle2
Definition wstag410.c:212
AreaBattle area3Battle1
Definition wstag410.c:211
AreaBattle area3Battle6
Definition wstag410.c:216
AreaBattle area3Battle5
Definition wstag410.c:215
AreaBattle area3Battle7
Definition wstag410.c:217

Definition at line 218 of file wstag410.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag410.c:218
BattleList area1Battles
Definition wstag410.c:192
BattleList area2Battles
Definition wstag410.c:205
BattleList area0Battles
Definition wstag410.c:179

Definition at line 223 of file wstag410.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, 0x174, 0x100, 0xD0, 0, 0x170, 0x1FF },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0x140, 0x100, 0x174, 0x128, 0xD0, 0x28, 0x160, 0x1FE },
}

Definition at line 226 of file wstag410.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

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

Definition at line 237 of file wstag410.c.

◆ actor0Talk0Actions

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

Definition at line 238 of file wstag410.c.

◆ actor0Talk1Conditions

u16 actor0Talk1Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 0, 0xFFFF }

Definition at line 239 of file wstag410.c.

◆ actor0Talk2Conditions

u16 actor0Talk2Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 1, (0x7200 | ( 3 )) , 0, 0xFFFF }

Definition at line 240 of file wstag410.c.

◆ actor0Talk2Actions

u16 actor0Talk2Actions[] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }

Definition at line 241 of file wstag410.c.

◆ actor0Talk3Conditions

u16 actor0Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 0,
0xFFFF ,
}

Definition at line 242 of file wstag410.c.

◆ actor0Talk3Actions

u16 actor0Talk3Actions[] = { (( 0xE ) << 8 | ( 8 )) , 1, (0x7400 | ( 0 )) , 1, 0xFFFF }

Definition at line 249 of file wstag410.c.

◆ actor0Talk4Conditions

u16 actor0Talk4Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 0,
(( 0xE ) << 8 | ( 8 )) , 1,
0xFFFF ,
}

Definition at line 250 of file wstag410.c.

◆ actor0Talk5Conditions

u16 actor0Talk5Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 5 )) , 0,
(( 0xE ) << 8 | ( 8 )) , 1,
0xFFFF ,
}

Definition at line 258 of file wstag410.c.

◆ actor0Talk6Conditions

u16 actor0Talk6Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 5 )) , 1,
0xFFFF ,
}

Definition at line 267 of file wstag410.c.

◆ actor0Talk6Actions

u16 actor0Talk6Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }

Definition at line 276 of file wstag410.c.

◆ actor1Talk0Conditions

u16 actor1Talk0Conditions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }

Definition at line 277 of file wstag410.c.

◆ actor1Talk1Conditions

u16 actor1Talk1Conditions[] = { (( 0 ) << 8 | ( 0x10 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }

Definition at line 278 of file wstag410.c.

◆ actor1Talk1Actions

u16 actor1Talk1Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }

Definition at line 279 of file wstag410.c.

◆ actor1Talk2Conditions

u16 actor1Talk2Conditions[] = { (( 0 ) << 8 | ( 0x10 )) , 1, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }

Definition at line 280 of file wstag410.c.

◆ actor1Talk2Actions

u16 actor1Talk2Actions[] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }

Definition at line 281 of file wstag410.c.

◆ actor2Talk0Conditions

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

Definition at line 282 of file wstag410.c.

◆ actor2Talk0Actions

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

Definition at line 283 of file wstag410.c.

◆ actor2Talk1Conditions

u16 actor2Talk1Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 0, 0xFFFF }

Definition at line 284 of file wstag410.c.

◆ actor2Talk2Conditions

u16 actor2Talk2Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 1, (0x7200 | ( 3 )) , 0, 0xFFFF }

Definition at line 285 of file wstag410.c.

◆ actor2Talk2Actions

u16 actor2Talk2Actions[] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }

Definition at line 286 of file wstag410.c.

◆ actor2Talk3Conditions

u16 actor2Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 0,
0xFFFF ,
}

Definition at line 287 of file wstag410.c.

◆ actor2Talk3Actions

u16 actor2Talk3Actions[] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 8 )) , 1, 0xFFFF }

Definition at line 294 of file wstag410.c.

◆ actor2Talk4Conditions

u16 actor2Talk4Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 0,
(( 0xE ) << 8 | ( 8 )) , 1,
0xFFFF ,
}

Definition at line 295 of file wstag410.c.

◆ actor2Talk5Conditions

u16 actor2Talk5Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 5 )) , 0,
0xFFFF ,
}

Definition at line 303 of file wstag410.c.

◆ actor2Talk6Conditions

u16 actor2Talk6Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 5 )) , 1,
0xFFFF ,
}

Definition at line 312 of file wstag410.c.

◆ actor2Talk6Actions

u16 actor2Talk6Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }

Definition at line 321 of file wstag410.c.

◆ actor3Talk0Conditions

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

Definition at line 322 of file wstag410.c.

◆ actor3Talk0Actions

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

Definition at line 323 of file wstag410.c.

◆ actor3Talk1Conditions

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

Definition at line 324 of file wstag410.c.

◆ actor3Talk2Conditions

u16 actor3Talk2Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 1, (0x7200 | ( 3 )) , 0, 0xFFFF }

Definition at line 325 of file wstag410.c.

◆ actor3Talk2Actions

u16 actor3Talk2Actions[] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }

Definition at line 326 of file wstag410.c.

◆ actor3Talk3Conditions

u16 actor3Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 0,
0xFFFF ,
}

Definition at line 327 of file wstag410.c.

◆ actor3Talk3Actions

u16 actor3Talk3Actions[] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 8 )) , 1, 0xFFFF }

Definition at line 334 of file wstag410.c.

◆ actor3Talk4Conditions

u16 actor3Talk4Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 0,
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 1,
0xFFFF ,
}

Definition at line 335 of file wstag410.c.

◆ actor3Talk5Conditions

u16 actor3Talk5Conditions[]
Initial value:
= {
(( 0xE ) << 8 | ( 8 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 5 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
0xFFFF ,
}

Definition at line 343 of file wstag410.c.

◆ actor3Talk6Conditions

u16 actor3Talk6Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 5 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 1,
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
0xFFFF ,
}

Definition at line 352 of file wstag410.c.

◆ actor3Talk6Actions

u16 actor3Talk6Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }

Definition at line 361 of file wstag410.c.

◆ actor5Talk0Conditions

u16 actor5Talk0Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x18E )), 1, 0xFFFF }

Definition at line 362 of file wstag410.c.

◆ actor5Talk0Actions

u16 actor5Talk0Actions[] = { (0x9000 | ( 0xA )) , 1, 0xFFFF }

Definition at line 363 of file wstag410.c.

◆ actor5Talk1Conditions

u16 actor5Talk1Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x18E )), 0, (0x8000 | ( 0 ) << 9 | ( 0x18F )), 0, 0xFFFF }

Definition at line 364 of file wstag410.c.

◆ actor5Talk2Conditions

u16 actor5Talk2Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0x18E )), 0,
(0x8000 | ( 0 ) << 9 | ( 0x18F )), 1,
(( 0x1C ) << 8 | ( 0x50 )) , 0,
0xFFFF ,
}

Definition at line 365 of file wstag410.c.

◆ actor5Talk2Actions

u16 actor5Talk2Actions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x46 )) , 1,
(0x9000 | ( 9 )) , 1,
(( 0x1C ) << 8 | ( 0x50 )) , 1,
0xFFFF ,
}

Definition at line 371 of file wstag410.c.

◆ actor5Talk3Conditions

u16 actor5Talk3Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0x18F )), 1,
(0x8000 | ( 0 ) << 9 | ( 0x18E )), 0,
(( 0x1C ) << 8 | ( 0x50 )) , 1,
0xFFFF ,
}

Definition at line 377 of file wstag410.c.

◆ actor6Talk0Actions

u16 actor6Talk0Actions[] = { (0x9000 | ( 0x5F )) , 1, 0xFFFF }

Definition at line 383 of file wstag410.c.

◆ actor7Talk0Conditions

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

Definition at line 384 of file wstag410.c.

◆ actor7Talk1Conditions

u16 actor7Talk1Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 0, 0xFFFF }

Definition at line 385 of file wstag410.c.

◆ actor7Talk2Conditions

u16 actor7Talk2Conditions[] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 1 )) , 1, (0x7200 | ( 3 )) , 0, 0xFFFF }

Definition at line 386 of file wstag410.c.

◆ actor7Talk2Actions

u16 actor7Talk2Actions[] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }

Definition at line 387 of file wstag410.c.

◆ actor7Talk3Conditions

u16 actor7Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 0,
0xFFFF ,
}

Definition at line 388 of file wstag410.c.

◆ actor7Talk3Actions

u16 actor7Talk3Actions[] = { (( 0xE ) << 8 | ( 8 )) , 1, 0xFFFF }

Definition at line 395 of file wstag410.c.

◆ actor7Talk4Conditions

u16 actor7Talk4Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 0,
0xFFFF ,
}

Definition at line 396 of file wstag410.c.

◆ actor7Talk5Conditions

u16 actor7Talk5Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 3 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 1 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 1,
(0x7200 | ( 5 )) , 0,
0xFFFF ,
}

Definition at line 404 of file wstag410.c.

◆ actor7Talk6Conditions

u16 actor7Talk6Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 1 )) , 1,
(0x7200 | ( 3 )) , 1,
(( 0xE ) << 8 | ( 8 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 5 )) , 1,
0xFFFF ,
}

Definition at line 413 of file wstag410.c.

◆ actor7Talk6Actions

u16 actor7Talk6Actions[] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x12 )) , 1, 0xFFFF }

Definition at line 422 of file wstag410.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ actor0Talk1Conditions, ((void *)0) , 0x63 },
{ actor0Talk4Conditions, ((void *)0) , 0x66 },
{ actor0Talk5Conditions, ((void *)0) , 0x67 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag410.c:238
u16 actor0Talk0Conditions[]
Definition wstag410.c:237
u16 actor0Talk1Conditions[]
Definition wstag410.c:239
u16 actor0Talk6Actions[]
Definition wstag410.c:276
u16 actor0Talk3Conditions[]
Definition wstag410.c:242
u16 actor0Talk4Conditions[]
Definition wstag410.c:250
u16 actor0Talk2Actions[]
Definition wstag410.c:241
u16 actor0Talk5Conditions[]
Definition wstag410.c:258
u16 actor0Talk2Conditions[]
Definition wstag410.c:240
u16 actor0Talk6Conditions[]
Definition wstag410.c:267
u16 actor0Talk3Actions[]
Definition wstag410.c:249

Definition at line 423 of file wstag410.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ actor1Talk0Conditions, ((void *)0) , 0x5E },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk2Actions[]
Definition wstag410.c:281
u16 actor1Talk1Conditions[]
Definition wstag410.c:278
u16 actor1Talk0Conditions[]
Definition wstag410.c:277
u16 actor1Talk1Actions[]
Definition wstag410.c:279
u16 actor1Talk2Conditions[]
Definition wstag410.c:280

Definition at line 433 of file wstag410.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ actor2Talk1Conditions, ((void *)0) , 0x63 },
{ actor2Talk4Conditions, ((void *)0) , 0x66 },
{ actor2Talk5Conditions, ((void *)0) , 0x67 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag410.c:284
u16 actor2Talk3Conditions[]
Definition wstag410.c:287
u16 actor2Talk0Actions[]
Definition wstag410.c:283
u16 actor2Talk2Conditions[]
Definition wstag410.c:285
u16 actor2Talk3Actions[]
Definition wstag410.c:294
u16 actor2Talk6Actions[]
Definition wstag410.c:321
u16 actor2Talk5Conditions[]
Definition wstag410.c:303
u16 actor2Talk0Conditions[]
Definition wstag410.c:282
u16 actor2Talk2Actions[]
Definition wstag410.c:286
u16 actor2Talk6Conditions[]
Definition wstag410.c:312
u16 actor2Talk4Conditions[]
Definition wstag410.c:295

Definition at line 439 of file wstag410.c.

◆ actor3Talks

FieldTalk actor3Talks[]
Initial value:
= {
{ actor3Talk1Conditions, ((void *)0) , 0x63 },
{ actor3Talk4Conditions, ((void *)0) , 0x66 },
{ actor3Talk5Conditions, ((void *)0) , 0x67 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor3Talk3Conditions[]
Definition wstag410.c:327
u16 actor3Talk4Conditions[]
Definition wstag410.c:335
u16 actor3Talk0Conditions[]
Definition wstag410.c:322
u16 actor3Talk6Actions[]
Definition wstag410.c:361
u16 actor3Talk2Conditions[]
Definition wstag410.c:325
u16 actor3Talk1Conditions[]
Definition wstag410.c:324
u16 actor3Talk6Conditions[]
Definition wstag410.c:352
u16 actor3Talk2Actions[]
Definition wstag410.c:326
u16 actor3Talk5Conditions[]
Definition wstag410.c:343
u16 actor3Talk3Actions[]
Definition wstag410.c:334
u16 actor3Talk0Actions[]
Definition wstag410.c:323

Definition at line 449 of file wstag410.c.

◆ actor4Talks

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

Definition at line 459 of file wstag410.c.

◆ actor5Talks

FieldTalk actor5Talks[]
Initial value:
= {
{ actor5Talk1Conditions, ((void *)0) , 0x2E3 },
{ actor5Talk3Conditions, ((void *)0) , 0x2E3 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor5Talk3Conditions[]
Definition wstag410.c:377
u16 actor5Talk2Actions[]
Definition wstag410.c:371
u16 actor5Talk0Conditions[]
Definition wstag410.c:362
u16 actor5Talk0Actions[]
Definition wstag410.c:363
u16 actor5Talk1Conditions[]
Definition wstag410.c:364
u16 actor5Talk2Conditions[]
Definition wstag410.c:365

Definition at line 463 of file wstag410.c.

◆ actor6Talks

FieldTalk actor6Talks[]
Initial value:
= {
{ ((void *)0) , actor6Talk0Actions, 0x2E5 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor6Talk0Actions[]
Definition wstag410.c:383

Definition at line 470 of file wstag410.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ actor7Talk0Conditions, ((void *)0) , 0x61 },
{ actor7Talk1Conditions, ((void *)0) , 0x61 },
{ actor7Talk4Conditions, ((void *)0) , 0x61 },
{ actor7Talk5Conditions, ((void *)0) , 0x61 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor7Talk1Conditions[]
Definition wstag410.c:385
u16 actor7Talk4Conditions[]
Definition wstag410.c:396
u16 actor7Talk5Conditions[]
Definition wstag410.c:404
u16 actor7Talk2Conditions[]
Definition wstag410.c:386
u16 actor7Talk0Conditions[]
Definition wstag410.c:384
u16 actor7Talk6Conditions[]
Definition wstag410.c:413
u16 actor7Talk6Actions[]
Definition wstag410.c:422
u16 actor7Talk3Conditions[]
Definition wstag410.c:388
u16 actor7Talk3Actions[]
Definition wstag410.c:395
u16 actor7Talk2Actions[]
Definition wstag410.c:387

Definition at line 474 of file wstag410.c.

◆ actor0Conditions

u16 actor0Conditions[]
Initial value:
= {
(0x7000 | ( 3 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
(0x8000 | ( 0 ) << 9 | ( 0x192 )), 1,
0xFFFF ,
}

Definition at line 484 of file wstag410.c.

◆ actor1Conditions

u16 actor1Conditions[]
Initial value:
= {
(0x7000 | ( 9 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x192 )), 1,
0xFFFF ,
}

Definition at line 490 of file wstag410.c.

◆ actor2Conditions

u16 actor2Conditions[]
Initial value:
= {
(0x7000 | ( 4 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
(0x8000 | ( 0 ) << 9 | ( 0x192 )), 1,
0xFFFF ,
}

Definition at line 496 of file wstag410.c.

◆ actor3Conditions

u16 actor3Conditions[]
Initial value:
= {
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
(0x8000 | ( 0 ) << 9 | ( 0x192 )), 1,
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 502 of file wstag410.c.

◆ actor4Conditions

u16 actor4Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0x192 )), 0,
(0x7000 | ( 9 )) , 1,
(0x7000 | ( 0x1A )) , 0,
0xFFFF ,
}

Definition at line 508 of file wstag410.c.

◆ actor5Conditions

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

Definition at line 514 of file wstag410.c.

◆ actor6Conditions

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

Definition at line 515 of file wstag410.c.

◆ actor7Conditions

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

Definition at line 516 of file wstag410.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x30, 4, 624, 152, 7 }

Definition at line 517 of file wstag410.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x30, 4, 624, 152, 7 }

Definition at line 518 of file wstag410.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x30, 4, 624, 152, 7 }

Definition at line 519 of file wstag410.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x30, 4, 624, 152, 7 }

Definition at line 520 of file wstag410.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x30, 4, 624, 152, 7 }

Definition at line 521 of file wstag410.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x3F, 5, 463, 328, 5 }

Definition at line 522 of file wstag410.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x3F, 5, 463, 328, 5 }

Definition at line 523 of file wstag410.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x9D, 6, 624, 152, 7 }

Definition at line 524 of file wstag410.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag410.c:517
FieldActorEntry actor6
Definition wstag410.c:523
FieldActorEntry actor5
Definition wstag410.c:522
FieldActorEntry actor2
Definition wstag410.c:519
FieldActorEntry actor4
Definition wstag410.c:521
FieldActorEntry actor7
Definition wstag410.c:524
FieldActorEntry actor1
Definition wstag410.c:518
FieldActorEntry actor3
Definition wstag410.c:520

Definition at line 525 of file wstag410.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x80, 2, 0, 0, 0, 0, 0, 0, 218, 322, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 5, 6, 0, 429, 308, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 5, 6, 0, 674, 320, 0, 0 },
{ 1, 0, 0x40, 6, 0x34, 1, 0x34, 0x39, 4, 0, 776, 392, 0, 0 },
{ 1, 0, 0x80, 6, 1, 0, 0, 0, 0, 0, 219, 367, 0, 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 536 of file wstag410.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x22A, 0xD0, 0x2FC, 7, 0, 0, 0 },
{ { { (0x6000 | ( STORY_SEIRYU_BADGE )) , 1 }, { 0xFFFF , 0 } }, 8 , 0x5A, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}
@ STORY_SEIRYU_BADGE
WSTAG420, event 71: the Seiryu Leader is beaten (the Silver ID and the Seiryu Badge),...
Definition story.h:39

Definition at line 544 of file wstag410.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_0012; BGM_0029 instead at story s...
Definition wstag410.c:30

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 549 of file wstag410.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 90, script90, ( ( 0x136 - 1) << 16 | ( 0x1D )), ((void *)0) , endEvent90 },
{ 140, script140, ( ( 0x136 - 1) << 16 | ( 0x1E )), ((void *)0) , ((void *)0) },
{ 142, script142, ( ( 0x136 - 1) << 16 | ( 0x1F )), ((void *)0) , ((void *)0) },
{ 143, script143, ( ( 0x136 - 1) << 16 | ( 0x20 )), ((void *)0) , ((void *)0) },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script90[]
Definition wstag410.c:55
s16 script142[]
Definition wstag410.c:120
s16 script143[]
Definition wstag410.c:150
void endEvent90(void)
After event 90, with the player: moves the story on to STORY_FAKE_BLUE_CARD.
Definition wstag410.c:12
s16 script140[]
Definition wstag410.c:85

Definition at line 552 of file wstag410.c.

Referenced by setupStage().