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

WSTAG830: Seabed, Underground: below the bridges. More...

Include dependency graph for wstag830.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_04)
 
#define STAGE_FILE   0x701
 

Functions

void setupStage (void)
 Sets the stage up: its map, actors and battles, playing BGM_0027.
 

Variables

const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x01 }
 the color the setup copies to FIELDSTG_state.spriteColor
 
StagePoint placePoints2_1Point2 = { 0x2E0, 2, 1, 176, 0x178, 5, ((void *)0) }
 
StagePoint placePoints2_1Point1 = { 0x202, 0, 0, 0x420, 0x1F0, 0, &placePoints2_1Point2 }
 
StagePoint placePoints2_1Point0 = { 0x202, 0, 0, 0x150, 0x148, 0, &placePoints2_1Point1 }
 
StagePoints placePoints2_1 = { 2, 1, &placePoints2_1Point0 }
 
StagePoint placePoints12_1Point2 = { 0x2E0, 12, 1, 176, 0x178, 5, ((void *)0) }
 
StagePoint placePoints12_1Point1 = { 0x272, 0, 0, 0x420, 0x1F0, 0, &placePoints12_1Point2 }
 
StagePoint placePoints12_1Point0 = { 0x272, 0, 0, 0x150, 0x148, 0, &placePoints12_1Point1 }
 
StagePoints placePoints12_1 = { 12, 1, &placePoints12_1Point0 }
 
StagePoints placePoints0_0 = { 0, 0, &placePoints2_1Point0 }
 
StagePoints * placePoints []
 Names some stages define.
 
AreaBattle place2Area0Battle0 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place2Area0Battle1 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place2Area0Battle2 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place2Area0Battle3 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place2Area0Battle4 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place2Area0Battle5 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place2Area0Battle6 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place2Area0Battle7 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place2Area0Battles
 
AreaBattle place2Area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList place2Area1Battles
 
AreaBattle place2Area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList place2Area2Battles
 
AreaBattle place2Area3Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place2Area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList place2Area3Battles
 
AreaBattle place12Area0Battle0 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place12Area0Battle1 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place12Area0Battle2 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place12Area0Battle3 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place12Area0Battle4 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place12Area0Battle5 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place12Area0Battle6 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle place12Area0Battle7 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList place12Area0Battles
 
AreaBattle place12Area1Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area1Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area1Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area1Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area1Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area1Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area1Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area1Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList place12Area1Battles
 
AreaBattle place12Area2Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area2Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area2Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area2Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area2Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area2Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area2Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area2Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList place12Area2Battles
 
AreaBattle place12Area3Battle0 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area3Battle1 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area3Battle2 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area3Battle3 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area3Battle4 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle place12Area3Battle7 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
BattleList place12Area3Battles
 
FieldBattles stageBattles []
 
ActorImage stageImages []
 
FieldActorEntry actor0 = { ((void *)0) , ((void *)0) , 0x147, 4, 0, 0, 0 }
 
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.
 

Detailed Description

WSTAG830: Seabed, Underground: below the bridges.

A tunnel under the Asuka and Amaterasu Bridges (WSTAG205, 206); it joins WSTAG825.

Definition in file wstag830.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_04)

Definition at line 18 of file wstag830.c.

◆ STAGE_FILE

#define STAGE_FILE   0x701

Definition at line 19 of file wstag830.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors and battles, playing BGM_0027.

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_0027: the Seabed tunnels

< BGM_0027: the Seabed tunnels

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

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

Definition at line 22 of file wstag830.c.

Variable Documentation

◆ stageColor

const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x01 }

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 13 of file wstag830.c.

Referenced by setupStage().

◆ placePoints2_1Point2

StagePoint placePoints2_1Point2 = { 0x2E0, 2, 1, 176, 0x178, 5, ((void *)0) }

Definition at line 43 of file wstag830.c.

◆ placePoints2_1Point1

StagePoint placePoints2_1Point1 = { 0x202, 0, 0, 0x420, 0x1F0, 0, &placePoints2_1Point2 }

Definition at line 44 of file wstag830.c.

◆ placePoints2_1Point0

StagePoint placePoints2_1Point0 = { 0x202, 0, 0, 0x150, 0x148, 0, &placePoints2_1Point1 }

Definition at line 45 of file wstag830.c.

◆ placePoints2_1

StagePoints placePoints2_1 = { 2, 1, &placePoints2_1Point0 }

Definition at line 46 of file wstag830.c.

◆ placePoints12_1Point2

StagePoint placePoints12_1Point2 = { 0x2E0, 12, 1, 176, 0x178, 5, ((void *)0) }

Definition at line 47 of file wstag830.c.

◆ placePoints12_1Point1

StagePoint placePoints12_1Point1 = { 0x272, 0, 0, 0x420, 0x1F0, 0, &placePoints12_1Point2 }

Definition at line 48 of file wstag830.c.

◆ placePoints12_1Point0

StagePoint placePoints12_1Point0 = { 0x272, 0, 0, 0x150, 0x148, 0, &placePoints12_1Point1 }

Definition at line 49 of file wstag830.c.

◆ placePoints12_1

StagePoints placePoints12_1 = { 12, 1, &placePoints12_1Point0 }

Definition at line 50 of file wstag830.c.

◆ placePoints0_0

StagePoints placePoints0_0 = { 0, 0, &placePoints2_1Point0 }

Definition at line 51 of file wstag830.c.

◆ placePoints

StagePoints* placePoints[]
Initial value:
= {
}
StagePoints placePoints12_1
Definition wstag830.c:50
StagePoints placePoints2_1
Definition wstag830.c:46
StagePoints placePoints0_0
Definition wstag830.c:51

Names some stages define.

Definition at line 52 of file wstag830.c.

◆ place2Area0Battle0

AreaBattle place2Area0Battle0 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 55 of file wstag830.c.

◆ place2Area0Battle1

AreaBattle place2Area0Battle1 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 56 of file wstag830.c.

◆ place2Area0Battle2

AreaBattle place2Area0Battle2 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 57 of file wstag830.c.

◆ place2Area0Battle3

AreaBattle place2Area0Battle3 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 58 of file wstag830.c.

◆ place2Area0Battle4

AreaBattle place2Area0Battle4 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 59 of file wstag830.c.

◆ place2Area0Battle5

AreaBattle place2Area0Battle5 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 60 of file wstag830.c.

◆ place2Area0Battle6

AreaBattle place2Area0Battle6 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 61 of file wstag830.c.

◆ place2Area0Battle7

AreaBattle place2Area0Battle7 = { 62, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 62 of file wstag830.c.

◆ place2Area0Battles

BattleList place2Area0Battles
Initial value:
= {
4,
}
AreaBattle place2Area0Battle0
Definition wstag830.c:55
AreaBattle place2Area0Battle1
Definition wstag830.c:56
AreaBattle place2Area0Battle3
Definition wstag830.c:58
AreaBattle place2Area0Battle5
Definition wstag830.c:60
AreaBattle place2Area0Battle4
Definition wstag830.c:59
AreaBattle place2Area0Battle2
Definition wstag830.c:57
AreaBattle place2Area0Battle7
Definition wstag830.c:62
AreaBattle place2Area0Battle6
Definition wstag830.c:61

Definition at line 63 of file wstag830.c.

◆ place2Area1Battle0

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

Definition at line 68 of file wstag830.c.

◆ place2Area1Battle1

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

Definition at line 69 of file wstag830.c.

◆ place2Area1Battle2

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

Definition at line 70 of file wstag830.c.

◆ place2Area1Battle3

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

Definition at line 71 of file wstag830.c.

◆ place2Area1Battle4

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

Definition at line 72 of file wstag830.c.

◆ place2Area1Battle5

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

Definition at line 73 of file wstag830.c.

◆ place2Area1Battle6

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

Definition at line 74 of file wstag830.c.

◆ place2Area1Battle7

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

Definition at line 75 of file wstag830.c.

◆ place2Area1Battles

BattleList place2Area1Battles
Initial value:
= {
0,
}
AreaBattle place2Area1Battle1
Definition wstag830.c:69
AreaBattle place2Area1Battle2
Definition wstag830.c:70
AreaBattle place2Area1Battle4
Definition wstag830.c:72
AreaBattle place2Area1Battle0
Definition wstag830.c:68
AreaBattle place2Area1Battle6
Definition wstag830.c:74
AreaBattle place2Area1Battle3
Definition wstag830.c:71
AreaBattle place2Area1Battle5
Definition wstag830.c:73
AreaBattle place2Area1Battle7
Definition wstag830.c:75

Definition at line 76 of file wstag830.c.

◆ place2Area2Battle0

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

Definition at line 81 of file wstag830.c.

◆ place2Area2Battle1

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

Definition at line 82 of file wstag830.c.

◆ place2Area2Battle2

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

Definition at line 83 of file wstag830.c.

◆ place2Area2Battle3

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

Definition at line 84 of file wstag830.c.

◆ place2Area2Battle4

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

Definition at line 85 of file wstag830.c.

◆ place2Area2Battle5

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

Definition at line 86 of file wstag830.c.

◆ place2Area2Battle6

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

Definition at line 87 of file wstag830.c.

◆ place2Area2Battle7

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

Definition at line 88 of file wstag830.c.

◆ place2Area2Battles

BattleList place2Area2Battles
Initial value:
= {
0,
}
AreaBattle place2Area2Battle6
Definition wstag830.c:87
AreaBattle place2Area2Battle5
Definition wstag830.c:86
AreaBattle place2Area2Battle2
Definition wstag830.c:83
AreaBattle place2Area2Battle4
Definition wstag830.c:85
AreaBattle place2Area2Battle3
Definition wstag830.c:84
AreaBattle place2Area2Battle7
Definition wstag830.c:88
AreaBattle place2Area2Battle0
Definition wstag830.c:81
AreaBattle place2Area2Battle1
Definition wstag830.c:82

Definition at line 89 of file wstag830.c.

◆ place2Area3Battle0

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

Definition at line 94 of file wstag830.c.

◆ place2Area3Battle1

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

Definition at line 95 of file wstag830.c.

◆ place2Area3Battle2

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

Definition at line 96 of file wstag830.c.

◆ place2Area3Battle3

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

Definition at line 97 of file wstag830.c.

◆ place2Area3Battle4

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

Definition at line 98 of file wstag830.c.

◆ place2Area3Battle5

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

Definition at line 99 of file wstag830.c.

◆ place2Area3Battle6

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

Definition at line 100 of file wstag830.c.

◆ place2Area3Battle7

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

Definition at line 101 of file wstag830.c.

◆ place2Area3Battles

BattleList place2Area3Battles
Initial value:
= {
0,
}
AreaBattle place2Area3Battle5
Definition wstag830.c:99
AreaBattle place2Area3Battle0
Definition wstag830.c:94
AreaBattle place2Area3Battle2
Definition wstag830.c:96
AreaBattle place2Area3Battle4
Definition wstag830.c:98
AreaBattle place2Area3Battle1
Definition wstag830.c:95
AreaBattle place2Area3Battle6
Definition wstag830.c:100
AreaBattle place2Area3Battle7
Definition wstag830.c:101
AreaBattle place2Area3Battle3
Definition wstag830.c:97

Definition at line 102 of file wstag830.c.

◆ place12Area0Battle0

AreaBattle place12Area0Battle0 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 107 of file wstag830.c.

◆ place12Area0Battle1

AreaBattle place12Area0Battle1 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 108 of file wstag830.c.

◆ place12Area0Battle2

AreaBattle place12Area0Battle2 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 109 of file wstag830.c.

◆ place12Area0Battle3

AreaBattle place12Area0Battle3 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 110 of file wstag830.c.

◆ place12Area0Battle4

AreaBattle place12Area0Battle4 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 111 of file wstag830.c.

◆ place12Area0Battle5

AreaBattle place12Area0Battle5 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 112 of file wstag830.c.

◆ place12Area0Battle6

AreaBattle place12Area0Battle6 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 113 of file wstag830.c.

◆ place12Area0Battle7

AreaBattle place12Area0Battle7 = { 178, 11, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 114 of file wstag830.c.

◆ place12Area0Battles

BattleList place12Area0Battles
Initial value:
= {
4,
}
AreaBattle place12Area0Battle5
Definition wstag830.c:112
AreaBattle place12Area0Battle1
Definition wstag830.c:108
AreaBattle place12Area0Battle2
Definition wstag830.c:109
AreaBattle place12Area0Battle6
Definition wstag830.c:113
AreaBattle place12Area0Battle3
Definition wstag830.c:110
AreaBattle place12Area0Battle4
Definition wstag830.c:111
AreaBattle place12Area0Battle0
Definition wstag830.c:107
AreaBattle place12Area0Battle7
Definition wstag830.c:114

Definition at line 115 of file wstag830.c.

◆ place12Area1Battle0

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

Definition at line 120 of file wstag830.c.

◆ place12Area1Battle1

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

Definition at line 121 of file wstag830.c.

◆ place12Area1Battle2

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

Definition at line 122 of file wstag830.c.

◆ place12Area1Battle3

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

Definition at line 123 of file wstag830.c.

◆ place12Area1Battle4

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

Definition at line 124 of file wstag830.c.

◆ place12Area1Battle5

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

Definition at line 125 of file wstag830.c.

◆ place12Area1Battle6

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

Definition at line 126 of file wstag830.c.

◆ place12Area1Battle7

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

Definition at line 127 of file wstag830.c.

◆ place12Area1Battles

BattleList place12Area1Battles
Initial value:
= {
0,
}
AreaBattle place12Area1Battle2
Definition wstag830.c:122
AreaBattle place12Area1Battle7
Definition wstag830.c:127
AreaBattle place12Area1Battle6
Definition wstag830.c:126
AreaBattle place12Area1Battle5
Definition wstag830.c:125
AreaBattle place12Area1Battle1
Definition wstag830.c:121
AreaBattle place12Area1Battle0
Definition wstag830.c:120
AreaBattle place12Area1Battle4
Definition wstag830.c:124
AreaBattle place12Area1Battle3
Definition wstag830.c:123

Definition at line 128 of file wstag830.c.

◆ place12Area2Battle0

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

Definition at line 133 of file wstag830.c.

◆ place12Area2Battle1

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

Definition at line 134 of file wstag830.c.

◆ place12Area2Battle2

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

Definition at line 135 of file wstag830.c.

◆ place12Area2Battle3

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

Definition at line 136 of file wstag830.c.

◆ place12Area2Battle4

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

Definition at line 137 of file wstag830.c.

◆ place12Area2Battle5

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

Definition at line 138 of file wstag830.c.

◆ place12Area2Battle6

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

Definition at line 139 of file wstag830.c.

◆ place12Area2Battle7

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

Definition at line 140 of file wstag830.c.

◆ place12Area2Battles

BattleList place12Area2Battles
Initial value:
= {
0,
}
AreaBattle place12Area2Battle1
Definition wstag830.c:134
AreaBattle place12Area2Battle3
Definition wstag830.c:136
AreaBattle place12Area2Battle5
Definition wstag830.c:138
AreaBattle place12Area2Battle2
Definition wstag830.c:135
AreaBattle place12Area2Battle4
Definition wstag830.c:137
AreaBattle place12Area2Battle0
Definition wstag830.c:133
AreaBattle place12Area2Battle6
Definition wstag830.c:139
AreaBattle place12Area2Battle7
Definition wstag830.c:140

Definition at line 141 of file wstag830.c.

◆ place12Area3Battle0

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

Definition at line 146 of file wstag830.c.

◆ place12Area3Battle1

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

Definition at line 147 of file wstag830.c.

◆ place12Area3Battle2

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

Definition at line 148 of file wstag830.c.

◆ place12Area3Battle3

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

Definition at line 149 of file wstag830.c.

◆ place12Area3Battle4

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

Definition at line 150 of file wstag830.c.

◆ place12Area3Battle5

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

Definition at line 151 of file wstag830.c.

◆ place12Area3Battle6

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

Definition at line 152 of file wstag830.c.

◆ place12Area3Battle7

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

Definition at line 153 of file wstag830.c.

◆ place12Area3Battles

BattleList place12Area3Battles
Initial value:
= {
0,
}
AreaBattle place12Area3Battle6
Definition wstag830.c:152
AreaBattle place12Area3Battle2
Definition wstag830.c:148
AreaBattle place12Area3Battle7
Definition wstag830.c:153
AreaBattle place12Area3Battle4
Definition wstag830.c:150
AreaBattle place12Area3Battle5
Definition wstag830.c:151
AreaBattle place12Area3Battle3
Definition wstag830.c:149
AreaBattle place12Area3Battle1
Definition wstag830.c:147
AreaBattle place12Area3Battle0
Definition wstag830.c:146

Definition at line 154 of file wstag830.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList place12Area1Battles
Definition wstag830.c:128
BattleList place12Area2Battles
Definition wstag830.c:141
BattleList place12Area0Battles
Definition wstag830.c:115
BattleList place2Area1Battles
Definition wstag830.c:76
BattleList place12Area3Battles
Definition wstag830.c:154
BattleList place2Area3Battles
Definition wstag830.c:102
BattleList place2Area0Battles
Definition wstag830.c:63
BattleList place2Area2Battles
Definition wstag830.c:89

Definition at line 159 of file wstag830.c.

Referenced by setupStage().

◆ stageImages

ActorImage stageImages[]
Initial value:
= {
{ 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
{ 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
{ 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
{ 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
{ 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
{ 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
{ 0x180, 0x100, 0x1A0, 0x100, 0x180, 0, 0x160, 0x1FF },
}

Definition at line 163 of file wstag830.c.

Referenced by setupStage().

◆ actor0

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

Definition at line 172 of file wstag830.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag830.c:172

Definition at line 173 of file wstag830.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x8F, 2, 0x37, 1, 0x37, 0x4B, 0xA, 0, 550, 238, 0, 0 },
{ 1, 0, 0xB6, 2, 0x4C, 1, 0x4C, 0x62, 0xA, 0, 239, 158, 0, 0 },
{ 1, 0, 0xB6, 2, 0x4C, 1, 0x4C, 0x62, 0xA, 0, 661, 204, 0, 0 },
{ 1, 0, 0xB6, 2, 0x4C, 1, 0x4C, 0x62, 0xA, 0, 896, 119, 0, 0 },
{ 1, 0, 0xFF, 2, 0x33, 2, 0, 7, 0x18, 0, 188, -92, 0, 0 },
{ 1, 0, 0xFF, 2, 0x33, 2, 0, 7, 0x18, 0, 428, -20, 0, 0 },
{ 1, 0, 0x40, 2, 0, 0, 0, 0, 0, 0, 128, 276, 0, 0 },
{ 1, 0, 0x40, 2, 1, 0, 0, 0, 0, 0, 192, 297, 0, 0 },
{ 1, 0, 0x52, 2, 2, 0, 0, 0, 0, 0, 256, 292, 0, 0 },
{ 1, 0, 0x40, 2, 3, 0, 0, 0, 0, 0, 320, 320, 0, 0 },
{ 1, 0, 0x48, 2, 4, 0, 0, 0, 0, 0, 768, 312, 0, 0 },
{ 1, 0, 0x54, 2, 5, 0, 0, 0, 0, 0, 832, 270, 0, 0 },
{ 1, 0, 0x40, 2, 6, 0, 0, 0, 0, 0, 512, 335, 0, 0 },
{ 1, 0, 0x44, 2, 7, 0, 0, 0, 0, 0, 576, 316, 0, 0 },
{ 1, 0, 0x40, 2, 8, 0, 0, 0, 0, 0, 640, 337, 0, 0 },
{ 1, 0, 0x40, 2, 9, 0, 0, 0, 0, 0, 704, 338, 0, 0 },
{ 1, 0, 0x8F, 6, 0x37, 1, 0x37, 0x4B, 0xA, 0, 460, 182, 0, 0 },
{ 1, 0, 0x68, 6, 0x34, 1, 0x34, 0x36, 0xA, 0, 348, 194, 0, 0 },
{ 1, 0, 0x68, 6, 0x34, 1, 0x34, 0x36, 0xA, 0, 761, 156, 0, 0 },
{ 1, 0, 0xFF, 4, 0x32, 2, 0, 7, 0x18, 0, 188, 36, 280, 0 },
{ 1, 0, 0xFF, 4, 0x32, 2, 0, 7, 0x18, 0, 428, 108, 352, 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 177 of file wstag830.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2E1, 0xE0, 0x110, 4, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2E1, 0x1D0, 0x154, 4, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2E1, 0x390, 0x108, 5, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 201 of file wstag830.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map, actors and battles, playing BGM_0027.
Definition wstag830.c:22

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 207 of file wstag830.c.