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

WSTAG561: Pelche Oasis, West 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 wstag561.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_07)
 
#define EVENT_TEXT_FILE   (TEXT_EVENTS_500 - 1)
 
#define STAGE_FILE   0x5D6
 

Functions

void endEvent1463 (void)
 After event 1463, with Guardromon: applies 0x7C1A, an action that does nothing (applyAction's mode changes 0x7C are only 0 and 1)
 
void setupStage (void)
 Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0025.
 

Variables

s16 script1463 []
 
AreaBattle area0Battle0 = { 134, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle1 = { 134, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle2 = { 134, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle3 = { 134, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle4 = { 172, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle5 = { 172, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle6 = { 172, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area0Battle7 = { 172, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList area0Battles
 
AreaBattle area1Battle0 = { 134, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle1 = { 134, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle2 = { 134, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle3 = { 134, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle4 = { 172, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle5 = { 172, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle6 = { 172, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area1Battle7 = { 172, 8, (0x60000000 | ( 2 ) << 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 = { 0, 0, (0x60000000 | ( 1 ) << 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 = { 334, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle5 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle6 = { 0, 0, (0x60000000 | ( 1 ) << 18 | ( 0 )) }
 
AreaBattle area3Battle7 = { 180, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }
 
BattleList area3Battles
 
FieldBattles stageBattles []
 
ActorImage stageImages []
 
u16 actor0Talk0Actions [] = { 0x7A45, 1, 0xFFFF }
 
u16 actor1Talk0Actions [] = { (0x9000 | ( 0x69 )) , 1, 0xFFFF }
 
u16 actor2Talk0Actions []
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
FieldTalk actor2Talks []
 
u16 actor2Conditions [] = { (( 2 ) << 8 | ( 0x54 )) , 0, 0xFFFF }
 
FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 450, 368, 1 }
 
FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 247, 291, 7 }
 
FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x21, 6, 502, 546, 1 }
 
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

WSTAG561: Pelche Oasis, West Sector.

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

Definition in file wstag561.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_07)

Definition at line 25 of file wstag561.c.

◆ EVENT_TEXT_FILE

#define EVENT_TEXT_FILE   (TEXT_EVENTS_500 - 1)

Definition at line 26 of file wstag561.c.

◆ STAGE_FILE

#define STAGE_FILE   0x5D6

Definition at line 27 of file wstag561.c.

Function Documentation

◆ endEvent1463()

void endEvent1463 ( void  )

After event 1463, with Guardromon: applies 0x7C1A, an action that does nothing (applyAction's mode changes 0x7C are only 0 and 1)

Definition at line 16 of file wstag561.c.

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0025.

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.

< ENV_0025: the Pelche Oasis

< ENV_0025: the Pelche Oasis

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

< a cell's value: its battle area (FieldBattles), or 0

Definition at line 30 of file wstag561.c.

Variable Documentation

◆ script1463

s16 script1463[]
Initial value:
= {
0x102, 2 , 0x117 , 0x133 , 3 ,
0x100, 0x15 , 0xF7 , 0x123 ,
0x101, 0x15 , 1 , 7 ,
0x101, 0x32D , 0x337 , 2 ,
0x302, 2 ,
0x101, 2 , 1 , 3 ,
0x300, 0x24 ,
0x200, 0 , 1 , 0x15 , 0 ,
0x301 ,
0x300, 0x1E ,
0x101, 0x15 , 0x36 , 7 ,
0x101, 0x32D , 0x375 , 2 ,
0x303, 0x15 ,
0x101, 0x15 , 0x37 , 7 ,
0x300, 0x5A ,
0x304, 0xC18 , 0 , 0 , 0 ,
0 ,
}

Definition at line 51 of file wstag561.c.

◆ area0Battle0

AreaBattle area0Battle0 = { 134, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 70 of file wstag561.c.

◆ area0Battle1

AreaBattle area0Battle1 = { 134, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 71 of file wstag561.c.

◆ area0Battle2

AreaBattle area0Battle2 = { 134, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 72 of file wstag561.c.

◆ area0Battle3

AreaBattle area0Battle3 = { 134, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 73 of file wstag561.c.

◆ area0Battle4

AreaBattle area0Battle4 = { 172, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 74 of file wstag561.c.

◆ area0Battle5

AreaBattle area0Battle5 = { 172, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 75 of file wstag561.c.

◆ area0Battle6

AreaBattle area0Battle6 = { 172, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 76 of file wstag561.c.

◆ area0Battle7

AreaBattle area0Battle7 = { 172, 3, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 77 of file wstag561.c.

◆ area0Battles

BattleList area0Battles
Initial value:
= {
3,
}
AreaBattle area0Battle7
Definition wstag561.c:77
AreaBattle area0Battle1
Definition wstag561.c:71
AreaBattle area0Battle6
Definition wstag561.c:76
AreaBattle area0Battle3
Definition wstag561.c:73
AreaBattle area0Battle5
Definition wstag561.c:75
AreaBattle area0Battle0
Definition wstag561.c:70
AreaBattle area0Battle2
Definition wstag561.c:72
AreaBattle area0Battle4
Definition wstag561.c:74

Definition at line 78 of file wstag561.c.

◆ area1Battle0

AreaBattle area1Battle0 = { 134, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 83 of file wstag561.c.

◆ area1Battle1

AreaBattle area1Battle1 = { 134, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 84 of file wstag561.c.

◆ area1Battle2

AreaBattle area1Battle2 = { 134, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 85 of file wstag561.c.

◆ area1Battle3

AreaBattle area1Battle3 = { 134, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 86 of file wstag561.c.

◆ area1Battle4

AreaBattle area1Battle4 = { 172, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 87 of file wstag561.c.

◆ area1Battle5

AreaBattle area1Battle5 = { 172, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 88 of file wstag561.c.

◆ area1Battle6

AreaBattle area1Battle6 = { 172, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 89 of file wstag561.c.

◆ area1Battle7

AreaBattle area1Battle7 = { 172, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 90 of file wstag561.c.

◆ area1Battles

BattleList area1Battles
Initial value:
= {
3,
}
AreaBattle area1Battle6
Definition wstag561.c:89
AreaBattle area1Battle2
Definition wstag561.c:85
AreaBattle area1Battle4
Definition wstag561.c:87
AreaBattle area1Battle5
Definition wstag561.c:88
AreaBattle area1Battle3
Definition wstag561.c:86
AreaBattle area1Battle0
Definition wstag561.c:83
AreaBattle area1Battle1
Definition wstag561.c:84
AreaBattle area1Battle7
Definition wstag561.c:90

Definition at line 91 of file wstag561.c.

◆ area2Battle0

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

Definition at line 96 of file wstag561.c.

◆ area2Battle1

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

Definition at line 97 of file wstag561.c.

◆ area2Battle2

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

Definition at line 98 of file wstag561.c.

◆ area2Battle3

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

Definition at line 99 of file wstag561.c.

◆ area2Battle4

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

Definition at line 100 of file wstag561.c.

◆ area2Battle5

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

Definition at line 101 of file wstag561.c.

◆ area2Battle6

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

Definition at line 102 of file wstag561.c.

◆ area2Battle7

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

Definition at line 103 of file wstag561.c.

◆ area2Battles

BattleList area2Battles
Initial value:
= {
0,
}
AreaBattle area2Battle7
Definition wstag561.c:103
AreaBattle area2Battle6
Definition wstag561.c:102
AreaBattle area2Battle0
Definition wstag561.c:96
AreaBattle area2Battle4
Definition wstag561.c:100
AreaBattle area2Battle2
Definition wstag561.c:98
AreaBattle area2Battle1
Definition wstag561.c:97
AreaBattle area2Battle5
Definition wstag561.c:101
AreaBattle area2Battle3
Definition wstag561.c:99

Definition at line 104 of file wstag561.c.

◆ area3Battle0

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

Definition at line 109 of file wstag561.c.

◆ area3Battle1

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

Definition at line 110 of file wstag561.c.

◆ area3Battle2

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

Definition at line 111 of file wstag561.c.

◆ area3Battle3

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

Definition at line 112 of file wstag561.c.

◆ area3Battle4

AreaBattle area3Battle4 = { 334, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 113 of file wstag561.c.

◆ area3Battle5

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

Definition at line 114 of file wstag561.c.

◆ area3Battle6

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

Definition at line 115 of file wstag561.c.

◆ area3Battle7

AreaBattle area3Battle7 = { 180, 8, (0x60000000 | ( 2 ) << 18 | ( 0 )) }

Definition at line 116 of file wstag561.c.

◆ area3Battles

BattleList area3Battles
Initial value:
= {
0,
}
AreaBattle area3Battle4
Definition wstag561.c:113
AreaBattle area3Battle3
Definition wstag561.c:112
AreaBattle area3Battle0
Definition wstag561.c:109
AreaBattle area3Battle2
Definition wstag561.c:111
AreaBattle area3Battle1
Definition wstag561.c:110
AreaBattle area3Battle6
Definition wstag561.c:115
AreaBattle area3Battle5
Definition wstag561.c:114
AreaBattle area3Battle7
Definition wstag561.c:116

Definition at line 117 of file wstag561.c.

◆ stageBattles

FieldBattles stageBattles[]
Initial value:
= {
}
BattleList area3Battles
Definition wstag561.c:117
BattleList area1Battles
Definition wstag561.c:91
BattleList area2Battles
Definition wstag561.c:104
BattleList area0Battles
Definition wstag561.c:78

Definition at line 122 of file wstag561.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, 0x176, 0x175, 0xD8, 0x75, 0x160, 0x1FF },
{ 0x180, 0x100, 0x1A0, 0x1BA, 0x180, 0xBA, 0x170, 0x1FF },
{ 0x140, 0x100, 0x176, 0x195, 0xD8, 0x95, 0x150, 0x1FE },
}

Definition at line 125 of file wstag561.c.

Referenced by setupStage().

◆ actor0Talk0Actions

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

Definition at line 136 of file wstag561.c.

◆ actor1Talk0Actions

u16 actor1Talk0Actions[] = { (0x9000 | ( 0x69 )) , 1, 0xFFFF }

Definition at line 137 of file wstag561.c.

◆ actor2Talk0Actions

u16 actor2Talk0Actions[]
Initial value:
= {
(( 2 ) << 8 | ( 0x54 )) , 1,
(0x8000 | ( 1 ) << 9 | ( 0x36 )), 1,
(0x7000 | ( 0x13 )) , 1,
0xFFFF ,
}

Definition at line 138 of file wstag561.c.

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , actor0Talk0Actions, 0x2D7 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor0Talk0Actions[]
Definition wstag561.c:136

Definition at line 144 of file wstag561.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , actor1Talk0Actions, 0x2CF },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor1Talk0Actions[]
Definition wstag561.c:137

Definition at line 148 of file wstag561.c.

◆ actor2Talks

FieldTalk actor2Talks[]
Initial value:
= {
{ ((void *)0) , actor2Talk0Actions, 0x187 },
{ ((void *)0) , ((void *)0) , 0 },
}
u16 actor2Talk0Actions[]
Definition wstag561.c:138

Definition at line 152 of file wstag561.c.

◆ actor2Conditions

u16 actor2Conditions[] = { (( 2 ) << 8 | ( 0x54 )) , 0, 0xFFFF }

Definition at line 156 of file wstag561.c.

◆ actor0

FieldActorEntry actor0 = { ((void *)0) , actor0Talks, 0x14, 4, 450, 368, 1 }

Definition at line 157 of file wstag561.c.

◆ actor1

FieldActorEntry actor1 = { ((void *)0) , actor1Talks, 0x15, 5, 247, 291, 7 }

Definition at line 158 of file wstag561.c.

◆ actor2

FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x21, 6, 502, 546, 1 }

Definition at line 159 of file wstag561.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag561.c:157
FieldActorEntry actor2
Definition wstag561.c:159
FieldActorEntry actor1
Definition wstag561.c:158

Definition at line 160 of file wstag561.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0x40, 2, 1, 0, 0, 0, 0, 0, 407, 226, 0, 0 },
{ 1, 0, 0x64, 2, 1, 0, 0, 0, 0, 0, 551, 516, 0, 0 },
{ 1, 0, 0x40, 2, 6, 0, 0, 0, 0, 0, 211, 335, 0, 0 },
{ 1, 0, 0x80, 2, 2, 0, 0, 0, 0, 0, 0, 384, 0, 0 },
{ 1, 0, 0x80, 2, 3, 0, 0, 0, 0, 0, 384, 384, 0, 0 },
{ 1, 0, 0x70, 2, 4, 0, 0, 0, 0, 0, 20, 512, 0, 0 },
{ 1, 0, 0x78, 2, 5, 0, 0, 0, 0, 0, 264, 523, 0, 0 },
{ 1, 0, 0x40, 6, 0x47, 1, 0x47, 0x49, 6, 0, 204, 396, 0, 0 },
{ 1, 0, 0x40, 6, 0x4A, 1, 0x4A, 0x4D, 6, 0, 213, 360, 0, 0 },
{ 1, 0, 0x68, 6, 0x4E, 2, 0, 2, 6, 0, 181, 376, 0, 0 },
{ 1, 0, 0x40, 6, 0x2C, 1, 0x2C, 0x3B, 0xA, 0, 153, 444, 0, 0 },
{ 1, 0, 0x40, 6, 0x3C, 1, 0x3C, 0x46, 0xA, 0, 277, 512, 0, 0 },
{ 1, 0, 0x40, 6, 0x3C, 1, 0x3C, 0x46, 0xA, 0, 322, 397, 0, 0 },
{ 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 584, 137, 169, 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 166 of file wstag561.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2B2, 0x610, 0x240, 1, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x2B4, 0x80, 0x178, 7, 0, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E2, 0xB0, 0x148, 7, 0, 0xF, 1 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFC8, 0x3C, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0xFFD0, 0xFFF8, 0, 0, 0, 0, 0 },
{ { { (0x8000 | ( 0 ) << 9 | ( 5 )), 1 }, { 0xFFFF , 0 } }, 7 , 0x40, 0xFFF0, 0, 0, 0, 0, 0 },
{ { { (0x7000 | ( 0x93 )) , 1 }, { 0xFFFF , 0 } }, 10 , 0x2E2, 0xB0, 0x148, 7, 0, 0xF, 1 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 183 of file wstag561.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 the ambience ENV_0025.
Definition wstag561.c:30

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 193 of file wstag561.c.

◆ stageEvents

FieldEvent stageEvents[]
Initial value:
= {
{ 1463, script1463, ( ( 0x13D - 1) << 16 | ( 0x27 )), ((void *)0) , endEvent1463 },
{ -1, ((void *)0) , 0, ((void *)0) , ((void *)0) },
}
void endEvent1463(void)
After event 1463, with Guardromon: applies 0x7C1A, an action that does nothing (applyAction's mode ch...
Definition wstag561.c:16
s16 script1463[]
Definition wstag561.c:51

Definition at line 196 of file wstag561.c.

Referenced by setupStage().