Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
wstag710.c
Go to the documentation of this file.
1/*
2 * WSTAG710: Kulon Mine, North Sector.
3 */
4
5#include "common.h"
6#include "field/stage.h"
7
10
11#if VERSION_US || VERSION_JP
12#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_02)
13#define STAGE_FILE 0x299
14#define STAGE_ARCHIVE 0x30E
15#elif VERSION_EU
16#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_02)
17#define STAGE_FILE 0x2A8
18#define STAGE_ARCHIVE 0x31D
19#endif
20/* Sets the stage up: its map, actors and battles, playing the ambience ENV_0007 */
40
54AreaBattle area1Battle0 = { 0, 0, MUSIC(1, 0) };
55AreaBattle area1Battle1 = { 0, 0, MUSIC(1, 0) };
56AreaBattle area1Battle2 = { 0, 0, MUSIC(1, 0) };
57AreaBattle area1Battle3 = { 0, 0, MUSIC(1, 0) };
58AreaBattle area1Battle4 = { 0, 0, MUSIC(1, 0) };
59AreaBattle area1Battle5 = { 0, 0, MUSIC(1, 0) };
60AreaBattle area1Battle6 = { 0, 0, MUSIC(1, 0) };
61AreaBattle area1Battle7 = { 0, 0, MUSIC(1, 0) };
67AreaBattle area2Battle0 = { 0, 0, MUSIC(1, 0) };
68AreaBattle area2Battle1 = { 0, 0, MUSIC(1, 0) };
69AreaBattle area2Battle2 = { 0, 0, MUSIC(1, 0) };
70AreaBattle area2Battle3 = { 0, 0, MUSIC(1, 0) };
71AreaBattle area2Battle4 = { 0, 0, MUSIC(1, 0) };
72AreaBattle area2Battle5 = { 0, 0, MUSIC(1, 0) };
73AreaBattle area2Battle6 = { 0, 0, MUSIC(1, 0) };
74AreaBattle area2Battle7 = { 0, 0, MUSIC(1, 0) };
82AreaBattle area3Battle2 = { 0, 0, MUSIC(1, 0) };
84AreaBattle area3Battle4 = { 0, 0, MUSIC(1, 0) };
85AreaBattle area3Battle5 = { 0, 0, MUSIC(1, 0) };
87AreaBattle area3Battle7 = { 0, 0, MUSIC(1, 0) };
97 { 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
98 { 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
99 { 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
100 { 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
101 { 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
102 { 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
103 { 0x180, 0x100, 0x1B4, 0x140, 0x1D0, 0x40, 0x160, 0x1FF },
104 { 0x140, 0x100, 0x174, 0x1C1, 0xD0, 0xC1, 0x170, 0x1FF },
105 { 0x180, 0x100, 0x1B4, 0x100, 0x1D0, 0, 0x160, 0x1FE },
106 { 0x180, 0x100, 0x1B4, 0x120, 0x1D0, 0x20, 0x170, 0x1FE },
107};
127 FLAG(0, 0), 1,
128 PARTY_STAT(6), 0,
130 CODES_END,
131};
133 FLAG(0, 0), 1,
134 PARTY_STAT(6), 1,
135 PARTY_STAT(8), 0,
137 CODES_END,
138};
141 FLAG(0, 0), 1,
142 PARTY_STAT(6), 1,
144 PARTY_STAT(8), 1,
146 CODES_END,
147};
150 FLAG(0, 0), 1,
151 PARTY_STAT(6), 1,
152 ITEM(0, 0x12), 0,
153 PARTY_STAT(8), 1,
156 CODES_END,
157};
160 PARTY_STAT(0xA), 0,
161 FLAG(0, 0), 1,
162 PARTY_STAT(6), 1,
163 ITEM(0, 0x12), 1,
164 PARTY_STAT(8), 1,
166 CODES_END,
167};
169 FLAG(0, 0), 1,
170 PARTY_STAT(6), 1,
171 ITEM(0, 0x12), 1,
172 PARTY_STAT(8), 1,
174 PARTY_STAT(0xA), 1,
176 CODES_END,
177};
187u16 actor3Talk2Conditions[] = { FLAG(0, 0), 1, PARTY_STAT(6), 1, ITEM(0, 0x14), 0, CODES_END };
190 FLAG(0, 0), 1,
191 PARTY_STAT(6), 1,
192 ITEM(0, 0x14), 1,
193 PARTY_STAT(8), 0,
194 CODES_END,
195};
197 FLAG(0, 0), 1,
198 PARTY_STAT(6), 1,
199 ITEM(0, 0x14), 1,
200 PARTY_STAT(8), 1,
202 CODES_END,
203};
206 FLAG(0, 0), 1,
207 PARTY_STAT(6), 1,
208 ITEM(0, 0x14), 1,
209 PARTY_STAT(8), 1,
211 PARTY_STAT(0xA), 0,
212 CODES_END,
213};
215 FLAG(0, 0), 1,
216 PARTY_STAT(6), 1,
217 ITEM(0, 0x14), 1,
218 PARTY_STAT(8), 1,
220 PARTY_STAT(0xA), 1,
221 CODES_END,
222};
243 FLAG(0, 1), 1,
244 PARTY_STAT(6), 0,
246 CODES_END,
247};
249 FLAG(0, 1), 1,
250 PARTY_STAT(6), 1,
251 PARTY_STAT(8), 0,
253 CODES_END,
254};
257 FLAG(0, 1), 1,
258 PARTY_STAT(6), 1,
260 PARTY_STAT(8), 1,
262 CODES_END,
263};
266 FLAG(0, 1), 1,
267 PARTY_STAT(6), 1,
268 ITEM(0, 0x12), 0,
269 PARTY_STAT(8), 1,
272 CODES_END,
273};
275 FLAG(0, 1), 1,
276 PARTY_STAT(6), 1,
277 ITEM(0, 0x12), 1,
278 PARTY_STAT(8), 1,
280 PARTY_STAT(0xA), 0,
282 CODES_END,
283};
285 FLAG(0, 1), 1,
286 PARTY_STAT(6), 1,
287 ITEM(0, 0x12), 1,
288 PARTY_STAT(8), 1,
290 PARTY_STAT(0xA), 1,
292 CODES_END,
293};
303u16 actor7Talk2Conditions[] = { FLAG(0, 1), 1, PARTY_STAT(6), 1, ITEM(0, 0x14), 0, CODES_END };
306 FLAG(0, 1), 1,
307 PARTY_STAT(6), 1,
308 ITEM(0, 0x14), 1,
309 PARTY_STAT(8), 0,
310 CODES_END,
311};
313 FLAG(0, 1), 1,
314 PARTY_STAT(6), 1,
315 ITEM(0, 0x14), 1,
316 PARTY_STAT(8), 1,
318 CODES_END,
319};
322 FLAG(0, 1), 1,
323 PARTY_STAT(6), 1,
324 ITEM(0, 0x14), 1,
325 PARTY_STAT(8), 1,
327 PARTY_STAT(0xA), 0,
328 CODES_END,
329};
331 FLAG(0, 1), 1,
332 PARTY_STAT(6), 1,
333 ITEM(0, 0x14), 1,
334 PARTY_STAT(8), 1,
336 PARTY_STAT(0xA), 1,
337 CODES_END,
338};
342u16 actor8Talk2Conditions[] = { FLAG(0, 0), 1, ITEM(0, 0x14), 0, PARTY_STAT(6), 1, CODES_END };
345 FLAG(0, 0), 1,
346 PARTY_STAT(6), 1,
347 ITEM(0, 0x14), 1,
348 PARTY_STAT(8), 0,
349 CODES_END,
350};
352 FLAG(0, 0), 1,
353 PARTY_STAT(6), 1,
354 ITEM(0, 0x14), 1,
355 PARTY_STAT(8), 1,
357 CODES_END,
358};
361 FLAG(0, 0), 1,
362 PARTY_STAT(6), 1,
363 ITEM(0, 0x14), 1,
364 PARTY_STAT(8), 1,
366 PARTY_STAT(0xA), 0,
367 CODES_END,
368};
370 FLAG(0, 0), 1,
371 PARTY_STAT(6), 1,
372 ITEM(0, 0x14), 1,
373 PARTY_STAT(8), 1,
375 PARTY_STAT(0xA), 1,
376 CODES_END,
377};
381u16 actor9Talk2Conditions[] = { FLAG(0, 1), 1, PARTY_STAT(6), 1, ITEM(0, 0x14), 0, CODES_END };
384 FLAG(0, 1), 1,
385 PARTY_STAT(6), 1,
386 ITEM(0, 0x14), 1,
387 PARTY_STAT(8), 0,
388 CODES_END,
389};
391 FLAG(0, 1), 1,
392 PARTY_STAT(6), 1,
393 ITEM(0, 0x14), 1,
394 PARTY_STAT(8), 1,
396 CODES_END,
397};
400 FLAG(0, 1), 1,
401 PARTY_STAT(6), 1,
402 ITEM(0, 0x14), 1,
403 PARTY_STAT(8), 1,
405 PARTY_STAT(0xA), 0,
406 CODES_END,
407};
409 FLAG(0, 1), 1,
410 PARTY_STAT(6), 1,
411 ITEM(0, 0x14), 1,
412 PARTY_STAT(8), 1,
414 PARTY_STAT(0xA), 1,
415 CODES_END,
416};
432 { NULL, NULL, 0x297 },
433 { NULL, NULL, 0 },
434};
465 { NULL, NULL, 0x298 },
466 { NULL, NULL, 0 },
467};
541 &actor0,
542 &actor1,
543 &actor2,
544 &actor3,
545 &actor4,
546 &actor5,
547 &actor6,
548 &actor7,
549 &actor8,
550 &actor9,
551 NULL,
552};
554 { 1, 0, 0x40, 2, 0x32, 2, 0, 1, 6, 0, 603, 223, 0, 0 },
555 { 1, 0, 0x40, 2, 0x32, 2, 0, 1, 6, 0, 952, 485, 0, 0 },
556 { 1, 0, 0x40, 2, 0x33, 2, 0, 1, 6, 0, 567, 357, 0, 0 },
557 { 1, 0, 0x40, 2, 0x33, 2, 0, 1, 6, 0, 604, 375, 0, 0 },
558 { 1, 0, 0x40, 2, 0x33, 2, 0, 1, 6, 0, 857, 450, 0, 0 },
559 { 1, 0, 0x40, 2, 0x36, 2, 0, 1, 6, 0, 529, 660, 0, 0 },
560 { 1, 0, 0x40, 2, 3, 1, 3, 8, 8, 0, 201, 398, 0, 0 },
561 { 1, 0, 0x40, 2, 3, 1, 3, 8, 8, 0, 215, 598, 0, 0 },
562 { 1, 0, 0x40, 6, 0x32, 2, 0, 1, 6, 0, 140, 499, 0, 0 },
563 { 1, 0, 0x40, 6, 0x32, 2, 0, 1, 6, 0, 476, 616, 0, 0 },
564 { 1, 0, 0x40, 6, 0x32, 2, 0, 1, 6, 0, 569, 552, 0, 0 },
565 { 1, 0, 0x40, 6, 0x32, 2, 0, 1, 6, 0, 827, 661, 0, 0 },
566 { 1, 0, 0x40, 6, 0x33, 2, 0, 1, 6, 0, 408, 122, 0, 0 },
567 { 1, 0, 0x40, 6, 0x33, 2, 0, 1, 6, 0, 479, 678, 0, 0 },
568 { 1, 0, 0x40, 6, 0x33, 2, 0, 1, 6, 0, 772, 301, 0, 0 },
569 { 1, 0, 0x40, 6, 0x33, 2, 0, 1, 6, 0, 869, 528, 0, 0 },
570 { 1, 0, 0x40, 6, 0x33, 2, 0, 1, 6, 0, 919, 263, 0, 0 },
571 { 1, 0, 0x40, 6, 0x33, 2, 0, 1, 6, 0, 929, 414, 0, 0 },
572 { 1, 0, 0x40, 6, 0x33, 2, 0, 1, 6, 0, 1166, 732, 0, 0 },
573 { 1, 0, 0x40, 6, 0x33, 2, 0, 1, 6, 0, 1218, 758, 0, 0 },
574 { 1, 0, 0x40, 6, 0x34, 2, 0, 1, 6, 0, 986, 299, 0, 0 },
575 { 1, 0, 0x40, 6, 0x34, 2, 0, 1, 6, 0, 1025, 319, 0, 0 },
576 { 1, 0, 0x40, 6, 0x34, 2, 0, 1, 6, 0, 1195, 732, 0, 0 },
577 { 1, 0, 0x40, 6, 0x35, 2, 0, 1, 6, 0, 522, 632, 0, 0 },
578 { 1, 0, 0x40, 6, 0x37, 2, 0, 1, 6, 0, 599, 379, 0, 0 },
579 { 1, 0, 0xC4, 4, 0, 0, 0, 0, 0, 0, 413, 523, 715, 0 },
580 { 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 699, 190, 233, 0 },
581 { 1, 0, 0x40, 4, 0xA, 0, 0, 0, 0, 0, 138, 383, 410, 0 },
582 { 1, 0, 0x40, 4, 9, 0, 0, 0, 0, 0, 161, 328, 364, 0 },
583 { 1, 0, 0x40, 4, 0xB, 0, 0, 0, 0, 0, 542, 196, 217, 0 },
584 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 208, 311, 311, 0 },
585 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 672, 719, 719, 0 },
586 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 688, 455, 455, 0 },
587 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 720, 743, 743, 0 },
588 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 736, 479, 479, 0 },
589 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 864, 175, 175, 0 },
590 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 928, 351, 351, 0 },
591 { 1, 0xFF, 0x64, 4, 0x38, 0, 0, 0, 0, 0, 944, 167, 167, 0 },
592 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
593};
595 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x266, 0x390, 0x1E8, 3, 0, 0, 0 },
596 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x261, 0x80, 0x90, 7, 0, 0, 0 },
597 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x268, 0x390, 0x118, 3, 0, 0, 0 },
598 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_DOWN, 9, 0x20F, 0xF8, 0, 0, 0, 0 },
599 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_UP, 9, 0x21F, 0x190, 0, 0, 0, 0 },
600 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_DOWN, 6, 0x34F, 0x106, 0, 0, 0, 0 },
601 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_UP, 6, 0x35F, 0x16F, 0, 0, 0, 0 },
602 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_DOWN, 6, 0x440, 0x161, 0, 0, 0, 0 },
603 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_UP, 6, 0x430, 0x1C8, 0, 0, 0, 0 },
604 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_DOWN, 6, 0x3EF, 0x2C9, 0, 0, 0, 0 },
605 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_UP, 6, 0x3E1, 0x32F, 0, 0, 0, 0 },
606 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_DOWN, 6, 0x150, 0x258, 0, 0, 0, 0 },
607 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_CLIMB_UP, 6, 0x15F, 0x2BE, 0, 0, 0, 0 },
608 { { { SPECIAL_STORY_SINCE_DE_KNOWLEDGE, 1 }, { CODES_END, 0 } }, SLOT_WARP1, 0x2E9, 0xB0, 0xF8, 7, 0, 5, 1 },
609 { { { SPECIAL_STORY_SINCE_DE_KNOWLEDGE, 1 }, { CODES_END, 0 } }, SLOT_WARP1, 0x2E8, 0x240, 0xD0, 1, 0, 0xA, 1 },
610 { { { SPECIAL_STORY_SINCE_DE_KNOWLEDGE, 1 }, { CODES_END, 0 } }, SLOT_WARP1, 0x2E9, 0xB0, 0xF8, 7, 0, 6, 2 },
611 { { { SPECIAL_STORY_SINCE_DE_KNOWLEDGE, 1 }, { CODES_END, 0 } }, SLOT_WARP1, 0x2E8, 0x240, 0xD0, 1, 0, 0x16, 1 },
612 { { { CODES_END, 0 }, { CODES_END, 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
613};
614void (*stageFuncs[])(void) = {
616};
#define NULL
Definition common.h:17
unsigned short u16
Definition common.h:10
The stage overlays (AAA/PRO/WSTAG###.PRO), loaded at 0x800A4CA4 on top of FIELDSTG.
#define SLOT_CLIMB_UP
Definition field_map.h:256
#define SLOT_WARP1
a warp (FieldWarp at arg) with effect and cutscene 1
Definition field_map.h:263
#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_CLIMB_DOWN
Definition field_map.h:257
#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 EVENT_BATTLE(id)
action: FIELDSTG_battleFuncs.startEventBattle
Definition game_state.h:72
#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 PROGRESS(n)
GAME.progress is n.
Definition game_state.h:69
#define FLAG(group, id)
The codes of the (code, value) pairs that FLAGS_00 checks as conditions and applies as actions (event...
Definition game_state.h:68
#define PARTY_STAT(id)
checkPartyStat
Definition game_state.h:71
#define CARD_BATTLE(opponent, kind)
action: startCardBattle
Definition game_state.h:73
#define MUSIC_BATTLE
BATL0000: the maps' random battles (AreaBattle, nearly all of them)
Definition sound.h:76
#define MUSIC_TYRANNO_VALLEY
ENV_0007: Tyranno Valley, Snow Mountain, Kulon Mine and the Battle Gate.
Definition sound.h:123
#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_BATTLE_1
BATL1000: the Digimon Arena's battles and some event battles (AreaBattle)
Definition sound.h:77
#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,...
@ STORY_PRESIDENT_ARRESTED
WSTAG226 (Login Room, Amaterasu City), event 935, after the President of MAGAMI gives himself up (WST...
Definition story.h:136
@ STORY_MOVIE_BATTLES
WSTAG820, event 1080, with Snatchmon: each encounter plays MODE_BATTLE_MOVIE first.
Definition story.h:146
#define FLAG_BROWN_FOUGHT
wstag710 (Kulon Mine): Tamer Brown says "I'm still an active tamer though.
Definition story.h:880
#define SPECIAL_STORY_ASUKA_HEADQUARTERS_TO_OPERATION_SIGMA
GAME.progress is from STORY_ASUKA_HEADQUARTERS to STORY_OPERATION_SIGMA (PROGRESS_RANGES[0x13])
Definition story.h:1920
#define SPECIAL_STORY_SINCE_DE_KNOWLEDGE
GAME.progress is STORY_DE_KNOWLEDGE or later (PROGRESS_RANGES[0xD], to 0x63)
Definition story.h:1902
#define SPECIAL_STORY_GENJI_BEATEN_TO_PRESIDENT_ARRESTED
GAME.progress is from STORY_GENJI_BEATEN to STORY_PRESIDENT_ARRESTED (PROGRESS_RANGES[0x1A])
Definition story.h:1941
#define SPECIAL_STORY_KNIGHTMON_REPROGRAMMED_TO_AMATERASU_BRIDGE
GAME.progress is from STORY_KNIGHTMON_REPROGRAMMED to STORY_AMATERASU_BRIDGE (PROGRESS_RANGES[4])
Definition story.h:1875
#define FLAG_MAKOTO_FOUGHT
wstag710 (Kulon Mine): Tamer Makoto says "So can you duel with me and throw the fight?...
Definition story.h:877
#define FLAG_CARD_BATTLE_WON
set by updateModeFlags on the way back from a card battle: 1 if the player won it (FLAGS_00....
Definition story.h:166
#define FLAG_CARD_BATTLE_ENDED
set by updateModeFlags on the way back from a card battle; the talks that follow one test it and clea...
Definition story.h:169
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
A character of the field (FieldState.actors, a list of pointers up to NULL), which FIELDSTG_updateFie...
Definition field_map.h:194
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
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 a character says (FIELDSTG_runActorAction): the first whose conditions hold, or the last,...
Definition field_map.h:176
What the player can trigger on a map (FIELDSTG_updateTriggers): a record of the table at FieldState....
Definition field_map.h:276
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
u16 actor1Conditions[]
Definition wstag710.c:509
u16 actor0Talk0Actions[]
Definition wstag710.c:109
AreaBattle area2Battle7
Definition wstag710.c:74
FieldActorEntry actor0
Definition wstag710.c:530
void(* stageFuncs[])(void)
The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a t...
Definition wstag710.c:614
FieldActorEntry actor6
Definition wstag710.c:536
u16 actor7Talk1Conditions[]
Definition wstag710.c:302
u16 actor4Talk9Conditions[]
Definition wstag710.c:284
u16 actor8Talk4Actions[]
Definition wstag710.c:359
u16 actor0Talk7Conditions[]
Definition wstag710.c:149
u16 actor0Talk0Conditions[]
Definition wstag710.c:108
u16 actor7Talk4Conditions[]
Definition wstag710.c:312
FieldTalk actor2Talks[]
Definition wstag710.c:435
AreaBattle area2Battle6
Definition wstag710.c:73
u16 actor8Talk1Conditions[]
Definition wstag710.c:341
u16 actor0Talk9Conditions[]
Definition wstag710.c:168
u16 actor3Talk3Conditions[]
Definition wstag710.c:189
u16 actor0Talk1Conditions[]
Definition wstag710.c:110
u16 actor2Talk1Conditions[]
Definition wstag710.c:180
u16 actor4Talk3Conditions[]
Definition wstag710.c:235
u16 actor4Talk1Actions[]
Definition wstag710.c:227
u16 actor9Talk4Actions[]
Definition wstag710.c:398
u16 actor4Talk6Actions[]
Definition wstag710.c:264
u16 actor4Talk8Conditions[]
Definition wstag710.c:274
u16 actor8Talk3Conditions[]
Definition wstag710.c:344
u16 actor4Talk6Conditions[]
Definition wstag710.c:256
u16 actor0Talk8Conditions[]
Definition wstag710.c:158
u16 actor4Talk2Actions[]
Definition wstag710.c:234
u16 actor7Talk5Conditions[]
Definition wstag710.c:321
u16 actor7Talk2Conditions[]
Definition wstag710.c:303
u16 actor3Talk4Conditions[]
Definition wstag710.c:196
FieldTalk actor5Talks[]
Definition wstag710.c:464
AreaBattle area1Battle6
Definition wstag710.c:60
u16 actor8Talk6Conditions[]
Definition wstag710.c:369
u16 actor3Talk4Actions[]
Definition wstag710.c:204
u16 actor0Talk6Actions[]
Definition wstag710.c:148
FieldActorEntry actor5
Definition wstag710.c:535
u16 actor4Talk4Conditions[]
Definition wstag710.c:242
u16 actor7Talk4Actions[]
Definition wstag710.c:320
AreaBattle area0Battle7
Definition wstag710.c:48
FieldActorEntry actor2
Definition wstag710.c:532
u16 actor8Talk2Conditions[]
Definition wstag710.c:342
u16 actor9Talk0Conditions[]
Definition wstag710.c:379
u16 actor6Talk1Conditions[]
Definition wstag710.c:296
u16 actor3Talk0Conditions[]
Definition wstag710.c:184
u16 actor9Talk2Actions[]
Definition wstag710.c:382
AreaBattle area3Battle4
Definition wstag710.c:84
AreaBattle area3Battle3
Definition wstag710.c:83
AreaBattle area0Battle1
Definition wstag710.c:42
u16 actor0Talk3Conditions[]
Definition wstag710.c:119
AreaBattle area2Battle0
Definition wstag710.c:67
u16 actor9Conditions[]
Definition wstag710.c:529
u16 actor7Talk0Conditions[]
Definition wstag710.c:300
u16 actor8Talk5Conditions[]
Definition wstag710.c:360
FieldActorEntry * stageActors[]
Definition wstag710.c:540
u16 actor4Talk9Actions[]
Definition wstag710.c:294
u16 actor0Talk1Actions[]
Definition wstag710.c:111
u16 actor7Talk0Actions[]
Definition wstag710.c:301
AreaBattle area1Battle2
Definition wstag710.c:56
u16 actor9Talk5Conditions[]
Definition wstag710.c:399
u16 actor3Talk6Actions[]
Definition wstag710.c:223
AreaBattle area3Battle0
Definition wstag710.c:80
u16 actor7Talk6Conditions[]
Definition wstag710.c:330
u16 actor4Talk1Conditions[]
Definition wstag710.c:226
u16 actor6Talk2Conditions[]
Definition wstag710.c:298
AreaBattle area0Battle6
Definition wstag710.c:47
u16 actor7Talk6Actions[]
Definition wstag710.c:339
FieldTalk actor1Talks[]
Definition wstag710.c:431
u16 actor4Talk5Conditions[]
Definition wstag710.c:248
AreaBattle area3Battle2
Definition wstag710.c:82
u16 actor2Talk1Actions[]
Definition wstag710.c:181
FieldTalk actor0Talks[]
Definition wstag710.c:418
u16 actor6Talk2Actions[]
Definition wstag710.c:299
u16 actor0Talk4Conditions[]
Definition wstag710.c:126
AreaBattle area3Battle1
Definition wstag710.c:81
#define STAGE_ARCHIVE
Definition wstag710.c:18
AreaBattle area0Battle3
Definition wstag710.c:44
u16 actor3Talk2Conditions[]
Definition wstag710.c:187
u16 actor3Talk1Conditions[]
Definition wstag710.c:186
u16 actor9Talk6Conditions[]
Definition wstag710.c:408
FieldTalk actor4Talks[]
Definition wstag710.c:451
u16 actor4Conditions[]
Definition wstag710.c:516
FieldActorEntry actor4
Definition wstag710.c:534
u16 actor3Conditions[]
Definition wstag710.c:515
u16 actor2Talk2Conditions[]
Definition wstag710.c:182
AreaBattle area3Battle6
Definition wstag710.c:86
u16 actor4Talk7Conditions[]
Definition wstag710.c:265
FieldActorEntry actor8
Definition wstag710.c:538
ActorImage stageImages[]
Definition wstag710.c:96
u16 actor8Talk6Actions[]
Definition wstag710.c:378
FieldTalk actor6Talks[]
Definition wstag710.c:468
void setupStage(void)
Sets the stage up: its map, actors and battles, playing the ambience ENV_0007.
Definition wstag710.c:21
AreaBattle area2Battle4
Definition wstag710.c:71
u16 actor4Talk0Conditions[]
Definition wstag710.c:224
u16 actor3Talk6Conditions[]
Definition wstag710.c:214
StageTile stageObjects[]
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition wstag710.c:553
FieldActorEntry actor9
Definition wstag710.c:539
u16 actor8Conditions[]
Definition wstag710.c:528
u16 actor9Talk1Conditions[]
Definition wstag710.c:380
u16 actor5Conditions[]
Definition wstag710.c:521
FieldTalk actor3Talks[]
Definition wstag710.c:441
FieldTalk actor9Talks[]
Definition wstag710.c:494
BattleList area3Battles
Definition wstag710.c:88
u16 actor8Talk2Actions[]
Definition wstag710.c:343
u16 actor3Talk2Actions[]
Definition wstag710.c:188
AreaBattle area3Battle5
Definition wstag710.c:85
AreaBattle area0Battle5
Definition wstag710.c:46
BattleList area1Battles
Definition wstag710.c:62
u16 actor9Talk6Actions[]
Definition wstag710.c:417
u16 actor0Talk2Actions[]
Definition wstag710.c:118
u16 actor0Talk9Actions[]
Definition wstag710.c:178
u16 actor0Talk5Conditions[]
Definition wstag710.c:132
BattleList area2Battles
Definition wstag710.c:75
u16 actor2Talk0Conditions[]
Definition wstag710.c:179
AreaBattle area1Battle4
Definition wstag710.c:58
u16 actor2Talk2Actions[]
Definition wstag710.c:183
u16 actor6Talk0Conditions[]
Definition wstag710.c:295
u16 actor3Talk5Conditions[]
Definition wstag710.c:205
u16 actor6Conditions[]
Definition wstag710.c:526
AreaBattle area2Battle2
Definition wstag710.c:69
u16 actor0Talk2Conditions[]
Definition wstag710.c:112
AreaBattle area1Battle5
Definition wstag710.c:59
u16 actor0Talk5Actions[]
Definition wstag710.c:139
FieldActorEntry actor7
Definition wstag710.c:537
StageSlot stageSlots[]
Definition wstag710.c:594
AreaBattle area2Battle1
Definition wstag710.c:68
u16 actor8Talk4Conditions[]
Definition wstag710.c:351
AreaBattle area1Battle3
Definition wstag710.c:57
u16 actor0Talk6Conditions[]
Definition wstag710.c:140
AreaBattle area1Battle0
Definition wstag710.c:54
u16 actor4Talk5Actions[]
Definition wstag710.c:255
FieldActorEntry actor1
Definition wstag710.c:531
AreaBattle area0Battle0
Definition wstag710.c:41
AreaBattle area0Battle2
Definition wstag710.c:43
#define STAGE_FILE
Definition wstag710.c:17
AreaBattle area2Battle5
Definition wstag710.c:72
u16 actor4Talk0Actions[]
Definition wstag710.c:225
AreaBattle area1Battle1
Definition wstag710.c:55
u16 actor9Talk4Conditions[]
Definition wstag710.c:390
u16 actor7Conditions[]
Definition wstag710.c:527
AreaBattle area2Battle3
Definition wstag710.c:70
u16 actor6Talk1Actions[]
Definition wstag710.c:297
u16 actor2Conditions[]
Definition wstag710.c:514
u16 actor7Talk3Conditions[]
Definition wstag710.c:305
FieldTalk actor7Talks[]
Definition wstag710.c:474
u16 actor9Talk2Conditions[]
Definition wstag710.c:381
u16 actor4Talk3Actions[]
Definition wstag710.c:241
AreaBattle area0Battle4
Definition wstag710.c:45
u16 actor9Talk3Conditions[]
Definition wstag710.c:383
#define STAGE_TEXT
Definition wstag710.c:16
u16 actor3Talk0Actions[]
Definition wstag710.c:185
FieldTalk actor8Talks[]
Definition wstag710.c:484
AreaBattle area3Battle7
Definition wstag710.c:87
BattleList area0Battles
Definition wstag710.c:49
u16 actor8Talk0Conditions[]
Definition wstag710.c:340
AreaBattle area1Battle7
Definition wstag710.c:61
u16 actor4Talk2Conditions[]
Definition wstag710.c:228
FieldActorEntry actor3
Definition wstag710.c:533
FieldBattles stageBattles[]
Definition wstag710.c:93
u16 actor0Conditions[]
Definition wstag710.c:504
u16 actor0Talk3Actions[]
Definition wstag710.c:125
u16 actor7Talk2Actions[]
Definition wstag710.c:304