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

WSTAG650: Mirage Hall, West 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 wstag650.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_600 - 1)
 
#define STAGE_FILE   0x54E
 

Functions

void endEvent1458 (void)
 After event 1458, with Guardromon: applies 0x7C15, an action that does nothing (applyAction's mode changes 0x7C are only 0 and 1)
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing BGM_0020; BGM_0029 instead at story steps 0x27 to 0x28 and 0xF to 0x17.
 

Variables

s16 script1458 []
 
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 = { 216, 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 actor0Talk0Actions [] = { 0x7A2D, 1, 0xFFFF }
 
u16 actor1Talk0Actions [] = { (0x9000 | ( 0x12 )) , 1, 0xFFFF }
 
u16 actor2Talk0Actions [] = { 0x7A0A, 1, 0xFFFF }
 
u16 actor13Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor13Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor13Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 0, 0xFFFF }
 
u16 actor13Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 1, 0xFFFF }
 
u16 actor13Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor14Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor14Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor14Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor14Talk2Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 1, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor14Talk2Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor15Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor15Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor15Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 0, 0xFFFF }
 
u16 actor15Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 1, 0xFFFF }
 
u16 actor15Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor16Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor16Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor16Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 0, 0xFFFF }
 
u16 actor16Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 1, 0xFFFF }
 
u16 actor16Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor17Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor17Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor17Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor17Talk1Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor17Talk2Conditions []
 
u16 actor17Talk3Conditions []
 
u16 actor17Talk3Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor18Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor18Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor18Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor18Talk2Conditions []
 
u16 actor18Talk2Actions []
 
u16 actor18Talk3Conditions []
 
u16 actor18Talk3Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor20Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor20Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 0, 0xFFFF }
 
u16 actor20Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 1, 0xFFFF }
 
u16 actor20Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x1A )) , 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 []
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_DE_SINCERITY )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_NUMEMON_FOUND )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_BYAKKO_BADGE )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_DE_SINCERITY )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x6000 | ( STORY_NUMEMON_FOUND )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x6000 | ( STORY_BYAKKO_BADGE )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_LISA_SAVED )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor13Conditions []
 
u16 actor14Conditions []
 
u16 actor15Conditions []
 
u16 actor16Conditions []
 
u16 actor17Conditions []
 
u16 actor18Conditions []
 
u16 actor19Conditions []
 
u16 actor20Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 321, 593, 1 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 183, 281, 7 }
 
FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x17, 6, 528, 305, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x20, 7, 353, 442, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 7, 353, 442, 1 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 7, 353, 442, 1 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x20, 7, 353, 442, 1 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x20, 7, 353, 442, 1 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x30, 8, 537, 493, 7 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x30, 8, 537, 493, 7 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x30, 8, 537, 493, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x30, 8, 537, 493, 7 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x30, 8, 537, 493, 7 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x33, 9, 401, 529, 7 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x33, 9, 401, 529, 7 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x33, 9, 401, 529, 7 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x33, 9, 401, 529, 7 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x33, 9, 401, 529, 7 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x33, 9, 401, 529, 7 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x33, 9, 401, 529, 7 }
 
FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x9D, 0xA, 401, 529, 7 }
 
FieldActorEntry * stageActors []
 
StageTile stageObjects []
 The tables and color setupStage gives FIELDSTG_state (FieldState)
 
StageSlot stageSlots []
 
void(* stageFuncs [])(void)
 The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.
 
FieldEvent stageEvents []
 

Detailed Description

WSTAG650: Mirage Hall, West Sector.

Definition in file wstag650.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_02)

Definition at line 24 of file wstag650.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_600 - 1)

Definition at line 25 of file wstag650.c.

◆ STAGE_FILE

#define STAGE_FILE   0x54E

Definition at line 26 of file wstag650.c.

Function Documentation

◆ endEvent1458()

void endEvent1458 ( void  )

After event 1458, with Guardromon: applies 0x7C15, an action that does nothing (applyAction's mode changes 0x7C are only 0 and 1)

Definition at line 15 of file wstag650.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing BGM_0020; BGM_0029 instead at story steps 0x27 to 0x28 and 0xF to 0x17.

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_0020: the Mirage Hall and Mirage Room

< BGM_0020: the Mirage Hall and Mirage Room

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

< 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 wstag650.c.

Variable Documentation

◆ script1458

s16 script1458[]
Initial value:
= {
0x102, 2 , 0xD7 , 0x129 , 3 ,
0x100, 0x15 , 0xB7 , 0x119 ,
0x101, 0x15 , 1 , 7 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 3 ,
0x300, 6 ,
0x300, 0x1E ,
0x200, 0 , 1 , 0x15 , 2 ,
0x301 ,
0x300, 0x1E ,
0x101, 0x15 , 0x36 , 7 ,
0x101, 0x32D , 0x375 , 2 ,
0x303, 0x15 ,
0x101, 0x15 , 0x37 , 7 ,
0x300, 0x5A ,
0x304, 0xC13 , 0 , 0 , 0 ,
0 ,
0x323,
}

Definition at line 60 of file wstag650.c.

◆ area0Battle0

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

Definition at line 88 of file wstag650.c.

◆ area0Battle1

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

Definition at line 89 of file wstag650.c.

◆ area0Battle2

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

Definition at line 90 of file wstag650.c.

◆ area0Battle3

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

Definition at line 91 of file wstag650.c.

◆ area0Battle4

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

Definition at line 92 of file wstag650.c.

◆ area0Battle5

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

Definition at line 93 of file wstag650.c.

◆ area0Battle6

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

Definition at line 94 of file wstag650.c.

◆ area0Battle7

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

Definition at line 95 of file wstag650.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag650.c:95
AreaBattle area0Battle1
Definition wstag650.c:89
AreaBattle area0Battle6
Definition wstag650.c:94
AreaBattle area0Battle3
Definition wstag650.c:91
AreaBattle area0Battle5
Definition wstag650.c:93
AreaBattle area0Battle0
Definition wstag650.c:88
AreaBattle area0Battle2
Definition wstag650.c:90
AreaBattle area0Battle4
Definition wstag650.c:92

Definition at line 96 of file wstag650.c.

◆ area1Battle0

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

Definition at line 101 of file wstag650.c.

◆ area1Battle1

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

Definition at line 102 of file wstag650.c.

◆ area1Battle2

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

Definition at line 103 of file wstag650.c.

◆ area1Battle3

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

Definition at line 104 of file wstag650.c.

◆ area1Battle4

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

Definition at line 105 of file wstag650.c.

◆ area1Battle5

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

Definition at line 106 of file wstag650.c.

◆ area1Battle6

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

Definition at line 107 of file wstag650.c.

◆ area1Battle7

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

Definition at line 108 of file wstag650.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag650.c:107
AreaBattle area1Battle2
Definition wstag650.c:103
AreaBattle area1Battle4
Definition wstag650.c:105
AreaBattle area1Battle5
Definition wstag650.c:106
AreaBattle area1Battle3
Definition wstag650.c:104
AreaBattle area1Battle0
Definition wstag650.c:101
AreaBattle area1Battle1
Definition wstag650.c:102
AreaBattle area1Battle7
Definition wstag650.c:108

Definition at line 109 of file wstag650.c.

◆ area2Battle0

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

Definition at line 114 of file wstag650.c.

◆ area2Battle1

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

Definition at line 115 of file wstag650.c.

◆ area2Battle2

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

Definition at line 116 of file wstag650.c.

◆ area2Battle3

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

Definition at line 117 of file wstag650.c.

◆ area2Battle4

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

Definition at line 118 of file wstag650.c.

◆ area2Battle5

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

Definition at line 119 of file wstag650.c.

◆ area2Battle6

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

Definition at line 120 of file wstag650.c.

◆ area2Battle7

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

Definition at line 121 of file wstag650.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag650.c:121
AreaBattle area2Battle6
Definition wstag650.c:120
AreaBattle area2Battle0
Definition wstag650.c:114
AreaBattle area2Battle4
Definition wstag650.c:118
AreaBattle area2Battle2
Definition wstag650.c:116
AreaBattle area2Battle1
Definition wstag650.c:115
AreaBattle area2Battle5
Definition wstag650.c:119
AreaBattle area2Battle3
Definition wstag650.c:117

Definition at line 122 of file wstag650.c.

◆ area3Battle0

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

Definition at line 127 of file wstag650.c.

◆ area3Battle1

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

Definition at line 128 of file wstag650.c.

◆ area3Battle2

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

Definition at line 129 of file wstag650.c.

◆ area3Battle3

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

Definition at line 130 of file wstag650.c.

◆ area3Battle4

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

Definition at line 131 of file wstag650.c.

◆ area3Battle5

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

Definition at line 132 of file wstag650.c.

◆ area3Battle6

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

Definition at line 133 of file wstag650.c.

◆ area3Battle7

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

Definition at line 134 of file wstag650.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag650.c:131
AreaBattle area3Battle3
Definition wstag650.c:130
AreaBattle area3Battle0
Definition wstag650.c:127
AreaBattle area3Battle2
Definition wstag650.c:129
AreaBattle area3Battle1
Definition wstag650.c:128
AreaBattle area3Battle6
Definition wstag650.c:133
AreaBattle area3Battle5
Definition wstag650.c:132
AreaBattle area3Battle7
Definition wstag650.c:134

Definition at line 135 of file wstag650.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag650.c:135
BattleList area1Battles
Definition wstag650.c:109
BattleList area2Battles
Definition wstag650.c:122
BattleList area0Battles
Definition wstag650.c:96

Definition at line 140 of file wstag650.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, 0x164, 0x1A7, 0x90, 0xA7, 0x160, 0x1FF },
{ 0x140, 0x100, 0x150, 0x178, 0x40, 0x78, 0x170, 0x1FF },
{ 0x140, 0x100, 0x140, 0x18B, 0, 0x8B, 0x160, 0x1FE },
{ 0x140, 0x100, 0x16C, 0x1A5, 0xB0, 0xA5, 0x170, 0x1FE },
{ 0x140, 0x100, 0x174, 0x1A5, 0xD0, 0xA5, 0x160, 0x1FD },
{ 0x140, 0x100, 0x15C, 0x1A7, 0x70, 0xA7, 0x170, 0x1FD },
{ 0x140, 0x100, 0x14A, 0x1A8, 0x28, 0xA8, 0x160, 0x1FC },
}

Definition at line 143 of file wstag650.c.

Referenced by setupStage().

◆ actor0Talk0Actions

u16 actor0Talk0Actions[] = { 0x7A2D, 1, 0xFFFF }

Definition at line 158 of file wstag650.c.

◆ actor1Talk0Actions

u16 actor1Talk0Actions[] = { (0x9000 | ( 0x12 )) , 1, 0xFFFF }

Definition at line 159 of file wstag650.c.

◆ actor2Talk0Actions

u16 actor2Talk0Actions[] = { 0x7A0A, 1, 0xFFFF }

Definition at line 160 of file wstag650.c.

◆ actor13Talk0Conditions

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

Definition at line 161 of file wstag650.c.

◆ actor13Talk0Actions

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

Definition at line 162 of file wstag650.c.

◆ actor13Talk1Conditions

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

Definition at line 163 of file wstag650.c.

◆ actor13Talk2Conditions

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

Definition at line 164 of file wstag650.c.

◆ actor13Talk2Actions

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

Definition at line 165 of file wstag650.c.

◆ actor14Talk0Conditions

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

Definition at line 166 of file wstag650.c.

◆ actor14Talk1Conditions

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

Definition at line 167 of file wstag650.c.

◆ actor14Talk1Actions

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

Definition at line 168 of file wstag650.c.

◆ actor14Talk2Conditions

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

Definition at line 169 of file wstag650.c.

◆ actor14Talk2Actions

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

Definition at line 170 of file wstag650.c.

◆ actor15Talk0Conditions

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

Definition at line 171 of file wstag650.c.

◆ actor15Talk0Actions

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

Definition at line 172 of file wstag650.c.

◆ actor15Talk1Conditions

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

Definition at line 173 of file wstag650.c.

◆ actor15Talk2Conditions

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

Definition at line 174 of file wstag650.c.

◆ actor15Talk2Actions

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

Definition at line 175 of file wstag650.c.

◆ actor16Talk0Conditions

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

Definition at line 176 of file wstag650.c.

◆ actor16Talk0Actions

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

Definition at line 177 of file wstag650.c.

◆ actor16Talk1Conditions

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

Definition at line 178 of file wstag650.c.

◆ actor16Talk2Conditions

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

Definition at line 179 of file wstag650.c.

◆ actor16Talk2Actions

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

Definition at line 180 of file wstag650.c.

◆ actor17Talk0Conditions

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

Definition at line 181 of file wstag650.c.

◆ actor17Talk0Actions

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

Definition at line 182 of file wstag650.c.

◆ actor17Talk1Conditions

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

Definition at line 183 of file wstag650.c.

◆ actor17Talk1Actions

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

Definition at line 184 of file wstag650.c.

◆ actor17Talk2Conditions

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

Definition at line 185 of file wstag650.c.

◆ actor17Talk3Conditions

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

Definition at line 191 of file wstag650.c.

◆ actor17Talk3Actions

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

Definition at line 197 of file wstag650.c.

◆ actor18Talk0Conditions

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

Definition at line 198 of file wstag650.c.

◆ actor18Talk1Conditions

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

Definition at line 199 of file wstag650.c.

◆ actor18Talk1Actions

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

Definition at line 200 of file wstag650.c.

◆ actor18Talk2Conditions

u16 actor18Talk2Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x10 )) , 1,
(0x9200 | ( 1 )) , 0,
(( 0 ) << 8 | ( 0x11 )) , 1,
0xFFFF ,
}

Definition at line 201 of file wstag650.c.

◆ actor18Talk2Actions

u16 actor18Talk2Actions[]
Initial value:
= {
(0x9200 | ( 1 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
(0x7000 | ( 0x13 )) , 1,
(( 0 ) << 8 | ( 0x10 )) , 0,
0xFFFF ,
}

Definition at line 207 of file wstag650.c.

◆ actor18Talk3Conditions

u16 actor18Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x10 )) , 1,
(0x9200 | ( 1 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 1,
0xFFFF ,
}

Definition at line 214 of file wstag650.c.

◆ actor18Talk3Actions

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

Definition at line 220 of file wstag650.c.

◆ actor20Talk0Conditions

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

Definition at line 221 of file wstag650.c.

◆ actor20Talk1Conditions

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

Definition at line 222 of file wstag650.c.

◆ actor20Talk2Conditions

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

Definition at line 223 of file wstag650.c.

◆ actor20Talk2Actions

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

Definition at line 224 of file wstag650.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x16B },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag650.c:158

Definition at line 225 of file wstag650.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , actor1Talk0Actions, 0x168 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk0Actions[]
Definition wstag650.c:159

Definition at line 229 of file wstag650.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , actor2Talk0Actions, 0x2D7 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk0Actions[]
Definition wstag650.c:160

Definition at line 233 of file wstag650.c.

◆ actor3Talks

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

Definition at line 237 of file wstag650.c.

◆ actor4Talks

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

Definition at line 241 of file wstag650.c.

◆ actor5Talks

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

Definition at line 245 of file wstag650.c.

◆ actor6Talks

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

Definition at line 249 of file wstag650.c.

◆ actor7Talks

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

Definition at line 253 of file wstag650.c.

◆ actor8Talks

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

Definition at line 257 of file wstag650.c.

◆ actor9Talks

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

Definition at line 261 of file wstag650.c.

◆ actor10Talks

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

Definition at line 265 of file wstag650.c.

◆ actor11Talks

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

Definition at line 269 of file wstag650.c.

◆ actor12Talks

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

Definition at line 273 of file wstag650.c.

◆ actor13Talks

FieldTalk actor13Talks[]
Initial value:
= {
{ actor13Talk1Conditions, ((void *)0) , 0xD1 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor13Talk2Conditions[]
Definition wstag650.c:164
u16 actor13Talk0Conditions[]
Definition wstag650.c:161
u16 actor13Talk0Actions[]
Definition wstag650.c:162
u16 actor13Talk1Conditions[]
Definition wstag650.c:163
u16 actor13Talk2Actions[]
Definition wstag650.c:165

Definition at line 277 of file wstag650.c.

◆ actor14Talks

FieldTalk actor14Talks[]
Initial value:
= {
{ actor14Talk0Conditions, ((void *)0) , 0xCD },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor14Talk1Actions[]
Definition wstag650.c:168
u16 actor14Talk1Conditions[]
Definition wstag650.c:167
u16 actor14Talk2Actions[]
Definition wstag650.c:170
u16 actor14Talk2Conditions[]
Definition wstag650.c:169
u16 actor14Talk0Conditions[]
Definition wstag650.c:166

Definition at line 283 of file wstag650.c.

◆ actor15Talks

FieldTalk actor15Talks[]
Initial value:
= {
{ actor15Talk1Conditions, ((void *)0) , 0xD1 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor15Talk2Conditions[]
Definition wstag650.c:174
u16 actor15Talk1Conditions[]
Definition wstag650.c:173
u16 actor15Talk2Actions[]
Definition wstag650.c:175
u16 actor15Talk0Conditions[]
Definition wstag650.c:171
u16 actor15Talk0Actions[]
Definition wstag650.c:172

Definition at line 289 of file wstag650.c.

◆ actor16Talks

FieldTalk actor16Talks[]
Initial value:
= {
{ actor16Talk1Conditions, ((void *)0) , 0xD1 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor16Talk2Conditions[]
Definition wstag650.c:179
u16 actor16Talk0Actions[]
Definition wstag650.c:177
u16 actor16Talk1Conditions[]
Definition wstag650.c:178
u16 actor16Talk2Actions[]
Definition wstag650.c:180
u16 actor16Talk0Conditions[]
Definition wstag650.c:176

Definition at line 295 of file wstag650.c.

◆ actor17Talks

FieldTalk actor17Talks[]
Initial value:
= {
{ actor17Talk2Conditions, ((void *)0) , 0xD5 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor17Talk3Actions[]
Definition wstag650.c:197
u16 actor17Talk2Conditions[]
Definition wstag650.c:185
u16 actor17Talk1Conditions[]
Definition wstag650.c:183
u16 actor17Talk0Conditions[]
Definition wstag650.c:181
u16 actor17Talk3Conditions[]
Definition wstag650.c:191
u16 actor17Talk1Actions[]
Definition wstag650.c:184
u16 actor17Talk0Actions[]
Definition wstag650.c:182

Definition at line 301 of file wstag650.c.

◆ actor18Talks

FieldTalk actor18Talks[]
Initial value:
= {
{ actor18Talk0Conditions, ((void *)0) , 0xCD },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor18Talk2Actions[]
Definition wstag650.c:207
u16 actor18Talk1Actions[]
Definition wstag650.c:200
u16 actor18Talk1Conditions[]
Definition wstag650.c:199
u16 actor18Talk3Conditions[]
Definition wstag650.c:214
u16 actor18Talk3Actions[]
Definition wstag650.c:220
u16 actor18Talk2Conditions[]
Definition wstag650.c:201
u16 actor18Talk0Conditions[]
Definition wstag650.c:198

Definition at line 308 of file wstag650.c.

◆ actor19Talks

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

Definition at line 315 of file wstag650.c.

◆ actor20Talks

FieldTalk actor20Talks[]
Initial value:
= {
{ actor20Talk0Conditions, ((void *)0) , 0xD0 },
{ actor20Talk1Conditions, ((void *)0) , 0xD0 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor20Talk1Conditions[]
Definition wstag650.c:222
u16 actor20Talk2Actions[]
Definition wstag650.c:224
u16 actor20Talk2Conditions[]
Definition wstag650.c:223
u16 actor20Talk0Conditions[]
Definition wstag650.c:221

Definition at line 319 of file wstag650.c.

◆ actor3Conditions

u16 actor3Conditions[] = { (0x6000 | ( STORY_DE_SINCERITY )) , 1, 0xFFFF }

Definition at line 325 of file wstag650.c.

◆ actor4Conditions

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

Definition at line 326 of file wstag650.c.

◆ actor5Conditions

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

Definition at line 327 of file wstag650.c.

◆ actor6Conditions

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

Definition at line 328 of file wstag650.c.

◆ actor7Conditions

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

Definition at line 329 of file wstag650.c.

◆ actor8Conditions

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

Definition at line 330 of file wstag650.c.

◆ actor9Conditions

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

Definition at line 331 of file wstag650.c.

◆ actor10Conditions

u16 actor10Conditions[] = { (0x6000 | ( STORY_BYAKKO_BADGE )) , 1, 0xFFFF }

Definition at line 332 of file wstag650.c.

◆ actor11Conditions

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

Definition at line 333 of file wstag650.c.

◆ actor12Conditions

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

Definition at line 334 of file wstag650.c.

◆ actor13Conditions

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

Definition at line 335 of file wstag650.c.

◆ actor14Conditions

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

Definition at line 342 of file wstag650.c.

◆ actor15Conditions

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

Definition at line 349 of file wstag650.c.

◆ actor16Conditions

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

◆ actor17Conditions

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

Definition at line 363 of file wstag650.c.

◆ actor18Conditions

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

Definition at line 370 of file wstag650.c.

◆ actor19Conditions

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

Definition at line 377 of file wstag650.c.

◆ actor20Conditions

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

Definition at line 383 of file wstag650.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 321, 593, 1 }

Definition at line 384 of file wstag650.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 183, 281, 7 }

Definition at line 385 of file wstag650.c.

◆ actor2

FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x17, 6, 528, 305, 7 }

Definition at line 386 of file wstag650.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x20, 7, 353, 442, 1 }

Definition at line 387 of file wstag650.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 7, 353, 442, 1 }

Definition at line 388 of file wstag650.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 7, 353, 442, 1 }

Definition at line 389 of file wstag650.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x20, 7, 353, 442, 1 }

Definition at line 390 of file wstag650.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x20, 7, 353, 442, 1 }

Definition at line 391 of file wstag650.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x30, 8, 537, 493, 7 }

Definition at line 392 of file wstag650.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x30, 8, 537, 493, 7 }

Definition at line 393 of file wstag650.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x30, 8, 537, 493, 7 }

Definition at line 394 of file wstag650.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x30, 8, 537, 493, 7 }

Definition at line 395 of file wstag650.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x30, 8, 537, 493, 7 }

Definition at line 396 of file wstag650.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x33, 9, 401, 529, 7 }

Definition at line 397 of file wstag650.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x33, 9, 401, 529, 7 }

Definition at line 398 of file wstag650.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x33, 9, 401, 529, 7 }

Definition at line 399 of file wstag650.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x33, 9, 401, 529, 7 }

Definition at line 400 of file wstag650.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x33, 9, 401, 529, 7 }

Definition at line 401 of file wstag650.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x33, 9, 401, 529, 7 }

Definition at line 402 of file wstag650.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x33, 9, 401, 529, 7 }

Definition at line 403 of file wstag650.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x9D, 0xA, 401, 529, 7 }

Definition at line 404 of file wstag650.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag650.c:384
FieldActorEntry actor6
Definition wstag650.c:390
FieldActorEntry actor17
Definition wstag650.c:401
FieldActorEntry actor18
Definition wstag650.c:402
FieldActorEntry actor5
Definition wstag650.c:389
FieldActorEntry actor2
Definition wstag650.c:386
FieldActorEntry actor19
Definition wstag650.c:403
FieldActorEntry actor10
Definition wstag650.c:394
FieldActorEntry actor4
Definition wstag650.c:388
FieldActorEntry actor8
Definition wstag650.c:392
FieldActorEntry actor9
Definition wstag650.c:393
FieldActorEntry actor20
Definition wstag650.c:404
FieldActorEntry actor15
Definition wstag650.c:399
FieldActorEntry actor12
Definition wstag650.c:396
FieldActorEntry actor16
Definition wstag650.c:400
FieldActorEntry actor7
Definition wstag650.c:391
FieldActorEntry actor13
Definition wstag650.c:397
FieldActorEntry actor11
Definition wstag650.c:395
FieldActorEntry actor1
Definition wstag650.c:385
FieldActorEntry actor3
Definition wstag650.c:387
FieldActorEntry actor14
Definition wstag650.c:398

Definition at line 405 of file wstag650.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 6, 0x32, 2, 0, 7, 0xE, 0, 252, 269, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 7, 0xE, 0, 482, 625, 0, 0 },
{ 1, 0, 0x40, 6, 0x34, 2, 0, 7, 0xE, 0, 195, 353, 0, 0 },
{ 1, 0, 0x40, 6, 0x34, 2, 0, 7, 0xE, 0, 339, 386, 0, 0 },
{ 1, 0, 0x40, 6, 0x34, 2, 0, 7, 0xE, 0, 539, 364, 0, 0 },
{ 1, 0, 0x40, 6, 0x35, 2, 0, 7, 0xE, 0, 366, 485, 0, 0 },
{ 1, 0, 0x40, 6, 0x36, 2, 0, 7, 0xE, 0, 475, 430, 0, 0 },
{ 1, 0, 0x40, 6, 0x37, 2, 0, 0xB, 0xA, 0, 164, 326, 0, 0 },
{ 1, 0, 0x40, 6, 0x38, 2, 0, 0xB, 0xA, 0, 164, 354, 0, 0 },
{ 1, 0, 0x40, 6, 0x39, 2, 0, 0xB, 0xA, 0, 508, 337, 0, 0 },
{ 1, 0, 0x40, 6, 0x3A, 2, 0, 0xB, 0xA, 0, 512, 364, 0, 0 },
{ 1, 0, 0x40, 6, 0x3B, 2, 0, 0xB, 0xA, 0, 568, 388, 0, 0 },
{ 1, 0, 0x40, 6, 0x3C, 2, 0, 0xB, 0xA, 0, 481, 426, 0, 0 },
{ 1, 0, 0x40, 6, 0x3D, 2, 0, 0xB, 0xA, 0, 453, 432, 0, 0 },
{ 1, 0, 0x40, 6, 0x3E, 2, 0, 0xB, 0xA, 0, 346, 480, 0, 0 },
{ 1, 0, 0x40, 6, 0x3F, 2, 0, 0xB, 0xA, 0, 342, 488, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 311, 96, 151, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 318, 579, 600, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 335, 572, 595, 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 429 of file wstag650.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x25C, 0xA8, 0x1B4, 5, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x25A, 0x298, 0x104, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0xFD, 0xD0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0xEC, 0x118, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 8, 0x133, 0xC8, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 8, 0x142, 0x150, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0x192, 0x148, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0x1A2, 0x190, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0x1C2, 0x1A0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0x1D2, 0x1E8, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0x25C, 0x160, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0x24C, 0x1A8, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0x1AC, 0x228, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0x19C, 0x270, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 4 , 5, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 4 , 9, 0, 0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 451 of file wstag650.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_0020; BGM_0029 instead at story s...
Definition wstag650.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 470 of file wstag650.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1458, script1458, ( ( 0x144 - 1) << 16 | ( 0x1E )), ((void *)0) , endEvent1458 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent1458(void)
After event 1458, with Guardromon: applies 0x7C15, an action that does nothing (applyAction's mode ch...
Definition wstag650.c:15
s16 script1458[]
Definition wstag650.c:60

Definition at line 473 of file wstag650.c.

Referenced by setupStage().