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

WSTAG500: Suzaku 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 wstag500.c:

Go to the source code of this file.

Macros

#define STAGE_CHILDREN_SIZE   4
 
#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_01)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_500 - 1)
 
#define STAGE_FILE   0x40E
 

Functions

void endEvent250 (void)
 After event 250, with Woman and Lisa: sets flag 0x1A32 (which decides whether actor 32 appears) and keeps it from playing again.
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing BGM_0016; BGM_0029 instead at story steps 0x27 to 0x28.
 

Variables

s16 script250 []
 
s16 script270 []
 
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 = { 215, 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 actor1Talk0Actions [] = { 0x7A09, 1, 0xFFFF }
 
u16 actor2Talk0Actions [] = { 0x7A07, 1, 0xFFFF }
 
u16 actor3Talk0Actions [] = { 0x7C00, 1, 0xFFFF }
 
u16 actor5Talk0Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 0, 0xFFFF }
 
u16 actor5Talk1Conditions [] = { (( 0x1C ) << 8 | ( 0x1C )) , 1, 0xFFFF }
 
u16 actor15Talk0Conditions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor15Talk1Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 0, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor15Talk1Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, 0xFFFF }
 
u16 actor15Talk2Conditions [] = { (( 0 ) << 8 | ( 0x10 )) , 1, (( 0 ) << 8 | ( 0x11 )) , 1, 0xFFFF }
 
u16 actor15Talk2Actions [] = { (( 0 ) << 8 | ( 0x11 )) , 0, (( 0 ) << 8 | ( 0x10 )) , 0, 0xFFFF }
 
u16 actor16Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor16Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor16Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 0, 0xFFFF }
 
u16 actor16Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 1, (0x7200 | ( 4 )) , 0, 0xFFFF }
 
u16 actor16Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor16Talk3Conditions []
 
u16 actor16Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0xF )) , 1, 0xFFFF }
 
u16 actor16Talk4Conditions []
 
u16 actor16Talk5Conditions []
 
u16 actor16Talk6Conditions []
 
u16 actor16Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor17Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor17Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor17Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 0, 0xFFFF }
 
u16 actor17Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 1, (0x7200 | ( 4 )) , 0, 0xFFFF }
 
u16 actor17Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor17Talk3Conditions []
 
u16 actor17Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0xF )) , 1, 0xFFFF }
 
u16 actor17Talk4Conditions []
 
u16 actor17Talk5Conditions []
 
u16 actor17Talk6Conditions []
 
u16 actor17Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor18Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor18Talk0Actions [] = { (( 0 ) << 8 | ( 0 )) , 1, 0xFFFF }
 
u16 actor18Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 0, 0xFFFF }
 
u16 actor18Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 1, (0x7200 | ( 4 )) , 0, 0xFFFF }
 
u16 actor18Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor18Talk3Conditions []
 
u16 actor18Talk3Actions [] = { (0x7400 | ( 0 )) , 1, (( 0xE ) << 8 | ( 0xF )) , 1, 0xFFFF }
 
u16 actor18Talk4Conditions []
 
u16 actor18Talk5Conditions []
 
u16 actor18Talk6Conditions []
 
u16 actor18Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor34Talk0Conditions [] = { (( 0 ) << 8 | ( 0 )) , 0, 0xFFFF }
 
u16 actor34Talk1Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 0, 0xFFFF }
 
u16 actor34Talk2Conditions [] = { (( 0 ) << 8 | ( 0 )) , 1, (0x7200 | ( 2 )) , 1, (0x7200 | ( 4 )) , 0, 0xFFFF }
 
u16 actor34Talk2Actions [] = { ((0x7600 + ( 0 ) * 0x200) | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor34Talk3Conditions []
 
u16 actor34Talk3Actions [] = { (( 0xE ) << 8 | ( 0xF )) , 1, 0xFFFF }
 
u16 actor34Talk4Conditions []
 
u16 actor34Talk5Conditions []
 
u16 actor34Talk6Conditions []
 
u16 actor34Talk6Actions [] = { ((0x7600 + ( 1 ) * 0x200) | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor36Talk0Actions [] = { 0x7A08, 1, 0xFFFF }
 
u16 actor37Talk0Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor37Talk0Actions [] = { 0x7A3B, 1, 0xFFFF }
 
u16 actor37Talk1Conditions [] = { (0x7000 | ( 0x3E )) , 1, 0xFFFF }
 
u16 actor37Talk1Actions [] = { 0x7A3B, 1, 0xFFFF }
 
u16 actor37Talk2Conditions []
 
u16 actor37Talk2Actions [] = { 0x7A3C, 1, 0xFFFF }
 
u16 actor37Talk3Conditions [] = { (0x7000 | ( 0x20 )) , 1, 0xFFFF }
 
u16 actor37Talk3Actions [] = { 0x7A3C, 1, 0xFFFF }
 
u16 actor37Talk4Conditions []
 
u16 actor37Talk4Actions [] = { 0x7A3D, 1, 0xFFFF }
 
u16 actor37Talk5Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor37Talk5Actions [] = { 0x7A3E, 1, 0xFFFF }
 
u16 actor37Talk6Conditions []
 
u16 actor37Talk6Actions [] = { 0x7A3E, 1, 0xFFFF }
 
u16 actor37Talk7Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor37Talk7Actions [] = { 0x7A3E, 1, 0xFFFF }
 
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 []
 
FieldTalk actor22Talks []
 
FieldTalk actor23Talks []
 
FieldTalk actor24Talks []
 
FieldTalk actor25Talks []
 
FieldTalk actor26Talks []
 
FieldTalk actor27Talks []
 
FieldTalk actor28Talks []
 
FieldTalk actor29Talks []
 
FieldTalk actor30Talks []
 
FieldTalk actor31Talks []
 
FieldTalk actor33Talks []
 
FieldTalk actor34Talks []
 
FieldTalk actor35Talks []
 
FieldTalk actor36Talks []
 
FieldTalk actor37Talks []
 
FieldTalk actor38Talks []
 
u16 actor0Conditions [] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF }
 
u16 actor1Conditions []
 
u16 actor2Conditions []
 
u16 actor3Conditions []
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }
 
u16 actor9Conditions []
 
u16 actor10Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }
 
u16 actor15Conditions []
 
u16 actor16Conditions []
 
u16 actor17Conditions []
 
u16 actor18Conditions []
 
u16 actor19Conditions []
 
u16 actor20Conditions [] = { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1, 0xFFFF }
 
u16 actor21Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor22Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor23Conditions [] = { (0x6000 | ( STORY_CODE_PASSES_NEEDED )) , 1, 0xFFFF }
 
u16 actor24Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor25Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor26Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor27Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor28Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor29Conditions [] = { (0x6000 | ( STORY_KNIGHTMON_REPROGRAMMED )) , 1, 0xFFFF }
 
u16 actor30Conditions [] = { (0x6000 | ( STORY_BULBMON_FOUND )) , 1, 0xFFFF }
 
u16 actor31Conditions [] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF }
 
u16 actor32Conditions []
 
u16 actor33Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor34Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor35Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor36Conditions []
 
u16 actor37Conditions []
 
u16 actor38Conditions []
 
FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 0xB, 4, 294, 339, 7 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x16, 5, 923, 892, 3 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x17, 6, 816, 521, 1 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x18, 7, 1189, 666, 1 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x2D, 8, 751, 650, 1 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x2E, 9, 405, 650, 1 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x2E, 9, 405, 650, 1 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x2E, 9, 405, 650, 1 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x2E, 9, 405, 650, 1 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x2E, 9, 405, 650, 1 }
 
FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x32, 0xA, 751, 650, 1 }
 
FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0x32, 0xA, 677, 184, 1 }
 
FieldActorEntry actor32 = { actor32Conditions, ((void *)0) , 0x65, 0xB, 248, 388, 7 }
 
FieldActorEntry actor33 = { actor33Conditions, actor33Talks, 0x9D, 0xC, 677, 184, 1 }
 
FieldActorEntry actor34 = { actor34Conditions, actor34Talks, 0x9E, 0xD, 405, 650, 1 }
 
FieldActorEntry actor35 = { actor35Conditions, actor35Talks, 0x9F, 0xE, 751, 650, 1 }
 
FieldActorEntry actor36 = { actor36Conditions, actor36Talks, 0xB7, 0xF, 990, 767, 1 }
 
FieldActorEntry actor37 = { actor37Conditions, actor37Talks, 0xCE, 0x10, 1216, 913, 3 }
 
FieldActorEntry actor38 = { actor38Conditions, actor38Talks, 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.
 
FieldEvent stageEvents []
 

Detailed Description

WSTAG500: Suzaku City, South Sector.

Definition in file wstag500.c.

Macro Definition Documentation

◆ STAGE_CHILDREN_SIZE

#define STAGE_CHILDREN_SIZE   4

Definition at line 9 of file wstag500.c.

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_01)

Definition at line 26 of file wstag500.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_500 - 1)

Definition at line 27 of file wstag500.c.

◆ STAGE_FILE

#define STAGE_FILE   0x40E

Definition at line 28 of file wstag500.c.

Function Documentation

◆ endEvent250()

void endEvent250 ( void  )

After event 250, with Woman and Lisa: sets flag 0x1A32 (which decides whether actor 32 appears) and keeps it from playing again.

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

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

Definition at line 16 of file wstag500.c.

◆ setupStage()

void setupStage ( void  )

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

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

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

< 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 34 of file wstag500.c.

Variable Documentation

◆ script250

s16 script250[]

Definition at line 58 of file wstag500.c.

◆ script270

s16 script270[]

Definition at line 129 of file wstag500.c.

◆ area0Battle0

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

Definition at line 173 of file wstag500.c.

◆ area0Battle1

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

Definition at line 174 of file wstag500.c.

◆ area0Battle2

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

Definition at line 175 of file wstag500.c.

◆ area0Battle3

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

Definition at line 176 of file wstag500.c.

◆ area0Battle4

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

Definition at line 177 of file wstag500.c.

◆ area0Battle5

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

Definition at line 178 of file wstag500.c.

◆ area0Battle6

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

Definition at line 179 of file wstag500.c.

◆ area0Battle7

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

Definition at line 180 of file wstag500.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag500.c:180
AreaBattle area0Battle1
Definition wstag500.c:174
AreaBattle area0Battle6
Definition wstag500.c:179
AreaBattle area0Battle3
Definition wstag500.c:176
AreaBattle area0Battle5
Definition wstag500.c:178
AreaBattle area0Battle0
Definition wstag500.c:173
AreaBattle area0Battle2
Definition wstag500.c:175
AreaBattle area0Battle4
Definition wstag500.c:177

Definition at line 181 of file wstag500.c.

◆ area1Battle0

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

Definition at line 186 of file wstag500.c.

◆ area1Battle1

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

Definition at line 187 of file wstag500.c.

◆ area1Battle2

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

Definition at line 188 of file wstag500.c.

◆ area1Battle3

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

Definition at line 189 of file wstag500.c.

◆ area1Battle4

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

Definition at line 190 of file wstag500.c.

◆ area1Battle5

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

Definition at line 191 of file wstag500.c.

◆ area1Battle6

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

Definition at line 192 of file wstag500.c.

◆ area1Battle7

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

Definition at line 193 of file wstag500.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
0,
}
AreaBattle area1Battle6
Definition wstag500.c:192
AreaBattle area1Battle2
Definition wstag500.c:188
AreaBattle area1Battle4
Definition wstag500.c:190
AreaBattle area1Battle5
Definition wstag500.c:191
AreaBattle area1Battle3
Definition wstag500.c:189
AreaBattle area1Battle0
Definition wstag500.c:186
AreaBattle area1Battle1
Definition wstag500.c:187
AreaBattle area1Battle7
Definition wstag500.c:193

Definition at line 194 of file wstag500.c.

◆ area2Battle0

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

Definition at line 199 of file wstag500.c.

◆ area2Battle1

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

Definition at line 200 of file wstag500.c.

◆ area2Battle2

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

Definition at line 201 of file wstag500.c.

◆ area2Battle3

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

Definition at line 202 of file wstag500.c.

◆ area2Battle4

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

Definition at line 203 of file wstag500.c.

◆ area2Battle5

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

Definition at line 204 of file wstag500.c.

◆ area2Battle6

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

Definition at line 205 of file wstag500.c.

◆ area2Battle7

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

Definition at line 206 of file wstag500.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag500.c:206
AreaBattle area2Battle6
Definition wstag500.c:205
AreaBattle area2Battle0
Definition wstag500.c:199
AreaBattle area2Battle4
Definition wstag500.c:203
AreaBattle area2Battle2
Definition wstag500.c:201
AreaBattle area2Battle1
Definition wstag500.c:200
AreaBattle area2Battle5
Definition wstag500.c:204
AreaBattle area2Battle3
Definition wstag500.c:202

Definition at line 207 of file wstag500.c.

◆ area3Battle0

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

Definition at line 212 of file wstag500.c.

◆ area3Battle1

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

Definition at line 213 of file wstag500.c.

◆ area3Battle2

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

Definition at line 214 of file wstag500.c.

◆ area3Battle3

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

Definition at line 215 of file wstag500.c.

◆ area3Battle4

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

Definition at line 216 of file wstag500.c.

◆ area3Battle5

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

Definition at line 217 of file wstag500.c.

◆ area3Battle6

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

Definition at line 218 of file wstag500.c.

◆ area3Battle7

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

Definition at line 219 of file wstag500.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag500.c:216
AreaBattle area3Battle3
Definition wstag500.c:215
AreaBattle area3Battle0
Definition wstag500.c:212
AreaBattle area3Battle2
Definition wstag500.c:214
AreaBattle area3Battle1
Definition wstag500.c:213
AreaBattle area3Battle6
Definition wstag500.c:218
AreaBattle area3Battle5
Definition wstag500.c:217
AreaBattle area3Battle7
Definition wstag500.c:219

Definition at line 220 of file wstag500.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag500.c:220
BattleList area1Battles
Definition wstag500.c:194
BattleList area2Battles
Definition wstag500.c:207
BattleList area0Battles
Definition wstag500.c:181

Definition at line 225 of file wstag500.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, 0x148, 0x19D, 0x20, 0x9D, 0x160, 0x1FF },
{ 0x140, 0x100, 0x16E, 0x174, 0xB8, 0x74, 0x170, 0x1FF },
{ 0x140, 0x100, 0x156, 0x18C, 0x58, 0x8C, 0x150, 0x1FE },
{ 0x140, 0x100, 0x140, 0x16D, 0, 0x6D, 0x160, 0x1FE },
{ 0x140, 0x100, 0x178, 0x19C, 0xE0, 0x9C, 0x170, 0x1FE },
{ 0x140, 0x100, 0x150, 0x1AC, 0x40, 0xAC, 0x150, 0x1FD },
{ 0x140, 0x100, 0x176, 0x174, 0xD8, 0x74, 0x160, 0x1FD },
{ 0x140, 0x100, 0x168, 0x19C, 0xA0, 0x9C, 0x160, 0x1FC },
{ 0x140, 0x100, 0x158, 0x1AC, 0x60, 0xAC, 0x170, 0x1FC },
{ 0x140, 0x100, 0x160, 0x1B9, 0x80, 0xB9, 0x140, 0x1FB },
{ 0x140, 0x100, 0x170, 0x1BC, 0xC0, 0xBC, 0x150, 0x1FB },
{ 0x140, 0x100, 0x140, 0x1BD, 0, 0xBD, 0x160, 0x1FB },
{ 0x140, 0x100, 0x14C, 0x16D, 0x30, 0x6D, 0x170, 0x1FB },
}

Definition at line 228 of file wstag500.c.

Referenced by setupStage().

◆ actor1Talk0Actions

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

Definition at line 249 of file wstag500.c.

◆ actor2Talk0Actions

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

Definition at line 250 of file wstag500.c.

◆ actor3Talk0Actions

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

Definition at line 251 of file wstag500.c.

◆ actor5Talk0Conditions

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

Definition at line 252 of file wstag500.c.

◆ actor5Talk1Conditions

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

Definition at line 253 of file wstag500.c.

◆ actor15Talk0Conditions

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

Definition at line 254 of file wstag500.c.

◆ actor15Talk1Conditions

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

Definition at line 255 of file wstag500.c.

◆ actor15Talk1Actions

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

Definition at line 256 of file wstag500.c.

◆ actor15Talk2Conditions

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

Definition at line 257 of file wstag500.c.

◆ actor15Talk2Actions

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

Definition at line 258 of file wstag500.c.

◆ actor16Talk0Conditions

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

Definition at line 259 of file wstag500.c.

◆ actor16Talk0Actions

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

Definition at line 260 of file wstag500.c.

◆ actor16Talk1Conditions

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

Definition at line 261 of file wstag500.c.

◆ actor16Talk2Conditions

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

Definition at line 262 of file wstag500.c.

◆ actor16Talk2Actions

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

Definition at line 263 of file wstag500.c.

◆ actor16Talk3Conditions

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

Definition at line 264 of file wstag500.c.

◆ actor16Talk3Actions

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

Definition at line 271 of file wstag500.c.

◆ actor16Talk4Conditions

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

Definition at line 272 of file wstag500.c.

◆ actor16Talk5Conditions

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

Definition at line 280 of file wstag500.c.

◆ actor16Talk6Conditions

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

Definition at line 289 of file wstag500.c.

◆ actor16Talk6Actions

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

Definition at line 298 of file wstag500.c.

◆ actor17Talk0Conditions

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

Definition at line 299 of file wstag500.c.

◆ actor17Talk0Actions

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

Definition at line 300 of file wstag500.c.

◆ actor17Talk1Conditions

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

Definition at line 301 of file wstag500.c.

◆ actor17Talk2Conditions

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

Definition at line 302 of file wstag500.c.

◆ actor17Talk2Actions

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

Definition at line 303 of file wstag500.c.

◆ actor17Talk3Conditions

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

Definition at line 304 of file wstag500.c.

◆ actor17Talk3Actions

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

Definition at line 311 of file wstag500.c.

◆ actor17Talk4Conditions

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

Definition at line 312 of file wstag500.c.

◆ actor17Talk5Conditions

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

Definition at line 320 of file wstag500.c.

◆ actor17Talk6Conditions

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

Definition at line 329 of file wstag500.c.

◆ actor17Talk6Actions

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

Definition at line 338 of file wstag500.c.

◆ actor18Talk0Conditions

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

Definition at line 339 of file wstag500.c.

◆ actor18Talk0Actions

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

Definition at line 340 of file wstag500.c.

◆ actor18Talk1Conditions

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

Definition at line 341 of file wstag500.c.

◆ actor18Talk2Conditions

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

Definition at line 342 of file wstag500.c.

◆ actor18Talk2Actions

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

Definition at line 343 of file wstag500.c.

◆ actor18Talk3Conditions

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

Definition at line 344 of file wstag500.c.

◆ actor18Talk3Actions

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

Definition at line 351 of file wstag500.c.

◆ actor18Talk4Conditions

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

Definition at line 352 of file wstag500.c.

◆ actor18Talk5Conditions

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

Definition at line 360 of file wstag500.c.

◆ actor18Talk6Conditions

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

Definition at line 369 of file wstag500.c.

◆ actor18Talk6Actions

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

Definition at line 378 of file wstag500.c.

◆ actor34Talk0Conditions

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

Definition at line 379 of file wstag500.c.

◆ actor34Talk1Conditions

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

Definition at line 380 of file wstag500.c.

◆ actor34Talk2Conditions

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

Definition at line 381 of file wstag500.c.

◆ actor34Talk2Actions

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

Definition at line 382 of file wstag500.c.

◆ actor34Talk3Conditions

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

Definition at line 383 of file wstag500.c.

◆ actor34Talk3Actions

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

Definition at line 390 of file wstag500.c.

◆ actor34Talk4Conditions

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

Definition at line 391 of file wstag500.c.

◆ actor34Talk5Conditions

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

Definition at line 399 of file wstag500.c.

◆ actor34Talk6Conditions

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

Definition at line 408 of file wstag500.c.

◆ actor34Talk6Actions

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

Definition at line 417 of file wstag500.c.

◆ actor36Talk0Actions

u16 actor36Talk0Actions[] = { 0x7A08, 1, 0xFFFF }

Definition at line 418 of file wstag500.c.

◆ actor37Talk0Conditions

u16 actor37Talk0Conditions[] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }

Definition at line 419 of file wstag500.c.

◆ actor37Talk0Actions

u16 actor37Talk0Actions[] = { 0x7A3B, 1, 0xFFFF }

Definition at line 420 of file wstag500.c.

◆ actor37Talk1Conditions

u16 actor37Talk1Conditions[] = { (0x7000 | ( 0x3E )) , 1, 0xFFFF }

Definition at line 421 of file wstag500.c.

◆ actor37Talk1Actions

u16 actor37Talk1Actions[] = { 0x7A3B, 1, 0xFFFF }

Definition at line 422 of file wstag500.c.

◆ actor37Talk2Conditions

u16 actor37Talk2Conditions[]
Initial value:
= {
(0x7000 | ( 0x18 )) , 1,
0xFFFF ,
}

Definition at line 423 of file wstag500.c.

◆ actor37Talk2Actions

u16 actor37Talk2Actions[] = { 0x7A3C, 1, 0xFFFF }

Definition at line 427 of file wstag500.c.

◆ actor37Talk3Conditions

u16 actor37Talk3Conditions[] = { (0x7000 | ( 0x20 )) , 1, 0xFFFF }

Definition at line 428 of file wstag500.c.

◆ actor37Talk3Actions

u16 actor37Talk3Actions[] = { 0x7A3C, 1, 0xFFFF }

Definition at line 429 of file wstag500.c.

◆ actor37Talk4Conditions

u16 actor37Talk4Conditions[]
Initial value:
= {
(0x7000 | ( 0x21 )) , 1,
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 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 430 of file wstag500.c.

◆ actor37Talk4Actions

u16 actor37Talk4Actions[] = { 0x7A3D, 1, 0xFFFF }

Definition at line 435 of file wstag500.c.

◆ actor37Talk5Conditions

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

Definition at line 436 of file wstag500.c.

◆ actor37Talk5Actions

u16 actor37Talk5Actions[] = { 0x7A3E, 1, 0xFFFF }

Definition at line 437 of file wstag500.c.

◆ actor37Talk6Conditions

u16 actor37Talk6Conditions[]
Initial value:
= {
(0x7000 | ( 0x1A )) , 1,
0xFFFF ,
}

Definition at line 438 of file wstag500.c.

◆ actor37Talk6Actions

u16 actor37Talk6Actions[] = { 0x7A3E, 1, 0xFFFF }

Definition at line 442 of file wstag500.c.

◆ actor37Talk7Conditions

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

Definition at line 443 of file wstag500.c.

◆ actor37Talk7Actions

u16 actor37Talk7Actions[] = { 0x7A3E, 1, 0xFFFF }

Definition at line 444 of file wstag500.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , actor1Talk0Actions, 0xF3 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk0Actions[]
Definition wstag500.c:249

Definition at line 445 of file wstag500.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , actor2Talk0Actions, 0xF2 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk0Actions[]
Definition wstag500.c:250

Definition at line 449 of file wstag500.c.

◆ actor3Talks

FieldTalk actor3Talks[]
Initial value:
= {
{ ((void *)0) , actor3Talk0Actions, 0x4C },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor3Talk0Actions[]
Definition wstag500.c:251

Definition at line 453 of file wstag500.c.

◆ actor4Talks

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

Definition at line 457 of file wstag500.c.

◆ actor5Talks

FieldTalk actor5Talks[]
Initial value:
= {
{ actor5Talk0Conditions, ((void *)0) , 0x79 },
{ actor5Talk1Conditions, ((void *)0) , 0x3C },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor5Talk0Conditions[]
Definition wstag500.c:252
u16 actor5Talk1Conditions[]
Definition wstag500.c:253

Definition at line 461 of file wstag500.c.

◆ actor6Talks

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

Definition at line 466 of file wstag500.c.

◆ actor7Talks

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

Definition at line 470 of file wstag500.c.

◆ actor8Talks

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

Definition at line 474 of file wstag500.c.

◆ actor9Talks

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

Definition at line 478 of file wstag500.c.

◆ actor10Talks

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

Definition at line 482 of file wstag500.c.

◆ actor11Talks

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

Definition at line 486 of file wstag500.c.

◆ actor12Talks

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

Definition at line 490 of file wstag500.c.

◆ actor13Talks

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

Definition at line 494 of file wstag500.c.

◆ actor14Talks

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

Definition at line 498 of file wstag500.c.

◆ actor15Talks

FieldTalk actor15Talks[]
Initial value:
= {
{ actor15Talk0Conditions, ((void *)0) , 0xE2 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor15Talk1Actions[]
Definition wstag500.c:256
u16 actor15Talk2Conditions[]
Definition wstag500.c:257
u16 actor15Talk1Conditions[]
Definition wstag500.c:255
u16 actor15Talk2Actions[]
Definition wstag500.c:258
u16 actor15Talk0Conditions[]
Definition wstag500.c:254

Definition at line 502 of file wstag500.c.

◆ actor16Talks

FieldTalk actor16Talks[]
Initial value:
= {
{ actor16Talk1Conditions, ((void *)0) , 0xE7 },
{ actor16Talk4Conditions, ((void *)0) , 0xEA },
{ actor16Talk5Conditions, ((void *)0) , 0xEB },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor16Talk5Conditions[]
Definition wstag500.c:280
u16 actor16Talk2Conditions[]
Definition wstag500.c:262
u16 actor16Talk4Conditions[]
Definition wstag500.c:272
u16 actor16Talk3Conditions[]
Definition wstag500.c:264
u16 actor16Talk0Actions[]
Definition wstag500.c:260
u16 actor16Talk6Conditions[]
Definition wstag500.c:289
u16 actor16Talk1Conditions[]
Definition wstag500.c:261
u16 actor16Talk2Actions[]
Definition wstag500.c:263
u16 actor16Talk3Actions[]
Definition wstag500.c:271
u16 actor16Talk0Conditions[]
Definition wstag500.c:259
u16 actor16Talk6Actions[]
Definition wstag500.c:298

Definition at line 508 of file wstag500.c.

◆ actor17Talks

FieldTalk actor17Talks[]
Initial value:
= {
{ actor17Talk1Conditions, ((void *)0) , 0xE7 },
{ actor17Talk4Conditions, ((void *)0) , 0xEA },
{ actor17Talk5Conditions, ((void *)0) , 0xEB },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor17Talk3Actions[]
Definition wstag500.c:311
u16 actor17Talk4Conditions[]
Definition wstag500.c:312
u16 actor17Talk5Conditions[]
Definition wstag500.c:320
u16 actor17Talk2Conditions[]
Definition wstag500.c:302
u16 actor17Talk1Conditions[]
Definition wstag500.c:301
u16 actor17Talk2Actions[]
Definition wstag500.c:303
u16 actor17Talk6Actions[]
Definition wstag500.c:338
u16 actor17Talk6Conditions[]
Definition wstag500.c:329
u16 actor17Talk0Conditions[]
Definition wstag500.c:299
u16 actor17Talk3Conditions[]
Definition wstag500.c:304
u16 actor17Talk0Actions[]
Definition wstag500.c:300

Definition at line 518 of file wstag500.c.

◆ actor18Talks

FieldTalk actor18Talks[]
Initial value:
= {
{ actor18Talk1Conditions, ((void *)0) , 0xE7 },
{ actor18Talk4Conditions, ((void *)0) , 0xEA },
{ actor18Talk5Conditions, ((void *)0) , 0xEB },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor18Talk5Conditions[]
Definition wstag500.c:360
u16 actor18Talk6Conditions[]
Definition wstag500.c:369
u16 actor18Talk2Actions[]
Definition wstag500.c:343
u16 actor18Talk4Conditions[]
Definition wstag500.c:352
u16 actor18Talk1Conditions[]
Definition wstag500.c:341
u16 actor18Talk6Actions[]
Definition wstag500.c:378
u16 actor18Talk3Conditions[]
Definition wstag500.c:344
u16 actor18Talk3Actions[]
Definition wstag500.c:351
u16 actor18Talk2Conditions[]
Definition wstag500.c:342
u16 actor18Talk0Conditions[]
Definition wstag500.c:339
u16 actor18Talk0Actions[]
Definition wstag500.c:340

Definition at line 528 of file wstag500.c.

◆ actor19Talks

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

Definition at line 538 of file wstag500.c.

◆ actor20Talks

FieldTalk actor20Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x70 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 542 of file wstag500.c.

◆ actor21Talks

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

Definition at line 546 of file wstag500.c.

◆ actor22Talks

FieldTalk actor22Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x7E },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 550 of file wstag500.c.

◆ actor23Talks

FieldTalk actor23Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x7C },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 554 of file wstag500.c.

◆ actor24Talks

FieldTalk actor24Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x72 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 558 of file wstag500.c.

◆ actor25Talks

FieldTalk actor25Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x75 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 562 of file wstag500.c.

◆ actor26Talks

FieldTalk actor26Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x76 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 566 of file wstag500.c.

◆ actor27Talks

FieldTalk actor27Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x78 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 570 of file wstag500.c.

◆ actor28Talks

FieldTalk actor28Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x80 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 574 of file wstag500.c.

◆ actor29Talks

FieldTalk actor29Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x7A },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 578 of file wstag500.c.

◆ actor30Talks

FieldTalk actor30Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x7C },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 582 of file wstag500.c.

◆ actor31Talks

FieldTalk actor31Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x120 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 586 of file wstag500.c.

◆ actor33Talks

FieldTalk actor33Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x82 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 590 of file wstag500.c.

◆ actor34Talks

FieldTalk actor34Talks[]
Initial value:
= {
{ actor34Talk0Conditions, ((void *)0) , 0xE5 },
{ actor34Talk1Conditions, ((void *)0) , 0xE5 },
{ actor34Talk4Conditions, ((void *)0) , 0xE5 },
{ actor34Talk5Conditions, ((void *)0) , 0xE5 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor34Talk2Conditions[]
Definition wstag500.c:381
u16 actor34Talk6Conditions[]
Definition wstag500.c:408
u16 actor34Talk6Actions[]
Definition wstag500.c:417
u16 actor34Talk2Actions[]
Definition wstag500.c:382
u16 actor34Talk5Conditions[]
Definition wstag500.c:399
u16 actor34Talk4Conditions[]
Definition wstag500.c:391
u16 actor34Talk0Conditions[]
Definition wstag500.c:379
u16 actor34Talk3Conditions[]
Definition wstag500.c:383
u16 actor34Talk3Actions[]
Definition wstag500.c:390
u16 actor34Talk1Conditions[]
Definition wstag500.c:380

Definition at line 594 of file wstag500.c.

◆ actor35Talks

FieldTalk actor35Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x83 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 604 of file wstag500.c.

◆ actor36Talks

FieldTalk actor36Talks[]
Initial value:
= {
{ ((void *)0) , actor36Talk0Actions, 0xF4 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor36Talk0Actions[]
Definition wstag500.c:418

Definition at line 608 of file wstag500.c.

◆ actor37Talks

FieldTalk actor37Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor37Talk7Conditions[]
Definition wstag500.c:443
u16 actor37Talk7Actions[]
Definition wstag500.c:444
u16 actor37Talk1Actions[]
Definition wstag500.c:422
u16 actor37Talk2Actions[]
Definition wstag500.c:427
u16 actor37Talk2Conditions[]
Definition wstag500.c:423
u16 actor37Talk3Conditions[]
Definition wstag500.c:428
u16 actor37Talk6Conditions[]
Definition wstag500.c:438
u16 actor37Talk0Conditions[]
Definition wstag500.c:419
u16 actor37Talk6Actions[]
Definition wstag500.c:442
u16 actor37Talk5Actions[]
Definition wstag500.c:437
u16 actor37Talk4Actions[]
Definition wstag500.c:435
u16 actor37Talk3Actions[]
Definition wstag500.c:429
u16 actor37Talk4Conditions[]
Definition wstag500.c:430
u16 actor37Talk5Conditions[]
Definition wstag500.c:436
u16 actor37Talk0Actions[]
Definition wstag500.c:420
u16 actor37Talk1Conditions[]
Definition wstag500.c:421

Definition at line 612 of file wstag500.c.

◆ actor38Talks

FieldTalk actor38Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x174 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 623 of file wstag500.c.

◆ actor0Conditions

u16 actor0Conditions[] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF }

Definition at line 627 of file wstag500.c.

◆ actor1Conditions

u16 actor1Conditions[]
Initial value:
= {
(0x7000 | ( 0x14 )) , 1,
(0x6000 | ( STORY_SUZAKU_BADGE )) , 0,
0xFFFF ,
}
@ STORY_SUZAKU_BADGE
WSTAG520, event 261: the Suzaku Leader is beaten (the Suzaku Badge), and Kail says Teddy went to Asuk...
Definition story.h:58

Definition at line 628 of file wstag500.c.

◆ actor2Conditions

u16 actor2Conditions[]
Initial value:
= {
(0x7000 | ( 0x14 )) , 1,
(0x6000 | ( STORY_SUZAKU_BADGE )) , 0,
0xFFFF ,
}

Definition at line 633 of file wstag500.c.

◆ actor3Conditions

u16 actor3Conditions[]
Initial value:
= {
(0x7000 | ( 0x14 )) , 1,
(0x6000 | ( STORY_SUZAKU_BADGE )) , 0,
0xFFFF ,
}

Definition at line 638 of file wstag500.c.

◆ actor4Conditions

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

Definition at line 643 of file wstag500.c.

◆ actor5Conditions

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

Definition at line 644 of file wstag500.c.

◆ actor6Conditions

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

Definition at line 645 of file wstag500.c.

◆ actor7Conditions

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

Definition at line 646 of file wstag500.c.

◆ actor8Conditions

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

Definition at line 647 of file wstag500.c.

◆ actor9Conditions

u16 actor9Conditions[]
Initial value:
= {
(0x7000 | ( 0x17 )) , 1,
(0x6000 | ( STORY_BYAKKO_LEADER_FOUGHT )) , 0,
0xFFFF ,
}
@ STORY_BYAKKO_LEADER_FOUGHT
WSTAG620 (the rebels' hideout), event 534: the Byakko Leader takes the player for the A....
Definition story.h:85

Definition at line 648 of file wstag500.c.

◆ actor10Conditions

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

Definition at line 653 of file wstag500.c.

◆ actor11Conditions

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

Definition at line 654 of file wstag500.c.

◆ actor12Conditions

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

Definition at line 655 of file wstag500.c.

◆ actor13Conditions

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

Definition at line 656 of file wstag500.c.

◆ actor14Conditions

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

Definition at line 657 of file wstag500.c.

◆ actor15Conditions

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

Definition at line 658 of file wstag500.c.

◆ actor16Conditions

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

Definition at line 664 of file wstag500.c.

◆ actor17Conditions

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

Definition at line 670 of file wstag500.c.

◆ actor18Conditions

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

Definition at line 676 of file wstag500.c.

◆ actor19Conditions

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

Definition at line 682 of file wstag500.c.

◆ actor20Conditions

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

Definition at line 688 of file wstag500.c.

◆ actor21Conditions

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

Definition at line 689 of file wstag500.c.

◆ actor22Conditions

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

Definition at line 690 of file wstag500.c.

◆ actor23Conditions

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

Definition at line 691 of file wstag500.c.

◆ actor24Conditions

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

Definition at line 692 of file wstag500.c.

◆ actor25Conditions

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

Definition at line 693 of file wstag500.c.

◆ actor26Conditions

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

Definition at line 694 of file wstag500.c.

◆ actor27Conditions

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

Definition at line 695 of file wstag500.c.

◆ actor28Conditions

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

Definition at line 696 of file wstag500.c.

◆ actor29Conditions

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

Definition at line 697 of file wstag500.c.

◆ actor30Conditions

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

Definition at line 698 of file wstag500.c.

◆ actor31Conditions

u16 actor31Conditions[] = { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1, 0xFFFF }

Definition at line 699 of file wstag500.c.

◆ actor32Conditions

u16 actor32Conditions[]
Initial value:
= {
(0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1,
(( 0x1A ) << 8 | ( 0x32 )) , 0,
0xFFFF ,
}
@ STORY_ZANBAMON_DRIVEN_OFF
WSTAG475 (Shaman House), event 230: the Smelly Herb drives Zanbamon off the way.
Definition story.h:55

Definition at line 700 of file wstag500.c.

◆ actor33Conditions

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

Definition at line 705 of file wstag500.c.

◆ actor34Conditions

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

Definition at line 706 of file wstag500.c.

◆ actor35Conditions

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

Definition at line 707 of file wstag500.c.

◆ actor36Conditions

u16 actor36Conditions[]
Initial value:
= {
(0x6000 | ( STORY_SUZAKU_BADGE )) , 0,
(0x7000 | ( 0x14 )) , 1,
0xFFFF ,
}

Definition at line 708 of file wstag500.c.

◆ actor37Conditions

u16 actor37Conditions[]
Initial value:
= {
(0x6000 | ( STORY_SUZAKU_BADGE )) , 0,
(0x7000 | ( 0x14 )) , 1,
(0x8000 | ( 0 ) << 9 | ( 0x192 )), 1,
0xFFFF ,
}

Definition at line 713 of file wstag500.c.

◆ actor38Conditions

u16 actor38Conditions[]
Initial value:
= {
(0x7000 | ( 0x14 )) , 1,
(0x6000 | ( STORY_SUZAKU_BADGE )) , 0,
(0x8000 | ( 0 ) << 9 | ( 0x192 )), 0,
0xFFFF ,
}

Definition at line 719 of file wstag500.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, ((void *)0) , 0xB, 4, 294, 339, 7 }

Definition at line 725 of file wstag500.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x16, 5, 923, 892, 3 }

Definition at line 726 of file wstag500.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x17, 6, 816, 521, 1 }

Definition at line 727 of file wstag500.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x18, 7, 1189, 666, 1 }

Definition at line 728 of file wstag500.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 729 of file wstag500.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 730 of file wstag500.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 731 of file wstag500.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 732 of file wstag500.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 733 of file wstag500.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 734 of file wstag500.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 735 of file wstag500.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 736 of file wstag500.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 737 of file wstag500.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 738 of file wstag500.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x2D, 8, 751, 650, 1 }

Definition at line 739 of file wstag500.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x2E, 9, 405, 650, 1 }

Definition at line 740 of file wstag500.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x2E, 9, 405, 650, 1 }

Definition at line 741 of file wstag500.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x2E, 9, 405, 650, 1 }

Definition at line 742 of file wstag500.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x2E, 9, 405, 650, 1 }

Definition at line 743 of file wstag500.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x2E, 9, 405, 650, 1 }

Definition at line 744 of file wstag500.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 745 of file wstag500.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x32, 0xA, 751, 650, 1 }

Definition at line 746 of file wstag500.c.

◆ actor22

FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 747 of file wstag500.c.

◆ actor23

FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 748 of file wstag500.c.

◆ actor24

FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 749 of file wstag500.c.

◆ actor25

FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 750 of file wstag500.c.

◆ actor26

FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 751 of file wstag500.c.

◆ actor27

FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 752 of file wstag500.c.

◆ actor28

FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 753 of file wstag500.c.

◆ actor29

FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 754 of file wstag500.c.

◆ actor30

FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 755 of file wstag500.c.

◆ actor31

FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0x32, 0xA, 677, 184, 1 }

Definition at line 756 of file wstag500.c.

◆ actor32

FieldActorEntry actor32 = { actor32Conditions, ((void *)0) , 0x65, 0xB, 248, 388, 7 }

Definition at line 757 of file wstag500.c.

◆ actor33

FieldActorEntry actor33 = { actor33Conditions, actor33Talks, 0x9D, 0xC, 677, 184, 1 }

Definition at line 758 of file wstag500.c.

◆ actor34

FieldActorEntry actor34 = { actor34Conditions, actor34Talks, 0x9E, 0xD, 405, 650, 1 }

Definition at line 759 of file wstag500.c.

◆ actor35

FieldActorEntry actor35 = { actor35Conditions, actor35Talks, 0x9F, 0xE, 751, 650, 1 }

Definition at line 760 of file wstag500.c.

◆ actor36

FieldActorEntry actor36 = { actor36Conditions, actor36Talks, 0xB7, 0xF, 990, 767, 1 }

Definition at line 761 of file wstag500.c.

◆ actor37

FieldActorEntry actor37 = { actor37Conditions, actor37Talks, 0xCE, 0x10, 1216, 913, 3 }

Definition at line 762 of file wstag500.c.

◆ actor38

FieldActorEntry actor38 = { actor38Conditions, actor38Talks, 0xCE, 0x10, 1216, 913, 3 }

Definition at line 763 of file wstag500.c.

◆ stageActors

FieldActorEntry* stageActors[]

Definition at line 764 of file wstag500.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 806 of file wstag500.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x23B, 0x630, 0x88, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x23F, 0x2C0, 0x1B0, 3, 0x66, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x240, 0xC8, 0x164, 5, 0x65, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x240, 0x258, 0x1C2, 3, 0x64, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E2, 0xB0, 0x148, 7, 0, 7, 1 },
{ { { (0x6000 | ( STORY_ZANBAMON_DRIVEN_OFF )) , 1 }, { (( 0x40 ) << 8 | ( 0xA )) , 0 } }, 8 , 0xFA, 0, 0, 0, 0, 0, 0 },
{ { { (0x6000 | ( STORY_SUZAKU_BADGE )) , 1 }, { 0xFFFF , 0 } }, 8 , 0x10E, 0, 0, 0, 0, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E2, 0xB0, 0x148, 7, 0, 7, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 893 of file wstag500.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_0016; BGM_0029 instead at story s...
Definition wstag500.c:34

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 904 of file wstag500.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 270, script270, ( ( 0x13D - 1) << 16 | ( 3 )), ((void *)0) , ((void *)0) },
{ 250, script250, ( ( 0x13D - 1) << 16 | ( 0 )), ((void *)0) , endEvent250 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent250(void)
After event 250, with Woman and Lisa: sets flag 0x1A32 (which decides whether actor 32 appears) and k...
Definition wstag500.c:16
s16 script270[]
Definition wstag500.c:129
s16 script250[]
Definition wstag500.c:58

Definition at line 907 of file wstag500.c.

Referenced by setupStage().