Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
wstag450.c
Go to the documentation of this file.
1/*
2 * WSTAG450: Bulk Bridge, South Sector.
3 */
4
5#include "common.h"
6#include "field/stage.h"
7
8/*
9 * Back from the battle after event 1279, starts event 1280, with Paildramon,
10 * unless it has played
11 */
12void updateStage(StageTask *task, void **children) {
13 switch (task->state) {
14 case TASK_INIT:
15 default:
16 task->nextState(task);
18 children[0] = FIELDSTG_startEvent(0x500);
19 }
20 break;
21 case TASK_RUN:
22 case TASK_DONE:
23 case TASK_KILL:
24 break;
25 }
26}
27
28#define STAGE_CHILDREN_SIZE 4
30
31/* After event 1279, with Paildramon: lets event 1280 start and starts the stage's event battle 1 */
36
37/*
38 * After event 1280, with Paildramon: gives the player the Veemon DDNA and
39 * keeps it from playing again
40 */
45
46const CVECTOR stageColor = { 0x80, 0x80, 0x80, 0x00 };
47#if VERSION_US || VERSION_JP
48#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_06)
49#define EVENT_TEXT_FILE (TEXT_EVENTS_400 - 1)
50#define STAGE_FILE 0x389
51#elif VERSION_EU
52#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_06)
53#define EVENT_TEXT_FILE (TEXT_EVENTS_400 - 1)
54#define STAGE_FILE 0x399
55#endif
56/*
57 * Sets the stage up: its map, actors, battles and events, playing the
58 * ambience ENV_0012; battle list 0 before STORY_KNIGHTMON_REPROGRAMMED, 1 from then on
59 */
86
88 SCRIPT_FOLLOW(1, 2),
89 SCRIPT_WALK(2, 0x14A, 0x125, 3),
90 SCRIPT_PLACE(0x7F, 0x131, 0x119),
91 SCRIPT_POSE(0x7F, 1, 7),
94 SCRIPT_POSE(2, 1, 3),
95 SCRIPT_WAIT(6),
96 SCRIPT_WAIT(0x1E),
97 SCRIPT_TALK(0, 1, 2, 1),
98 SCRIPT_POSE(2, 7, 3),
100 SCRIPT_POSE(2, 1, 3),
101 SCRIPT_WAIT(0x1E),
102 SCRIPT_TALK(0, 2, 0x7F, 2),
104 SCRIPT_WAIT(0x1E),
105 SCRIPT_TALK(0, 3, 2, 1),
106 SCRIPT_POSE(2, 7, 3),
108 SCRIPT_POSE(2, 1, 3),
109 SCRIPT_WAIT(0x1E),
110 SCRIPT_TALK(0, 4, 0x7F, 2),
112 SCRIPT_WAIT(0x1E),
114};
116 SCRIPT_FOLLOW(1, 2),
117 SCRIPT_PLACE(2, 0x14A, 0x125),
118 SCRIPT_POSE(2, 1, 3),
119 SCRIPT_PLACE(0x7F, 0x131, 0x119),
120 SCRIPT_POSE(0x7F, 1, 7),
121 SCRIPT_WAIT(0x78),
122 SCRIPT_TALK(0, 1, 2, 1),
123 SCRIPT_POSE(2, 7, 3),
125 SCRIPT_POSE(2, 1, 3),
126 SCRIPT_WAIT(0x1E),
127 SCRIPT_TALK(0, 2, 0x7F, 2),
130 SCRIPT_WAIT(0x1E),
131 SCRIPT_TALK(0, 3, 2, 1),
132 SCRIPT_POSE(2, 7, 3),
134 SCRIPT_POSE(2, 1, 3),
135 SCRIPT_WAIT(0x1E),
136 SCRIPT_TALK(0, 4, 0x7F, 2),
138 SCRIPT_WAIT(0x3C),
140};
250 { 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
251 { 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
252 { 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
253 { 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
254 { 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
255 { 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
256 { 0x140, 0x100, 0x158, 0x197, 0x60, 0x97, 0x160, 0x1FF },
257 { 0x140, 0x100, 0x176, 0x167, 0xD8, 0x67, 0x140, 0x1FE },
258 { 0x140, 0x100, 0x15A, 0x100, 0x68, 0, 0x150, 0x1FE },
259 { 0x140, 0x100, 0x14A, 0x184, 0x28, 0x84, 0x160, 0x1FE },
260};
273 PARTY_STAT(2), 1,
274 PARTY_STAT(4), 1,
276 FLAG(0, 0), 1,
277 CODES_END,
278};
281 FLAG(0, 0), 1,
282 PARTY_STAT(2), 1,
283 PARTY_STAT(4), 1,
285 ITEM(0, 0x12), 0,
286 CODES_END,
287};
289 FLAG(0, 0), 1,
290 PARTY_STAT(4), 1,
291 PARTY_STAT(2), 1,
293 ITEM(0, 0x12), 1,
294 PARTY_STAT(6), 0,
295 CODES_END,
296};
298 FLAG(0, 0), 1,
299 PARTY_STAT(2), 1,
300 PARTY_STAT(4), 1,
302 ITEM(0, 0x12), 1,
303 PARTY_STAT(6), 1,
304 CODES_END,
305};
313 FLAG(0, 0), 1,
314 PARTY_STAT(2), 1,
315 PARTY_STAT(4), 1,
317 CODES_END,
318};
321 FLAG(0, 0), 1,
322 ITEM(0, 0x12), 0,
323 PARTY_STAT(2), 1,
324 PARTY_STAT(4), 1,
326 CODES_END,
327};
329 FLAG(0, 0), 1,
330 PARTY_STAT(2), 1,
331 PARTY_STAT(4), 1,
333 ITEM(0, 0x12), 1,
334 PARTY_STAT(6), 0,
335 CODES_END,
336};
338 FLAG(0, 0), 1,
339 PARTY_STAT(2), 1,
340 PARTY_STAT(4), 1,
342 ITEM(0, 0x12), 1,
343 PARTY_STAT(6), 1,
344 CODES_END,
345};
358 FLAG(0, 0), 1,
359 PARTY_STAT(2), 1,
360 PARTY_STAT(4), 1,
362 CODES_END,
363};
366 FLAG(0, 0), 1,
367 PARTY_STAT(2), 1,
369 PARTY_STAT(4), 1,
370 ITEM(0, 0x12), 0,
371 CODES_END,
372};
374 PARTY_STAT(2), 1,
376 PARTY_STAT(6), 0,
377 FLAG(0, 0), 1,
378 PARTY_STAT(4), 1,
379 ITEM(0, 0x12), 1,
380 CODES_END,
381};
383 FLAG(0, 0), 1,
384 PARTY_STAT(2), 1,
385 PARTY_STAT(4), 1,
387 ITEM(0, 0x12), 1,
388 PARTY_STAT(6), 1,
389 CODES_END,
390};
400 FLAG(0, 0), 1,
401 PARTY_STAT(2), 1,
403 PARTY_STAT(4), 1,
404 CODES_END,
405};
408 FLAG(0, 0), 1,
409 PARTY_STAT(4), 1,
410 PARTY_STAT(2), 1,
412 ITEM(0, 0x12), 0,
413 CODES_END,
414};
416 FLAG(0, 0), 1,
417 PARTY_STAT(2), 1,
418 PARTY_STAT(4), 1,
420 ITEM(0, 0x12), 1,
421 PARTY_STAT(6), 0,
422 CODES_END,
423};
425 FLAG(0, 0), 1,
426 PARTY_STAT(2), 1,
427 PARTY_STAT(4), 1,
429 ITEM(0, 0x12), 1,
430 PARTY_STAT(6), 1,
431 CODES_END,
432};
435 { NULL, actor0Talk0Actions, 0x24D },
436 { NULL, NULL, 0 },
437};
475 { NULL, NULL, 0x280 },
476 { NULL, NULL, 0 },
477};
480 { actor6Talk1Conditions, NULL, 0x2CC },
481 { NULL, NULL, 0 },
482};
524u16 actor6Conditions[] = { FLAG(6, 7), 1, ITEM(0, 0x23), 0, CODES_END };
535 &actor0,
536 &actor1,
537 &actor2,
538 &actor3,
539 &actor4,
540 &actor5,
541 &actor6,
542 &actor7,
543 NULL,
544};
546 { 1, 0, 0x40, 2, 3, 1, 3, 8, 8, 0, 665, 621, 0, 0 },
547 { 1, 0, 0x40, 2, 3, 1, 3, 8, 8, 0, 1102, 881, 0, 0 },
548 { 1, 0, 0x40, 2, 3, 1, 3, 8, 8, 0, 1232, 197, 0, 0 },
549 { 1, 0, 0x40, 2, 3, 1, 3, 8, 8, 0, 1668, 433, 0, 0 },
550 { 1, 0, 0x64, 2, 9, 0, 0, 0, 0, 0, 29, 246, 0, 0 },
551 { 1, 0, 0x64, 2, 0xA, 0, 0, 0, 0, 0, 30, 321, 0, 0 },
552 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 391, 857, 0, 0 },
553 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 615, 820, 0, 0 },
554 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 632, 617, 0, 0 },
555 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 664, 966, 0, 0 },
556 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 708, 828, 0, 0 },
557 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 804, 888, 0, 0 },
558 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1037, 765, 0, 0 },
559 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1113, 492, 0, 0 },
560 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1321, 622, 0, 0 },
561 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1392, 440, 0, 0 },
562 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1427, 532, 0, 0 },
563 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1577, 549, 0, 0 },
564 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1693, 707, 0, 0 },
565 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 52, 229, 0, 0 },
566 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 158, 422, 0, 0 },
567 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 206, 840, 0, 0 },
568 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 264, 567, 0, 0 },
569 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 408, 861, 0, 0 },
570 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 958, 570, 0, 0 },
571 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1212, 539, 0, 0 },
572 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1312, 384, 0, 0 },
573 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1447, 533, 0, 0 },
574 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1467, 678, 0, 0 },
575 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 727, 829, 0, 0 },
576 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 796, 674, 0, 0 },
577 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 923, 864, 0, 0 },
578 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1546, 718, 0, 0 },
579 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1592, 300, 0, 0 },
580 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1678, 629, 0, 0 },
581 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 450, 189, 0, 0 },
582 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 614, 453, 0, 0 },
583 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 739, 309, 0, 0 },
584 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 849, 430, 0, 0 },
585 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 939, 336, 0, 0 },
586 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1006, 804, 0, 0 },
587 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1099, 261, 0, 0 },
588 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1106, 204, 0, 0 },
589 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1281, 849, 0, 0 },
590 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1351, 965, 0, 0 },
591 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1373, 906, 0, 0 },
592 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1515, 148, 0, 0 },
593 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1638, 263, 0, 0 },
594 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 487, 418, 0, 0 },
595 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 615, 738, 0, 0 },
596 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 650, 168, 0, 0 },
597 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 726, 724, 0, 0 },
598 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 753, 138, 0, 0 },
599 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 824, 182, 0, 0 },
600 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 919, 759, 0, 0 },
601 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 1024, 129, 0, 0 },
602 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 1070, 887, 0, 0 },
603 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 448, 657, 0, 0 },
604 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 481, 570, 0, 0 },
605 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 496, 432, 0, 0 },
606 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 499, 893, 0, 0 },
607 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 623, 462, 0, 0 },
608 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 654, 771, 0, 0 },
609 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 729, 295, 0, 0 },
610 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 789, 504, 0, 0 },
611 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 806, 100, 0, 0 },
612 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 821, 172, 0, 0 },
613 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 821, 172, 0, 0 },
614 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 900, 723, 0, 0 },
615 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 946, 346, 0, 0 },
616 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 995, 394, 0, 0 },
617 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1042, 140, 0, 0 },
618 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1084, 901, 0, 0 },
619 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1270, 536, 0, 0 },
620 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1295, 946, 0, 0 },
621 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1326, 147, 0, 0 },
622 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1435, 1007, 0, 0 },
623 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 124, 163, 0, 0 },
624 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 268, 145, 0, 0 },
625 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 367, 150, 0, 0 },
626 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 381, 194, 0, 0 },
627 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 491, 192, 0, 0 },
628 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 500, 597, 0, 0 },
629 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 522, 343, 0, 0 },
630 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 584, 290, 0, 0 },
631 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 644, 607, 0, 0 },
632 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 689, 964, 0, 0 },
633 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 742, 662, 0, 0 },
634 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 789, 927, 0, 0 },
635 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 814, 673, 0, 0 },
636 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 822, 887, 0, 0 },
637 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 850, 658, 0, 0 },
638 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 940, 627, 0, 0 },
639 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 942, 864, 0, 0 },
640 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1028, 955, 0, 0 },
641 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1055, 523, 0, 0 },
642 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1055, 764, 0, 0 },
643 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1059, 515, 0, 0 },
644 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1062, 755, 0, 0 },
645 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1128, 198, 0, 0 },
646 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1178, 288, 0, 0 },
647 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1184, 281, 0, 0 },
648 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1281, 291, 0, 0 },
649 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1309, 391, 0, 0 },
650 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1533, 140, 0, 0 },
651 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1568, 715, 0, 0 },
652 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1628, 413, 0, 0 },
653 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1629, 254, 0, 0 },
654 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1641, 414, 0, 0 },
655 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1699, 627, 0, 0 },
656 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 61, 371, 0, 0 },
657 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 76, 156, 0, 0 },
658 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 111, 502, 0, 0 },
659 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 177, 675, 0, 0 },
660 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 215, 912, 0, 0 },
661 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 227, 135, 0, 0 },
662 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 270, 479, 0, 0 },
663 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 349, 725, 0, 0 },
664 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 380, 125, 0, 0 },
665 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 472, 371, 0, 0 },
666 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 539, 550, 0, 0 },
667 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 645, 71, 0, 0 },
668 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 660, 485, 0, 0 },
669 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 697, 754, 0, 0 },
670 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 727, 802, 0, 0 },
671 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 741, 442, 0, 0 },
672 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 815, 657, 0, 0 },
673 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 862, 133, 0, 0 },
674 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 870, 300, 0, 0 },
675 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 925, 595, 0, 0 },
676 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 939, 777, 0, 0 },
677 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 954, 913, 0, 0 },
678 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1040, 166, 0, 0 },
679 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1068, 486, 0, 0 },
680 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1138, 820, 0, 0 },
681 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1157, 911, 0, 0 },
682 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1164, 207, 0, 0 },
683 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1171, 545, 0, 0 },
684 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1343, 282, 0, 0 },
685 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1346, 642, 0, 0 },
686 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1381, 970, 0, 0 },
687 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1384, 858, 0, 0 },
688 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1421, 456, 0, 0 },
689 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1428, 127, 0, 0 },
690 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1446, 956, 0, 0 },
691 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1488, 682, 0, 0 },
692 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1609, 121, 0, 0 },
693 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1623, 498, 0, 0 },
694 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1637, 334, 0, 0 },
695 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x4A, 0xA, 0, 1740, 602, 0, 0 },
696 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 294, 561, 0, 0 },
697 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 298, 104, 0, 0 },
698 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 305, 774, 0, 0 },
699 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 535, 30, 0, 0 },
700 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 634, 887, 0, 0 },
701 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 727, 249, 0, 0 },
702 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 773, 71, 0, 0 },
703 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 849, 883, 0, 0 },
704 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 924, 465, 0, 0 },
705 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 961, 383, 0, 0 },
706 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 977, 93, 0, 0 },
707 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1133, 96, 0, 0 },
708 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1219, 951, 0, 0 },
709 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1270, 589, 0, 0 },
710 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1312, 412, 0, 0 },
711 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1380, 577, 0, 0 },
712 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1455, 655, 0, 0 },
713 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1484, 908, 0, 0 },
714 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1513, 169, 0, 0 },
715 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1615, 540, 0, 0 },
716 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1647, 699, 0, 0 },
717 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1691, 390, 0, 0 },
718 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1737, 761, 0, 0 },
719 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 0xA, 0, 1738, 188, 0, 0 },
720 { 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 1425, 433, 443, 0 },
721 { 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 1041, 394, 430, 0 },
722 { 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 918, 546, 581, 0 },
723 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
724};
726 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x233, 0x80, 0x220, 5, 0, 0, 0 },
727 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x237, 0x49C, 0x246, 3, 0, 0, 0 },
728 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x235, 0xF8, 0xA4, 7, 0, 0, 0 },
729 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x23A, 0x560, 0x440, 1, 0, 0, 0 },
730 { { { SPECIAL_STORY_SINCE_DE_SINCERITY, 1 }, { CODES_END, 0 } }, SLOT_WARP0, 0x2E5, 0x240, 0x120, 1, 0, 1, 2 },
731 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0x50, 0x28, 0, 0, 0, 0, 0 },
732 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0x50, 0xFFD8, 0, 0, 0, 0, 0 },
733 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0, 0xFFB8, 0, 0, 0, 0, 0 },
734 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0xFFB0, 0x28, 0, 0, 0, 0, 0 },
735 { { { ITEM(0, 5), 1 }, { CODES_END, 0 } }, SLOT_GAUGE, 0, 0x50, 0, 0, 0, 0, 0 },
736 { { { CODES_END, 0 }, { CODES_END, 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
737};
738void (*stageFuncs[])(void) = {
740};
742 { 1279, script1279, EVENT_TEXT(0x19), NULL, endEvent1279 },
743 { 1280, script1280, EVENT_TEXT(0x1A), NULL, endEvent1280 },
744 { -1, NULL, 0, NULL, NULL },
745};
#define NULL
Definition common.h:17
signed short s16
Definition common.h:9
unsigned short u16
Definition common.h:10
GameFlags FLAGS_00
The flag bitset FLAGS_00 and the event functions.
Definition events.c:701
GameState GAME
The save data, the game mode and the methods.
Definition state.c:64
#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
EventTask * FIELDSTG_startEvent(s32 id)
Starts the event id of FieldState.events: its script, start and end, and its text; the player stands ...
Definition event.c:250
The stage overlays (AAA/PRO/WSTAG###.PRO), loaded at 0x800A4CA4 on top of FIELDSTG.
#define EVENT_TEXT(n)
An entry of the stage's events' text file, for FieldEvent.text.
Definition stage.h:732
void updateStage()
The names every stage defines, each its own (config/<version>/stages/<stage>.txt).
#define SCRIPT_WAIT_WALK(id)
until the character gets to its goal
Definition field_map.h:168
#define FIELD_COMMAND_HALT_PARTNERS
The field commands, which an event script hands FIELD_TASK_COMMANDS as the first argument of a pose c...
Definition field_map.h:41
#define SCRIPT_END
The commands of an event script (FieldEvent.script), as FIELDSTG_runEvent reads them: a halfword kind...
Definition field_map.h:156
#define SCRIPT_COMMAND(id, command, arg)
the same word for a script command's id: FIELDSTG_setEventPose creates its task if none runs and hand...
Definition field_map.h:161
#define SCRIPT_FOLLOW(snap, id)
FIELDSTG_followWithCamera.
Definition field_map.h:171
#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 FIELD_COMMAND_ICON3
its substate 3, with ITEM_GET
Definition field_map.h:44
#define SLOT_GAUGE
the gauge game
Definition field_map.h:261
#define SCRIPT_WALK(id, x, y, dir)
Actor.setGoal: walks to (x, y), then faces dir.
Definition field_map.h:162
#define SCRIPT_WAIT_BOX
until box 0 closes
Definition field_map.h:167
#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 SCRIPT_POSE(id, set, dir)
Actor.setPose: its animation set, facing dir.
Definition field_map.h:158
#define FIELD_MAP_TRIGGERS
a cell's value: a direction (3 bits) and a StageSlot (5)
Definition field_map.h:88
#define SCRIPT_WAIT(frames)
Definition field_map.h:166
#define FIELD_TASK_COMMANDS
script command 813 (FIELDSTG_startCommandTask): the field commands
Definition field_map.h:33
#define SLOT_WARP0
the same with effect and cutscene 0
Definition field_map.h:264
#define SCRIPT_PLACE(id, x, y)
puts a character at (x, y)
Definition field_map.h:157
#define SCRIPT_TALK(box, entry, id, kind)
box of the event's boxes shows the event text's entry: a talk box at the corner kind next to the char...
Definition field_map.h:165
FieldMap FIELDSTG_map
Definition fieldstg.c:3660
FieldState FIELDSTG_state
Definition fieldstg.c:2641
#define START_EVENT(index)
action: FIELDSTG_startListedEvent
Definition game_state.h:81
#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_SWAMP
ENV_0012: the South Sector's swamps and Bulk Bridge.
Definition sound.h:128
#define MUSIC_BATTLE
BATL0000: the maps' random battles (AreaBattle, nearly all of them)
Definition sound.h:76
#define MUSIC_BOSS
BOSS_000: the sectors' boss battles.
Definition sound.h:108
#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,...
#define FLAG_MEI_LIN_FOUGHT
wstag450 (Bulk Bridge): Tamer Mei Lin says "Then let's Digimon Battle!" and starts a Digimon battle; ...
Definition story.h:853
@ STORY_PRESIDENT_ARRESTED
WSTAG226 (Login Room, Amaterasu City), event 935, after the President of MAGAMI gives himself up (WST...
Definition story.h:136
@ STORY_KNIGHTMON_REPROGRAMMED
WSTAG210 (Main Lobby, Asuka City), event 685: the A.o.A have reprogrammed Knightmon,...
Definition story.h:97
#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 FLAG_PAILDRAMON_WIN_SEEN
wstag450 event 1279: Paildramon loses and gives the Veemon DDNA; set at its end, tested 1 to start ev...
Definition story.h:1399
#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_PAILDRAMON_DDNA_FOUGHT
wstag450 Bulk Bridge: set when talking to Paildramon starts his Veemon DDNA challenge event; later ta...
Definition story.h:1182
#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 SPECIAL_STORY_GENJI_BEATEN_TO_GAME_MASTER_CAUGHT
GAME.progress is from STORY_GENJI_BEATEN to STORY_GAME_MASTER_CAUGHT (PROGRESS_RANGES[1])
Definition story.h:1866
#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
#define FLAG_BULK_BRIDGE_TIN_MAIL_FOUND
wstag450: chest that gives the Tin Mail, "I got" text; its conditions test it 0
Definition story.h:188
#define FLAG_CATHERINE_FOUGHT
wstag350 (West Wire Forest): Tamer Catherine says "Let's Digimon Battle now... but go easy on me.
Definition story.h:825
#define SPECIAL_STORY_SINCE_DE_SINCERITY
GAME.progress is STORY_DE_SINCERITY or later (PROGRESS_RANGES[0xC], to 0x63)
Definition story.h:1899
#define SPECIAL_SHOW_ITEM_GET_ICON
an action: the player's icon plays its animation 3 with SOUND_ITEM_GET (FIELD_COMMAND_ICON3); the tal...
Definition story.h:1982
#define FLAG_BK_IMPERIALDRAMON_CHALLENGE_SEEN
wstag450 event 1280: the player accepts BK Imperialdramon's battle; set at its end,...
Definition story.h:1402
#define SPECIAL_STORY_SINCE_GENJI_BEATEN
GAME.progress is STORY_GENJI_BEATEN or later (PROGRESS_RANGES[6], to 0x63)
Definition story.h:1881
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
An event of the table FieldState.events, up to the first id -1, which FIELDSTG_startEvent starts.
Definition field_map.h:141
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
FieldEvent * events
up to the first id -1
Definition field_map.h:451
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 a character says (FIELDSTG_runActorAction): the first whose conditions hold, or the last,...
Definition field_map.h:176
void(* applyAction)(s32 code, s32 value)
Definition game_state.h:52
s32(* checkCondition)(u16 code, u16 value)
Definition game_state.h:53
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
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 place1Area2Battle4
Definition wstag450.c:223
u16 actor1Conditions[]
Definition wstag450.c:494
u16 actor0Talk0Actions[]
Definition wstag450.c:261
u16 actor6Talk0Actions[]
Definition wstag450.c:393
FieldActorEntry actor0
Definition wstag450.c:526
AreaBattle place1Area1Battle2
Definition wstag450.c:208
AreaBattle place1Area0Battle3
Definition wstag450.c:196
AreaBattle place0Area1Battle2
Definition wstag450.c:156
void(* stageFuncs[])(void)
The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a t...
Definition wstag450.c:738
FieldActorEntry actor6
Definition wstag450.c:532
u16 actor7Talk1Conditions[]
Definition wstag450.c:396
AreaBattle place1Area1Battle5
Definition wstag450.c:211
u16 actor7Talk4Conditions[]
Definition wstag450.c:407
AreaBattle place0Area0Battle6
Definition wstag450.c:147
AreaBattle place0Area1Battle7
Definition wstag450.c:161
FieldTalk actor2Talks[]
Definition wstag450.c:448
u16 actor2Talk1Conditions[]
Definition wstag450.c:309
u16 actor4Talk3Conditions[]
Definition wstag450.c:357
u16 actor4Talk6Actions[]
Definition wstag450.c:391
AreaBattle place0Area3Battle0
Definition wstag450.c:180
AreaBattle place0Area1Battle5
Definition wstag450.c:159
BattleList place0Area3Battles
Definition wstag450.c:188
AreaBattle place1Area0Battle6
Definition wstag450.c:199
u16 actor4Talk6Conditions[]
Definition wstag450.c:382
AreaBattle place1Area0Battle1
Definition wstag450.c:194
AreaBattle place1Area2Battle7
Definition wstag450.c:226
u16 actor4Talk2Actions[]
Definition wstag450.c:356
AreaBattle place1Area3Battle3
Definition wstag450.c:235
u16 actor7Talk5Conditions[]
Definition wstag450.c:415
u16 actor7Talk2Conditions[]
Definition wstag450.c:397
AreaBattle place0Area2Battle1
Definition wstag450.c:168
AreaBattle place0Area1Battle0
Definition wstag450.c:154
AreaBattle place0Area2Battle0
Definition wstag450.c:167
BattleList place0Area2Battles
Definition wstag450.c:175
FieldTalk actor5Talks[]
Definition wstag450.c:474
BattleList place1Area1Battles
Definition wstag450.c:214
AreaBattle place1Area1Battle7
Definition wstag450.c:213
AreaBattle place0Area0Battle1
Definition wstag450.c:142
u16 actor1Talk3Actions[]
Definition wstag450.c:279
AreaBattle place0Area3Battle7
Definition wstag450.c:187
FieldActorEntry actor5
Definition wstag450.c:531
AreaBattle place1Area3Battle5
Definition wstag450.c:237
AreaBattle place1Area3Battle7
Definition wstag450.c:239
u16 actor4Talk4Conditions[]
Definition wstag450.c:365
u16 actor1Talk2Actions[]
Definition wstag450.c:271
u16 actor1Talk1Conditions[]
Definition wstag450.c:269
FieldActorEntry actor2
Definition wstag450.c:528
AreaBattle place1Area1Battle4
Definition wstag450.c:210
const CVECTOR stageColor
the color the setup copies to FIELDSTG_state.spriteColor
Definition wstag450.c:46
u16 actor6Talk1Conditions[]
Definition wstag450.c:394
u16 actor3Talk0Conditions[]
Definition wstag450.c:347
AreaBattle place0Area0Battle2
Definition wstag450.c:143
u16 actor7Talk0Conditions[]
Definition wstag450.c:395
FieldActorEntry * stageActors[]
Definition wstag450.c:534
AreaBattle place0Area0Battle4
Definition wstag450.c:145
u16 actor2Talk3Conditions[]
Definition wstag450.c:312
u16 actor7Talk6Conditions[]
Definition wstag450.c:424
BattleList place0Area1Battles
Definition wstag450.c:162
u16 actor4Talk1Conditions[]
Definition wstag450.c:354
u16 actor7Talk6Actions[]
Definition wstag450.c:433
AreaBattle place0Area1Battle4
Definition wstag450.c:158
AreaBattle place1Area2Battle0
Definition wstag450.c:219
BattleList place1Area0Battles
Definition wstag450.c:201
s16 script1280[]
Definition wstag450.c:115
FieldTalk actor1Talks[]
Definition wstag450.c:438
u16 actor4Talk5Conditions[]
Definition wstag450.c:373
u16 actor1Talk6Actions[]
Definition wstag450.c:306
AreaBattle place0Area3Battle1
Definition wstag450.c:181
u16 actor1Talk0Conditions[]
Definition wstag450.c:267
FieldTalk actor0Talks[]
Definition wstag450.c:434
AreaBattle place0Area3Battle2
Definition wstag450.c:182
AreaBattle place1Area2Battle2
Definition wstag450.c:221
u16 actor3Talk2Conditions[]
Definition wstag450.c:350
u16 actor3Talk1Conditions[]
Definition wstag450.c:348
AreaBattle place1Area3Battle2
Definition wstag450.c:234
u16 actor2Talk0Actions[]
Definition wstag450.c:308
FieldTalk actor4Talks[]
Definition wstag450.c:464
u16 actor4Conditions[]
Definition wstag450.c:512
FieldActorEntry actor4
Definition wstag450.c:530
u16 actor3Conditions[]
Definition wstag450.c:506
void endEvent1280(void)
After event 1280, with Paildramon: gives the player the Veemon DDNA and keeps it from playing again.
Definition wstag450.c:41
u16 actor2Talk2Conditions[]
Definition wstag450.c:310
AreaBattle place0Area0Battle7
Definition wstag450.c:148
AreaBattle place1Area3Battle0
Definition wstag450.c:232
u16 actor2Talk3Actions[]
Definition wstag450.c:319
ActorImage stageImages[]
Definition wstag450.c:249
AreaBattle place0Area1Battle6
Definition wstag450.c:160
FieldTalk actor6Talks[]
Definition wstag450.c:478
void setupStage(void)
Sets the stage up: its map, actors, battles and events, playing the ambience ENV_0012; battle list 0 ...
Definition wstag450.c:60
AreaBattle place0Area1Battle3
Definition wstag450.c:157
s16 script1279[]
Definition wstag450.c:87
u16 actor4Talk0Conditions[]
Definition wstag450.c:352
AreaBattle place0Area3Battle4
Definition wstag450.c:184
AreaBattle place0Area2Battle6
Definition wstag450.c:173
AreaBattle place0Area0Battle3
Definition wstag450.c:144
StageTile stageObjects[]
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition wstag450.c:545
u16 actor5Conditions[]
Definition wstag450.c:518
FieldTalk actor3Talks[]
Definition wstag450.c:458
u16 actor2Talk6Actions[]
Definition wstag450.c:346
u16 actor3Talk1Actions[]
Definition wstag450.c:349
AreaBattle place0Area2Battle4
Definition wstag450.c:171
u16 actor2Talk5Conditions[]
Definition wstag450.c:328
u16 actor3Talk2Actions[]
Definition wstag450.c:351
AreaBattle place1Area1Battle1
Definition wstag450.c:207
BattleList place1Area2Battles
Definition wstag450.c:227
u16 actor2Talk0Conditions[]
Definition wstag450.c:307
AreaBattle place1Area2Battle3
Definition wstag450.c:222
AreaBattle place1Area1Battle3
Definition wstag450.c:209
u16 actor2Talk2Actions[]
Definition wstag450.c:311
u16 actor6Talk0Conditions[]
Definition wstag450.c:392
u16 actor6Conditions[]
Definition wstag450.c:524
void endEvent1279(void)
After event 1279, with Paildramon: lets event 1280 start and starts the stage's event battle 1.
Definition wstag450.c:32
AreaBattle place0Area3Battle6
Definition wstag450.c:186
AreaBattle place0Area3Battle3
Definition wstag450.c:183
AreaBattle place1Area2Battle1
Definition wstag450.c:220
FieldActorEntry actor7
Definition wstag450.c:533
u16 actor2Talk6Conditions[]
Definition wstag450.c:337
StageSlot stageSlots[]
Definition wstag450.c:725
u16 actor1Talk0Actions[]
Definition wstag450.c:268
BattleList place1Area3Battles
Definition wstag450.c:240
AreaBattle place1Area2Battle5
Definition wstag450.c:224
AreaBattle place1Area1Battle6
Definition wstag450.c:212
u16 actor1Talk5Conditions[]
Definition wstag450.c:288
AreaBattle place1Area0Battle2
Definition wstag450.c:195
BattleList place0Area0Battles
Definition wstag450.c:149
AreaBattle place0Area2Battle3
Definition wstag450.c:170
AreaBattle place1Area3Battle6
Definition wstag450.c:238
AreaBattle place1Area0Battle0
Definition wstag450.c:193
u16 actor1Talk2Conditions[]
Definition wstag450.c:270
FieldActorEntry actor1
Definition wstag450.c:527
#define STAGE_FILE
Definition wstag450.c:54
u16 actor4Talk0Actions[]
Definition wstag450.c:353
AreaBattle place1Area3Battle1
Definition wstag450.c:233
AreaBattle place0Area0Battle5
Definition wstag450.c:146
AreaBattle place1Area1Battle0
Definition wstag450.c:206
AreaBattle place0Area3Battle5
Definition wstag450.c:185
u16 actor7Conditions[]
Definition wstag450.c:525
AreaBattle place0Area2Battle2
Definition wstag450.c:169
u16 actor2Conditions[]
Definition wstag450.c:500
AreaBattle place1Area0Battle5
Definition wstag450.c:198
u16 actor7Talk3Conditions[]
Definition wstag450.c:399
FieldTalk actor7Talks[]
Definition wstag450.c:483
AreaBattle place1Area2Battle6
Definition wstag450.c:225
AreaBattle place1Area0Battle7
Definition wstag450.c:200
AreaBattle place0Area2Battle7
Definition wstag450.c:174
u16 actor4Talk3Actions[]
Definition wstag450.c:364
#define STAGE_TEXT
Definition wstag450.c:52
AreaBattle place1Area0Battle4
Definition wstag450.c:197
u16 actor2Talk4Conditions[]
Definition wstag450.c:320
AreaBattle place0Area1Battle1
Definition wstag450.c:155
u16 actor7Talk3Actions[]
Definition wstag450.c:406
u16 actor1Talk4Conditions[]
Definition wstag450.c:280
u16 actor4Talk2Conditions[]
Definition wstag450.c:355
AreaBattle place0Area2Battle5
Definition wstag450.c:172
FieldActorEntry actor3
Definition wstag450.c:529
FieldBattles stageBattles[]
Definition wstag450.c:245
u16 actor1Talk6Conditions[]
Definition wstag450.c:297
AreaBattle place0Area0Battle0
Definition wstag450.c:141
FieldEvent stageEvents[]
Definition wstag450.c:741
u16 actor1Talk3Conditions[]
Definition wstag450.c:272
AreaBattle place1Area3Battle4
Definition wstag450.c:236
u16 actor0Conditions[]
Definition wstag450.c:493
u16 actor7Talk2Actions[]
Definition wstag450.c:398