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

WSTAG345: Plug Cape, Central 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 wstag345.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_300 - 1)
 
#define STAGE_FILE   0x3A6
 

Functions

void endEvent1264 (void)
 After event 1264, with Soccer Kid Hide: sets flag 0x1C07 and keeps it from playing again.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0014; BGM_0029 instead at story steps 0x27 to 0x28; battle list 0 before STORY_SUZAKU_BADGE, 1 from then on.
 

Variables

const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x00 }
 the color the setup copies to FIELDSTG_state.spriteColor
 
s16 script1264 []
 
AreaBattle place0Area0Battle0 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area0Battle1 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area0Battle2 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area0Battle3 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area0Battle4 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area0Battle5 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area0Battle6 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area0Battle7 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place0Area0Battles
 
AreaBattle place0Area1Battle0 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area1Battle1 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area1Battle2 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area1Battle3 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area1Battle4 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area1Battle5 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area1Battle6 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area1Battle7 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place0Area1Battles
 
AreaBattle place0Area2Battle0 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area2Battle1 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area2Battle2 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area2Battle3 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area2Battle4 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area2Battle5 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area2Battle6 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area2Battle7 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place0Area2Battles
 
AreaBattle place0Area3Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place0Area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place0Area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place0Area3Battle3 = { 327, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area3Battle4 = { 328, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place0Area3Battle6 = { 49, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place0Area3Battle7 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place0Area3Battles
 
AreaBattle place1Area0Battle0 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area0Battle1 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area0Battle2 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area0Battle3 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area0Battle4 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area0Battle5 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area0Battle6 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area0Battle7 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place1Area0Battles
 
AreaBattle place1Area1Battle0 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area1Battle1 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area1Battle2 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area1Battle3 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area1Battle4 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area1Battle5 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area1Battle6 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area1Battle7 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place1Area1Battles
 
AreaBattle place1Area2Battle0 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area2Battle1 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area2Battle2 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area2Battle3 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area2Battle4 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area2Battle5 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area2Battle6 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area2Battle7 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place1Area2Battles
 
AreaBattle place1Area3Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place1Area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place1Area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place1Area3Battle3 = { 327, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area3Battle4 = { 328, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place1Area3Battle6 = { 49, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place1Area3Battle7 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place1Area3Battles
 
FieldBattles stageBattles []
 
ActorImage stageImages []
 
u16 actor2Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x22 )) , 0, 0xFFFF }
 
u16 actor2Talk1Conditions []
 
u16 actor2Talk1Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor2Talk2Conditions []
 
u16 actor2Talk3Conditions []
 
u16 actor2Talk3Actions [] = { (( 0x1A ) << 8 | ( 0x24 )) , 1, (( 0x1C ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor2Talk4Conditions []
 
u16 actor2Talk5Conditions []
 
u16 actor4Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0x22 )) , 0, 0xFFFF }
 
u16 actor4Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0x22 )) , 1, (( 0x1A ) << 8 | ( 0x23 )) , 0, 0xFFFF }
 
u16 actor4Talk2Conditions []
 
u16 actor4Talk2Actions [] = { (( 0x1A ) << 8 | ( 0x24 )) , 1, (( 0x1C ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor4Talk3Conditions []
 
u16 actor4Talk4Conditions []
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
u16 actor0Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor1Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor2Conditions []
 
u16 actor3Conditions []
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, (0x8000 | ( 0 ) << 9 | ( 4 )), 0, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, (0x8000 | ( 0 ) << 9 | ( 4 )), 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x9D, 4, 885, 951, 5 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x119, 5, 865, 941, 5 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x11B, 6, 967, 901, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x11B, 6, 967, 901, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x11B, 6, 967, 901, 1 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x11B, 6, 967, 901, 1 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x13A, 7, 905, 961, 5 }
 
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

WSTAG345: Plug Cape, Central Sector.

Definition in file wstag345.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)

Definition at line 23 of file wstag345.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_300 - 1)

Definition at line 24 of file wstag345.c.

◆ STAGE_FILE

#define STAGE_FILE   0x3A6

Definition at line 25 of file wstag345.c.

Function Documentation

◆ endEvent1264()

void endEvent1264 ( void  )

After event 1264, with Soccer Kid Hide: sets flag 0x1C07 and keeps it from playing again.

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

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

Definition at line 12 of file wstag345.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0014; BGM_0029 instead at story steps 0x27 to 0x28; battle list 0 before STORY_SUZAKU_BADGE, 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_0014: Shell Beach, Plug Cape, Phoenix Bay and South Cape

< ENV_0014: Shell Beach, Plug Cape, Phoenix Bay and South Cape

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

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

< 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 32 of file wstag345.c.

Variable Documentation

◆ stageColor

const CVECTOR stageColor = { 0x54, 0x67, 0x96, 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 17 of file wstag345.c.

Referenced by setupStage().

◆ script1264

s16 script1264[]

Definition at line 63 of file wstag345.c.

◆ place0Area0Battle0

AreaBattle place0Area0Battle0 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 145 of file wstag345.c.

◆ place0Area0Battle1

AreaBattle place0Area0Battle1 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 146 of file wstag345.c.

◆ place0Area0Battle2

AreaBattle place0Area0Battle2 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 147 of file wstag345.c.

◆ place0Area0Battle3

AreaBattle place0Area0Battle3 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 148 of file wstag345.c.

◆ place0Area0Battle4

AreaBattle place0Area0Battle4 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 149 of file wstag345.c.

◆ place0Area0Battle5

AreaBattle place0Area0Battle5 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 150 of file wstag345.c.

◆ place0Area0Battle6

AreaBattle place0Area0Battle6 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 151 of file wstag345.c.

◆ place0Area0Battle7

AreaBattle place0Area0Battle7 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 152 of file wstag345.c.

◆ place0Area0Battles

BattleList place0Area0Battles
Initial value:
= {
3,
}
AreaBattle place0Area0Battle6
Definition wstag345.c:151
AreaBattle place0Area0Battle1
Definition wstag345.c:146
AreaBattle place0Area0Battle2
Definition wstag345.c:147
AreaBattle place0Area0Battle4
Definition wstag345.c:149
AreaBattle place0Area0Battle7
Definition wstag345.c:152
AreaBattle place0Area0Battle3
Definition wstag345.c:148
AreaBattle place0Area0Battle5
Definition wstag345.c:150
AreaBattle place0Area0Battle0
Definition wstag345.c:145

Definition at line 153 of file wstag345.c.

◆ place0Area1Battle0

AreaBattle place0Area1Battle0 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 158 of file wstag345.c.

◆ place0Area1Battle1

AreaBattle place0Area1Battle1 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 159 of file wstag345.c.

◆ place0Area1Battle2

AreaBattle place0Area1Battle2 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 160 of file wstag345.c.

◆ place0Area1Battle3

AreaBattle place0Area1Battle3 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 161 of file wstag345.c.

◆ place0Area1Battle4

AreaBattle place0Area1Battle4 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 162 of file wstag345.c.

◆ place0Area1Battle5

AreaBattle place0Area1Battle5 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 163 of file wstag345.c.

◆ place0Area1Battle6

AreaBattle place0Area1Battle6 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 164 of file wstag345.c.

◆ place0Area1Battle7

AreaBattle place0Area1Battle7 = { 51, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 165 of file wstag345.c.

◆ place0Area1Battles

BattleList place0Area1Battles
Initial value:
= {
3,
}
AreaBattle place0Area1Battle2
Definition wstag345.c:160
AreaBattle place0Area1Battle7
Definition wstag345.c:165
AreaBattle place0Area1Battle5
Definition wstag345.c:163
AreaBattle place0Area1Battle0
Definition wstag345.c:158
AreaBattle place0Area1Battle4
Definition wstag345.c:162
AreaBattle place0Area1Battle6
Definition wstag345.c:164
AreaBattle place0Area1Battle3
Definition wstag345.c:161
AreaBattle place0Area1Battle1
Definition wstag345.c:159

Definition at line 166 of file wstag345.c.

◆ place0Area2Battle0

AreaBattle place0Area2Battle0 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 171 of file wstag345.c.

◆ place0Area2Battle1

AreaBattle place0Area2Battle1 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 172 of file wstag345.c.

◆ place0Area2Battle2

AreaBattle place0Area2Battle2 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 173 of file wstag345.c.

◆ place0Area2Battle3

AreaBattle place0Area2Battle3 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 174 of file wstag345.c.

◆ place0Area2Battle4

AreaBattle place0Area2Battle4 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 175 of file wstag345.c.

◆ place0Area2Battle5

AreaBattle place0Area2Battle5 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 176 of file wstag345.c.

◆ place0Area2Battle6

AreaBattle place0Area2Battle6 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 177 of file wstag345.c.

◆ place0Area2Battle7

AreaBattle place0Area2Battle7 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 178 of file wstag345.c.

◆ place0Area2Battles

BattleList place0Area2Battles
Initial value:
= {
3,
}
AreaBattle place0Area2Battle1
Definition wstag345.c:172
AreaBattle place0Area2Battle0
Definition wstag345.c:171
AreaBattle place0Area2Battle6
Definition wstag345.c:177
AreaBattle place0Area2Battle4
Definition wstag345.c:175
AreaBattle place0Area2Battle3
Definition wstag345.c:174
AreaBattle place0Area2Battle2
Definition wstag345.c:173
AreaBattle place0Area2Battle7
Definition wstag345.c:178
AreaBattle place0Area2Battle5
Definition wstag345.c:176

Definition at line 179 of file wstag345.c.

◆ place0Area3Battle0

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

Definition at line 184 of file wstag345.c.

◆ place0Area3Battle1

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

Definition at line 185 of file wstag345.c.

◆ place0Area3Battle2

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

Definition at line 186 of file wstag345.c.

◆ place0Area3Battle3

AreaBattle place0Area3Battle3 = { 327, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 187 of file wstag345.c.

◆ place0Area3Battle4

AreaBattle place0Area3Battle4 = { 328, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 188 of file wstag345.c.

◆ place0Area3Battle5

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

Definition at line 189 of file wstag345.c.

◆ place0Area3Battle6

AreaBattle place0Area3Battle6 = { 49, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 190 of file wstag345.c.

◆ place0Area3Battle7

AreaBattle place0Area3Battle7 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 191 of file wstag345.c.

◆ place0Area3Battles

BattleList place0Area3Battles
Initial value:
= {
0,
}
AreaBattle place0Area3Battle0
Definition wstag345.c:184
AreaBattle place0Area3Battle7
Definition wstag345.c:191
AreaBattle place0Area3Battle1
Definition wstag345.c:185
AreaBattle place0Area3Battle2
Definition wstag345.c:186
AreaBattle place0Area3Battle4
Definition wstag345.c:188
AreaBattle place0Area3Battle6
Definition wstag345.c:190
AreaBattle place0Area3Battle3
Definition wstag345.c:187
AreaBattle place0Area3Battle5
Definition wstag345.c:189

Definition at line 192 of file wstag345.c.

◆ place1Area0Battle0

AreaBattle place1Area0Battle0 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 197 of file wstag345.c.

◆ place1Area0Battle1

AreaBattle place1Area0Battle1 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 198 of file wstag345.c.

◆ place1Area0Battle2

AreaBattle place1Area0Battle2 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 199 of file wstag345.c.

◆ place1Area0Battle3

AreaBattle place1Area0Battle3 = { 39, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 200 of file wstag345.c.

◆ place1Area0Battle4

AreaBattle place1Area0Battle4 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 201 of file wstag345.c.

◆ place1Area0Battle5

AreaBattle place1Area0Battle5 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 202 of file wstag345.c.

◆ place1Area0Battle6

AreaBattle place1Area0Battle6 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 203 of file wstag345.c.

◆ place1Area0Battle7

AreaBattle place1Area0Battle7 = { 40, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 204 of file wstag345.c.

◆ place1Area0Battles

BattleList place1Area0Battles
Initial value:
= {
3,
}
AreaBattle place1Area0Battle3
Definition wstag345.c:200
AreaBattle place1Area0Battle6
Definition wstag345.c:203
AreaBattle place1Area0Battle1
Definition wstag345.c:198
AreaBattle place1Area0Battle2
Definition wstag345.c:199
AreaBattle place1Area0Battle0
Definition wstag345.c:197
AreaBattle place1Area0Battle5
Definition wstag345.c:202
AreaBattle place1Area0Battle7
Definition wstag345.c:204
AreaBattle place1Area0Battle4
Definition wstag345.c:201

Definition at line 205 of file wstag345.c.

◆ place1Area1Battle0

AreaBattle place1Area1Battle0 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 210 of file wstag345.c.

◆ place1Area1Battle1

AreaBattle place1Area1Battle1 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 211 of file wstag345.c.

◆ place1Area1Battle2

AreaBattle place1Area1Battle2 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 212 of file wstag345.c.

◆ place1Area1Battle3

AreaBattle place1Area1Battle3 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 213 of file wstag345.c.

◆ place1Area1Battle4

AreaBattle place1Area1Battle4 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 214 of file wstag345.c.

◆ place1Area1Battle5

AreaBattle place1Area1Battle5 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 215 of file wstag345.c.

◆ place1Area1Battle6

AreaBattle place1Area1Battle6 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 216 of file wstag345.c.

◆ place1Area1Battle7

AreaBattle place1Area1Battle7 = { 70, 4, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 217 of file wstag345.c.

◆ place1Area1Battles

BattleList place1Area1Battles
Initial value:
= {
3,
}
AreaBattle place1Area1Battle2
Definition wstag345.c:212
AreaBattle place1Area1Battle5
Definition wstag345.c:215
AreaBattle place1Area1Battle7
Definition wstag345.c:217
AreaBattle place1Area1Battle4
Definition wstag345.c:214
AreaBattle place1Area1Battle1
Definition wstag345.c:211
AreaBattle place1Area1Battle3
Definition wstag345.c:213
AreaBattle place1Area1Battle6
Definition wstag345.c:216
AreaBattle place1Area1Battle0
Definition wstag345.c:210

Definition at line 218 of file wstag345.c.

◆ place1Area2Battle0

AreaBattle place1Area2Battle0 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 223 of file wstag345.c.

◆ place1Area2Battle1

AreaBattle place1Area2Battle1 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 224 of file wstag345.c.

◆ place1Area2Battle2

AreaBattle place1Area2Battle2 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 225 of file wstag345.c.

◆ place1Area2Battle3

AreaBattle place1Area2Battle3 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 226 of file wstag345.c.

◆ place1Area2Battle4

AreaBattle place1Area2Battle4 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 227 of file wstag345.c.

◆ place1Area2Battle5

AreaBattle place1Area2Battle5 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 228 of file wstag345.c.

◆ place1Area2Battle6

AreaBattle place1Area2Battle6 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 229 of file wstag345.c.

◆ place1Area2Battle7

AreaBattle place1Area2Battle7 = { 59, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 230 of file wstag345.c.

◆ place1Area2Battles

BattleList place1Area2Battles
Initial value:
= {
3,
}
AreaBattle place1Area2Battle4
Definition wstag345.c:227
AreaBattle place1Area2Battle7
Definition wstag345.c:230
AreaBattle place1Area2Battle0
Definition wstag345.c:223
AreaBattle place1Area2Battle2
Definition wstag345.c:225
AreaBattle place1Area2Battle3
Definition wstag345.c:226
AreaBattle place1Area2Battle1
Definition wstag345.c:224
AreaBattle place1Area2Battle5
Definition wstag345.c:228
AreaBattle place1Area2Battle6
Definition wstag345.c:229

Definition at line 231 of file wstag345.c.

◆ place1Area3Battle0

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

Definition at line 236 of file wstag345.c.

◆ place1Area3Battle1

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

Definition at line 237 of file wstag345.c.

◆ place1Area3Battle2

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

Definition at line 238 of file wstag345.c.

◆ place1Area3Battle3

AreaBattle place1Area3Battle3 = { 327, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 239 of file wstag345.c.

◆ place1Area3Battle4

AreaBattle place1Area3Battle4 = { 328, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 240 of file wstag345.c.

◆ place1Area3Battle5

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

Definition at line 241 of file wstag345.c.

◆ place1Area3Battle6

AreaBattle place1Area3Battle6 = { 49, 13, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 242 of file wstag345.c.

◆ place1Area3Battle7

AreaBattle place1Area3Battle7 = { 54, 2, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 243 of file wstag345.c.

◆ place1Area3Battles

BattleList place1Area3Battles
Initial value:
= {
0,
}
AreaBattle place1Area3Battle3
Definition wstag345.c:239
AreaBattle place1Area3Battle5
Definition wstag345.c:241
AreaBattle place1Area3Battle7
Definition wstag345.c:243
AreaBattle place1Area3Battle2
Definition wstag345.c:238
AreaBattle place1Area3Battle0
Definition wstag345.c:236
AreaBattle place1Area3Battle6
Definition wstag345.c:242
AreaBattle place1Area3Battle1
Definition wstag345.c:237
AreaBattle place1Area3Battle4
Definition wstag345.c:240

Definition at line 244 of file wstag345.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList place0Area3Battles
Definition wstag345.c:192
BattleList place0Area2Battles
Definition wstag345.c:179
BattleList place1Area1Battles
Definition wstag345.c:218
BattleList place0Area1Battles
Definition wstag345.c:166
BattleList place1Area0Battles
Definition wstag345.c:205
BattleList place1Area2Battles
Definition wstag345.c:231
BattleList place1Area3Battles
Definition wstag345.c:244
BattleList place0Area0Battles
Definition wstag345.c:153

Definition at line 249 of file wstag345.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, 0x176, 0x137, 0xD8, 0x37, 0x150, 0x1FF },
{ 0x140, 0x100, 0x176, 0x157, 0xD8, 0x57, 0x160, 0x1FF },
{ 0x140, 0x100, 0x176, 0x177, 0xD8, 0x77, 0x170, 0x1FF },
{ 0x140, 0x100, 0x176, 0x197, 0xD8, 0x97, 0x140, 0x1FE },
}

Definition at line 253 of file wstag345.c.

Referenced by setupStage().

◆ actor2Talk0Conditions

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

Definition at line 265 of file wstag345.c.

◆ actor2Talk1Conditions

u16 actor2Talk1Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x22 )) , 1,
(( 0x1A ) << 8 | ( 0x23 )) , 0,
(( 0 ) << 8 | ( 0 )) , 0,
0xFFFF ,
}

Definition at line 266 of file wstag345.c.

◆ actor2Talk1Actions

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

Definition at line 272 of file wstag345.c.

◆ actor2Talk2Conditions

u16 actor2Talk2Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x22 )) , 1,
(( 0x1A ) << 8 | ( 0x23 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
0xFFFF ,
}

Definition at line 273 of file wstag345.c.

◆ actor2Talk3Conditions

u16 actor2Talk3Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x22 )) , 1,
(( 0x1A ) << 8 | ( 0x23 )) , 1,
(( 0x1A ) << 8 | ( 0x24 )) , 0,
0xFFFF ,
}

Definition at line 279 of file wstag345.c.

◆ actor2Talk3Actions

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

Definition at line 285 of file wstag345.c.

◆ actor2Talk4Conditions

u16 actor2Talk4Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x22 )) , 1,
(( 0x1A ) << 8 | ( 0x23 )) , 1,
(( 0x1A ) << 8 | ( 0x24 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 4 )), 0,
0xFFFF ,
}

Definition at line 286 of file wstag345.c.

◆ actor2Talk5Conditions

u16 actor2Talk5Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x22 )) , 1,
(( 0x1A ) << 8 | ( 0x23 )) , 1,
(( 0x1A ) << 8 | ( 0x24 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 4 )), 1,
0xFFFF ,
}

Definition at line 293 of file wstag345.c.

◆ actor4Talk0Conditions

u16 actor4Talk0Conditions[] = { (( 0x1A ) << 8 | ( 0x22 )) , 0, 0xFFFF }

Definition at line 300 of file wstag345.c.

◆ actor4Talk1Conditions

u16 actor4Talk1Conditions[] = { (( 0x1A ) << 8 | ( 0x22 )) , 1, (( 0x1A ) << 8 | ( 0x23 )) , 0, 0xFFFF }

Definition at line 301 of file wstag345.c.

◆ actor4Talk2Conditions

u16 actor4Talk2Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x22 )) , 1,
(( 0x1A ) << 8 | ( 0x23 )) , 1,
(( 0x1A ) << 8 | ( 0x24 )) , 0,
0xFFFF ,
}

Definition at line 302 of file wstag345.c.

◆ actor4Talk2Actions

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

Definition at line 308 of file wstag345.c.

◆ actor4Talk3Conditions

u16 actor4Talk3Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x22 )) , 1,
(( 0x1A ) << 8 | ( 0x23 )) , 1,
(( 0x1A ) << 8 | ( 0x24 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 4 )), 0,
0xFFFF ,
}

Definition at line 309 of file wstag345.c.

◆ actor4Talk4Conditions

u16 actor4Talk4Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x22 )) , 1,
(( 0x1A ) << 8 | ( 0x23 )) , 1,
(( 0x1A ) << 8 | ( 0x24 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 4 )), 1,
0xFFFF ,
}

Definition at line 316 of file wstag345.c.

◆ actor0Talks

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

Definition at line 323 of file wstag345.c.

◆ actor1Talks

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

Definition at line 327 of file wstag345.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ actor2Talk0Conditions, ((void *)0) , 0x29B },
{ actor2Talk2Conditions, ((void *)0) , 0x29E },
{ actor2Talk4Conditions, ((void *)0) , 0x35D },
{ actor2Talk5Conditions, ((void *)0) , 0x29F },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag345.c:266
u16 actor2Talk3Conditions[]
Definition wstag345.c:279
u16 actor2Talk1Actions[]
Definition wstag345.c:272
u16 actor2Talk2Conditions[]
Definition wstag345.c:273
u16 actor2Talk3Actions[]
Definition wstag345.c:285
u16 actor2Talk5Conditions[]
Definition wstag345.c:293
u16 actor2Talk0Conditions[]
Definition wstag345.c:265
u16 actor2Talk4Conditions[]
Definition wstag345.c:286

Definition at line 331 of file wstag345.c.

◆ actor3Talks

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

Definition at line 340 of file wstag345.c.

◆ actor4Talks

FieldTalk actor4Talks[]
Initial value:
= {
{ actor4Talk0Conditions, ((void *)0) , 0x29B },
{ actor4Talk1Conditions, ((void *)0) , 0x29C },
{ actor4Talk3Conditions, ((void *)0) , 0x29E },
{ actor4Talk4Conditions, ((void *)0) , 0x2A1 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor4Talk3Conditions[]
Definition wstag345.c:309
u16 actor4Talk2Actions[]
Definition wstag345.c:308
u16 actor4Talk4Conditions[]
Definition wstag345.c:316
u16 actor4Talk1Conditions[]
Definition wstag345.c:301
u16 actor4Talk0Conditions[]
Definition wstag345.c:300
u16 actor4Talk2Conditions[]
Definition wstag345.c:302

Definition at line 344 of file wstag345.c.

◆ actor5Talks

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

Definition at line 352 of file wstag345.c.

◆ actor6Talks

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

Definition at line 356 of file wstag345.c.

◆ actor0Conditions

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

Definition at line 360 of file wstag345.c.

◆ actor1Conditions

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

Definition at line 361 of file wstag345.c.

◆ actor2Conditions

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

Definition at line 362 of file wstag345.c.

◆ actor3Conditions

u16 actor3Conditions[]
Initial value:
= {
(0x7000 | ( 0x22 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 4 )), 1,
0xFFFF ,
}

Definition at line 367 of file wstag345.c.

◆ actor4Conditions

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

Definition at line 372 of file wstag345.c.

◆ actor5Conditions

u16 actor5Conditions[] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, (0x8000 | ( 0 ) << 9 | ( 4 )), 1, 0xFFFF }

Definition at line 373 of file wstag345.c.

◆ actor6Conditions

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

Definition at line 374 of file wstag345.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x9D, 4, 885, 951, 5 }

Definition at line 375 of file wstag345.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x119, 5, 865, 941, 5 }

Definition at line 376 of file wstag345.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x11B, 6, 967, 901, 1 }

Definition at line 377 of file wstag345.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x11B, 6, 967, 901, 1 }

Definition at line 378 of file wstag345.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x11B, 6, 967, 901, 1 }

Definition at line 379 of file wstag345.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x11B, 6, 967, 901, 1 }

Definition at line 380 of file wstag345.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x13A, 7, 905, 961, 5 }

Definition at line 381 of file wstag345.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag345.c:375
FieldActorEntry actor6
Definition wstag345.c:381
FieldActorEntry actor5
Definition wstag345.c:380
FieldActorEntry actor2
Definition wstag345.c:377
FieldActorEntry actor4
Definition wstag345.c:379
FieldActorEntry actor1
Definition wstag345.c:376
FieldActorEntry actor3
Definition wstag345.c:378

Definition at line 382 of file wstag345.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 392 of file wstag345.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x21D, 0x1D2, 0x92, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 4 , 6, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 0xC, 0x231, 0xB0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 0xC, 0x221, 0x178, 0, 0, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E3, 0x380, 0x70, 1, 0, 3, 1 },
{ { { (0x7000 | ( 0x94 )) , 1 }, { 0xFFFF , 0 } }, 9 , 0x2E9, 0xB0, 0xF8, 7, 0, 2, 2 },
{ { { (0x7000 | ( 0x94 )) , 1 }, { 0xFFFF , 0 } }, 9 , 0x2E8, 0x240, 0xD0, 1, 0, 0xF, 1 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0x50, 0xFFE8, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFC0, 0x30, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFA2, 0x10, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0x28, 0x20, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0, 0x38, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0x38, 0x29, 0, 0, 0, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E3, 0x380, 0x70, 1, 0, 3, 1 },
{ { { (( 0x1A ) << 8 | ( 0x22 )) , 0 }, { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1 } }, 8 , 0x4F0, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 443 of file wstag345.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_0014; BGM_0029 inste...
Definition wstag345.c:32

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 461 of file wstag345.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1264, script1264, ( ( 0x128 - 1) << 16 | ( 0x1D )), ((void *)0) , endEvent1264 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent1264(void)
After event 1264, with Soccer Kid Hide: sets flag 0x1C07 and keeps it from playing again.
Definition wstag345.c:12
s16 script1264[]
Definition wstag345.c:63

Definition at line 464 of file wstag345.c.

Referenced by setupStage().