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

WSTAG440: South Station, South Sector. More...

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

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)
 
#define STAGE_FILE   0x37D
 

Functions

void updateStage (StageTask *task, void **children)
 Creates the event object of story progress 6.
 
void endEvent152 (void)
 After event 152, with the player: moves the story on to STORY_SOUTH_STATION_GHOST.
 
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 script144 []
 
s16 script152 []
 
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 = { 210, 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 | ( 2 )) , 0, 0xFFFF }
 
u16 actor0Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 1, (0x7200 | ( 4 )) , 0, 0xFFFF }
 
u16 actor0Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x14 )) , 1, 0xFFFF }
 
u16 actor0Talk3Conditions []
 
u16 actor0Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0xA )) , 1, 0xFFFF }
 
u16 actor0Talk4Conditions []
 
u16 actor0Talk5Conditions []
 
u16 actor0Talk6Conditions []
 
u16 actor0Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x14 )) , 1, 0xFFFF }
 
u16 actor1Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor1Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor1Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 0, 0xFFFF }
 
u16 actor1Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 4 )) , 0, (0x7200 | ( 2 )) , 1, 0xFFFF }
 
u16 actor1Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x14 )) , 1, 0xFFFF }
 
u16 actor1Talk3Conditions []
 
u16 actor1Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0xA )) , 1, 0xFFFF }
 
u16 actor1Talk4Conditions []
 
u16 actor1Talk5Conditions []
 
u16 actor1Talk6Conditions []
 
u16 actor1Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x14 )) , 1, 0xFFFF }
 
u16 actor2Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor2Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor2Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 0, 0xFFFF }
 
u16 actor2Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 1, (0x7200 | ( 4 )) , 0, 0xFFFF }
 
u16 actor2Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x14 )) , 1, 0xFFFF }
 
u16 actor2Talk3Conditions []
 
u16 actor2Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0xA )) , 1, 0xFFFF }
 
u16 actor2Talk4Conditions []
 
u16 actor2Talk5Conditions []
 
u16 actor2Talk6Conditions []
 
u16 actor2Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x14 )) , 1, 0xFFFF }
 
u16 actor3Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor3Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor3Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor3Talk2Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 1, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor3Talk2Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor19Talk0Actions [] = { (0x9000 | ( 0x60 )) , 1, 0xFFFF }
 
u16 actor20Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor20Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 0, 0xFFFF }
 
u16 actor20Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 1, (0x7200 | ( 4 )) , 0, 0xFFFF }
 
u16 actor20Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x14 )) , 1, 0xFFFF }
 
u16 actor20Talk3Conditions []
 
u16 actor20Talk3Actions [] = { (( 0xE ) << 8 | ( 0xA )) , 1, 0xFFFF }
 
u16 actor20Talk4Conditions []
 
u16 actor20Talk5Conditions []
 
u16 actor20Talk6Conditions []
 
u16 actor20Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x14 )) , 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor11Talks []
 
FieldTalk actor12Talks []
 
FieldTalk actor13Talks []
 
FieldTalk actor14Talks []
 
FieldTalk actor15Talks []
 
FieldTalk actor16Talks []
 
FieldTalk actor17Talks []
 
FieldTalk actor18Talks []
 
FieldTalk actor19Talks []
 
FieldTalk actor20Talks []
 
FieldTalk actor21Talks []
 
u16 actor0Conditions []
 
u16 actor1Conditions []
 
u16 actor2Conditions []
 
u16 actor3Conditions []
 
u16 actor4Conditions []
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_SOUTH_STATION_GHOST )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_SEPIKMON_MASK_LOST )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_AGUMON_SUITS )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor16Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }
 
u16 actor17Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor18Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }
 
u16 actor20Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor21Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x2D, 4, 177, 313, 7 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x2D, 4, 177, 313, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2D, 4, 177, 313, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2D, 4, 177, 313, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2D, 4, 177, 313, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x2E, 5, 145, 329, 5 }
 
FieldActorEntry actor19 = { ((void *)0) , actor19Talks, 0x3F, 6, 463, 280, 1 }
 
FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x9D, 7, 177, 313, 7 }
 
FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x9E, 8, 145, 329, 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

WSTAG440: South Station, South Sector.

Definition in file wstag440.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 25 of file wstag440.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_06)

Definition at line 39 of file wstag440.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_400 - 1)

Definition at line 40 of file wstag440.c.

◆ STAGE_FILE

#define STAGE_FILE   0x37D

Definition at line 41 of file wstag440.c.

Function Documentation

◆ updateStage()

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

Creates the event object of story progress 6.

Definition at line 9 of file wstag440.c.

Here is the call graph for this function:

◆ endEvent152()

void endEvent152 ( void  )

After event 152, with the player: moves the story on to STORY_SOUTH_STATION_GHOST.

Definition at line 29 of file wstag440.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 47 of file wstag440.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 33 of file wstag440.c.

Referenced by setupStage().

◆ script144

s16 script144[]
Initial value:
= {
0x102, 2 , 0x1BF , 0x120 , 5 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 5 ,
0x300, 0x1E ,
0x101, 0x32D , 0x338 , 2 ,
0x300, 0x78 ,
0x101, 0x32D , 0x339 , 2 ,
0x300, 0x1E ,
0x200, 0 , 1 , 2 , 4 ,
0x301 ,
0x101, 2 , 1 , 1 ,
0x300, 0x1E ,
0x102, 2 , 0x1A0 , 0x130 , 1 ,
0x302, 2 ,
0x102, 2 , 0x150 , 0x109 , 3 ,
0x300, 0x3C ,
0x304, 0x22C , 0x140 , 0x140 , 5 ,
0 ,
0x128,
}

Definition at line 72 of file wstag440.c.

◆ script152

s16 script152[]
Initial value:
= {
0x601, 1 , 0x1AF , 0xD9 ,
0x100, 2 , 0x1EF , 0xB9 ,
0x101, 2 , 1 , 1 ,
0x300, 0x78 ,
0x200, 0 , 1 , 2 , 1 ,
0x301 ,
0x300, 0x1E ,
0x102, 2 , 0x16F , 0xF9 , 1 ,
0x300, 0x3C ,
0x304, 0x233 , 0x208 , 0x9C , 7 ,
0 ,
0x1FB,
}

Definition at line 99 of file wstag440.c.

◆ area0Battle0

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

Definition at line 118 of file wstag440.c.

◆ area0Battle1

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

Definition at line 119 of file wstag440.c.

◆ area0Battle2

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

Definition at line 120 of file wstag440.c.

◆ area0Battle3

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

Definition at line 121 of file wstag440.c.

◆ area0Battle4

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

Definition at line 122 of file wstag440.c.

◆ area0Battle5

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

Definition at line 123 of file wstag440.c.

◆ area0Battle6

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

Definition at line 124 of file wstag440.c.

◆ area0Battle7

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

Definition at line 125 of file wstag440.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag440.c:125
AreaBattle area0Battle1
Definition wstag440.c:119
AreaBattle area0Battle6
Definition wstag440.c:124
AreaBattle area0Battle3
Definition wstag440.c:121
AreaBattle area0Battle5
Definition wstag440.c:123
AreaBattle area0Battle0
Definition wstag440.c:118
AreaBattle area0Battle2
Definition wstag440.c:120
AreaBattle area0Battle4
Definition wstag440.c:122

Definition at line 126 of file wstag440.c.

◆ area1Battle0

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

Definition at line 131 of file wstag440.c.

◆ area1Battle1

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

Definition at line 132 of file wstag440.c.

◆ area1Battle2

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

Definition at line 133 of file wstag440.c.

◆ area1Battle3

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

Definition at line 134 of file wstag440.c.

◆ area1Battle4

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

Definition at line 135 of file wstag440.c.

◆ area1Battle5

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

Definition at line 136 of file wstag440.c.

◆ area1Battle6

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

Definition at line 137 of file wstag440.c.

◆ area1Battle7

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

Definition at line 138 of file wstag440.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag440.c:137
AreaBattle area1Battle2
Definition wstag440.c:133
AreaBattle area1Battle4
Definition wstag440.c:135
AreaBattle area1Battle5
Definition wstag440.c:136
AreaBattle area1Battle3
Definition wstag440.c:134
AreaBattle area1Battle0
Definition wstag440.c:131
AreaBattle area1Battle1
Definition wstag440.c:132
AreaBattle area1Battle7
Definition wstag440.c:138

Definition at line 139 of file wstag440.c.

◆ area2Battle0

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

Definition at line 144 of file wstag440.c.

◆ area2Battle1

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

Definition at line 145 of file wstag440.c.

◆ area2Battle2

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

Definition at line 146 of file wstag440.c.

◆ area2Battle3

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

Definition at line 147 of file wstag440.c.

◆ area2Battle4

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

Definition at line 148 of file wstag440.c.

◆ area2Battle5

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

Definition at line 149 of file wstag440.c.

◆ area2Battle6

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

Definition at line 150 of file wstag440.c.

◆ area2Battle7

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

Definition at line 151 of file wstag440.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag440.c:151
AreaBattle area2Battle6
Definition wstag440.c:150
AreaBattle area2Battle0
Definition wstag440.c:144
AreaBattle area2Battle4
Definition wstag440.c:148
AreaBattle area2Battle2
Definition wstag440.c:146
AreaBattle area2Battle1
Definition wstag440.c:145
AreaBattle area2Battle5
Definition wstag440.c:149
AreaBattle area2Battle3
Definition wstag440.c:147

Definition at line 152 of file wstag440.c.

◆ area3Battle0

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

Definition at line 157 of file wstag440.c.

◆ area3Battle1

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

Definition at line 158 of file wstag440.c.

◆ area3Battle2

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

Definition at line 159 of file wstag440.c.

◆ area3Battle3

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

Definition at line 160 of file wstag440.c.

◆ area3Battle4

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

Definition at line 161 of file wstag440.c.

◆ area3Battle5

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

Definition at line 162 of file wstag440.c.

◆ area3Battle6

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

Definition at line 163 of file wstag440.c.

◆ area3Battle7

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

Definition at line 164 of file wstag440.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag440.c:161
AreaBattle area3Battle3
Definition wstag440.c:160
AreaBattle area3Battle0
Definition wstag440.c:157
AreaBattle area3Battle2
Definition wstag440.c:159
AreaBattle area3Battle1
Definition wstag440.c:158
AreaBattle area3Battle6
Definition wstag440.c:163
AreaBattle area3Battle5
Definition wstag440.c:162
AreaBattle area3Battle7
Definition wstag440.c:164

Definition at line 165 of file wstag440.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag440.c:165
BattleList area1Battles
Definition wstag440.c:139
BattleList area2Battles
Definition wstag440.c:152
BattleList area0Battles
Definition wstag440.c:126

Definition at line 170 of file wstag440.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, 0x158, 0x150, 0x60, 0x50, 0x170, 0x1FE },
{ 0x140, 0x100, 0x140, 0x150, 0, 0x50, 0x160, 0x1FD },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0x140, 0x100, 0x148, 0x150, 0x20, 0x50, 0x170, 0x1FD },
{ 0x140, 0x100, 0x150, 0x150, 0x40, 0x50, 0x160, 0x1FC },
}

Definition at line 173 of file wstag440.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

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

Definition at line 186 of file wstag440.c.

◆ actor0Talk0Actions

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

Definition at line 187 of file wstag440.c.

◆ actor0Talk1Conditions

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

Definition at line 188 of file wstag440.c.

◆ actor0Talk2Conditions

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

Definition at line 189 of file wstag440.c.

◆ actor0Talk2Actions

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

Definition at line 190 of file wstag440.c.

◆ actor0Talk3Conditions

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

Definition at line 191 of file wstag440.c.

◆ actor0Talk3Actions

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

Definition at line 198 of file wstag440.c.

◆ actor0Talk4Conditions

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

Definition at line 199 of file wstag440.c.

◆ actor0Talk5Conditions

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

Definition at line 207 of file wstag440.c.

◆ actor0Talk6Conditions

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

Definition at line 216 of file wstag440.c.

◆ actor0Talk6Actions

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

Definition at line 225 of file wstag440.c.

◆ actor1Talk0Conditions

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

Definition at line 226 of file wstag440.c.

◆ actor1Talk0Actions

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

Definition at line 227 of file wstag440.c.

◆ actor1Talk1Conditions

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

Definition at line 228 of file wstag440.c.

◆ actor1Talk2Conditions

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

Definition at line 229 of file wstag440.c.

◆ actor1Talk2Actions

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

Definition at line 230 of file wstag440.c.

◆ actor1Talk3Conditions

u16 actor1Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 4 )) , 1,
(0x7200 | ( 2 )) , 1,
(( 0xE ) << 8 | ( 0xA )) , 0,
0xFFFF ,
}

Definition at line 231 of file wstag440.c.

◆ actor1Talk3Actions

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

Definition at line 238 of file wstag440.c.

◆ actor1Talk4Conditions

u16 actor1Talk4Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 2 )) , 1,
(0x7200 | ( 4 )) , 1,
(( 0xE ) << 8 | ( 0xA )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 0,
0xFFFF ,
}

Definition at line 239 of file wstag440.c.

◆ actor1Talk5Conditions

u16 actor1Talk5Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 2 )) , 1,
(0x7200 | ( 4 )) , 1,
(( 0xE ) << 8 | ( 0xA )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 6 )) , 0,
0xFFFF ,
}

Definition at line 247 of file wstag440.c.

◆ actor1Talk6Conditions

u16 actor1Talk6Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 2 )) , 1,
(0x7200 | ( 4 )) , 1,
(( 0xE ) << 8 | ( 0xA )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 6 )) , 1,
0xFFFF ,
}

Definition at line 256 of file wstag440.c.

◆ actor1Talk6Actions

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

Definition at line 265 of file wstag440.c.

◆ actor2Talk0Conditions

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

Definition at line 266 of file wstag440.c.

◆ actor2Talk0Actions

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

Definition at line 267 of file wstag440.c.

◆ actor2Talk1Conditions

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

Definition at line 268 of file wstag440.c.

◆ actor2Talk2Conditions

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

Definition at line 269 of file wstag440.c.

◆ actor2Talk2Actions

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

Definition at line 270 of file wstag440.c.

◆ actor2Talk3Conditions

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

Definition at line 271 of file wstag440.c.

◆ actor2Talk3Actions

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

Definition at line 278 of file wstag440.c.

◆ actor2Talk4Conditions

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

Definition at line 279 of file wstag440.c.

◆ actor2Talk5Conditions

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

Definition at line 287 of file wstag440.c.

◆ actor2Talk6Conditions

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

Definition at line 296 of file wstag440.c.

◆ actor2Talk6Actions

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

Definition at line 305 of file wstag440.c.

◆ actor3Talk0Conditions

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

Definition at line 306 of file wstag440.c.

◆ actor3Talk1Conditions

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

Definition at line 307 of file wstag440.c.

◆ actor3Talk1Actions

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

Definition at line 308 of file wstag440.c.

◆ actor3Talk2Conditions

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

Definition at line 309 of file wstag440.c.

◆ actor3Talk2Actions

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

Definition at line 310 of file wstag440.c.

◆ actor19Talk0Actions

u16 actor19Talk0Actions[] = { (0x9000 | ( 0x60 )) , 1, 0xFFFF }

Definition at line 311 of file wstag440.c.

◆ actor20Talk0Conditions

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

Definition at line 312 of file wstag440.c.

◆ actor20Talk1Conditions

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

Definition at line 313 of file wstag440.c.

◆ actor20Talk2Conditions

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

Definition at line 314 of file wstag440.c.

◆ actor20Talk2Actions

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

Definition at line 315 of file wstag440.c.

◆ actor20Talk3Conditions

u16 actor20Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 2 )) , 1,
(0x7200 | ( 4 )) , 1,
(( 0xE ) << 8 | ( 0xA )) , 0,
0xFFFF ,
}

Definition at line 316 of file wstag440.c.

◆ actor20Talk3Actions

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

Definition at line 323 of file wstag440.c.

◆ actor20Talk4Conditions

u16 actor20Talk4Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 2 )) , 1,
(0x7200 | ( 4 )) , 1,
(( 0xE ) << 8 | ( 0xA )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 0,
0xFFFF ,
}

Definition at line 324 of file wstag440.c.

◆ actor20Talk5Conditions

u16 actor20Talk5Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 2 )) , 1,
(0x7200 | ( 4 )) , 1,
(( 0xE ) << 8 | ( 0xA )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(0x7200 | ( 6 )) , 0,
0xFFFF ,
}

Definition at line 332 of file wstag440.c.

◆ actor20Talk6Conditions

u16 actor20Talk6Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 2 )) , 1,
(0x7200 | ( 6 )) , 1,
(0x7200 | ( 4 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x12 )), 1,
(( 0xE ) << 8 | ( 0xA )) , 1,
0xFFFF ,
}

Definition at line 341 of file wstag440.c.

◆ actor20Talk6Actions

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

Definition at line 350 of file wstag440.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ actor0Talk1Conditions, ((void *)0) , 0x8F },
{ actor0Talk4Conditions, ((void *)0) , 0x92 },
{ actor0Talk5Conditions, ((void *)0) , 0x93 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag440.c:187
u16 actor0Talk0Conditions[]
Definition wstag440.c:186
u16 actor0Talk1Conditions[]
Definition wstag440.c:188
u16 actor0Talk6Actions[]
Definition wstag440.c:225
u16 actor0Talk3Conditions[]
Definition wstag440.c:191
u16 actor0Talk4Conditions[]
Definition wstag440.c:199
u16 actor0Talk2Actions[]
Definition wstag440.c:190
u16 actor0Talk5Conditions[]
Definition wstag440.c:207
u16 actor0Talk2Conditions[]
Definition wstag440.c:189
u16 actor0Talk6Conditions[]
Definition wstag440.c:216
u16 actor0Talk3Actions[]
Definition wstag440.c:198

Definition at line 351 of file wstag440.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ actor1Talk1Conditions, ((void *)0) , 0x8F },
{ actor1Talk4Conditions, ((void *)0) , 0x92 },
{ actor1Talk5Conditions, ((void *)0) , 0x93 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk3Actions[]
Definition wstag440.c:238
u16 actor1Talk2Actions[]
Definition wstag440.c:230
u16 actor1Talk1Conditions[]
Definition wstag440.c:228
u16 actor1Talk6Actions[]
Definition wstag440.c:265
u16 actor1Talk0Conditions[]
Definition wstag440.c:226
u16 actor1Talk0Actions[]
Definition wstag440.c:227
u16 actor1Talk5Conditions[]
Definition wstag440.c:247
u16 actor1Talk2Conditions[]
Definition wstag440.c:229
u16 actor1Talk4Conditions[]
Definition wstag440.c:239
u16 actor1Talk6Conditions[]
Definition wstag440.c:256
u16 actor1Talk3Conditions[]
Definition wstag440.c:231

Definition at line 361 of file wstag440.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ actor2Talk1Conditions, ((void *)0) , 0x8F },
{ actor2Talk4Conditions, ((void *)0) , 0x92 },
{ actor2Talk5Conditions, ((void *)0) , 0x93 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag440.c:268
u16 actor2Talk3Conditions[]
Definition wstag440.c:271
u16 actor2Talk0Actions[]
Definition wstag440.c:267
u16 actor2Talk2Conditions[]
Definition wstag440.c:269
u16 actor2Talk3Actions[]
Definition wstag440.c:278
u16 actor2Talk6Actions[]
Definition wstag440.c:305
u16 actor2Talk5Conditions[]
Definition wstag440.c:287
u16 actor2Talk0Conditions[]
Definition wstag440.c:266
u16 actor2Talk2Actions[]
Definition wstag440.c:270
u16 actor2Talk6Conditions[]
Definition wstag440.c:296
u16 actor2Talk4Conditions[]
Definition wstag440.c:279

Definition at line 371 of file wstag440.c.

◆ actor3Talks

FieldTalk actor3Talks[]
Initial value:
= {
{ actor3Talk0Conditions, ((void *)0) , 0x8A },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor3Talk0Conditions[]
Definition wstag440.c:306
u16 actor3Talk2Conditions[]
Definition wstag440.c:309
u16 actor3Talk1Conditions[]
Definition wstag440.c:307
u16 actor3Talk1Actions[]
Definition wstag440.c:308
u16 actor3Talk2Actions[]
Definition wstag440.c:310

Definition at line 381 of file wstag440.c.

◆ actor4Talks

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

Definition at line 387 of file wstag440.c.

◆ actor5Talks

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

Definition at line 391 of file wstag440.c.

◆ actor6Talks

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

Definition at line 395 of file wstag440.c.

◆ actor7Talks

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

Definition at line 399 of file wstag440.c.

◆ actor8Talks

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

Definition at line 403 of file wstag440.c.

◆ actor9Talks

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

Definition at line 407 of file wstag440.c.

◆ actor10Talks

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

Definition at line 411 of file wstag440.c.

◆ actor11Talks

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

Definition at line 415 of file wstag440.c.

◆ actor12Talks

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

Definition at line 419 of file wstag440.c.

◆ actor13Talks

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

Definition at line 423 of file wstag440.c.

◆ actor14Talks

FieldTalk actor14Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0xF5 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 427 of file wstag440.c.

◆ actor15Talks

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

Definition at line 431 of file wstag440.c.

◆ actor16Talks

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

Definition at line 435 of file wstag440.c.

◆ actor17Talks

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

Definition at line 439 of file wstag440.c.

◆ actor18Talks

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

Definition at line 443 of file wstag440.c.

◆ actor19Talks

FieldTalk actor19Talks[]
Initial value:
= {
{ ((void *)0) , actor19Talk0Actions, 0x32B },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor19Talk0Actions[]
Definition wstag440.c:311

Definition at line 447 of file wstag440.c.

◆ actor20Talks

FieldTalk actor20Talks[]
Initial value:
= {
{ actor20Talk0Conditions, ((void *)0) , 0x8D },
{ actor20Talk1Conditions, ((void *)0) , 0x8D },
{ actor20Talk4Conditions, ((void *)0) , 0x8D },
{ actor20Talk5Conditions, ((void *)0) , 0x8D },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor20Talk1Conditions[]
Definition wstag440.c:313
u16 actor20Talk5Conditions[]
Definition wstag440.c:332
u16 actor20Talk2Actions[]
Definition wstag440.c:315
u16 actor20Talk4Conditions[]
Definition wstag440.c:324
u16 actor20Talk2Conditions[]
Definition wstag440.c:314
u16 actor20Talk6Conditions[]
Definition wstag440.c:341
u16 actor20Talk6Actions[]
Definition wstag440.c:350
u16 actor20Talk3Actions[]
Definition wstag440.c:323
u16 actor20Talk0Conditions[]
Definition wstag440.c:312
u16 actor20Talk3Conditions[]
Definition wstag440.c:316

Definition at line 451 of file wstag440.c.

◆ actor21Talks

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

Definition at line 461 of file wstag440.c.

◆ actor0Conditions

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

Definition at line 465 of file wstag440.c.

◆ actor1Conditions

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

Definition at line 471 of file wstag440.c.

◆ actor2Conditions

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

◆ actor3Conditions

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

Definition at line 483 of file wstag440.c.

◆ actor4Conditions

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

Definition at line 489 of file wstag440.c.

◆ actor5Conditions

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

Definition at line 495 of file wstag440.c.

◆ actor6Conditions

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

Definition at line 496 of file wstag440.c.

◆ actor7Conditions

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

Definition at line 497 of file wstag440.c.

◆ actor8Conditions

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

Definition at line 498 of file wstag440.c.

◆ actor9Conditions

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

Definition at line 499 of file wstag440.c.

◆ actor10Conditions

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

Definition at line 500 of file wstag440.c.

◆ actor11Conditions

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

Definition at line 501 of file wstag440.c.

◆ actor12Conditions

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

Definition at line 502 of file wstag440.c.

◆ actor13Conditions

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

Definition at line 503 of file wstag440.c.

◆ actor14Conditions

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

Definition at line 504 of file wstag440.c.

◆ actor15Conditions

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

Definition at line 505 of file wstag440.c.

◆ actor16Conditions

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

Definition at line 506 of file wstag440.c.

◆ actor17Conditions

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

Definition at line 507 of file wstag440.c.

◆ actor18Conditions

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

Definition at line 508 of file wstag440.c.

◆ actor20Conditions

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

Definition at line 509 of file wstag440.c.

◆ actor21Conditions

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

Definition at line 510 of file wstag440.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x2D, 4, 177, 313, 7 }

Definition at line 511 of file wstag440.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x2D, 4, 177, 313, 7 }

Definition at line 512 of file wstag440.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2D, 4, 177, 313, 7 }

Definition at line 513 of file wstag440.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2D, 4, 177, 313, 7 }

Definition at line 514 of file wstag440.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2D, 4, 177, 313, 7 }

Definition at line 515 of file wstag440.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 516 of file wstag440.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 517 of file wstag440.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 518 of file wstag440.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 519 of file wstag440.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 520 of file wstag440.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 521 of file wstag440.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 522 of file wstag440.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 523 of file wstag440.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 524 of file wstag440.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 525 of file wstag440.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 526 of file wstag440.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 527 of file wstag440.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 528 of file wstag440.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x2E, 5, 145, 329, 5 }

Definition at line 529 of file wstag440.c.

◆ actor19

FieldActorEntry actor19 = { ((void *)0) , actor19Talks, 0x3F, 6, 463, 280, 1 }

Definition at line 530 of file wstag440.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x9D, 7, 177, 313, 7 }

Definition at line 531 of file wstag440.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x9E, 8, 145, 329, 5 }

Definition at line 532 of file wstag440.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag440.c:511
FieldActorEntry actor6
Definition wstag440.c:517
FieldActorEntry actor17
Definition wstag440.c:528
FieldActorEntry actor18
Definition wstag440.c:529
FieldActorEntry actor5
Definition wstag440.c:516
FieldActorEntry actor2
Definition wstag440.c:513
FieldActorEntry actor19
Definition wstag440.c:530
FieldActorEntry actor10
Definition wstag440.c:521
FieldActorEntry actor4
Definition wstag440.c:515
FieldActorEntry actor8
Definition wstag440.c:519
FieldActorEntry actor9
Definition wstag440.c:520
FieldActorEntry actor20
Definition wstag440.c:531
FieldActorEntry actor15
Definition wstag440.c:526
FieldActorEntry actor12
Definition wstag440.c:523
FieldActorEntry actor16
Definition wstag440.c:527
FieldActorEntry actor7
Definition wstag440.c:518
FieldActorEntry actor13
Definition wstag440.c:524
FieldActorEntry actor11
Definition wstag440.c:522
FieldActorEntry actor1
Definition wstag440.c:512
FieldActorEntry actor21
Definition wstag440.c:532
FieldActorEntry actor3
Definition wstag440.c:514
FieldActorEntry actor14
Definition wstag440.c:525

Definition at line 533 of file wstag440.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 6, 0x32, 2, 0, 5, 9, 0, 435, 247, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 1, 0x33, 0x38, 9, 0, 443, 254, 0, 0 },
{ 1, 0, 0x40, 6, 0x39, 2, 0, 5, 6, 0, 443, 348, 0, 0 },
{ 1, 0, 0x40, 6, 0x3A, 1, 0x3A, 0x3F, 6, 0, 377, 384, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 482, 177, 200, 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 558 of file wstag440.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x233, 0x208, 0x9C, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 566 of file wstag440.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 wstag440.c:47

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 570 of file wstag440.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 152, script152, ( ( 0x136 - 1) << 16 | ( 6 )), ((void *)0) , endEvent152 },
{ 144, script144, ( ( 0x136 - 1) << 16 | ( 0x21 )), ((void *)0) , ((void *)0) },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
s16 script144[]
Definition wstag440.c:72
s16 script152[]
Definition wstag440.c:99
void endEvent152(void)
After event 152, with the player: moves the story on to STORY_SOUTH_STATION_GHOST.
Definition wstag440.c:29

Definition at line 573 of file wstag440.c.

Referenced by setupStage().