Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
wstag481.c
Go to the documentation of this file.
1/*
2 * WSTAG481: Jungle Grave, South Sector. On the Amaterasu server; its Asuka
3 * server twin is WSTAG480.
4 */
5
6#include "common.h"
7#include "field/stage.h"
8/* Defined below, after the code that uses them */
10
12
14
16
17/*
18 * The stage task: creates the sequences of the map objects with animations 1
19 * to 5 (updateTileCursors)
20 */
21void updateStage(StageTask *task, void **children) {
22 switch (task->state) {
23 case TASK_INIT:
24 default:
25 children[0] = createTileCursors();
26 task->nextState(task);
27 break;
28 case TASK_RUN:
29 case TASK_DONE:
30 case TASK_KILL:
31 break;
32 }
33}
34
35#define STAGE_CHILDREN_SIZE 4
37
38/* the color the setup copies to FIELDSTG_state.spriteColor */
39const CVECTOR stageColor = { 0x80, 0x80, 0x80, 0 };
40
41#if VERSION_US || VERSION_JP
42#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_07)
43#define STAGE_FILE 0x5EB
44#elif VERSION_EU
45#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_07)
46#define STAGE_FILE 0x5FB
47#endif
48/* Sets the stage up: its map, actors and battles, playing BGM_0015 */
69
71 { 64, 10, 0, 0 }, { 64, 10, 1, 0 }, { 64, 10, 2, 0 }, { 64, 10, 1, 1 },
72};
74 { 65, 4, 2, 0 }, { 65, 4, 4, 0 }, { 65, 4, 6, 0 }, { 65, 4, 4, 0 },
75 { 65, 4, 2, 0 }, { 65, 4, 0, 1 },
76};
78 { 66, 10, 0, 0 }, { 66, 10, 1, 0 }, { 66, 10, 2, 0 }, { 66, 10, 1, 1 },
79};
81 { 67, 4, 2, 0 }, { 67, 4, 4, 0 }, { 67, 4, 6, 0 }, { 67, 4, 4, 0 },
82 { 67, 4, 2, 0 }, { 67, 4, 0, 1 },
83};
85 { 68, 10, 0, 0 }, { 68, 10, 1, 0 }, { 68, 10, 2, 0 }, { 68, 10, 1, 1 },
86};
88 { 69, 4, 2, 0 }, { 69, 4, 4, 0 }, { 69, 4, 6, 0 }, { 69, 4, 4, 0 },
89 { 69, 4, 2, 0 }, { 69, 4, 0, 1 },
90};
92 { 70, 10, 0, 0 }, { 70, 10, 1, 0 }, { 70, 10, 2, 0 }, { 70, 10, 1, 1 },
93};
95 { 71, 4, 2, 0 }, { 71, 4, 4, 0 }, { 71, 4, 6, 0 }, { 71, 4, 4, 0 },
96 { 71, 4, 2, 0 }, { 71, 4, 0, 1 },
97};
99 { 72, 10, 0, 0 }, { 72, 10, 1, 0 }, { 72, 10, 2, 0 }, { 72, 10, 1, 1 },
100};
102 { 73, 4, 2, 0 }, { 73, 4, 4, 0 }, { 73, 4, 6, 0 }, { 73, 4, 4, 0 },
103 { 73, 4, 2, 0 }, { 73, 4, 0, 1 },
104};
165AreaBattle area2Battle0 = { 0, 0, MUSIC(1, 0) };
166AreaBattle area2Battle1 = { 0, 0, MUSIC(1, 0) };
167AreaBattle area2Battle2 = { 0, 0, MUSIC(1, 0) };
168AreaBattle area2Battle3 = { 0, 0, MUSIC(1, 0) };
169AreaBattle area2Battle4 = { 0, 0, MUSIC(1, 0) };
170AreaBattle area2Battle5 = { 0, 0, MUSIC(1, 0) };
171AreaBattle area2Battle6 = { 0, 0, MUSIC(1, 0) };
172AreaBattle area2Battle7 = { 0, 0, MUSIC(1, 0) };
178AreaBattle area3Battle0 = { 0, 0, MUSIC(1, 0) };
179AreaBattle area3Battle1 = { 0, 0, MUSIC(1, 0) };
180AreaBattle area3Battle2 = { 0, 0, MUSIC(1, 0) };
183AreaBattle area3Battle5 = { 0, 0, MUSIC(1, 0) };
195 { 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
196 { 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
197 { 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
198 { 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
199 { 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
200 { 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
201};
203 { 1, 1, 0x40, 2, 0x40, 0, 0, 0, 0, 0, 310, 197, 0, 0 },
204 { 1, 2, 0x40, 2, 0x42, 0, 0, 0, 0, 0, 381, 208, 0, 0 },
205 { 1, 3, 0x40, 2, 0x44, 0, 0, 0, 0, 0, 416, 204, 0, 0 },
206 { 1, 5, 0x40, 2, 0x48, 0, 0, 0, 0, 0, 464, 258, 0, 0 },
207 { 1, 4, 0x40, 2, 0x46, 0, 0, 0, 0, 0, 468, 206, 0, 0 },
208 { 1, 0, 0x40, 2, 0x32, 1, 0x32, 0x37, 8, 0, 191, 408, 0, 0 },
209 { 1, 0, 0x40, 2, 0x32, 1, 0x32, 0x37, 8, 0, 564, 488, 0, 0 },
210 { 1, 0, 0x40, 2, 0x32, 1, 0x32, 0x37, 8, 0, 594, 498, 0, 0 },
211 { 1, 0, 0x40, 2, 0x32, 1, 0x32, 0x37, 8, 0, 724, 120, 0, 0 },
212 { 1, 0, 0x40, 2, 0x32, 1, 0x32, 0x37, 8, 0, 772, 419, 0, 0 },
213 { 1, 0, 0x40, 2, 0x32, 1, 0x32, 0x37, 8, 0, 804, 410, 0, 0 },
214 { 1, 0, 0x40, 2, 0x32, 1, 0x32, 0x37, 8, 0, 901, 541, 0, 0 },
215 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 977, 774, 0, 0 },
216 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 986, 772, 0, 0 },
217 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 995, 783, 0, 0 },
218 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1010, 771, 0, 0 },
219 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1017, 771, 0, 0 },
220 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1024, 784, 0, 0 },
221 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1047, 799, 0, 0 },
222 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1057, 791, 0, 0 },
223 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1066, 796, 0, 0 },
224 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1081, 795, 0, 0 },
225 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1088, 789, 0, 0 },
226 { 1, 0, 0x40, 2, 0x38, 1, 0x38, 0x3D, 8, 0, 1096, 796, 0, 0 },
227 { 1, 0, 0x40, 2, 0x3E, 2, 0, 0xF, 6, 0, 79, 617, 0, 0 },
228 { 1, 0, 0x40, 2, 0x3E, 2, 0, 0xF, 6, 0, 262, 882, 0, 0 },
229 { 1, 0, 0x40, 2, 0x3E, 2, 0, 0xF, 6, 0, 431, 638, 0, 0 },
230 { 1, 0, 0x40, 2, 0x3E, 2, 0, 0xF, 6, 0, 702, 664, 0, 0 },
231 { 1, 0, 0x40, 2, 0x3E, 2, 0, 0xF, 6, 0, 931, 679, 0, 0 },
232 { 1, 0, 0x40, 2, 0x3E, 2, 0, 0xF, 6, 0, 1151, 642, 0, 0 },
233 { 1, 0, 0x40, 2, 0x3E, 2, 0, 0xF, 6, 0, 1293, 701, 0, 0 },
234 { 1, 0, 0x40, 2, 0x3F, 2, 0, 0xF, 6, 0, 707, 1103, 0, 0 },
235 { 1, 0, 0x40, 2, 0x3F, 2, 0, 0xF, 6, 0, 732, 964, 0, 0 },
236 { 1, 0, 0x40, 2, 0x3F, 2, 0, 0xF, 6, 0, 1051, 956, 0, 0 },
237 { 1, 0, 0x40, 2, 0x3F, 2, 0, 0xF, 6, 0, 1076, 1132, 0, 0 },
238 { 1, 0, 0x40, 2, 0x3F, 2, 0, 0xF, 6, 0, 1290, 929, 0, 0 },
239 { 1, 0, 0x40, 2, 0x4B, 1, 0x4B, 0x56, 0x10, 0, 871, 187, 0, 0 },
240 { 1, 0, 0x40, 2, 0x57, 1, 0x57, 0x62, 0x10, 0, 256, 462, 0, 0 },
241 { 1, 0, 0xFF, 2, 0x1A, 0, 0, 0, 0, 0, 1280, 250, 0, 0 },
242 { 1, 0, 0x80, 2, 0x1B, 0, 0, 0, 0, 0, 640, 640, 0, 0 },
243 { 1, 0, 0x80, 2, 0x1C, 0, 0, 0, 0, 0, 1152, 640, 0, 0 },
244 { 1, 0, 0x80, 2, 0x1D, 0, 0, 0, 0, 0, 1280, 640, 0, 0 },
245 { 1, 0, 0x40, 2, 0, 0, 0, 0, 0, 0, 1125, 1033, 0, 0 },
246 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 200, 271, 0, 0 },
247 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 299, 546, 0, 0 },
248 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 379, 1321, 0, 0 },
249 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 388, 925, 0, 0 },
250 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 436, 759, 0, 0 },
251 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 565, 1172, 0, 0 },
252 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 653, 974, 0, 0 },
253 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 871, 170, 0, 0 },
254 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 883, 1267, 0, 0 },
255 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 885, 889, 0, 0 },
256 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 900, 760, 0, 0 },
257 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 1079, 128, 0, 0 },
258 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 1322, 546, 0, 0 },
259 { 1, 0, 0x40, 6, 0x22, 1, 0x22, 0x31, 0xA, 0, 1341, 990, 0, 0 },
260 { 1, 0, 0xFF, 6, 0x63, 0, 0, 0, 0, 0, 280, 280, 0, 0 },
261 { 1, 0, 0x40, 4, 0xA, 0, 0, 0, 0, 0, 1041, 566, 603, 0 },
262 { 1, 0, 0x40, 4, 0xB, 0, 0, 0, 0, 0, 1133, 585, 596, 0 },
263 { 1, 0, 0x40, 4, 0xC, 0, 0, 0, 0, 0, 862, 659, 666, 0 },
264 { 1, 0, 0x80, 4, 0xD, 0, 0, 0, 0, 0, 1022, 313, 367, 0 },
265 { 1, 0, 0x40, 4, 0xE, 0, 0, 0, 0, 0, 693, 475, 479, 0 },
266 { 1, 0, 0x40, 4, 0xF, 0, 0, 0, 0, 0, 661, 583, 589, 0 },
267 { 1, 0, 0x40, 4, 0x10, 0, 0, 0, 0, 0, 1029, 891, 899, 0 },
268 { 1, 0, 0x40, 4, 0x11, 0, 0, 0, 0, 0, 1011, 936, 945, 0 },
269 { 1, 0, 0x40, 4, 0x12, 0, 0, 0, 0, 0, 321, 1025, 1031, 0 },
270 { 1, 0, 0x40, 4, 0x13, 0, 0, 0, 0, 0, 821, 1047, 1057, 0 },
271 { 1, 0, 0x40, 4, 0x14, 0, 0, 0, 0, 0, 261, 1055, 1060, 0 },
272 { 1, 0, 0x40, 4, 0x15, 0, 0, 0, 0, 0, 612, 1088, 1097, 0 },
273 { 1, 0, 0x40, 4, 0x16, 0, 0, 0, 0, 0, 993, 1122, 1127, 0 },
274 { 1, 0, 0x40, 4, 0x17, 0, 0, 0, 0, 0, 804, 1152, 1160, 0 },
275 { 1, 0, 0x40, 4, 0x18, 0, 0, 0, 0, 0, 401, 1225, 1231, 0 },
276 { 1, 0, 0x40, 4, 0x19, 0, 0, 0, 0, 0, 608, 1249, 1255, 0 },
277 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 496, 807, 807, 0 },
278 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 528, 951, 951, 0 },
279 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 560, 743, 743, 0 },
280 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 577, 359, 359, 0 },
281 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 607, 768, 768, 0 },
282 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 704, 847, 847, 0 },
283 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 800, 847, 847, 0 },
284 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1072, 471, 471, 0 },
285 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1120, 447, 447, 0 },
286 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1136, 487, 487, 0 },
287 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1152, 527, 527, 0 },
288 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1175, 441, 441, 0 },
289 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1184, 559, 559, 0 },
290 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1200, 471, 471, 0 },
291 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1248, 495, 495, 0 },
292 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1303, 605, 605, 0 },
293 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1312, 431, 431, 0 },
294 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 1344, 623, 623, 0 },
295 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
296};
298 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x2A8, 0x6C8, 0x1D4, 3, 0, 0, 0 },
299 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x2A2, 0x140, 0x350, 5, 0, 0, 0 },
300 { { { SPECIAL_STORY_SINCE_DE_KNOWLEDGE, 1 }, { CODES_END, 0 } }, SLOT_WARP1, 0x2E8, 0x240, 0xD0, 1, 0, 3, 2 },
301 { { { SPECIAL_STORY_SINCE_DE_KNOWLEDGE, 1 }, { CODES_END, 0 } }, SLOT_WARP1, 0x2E8, 0x240, 0xD0, 1, 0, 0x1A, 1 },
302 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0xFFD0, 0xFFE8, 0, 0, 0, 0, 0 },
303 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0x30, 0xFFE8, 0, 0, 0, 0, 0 },
304 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0, 0xFFD8, 0, 0, 0, 0, 0 },
305 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0xFFD0, 0x28, 0, 0, 0, 0, 0 },
306 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0x30, 0x28, 0, 0, 0, 0, 0 },
307 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_MAP, 0, 0, 0, 0, 0, 0, 0 },
308 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_MAP, 1, 0, 0, 0, 0, 0, 0 },
309 { { { CODES_END, 0 }, { CODES_END, 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
310};
311void (*stageFuncs[])(void) = {
313};
#define NULL
Definition common.h:17
void * createTileCursors(void)
Creates the updateTileCursors task.
#define TASK_RUN
Definition task.h:35
#define TASK_KILL
Definition task.h:37
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
Definition task.h:34
#define TASK_DONE
Definition task.h:36
The stage overlays (AAA/PRO/WSTAG###.PRO), loaded at 0x800A4CA4 on top of FIELDSTG.
void updateStage()
The names every stage defines, each its own (config/<version>/stages/<stage>.txt).
#define SLOT_WARP1
a warp (FieldWarp at arg) with effect and cutscene 1
Definition field_map.h:263
#define SLOT_MAP
the map the player is on, arg (FieldMap.setMap)
Definition field_map.h:260
#define FIELD_MAP_FLOOR0
Some of FieldMap's maps (files): those of the floors the player walks on come first,...
Definition field_map.h:85
#define SLOT_GAUGE
the gauge game
Definition field_map.h:261
#define FIELD_MAP_FLOOR1
Definition field_map.h:86
#define SLOT_EXIT
The kinds of StageSlot (type).
Definition field_map.h:255
#define FIELD_MAP_AREAS
a cell's value: its battle area (FieldBattles), or 0
Definition field_map.h:87
#define FIELD_MAP_TRIGGERS
a cell's value: a direction (3 bits) and a StageSlot (5)
Definition field_map.h:88
FieldMap FIELDSTG_map
Definition fieldstg.c:3660
FieldState FIELDSTG_state
Definition fieldstg.c:2641
#define CODES_END
Definition game_state.h:83
#define ITEM(kind, id)
an item, in the bag or equipped; kind (bits 9-11) isn't read, and the scripts set it after the item's...
Definition game_state.h:80
#define MUSIC_BATTLE
BATL0000: the maps' random battles (AreaBattle, nearly all of them)
Definition sound.h:76
#define MUSIC_JUNGLE_SHRINE
BGM_0015: the Jungle Grave, the Jungle Shrine and the Catacomb.
Definition sound.h:91
#define MUSIC(bank, n)
A field's or a battle's music (FieldState.music, Battle.music): track (SEP) n of the first sequence o...
Definition sound.h:70
#define MUSIC_BANK(music)
The sound bank of a music, which a stage loads for it (FieldState.soundBank)
Definition sound.h:148
FIELDSTG's start of the stage (StageEntry.init in FIELDSTG_stages): the stage's task,...
#define SPECIAL_STORY_SINCE_DE_KNOWLEDGE
GAME.progress is STORY_DE_KNOWLEDGE or later (PROGRESS_RANGES[0xD], to 0x63)
Definition story.h:1902
Where an actor's frames go in VRAM: one of the records after the FieldImage (Actor....
Definition field_map.h:114
A battle of an area's BattleList, which can start on the field (see FIELDSTG_startEncounter); FIGHTST...
Definition field_map.h:402
The battles of an area of the map (its cells' value at FieldMap.files[4]), one picked at random.
Definition field_map.h:411
The battles of a place (FieldState.battles), by area of the map: the fourth area's are also the ones ...
Definition field_map.h:422
void(* setFile)(s32 index, s32 file)
FIELDSTG_setMapFile.
Definition field_map.h:100
void(* setFirstMap)(s32 index)
FIELDSTG_setFirstMap: the map the player starts on (GAME.mapIndex), when the mode is new.
Definition field_map.h:104
s32 sheetEntry
the stage's sprite sheet, loaded before the field starts, or 0
Definition field_map.h:445
s32 soundBank
SOUND.loadBank's, or 0.
Definition field_map.h:459
StageTile * objects
the map objects, up to the first margin 0
Definition field_map.h:446
s32 imageFile
or an image archive file, or 0
Definition field_map.h:449
FieldBattles * battles
Definition field_map.h:450
Vec2 start
where the player starts
Definition field_map.h:456
StageSlot * slots
up to the first type 0
Definition field_map.h:447
ActorImage * actors
then the actors', from actors[2]
Definition field_map.h:454
s32 mapFile
the file of the map's tiles (FIELDSTG_createMapStreamer)
Definition field_map.h:444
s32 startDir
and its direction
Definition field_map.h:457
CVECTOR spriteColor
the field's sprites' color, unless cd is 0
Definition field_map.h:458
s32 textFile
the stage's text file, for the talks
Definition field_map.h:461
union FieldState::@12 images
s32 music
SOUND.playSound's, or 0.
Definition field_map.h:460
What the player can trigger on a map (FIELDSTG_updateTriggers): a record of the table at FieldState....
Definition field_map.h:276
The task a stage starts (startStage), updated by its updateStage.
Definition stage.h:26
void(* nextState)(struct StageTask *task)
Definition stage.h:27
s32 state
Definition stage.h:27
A frame of a StageTileFrame animation, which sets two frames of a map object.
Definition stage.h:265
An object of a map, which FIELDSTG draws: a record of the table at FieldState.objects,...
Definition field_map.h:208
Definition gfx.h:352
AreaBattle area2Battle7
Definition wstag481.c:172
void(* stageFuncs[])(void)
The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a t...
Definition wstag481.c:311
StageTileFrame updateTileCursorsFrames_1_12[]
Definition wstag481.c:80
AreaBattle area2Battle6
Definition wstag481.c:171
StageTileFrame * updateTileCursorsFrames_0[]
Definition wstag481.c:105
AreaBattle area1Battle6
Definition wstag481.c:158
StageTileFrame * updateTileCursorsFrames_3[]
Definition wstag481.c:123
AreaBattle area0Battle7
Definition wstag481.c:146
const CVECTOR stageColor
the color the setup copies to FIELDSTG_state.spriteColor
Definition wstag481.c:39
StageTileFrame updateTileCursorsFrames_1_0[]
Definition wstag481.c:77
AreaBattle area3Battle4
Definition wstag481.c:182
AreaBattle area3Battle3
Definition wstag481.c:181
AreaBattle area0Battle1
Definition wstag481.c:140
AreaBattle area2Battle0
Definition wstag481.c:165
AreaBattle area1Battle2
Definition wstag481.c:154
StageTileFrame * updateTileCursorsFrames_4[]
Definition wstag481.c:129
AreaBattle area3Battle0
Definition wstag481.c:178
AreaBattle area0Battle6
Definition wstag481.c:145
StageTileFrame updateTileCursorsFrames_4_12[]
Definition wstag481.c:101
AreaBattle area3Battle2
Definition wstag481.c:180
StageTileFrame * updateTileCursorsFrames_1[]
Definition wstag481.c:111
AreaBattle area3Battle1
Definition wstag481.c:179
AreaBattle area0Battle3
Definition wstag481.c:142
AreaBattle area3Battle6
Definition wstag481.c:184
StageTileFrame updateTileCursorsFrames_0_12[]
Definition wstag481.c:73
StageTileFrame updateTileCursorsFrames_2_0[]
Definition wstag481.c:84
ActorImage stageImages[]
Definition wstag481.c:194
StageTileFrame updateTileCursorsFrames_0_0[]
Definition wstag481.c:70
void setupStage(void)
Sets the stage up: its map, actors and battles, playing BGM_0015.
Definition wstag481.c:49
AreaBattle area2Battle4
Definition wstag481.c:169
StageTile stageObjects[]
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition wstag481.c:202
BattleList area3Battles
Definition wstag481.c:186
AreaBattle area3Battle5
Definition wstag481.c:183
AreaBattle area0Battle5
Definition wstag481.c:144
BattleList area1Battles
Definition wstag481.c:160
StageTileFrame * updateTileCursorsFrames_2[]
Definition wstag481.c:117
BattleList area2Battles
Definition wstag481.c:173
AreaBattle area1Battle4
Definition wstag481.c:156
AreaBattle area2Battle2
Definition wstag481.c:167
AreaBattle area1Battle5
Definition wstag481.c:157
StageTileFrame updateTileCursorsFrames_2_12[]
Definition wstag481.c:87
StageSlot stageSlots[]
Definition wstag481.c:297
AreaBattle area2Battle1
Definition wstag481.c:166
AreaBattle area1Battle3
Definition wstag481.c:155
AreaBattle area1Battle0
Definition wstag481.c:152
AreaBattle area0Battle0
Definition wstag481.c:139
AreaBattle area0Battle2
Definition wstag481.c:141
#define STAGE_FILE
Definition wstag481.c:46
AreaBattle area2Battle5
Definition wstag481.c:170
AreaBattle area1Battle1
Definition wstag481.c:153
AreaBattle area2Battle3
Definition wstag481.c:168
StageTileFrame ** updateTileCursorsFrames[]
Defined below, after the code that uses them.
Definition wstag481.c:135
AreaBattle area0Battle4
Definition wstag481.c:143
#define STAGE_TEXT
Definition wstag481.c:45
StageTileFrame updateTileCursorsFrames_3_0[]
Definition wstag481.c:91
AreaBattle area3Battle7
Definition wstag481.c:185
BattleList area0Battles
Definition wstag481.c:147
AreaBattle area1Battle7
Definition wstag481.c:159
FieldBattles stageBattles[]
Definition wstag481.c:191
StageTileFrame updateTileCursorsFrames_4_0[]
Definition wstag481.c:98
StageTileFrame updateTileCursorsFrames_3_12[]
Definition wstag481.c:94