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

WSTAG425: Zephyr Tower, Seiryu 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 wstag425.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_01)
 
#define STAGE_FILE   0x254
 
#define STAGE_FILE_8   0x24C
 
#define STAGE_ARCHIVE   0x330
 

Functions

void setupStage (void)
 Sets the stage up: its map and actors, playing SHOP1BGM.
 

Variables

ActorImage stageImages []
 
u16 actor0Talk0Conditions [] = { (( 0x1A ) << 8 | ( 8 )) , 0, 0xFFFF }
 
u16 actor0Talk0Actions [] = { (( 0x1A ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor0Talk1Conditions [] = { (( 0x1A ) << 8 | ( 8 )) , 1, 0xFFFF }
 
u16 actor0Talk1Actions [] = { 0x7A20, 1, 0xFFFF }
 
u16 actor1Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0xF )) , 0, 0xFFFF }
 
u16 actor1Talk0Actions [] = { (( 0x1A ) << 8 | ( 0xF )) , 1, 0xFFFF }
 
u16 actor1Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0xF )) , 1, 0xFFFF }
 
u16 actor1Talk1Actions [] = { 0x7A06, 1, 0xFFFF }
 
u16 actor2Talk0Conditions [] = { (( 0x1A ) << 8 | ( 0xE )) , 0, 0xFFFF }
 
u16 actor2Talk0Actions [] = { (( 0x1A ) << 8 | ( 0xE )) , 1, 0xFFFF }
 
u16 actor2Talk1Conditions [] = { (( 0x1A ) << 8 | ( 0xE )) , 1, 0xFFFF }
 
u16 actor2Talk1Actions [] = { 0x7A05, 1, 0xFFFF }
 
u16 actor13Talk0Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 0, 0xFFFF }
 
u16 actor13Talk0Actions [] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 1, (0x7000 | ( 0x13 )) , 1, 0xFFFF }
 
u16 actor13Talk1Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 1, 0xFFFF }
 
u16 actor15Talk0Conditions []
 
u16 actor15Talk0Actions [] = { (( 0x1A ) << 8 | ( 0x1C )) , 1, 0xFFFF }
 
u16 actor15Talk1Conditions []
 
u16 actor15Talk1Actions [] = { 0x7A37, 1, 0xFFFF }
 
u16 actor15Talk2Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor15Talk2Actions [] = { 0x7A37, 1, 0xFFFF }
 
u16 actor15Talk3Conditions [] = { (0x7000 | ( 0x3E )) , 1, 0xFFFF }
 
u16 actor15Talk3Actions [] = { 0x7A37, 1, 0xFFFF }
 
u16 actor15Talk4Conditions []
 
u16 actor15Talk4Actions [] = { 0x7A38, 1, 0xFFFF }
 
u16 actor15Talk5Conditions [] = { (0x7000 | ( 0x20 )) , 1, 0xFFFF }
 
u16 actor15Talk5Actions [] = { 0x7A38, 1, 0xFFFF }
 
u16 actor15Talk6Conditions []
 
u16 actor15Talk6Actions [] = { 0x7A39, 1, 0xFFFF }
 
u16 actor15Talk7Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor15Talk7Actions [] = { 0x7A3A, 1, 0xFFFF }
 
u16 actor15Talk8Conditions []
 
u16 actor15Talk8Actions [] = { 0x7A3A, 1, 0xFFFF }
 
u16 actor15Talk9Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor15Talk9Actions [] = { 0x7A3A, 1, 0xFFFF }
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
FieldTalk actor3Talks []
 
FieldTalk actor4Talks []
 
FieldTalk actor5Talks []
 
FieldTalk actor6Talks []
 
FieldTalk actor7Talks []
 
FieldTalk actor8Talks []
 
FieldTalk actor9Talks []
 
FieldTalk actor10Talks []
 
FieldTalk actor11Talks []
 
FieldTalk actor12Talks []
 
FieldTalk actor13Talks []
 
FieldTalk actor14Talks []
 
FieldTalk actor15Talks []
 
FieldTalk actor16Talks []
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_GENJI_BEATEN )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_LOOKING_FOR_TEDDY )) , 1, 0xFFFF }
 
u16 actor5Conditions [] = { (0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1, 0xFFFF }
 
u16 actor6Conditions [] = { (0x7000 | ( 0x19 )) , 1, 0xFFFF }
 
u16 actor7Conditions [] = { (0x7000 | ( 0x18 )) , 1, 0xFFFF }
 
u16 actor8Conditions [] = { (0x7000 | ( 0x17 )) , 1, 0xFFFF }
 
u16 actor9Conditions [] = { (0x7000 | ( 0x16 )) , 1, 0xFFFF }
 
u16 actor10Conditions [] = { (0x6000 | ( STORY_TEDDY_FOUND )) , 1, 0xFFFF }
 
u16 actor11Conditions [] = { (0x7000 | ( 0x15 )) , 1, 0xFFFF }
 
u16 actor12Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor13Conditions []
 
u16 actor14Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor15Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }
 
u16 actor16Conditions [] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 345, 197, 7 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x16, 5, 408, 341, 7 }
 
FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x17, 6, 330, 380, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2E, 7, 384, 418, 3 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x2E, 7, 384, 418, 5 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x40, 8, 207, 152, 3 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x9D, 9, 384, 418, 3 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0xCE, 0xA, 128, 201, 7 }
 
FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0xCE, 0xA, 128, 201, 7 }
 
FieldActorEntry actor17 = { ((void *)0) , ((void *)0) , 0xDB, 0xB, 345, 213, 7 }
 
FieldActorEntry * stageActors []
 
StageTile stageObjects []
 The tables and color setupStage gives FIELDSTG_state (FieldState)
 
StageSlot stageSlots []
 
void(* stageFuncs [])(void)
 The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.
 

Detailed Description

WSTAG425: Zephyr Tower, Seiryu City.

Definition in file wstag425.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_01)

Definition at line 17 of file wstag425.c.

◆ STAGE_FILE

#define STAGE_FILE   0x254

Definition at line 18 of file wstag425.c.

◆ STAGE_FILE_8

#define STAGE_FILE_8   0x24C

Definition at line 19 of file wstag425.c.

◆ STAGE_ARCHIVE

#define STAGE_ARCHIVE   0x330

Definition at line 20 of file wstag425.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map and actors, playing SHOP1BGM.

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.

< SHOP1BGM: the inns, shops and towers

< SHOP1BGM: the inns, shops and towers

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

Definition at line 23 of file wstag425.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, 0x15C, 0x1A7, 0x70, 0xA7, 0x170, 0x1FF },
{ 0x140, 0x100, 0x176, 0x173, 0xD8, 0x73, 0x170, 0x1FE },
{ 0x140, 0x100, 0x160, 0x147, 0x80, 0x47, 0x170, 0x1FD },
{ 0x180, 0x100, 0x190, 0x11A, 0x140, 0x1A, 0x170, 0x1FC },
{ 0x180, 0x100, 0x198, 0x11A, 0x160, 0x1A, 0x170, 0x1FB },
{ 0x180, 0x100, 0x180, 0x11B, 0x100, 0x1B, 0x170, 0x1FA },
{ 0x180, 0x100, 0x1A0, 0x100, 0x180, 0, 0x170, 0x1F9 },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 41 of file wstag425.c.

Referenced by setupStage().

◆ actor0Talk0Conditions

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

Definition at line 57 of file wstag425.c.

◆ actor0Talk0Actions

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

Definition at line 58 of file wstag425.c.

◆ actor0Talk1Conditions

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

Definition at line 59 of file wstag425.c.

◆ actor0Talk1Actions

u16 actor0Talk1Actions[] = { 0x7A20, 1, 0xFFFF }

Definition at line 60 of file wstag425.c.

◆ actor1Talk0Conditions

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

Definition at line 61 of file wstag425.c.

◆ actor1Talk0Actions

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

Definition at line 62 of file wstag425.c.

◆ actor1Talk1Conditions

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

Definition at line 63 of file wstag425.c.

◆ actor1Talk1Actions

u16 actor1Talk1Actions[] = { 0x7A06, 1, 0xFFFF }

Definition at line 64 of file wstag425.c.

◆ actor2Talk0Conditions

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

Definition at line 65 of file wstag425.c.

◆ actor2Talk0Actions

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

Definition at line 66 of file wstag425.c.

◆ actor2Talk1Conditions

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

Definition at line 67 of file wstag425.c.

◆ actor2Talk1Actions

u16 actor2Talk1Actions[] = { 0x7A05, 1, 0xFFFF }

Definition at line 68 of file wstag425.c.

◆ actor13Talk0Conditions

u16 actor13Talk0Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 0, 0xFFFF }

Definition at line 69 of file wstag425.c.

◆ actor13Talk0Actions

u16 actor13Talk0Actions[] = { (0x8000 | ( 0 ) << 9 | ( 0x18F )), 1, (0x7000 | ( 0x13 )) , 1, 0xFFFF }

Definition at line 70 of file wstag425.c.

◆ actor13Talk1Conditions

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

Definition at line 71 of file wstag425.c.

◆ actor15Talk0Conditions

u16 actor15Talk0Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x1C )) , 0,
(0x6000 | ( STORY_GENJI_BEATEN )) , 1,
0xFFFF ,
}
@ STORY_GENJI_BEATEN
WSTAG200, event 52: after the first battle, won against Tamer Genji (event 50), the Digimon Navi give...
Definition story.h:36

Definition at line 72 of file wstag425.c.

◆ actor15Talk0Actions

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

Definition at line 77 of file wstag425.c.

◆ actor15Talk1Conditions

u16 actor15Talk1Conditions[]
Initial value:
= {
(( 0x1A ) << 8 | ( 0x1C )) , 1,
(0x6000 | ( STORY_GENJI_BEATEN )) , 1,
0xFFFF ,
}

Definition at line 78 of file wstag425.c.

◆ actor15Talk1Actions

u16 actor15Talk1Actions[] = { 0x7A37, 1, 0xFFFF }

Definition at line 83 of file wstag425.c.

◆ actor15Talk2Conditions

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

Definition at line 84 of file wstag425.c.

◆ actor15Talk2Actions

u16 actor15Talk2Actions[] = { 0x7A37, 1, 0xFFFF }

Definition at line 85 of file wstag425.c.

◆ actor15Talk3Conditions

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

Definition at line 86 of file wstag425.c.

◆ actor15Talk3Actions

u16 actor15Talk3Actions[] = { 0x7A37, 1, 0xFFFF }

Definition at line 87 of file wstag425.c.

◆ actor15Talk4Conditions

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

Definition at line 88 of file wstag425.c.

◆ actor15Talk4Actions

u16 actor15Talk4Actions[] = { 0x7A38, 1, 0xFFFF }

Definition at line 92 of file wstag425.c.

◆ actor15Talk5Conditions

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

Definition at line 93 of file wstag425.c.

◆ actor15Talk5Actions

u16 actor15Talk5Actions[] = { 0x7A38, 1, 0xFFFF }

Definition at line 94 of file wstag425.c.

◆ actor15Talk6Conditions

u16 actor15Talk6Conditions[]
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 95 of file wstag425.c.

◆ actor15Talk6Actions

u16 actor15Talk6Actions[] = { 0x7A39, 1, 0xFFFF }

Definition at line 100 of file wstag425.c.

◆ actor15Talk7Conditions

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

Definition at line 101 of file wstag425.c.

◆ actor15Talk7Actions

u16 actor15Talk7Actions[] = { 0x7A3A, 1, 0xFFFF }

Definition at line 102 of file wstag425.c.

◆ actor15Talk8Conditions

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

Definition at line 103 of file wstag425.c.

◆ actor15Talk8Actions

u16 actor15Talk8Actions[] = { 0x7A3A, 1, 0xFFFF }

Definition at line 107 of file wstag425.c.

◆ actor15Talk9Conditions

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

Definition at line 108 of file wstag425.c.

◆ actor15Talk9Actions

u16 actor15Talk9Actions[] = { 0x7A3A, 1, 0xFFFF }

Definition at line 109 of file wstag425.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag425.c:58
u16 actor0Talk0Conditions[]
Definition wstag425.c:57
u16 actor0Talk1Conditions[]
Definition wstag425.c:59
u16 actor0Talk1Actions[]
Definition wstag425.c:60

Definition at line 110 of file wstag425.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk1Conditions[]
Definition wstag425.c:63
u16 actor1Talk0Conditions[]
Definition wstag425.c:61
u16 actor1Talk1Actions[]
Definition wstag425.c:64
u16 actor1Talk0Actions[]
Definition wstag425.c:62

Definition at line 115 of file wstag425.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk1Conditions[]
Definition wstag425.c:67
u16 actor2Talk1Actions[]
Definition wstag425.c:68
u16 actor2Talk0Actions[]
Definition wstag425.c:66
u16 actor2Talk0Conditions[]
Definition wstag425.c:65

Definition at line 120 of file wstag425.c.

◆ actor3Talks

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

Definition at line 125 of file wstag425.c.

◆ actor4Talks

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

Definition at line 129 of file wstag425.c.

◆ actor5Talks

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

Definition at line 133 of file wstag425.c.

◆ actor6Talks

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

Definition at line 137 of file wstag425.c.

◆ actor7Talks

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

Definition at line 141 of file wstag425.c.

◆ actor8Talks

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

Definition at line 145 of file wstag425.c.

◆ actor9Talks

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

Definition at line 149 of file wstag425.c.

◆ actor10Talks

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

Definition at line 153 of file wstag425.c.

◆ actor11Talks

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

Definition at line 157 of file wstag425.c.

◆ actor12Talks

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

Definition at line 161 of file wstag425.c.

◆ actor13Talks

FieldTalk actor13Talks[]
Initial value:
= {
{ actor13Talk1Conditions, ((void *)0) , 0x16C },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor13Talk0Conditions[]
Definition wstag425.c:69
u16 actor13Talk0Actions[]
Definition wstag425.c:70
u16 actor13Talk1Conditions[]
Definition wstag425.c:71

Definition at line 165 of file wstag425.c.

◆ actor14Talks

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

Definition at line 170 of file wstag425.c.

◆ actor15Talks

FieldTalk actor15Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor15Talk7Conditions[]
Definition wstag425.c:101
u16 actor15Talk7Actions[]
Definition wstag425.c:102
u16 actor15Talk6Actions[]
Definition wstag425.c:100
u16 actor15Talk1Actions[]
Definition wstag425.c:83
u16 actor15Talk4Actions[]
Definition wstag425.c:92
u16 actor15Talk2Conditions[]
Definition wstag425.c:84
u16 actor15Talk9Actions[]
Definition wstag425.c:109
u16 actor15Talk3Conditions[]
Definition wstag425.c:86
u16 actor15Talk6Conditions[]
Definition wstag425.c:95
u16 actor15Talk5Conditions[]
Definition wstag425.c:93
u16 actor15Talk5Actions[]
Definition wstag425.c:94
u16 actor15Talk8Conditions[]
Definition wstag425.c:103
u16 actor15Talk8Actions[]
Definition wstag425.c:107
u16 actor15Talk1Conditions[]
Definition wstag425.c:78
u16 actor15Talk2Actions[]
Definition wstag425.c:85
u16 actor15Talk3Actions[]
Definition wstag425.c:87
u16 actor15Talk9Conditions[]
Definition wstag425.c:108
u16 actor15Talk0Conditions[]
Definition wstag425.c:72
u16 actor15Talk0Actions[]
Definition wstag425.c:77
u16 actor15Talk4Conditions[]
Definition wstag425.c:88

Definition at line 174 of file wstag425.c.

◆ actor16Talks

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

Definition at line 187 of file wstag425.c.

◆ actor3Conditions

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

Definition at line 191 of file wstag425.c.

◆ actor4Conditions

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

Definition at line 192 of file wstag425.c.

◆ actor5Conditions

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

Definition at line 193 of file wstag425.c.

◆ actor6Conditions

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

Definition at line 194 of file wstag425.c.

◆ actor7Conditions

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

Definition at line 195 of file wstag425.c.

◆ actor8Conditions

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

Definition at line 196 of file wstag425.c.

◆ actor9Conditions

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

Definition at line 197 of file wstag425.c.

◆ actor10Conditions

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

Definition at line 198 of file wstag425.c.

◆ actor11Conditions

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

Definition at line 199 of file wstag425.c.

◆ actor12Conditions

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

Definition at line 200 of file wstag425.c.

◆ actor13Conditions

u16 actor13Conditions[]
Initial value:
= {
(( 0x1C ) << 8 | ( 0x45 )) , 1,
(0x6000 | ( STORY_FAKE_BLUE_CARD )) , 1,
(( 0x1C ) << 8 | ( 0x46 )) , 0,
0xFFFF ,
}
@ STORY_FAKE_BLUE_CARD
WSTAG410 (East Station), event 90: the Blue Card the player was given turns out to be a fake.
Definition story.h:42

Definition at line 201 of file wstag425.c.

◆ actor14Conditions

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

Definition at line 207 of file wstag425.c.

◆ actor15Conditions

u16 actor15Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 1, 0xFFFF }

Definition at line 208 of file wstag425.c.

◆ actor16Conditions

u16 actor16Conditions[] = { (0x8000 | ( 0 ) << 9 | ( 0x192 )), 0, 0xFFFF }

Definition at line 209 of file wstag425.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 345, 197, 7 }

Definition at line 210 of file wstag425.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x16, 5, 408, 341, 7 }

Definition at line 211 of file wstag425.c.

◆ actor2

FieldActorEntry actor2 = { ((void *)0) , actor2Talks, 0x17, 6, 330, 380, 7 }

Definition at line 212 of file wstag425.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 213 of file wstag425.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 214 of file wstag425.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 215 of file wstag425.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 216 of file wstag425.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 217 of file wstag425.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 218 of file wstag425.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 219 of file wstag425.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 220 of file wstag425.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x2E, 7, 384, 418, 3 }

Definition at line 221 of file wstag425.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x2E, 7, 384, 418, 5 }

Definition at line 222 of file wstag425.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x40, 8, 207, 152, 3 }

Definition at line 223 of file wstag425.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0x9D, 9, 384, 418, 3 }

Definition at line 224 of file wstag425.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0xCE, 0xA, 128, 201, 7 }

Definition at line 225 of file wstag425.c.

◆ actor16

FieldActorEntry actor16 = { actor16Conditions, actor16Talks, 0xCE, 0xA, 128, 201, 7 }

Definition at line 226 of file wstag425.c.

◆ actor17

FieldActorEntry actor17 = { ((void *)0) , ((void *)0) , 0xDB, 0xB, 345, 213, 7 }

Definition at line 227 of file wstag425.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag425.c:210
FieldActorEntry actor6
Definition wstag425.c:216
FieldActorEntry actor17
Definition wstag425.c:227
FieldActorEntry actor5
Definition wstag425.c:215
FieldActorEntry actor2
Definition wstag425.c:212
FieldActorEntry actor10
Definition wstag425.c:220
FieldActorEntry actor4
Definition wstag425.c:214
FieldActorEntry actor8
Definition wstag425.c:218
FieldActorEntry actor9
Definition wstag425.c:219
FieldActorEntry actor15
Definition wstag425.c:225
FieldActorEntry actor12
Definition wstag425.c:222
FieldActorEntry actor16
Definition wstag425.c:226
FieldActorEntry actor7
Definition wstag425.c:217
FieldActorEntry actor13
Definition wstag425.c:223
FieldActorEntry actor11
Definition wstag425.c:221
FieldActorEntry actor1
Definition wstag425.c:211
FieldActorEntry actor3
Definition wstag425.c:213
FieldActorEntry actor14
Definition wstag425.c:224

Definition at line 228 of file wstag425.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 304, 189, 222, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 290, 166, 222, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 328, 195, 215, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 336, 187, 207, 0 },
{ 1, 0, 0x40, 4, 4, 0, 0, 0, 0, 0, 352, 180, 199, 0 },
{ 1, 0, 0x40, 4, 5, 0, 0, 0, 0, 0, 367, 164, 199, 0 },
{ 1, 0, 0x40, 4, 6, 0, 0, 0, 0, 0, 472, 281, 331, 0 },
{ 1, 0, 0x40, 4, 7, 0, 0, 0, 0, 0, 496, 352, 399, 0 },
{ 1, 0, 0x40, 4, 8, 0, 0, 0, 0, 0, 271, 382, 399, 0 },
{ 1, 0, 0x40, 4, 9, 0, 0, 0, 0, 0, 289, 374, 391, 0 },
{ 1, 0, 0x40, 4, 0xA, 0, 0, 0, 0, 0, 336, 350, 367, 0 },
{ 1, 0, 0x40, 4, 0xB, 0, 0, 0, 0, 0, 353, 343, 358, 0 },
{ 1, 0, 0x40, 4, 0xC, 0, 0, 0, 0, 0, 366, 323, 351, 0 },
{ 1, 0, 0x40, 4, 0xD, 0, 0, 0, 0, 0, 416, 309, 326, 0 },
{ 1, 0, 0x40, 4, 0xE, 0, 0, 0, 0, 0, 435, 292, 319, 0 },
{ 1, 0, 0x40, 4, 0xF, 0, 0, 0, 0, 0, 176, 155, 211, 0 },
{ 1, 0, 0x40, 4, 0x10, 0, 0, 0, 0, 0, 160, 148, 199, 0 },
{ 1, 0, 0x40, 4, 0x11, 0, 0, 0, 0, 0, 144, 140, 191, 0 },
{ 1, 0, 0x40, 4, 0x12, 0, 0, 0, 0, 0, 128, 132, 184, 0 },
{ 1, 0, 0x40, 4, 0x13, 0, 0, 0, 0, 0, 118, 127, 179, 0 },
{ 1, 0, 0x64, 4, 0x14, 0, 0, 0, 0, 0, 448, 251, 310, 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 249 of file wstag425.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x22E, 0x1E8, 0x1AC, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0x100, 0xB0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0x10F, 0xF6, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 4, 0xB0, 0xD8, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 4, 0xBF, 0x11E, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 273 of file wstag425.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map and actors, playing SHOP1BGM.
Definition wstag425.c:23

The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.

Definition at line 281 of file wstag425.c.