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

WSTAG230: Arena Front Desk, Asuka City. More...

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

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)
 
#define STAGE_FILE   0x1A1
 
#define STAGE_ARCHIVE   0x396
 

Functions

void setupStage (void)
 Sets the stage up: its map and actors, playing KANRIBGM; BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28.
 

Variables

ActorImage stageImages []
 
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 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 actor32Talks []
 
FieldTalk actor33Talks []
 
FieldTalk actor34Talks []
 
FieldTalk actor35Talks []
 
FieldTalk actor36Talks []
 
FieldTalk actor38Talks []
 
FieldTalk actor39Talks []
 
FieldTalk actor40Talks []
 
u16 actor0Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF }
 
u16 actor1Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor2Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x7000 | ( 0x22 )) , 1, 0xFFFF }
 
u16 actor13Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor14Conditions [] = { (0x6000 | ( STORY_LOGGED_IN )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor16Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }
 
u16 actor17Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor18Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor19Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor20Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor21Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor22Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor23Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor24Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor25Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor26Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor27Conditions [] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }
 
u16 actor28Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor29Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor30Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor31Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor32Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor33Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor34Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor35Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor36Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor37Conditions [] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }
 
u16 actor38Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor39Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor40Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor41Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x20, 4, 277, 344, 7 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x20, 4, 272, 344, 7 }
 
FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x24, 5, 240, 329, 3 }
 
FieldActorEntry actor13 = { actor13Conditions, ((void *)0) , 0x24, 5, 240, 329, 3 }
 
FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0x24, 5, 240, 329, 3 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x34, 6, 352, 239, 1 }
 
FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x34, 6, 237, 202, 3 }
 
FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor32 = { actor32Conditions, actor32Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor33 = { actor33Conditions, actor33Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor34 = { actor34Conditions, actor34Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor35 = { actor35Conditions, actor35Talks, 0x39, 7, 237, 202, 3 }
 
FieldActorEntry actor36 = { actor36Conditions, actor36Talks, 0x39, 7, 240, 327, 3 }
 
FieldActorEntry actor37 = { actor37Conditions, ((void *)0) , 0x6A, 8, 0, 0, 1 }
 
FieldActorEntry actor38 = { actor38Conditions, actor38Talks, 0x9D, 9, 237, 202, 3 }
 
FieldActorEntry actor39 = { actor39Conditions, actor39Talks, 0x9E, 0xA, 352, 239, 1 }
 
FieldActorEntry actor40 = { actor40Conditions, actor40Talks, 0x9F, 0xB, 272, 344, 7 }
 
FieldActorEntry actor41 = { actor41Conditions, ((void *)0) , 0xA0, 0xC, 240, 329, 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

WSTAG230: Arena Front Desk, Asuka City.

Definition in file wstag230.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_05)

Definition at line 16 of file wstag230.c.

◆ STAGE_FILE

#define STAGE_FILE   0x1A1

Definition at line 17 of file wstag230.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x396

Definition at line 18 of file wstag230.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map and actors, playing KANRIBGM; BGM_0029 instead at story steps 0x14 to 0x17 and 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.

< KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room

< KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room

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

< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)

< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)

< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)

< BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightmon reprogrammed, the A.o.A's headquarters, the Amaterasu server's Oinkmon)

Definition at line 24 of file wstag230.c.

Variable Documentation

◆ 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, 0x174, 0x148, 0xD0, 0x48, 0x170, 0x1FF },
{ 0x140, 0x100, 0x15C, 0x161, 0x70, 0x61, 0x160, 0x1FE },
{ 0x140, 0x100, 0x164, 0x161, 0x90, 0x61, 0x170, 0x1FE },
{ 0x140, 0x100, 0x174, 0x170, 0xD0, 0x70, 0x150, 0x1FD },
{ 0x140, 0x100, 0x140, 0x175, 0, 0x75, 0x160, 0x1FD },
{ 0x140, 0x100, 0x148, 0x175, 0x20, 0x75, 0x170, 0x1FD },
{ 0x140, 0x100, 0x150, 0x175, 0x40, 0x75, 0x150, 0x1FC },
{ 0x140, 0x100, 0x16C, 0x181, 0xB0, 0x81, 0x160, 0x1FC },
{ 0x140, 0x100, 0x158, 0x189, 0x60, 0x89, 0x170, 0x1FC },
}

Definition at line 50 of file wstag230.c.

Referenced by setupStage().

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1C9 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 67 of file wstag230.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1B2 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 71 of file wstag230.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1B3 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 75 of file wstag230.c.

◆ actor3Talks

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

Definition at line 79 of file wstag230.c.

◆ actor4Talks

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

Definition at line 83 of file wstag230.c.

◆ actor5Talks

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

Definition at line 87 of file wstag230.c.

◆ actor6Talks

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

Definition at line 91 of file wstag230.c.

◆ actor7Talks

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

Definition at line 95 of file wstag230.c.

◆ actor8Talks

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

Definition at line 99 of file wstag230.c.

◆ actor9Talks

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

Definition at line 103 of file wstag230.c.

◆ actor10Talks

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

Definition at line 107 of file wstag230.c.

◆ actor11Talks

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

Definition at line 111 of file wstag230.c.

◆ actor15Talks

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

Definition at line 115 of file wstag230.c.

◆ actor16Talks

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

Definition at line 119 of file wstag230.c.

◆ actor17Talks

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

Definition at line 123 of file wstag230.c.

◆ actor18Talks

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

Definition at line 127 of file wstag230.c.

◆ actor19Talks

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

Definition at line 131 of file wstag230.c.

◆ actor20Talks

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

Definition at line 135 of file wstag230.c.

◆ actor21Talks

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

Definition at line 139 of file wstag230.c.

◆ actor22Talks

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

Definition at line 143 of file wstag230.c.

◆ actor23Talks

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

Definition at line 147 of file wstag230.c.

◆ actor24Talks

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

Definition at line 151 of file wstag230.c.

◆ actor25Talks

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

Definition at line 155 of file wstag230.c.

◆ actor26Talks

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

Definition at line 159 of file wstag230.c.

◆ actor27Talks

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

Definition at line 163 of file wstag230.c.

◆ actor28Talks

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

Definition at line 167 of file wstag230.c.

◆ actor29Talks

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

Definition at line 171 of file wstag230.c.

◆ actor30Talks

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

Definition at line 175 of file wstag230.c.

◆ actor31Talks

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

Definition at line 179 of file wstag230.c.

◆ actor32Talks

FieldTalk actor32Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1FB },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 183 of file wstag230.c.

◆ actor33Talks

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

Definition at line 187 of file wstag230.c.

◆ actor34Talks

FieldTalk actor34Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1F6 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 191 of file wstag230.c.

◆ actor35Talks

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

Definition at line 195 of file wstag230.c.

◆ actor36Talks

FieldTalk actor36Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1FD },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 199 of file wstag230.c.

◆ actor38Talks

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

Definition at line 203 of file wstag230.c.

◆ actor39Talks

FieldTalk actor39Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1F0 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 207 of file wstag230.c.

◆ actor40Talks

FieldTalk actor40Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x1C7 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 211 of file wstag230.c.

◆ actor0Conditions

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

Definition at line 215 of file wstag230.c.

◆ actor1Conditions

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

Definition at line 216 of file wstag230.c.

◆ actor2Conditions

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

Definition at line 217 of file wstag230.c.

◆ actor3Conditions

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

Definition at line 218 of file wstag230.c.

◆ actor4Conditions

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

Definition at line 219 of file wstag230.c.

◆ actor5Conditions

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

Definition at line 220 of file wstag230.c.

◆ actor6Conditions

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

Definition at line 221 of file wstag230.c.

◆ actor7Conditions

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

Definition at line 222 of file wstag230.c.

◆ actor8Conditions

u16 actor8Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }

Definition at line 223 of file wstag230.c.

◆ actor9Conditions

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

Definition at line 224 of file wstag230.c.

◆ actor10Conditions

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

Definition at line 225 of file wstag230.c.

◆ actor11Conditions

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

Definition at line 226 of file wstag230.c.

◆ actor12Conditions

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

Definition at line 227 of file wstag230.c.

◆ actor13Conditions

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

Definition at line 228 of file wstag230.c.

◆ actor14Conditions

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

Definition at line 229 of file wstag230.c.

◆ actor15Conditions

u16 actor15Conditions[] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }

Definition at line 230 of file wstag230.c.

◆ actor16Conditions

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

Definition at line 231 of file wstag230.c.

◆ actor17Conditions

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

Definition at line 232 of file wstag230.c.

◆ actor18Conditions

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

Definition at line 233 of file wstag230.c.

◆ actor19Conditions

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

Definition at line 234 of file wstag230.c.

◆ actor20Conditions

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

Definition at line 235 of file wstag230.c.

◆ actor21Conditions

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

Definition at line 236 of file wstag230.c.

◆ actor22Conditions

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

Definition at line 237 of file wstag230.c.

◆ actor23Conditions

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

Definition at line 238 of file wstag230.c.

◆ actor24Conditions

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

Definition at line 239 of file wstag230.c.

◆ actor25Conditions

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

Definition at line 240 of file wstag230.c.

◆ actor26Conditions

u16 actor26Conditions[] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }

Definition at line 241 of file wstag230.c.

◆ actor27Conditions

u16 actor27Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF }

Definition at line 242 of file wstag230.c.

◆ actor28Conditions

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

Definition at line 243 of file wstag230.c.

◆ actor29Conditions

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

Definition at line 244 of file wstag230.c.

◆ actor30Conditions

u16 actor30Conditions[] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }

Definition at line 245 of file wstag230.c.

◆ actor31Conditions

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

Definition at line 246 of file wstag230.c.

◆ actor32Conditions

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

Definition at line 247 of file wstag230.c.

◆ actor33Conditions

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

Definition at line 248 of file wstag230.c.

◆ actor34Conditions

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

Definition at line 249 of file wstag230.c.

◆ actor35Conditions

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

Definition at line 250 of file wstag230.c.

◆ actor36Conditions

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

Definition at line 251 of file wstag230.c.

◆ actor37Conditions

u16 actor37Conditions[] = { (0x6000 | ( STORY_AGUMON_DISGUISE )) , 1, 0xFFFF }

Definition at line 252 of file wstag230.c.

◆ actor38Conditions

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

Definition at line 253 of file wstag230.c.

◆ actor39Conditions

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

Definition at line 254 of file wstag230.c.

◆ actor40Conditions

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

Definition at line 255 of file wstag230.c.

◆ actor41Conditions

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

Definition at line 256 of file wstag230.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x20, 4, 272, 344, 7 }

Definition at line 257 of file wstag230.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x20, 4, 272, 344, 7 }

Definition at line 258 of file wstag230.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x20, 4, 272, 344, 7 }

Definition at line 259 of file wstag230.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x20, 4, 272, 344, 7 }

Definition at line 260 of file wstag230.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x20, 4, 272, 344, 7 }

Definition at line 261 of file wstag230.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x20, 4, 272, 344, 7 }

Definition at line 262 of file wstag230.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x20, 4, 272, 344, 7 }

Definition at line 263 of file wstag230.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x20, 4, 272, 344, 7 }

Definition at line 264 of file wstag230.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x20, 4, 272, 344, 7 }

Definition at line 265 of file wstag230.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x20, 4, 272, 344, 7 }

Definition at line 266 of file wstag230.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x20, 4, 277, 344, 7 }

Definition at line 267 of file wstag230.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x20, 4, 272, 344, 7 }

Definition at line 268 of file wstag230.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, ((void *)0) , 0x24, 5, 240, 329, 3 }

Definition at line 269 of file wstag230.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, ((void *)0) , 0x24, 5, 240, 329, 3 }

Definition at line 270 of file wstag230.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, ((void *)0) , 0x24, 5, 240, 329, 3 }

Definition at line 271 of file wstag230.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0x34, 6, 352, 239, 1 }

Definition at line 272 of file wstag230.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0x34, 6, 352, 239, 1 }

Definition at line 273 of file wstag230.c.

◆ actor17

FieldActorEntry actor17 = { actor17Conditions, actor17Talks, 0x34, 6, 352, 239, 1 }

Definition at line 274 of file wstag230.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x34, 6, 352, 239, 1 }

Definition at line 275 of file wstag230.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x34, 6, 352, 239, 1 }

Definition at line 276 of file wstag230.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x34, 6, 352, 239, 1 }

Definition at line 277 of file wstag230.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x34, 6, 352, 239, 1 }

Definition at line 278 of file wstag230.c.

◆ actor22

FieldActorEntry actor22 = { actor22Conditions, actor22Talks, 0x34, 6, 352, 239, 1 }

Definition at line 279 of file wstag230.c.

◆ actor23

FieldActorEntry actor23 = { actor23Conditions, actor23Talks, 0x34, 6, 352, 239, 1 }

Definition at line 280 of file wstag230.c.

◆ actor24

FieldActorEntry actor24 = { actor24Conditions, actor24Talks, 0x34, 6, 352, 239, 1 }

Definition at line 281 of file wstag230.c.

◆ actor25

FieldActorEntry actor25 = { actor25Conditions, actor25Talks, 0x34, 6, 237, 202, 3 }

Definition at line 282 of file wstag230.c.

◆ actor26

FieldActorEntry actor26 = { actor26Conditions, actor26Talks, 0x39, 7, 237, 202, 3 }

Definition at line 283 of file wstag230.c.

◆ actor27

FieldActorEntry actor27 = { actor27Conditions, actor27Talks, 0x39, 7, 237, 202, 3 }

Definition at line 284 of file wstag230.c.

◆ actor28

FieldActorEntry actor28 = { actor28Conditions, actor28Talks, 0x39, 7, 237, 202, 3 }

Definition at line 285 of file wstag230.c.

◆ actor29

FieldActorEntry actor29 = { actor29Conditions, actor29Talks, 0x39, 7, 237, 202, 3 }

Definition at line 286 of file wstag230.c.

◆ actor30

FieldActorEntry actor30 = { actor30Conditions, actor30Talks, 0x39, 7, 237, 202, 3 }

Definition at line 287 of file wstag230.c.

◆ actor31

FieldActorEntry actor31 = { actor31Conditions, actor31Talks, 0x39, 7, 237, 202, 3 }

Definition at line 288 of file wstag230.c.

◆ actor32

FieldActorEntry actor32 = { actor32Conditions, actor32Talks, 0x39, 7, 237, 202, 3 }

Definition at line 289 of file wstag230.c.

◆ actor33

FieldActorEntry actor33 = { actor33Conditions, actor33Talks, 0x39, 7, 237, 202, 3 }

Definition at line 290 of file wstag230.c.

◆ actor34

FieldActorEntry actor34 = { actor34Conditions, actor34Talks, 0x39, 7, 237, 202, 3 }

Definition at line 291 of file wstag230.c.

◆ actor35

FieldActorEntry actor35 = { actor35Conditions, actor35Talks, 0x39, 7, 237, 202, 3 }

Definition at line 292 of file wstag230.c.

◆ actor36

FieldActorEntry actor36 = { actor36Conditions, actor36Talks, 0x39, 7, 240, 327, 3 }

Definition at line 293 of file wstag230.c.

◆ actor37

FieldActorEntry actor37 = { actor37Conditions, ((void *)0) , 0x6A, 8, 0, 0, 1 }

Definition at line 294 of file wstag230.c.

◆ actor38

FieldActorEntry actor38 = { actor38Conditions, actor38Talks, 0x9D, 9, 237, 202, 3 }

Definition at line 295 of file wstag230.c.

◆ actor39

FieldActorEntry actor39 = { actor39Conditions, actor39Talks, 0x9E, 0xA, 352, 239, 1 }

Definition at line 296 of file wstag230.c.

◆ actor40

FieldActorEntry actor40 = { actor40Conditions, actor40Talks, 0x9F, 0xB, 272, 344, 7 }

Definition at line 297 of file wstag230.c.

◆ actor41

FieldActorEntry actor41 = { actor41Conditions, ((void *)0) , 0xA0, 0xC, 240, 329, 3 }

Definition at line 298 of file wstag230.c.

◆ stageActors

FieldActorEntry* stageActors[]

Definition at line 299 of file wstag230.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 2, 3, 0, 0, 0, 0, 0, 192, 256, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 144, 104, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 168, 92, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 224, 64, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 0xB, 8, 0, 127, 112, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 0xB, 8, 0, 127, 144, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 0xB, 8, 0, 159, 96, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 0xB, 8, 0, 159, 128, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 0xB, 8, 0, 191, 80, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 0xB, 8, 0, 191, 112, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 0xB, 8, 0, 223, 64, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 0xB, 8, 0, 223, 96, 0, 0 },
{ 1, 0, 0x40, 6, 0x34, 2, 0, 0xB, 8, 0, 196, 289, 0, 0 },
{ 1, 0, 0x40, 6, 0x34, 2, 0, 0xB, 8, 0, 226, 274, 0, 0 },
{ 1, 0, 0x40, 6, 0x35, 2, 0, 0xB, 8, 0, 212, 266, 0, 0 },
{ 1, 0, 0x40, 6, 0x35, 2, 0, 0xB, 8, 0, 212, 281, 0, 0 },
{ 1, 0, 0x40, 6, 0x36, 2, 0, 0xB, 8, 0, 196, 275, 0, 0 },
{ 1, 0, 0x40, 6, 0x36, 2, 0, 0xB, 8, 0, 226, 260, 0, 0 },
{ 1, 0, 0x40, 6, 0x37, 1, 0x37, 0x39, 0xA, 0, 200, 290, 0, 0 },
{ 1, 0, 0x40, 6, 2, 0, 0, 0, 0, 0, 256, 336, 0, 0 },
{ 1, 0, 0x40, 4, 0x3A, 1, 0x3A, 0x3C, 0xA, 0, 256, 286, 315, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 304, 312, 329, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 256, 280, 315, 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 344 of file wstag230.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x203, 0x200, 0x11C, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 370 of file wstag230.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map and actors, playing KANRIBGM; BGM_0029 instead at story steps 0x14 to 0x17...
Definition wstag230.c:24

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 374 of file wstag230.c.