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

WSTAG281: El Dorado, Amaterasu 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 wstag281.c:

Go to the source code of this file.

Macros

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

Functions

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

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 actor12Talks []
 
FieldTalk actor13Talks []
 
FieldTalk actor14Talks []
 
FieldTalk actor15Talks []
 
FieldTalk actor16Talks []
 
FieldTalk actor18Talks []
 
FieldTalk actor19Talks []
 
FieldTalk actor20Talks []
 
FieldTalk actor21Talks []
 
u16 actor0Conditions []
 
u16 actor1Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor2Conditions []
 
u16 actor3Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor4Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor5Conditions []
 
u16 actor6Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
u16 actor7Conditions []
 
u16 actor8Conditions []
 
u16 actor9Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor10Conditions []
 
u16 actor11Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor12Conditions []
 
u16 actor13Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor14Conditions []
 
u16 actor15Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor18Conditions []
 
u16 actor19Conditions [] = { (0x7000 | ( 0x1A )) , 1, 0xFFFF }
 
u16 actor20Conditions []
 
u16 actor21Conditions [] = { (0x6000 | ( STORY_MOVIE_BATTLES )) , 1, 0xFFFF }
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x2E, 4, 471, 245, 5 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x2E, 4, 471, 245, 5 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2F, 5, 216, 277, 7 }
 
FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x30, 6, 216, 277, 7 }
 
FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x35, 7, 264, 301, 3 }
 
FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x38, 8, 264, 301, 3 }
 
FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x39, 9, 352, 296, 5 }
 
FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x3A, 0xA, 352, 296, 5 }
 
FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x9D, 0xB, 471, 245, 5 }
 
FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x9D, 0xB, 471, 245, 5 }
 
FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x9E, 0xC, 352, 296, 5 }
 
FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x9E, 0xC, 352, 296, 5 }
 
FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x9F, 0xD, 216, 277, 7 }
 
FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x9F, 0xD, 216, 277, 7 }
 
FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0xA0, 0xE, 264, 301, 3 }
 
FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0xA0, 0xE, 264, 301, 3 }
 
FieldActorEntry actor16 = { ((void *)0) , actor16Talks, 0x10B, 0xF, 353, 160, 7 }
 
FieldActorEntry actor17 = { ((void *)0) , ((void *)0) , 0x10C, 0x10, 360, 172, 7 }
 
FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x119, 0x11, 305, 193, 7 }
 
FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x119, 0x11, 305, 193, 7 }
 
FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x125, 0x12, 368, 224, 3 }
 
FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x125, 0x12, 305, 193, 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

WSTAG281: El Dorado, Amaterasu City.

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

Definition in file wstag281.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_03)

Definition at line 16 of file wstag281.c.

◆ STAGE_FILE

#define STAGE_FILE   0x517

Definition at line 17 of file wstag281.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

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

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.

< SHOP2BGM: Lamb Chop, the Yellow Cruiser and El Dorado

< SHOP2BGM: Lamb Chop, the Yellow Cruiser and El Dorado

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

Definition at line 20 of file wstag281.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, 0x160, 0x1AA, 0x80, 0xAA, 0x170, 0x1FF },
{ 0x140, 0x100, 0x166, 0x182, 0x98, 0x82, 0x160, 0x1FE },
{ 0x140, 0x100, 0x16E, 0x182, 0xB8, 0x82, 0x170, 0x1FE },
{ 0x140, 0x100, 0x176, 0x182, 0xD8, 0x82, 0x140, 0x1FD },
{ 0x140, 0x100, 0x150, 0x189, 0x40, 0x89, 0x160, 0x1FD },
{ 0x140, 0x100, 0x168, 0x1AA, 0xA0, 0xAA, 0x170, 0x1FD },
{ 0x140, 0x100, 0x170, 0x1AA, 0xC0, 0xAA, 0x140, 0x1FC },
{ 0x140, 0x100, 0x148, 0x1B1, 0x20, 0xB1, 0x150, 0x1FC },
{ 0x140, 0x100, 0x150, 0x1B1, 0x40, 0xB1, 0x160, 0x1FC },
{ 0x140, 0x100, 0x158, 0x1CA, 0x60, 0xCA, 0x170, 0x1FC },
{ 0x140, 0x100, 0x160, 0x1CA, 0x80, 0xCA, 0x140, 0x1FB },
{ 0x140, 0x100, 0x158, 0x1A2, 0x60, 0xA2, 0x160, 0x1FB },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0x140, 0x100, 0x170, 0x1CA, 0xC0, 0xCA, 0x170, 0x1FB },
{ 0x140, 0x100, 0x140, 0x1A9, 0, 0xA9, 0x140, 0x1FA },
}

Definition at line 38 of file wstag281.c.

Referenced by setupStage().

◆ actor0Talks

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

Definition at line 61 of file wstag281.c.

◆ actor1Talks

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

Definition at line 65 of file wstag281.c.

◆ actor2Talks

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

Definition at line 69 of file wstag281.c.

◆ actor3Talks

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

Definition at line 73 of file wstag281.c.

◆ actor4Talks

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

Definition at line 77 of file wstag281.c.

◆ actor5Talks

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

Definition at line 81 of file wstag281.c.

◆ actor6Talks

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

Definition at line 85 of file wstag281.c.

◆ actor7Talks

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

Definition at line 89 of file wstag281.c.

◆ actor8Talks

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

Definition at line 93 of file wstag281.c.

◆ actor9Talks

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

Definition at line 97 of file wstag281.c.

◆ actor10Talks

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

Definition at line 101 of file wstag281.c.

◆ actor11Talks

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

Definition at line 105 of file wstag281.c.

◆ actor12Talks

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

Definition at line 109 of file wstag281.c.

◆ actor13Talks

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

Definition at line 113 of file wstag281.c.

◆ actor14Talks

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

Definition at line 117 of file wstag281.c.

◆ actor15Talks

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

Definition at line 121 of file wstag281.c.

◆ actor16Talks

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

Definition at line 125 of file wstag281.c.

◆ actor18Talks

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

Definition at line 129 of file wstag281.c.

◆ actor19Talks

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

Definition at line 133 of file wstag281.c.

◆ actor20Talks

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

Definition at line 137 of file wstag281.c.

◆ actor21Talks

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

Definition at line 141 of file wstag281.c.

◆ actor0Conditions

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

Definition at line 145 of file wstag281.c.

◆ actor1Conditions

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

Definition at line 150 of file wstag281.c.

◆ actor2Conditions

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

Definition at line 151 of file wstag281.c.

◆ actor3Conditions

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

Definition at line 156 of file wstag281.c.

◆ actor4Conditions

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

Definition at line 157 of file wstag281.c.

◆ actor5Conditions

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

Definition at line 158 of file wstag281.c.

◆ actor6Conditions

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

Definition at line 163 of file wstag281.c.

◆ actor7Conditions

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

Definition at line 164 of file wstag281.c.

◆ actor8Conditions

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

Definition at line 169 of file wstag281.c.

◆ actor9Conditions

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

Definition at line 174 of file wstag281.c.

◆ actor10Conditions

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

Definition at line 175 of file wstag281.c.

◆ actor11Conditions

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

Definition at line 180 of file wstag281.c.

◆ actor12Conditions

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

Definition at line 181 of file wstag281.c.

◆ actor13Conditions

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

Definition at line 186 of file wstag281.c.

◆ actor14Conditions

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

Definition at line 187 of file wstag281.c.

◆ actor15Conditions

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

Definition at line 192 of file wstag281.c.

◆ actor18Conditions

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

Definition at line 193 of file wstag281.c.

◆ actor19Conditions

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

Definition at line 198 of file wstag281.c.

◆ actor20Conditions

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

Definition at line 199 of file wstag281.c.

◆ actor21Conditions

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

Definition at line 204 of file wstag281.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x2E, 4, 471, 245, 5 }

Definition at line 205 of file wstag281.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x2E, 4, 471, 245, 5 }

Definition at line 206 of file wstag281.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x2F, 5, 216, 277, 7 }

Definition at line 207 of file wstag281.c.

◆ actor3

FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x30, 6, 216, 277, 7 }

Definition at line 208 of file wstag281.c.

◆ actor4

FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x35, 7, 264, 301, 3 }

Definition at line 209 of file wstag281.c.

◆ actor5

FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x38, 8, 264, 301, 3 }

Definition at line 210 of file wstag281.c.

◆ actor6

FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x39, 9, 352, 296, 5 }

Definition at line 211 of file wstag281.c.

◆ actor7

FieldActorEntry actor7 = { actor7Conditions, actor7Talks, 0x3A, 0xA, 352, 296, 5 }

Definition at line 212 of file wstag281.c.

◆ actor8

FieldActorEntry actor8 = { actor8Conditions, actor8Talks, 0x9D, 0xB, 471, 245, 5 }

Definition at line 213 of file wstag281.c.

◆ actor9

FieldActorEntry actor9 = { actor9Conditions, actor9Talks, 0x9D, 0xB, 471, 245, 5 }

Definition at line 214 of file wstag281.c.

◆ actor10

FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x9E, 0xC, 352, 296, 5 }

Definition at line 215 of file wstag281.c.

◆ actor11

FieldActorEntry actor11 = { actor11Conditions, actor11Talks, 0x9E, 0xC, 352, 296, 5 }

Definition at line 216 of file wstag281.c.

◆ actor12

FieldActorEntry actor12 = { actor12Conditions, actor12Talks, 0x9F, 0xD, 216, 277, 7 }

Definition at line 217 of file wstag281.c.

◆ actor13

FieldActorEntry actor13 = { actor13Conditions, actor13Talks, 0x9F, 0xD, 216, 277, 7 }

Definition at line 218 of file wstag281.c.

◆ actor14

FieldActorEntry actor14 = { actor14Conditions, actor14Talks, 0xA0, 0xE, 264, 301, 3 }

Definition at line 219 of file wstag281.c.

◆ actor15

FieldActorEntry actor15 = { actor15Conditions, actor15Talks, 0xA0, 0xE, 264, 301, 3 }

Definition at line 220 of file wstag281.c.

◆ actor16

FieldActorEntry actor16 = { ((void *)0) , actor16Talks, 0x10B, 0xF, 353, 160, 7 }

Definition at line 221 of file wstag281.c.

◆ actor17

FieldActorEntry actor17 = { ((void *)0) , ((void *)0) , 0x10C, 0x10, 360, 172, 7 }

Definition at line 222 of file wstag281.c.

◆ actor18

FieldActorEntry actor18 = { actor18Conditions, actor18Talks, 0x119, 0x11, 305, 193, 7 }

Definition at line 223 of file wstag281.c.

◆ actor19

FieldActorEntry actor19 = { actor19Conditions, actor19Talks, 0x119, 0x11, 305, 193, 7 }

Definition at line 224 of file wstag281.c.

◆ actor20

FieldActorEntry actor20 = { actor20Conditions, actor20Talks, 0x125, 0x12, 368, 224, 3 }

Definition at line 225 of file wstag281.c.

◆ actor21

FieldActorEntry actor21 = { actor21Conditions, actor21Talks, 0x125, 0x12, 305, 193, 7 }

Definition at line 226 of file wstag281.c.

◆ stageActors

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

Definition at line 227 of file wstag281.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 2, 9, 0, 0, 0, 0, 0, 427, 90, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 84, 130, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 116, 114, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 148, 98, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 272, 44, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 368, 36, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 417, 91, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 453, 113, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 473, 112, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 493, 134, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 497, 124, 0, 0 },
{ 1, 0, 0x40, 6, 0x33, 2, 0, 1, 4, 0, 292, 104, 0, 0 },
{ 1, 0, 0x40, 6, 0xA, 0, 0, 0, 0, 0, 400, 59, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 224, 68, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 392, 48, 0, 0 },
{ 1, 0, 0x40, 6, 0x32, 2, 0, 1, 4, 0, 416, 60, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 208, 263, 288, 0 },
{ 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 384, 191, 217, 0 },
{ 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 320, 169, 184, 0 },
{ 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 304, 161, 174, 0 },
{ 1, 0, 0x40, 4, 4, 0, 0, 0, 0, 0, 336, 161, 174, 0 },
{ 1, 0, 0x40, 4, 5, 0, 0, 0, 0, 0, 288, 153, 166, 0 },
{ 1, 0, 0x40, 4, 6, 0, 0, 0, 0, 0, 352, 153, 166, 0 },
{ 1, 0, 0x40, 4, 7, 0, 0, 0, 0, 0, 272, 144, 158, 0 },
{ 1, 0, 0x40, 4, 8, 0, 0, 0, 0, 0, 368, 145, 158, 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 252 of file wstag281.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x271, 0x180, 0xD8, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x281, 0x92, 0x1A2, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 3 , 3, 0x110, 0xB8, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 2 , 3, 0x100, 0xF0, 0, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 280 of file wstag281.c.

Referenced by setupStage().

◆ stageFuncs

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

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 287 of file wstag281.c.