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

WSTAG501: Zhu Que City, South 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 wstag501.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_03)
 
#define STAGE_FILE   0x5C6
 

Functions

void setupStage (void)
 Sets the stage up: its map, actors and battles, playing BGM_0016; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.
 

Variables

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 = { 232, 18, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle1 = { 233, 18, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle2 = { 280, 18, (0x60000000 | ( 3 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle3 = { 281, 18, (0x60000000 | ( 3 ) << 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 [] = { 0x7A18, 1, 0xFFFF }
 
u16 actor1Talk0Actions [] = { 0x7A16, 1, 0xFFFF }
 
u16 actor2Talk0Actions [] = { 0x7C00, 1, 0xFFFF }
 
u16 actor6Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor6Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor6Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor6Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor6Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor6Talk2Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor6Talk3Conditions []
 
u16 actor6Talk4Conditions []
 
u16 actor6Talk4Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x31 )) , 1, 0xFFFF }
 
u16 actor6Talk5Conditions []
 
u16 actor6Talk5Actions [] = { (( 0xE ) << 8 | ( 0x23 )) , 1, (0x7400 | ( 0 )) , 1, 0xFFFF }
 
u16 actor6Talk6Conditions []
 
u16 actor6Talk7Conditions []
 
u16 actor6Talk8Conditions []
 
u16 actor6Talk8Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x31 )) , 1, 0xFFFF }
 
u16 actor7Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor7Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor7Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 9 )) , 0, 0xFFFF }
 
u16 actor7Talk2Conditions [] = { (0x7200 | ( 9 )) , 1, (( 0 ) << 8 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x44 )) , 0, 0xFFFF }
 
u16 actor7Talk2Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0x44 )) , 1, 0xFFFF }
 
u16 actor7Talk3Conditions []
 
u16 actor7Talk4Conditions []
 
u16 actor7Talk4Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x31 )) , 1, 0xFFFF }
 
u16 actor8Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor8Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor8Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor8Talk2Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor8Talk2Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor10Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 1, (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor10Talk0Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor10Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor10Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor10Talk2Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }
 
u16 actor10Talk2Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor10Talk3Conditions []
 
u16 actor10Talk4Conditions []
 
u16 actor10Talk4Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x30 )) , 1, 0xFFFF }
 
u16 actor10Talk5Conditions []
 
u16 actor10Talk5Actions [] = { (0x7400 | ( 1 )) , 1, (( 0xE ) << 8 | ( 0x24 )) , 1, 0xFFFF }
 
u16 actor10Talk6Conditions []
 
u16 actor10Talk7Conditions []
 
u16 actor10Talk8Conditions []
 
u16 actor10Talk8Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x30 )) , 1, 0xFFFF }
 
u16 actor11Talk0Conditions [] = { (( 0 ) << 8 | ( 1 )) , 0, 0xFFFF }
 
u16 actor11Talk0Actions [] = { (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor11Talk1Conditions [] = { (0x7200 | ( 9 )) , 0, (( 0 ) << 8 | ( 1 )) , 1, 0xFFFF }
 
u16 actor11Talk2Conditions [] = { (( 0 ) << 8 | ( 1 )) , 1, (( 0xE ) << 8 | ( 0x45 )) , 0, (0x7200 | ( 9 )) , 1, 0xFFFF }
 
u16 actor11Talk2Actions [] = { (0x7400 | ( 1 )) , 1, (( 0xE ) << 8 | ( 0x45 )) , 1, 0xFFFF }
 
u16 actor11Talk3Conditions []
 
u16 actor11Talk4Conditions []
 
u16 actor11Talk4Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x30 )) , 1, 0xFFFF }
 
u16 actor12Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor12Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor12Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor12Talk2Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 1, 0xFFFF }
 
u16 actor12Talk2Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor20Talk0Actions [] = { 0x7A17, 1, 0xFFFF }
 
u16 actor21Talk0Conditions []
 
u16 actor21Talk1Conditions []
 
u16 actor21Talk1Actions [] = { 0x7A48, 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 actor3Conditions []
 
u16 actor4Conditions []
 
u16 actor5Conditions []
 
u16 actor6Conditions []
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor9Conditions []
 
u16 actor10Conditions []
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor13Conditions []
 
u16 actor14Conditions []
 
u16 actor15Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor16Conditions []
 
u16 actor17Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor18Conditions []
 
u16 actor19Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x16, 4, 923, 892, 3 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x17, 5, 816, 521, 1 }
 
FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x18, 6, 1189, 666, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2D, 7, 645, 199, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2E, 8, 432, 249, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x36, 9, 304, 369, 7 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x45, 0xA, 545, 673, 1 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x45, 0xA, 545, 673, 7 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x45, 0xA, 545, 673, 1 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x45, 0xA, 545, 673, 1 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x46, 0xB, 687, 682, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x46, 0xB, 687, 682, 1 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x46, 0xB, 687, 682, 7 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x46, 0xB, 687, 682, 7 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x9D, 0xC, 304, 369, 7 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x9D, 0xC, 304, 369, 7 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x9E, 0xD, 432, 249, 7 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x9E, 0xD, 432, 249, 7 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x9F, 0xE, 645, 199, 1 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x9F, 0xE, 645, 199, 1 }
 
FieldActorEntry actor20 = { ((void *)0) , actor20Talks, 0xB7, 0xF, 990, 767, 1 }
 
FieldActorEntry actor21 = { ((void *)0) , actor21Talks, 0xCE, 0x10, 1216, 913, 3 }
 
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

WSTAG501: Zhu Que City, South Sector.

On the Amaterasu server; its Asuka server twin is WSTAG500.

Definition in file wstag501.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_03)

Definition at line 16 of file wstag501.c.

◆ STAGE_FILE

#define STAGE_FILE   0x5C6

Definition at line 17 of file wstag501.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors and battles, playing BGM_0016; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.

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_0016: Suzaku City and its Hall

< BGM_0016: Suzaku City and its Hall

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

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

< 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 23 of file wstag501.c.

Variable Documentation

◆ area0Battle0

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

Definition at line 46 of file wstag501.c.

◆ area0Battle1

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

Definition at line 47 of file wstag501.c.

◆ area0Battle2

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

Definition at line 48 of file wstag501.c.

◆ area0Battle3

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

Definition at line 49 of file wstag501.c.

◆ area0Battle4

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

Definition at line 50 of file wstag501.c.

◆ area0Battle5

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

Definition at line 51 of file wstag501.c.

◆ area0Battle6

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

Definition at line 52 of file wstag501.c.

◆ area0Battle7

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

Definition at line 53 of file wstag501.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag501.c:53
AreaBattle area0Battle1
Definition wstag501.c:47
AreaBattle area0Battle6
Definition wstag501.c:52
AreaBattle area0Battle3
Definition wstag501.c:49
AreaBattle area0Battle5
Definition wstag501.c:51
AreaBattle area0Battle0
Definition wstag501.c:46
AreaBattle area0Battle2
Definition wstag501.c:48
AreaBattle area0Battle4
Definition wstag501.c:50

Definition at line 54 of file wstag501.c.

◆ area1Battle0

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

Definition at line 59 of file wstag501.c.

◆ area1Battle1

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

Definition at line 60 of file wstag501.c.

◆ area1Battle2

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

Definition at line 61 of file wstag501.c.

◆ area1Battle3

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

Definition at line 62 of file wstag501.c.

◆ area1Battle4

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

Definition at line 63 of file wstag501.c.

◆ area1Battle5

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

Definition at line 64 of file wstag501.c.

◆ area1Battle6

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

Definition at line 65 of file wstag501.c.

◆ area1Battle7

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

Definition at line 66 of file wstag501.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag501.c:65
AreaBattle area1Battle2
Definition wstag501.c:61
AreaBattle area1Battle4
Definition wstag501.c:63
AreaBattle area1Battle5
Definition wstag501.c:64
AreaBattle area1Battle3
Definition wstag501.c:62
AreaBattle area1Battle0
Definition wstag501.c:59
AreaBattle area1Battle1
Definition wstag501.c:60
AreaBattle area1Battle7
Definition wstag501.c:66

Definition at line 67 of file wstag501.c.

◆ area2Battle0

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

Definition at line 72 of file wstag501.c.

◆ area2Battle1

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

Definition at line 73 of file wstag501.c.

◆ area2Battle2

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

Definition at line 74 of file wstag501.c.

◆ area2Battle3

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

Definition at line 75 of file wstag501.c.

◆ area2Battle4

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

Definition at line 76 of file wstag501.c.

◆ area2Battle5

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

Definition at line 77 of file wstag501.c.

◆ area2Battle6

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

Definition at line 78 of file wstag501.c.

◆ area2Battle7

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

Definition at line 79 of file wstag501.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag501.c:79
AreaBattle area2Battle6
Definition wstag501.c:78
AreaBattle area2Battle0
Definition wstag501.c:72
AreaBattle area2Battle4
Definition wstag501.c:76
AreaBattle area2Battle2
Definition wstag501.c:74
AreaBattle area2Battle1
Definition wstag501.c:73
AreaBattle area2Battle5
Definition wstag501.c:77
AreaBattle area2Battle3
Definition wstag501.c:75

Definition at line 80 of file wstag501.c.

◆ area3Battle0

AreaBattle area3Battle0 = { 232, 18, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 85 of file wstag501.c.

◆ area3Battle1

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

Definition at line 86 of file wstag501.c.

◆ area3Battle2

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

Definition at line 87 of file wstag501.c.

◆ area3Battle3

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

Definition at line 88 of file wstag501.c.

◆ area3Battle4

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

Definition at line 89 of file wstag501.c.

◆ area3Battle5

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

Definition at line 90 of file wstag501.c.

◆ area3Battle6

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

Definition at line 91 of file wstag501.c.

◆ area3Battle7

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

Definition at line 92 of file wstag501.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag501.c:89
AreaBattle area3Battle3
Definition wstag501.c:88
AreaBattle area3Battle0
Definition wstag501.c:85
AreaBattle area3Battle2
Definition wstag501.c:87
AreaBattle area3Battle1
Definition wstag501.c:86
AreaBattle area3Battle6
Definition wstag501.c:91
AreaBattle area3Battle5
Definition wstag501.c:90
AreaBattle area3Battle7
Definition wstag501.c:92

Definition at line 93 of file wstag501.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag501.c:93
BattleList area1Battles
Definition wstag501.c:67
BattleList area2Battles
Definition wstag501.c:80
BattleList area0Battles
Definition wstag501.c:54

Definition at line 98 of file wstag501.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, 0x140, 0x195, 0, 0x95, 0x160, 0x1FF },
{ 0x140, 0x100, 0x148, 0x19D, 0x20, 0x9D, 0x170, 0x1FF },
{ 0x140, 0x100, 0x140, 0x16D, 0, 0x6D, 0x150, 0x1FE },
{ 0x140, 0x100, 0x140, 0x1D5, 0, 0xD5, 0x160, 0x1FE },
{ 0x140, 0x100, 0x14A, 0x1BD, 0x28, 0xBD, 0x170, 0x1FE },
{ 0x140, 0x100, 0x152, 0x1A4, 0x48, 0xA4, 0x150, 0x1FD },
{ 0x140, 0x100, 0x15A, 0x1A4, 0x68, 0xA4, 0x160, 0x1FD },
{ 0x140, 0x100, 0x16E, 0x1A4, 0xB8, 0xA4, 0x170, 0x1FD },
{ 0x140, 0x100, 0x162, 0x1C1, 0x88, 0xC1, 0x150, 0x1FC },
{ 0x140, 0x100, 0x176, 0x1C4, 0xD8, 0xC4, 0x160, 0x1FC },
{ 0x140, 0x100, 0x152, 0x1CC, 0x48, 0xCC, 0x170, 0x1FC },
{ 0x140, 0x100, 0x15A, 0x1CC, 0x68, 0xCC, 0x140, 0x1FB },
{ 0x140, 0x100, 0x14C, 0x16D, 0x30, 0x6D, 0x150, 0x1FB },
}

Definition at line 101 of file wstag501.c.

Referenced by setupStage().

◆ actor0Talk0Actions

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

Definition at line 122 of file wstag501.c.

◆ actor1Talk0Actions

u16 actor1Talk0Actions[] = { 0x7A16, 1, 0xFFFF }

Definition at line 123 of file wstag501.c.

◆ actor2Talk0Actions

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

Definition at line 124 of file wstag501.c.

◆ actor6Talk0Conditions

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

Definition at line 125 of file wstag501.c.

◆ actor6Talk0Actions

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

Definition at line 126 of file wstag501.c.

◆ actor6Talk1Conditions

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

Definition at line 127 of file wstag501.c.

◆ actor6Talk1Actions

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

Definition at line 128 of file wstag501.c.

◆ actor6Talk2Conditions

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

Definition at line 129 of file wstag501.c.

◆ actor6Talk2Actions

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

Definition at line 130 of file wstag501.c.

◆ actor6Talk3Conditions

u16 actor6Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 5 )) , 0,
0xFFFF ,
}

Definition at line 131 of file wstag501.c.

◆ actor6Talk4Conditions

u16 actor6Talk4Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 5 )) , 1,
(0x7200 | ( 8 )) , 0,
0xFFFF ,
}

Definition at line 137 of file wstag501.c.

◆ actor6Talk4Actions

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

Definition at line 144 of file wstag501.c.

◆ actor6Talk5Conditions

u16 actor6Talk5Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 5 )) , 1,
(0x7200 | ( 8 )) , 1,
(( 0xE ) << 8 | ( 0x23 )) , 0,
0xFFFF ,
}

Definition at line 145 of file wstag501.c.

◆ actor6Talk5Actions

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

Definition at line 153 of file wstag501.c.

◆ actor6Talk6Conditions

u16 actor6Talk6Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 5 )) , 1,
(0x7200 | ( 8 )) , 1,
(( 0xE ) << 8 | ( 0x23 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x14 )), 0,
(( 0 ) << 8 | ( 0x11 )) , 0,
0xFFFF ,
}

Definition at line 154 of file wstag501.c.

◆ actor6Talk7Conditions

u16 actor6Talk7Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 5 )) , 1,
(0x7200 | ( 8 )) , 1,
(( 0xE ) << 8 | ( 0x23 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x14 )), 1,
(0x7200 | ( 9 )) , 0,
0xFFFF ,
}

Definition at line 163 of file wstag501.c.

◆ actor6Talk8Conditions

u16 actor6Talk8Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 0 )) , 1,
(0x7200 | ( 5 )) , 1,
(0x7200 | ( 8 )) , 1,
(( 0xE ) << 8 | ( 0x23 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x14 )), 1,
(0x7200 | ( 9 )) , 1,
0xFFFF ,
}

Definition at line 173 of file wstag501.c.

◆ actor6Talk8Actions

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

Definition at line 183 of file wstag501.c.

◆ actor7Talk0Conditions

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

Definition at line 184 of file wstag501.c.

◆ actor7Talk0Actions

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

Definition at line 185 of file wstag501.c.

◆ actor7Talk1Conditions

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

Definition at line 186 of file wstag501.c.

◆ actor7Talk2Conditions

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

Definition at line 187 of file wstag501.c.

◆ actor7Talk2Actions

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

Definition at line 188 of file wstag501.c.

◆ actor7Talk3Conditions

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

Definition at line 189 of file wstag501.c.

◆ actor7Talk4Conditions

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

Definition at line 196 of file wstag501.c.

◆ actor7Talk4Actions

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

Definition at line 203 of file wstag501.c.

◆ actor8Talk0Conditions

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

Definition at line 204 of file wstag501.c.

◆ actor8Talk1Conditions

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

Definition at line 205 of file wstag501.c.

◆ actor8Talk1Actions

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

Definition at line 206 of file wstag501.c.

◆ actor8Talk2Conditions

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

Definition at line 207 of file wstag501.c.

◆ actor8Talk2Actions

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

Definition at line 208 of file wstag501.c.

◆ actor10Talk0Conditions

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

Definition at line 209 of file wstag501.c.

◆ actor10Talk0Actions

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

Definition at line 210 of file wstag501.c.

◆ actor10Talk1Conditions

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

Definition at line 211 of file wstag501.c.

◆ actor10Talk1Actions

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

Definition at line 212 of file wstag501.c.

◆ actor10Talk2Conditions

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

Definition at line 213 of file wstag501.c.

◆ actor10Talk2Actions

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

Definition at line 214 of file wstag501.c.

◆ actor10Talk3Conditions

u16 actor10Talk3Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 0x11 )) , 0,
(( 0 ) << 8 | ( 1 )) , 1,
(0x7200 | ( 5 )) , 0,
0xFFFF ,
}

Definition at line 215 of file wstag501.c.

◆ actor10Talk4Conditions

u16 actor10Talk4Conditions[]
Initial value:
= {
(0x7200 | ( 8 )) , 0,
(0x7200 | ( 5 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
0xFFFF ,
}

Definition at line 221 of file wstag501.c.

◆ actor10Talk4Actions

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

Definition at line 228 of file wstag501.c.

◆ actor10Talk5Conditions

u16 actor10Talk5Conditions[]
Initial value:
= {
(( 0xE ) << 8 | ( 0x24 )) , 0,
(0x7200 | ( 8 )) , 1,
(0x7200 | ( 5 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
0xFFFF ,
}

Definition at line 229 of file wstag501.c.

◆ actor10Talk5Actions

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

Definition at line 237 of file wstag501.c.

◆ actor10Talk6Conditions

u16 actor10Talk6Conditions[]
Initial value:
= {
(0x8000 | ( 0 ) << 9 | ( 0x14 )), 0,
(( 0xE ) << 8 | ( 0x24 )) , 1,
(0x7200 | ( 8 )) , 1,
(0x7200 | ( 5 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
0xFFFF ,
}

Definition at line 238 of file wstag501.c.

◆ actor10Talk7Conditions

u16 actor10Talk7Conditions[]
Initial value:
= {
(0x7200 | ( 9 )) , 0,
(0x8000 | ( 0 ) << 9 | ( 0x14 )), 1,
(( 0xE ) << 8 | ( 0x24 )) , 1,
(0x7200 | ( 8 )) , 1,
(0x7200 | ( 5 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
0xFFFF ,
}

Definition at line 247 of file wstag501.c.

◆ actor10Talk8Conditions

u16 actor10Talk8Conditions[]
Initial value:
= {
(0x7200 | ( 9 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x14 )), 1,
(( 0xE ) << 8 | ( 0x24 )) , 1,
(0x7200 | ( 8 )) , 1,
(0x7200 | ( 5 )) , 1,
(( 0 ) << 8 | ( 1 )) , 1,
(( 0 ) << 8 | ( 0x11 )) , 0,
0xFFFF ,
}

Definition at line 257 of file wstag501.c.

◆ actor10Talk8Actions

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

Definition at line 267 of file wstag501.c.

◆ actor11Talk0Conditions

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

Definition at line 268 of file wstag501.c.

◆ actor11Talk0Actions

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

Definition at line 269 of file wstag501.c.

◆ actor11Talk1Conditions

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

Definition at line 270 of file wstag501.c.

◆ actor11Talk2Conditions

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

Definition at line 271 of file wstag501.c.

◆ actor11Talk2Actions

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

Definition at line 272 of file wstag501.c.

◆ actor11Talk3Conditions

u16 actor11Talk3Conditions[]
Initial value:
= {
(0x7200 | ( 9 )) , 1,
(( 0xE ) << 8 | ( 0x45 )) , 1,
(0x7200 | ( 0xB )) , 0,
(( 0 ) << 8 | ( 1 )) , 1,
0xFFFF ,
}

Definition at line 273 of file wstag501.c.

◆ actor11Talk4Conditions

u16 actor11Talk4Conditions[]
Initial value:
= {
(( 0 ) << 8 | ( 1 )) , 1,
(0x7200 | ( 9 )) , 1,
(( 0xE ) << 8 | ( 0x45 )) , 1,
(0x7200 | ( 0xB )) , 1,
0xFFFF ,
}

Definition at line 280 of file wstag501.c.

◆ actor11Talk4Actions

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

Definition at line 287 of file wstag501.c.

◆ actor12Talk0Conditions

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

Definition at line 288 of file wstag501.c.

◆ actor12Talk1Conditions

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

Definition at line 289 of file wstag501.c.

◆ actor12Talk1Actions

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

Definition at line 290 of file wstag501.c.

◆ actor12Talk2Conditions

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

Definition at line 291 of file wstag501.c.

◆ actor12Talk2Actions

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

Definition at line 292 of file wstag501.c.

◆ actor20Talk0Actions

u16 actor20Talk0Actions[] = { 0x7A17, 1, 0xFFFF }

Definition at line 293 of file wstag501.c.

◆ actor21Talk0Conditions

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

Definition at line 294 of file wstag501.c.

◆ actor21Talk1Conditions

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

Definition at line 299 of file wstag501.c.

◆ actor21Talk1Actions

u16 actor21Talk1Actions[] = { 0x7A48, 1, 0xFFFF }

Definition at line 304 of file wstag501.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x1A8 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag501.c:122

Definition at line 305 of file wstag501.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , actor1Talk0Actions, 0x1A4 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk0Actions[]
Definition wstag501.c:123

Definition at line 309 of file wstag501.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , actor2Talk0Actions, 0x1A5 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk0Actions[]
Definition wstag501.c:124

Definition at line 313 of file wstag501.c.

◆ actor3Talks

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

Definition at line 317 of file wstag501.c.

◆ actor4Talks

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

Definition at line 321 of file wstag501.c.

◆ actor5Talks

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

Definition at line 325 of file wstag501.c.

◆ actor6Talks

FieldTalk actor6Talks[]
Initial value:
= {
{ actor6Talk3Conditions, ((void *)0) , 0x12C },
{ actor6Talk6Conditions, ((void *)0) , 0x132 },
{ actor6Talk7Conditions, ((void *)0) , 0x12C },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor6Talk0Actions[]
Definition wstag501.c:126
u16 actor6Talk8Actions[]
Definition wstag501.c:183
u16 actor6Talk8Conditions[]
Definition wstag501.c:173
u16 actor6Talk5Conditions[]
Definition wstag501.c:145
u16 actor6Talk4Actions[]
Definition wstag501.c:144
u16 actor6Talk1Conditions[]
Definition wstag501.c:127
u16 actor6Talk5Actions[]
Definition wstag501.c:153
u16 actor6Talk2Conditions[]
Definition wstag501.c:129
u16 actor6Talk7Conditions[]
Definition wstag501.c:163
u16 actor6Talk2Actions[]
Definition wstag501.c:130
u16 actor6Talk6Conditions[]
Definition wstag501.c:154
u16 actor6Talk3Conditions[]
Definition wstag501.c:131
u16 actor6Talk0Conditions[]
Definition wstag501.c:125
u16 actor6Talk1Actions[]
Definition wstag501.c:128
u16 actor6Talk4Conditions[]
Definition wstag501.c:137

Definition at line 329 of file wstag501.c.

◆ actor7Talks

FieldTalk actor7Talks[]
Initial value:
= {
{ actor7Talk1Conditions, ((void *)0) , 0x135 },
{ actor7Talk3Conditions, ((void *)0) , 0x12F },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor7Talk1Conditions[]
Definition wstag501.c:186
u16 actor7Talk4Conditions[]
Definition wstag501.c:196
u16 actor7Talk2Conditions[]
Definition wstag501.c:187
u16 actor7Talk4Actions[]
Definition wstag501.c:203
u16 actor7Talk0Conditions[]
Definition wstag501.c:184
u16 actor7Talk0Actions[]
Definition wstag501.c:185
u16 actor7Talk3Conditions[]
Definition wstag501.c:189
u16 actor7Talk2Actions[]
Definition wstag501.c:188

Definition at line 341 of file wstag501.c.

◆ actor8Talks

FieldTalk actor8Talks[]
Initial value:
= {
{ actor8Talk0Conditions, ((void *)0) , 0x205 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor8Talk1Conditions[]
Definition wstag501.c:205
u16 actor8Talk2Conditions[]
Definition wstag501.c:207
u16 actor8Talk1Actions[]
Definition wstag501.c:206
u16 actor8Talk2Actions[]
Definition wstag501.c:208
u16 actor8Talk0Conditions[]
Definition wstag501.c:204

Definition at line 349 of file wstag501.c.

◆ actor9Talks

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

Definition at line 355 of file wstag501.c.

◆ actor10Talks

FieldTalk actor10Talks[]
Initial value:
= {
{ actor10Talk3Conditions, ((void *)0) , 0x135 },
{ actor10Talk6Conditions, ((void *)0) , 0x181 },
{ actor10Talk7Conditions, ((void *)0) , 0x187 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor10Talk2Conditions[]
Definition wstag501.c:213
u16 actor10Talk8Actions[]
Definition wstag501.c:267
u16 actor10Talk1Actions[]
Definition wstag501.c:212
u16 actor10Talk5Conditions[]
Definition wstag501.c:229
u16 actor10Talk2Actions[]
Definition wstag501.c:214
u16 actor10Talk4Actions[]
Definition wstag501.c:228
u16 actor10Talk1Conditions[]
Definition wstag501.c:211
u16 actor10Talk0Conditions[]
Definition wstag501.c:209
u16 actor10Talk7Conditions[]
Definition wstag501.c:247
u16 actor10Talk0Actions[]
Definition wstag501.c:210
u16 actor10Talk5Actions[]
Definition wstag501.c:237
u16 actor10Talk8Conditions[]
Definition wstag501.c:257
u16 actor10Talk3Conditions[]
Definition wstag501.c:215
u16 actor10Talk6Conditions[]
Definition wstag501.c:238
u16 actor10Talk4Conditions[]
Definition wstag501.c:221

Definition at line 359 of file wstag501.c.

◆ actor11Talks

FieldTalk actor11Talks[]
Initial value:
= {
{ actor11Talk1Conditions, ((void *)0) , 0x187 },
{ actor11Talk3Conditions, ((void *)0) , 0x181 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor11Talk3Conditions[]
Definition wstag501.c:273
u16 actor11Talk1Conditions[]
Definition wstag501.c:270
u16 actor11Talk2Actions[]
Definition wstag501.c:272
u16 actor11Talk4Actions[]
Definition wstag501.c:287
u16 actor11Talk0Conditions[]
Definition wstag501.c:268
u16 actor11Talk4Conditions[]
Definition wstag501.c:280
u16 actor11Talk0Actions[]
Definition wstag501.c:269
u16 actor11Talk2Conditions[]
Definition wstag501.c:271

Definition at line 371 of file wstag501.c.

◆ actor12Talks

FieldTalk actor12Talks[]
Initial value:
= {
{ actor12Talk0Conditions, ((void *)0) , 0x206 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor12Talk2Conditions[]
Definition wstag501.c:291
u16 actor12Talk2Actions[]
Definition wstag501.c:292
u16 actor12Talk0Conditions[]
Definition wstag501.c:288
u16 actor12Talk1Conditions[]
Definition wstag501.c:289
u16 actor12Talk1Actions[]
Definition wstag501.c:290

Definition at line 379 of file wstag501.c.

◆ actor13Talks

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

Definition at line 385 of file wstag501.c.

◆ actor14Talks

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

Definition at line 389 of file wstag501.c.

◆ actor15Talks

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

Definition at line 393 of file wstag501.c.

◆ actor16Talks

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

Definition at line 397 of file wstag501.c.

◆ actor17Talks

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

Definition at line 401 of file wstag501.c.

◆ actor18Talks

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

Definition at line 405 of file wstag501.c.

◆ actor19Talks

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

Definition at line 409 of file wstag501.c.

◆ actor20Talks

FieldTalk actor20Talks[]
Initial value:
= {
{ ((void *)0) , actor20Talk0Actions, 0x1A6 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor20Talk0Actions[]
Definition wstag501.c:293

Definition at line 413 of file wstag501.c.

◆ actor21Talks

FieldTalk actor21Talks[]
Initial value:
= {
{ actor21Talk0Conditions, ((void *)0) , 0x20D },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor21Talk0Conditions[]
Definition wstag501.c:294
u16 actor21Talk1Conditions[]
Definition wstag501.c:299
u16 actor21Talk1Actions[]
Definition wstag501.c:304

Definition at line 417 of file wstag501.c.

◆ actor3Conditions

u16 actor3Conditions[]
Initial value:
= {
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 1,
0xFFFF ,
}
@ STORY_PRESIDENT_ARRESTED
WSTAG226 (Login Room, Amaterasu City), event 935, after the President of MAGAMI gives himself up (WST...
Definition story.h:136

Definition at line 422 of file wstag501.c.

◆ actor4Conditions

u16 actor4Conditions[]
Initial value:
= {
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 1,
0xFFFF ,
}

Definition at line 427 of file wstag501.c.

◆ actor5Conditions

u16 actor5Conditions[]
Initial value:
= {
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 1,
0xFFFF ,
}

Definition at line 432 of file wstag501.c.

◆ actor6Conditions

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

Definition at line 437 of file wstag501.c.

◆ actor7Conditions

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

Definition at line 442 of file wstag501.c.

◆ actor8Conditions

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

Definition at line 443 of file wstag501.c.

◆ actor9Conditions

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

Definition at line 444 of file wstag501.c.

◆ actor10Conditions

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

Definition at line 449 of file wstag501.c.

◆ actor11Conditions

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

Definition at line 454 of file wstag501.c.

◆ actor12Conditions

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

Definition at line 455 of file wstag501.c.

◆ actor13Conditions

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

Definition at line 456 of file wstag501.c.

◆ actor14Conditions

u16 actor14Conditions[]
Initial value:
= {
(0x7000 | ( 0x1E )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 0,
0xFFFF ,
}

Definition at line 461 of file wstag501.c.

◆ actor15Conditions

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

Definition at line 466 of file wstag501.c.

◆ actor16Conditions

u16 actor16Conditions[]
Initial value:
= {
(0x7000 | ( 0x1E )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 0,
0xFFFF ,
}

Definition at line 467 of file wstag501.c.

◆ actor17Conditions

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

Definition at line 472 of file wstag501.c.

◆ actor18Conditions

u16 actor18Conditions[]
Initial value:
= {
(0x7000 | ( 0x1E )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 0,
0xFFFF ,
}

Definition at line 473 of file wstag501.c.

◆ actor19Conditions

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

Definition at line 478 of file wstag501.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x16, 4, 923, 892, 3 }

Definition at line 479 of file wstag501.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x17, 5, 816, 521, 1 }

Definition at line 480 of file wstag501.c.

◆ actor2

FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x18, 6, 1189, 666, 1 }

Definition at line 481 of file wstag501.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2D, 7, 645, 199, 1 }

Definition at line 482 of file wstag501.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2E, 8, 432, 249, 7 }

Definition at line 483 of file wstag501.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x36, 9, 304, 369, 7 }

Definition at line 484 of file wstag501.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x45, 0xA, 545, 673, 1 }

Definition at line 485 of file wstag501.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x45, 0xA, 545, 673, 7 }

Definition at line 486 of file wstag501.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x45, 0xA, 545, 673, 1 }

Definition at line 487 of file wstag501.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x45, 0xA, 545, 673, 1 }

Definition at line 488 of file wstag501.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x46, 0xB, 687, 682, 7 }

Definition at line 489 of file wstag501.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x46, 0xB, 687, 682, 1 }

Definition at line 490 of file wstag501.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x46, 0xB, 687, 682, 7 }

Definition at line 491 of file wstag501.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x46, 0xB, 687, 682, 7 }

Definition at line 492 of file wstag501.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x9D, 0xC, 304, 369, 7 }

Definition at line 493 of file wstag501.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x9D, 0xC, 304, 369, 7 }

Definition at line 494 of file wstag501.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x9E, 0xD, 432, 249, 7 }

Definition at line 495 of file wstag501.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x9E, 0xD, 432, 249, 7 }

Definition at line 496 of file wstag501.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x9F, 0xE, 645, 199, 1 }

Definition at line 497 of file wstag501.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x9F, 0xE, 645, 199, 1 }

Definition at line 498 of file wstag501.c.

◆ actor20

FieldActorEntry actor20 = { ((void *)0) , actor20Talks, 0xB7, 0xF, 990, 767, 1 }

Definition at line 499 of file wstag501.c.

◆ actor21

FieldActorEntry actor21 = { ((void *)0) , actor21Talks, 0xCE, 0x10, 1216, 913, 3 }

Definition at line 500 of file wstag501.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag501.c:479
FieldActorEntry actor6
Definition wstag501.c:485
FieldActorEntry actor17
Definition wstag501.c:496
FieldActorEntry actor18
Definition wstag501.c:497
FieldActorEntry actor5
Definition wstag501.c:484
FieldActorEntry actor2
Definition wstag501.c:481
FieldActorEntry actor19
Definition wstag501.c:498
FieldActorEntry actor10
Definition wstag501.c:489
FieldActorEntry actor4
Definition wstag501.c:483
FieldActorEntry actor8
Definition wstag501.c:487
FieldActorEntry actor9
Definition wstag501.c:488
FieldActorEntry actor20
Definition wstag501.c:499
FieldActorEntry actor15
Definition wstag501.c:494
FieldActorEntry actor12
Definition wstag501.c:491
FieldActorEntry actor16
Definition wstag501.c:495
FieldActorEntry actor7
Definition wstag501.c:486
FieldActorEntry actor13
Definition wstag501.c:492
FieldActorEntry actor11
Definition wstag501.c:490
FieldActorEntry actor1
Definition wstag501.c:480
FieldActorEntry actor21
Definition wstag501.c:500
FieldActorEntry actor3
Definition wstag501.c:482
FieldActorEntry actor14
Definition wstag501.c:493

Definition at line 501 of file wstag501.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 2, 0x47, 2, 0, 3, 8, 0, 160, 342, 0, 0 },
{ 1, 0, 0x40, 2, 0x47, 2, 0, 3, 8, 0, 234, 305, 0, 0 },
{ 1, 0, 0x78, 2, 0xC, 0, 0, 0, 0, 0, 542, 517, 0, 0 },
{ 1, 0, 0x40, 6, 0x2C, 1, 0x2C, 0x3B, 0xA, 0, 70, 849, 0, 0 },
{ 1, 0, 0x40, 6, 0x2C, 1, 0x2C, 0x3B, 0xA, 0, 614, 820, 0, 0 },
{ 1, 0, 0x40, 6, 0x2C, 1, 0x2C, 0x3B, 0xA, 0, 1038, 280, 0, 0 },
{ 1, 0, 0x40, 6, 0x2C, 1, 0x2C, 0x3B, 0xA, 0, 1089, 931, 0, 0 },
{ 1, 0, 0x40, 6, 0x3C, 1, 0x3C, 0x46, 0xA, 0, 462, 518, 0, 0 },
{ 1, 0, 0x40, 6, 0x3C, 1, 0x3C, 0x46, 0xA, 0, 832, 752, 0, 0 },
{ 1, 0, 0x40, 6, 0x3C, 1, 0x3C, 0x46, 0xA, 0, 1124, 522, 0, 0 },
{ 1, 0, 0x40, 6, 0x3C, 1, 0x3C, 0x46, 0xA, 0, 1343, 870, 0, 0 },
{ 1, 0x64, 0x40, 6, 9, 0, 0, 0, 0, 0, 769, 100, 0, 0 },
{ 1, 0x65, 0x40, 6, 0xA, 0, 0, 0, 0, 0, 574, 93, 0, 0 },
{ 1, 0x66, 0x40, 6, 0xB, 0, 0, 0, 0, 0, 186, 320, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 606, 118, 136, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 156, 353, 380, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 318, 390, 407, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 400, 341, 354, 0 },
{ 1, 0, 0x40, 4, 4, 0, 0, 0, 0, 0, 501, 625, 649, 0 },
{ 1, 0, 0x40, 4, 5, 0, 0, 0, 0, 0, 660, 626, 649, 0 },
{ 1, 0, 0x40, 4, 6, 0, 0, 0, 0, 0, 537, 158, 166, 0 },
{ 1, 0, 0x40, 4, 7, 0, 0, 0, 0, 0, 1206, 636, 682, 0 },
{ 1, 0, 0x40, 4, 8, 0, 0, 0, 0, 0, 1120, 656, 670, 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 526 of file wstag501.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2A8, 0x630, 0x88, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2AC, 0x2C0, 0x1B0, 3, 0x66, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2AD, 0xC8, 0x164, 5, 0x65, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2AD, 0x258, 0x1C2, 3, 0x64, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E2, 0xB0, 0x148, 7, 0, 0x11, 1 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E2, 0xB0, 0x148, 7, 0, 0x11, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 552 of file wstag501.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_0016; BGM_0029 instead except at STORY_PR...
Definition wstag501.c:23

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 561 of file wstag501.c.