Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
wstag210.c
Go to the documentation of this file.
1/*
2 * WSTAG210: Main Lobby, Asuka City.
3 */
4
5#include "common.h"
6#define STAGE_TWEEN /* stageFuncs is a StageFuncs (stage.h) */
7#include "field/stage.h"
8/* Defined below, after the code that uses them */
9extern s32 listWindowFrames[];
10
11/* The text file of the menus, which the versions number differently */
12#if VERSION_US || VERSION_JP
13#define MENU_TEXT TEXT_FILE(TEXT_EVENTS_200)
14#elif VERSION_EU
15#define MENU_TEXT (TEXT_EVENTS_200 - 1)
16#endif
17
19
20/* A list of up to eight options that each open a message */
22 SpriteDrawer drawer;
23 s32 prev;
24
25 switch (task->state) {
26 case TASK_INIT:
27 default:
28 createListMenu(task, children);
29 break;
30 case TASK_RUN:
31 switch (task->substate) {
32 case 0:
33 default:
34 stageFuncs.start(&task->tweens[0], 1);
35 task->substate++;
36 break;
37 case 1:
38 if (stageFuncs.update(&task->tweens[0])) {
39 showListMenuOptions(task, children, 0x1);
40 task->substate++;
41 }
42 break;
43 case 2:
44 prev = task->cursor;
46 if (prev != task->cursor) {
48 children->cursor->setPos(children->cursor, 0xAF, task->cursor * 14 + 0x21);
49 break;
50 }
53 if (task->cursor == task->count - 1) {
54 task->substate = 10;
55 } else {
56 task->substate++;
57 }
58 } else if (PAD_PRESSED(PAD_TRIANGLE)) {
60 task->substate = 10;
61 }
62 break;
63 case 3:
64 children->cursor->setStill(children->cursor, 1);
65 children->cursor->setPalette(children->cursor, PALETTE_GREY);
66 stageFuncs.start(&task->tweens[1], 1);
67 task->substate++;
68 break;
69 case 4:
70 if (stageFuncs.update(&task->tweens[1])) {
71 openListMenuMessage(task, children, 0x1);
72 task->substate++;
73 }
74 break;
75 case 5:
76 readListMenuMessage(task, children);
77 break;
78 case 6:
79 stageFuncs.start(&task->tweens[1], 0);
80 children->message->setVisible(children->message, 0);
81 task->substate++;
82 break;
83 case 7:
84 if (stageFuncs.update(&task->tweens[1])) {
85 children->cursor->setStill(children->cursor, 0);
86 children->cursor->setPalette(children->cursor, PALETTE_WHITE);
87 task->substate = 2;
88 }
89 break;
90 case 10:
91 closeListMenu(task, children);
92 break;
93 case 11:
94 if (stageFuncs.update(&task->tweens[0])) {
95 task->state = TASK_KILL;
96 }
97 break;
98 }
99 initSpriteDrawer(&drawer);
100 drawer.setLayerId(FIELD_LAYER_MAP, 2);
101 drawer.setTexture(0x140, 0);
102 drawer.setFollowScroll(0);
103 if (task->showArrow) {
104 if (GFX.funcs.getTime() - task->arrowTime >= 4) {
105 task->arrowTime = GFX.funcs.getTime();
106 if (++task->arrowFrame >= 5) {
107 task->arrowFrame = 0;
108 }
109 }
110 drawer.setClutRow(task->arrowFrame);
111 drawer.draw(FILE_CACHE.getEntry(MENU_SPRITES), 0xA, 0x124, 0xCD);
112 drawer.setClutRow(0);
113 }
114 if (task->tweens[0].level != 0) {
115 if (task->tweens[0].level != 0x1000) {
116 drawer.setScale(task->tweens[0].level, 0x1000, 0x1000);
117 drawer.setPivot(0x140, 0x56);
118 }
119 drawer.draw(FILE_CACHE.getEntry(MENU_SPRITES), listWindowFrames[task->count - 5], 0xA8, 0x18);
120 }
121 if (task->tweens[1].level != 0) {
122 if (task->tweens[1].level != 0x1000) {
123 drawer.setScale(task->tweens[1].level, 0x1000, 0x1000);
124 drawer.setPivot(0x140, 0x56);
125 }
126 drawer.draw(FILE_CACHE.getEntry(MENU_SPRITES), 0x45, 0, 0xAC);
127 }
128 break;
129 case TASK_DONE:
130 stageFuncs.start(&task->tweens[0], 1);
131 stageFuncs.update(&task->tweens[0]);
132 break;
133 case TASK_KILL:
134 break;
135 }
136}
137
138/*
139 * Starts event 8, the guide to Digimon Online: a list of topics (Objective,
140 * City Guide, Field Guide, Battle Tips, Training Basics, Status Screen...)
141 * that each open a message
142 */
143void *startEvent8(void) {
145}
146
147/* A two-option menu: creates the event object of the chosen option */
148void updateEvent9(StageMenu *task, ChoiceChildren *children) {
149 SpriteDrawer drawer;
150 s32 prev;
151 s32 i;
152 s32 j;
153 s32 k;
154
155 switch (task->state) {
156 case TASK_INIT:
157 default:
158 task->nextState(task);
159 task->tween.duration = 10;
160 for (i = 0; i < 2; i++) {
161 children->options[i] = createTextWindow(FIELD_LAYER_MAP, 1, 0x1C, 0xBE + i * 14);
162 children->options[i]->setDepth(children->options[i], 1);
163 }
164 children->cursor = createCursor(FIELD_LAYER_MAP, 1, 0x12, 0xBE);
165 children->cursor->setVisible(children->cursor, 0);
166 children->title = createTextWindow(FIELD_LAYER_MAP, 1, 0x12, 0xB0);
167 break;
168 case TASK_RUN:
169 switch (task->substate) {
170 case 0:
171 default:
172 stageFuncs.start(&task->tween, 1);
173 task->substate++;
174 break;
175 case 1:
176 if (stageFuncs.update(&task->tween)) {
177 for (j = 0; j < 2; j++) {
178 children->options[j]->setString(children->options[j], FILE_CACHE.getEntry(TEXT_ENTRY(MENU_TEXT, 0x2)), j + 2);
179 }
180 children->cursor->setVisible(children->cursor, 1);
181 children->title->setString(children->title, FILE_CACHE.getEntry(TEXT_ENTRY(MENU_TEXT, 0x2)), 1);
182 task->substate++;
183 }
184 break;
185 case 2:
186 prev = task->cursor;
188 if (--task->cursor < 0) {
189 task->cursor = 0;
190 }
191 } else if (PAD_PRESSED(PAD_DOWN) || PAD_REPEATED(PAD_DOWN)) {
192 task->cursor++;
193 if (task->cursor > 1) {
194 task->cursor = 1;
195 }
196 }
197 if (prev != task->cursor) {
199 children->cursor->setPos(children->cursor, 0x12, task->cursor * 14 + 0xBE);
200 break;
201 }
202 if (PAD_PRESSED(PAD_CROSS)) {
204 task->substate = 10;
205 task->step = 1;
206 }
207 break;
208 case 3:
209 children->event = FIELDSTG_startEvent(task->cursor == 0 ? 0xD : 0xE);
210 task->substate++;
211 break;
212 case 4:
213 if (children->event == NULL) {
214 task->state = TASK_KILL;
215 }
216 break;
217 case 10:
218 for (k = 0; k < 2; k++) {
219 children->options[k]->setVisible(children->options[k], 0);
220 }
221 children->cursor->setVisible(children->cursor, 0);
222 children->title->setVisible(children->title, 0);
223 stageFuncs.start(&task->tween, 0);
224 task->substate++;
225 break;
226 case 11:
227 if (stageFuncs.update(&task->tween)) {
228 if (task->step == 1) {
229 task->substate = 3;
230 } else {
231 task->state = TASK_KILL;
232 }
233 }
234 break;
235 }
236 initSpriteDrawer(&drawer);
237 drawer.setLayerId(FIELD_LAYER_MAP, 2);
238 drawer.setTexture(0x140, 0);
239 drawer.setFollowScroll(0);
240 if (task->tween.level != 0) {
241 if (task->tween.level != 0x1000) {
242 drawer.setScale(task->tween.level, 0x1000, 0x1000);
243 drawer.setPivot(0, 0xC3);
244 }
245 drawer.draw(FILE_CACHE.getEntry(MENU_SPRITES), 0x45, 0, 0xAC);
246 }
247 break;
248 case TASK_DONE:
249 case TASK_KILL:
250 break;
251 }
252}
253
254/*
255 * Starts event 9, which asks whether to download the partner Digimon now:
256 * yes starts event 13, no event 14
257 */
258void *startEvent9(void) {
259 return createTask(updateEvent9, sizeof(StageMenu), sizeof(ChoiceChildren));
260}
261
262/* A two-option menu: creates the event object of the chosen option */
264 SpriteDrawer drawer;
265 s32 prev;
266 s32 i;
267 s32 j;
268 s32 k;
269
270 switch (task->state) {
271 case TASK_INIT:
272 default:
273 task->nextState(task);
274 task->tween.duration = 10;
275 for (i = 0; i < 2; i++) {
276 children->options[i] = createTextWindow(FIELD_LAYER_MAP, 1, 0x1C, 0xBE + i * 14);
277 children->options[i]->setDepth(children->options[i], 1);
278 }
279 children->cursor = createCursor(FIELD_LAYER_MAP, 1, 0x12, 0xBE);
280 children->cursor->setVisible(children->cursor, 0);
281 children->title = createTextWindow(FIELD_LAYER_MAP, 1, 0x12, 0xB0);
282 break;
283 case TASK_RUN:
284 switch (task->substate) {
285 case 0:
286 default:
287 stageFuncs.start(&task->tween, 1);
288 task->substate++;
289 break;
290 case 1:
291 if (stageFuncs.update(&task->tween)) {
292 for (j = 0; j < 2; j++) {
293 children->options[j]->setString(children->options[j], FILE_CACHE.getEntry(TEXT_ENTRY(MENU_TEXT, 0x35)), j + 2);
294 }
295 children->cursor->setVisible(children->cursor, 1);
296 children->title->setString(children->title, FILE_CACHE.getEntry(TEXT_ENTRY(MENU_TEXT, 0x35)), 1);
297 task->substate++;
298 }
299 break;
300 case 2:
301 prev = task->cursor;
303 if (--task->cursor < 0) {
304 task->cursor = 0;
305 }
306 } else if (PAD_PRESSED(PAD_DOWN) || PAD_REPEATED(PAD_DOWN)) {
307 task->cursor++;
308 if (task->cursor > 1) {
309 task->cursor = 1;
310 }
311 }
312 if (prev != task->cursor) {
314 children->cursor->setPos(children->cursor, 0x12, task->cursor * 14 + 0xBE);
315 break;
316 }
317 if (PAD_PRESSED(PAD_CROSS)) {
319 task->substate = 10;
320 task->step = 1;
321 }
322 break;
323 case 3:
324 children->event = FIELDSTG_startEvent(task->cursor == 0 ? 0x3A : 0x5E7);
325 task->substate++;
326 break;
327 case 4:
328 if (children->event == NULL) {
329 task->state = TASK_KILL;
330 }
331 break;
332 case 10:
333 for (k = 0; k < 2; k++) {
334 children->options[k]->setVisible(children->options[k], 0);
335 }
336 children->cursor->setVisible(children->cursor, 0);
337 children->title->setVisible(children->title, 0);
338 stageFuncs.start(&task->tween, 0);
339 task->substate++;
340 break;
341 case 11:
342 if (stageFuncs.update(&task->tween)) {
343 if (task->step == 1) {
344 task->substate = 3;
345 } else {
346 task->state = TASK_KILL;
347 }
348 }
349 break;
350 }
351 initSpriteDrawer(&drawer);
352 drawer.setLayerId(FIELD_LAYER_MAP, 2);
353 drawer.setTexture(0x140, 0);
354 drawer.setFollowScroll(0);
355 if (task->tween.level != 0) {
356 if (task->tween.level != 0x1000) {
357 drawer.setScale(task->tween.level, 0x1000, 0x1000);
358 drawer.setPivot(0, 0xC3);
359 }
360 drawer.draw(FILE_CACHE.getEntry(MENU_SPRITES), 0x45, 0, 0xAC);
361 }
362 break;
363 case TASK_DONE:
364 case TASK_KILL:
365 break;
366 }
367}
368
369/*
370 * Starts event 1510, which asks whether to listen to basic tamer
371 * information: yes starts event 58, no event 1511
372 */
373void *startEvent1510(void) {
374 return createTask(updateEvent1510, sizeof(StageMenu), sizeof(ChoiceChildren));
375}
376
377/* Creates the event object of the story so far, the first that applies */
378void updateStage(StageTask *task, void **children) {
379 switch (task->state) {
380 case TASK_INIT:
381 default:
382 do {
384 children[0] = FIELDSTG_startEvent(0x136);
385 break;
386 }
388 children[0] = FIELDSTG_startEvent(0x2AD);
389 break;
390 }
391 } while (0);
392 task->nextState(task);
393 break;
394 case TASK_RUN:
395 case TASK_DONE:
396 case TASK_KILL:
397 break;
398 }
399}
400
401#define STAGE_CHILDREN_SIZE 4
403
404/* After event 310, with Kail: sets flag 0x4005 and keeps it from playing again */
405void endEvent310(void) {
406 FLAGS_00.applyAction(FLAG(0x40, 5), 1);
407 FLAGS_00.applyAction(FLAG(0x1C, 0xB), 1);
408}
409
410/*
411 * After event 685, with Teddy: moves the story on to STORY_KNIGHTMON_REPROGRAMMED and
412 * clears flag 0x1C26 (which decides whether actors 17, 19, 21 and 23 in
413 * WSTAG660 appear)
414 */
415void endEvent685(void) {
416 FLAGS_00.applyAction(FLAG(0x1C, 0x26), 0);
418}
419
420/* the color the setup copies to FIELDSTG_state.spriteColor */
421const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0 };
422
423#if VERSION_US || VERSION_JP
424#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_00)
425#define EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1)
426#define STAGE_FILE 0x18D
427#define STAGE_ARCHIVE 0x313
428#elif VERSION_EU
429#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_00)
430#define EVENT_TEXT_FILE (TEXT_EVENTS_200 - 1)
431#define STAGE_FILE 0x19B
432#define STAGE_ARCHIVE 0x322
433#endif
434/*
435 * Sets the stage up: its map, actors, battles and events, playing KANRIBGM;
436 * BGM_0029 instead at story steps 0x14 to 0x17 and 0x27 to 0x28
437 */
466
469
471 SCRIPT_FOLLOW(1, 2),
472 SCRIPT_WALK(2, 0x160, 0x110, 5),
473 SCRIPT_PLACE(0x20, 0x180, 0xFF),
474 SCRIPT_POSE(0x20, 1, 1),
475 SCRIPT_PLACE(0x24, 0x1B2, 0xF7),
476 SCRIPT_POSE(0x24, 1, 7),
478 SCRIPT_POSE(2, 1, 5),
479 SCRIPT_WAIT(0x1E),
480 SCRIPT_TALK(0, 1, 0x20, 0),
482 SCRIPT_LEAVE(0x204, 0x160, 0x110, 5),
484};
486 SCRIPT_FOLLOW(1, 2),
487 SCRIPT_WALK(2, 0x160, 0x110, 5),
488 SCRIPT_PLACE(0x20, 0x180, 0xFF),
489 SCRIPT_POSE(0x20, 1, 1),
490 SCRIPT_PLACE(0x24, 0x1B2, 0xF7),
491 SCRIPT_POSE(0x24, 1, 7),
493 SCRIPT_POSE(2, 1, 5),
494 SCRIPT_WAIT(0x1E),
495 SCRIPT_TALK(0, 1, 0x20, 0),
497 SCRIPT_WAIT(0x1E),
498 SCRIPT_POSE(2, 1, 1),
499 SCRIPT_WAIT(0x1E),
500 SCRIPT_TALK(0, 2, 2, 3),
502 SCRIPT_WAIT(0x1E),
503 SCRIPT_WALK(2, 0x150, 0x118, 1),
506};
508 SCRIPT_FOLLOW(1, 2),
509 SCRIPT_POSE(2, 1, 1),
510 SCRIPT_COMMAND(0x323, 0x325, 2),
512 SCRIPT_WAIT(0x3C),
513 SCRIPT_COMMAND(0x323, 0x326, 2),
514 SCRIPT_WAIT(0x1E),
515 SCRIPT_WALK(2, 0xB2, 0x167, 5),
517 SCRIPT_POSE(2, 1, 5),
518 SCRIPT_WAIT(0x1E),
519 SCRIPT_TALK(0, 1, 2, 2),
521 SCRIPT_POSE(2, 1, 5),
522 SCRIPT_WAIT(0x1E),
524 /* after the end, the original's padding up to a word, which isn't zeros */
525#if VERSION_EU
526 0x5DE0,
527#endif
528};
530 SCRIPT_FOLLOW(1, 2),
531 SCRIPT_POSE(2, 1, 7),
532 SCRIPT_COMMAND(0x323, 0x325, 2),
534 SCRIPT_WAIT(0x3C),
535 SCRIPT_COMMAND(0x323, 0x326, 2),
536 SCRIPT_WAIT(0x1E),
537 SCRIPT_WALK(2, 0x27F, 0x22D, 3),
539 SCRIPT_POSE(2, 1, 3),
540 SCRIPT_COMMAND(0x323, 0x326, 2),
541 SCRIPT_WAIT(0x1E),
542 SCRIPT_TALK(0, 1, 2, 2),
544 SCRIPT_POSE(2, 1, 3),
545 SCRIPT_WAIT(0x1E),
547 /* after the end, the original's padding up to a word, which isn't zeros */
548#if VERSION_EU
549 0x4A5F,
550#endif
551};
553 SCRIPT_WAIT(0x1E),
554 SCRIPT_WAIT(0x1E),
555 SCRIPT_TALK(0, 1, 0x20, 2),
557 SCRIPT_WAIT(0x1E),
559 SCRIPT_WAIT(0x1E),
560 SCRIPT_TALK(0, 2, 2, 4),
562 SCRIPT_WAIT(0x1E),
563 SCRIPT_TALK(0, 3, 0x20, 4),
565 SCRIPT_WAIT(0x1E),
566 SCRIPT_TALK(0, 4, 2, 4),
568 SCRIPT_WAIT(0x1E),
570 SCRIPT_WAIT(0x1E),
571 SCRIPT_WAIT(0x1E),
572 SCRIPT_TALK(0, 5, 0x20, 2),
574 SCRIPT_WAIT(0x1E),
576};
578 SCRIPT_FOLLOW(1, 0x6A),
579 SCRIPT_PLACE(0x20, 0x180, 0xFF),
580 SCRIPT_POSE(0x20, 1, 1),
581 SCRIPT_PLACE(0x24, 0x1B2, 0xF7),
582 SCRIPT_POSE(0x24, 1, 7),
583 SCRIPT_PLACE(0x2D, 0x29F, 0x178),
584 SCRIPT_POSE(0x2D, 1, 7),
585 SCRIPT_PLACE(0x31, 0x178, 0xD5),
586 SCRIPT_POSE(0x31, 1, 7),
587 SCRIPT_PLACE(0x36, 0x217, 0x133),
588 SCRIPT_POSE(0x36, 1, 1),
589 SCRIPT_PLACE(0x37, 0x148, 0x104),
590 SCRIPT_POSE(0x37, 1, 6),
591 SCRIPT_PLACE(0x41, 0x122, 0x159),
592 SCRIPT_POSE(0x41, 1, 5),
593 SCRIPT_PLACE(0x6A, 0x13D, 0x137),
594 SCRIPT_POSE(0x6A, 1, 3),
595 SCRIPT_PLACE(0x6B, 0x11D, 0x127),
596 SCRIPT_POSE(0x6B, 1, 7),
597 SCRIPT_WAIT(0x78),
598 SCRIPT_TALK(0, 1, 0x6A, 3),
600 SCRIPT_WAIT(0x1E),
601 SCRIPT_TALK(0, 2, 0x6B, 0),
603 SCRIPT_WAIT(0x1E),
604 SCRIPT_TALK(0, 3, 0x6A, 3),
606 SCRIPT_WAIT(0x1E),
607 SCRIPT_TALK(0, 4, 0x6B, 0),
609 SCRIPT_WAIT(0x1E),
610 SCRIPT_TALK(0, 5, 0x6A, 3),
612 SCRIPT_WAIT(0x1E),
613 SCRIPT_TALK(0, 6, 0x6B, 0),
615 SCRIPT_FOLLOW(0, 0x6B),
616 SCRIPT_POSE(0x6B, 1, 3),
617 SCRIPT_WAIT(0x1E),
618 SCRIPT_POSE(0x6A, 1, 4),
619 SCRIPT_WALK(0x6B, 0x11D, 0xD8, 4),
620 SCRIPT_WAIT_WALK(0x6B),
621 SCRIPT_WALK(0x6B, 0x14A, 0xC4, 5),
622 SCRIPT_WAIT_WALK(0x6B),
624 SCRIPT_WAIT(0xC),
625 SCRIPT_WALK(0x6B, 0x18A, 0xA4, 5),
626 SCRIPT_WAIT_WALK(0x6B),
628 SCRIPT_WAIT(0x1E),
629 SCRIPT_FOLLOW(0, 0x6A),
630 SCRIPT_PLACE(0x6B, 0, 0),
631 SCRIPT_POSE(0x6B, 1, 0),
632 SCRIPT_WAIT(0x1E),
633 SCRIPT_TALK(0, 7, 0x6A, 0),
635 SCRIPT_WAIT(0x1E),
637};
639 SCRIPT_FOLLOW(1, 0x6A),
640 SCRIPT_POSE(0x6A, 1, 1),
641 SCRIPT_COMMAND(0x323, 0x325, 0x6A),
642 SCRIPT_WAIT(0x3C),
643 SCRIPT_COMMAND(0x323, 0x326, 0x6A),
644 SCRIPT_WAIT(0x1E),
645 SCRIPT_WALK(0x6A, 0xE8, 0x14C, 5),
646 SCRIPT_WAIT_WALK(0x6A),
647 SCRIPT_POSE(0x6A, 1, 5),
648 SCRIPT_WAIT(0x1E),
649 SCRIPT_TALK(0, 1, 0x6A, 3),
651 SCRIPT_POSE(0x6A, 1, 5),
652 SCRIPT_WAIT(0x1E),
654};
656 SCRIPT_FOLLOW(1, 0x6A),
657 SCRIPT_POSE(0x6A, 1, 7),
658 SCRIPT_COMMAND(0x323, 0x325, 0x6A),
659 SCRIPT_WAIT(0x3C),
660 SCRIPT_COMMAND(0x323, 0x326, 0x6A),
661 SCRIPT_WAIT(0x1E),
662 SCRIPT_WALK(0x6A, 0x268, 0x21C, 3),
663 SCRIPT_WAIT_WALK(0x6A),
664 SCRIPT_POSE(0x6A, 1, 3),
665 SCRIPT_WAIT(0x1E),
666 SCRIPT_TALK(0, 1, 0x6A, 1),
668 SCRIPT_POSE(0x6A, 1, 3),
669 SCRIPT_WAIT(0x1E),
671};
673 SCRIPT_PLACE(2, 0x18A, 0xA4),
674 SCRIPT_POSE(2, 1, 1),
676 SCRIPT_WAIT(0x1E),
677 SCRIPT_WALK(2, 0x14A, 0xC4, 1),
678 SCRIPT_PLACE(0xB3, 0x18A, 0xA4),
679 SCRIPT_POSE(0xB3, 1, 1),
681 SCRIPT_WALK(2, 0x12A, 0xD4, 5),
682 SCRIPT_WALK(0xB3, 0x14A, 0xC4, 1),
683 SCRIPT_WAIT_WALK(0xB3),
684 SCRIPT_POSE(2, 1, 5),
685 SCRIPT_POSE(0xB3, 1, 1),
687 SCRIPT_WAIT(6),
688 SCRIPT_WALK(2, 0x11A, 0xDC, 1),
689 SCRIPT_WALK(0xB3, 0x13A, 0xCC, 1),
691 SCRIPT_POSE(2, 1, 5),
692 SCRIPT_POSE(0xB3, 1, 1),
693 SCRIPT_WAIT(0x1E),
694 SCRIPT_TALK(0, 1, 2, 1),
695 SCRIPT_POSE(2, 7, 5),
697 SCRIPT_WALK(2, 0x11A, 0xFC, 4),
698 SCRIPT_WAIT(0xC),
699 SCRIPT_TALK(0, 2, 0xB3, 2),
700 SCRIPT_WALK(0xB3, 0x11A, 0xDC, 0),
702 SCRIPT_POSE(2, 1, 4),
703 SCRIPT_COMMAND(0x323, 0x325, 2),
704 SCRIPT_WAIT(0x3C),
705 SCRIPT_COMMAND(0x323, 0x326, 2),
706 SCRIPT_WAIT(0x1E),
707 SCRIPT_TALK(0, 3, 2, 1),
708 SCRIPT_POSE(2, 7, 4),
710 SCRIPT_POSE(2, 1, 4),
711 SCRIPT_WAIT(0x1E),
712 SCRIPT_COMMAND(0x323, 0x327, 2),
713 SCRIPT_WAIT(0x3C),
714 SCRIPT_COMMAND(0x323, 0x326, 2),
715 SCRIPT_WAIT(0x1E),
716 SCRIPT_TALK(0, 4, 0xB3, 2),
718 SCRIPT_WAIT(0x1E),
719 SCRIPT_TALK(0, 5, 2, 1),
720 SCRIPT_POSE(2, 7, 4),
722 SCRIPT_POSE(2, 1, 4),
723 SCRIPT_WAIT(0x1E),
724 SCRIPT_TALK(0, 6, 0xB3, 2),
726 SCRIPT_WAIT(0x1E),
727 SCRIPT_TALK(0, 7, 2, 1),
728 SCRIPT_POSE(2, 7, 4),
730 SCRIPT_POSE(2, 1, 4),
731 SCRIPT_WAIT(0x1E),
732 SCRIPT_TALK(0, 8, 0xB3, 2),
734 SCRIPT_WAIT(0x1E),
735 SCRIPT_TALK(0, 9, 2, 1),
737 SCRIPT_POSE(2, 1, 4),
738 SCRIPT_WAIT(0x1E),
739 SCRIPT_COMMAND(0x323, 0x327, 2),
740 SCRIPT_WAIT(0x3C),
741 SCRIPT_COMMAND(0x323, 0x326, 2),
742 SCRIPT_WAIT(0x3C),
743 SCRIPT_COMMAND(0x323, 0x325, 2),
744 SCRIPT_WAIT(0x3C),
745 SCRIPT_POSE(2, 1, 4),
746 SCRIPT_COMMAND(0x323, 0x326, 2),
747 SCRIPT_WAIT(0x1E),
748 SCRIPT_TALK(0, 0xA, 2, 1),
749 SCRIPT_POSE(2, 7, 4),
751 SCRIPT_POSE(2, 1, 4),
752 SCRIPT_WAIT(0x1E),
753 SCRIPT_COMMAND(0x323, 0x325, 0xB3),
754 SCRIPT_WAIT(0x3C),
755 SCRIPT_COMMAND(0x323, 0x326, 0xB3),
756 SCRIPT_WAIT(0x1E),
757 SCRIPT_POSE(0xB3, 1, 0),
758 SCRIPT_WAIT_WALK(0xB3),
759 SCRIPT_WAIT(0x1E),
760 SCRIPT_TALK(0, 0xB, 0xB3, 2),
762 SCRIPT_WAIT(0x1E),
763 SCRIPT_TALK(0, 0xC, 2, 1),
764 SCRIPT_POSE(2, 7, 4),
766 SCRIPT_POSE(2, 1, 4),
767 SCRIPT_WAIT(0x1E),
768 SCRIPT_TALK(0, 0xD, 0xB3, 2),
770 SCRIPT_WAIT(0x1E),
771 SCRIPT_TALK(0, 0xE, 2, 1),
772 SCRIPT_POSE(2, 7, 4),
774 SCRIPT_POSE(2, 1, 4),
775 SCRIPT_WAIT(0x1E),
776 SCRIPT_TALK(0, 0xF, 0xB3, 2),
778 SCRIPT_WAIT(0x1E),
779 SCRIPT_TALK(0, 0x10, 2, 1),
780 SCRIPT_POSE(2, 7, 4),
782 SCRIPT_POSE(2, 1, 4),
783 SCRIPT_WAIT(0x1E),
784 SCRIPT_TALK(0, 0x11, 0xB3, 2),
786 SCRIPT_WAIT(0x1E),
787 SCRIPT_POSE(2, 1, 0),
788 SCRIPT_POSE(0xB3, 1, 5),
789 SCRIPT_WAIT(0x1E),
790 SCRIPT_WALK(2, 0x11A, 0x130, 0),
791 SCRIPT_WALK(0xB3, 0x14A, 0xC4, 5),
793 SCRIPT_WALK(2, 0x9A, 0x170, 1),
794 SCRIPT_WALK(0xB3, 0x18A, 0xA4, 5),
796 SCRIPT_WAIT(0xC),
797 SCRIPT_LEAVE(0x200, 0x3E8, 0xEC, 1),
799};
801 SCRIPT_WAIT(0x3C),
802 SCRIPT_TALK(0, 1, 0x20, 2),
804 SCRIPT_WAIT(0x1E),
806};
807/* MENU_SPRITES' frame of the list's window, by the number of options (5 to 8) */
809 28, 27, 25, 36,
810};
811AreaBattle area0Battle0 = { 0, 0, MUSIC(1, 0) };
812AreaBattle area0Battle1 = { 0, 0, MUSIC(1, 0) };
813AreaBattle area0Battle2 = { 0, 0, MUSIC(1, 0) };
814AreaBattle area0Battle3 = { 0, 0, MUSIC(1, 0) };
815AreaBattle area0Battle4 = { 0, 0, MUSIC(1, 0) };
816AreaBattle area0Battle5 = { 0, 0, MUSIC(1, 0) };
817AreaBattle area0Battle6 = { 0, 0, MUSIC(1, 0) };
818AreaBattle area0Battle7 = { 0, 0, MUSIC(1, 0) };
824AreaBattle area1Battle0 = { 0, 0, MUSIC(1, 0) };
825AreaBattle area1Battle1 = { 0, 0, MUSIC(1, 0) };
826AreaBattle area1Battle2 = { 0, 0, MUSIC(1, 0) };
827AreaBattle area1Battle3 = { 0, 0, MUSIC(1, 0) };
828AreaBattle area1Battle4 = { 0, 0, MUSIC(1, 0) };
829AreaBattle area1Battle5 = { 0, 0, MUSIC(1, 0) };
830AreaBattle area1Battle6 = { 0, 0, MUSIC(1, 0) };
831AreaBattle area1Battle7 = { 0, 0, MUSIC(1, 0) };
837AreaBattle area2Battle0 = { 0, 0, MUSIC(1, 0) };
838AreaBattle area2Battle1 = { 0, 0, MUSIC(1, 0) };
839AreaBattle area2Battle2 = { 0, 0, MUSIC(1, 0) };
840AreaBattle area2Battle3 = { 0, 0, MUSIC(1, 0) };
841AreaBattle area2Battle4 = { 0, 0, MUSIC(1, 0) };
842AreaBattle area2Battle5 = { 0, 0, MUSIC(1, 0) };
843AreaBattle area2Battle6 = { 0, 0, MUSIC(1, 0) };
844AreaBattle area2Battle7 = { 0, 0, MUSIC(1, 0) };
851AreaBattle area3Battle1 = { 0, 0, MUSIC(1, 0) };
852AreaBattle area3Battle2 = { 0, 0, MUSIC(1, 0) };
853AreaBattle area3Battle3 = { 0, 0, MUSIC(1, 0) };
854AreaBattle area3Battle4 = { 0, 0, MUSIC(1, 0) };
855AreaBattle area3Battle5 = { 0, 0, MUSIC(1, 0) };
856AreaBattle area3Battle6 = { 0, 0, MUSIC(1, 0) };
857AreaBattle area3Battle7 = { 0, 0, MUSIC(1, 0) };
867 { 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
868 { 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
869 { 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
870 { 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
871 { 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
872 { 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
873 { 0x180, 0x100, 0x1B4, 0x100, 0x1D0, 0, 0x170, 0x1F8 },
874 { 0x1C0, 0x100, 0x1E8, 0x16E, 0x2A0, 0x6E, 0x140, 0x1F7 },
875 { 0x140, 0x100, 0x178, 0x139, 0xE0, 0x39, 0x150, 0x1F7 },
876 { 0x180, 0x100, 0x1B6, 0x1B9, 0x1D8, 0xB9, 0x160, 0x1F7 },
877 { 0x1C0, 0x100, 0x1E0, 0x16E, 0x280, 0x6E, 0x170, 0x1F7 },
878 { 0x1C0, 0x100, 0x1C0, 0x16E, 0x200, 0x6E, 0x140, 0x1F6 },
879 { 0x180, 0x100, 0x1A0, 0x1A0, 0x180, 0xA0, 0x150, 0x1F6 },
880 { 0x180, 0x100, 0x1A0, 0x1C8, 0x180, 0xC8, 0x160, 0x1F6 },
881 { 0x1C0, 0x100, 0x1D8, 0x16E, 0x260, 0x6E, 0x170, 0x1F6 },
882 { 0x1C0, 0x100, 0x1C8, 0x16E, 0x220, 0x6E, 0x140, 0x1F5 },
883 { 0x1C0, 0x100, 0x1C8, 0x196, 0x220, 0x96, 0x160, 0x1F5 },
884 { 0x1C0, 0x100, 0x1E8, 0x1B6, 0x2A0, 0xB6, 0x170, 0x1F5 },
885 { 0, 0, 0, 0, 0, 0, 0, 0 },
886 { 0, 0, 0, 0, 0, 0, 0, 0 },
887 { 0x1C0, 0x100, 0x1D0, 0x196, 0x240, 0x96, 0x140, 0x1F4 },
888 { 0x1C0, 0x100, 0x1D8, 0x196, 0x260, 0x96, 0x150, 0x1F4 },
889 { 0x1C0, 0x100, 0x1E0, 0x196, 0x280, 0x96, 0x160, 0x1F4 },
890 { 0x140, 0x100, 0x170, 0x139, 0xC0, 0x39, 0x170, 0x1F4 },
891 { 0x1C0, 0x100, 0x1C0, 0x1B6, 0x200, 0xB6, 0x150, 0x1F3 },
892 { 0x1C0, 0x100, 0x1C8, 0x1B6, 0x220, 0xB6, 0x160, 0x1F3 },
893 { 0x1C0, 0x100, 0x1D0, 0x1B6, 0x240, 0xB6, 0x170, 0x1F3 },
894 { 0x1C0, 0x100, 0x1D8, 0x1B6, 0x260, 0xB6, 0x140, 0x1F2 },
895 { 0, 0, 0, 0, 0, 0, 0, 0 },
896 { 0, 0, 0, 0, 0, 0, 0, 0 },
897 { 0x140, 0x100, 0x168, 0x139, 0xA0, 0x39, 0x150, 0x1F2 },
898};
922 { NULL, actor1Talk0Actions, 0x67 },
923 { NULL, NULL, 0 },
924};
926 { NULL, actor2Talk0Actions, 0x429 },
927 { NULL, NULL, 0 },
928};
930 { NULL, actor3Talk0Actions, 0x42B },
931 { NULL, NULL, 0 },
932};
939 { NULL, actor5Talk0Actions, 0x34 },
940 { NULL, NULL, 0 },
941};
943 { NULL, actor6Talk0Actions, 0x35 },
944 { NULL, NULL, 0 },
945};
947 { NULL, actor7Talk0Actions, 0x37 },
948 { NULL, NULL, 0 },
949};
951 { NULL, NULL, 0x11 },
952 { NULL, NULL, 0 },
953};
955 { NULL, NULL, 0x149 },
956 { NULL, NULL, 0 },
957};
959 { NULL, NULL, 0x1A4 },
960 { NULL, NULL, 0 },
961};
963 { NULL, NULL, 0x1A6 },
964 { NULL, NULL, 0 },
965};
967 { NULL, NULL, 0x1A5 },
968 { NULL, NULL, 0 },
969};
971 { NULL, NULL, 0x1A7 },
972 { NULL, NULL, 0 },
973};
975 { NULL, NULL, 0x1A8 },
976 { NULL, NULL, 0 },
977};
979 { NULL, NULL, 0x1A9 },
980 { NULL, NULL, 0 },
981};
983 { NULL, NULL, 0x1AE },
984 { NULL, NULL, 0 },
985};
987 { NULL, NULL, 0x1AA },
988 { NULL, NULL, 0 },
989};
991 { NULL, NULL, 0x1AB },
992 { NULL, NULL, 0 },
993};
995 { NULL, NULL, 0x1AC },
996 { NULL, NULL, 0 },
997};
999 { NULL, NULL, 0xE },
1000 { NULL, NULL, 0 },
1001};
1003 { NULL, NULL, 0x148 },
1004 { NULL, NULL, 0 },
1005};
1007 { NULL, NULL, 0x199 },
1008 { NULL, NULL, 0 },
1009};
1011 { NULL, NULL, 0x10 },
1012 { NULL, NULL, 0 },
1013};
1015 { NULL, NULL, 0x147 },
1016 { NULL, NULL, 0 },
1017};
1019 { NULL, NULL, 0x18E },
1020 { NULL, NULL, 0 },
1021};
1023 { NULL, NULL, 0xD },
1024 { NULL, NULL, 0 },
1025};
1027 { NULL, NULL, 0x14B },
1028 { NULL, NULL, 0 },
1029};
1031 { NULL, NULL, 0x1BA },
1032 { NULL, NULL, 0 },
1033};
1035 { NULL, NULL, 0x1BC },
1036 { NULL, NULL, 0 },
1037};
1039 { NULL, NULL, 0x1BB },
1040 { NULL, NULL, 0 },
1041};
1043 { NULL, NULL, 0x1BD },
1044 { NULL, NULL, 0 },
1045};
1047 { NULL, NULL, 0x1BE },
1048 { NULL, NULL, 0 },
1049};
1051 { NULL, NULL, 0x1BF },
1052 { NULL, NULL, 0 },
1053};
1055 { NULL, NULL, 0x1C4 },
1056 { NULL, NULL, 0 },
1057};
1059 { NULL, NULL, 0x1C0 },
1060 { NULL, NULL, 0 },
1061};
1063 { NULL, NULL, 0x1C1 },
1064 { NULL, NULL, 0 },
1065};
1067 { NULL, NULL, 0x1C2 },
1068 { NULL, NULL, 0 },
1069};
1071 { NULL, NULL, 0xF0 },
1072 { NULL, NULL, 0 },
1073};
1075 { NULL, NULL, 0x14C },
1076 { NULL, NULL, 0 },
1077};
1079 { NULL, NULL, 0x1C5 },
1080 { NULL, NULL, 0 },
1081};
1083 { NULL, NULL, 0xEF },
1084 { NULL, NULL, 0 },
1085};
1087 { NULL, NULL, 0x14A },
1088 { NULL, NULL, 0 },
1089};
1091 { NULL, NULL, 0x1AF },
1092 { NULL, NULL, 0 },
1093};
1095 { NULL, NULL, 0x1D1 },
1096 { NULL, NULL, 0 },
1097};
1099 { NULL, NULL, 0x1D3 },
1100 { NULL, NULL, 0 },
1101};
1103 { NULL, NULL, 0x1D4 },
1104 { NULL, NULL, 0 },
1105};
1107 { NULL, NULL, 0x1D2 },
1108 { NULL, NULL, 0 },
1109};
1111 { NULL, NULL, 0x1D5 },
1112 { NULL, NULL, 0 },
1113};
1115 { NULL, NULL, 0x1DA },
1116 { NULL, NULL, 0 },
1117};
1119 { NULL, NULL, 0x1D6 },
1120 { NULL, NULL, 0 },
1121};
1123 { NULL, NULL, 0x1D7 },
1124 { NULL, NULL, 0 },
1125};
1127 { NULL, NULL, 0x1D8 },
1128 { NULL, NULL, 0 },
1129};
1131 { NULL, NULL, 0x1DE },
1132 { NULL, NULL, 0 },
1133};
1135 { NULL, NULL, 0x1DF },
1136 { NULL, NULL, 0 },
1137};
1139 { NULL, NULL, 0x1DD },
1140 { NULL, NULL, 0 },
1141};
1143 { NULL, NULL, 0x1DC },
1144 { NULL, NULL, 0 },
1145};
1147 { NULL, NULL, 0x1E0 },
1148 { NULL, NULL, 0 },
1149};
1151 { NULL, NULL, 0x1E5 },
1152 { NULL, NULL, 0 },
1153};
1155 { NULL, NULL, 0x1E1 },
1156 { NULL, NULL, 0 },
1157};
1159 { NULL, NULL, 0x1E2 },
1160 { NULL, NULL, 0 },
1161};
1163 { NULL, NULL, 0x1E3 },
1164 { NULL, NULL, 0 },
1165};
1167 { NULL, NULL, 0x42A },
1168 { NULL, NULL, 0 },
1169};
1171 { NULL, NULL, 0x36 },
1172 { NULL, NULL, 0 },
1173};
1175 { NULL, NULL, 0x1AD },
1176 { NULL, NULL, 0 },
1177};
1179 { NULL, NULL, 0x1C3 },
1180 { NULL, NULL, 0 },
1181};
1183 { NULL, NULL, 0x1D9 },
1184 { NULL, NULL, 0 },
1185};
1187 { NULL, NULL, 0x1E4 },
1188 { NULL, NULL, 0 },
1189};
1192 { actor78Talk1Conditions, NULL, 0x488 },
1193 { NULL, NULL, 0 },
1194};
1196 { NULL, NULL, 0x2A4 },
1197 { NULL, NULL, 0 },
1198};
1200 { NULL, NULL, 0x2A3 },
1201 { NULL, NULL, 0 },
1202};
1204 { NULL, NULL, 0x38 },
1205 { NULL, NULL, 0 },
1206};
1208 { NULL, NULL, 0x3A },
1209 { NULL, NULL, 0 },
1210};
1212 { NULL, NULL, 0x3B },
1213 { NULL, NULL, 0 },
1214};
1216 { NULL, NULL, 0x39 },
1217 { NULL, NULL, 0 },
1218};
1220 { NULL, NULL, 0x3C },
1221 { NULL, NULL, 0 },
1222};
1224 { NULL, NULL, 0x3D },
1225 { NULL, NULL, 0 },
1226};
1228 { NULL, NULL, 0x41 },
1229 { NULL, NULL, 0 },
1230};
1232 { NULL, NULL, 0x3E },
1233 { NULL, NULL, 0 },
1234};
1236 { NULL, NULL, 0x3F },
1237 { NULL, NULL, 0 },
1238};
1240 { NULL, NULL, 0x40 },
1241 { NULL, NULL, 0 },
1242};
1392FieldActorEntry actor20 = { actor20Conditions, NULL, 0x2D, 6, 529, 505, 7 };
1411FieldActorEntry actor39 = { actor39Conditions, NULL, 0x31, 9, 193, 257, 7 };
1427FieldActorEntry actor55 = { actor55Conditions, NULL, 0x36, 0xC, 535, 307, 1 };
1437FieldActorEntry actor65 = { actor65Conditions, NULL, 0x37, 0xD, 328, 260, 6 };
1440FieldActorEntry actor68 = { actor68Conditions, NULL, 0x70, 0x10, 360, 268, 1 };
1441FieldActorEntry actor69 = { actor69Conditions, NULL, 0x70, 0x10, 360, 268, 1 };
1442FieldActorEntry actor70 = { actor70Conditions, NULL, 0x71, 0x11, 450, 254, 7 };
1443FieldActorEntry actor71 = { actor71Conditions, NULL, 0x71, 0x11, 450, 254, 7 };
1451FieldActorEntry actor79 = { actor79Conditions, NULL, 0xB2, 0x18, 0, 0, 1 };
1454FieldActorEntry actor82 = { actor82Conditions, NULL, 0xB3, 0x19, 0, 0, 1 };
1455FieldActorEntry actor83 = { actor83Conditions, NULL, 0x10E, 0x1A, 360, 268, 1 };
1456FieldActorEntry actor84 = { actor84Conditions, NULL, 0x10F, 0x1B, 450, 254, 7 };
1467FieldActorEntry actor95 = { actor95Conditions, NULL, 0x175, 0x1C, 305, 353, 5 };
1469 &actor0,
1470 &actor1,
1471 &actor2,
1472 &actor3,
1473 &actor4,
1474 &actor5,
1475 &actor6,
1476 &actor7,
1477 &actor8,
1478 &actor9,
1479 &actor10,
1480 &actor11,
1481 &actor12,
1482 &actor13,
1483 &actor14,
1484 &actor15,
1485 &actor16,
1486 &actor17,
1487 &actor18,
1488 &actor19,
1489 &actor20,
1490 &actor21,
1491 &actor22,
1492 &actor23,
1493 &actor24,
1494 &actor25,
1495 &actor26,
1496 &actor27,
1497 &actor28,
1498 &actor29,
1499 &actor30,
1500 &actor31,
1501 &actor32,
1502 &actor33,
1503 &actor34,
1504 &actor35,
1505 &actor36,
1506 &actor37,
1507 &actor38,
1508 &actor39,
1509 &actor40,
1510 &actor41,
1511 &actor42,
1512 &actor43,
1513 &actor44,
1514 &actor45,
1515 &actor46,
1516 &actor47,
1517 &actor48,
1518 &actor49,
1519 &actor50,
1520 &actor51,
1521 &actor52,
1522 &actor53,
1523 &actor54,
1524 &actor55,
1525 &actor56,
1526 &actor57,
1527 &actor58,
1528 &actor59,
1529 &actor60,
1530 &actor61,
1531 &actor62,
1532 &actor63,
1533 &actor64,
1534 &actor65,
1535 &actor66,
1536 &actor67,
1537 &actor68,
1538 &actor69,
1539 &actor70,
1540 &actor71,
1541 &actor72,
1542 &actor73,
1543 &actor74,
1544 &actor75,
1545 &actor76,
1546 &actor77,
1547 &actor78,
1548 &actor79,
1549 &actor80,
1550 &actor81,
1551 &actor82,
1552 &actor83,
1553 &actor84,
1554 &actor85,
1555 &actor86,
1556 &actor87,
1557 &actor88,
1558 &actor89,
1559 &actor90,
1560 &actor91,
1561 &actor92,
1562 &actor93,
1563 &actor94,
1564 &actor95,
1565 NULL,
1566};
1568 { 1, 0, 0x40, 2, 0x36, 2, 0, 1, 4, 0, 243, 69, 0, 0 },
1569 { 1, 0, 0x40, 2, 0x37, 2, 0, 1, 4, 0, 802, 278, 0, 0 },
1570 { 1, 0, 0x40, 2, 0x33, 2, 0, 1, 4, 0, 457, 129, 0, 0 },
1571 { 1, 0, 0x40, 2, 0x32, 2, 0, 3, 0x16, 0, 339, 212, 0, 0 },
1572 { 1, 0, 0x40, 2, 0x32, 2, 0, 3, 0x16, 0, 372, 196, 0, 0 },
1573 { 1, 0, 0x40, 2, 0x32, 2, 0, 3, 0x16, 0, 403, 244, 0, 0 },
1574 { 1, 0, 0x40, 2, 0x32, 2, 0, 3, 0x16, 0, 435, 228, 0, 0 },
1575 { 1, 0, 0x40, 2, 0x55, 2, 0, 7, 0x12, 0, 386, 117, 0, 0 },
1576 { 1, 0, 0x40, 2, 0x55, 2, 0, 7, 0x12, 0, 546, 197, 0, 0 },
1577 { 1, 0, 0x40, 2, 0x55, 2, 0, 7, 0x12, 0, 674, 197, 0, 0 },
1578 { 1, 0, 0x40, 2, 0x56, 2, 0, 7, 0x12, 0, 573, 209, 0, 0 },
1579 { 1, 0, 0x40, 2, 0x56, 2, 0, 7, 0x12, 0, 613, 209, 0, 0 },
1580 { 1, 0, 0x40, 2, 0x57, 2, 0, 7, 0x12, 0, 151, 129, 0, 0 },
1581 { 1, 0, 0x40, 2, 0x57, 2, 0, 7, 0x12, 0, 411, 111, 0, 0 },
1582 { 1, 0, 0x40, 2, 0x57, 2, 0, 7, 0x12, 0, 649, 200, 0, 0 },
1583 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 10, 105, 0, 0 },
1584 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 42, 121, 0, 0 },
1585 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 74, 137, 0, 0 },
1586 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 290, 69, 0, 0 },
1587 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 322, 85, 0, 0 },
1588 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 354, 101, 0, 0 },
1589 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 482, 165, 0, 0 },
1590 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 514, 181, 0, 0 },
1591 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 706, 213, 0, 0 },
1592 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 738, 229, 0, 0 },
1593 { 1, 0, 0x40, 6, 0x55, 2, 0, 7, 0x12, 0, 770, 245, 0, 0 },
1594 { 1, 0, 0x40, 6, 0x57, 2, 0, 7, 0x12, 0, 119, 145, 0, 0 },
1595 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 135, 232, 0, 0 },
1596 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 155, 222, 0, 0 },
1597 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 175, 212, 0, 0 },
1598 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 195, 202, 0, 0 },
1599 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 215, 192, 0, 0 },
1600 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 235, 182, 0, 0 },
1601 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 255, 172, 0, 0 },
1602 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 275, 162, 0, 0 },
1603 { 1, 0, 0x40, 6, 0x58, 2, 0, 7, 0x12, 0, 295, 152, 0, 0 },
1604 { 1, 0x66, 0x40, 6, 4, 0, 0, 0, 0, 0, 335, 141, 0, 0 },
1605 { 1, 0x65, 0x40, 6, 5, 0, 0, 0, 0, 0, 511, 229, 0, 0 },
1606 { 1, 0x64, 0x40, 6, 6, 0, 0, 0, 0, 0, 736, 326, 0, 0 },
1607 { 1, 0, 0x40, 6, 0x34, 2, 0, 3, 4, 0, 114, 179, 0, 0 },
1608 { 1, 0, 0x40, 6, 0x35, 2, 0, 3, 4, 0, 264, 130, 0, 0 },
1609 { 1, 0, 0x40, 6, 0x59, 2, 0, 3, 4, 0, 429, 176, 0, 0 },
1610 { 1, 0, 0x40, 6, 0x51, 1, 0x51, 0x54, 8, 0, 585, 335, 0, 0 },
1611 { 1, 0, 0x40, 6, 0x4D, 1, 0x4D, 0x50, 8, 0, 585, 335, 0, 0 },
1612 { 1, 0, 0x40, 0xA, 0x38, 1, 0x38, 0x3A, 0xA, 0, 28, 519, 0, 0 },
1613 { 1, 0, 0x40, 0xA, 0x38, 1, 0x38, 0x3A, 0xA, 0, 81, 492, 0, 0 },
1614 { 1, 0, 0x40, 0xA, 0x38, 1, 0x38, 0x3A, 0xA, 0, 183, 442, 0, 0 },
1615 { 1, 0, 0x40, 0xA, 0x38, 1, 0x38, 0x3A, 0xA, 0, 237, 424, 0, 0 },
1616 { 1, 0, 0x40, 0xA, 0x38, 1, 0x38, 0x3A, 0xA, 0, 656, 492, 0, 0 },
1617 { 1, 0, 0x40, 0xA, 0x38, 1, 0x38, 0x3A, 0xA, 0, 752, 431, 0, 0 },
1618 { 1, 0, 0x40, 0xA, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 55, 506, 0, 0 },
1619 { 1, 0, 0x40, 0xA, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 100, 493, 0, 0 },
1620 { 1, 0, 0x40, 0xA, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 151, 461, 0, 0 },
1621 { 1, 0, 0x40, 0xA, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 202, 445, 0, 0 },
1622 { 1, 0, 0x40, 0xA, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 296, 424, 0, 0 },
1623 { 1, 0, 0x40, 0xA, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 657, 504, 0, 0 },
1624 { 1, 0, 0x40, 0xA, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 259, 428, 0, 0 },
1625 { 1, 0, 0x40, 0xA, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 366, 433, 0, 0 },
1626 { 1, 0, 0x40, 0xA, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 582, 411, 0, 0 },
1627 { 1, 0, 0x40, 0xA, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 661, 442, 0, 0 },
1628 { 1, 0, 0x40, 0xA, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 674, 537, 0, 0 },
1629 { 1, 0, 0x40, 0xA, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 694, 538, 0, 0 },
1630 { 1, 0, 0x40, 0xA, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 778, 417, 0, 0 },
1631 { 1, 0, 0x40, 0xA, 0x41, 1, 0x41, 0x43, 0xA, 0, 449, 517, 0, 0 },
1632 { 1, 0, 0x40, 0xA, 0x41, 1, 0x41, 0x43, 0xA, 0, 501, 544, 0, 0 },
1633 { 1, 0, 0x40, 0xA, 0x41, 1, 0x41, 0x43, 0xA, 0, 530, 355, 0, 0 },
1634 { 1, 0, 0x40, 0xA, 0x41, 1, 0x41, 0x43, 0xA, 0, 546, 354, 0, 0 },
1635 { 1, 0, 0x40, 0xA, 0x41, 1, 0x41, 0x43, 0xA, 0, 636, 592, 0, 0 },
1636 { 1, 0, 0x40, 0xA, 0x41, 1, 0x41, 0x43, 0xA, 0, 659, 600, 0, 0 },
1637 { 1, 0, 0x40, 0xA, 0x44, 1, 0x44, 0x46, 0xA, 0, 87, 303, 0, 0 },
1638 { 1, 0, 0x40, 0xA, 0x44, 1, 0x44, 0x46, 0xA, 0, 130, 322, 0, 0 },
1639 { 1, 0, 0x40, 0xA, 0x44, 1, 0x44, 0x46, 0xA, 0, 682, 614, 0, 0 },
1640 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x49, 0xA, 0, 61, 292, 0, 0 },
1641 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x49, 0xA, 0, 113, 328, 0, 0 },
1642 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x49, 0xA, 0, 474, 531, 0, 0 },
1643 { 1, 0, 0x40, 0xA, 0x47, 1, 0x47, 0x49, 0xA, 0, 529, 554, 0, 0 },
1644 { 1, 0, 0x40, 0xA, 0x4A, 1, 0x4A, 0x4C, 0xA, 0, 437, 427, 0, 0 },
1645 { 1, 0, 0x40, 0xA, 0x4A, 1, 0x4A, 0x4C, 0xA, 0, 455, 421, 0, 0 },
1646 { 1, 0, 0x40, 0xA, 0x4A, 1, 0x4A, 0x4C, 0xA, 0, 608, 405, 0, 0 },
1647 { 1, 0, 0x40, 0xA, 0x4A, 1, 0x4A, 0x4C, 0xA, 0, 626, 396, 0, 0 },
1648 { 1, 0, 0x40, 0xA, 0x4A, 1, 0x4A, 0x4C, 0xA, 0, 654, 525, 0, 0 },
1649 { 1, 0, 0x40, 0xA, 0x4A, 1, 0x4A, 0x4C, 0xA, 0, 691, 424, 0, 0 },
1650 { 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 144, 110, 160, 0 },
1651 { 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 359, 148, 193, 0 },
1652 { 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 535, 236, 281, 0 },
1653 { 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 759, 332, 376, 0 },
1654 { 1, 0, 0x50, 4, 7, 0, 0, 0, 0, 0, 441, 345, 450, 0 },
1655 { 1, 0, 0x40, 4, 8, 0, 0, 0, 0, 0, 464, 444, 496, 0 },
1656 { 1, 0, 0x40, 4, 9, 0, 0, 0, 0, 0, 595, 442, 478, 0 },
1657 { 1, 0, 0x40, 4, 0xA, 0, 0, 0, 0, 0, 384, 259, 279, 0 },
1658 { 1, 0, 0x40, 4, 0xB, 0, 0, 0, 0, 0, 401, 250, 271, 0 },
1659 { 1, 0, 0x40, 4, 0xC, 0, 0, 0, 0, 0, 368, 251, 270, 0 },
1660 { 1, 0, 0x40, 4, 0xD, 0, 0, 0, 0, 0, 417, 243, 264, 0 },
1661 { 1, 0, 0x40, 4, 0xE, 0, 0, 0, 0, 0, 352, 242, 262, 0 },
1662 { 1, 0, 0x40, 4, 0xF, 0, 0, 0, 0, 0, 433, 233, 255, 0 },
1663 { 1, 0, 0x40, 4, 0x10, 0, 0, 0, 0, 0, 336, 229, 255, 0 },
1664 { 1, 0, 0x40, 4, 0x11, 0, 0, 0, 0, 0, 449, 227, 247, 0 },
1665 { 1, 0, 0x40, 4, 0x12, 0, 0, 0, 0, 0, 320, 227, 247, 0 },
1666 { 1, 0, 0x40, 4, 0x13, 0, 0, 0, 0, 0, 337, 219, 240, 0 },
1667 { 1, 0, 0x40, 4, 0x14, 0, 0, 0, 0, 0, 353, 208, 231, 0 },
1668 { 1, 0, 0x40, 4, 0x15, 0, 0, 0, 0, 0, 369, 203, 223, 0 },
1669 { 1, 0, 0x40, 4, 0x16, 0, 0, 0, 0, 0, 385, 192, 215, 0 },
1670 { 1, 0, 0x40, 4, 0x17, 0, 0, 0, 0, 0, 401, 187, 207, 0 },
1671 { 1, 0, 0x40, 4, 0x18, 0, 0, 0, 0, 0, 499, 317, 334, 0 },
1672 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1673};
1675 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x200, 0x3E8, 0xEC, 1, 0, 0, 0 },
1676 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x206, 0x70, 0xF0, 7, 0, 0, 0 },
1677 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x207, 0x58, 0x1CC, 5, 0x64, 0, 0 },
1678 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x208, 0x69, 0x134, 5, 0x65, 0, 0 },
1679 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x214, 0x1F8, 0x2BC, 5, 0x66, 0, 0 },
1680 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x217, 0x1D8, 0x1D4, 3, 0, 0, 0 },
1681 { { { PROGRESS(STORY_LOGGED_IN), 1 }, { CODES_END, 0 } }, SLOT_EVENT, 0x14, 0, 0, 0, 0, 0, 0 },
1682 { { { PROGRESS(STORY_LOGGED_IN), 1 }, { CODES_END, 0 } }, SLOT_EVENT, 0x1E, 0, 0, 0, 0, 0, 0 },
1683 { { { PROGRESS(STORY_AGUMON_DISGUISE), 1 }, { CODES_END, 0 } }, SLOT_EVENT, 0x140, 0, 0, 0, 0, 0, 0 },
1684 { { { PROGRESS(STORY_AGUMON_DISGUISE), 1 }, { CODES_END, 0 } }, SLOT_EVENT, 0x14A, 0, 0, 0, 0, 0, 0 },
1685 { { { CODES_END, 0 }, { CODES_END, 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
1686};
1689 { 8, NULL, EVENT_TEXT(1), startEvent8, NULL },
1690 { 9, NULL, EVENT_TEXT(2), startEvent9, NULL },
1691 { 13, script13, EVENT_TEXT(6), NULL, NULL },
1692 { 14, script14, EVENT_TEXT(7), NULL, NULL },
1693 { 20, script20, EVENT_TEXT(8), NULL, NULL },
1694 { 30, script30, EVENT_TEXT(9), NULL, NULL },
1695 { 58, script58, EVENT_TEXT(0x12), NULL, NULL },
1696 { 310, script310, EVENT_TEXT(0x1C), NULL, endEvent310 },
1697 { 320, script320, EVENT_TEXT(0x1D), NULL, NULL },
1698 { 330, script330, EVENT_TEXT(0x1E), NULL, NULL },
1699 { 685, script685, EVENT_TEXT(0x22), NULL, endEvent685 },
1700 { 1510, NULL, EVENT_TEXT(0x35), startEvent1510, NULL },
1701 { 1511, script1511, EVENT_TEXT(0x30), NULL, NULL },
1702 { -1, NULL, 0, NULL, NULL },
1703};
#define NULL
Definition common.h:17
signed int s32
Definition common.h:11
signed short s16
Definition common.h:9
unsigned short u16
Definition common.h:10
GfxState GFX
GFX: the graphics state and its methods.
Definition display.c:209
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
Cursor * createCursor(s16 layerId, s32 depth, s16 x, s16 y)
A menu cursor on a layer at (x, y)
Definition cursor.c:92
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 TEXT_ENTRY(file, n)
Definition stage.h:707
#define MENU_SPRITES
The menu sprite sheet, and an entry of a text file: the European version numbers the disc's files dif...
Definition stage.h:702
#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_LEAVE(mode, x, y, dir)
FIELDSTG_leaveField; ends the event.
Definition field_map.h:170
#define FIELD_LAYER_MAP
the map, its objects and characters, and the menus
Definition field_map.h:20
#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 SLOT_EVENT
starts the event arg
Definition field_map.h:262
#define FIELD_COMMAND_SHOW_OBJECTS(n)
shows them
Definition field_map.h:46
#define SCRIPT_WALK(id, x, y, dir)
Actor.setGoal: walks to (x, y), then faces dir.
Definition field_map.h:162
#define FIELD_COMMAND_ICON1
the player icon's substate 1, with ITEM_GET
Definition field_map.h:42
#define FIELD_COMMAND_ICON2
its substate 2
Definition field_map.h:43
#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 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 FIELD_COMMAND_HIDE_OBJECTS(n)
hides the map objects of group n
Definition field_map.h:45
#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
FileCache FILE_CACHE
The file cache.
Definition file_cache.c:7
#define START_EVENT(index)
action: FIELDSTG_startListedEvent
Definition game_state.h:81
#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
The parts of a list menu (StageListMenu), up to eight options that each open a message: WSTAG210's gu...
static void closeListMenu(StageListMenu *task, StageListMenuChildren *children)
Hides the options and the cursor and starts closing the list's window.
static void readListMenuMessage(StageListMenu *task, StageListMenuChildren *children)
Pages through the option's message with X, the arrow blinking while a page waits for it,...
static void moveListMenuCursor(StageListMenu *task)
Moves the cursor up or down the list, held buttons repeating, without leaving it.
static void showListMenuOptions(StageListMenu *task, StageListMenuChildren *children, s32 n)
Writes the options, lines 1 on of the menus' text entry n (each option's message is a line from 9 on)...
static void openListMenuMessage(StageListMenu *task, StageListMenuChildren *children, s32 n)
Starts typing the message of the option under the cursor, from the menus' text entry n.
static void createListMenu(StageListMenu *task, StageListMenuChildren *children)
Creates the menu's eight option lines, its hidden cursor and its message box.
#define PAD_CROSS
Definition pad.h:31
#define PAD_DOWN
Definition pad.h:24
#define PAD_TRIANGLE
Definition pad.h:32
#define PAD_PRESSED(button)
One button of pad 1: newly pressed, auto-repeated while held, or held.
Definition pad.h:140
#define PAD_UP
Definition pad.h:22
#define PAD_REPEATED(button)
Definition pad.h:141
SoundState SOUND
rsin and rcos (libgte) read rsin_tbl[a - 0x800] and the like: their addresses before the table fall i...
Definition sound.c:180
#define MUSIC_BATTLE
BATL0000: the maps' random battles (AreaBattle, nearly all of them)
Definition sound.h:76
#define MUSIC_ADMIN_CENTER
KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room.
Definition sound.h:79
#define MUSIC_CITY_CRISIS
BGM_0029: the cities and their streets instead of their music while the story is at a crisis (Knightm...
Definition sound.h:105
#define SOUND_SELECT
Sounds the overlays share, with SOUNDTST's names.
Definition sound.h:38
#define SOUND_MENU_CANCEL
SYSTEM01.
Definition sound.h:39
#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 SOUND_CURSOR
SYSTEM02: a cursor moves.
Definition sound.h:40
#define MUSIC_BANK(music)
The sound bank of a music, which a stage loads for it (FieldState.soundBank)
Definition sound.h:148
void initSpriteDrawer(SpriteDrawer *obj)
Clears a sprite drawer to neutral (no scale, gray tint, follows the scroll), gives it its methods and...
FIELDSTG's start of the stage (StageEntry.init in FIELDSTG_stages): the stage's task,...
void startTween(PanelAnim *tween, s32 up)
Starts the menu stage's tween (stageFuncs.start) with its sound: up, from 0 to ONE over its duration,...
#define FLAG_GAME_MASTER_MEETING_SEEN
wstag305 Master Room event 350: the Game Master finds the player and Kail looking for Teddy; set at i...
Definition story.h:1152
#define FLAG_KAIL_ETEMON_SUIT_TALKED
wstag210 Main Lobby: Kail explains the man used an Etemon Suit and sends the player to ask about Digi...
Definition story.h:1061
#define SPECIAL_STORY_JUNGLE_SOUND_TO_AMATERASU_BRIDGE
GAME.progress is from STORY_JUNGLE_SOUND to STORY_AMATERASU_BRIDGE (PROGRESS_RANGES[0x12])
Definition story.h:1917
@ STORY_PRESIDENT_ARRESTED
WSTAG226 (Login Room, Amaterasu City), event 935, after the President of MAGAMI gives himself up (WST...
Definition story.h:136
@ STORY_LOGGED_IN
WSTAG225 (Login Room, Asuka City), event 5: the first login, where the account clerk explains Digimon...
Definition story.h:29
@ STORY_BYAKKO_LEADER_FOUGHT
WSTAG620 (the rebels' hideout), event 534: the Byakko Leader takes the player for the A....
Definition story.h:85
@ STORY_CONTROL_ROOM
WSTAG325 (Control Room, Asuka City), event 560: a Soldier guards the way.
Definition story.h:90
@ STORY_GUNSLINGER
WSTAG810 (Gunslinger 1F), event 1035.
Definition story.h:143
@ STORY_GENJI_BEATEN
WSTAG200, event 52: after the first battle, won against Tamer Genji (event 50), the Digimon Navi give...
Definition story.h:36
@ STORY_KNIGHTMON_REPROGRAMMED
WSTAG210 (Main Lobby, Asuka City), event 685: the A.o.A have reprogrammed Knightmon,...
Definition story.h:97
@ STORY_TEDDY_FOUND
WSTAG212, event 352: Teddy is found; MAGAMI is part of the A.o.A, and the player sets off to beat the...
Definition story.h:67
@ STORY_LOOKING_FOR_TEDDY
WSTAG212, event 273: Kail and the player will put on the Agumon Suits to look for Teddy.
Definition story.h:61
@ STORY_MOVIE_BATTLES
WSTAG820, event 1080, with Snatchmon: each encounter plays MODE_BATTLE_MOVIE first.
Definition story.h:146
@ STORY_ASUKA_HEADQUARTERS
WSTAG310 (A.o.A Headquarters, Asuka City), event 961.
Definition story.h:138
@ STORY_AGUMON_DISGUISE
WSTAG237 (Underground Path), event 300: in the Agumon Suit; Kail goes on ahead alone.
Definition story.h:64
@ STORY_GAME_MASTER_CAUGHT
WSTAG305 (Master Room), event 661: the Game Master is caught, but Vemmon takes over the Optical Netwo...
Definition story.h:94
#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_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_DE_SINCERITY_TO_LISA_SAVED
GAME.progress is from STORY_DE_SINCERITY to STORY_LISA_SAVED (PROGRESS_RANGES[0xF])
Definition story.h:1908
#define SPECIAL_STORY_SEIRYU_BADGE_TO_ZANBAMON_DRIVEN_OFF
GAME.progress is from STORY_SEIRYU_BADGE to STORY_ZANBAMON_DRIVEN_OFF (PROGRESS_RANGES[0xE])
Definition story.h:1905
#define SPECIAL_STORY_KNIGHTMON_REPROGRAMMED_TO_BULBMON_FOUND
GAME.progress is from STORY_KNIGHTMON_REPROGRAMMED to STORY_BULBMON_FOUND (PROGRESS_RANGES[0x11])
Definition story.h:1914
#define FLAG_MISCHIEVOUS_MAT_TALKED
wstag320 Asuka Sewers: Mischievous Mat says no Etemon was there; Kail then reacts to "a man instead o...
Definition story.h:1058
#define FLAG_HELP_COUNTER_TALKED
wstag210 Main Lobby: the Tamer Service / Guide at the Digimon Online Help Counter introduce the hints...
Definition story.h:1007
#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
The children of a yes/no question at the bottom of the screen: FIELDSTG's ChoiceTask and the stages' ...
Definition field_map.h:483
TextWindow * options[2]
Definition field_map.h:485
Cursor * cursor
Definition field_map.h:486
TextWindow * title
Definition field_map.h:484
struct EventTask * event
the answer's (FIELDSTG_startEvent)
Definition field_map.h:487
void(* setPalette)()
Definition text.h:35
void(* setPos)()
(cursor, x, y)
Definition text.h:34
void(* setStill)()
Definition text.h:38
void(* setVisible)()
(cursor, visible)
Definition text.h:33
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 *(* getEntry)(u32 fileAndIndex)
Definition file.h:96
void(* applyAction)(s32 code, s32 value)
Definition game_state.h:52
s32(* checkCondition)(u16 code, u16 value)
Definition game_state.h:53
s32(* getTime)(void)
Definition gfx.h:31
GfxFuncs funcs
Definition gfx.h:77
s32 level
Definition menu.h:21
s32 duration
Definition menu.h:19
short(* playSound)(s32 id)
returns the voice of a key-on
Definition sound.h:187
Draws sprites from a sprite sheet (such as file 0x277, the menu graphics): a sheet has a table of fra...
Definition gfx.h:223
void(* setPivot)()
(x, y)
Definition gfx.h:250
void(* setScale)()
(x, y, z), ONE = 1.0
Definition gfx.h:248
void(* setLayerId)()
(id, depth)
Definition gfx.h:244
void(* setFollowScroll)()
(on)
Definition gfx.h:251
void(* setClutRow)()
(row)
Definition gfx.h:247
void(* draw)()
(sheet, frame, x, y)
Definition gfx.h:246
void(* setTexture)()
(x, y)
Definition gfx.h:242
The table of a stage's functions: its setup, then the menu stages' tween (startTween and updateTween)...
Definition stage.h:95
void(* start)(PanelAnim *tween, s32 up)
Definition stage.h:97
s32(* update)(PanelAnim *tween)
whether it has ended
Definition stage.h:98
TextWindow * message
Definition stage.h:688
A list menu whose entries show a message.
Definition stage.h:675
s32 arrowFrame
Definition stage.h:680
PanelAnim tweens[2]
list, message box
Definition stage.h:682
s32 substate
Definition stage.h:676
s32 showArrow
Definition stage.h:679
s32 arrowTime
Definition stage.h:681
A yes/no menu at the bottom of the screen, a copy of FIELDSTG's ChoiceTask (FIELDSTG_runChoice) witho...
Definition stage.h:667
s32 step
Definition stage.h:668
void(* nextState)(struct StageMenu *task)
Definition stage.h:668
s32 state
Definition stage.h:668
s32 substate
Definition stage.h:668
PanelAnim tween
Definition stage.h:670
s32 cursor
Definition stage.h:669
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
void(* setDepth)()
Definition text.h:183
void(* setString)()
Definition text.h:165
void(* setVisible)(struct TextWindow *obj, u8 arg)
Definition text.h:177
Definition gfx.h:352
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
Definition task.c:105
#define PALETTE_WHITE
The text windows' palettes (TextWindow.palette, setPalette): rows of the font's CLUTs,...
Definition text.h:112
#define PALETTE_GREY
what is unavailable
Definition text.h:119
TextWindow * createTextWindow(s16 layerId, s16 style, s16 x, s16 y)
A text window on a layer, in a font style, at (x, y)
s32 updateTween(PanelAnim *tween)
Steps the tween (stageFuncs.update): whether it has ended.
u16 actor1Conditions[]
Definition wstag210.c:1244
u16 actor26Conditions[]
Definition wstag210.c:1277
u16 actor0Talk0Actions[]
Definition wstag210.c:900
AreaBattle area2Battle7
Definition wstag210.c:844
u16 actor6Talk0Actions[]
Definition wstag210.c:911
FieldActorEntry actor0
Definition wstag210.c:1372
FieldActorEntry actor55
Definition wstag210.c:1427
u16 actor94Conditions[]
Definition wstag210.c:1370
FieldActorEntry actor6
Definition wstag210.c:1378
u16 actor59Conditions[]
Definition wstag210.c:1310
FieldTalk actor85Talks[]
Definition wstag210.c:1203
FieldTalk actor37Talks[]
Definition wstag210.c:1062
FieldActorEntry actor81
Definition wstag210.c:1453
FieldTalk actor54Talks[]
Definition wstag210.c:1126
u16 actor81Conditions[]
Definition wstag210.c:1357
u16 actor11Conditions[]
Definition wstag210.c:1262
u16 actor0Talk0Conditions[]
Definition wstag210.c:899
FieldActorEntry actor52
Definition wstag210.c:1424
FieldTalk actor31Talks[]
Definition wstag210.c:1038
FieldTalk actor2Talks[]
Definition wstag210.c:925
AreaBattle area2Battle6
Definition wstag210.c:843
FieldTalk actor73Talks[]
Definition wstag210.c:1170
u16 actor91Conditions[]
Definition wstag210.c:1367
u16 actor85Conditions[]
Definition wstag210.c:1361
FieldTalk actor47Talks[]
Definition wstag210.c:1098
u16 actor0Talk1Conditions[]
Definition wstag210.c:901
FieldActorEntry actor75
Definition wstag210.c:1447
FieldTalk actor91Talks[]
Definition wstag210.c:1227
FieldTalk actor42Talks[]
Definition wstag210.c:1078
s16 script1511[]
Definition wstag210.c:800
u16 actor86Conditions[]
Definition wstag210.c:1362
u16 actor4Talk1Actions[]
Definition wstag210.c:909
FieldActorEntry actor62
Definition wstag210.c:1434
void updateEvent9(StageMenu *task, ChoiceChildren *children)
A two-option menu: creates the event object of the chosen option.
Definition wstag210.c:148
FieldActorEntry actor58
Definition wstag210.c:1430
u16 actor83Conditions[]
Definition wstag210.c:1359
FieldActorEntry actor94
Definition wstag210.c:1466
FieldTalk actor53Talks[]
Definition wstag210.c:1122
u16 actor10Conditions[]
Definition wstag210.c:1261
FieldActorEntry actor25
Definition wstag210.c:1397
u16 actor80Conditions[]
Definition wstag210.c:1356
FieldActorEntry actor24
Definition wstag210.c:1396
FieldTalk actor62Talks[]
Definition wstag210.c:1154
u16 actor18Conditions[]
Definition wstag210.c:1269
FieldActorEntry actor57
Definition wstag210.c:1429
FieldActorEntry actor17
Definition wstag210.c:1389
FieldActorEntry actor39
Definition wstag210.c:1411
u16 actor72Conditions[]
Definition wstag210.c:1339
u16 actor34Conditions[]
Definition wstag210.c:1285
FieldTalk actor88Talks[]
Definition wstag210.c:1215
FieldActorEntry actor33
Definition wstag210.c:1405
s16 script685[]
Definition wstag210.c:672
FieldTalk actor38Talks[]
Definition wstag210.c:1066
FieldTalk actor14Talks[]
Definition wstag210.c:974
u16 actor24Conditions[]
Definition wstag210.c:1275
FieldActorEntry actor18
Definition wstag210.c:1390
FieldTalk actor5Talks[]
Definition wstag210.c:938
AreaBattle area1Battle6
Definition wstag210.c:830
u16 actor78Talk0Conditions[]
Definition wstag210.c:913
FieldActorEntry actor40
Definition wstag210.c:1412
FieldTalk actor43Talks[]
Definition wstag210.c:1082
u16 actor42Conditions[]
Definition wstag210.c:1293
u16 actor84Conditions[]
Definition wstag210.c:1360
void * startEvent9(void)
Starts event 9, which asks whether to download the partner Digimon now: yes starts event 13,...
Definition wstag210.c:258
u16 actor46Conditions[]
Definition wstag210.c:1297
FieldActorEntry actor5
Definition wstag210.c:1377
FieldActorEntry actor87
Definition wstag210.c:1459
FieldActorEntry actor37
Definition wstag210.c:1409
FieldActorEntry actor53
Definition wstag210.c:1425
FieldActorEntry actor71
Definition wstag210.c:1443
FieldTalk actor52Talks[]
Definition wstag210.c:1118
FieldActorEntry actor36
Definition wstag210.c:1408
u16 actor35Conditions[]
Definition wstag210.c:1286
FieldTalk actor33Talks[]
Definition wstag210.c:1046
FieldTalk actor41Talks[]
Definition wstag210.c:1074
FieldActorEntry actor83
Definition wstag210.c:1455
u16 actor22Conditions[]
Definition wstag210.c:1273
FieldActorEntry actor85
Definition wstag210.c:1457
u16 actor87Conditions[]
Definition wstag210.c:1363
AreaBattle area0Battle7
Definition wstag210.c:818
FieldActorEntry actor2
Definition wstag210.c:1374
FieldActorEntry actor31
Definition wstag210.c:1403
const CVECTOR stageColor
the color the setup copies to FIELDSTG_state.spriteColor
Definition wstag210.c:421
FieldTalk actor50Talks[]
Definition wstag210.c:1110
AreaBattle area3Battle4
Definition wstag210.c:854
AreaBattle area3Battle3
Definition wstag210.c:853
AreaBattle area0Battle1
Definition wstag210.c:812
u16 actor70Conditions[]
Definition wstag210.c:1333
u16 actor38Conditions[]
Definition wstag210.c:1289
FieldActorEntry actor23
Definition wstag210.c:1395
FieldActorEntry actor19
Definition wstag210.c:1391
u16 actor95Conditions[]
Definition wstag210.c:1371
AreaBattle area2Battle0
Definition wstag210.c:837
FieldTalk actor36Talks[]
Definition wstag210.c:1058
u16 actor9Conditions[]
Definition wstag210.c:1260
FieldActorEntry * stageActors[]
Definition wstag210.c:1468
u16 actor93Conditions[]
Definition wstag210.c:1369
FieldActorEntry actor28
Definition wstag210.c:1400
u16 actor0Talk1Actions[]
Definition wstag210.c:902
u16 actor7Talk0Actions[]
Definition wstag210.c:912
u16 actor75Conditions[]
Definition wstag210.c:1342
AreaBattle area1Battle2
Definition wstag210.c:826
u16 actor23Conditions[]
Definition wstag210.c:1274
void updateEvent1510(StageMenu *task, ChoiceChildren *children)
A two-option menu: creates the event object of the chosen option.
Definition wstag210.c:263
FieldTalk actor57Talks[]
Definition wstag210.c:1134
u16 actor32Conditions[]
Definition wstag210.c:1283
FieldActorEntry actor45
Definition wstag210.c:1417
FieldActorEntry actor67
Definition wstag210.c:1439
AreaBattle area3Battle0
Definition wstag210.c:850
FieldActorEntry actor78
Definition wstag210.c:1450
u16 actor71Conditions[]
Definition wstag210.c:1338
u16 actor29Conditions[]
Definition wstag210.c:1280
#define MENU_TEXT
The text file of the menus, which the versions number differently.
Definition wstag210.c:15
FieldActorEntry actor82
Definition wstag210.c:1454
void endEvent685(void)
After event 685, with Teddy: moves the story on to STORY_KNIGHTMON_REPROGRAMMED and clears flag 0x1C2...
Definition wstag210.c:415
u16 actor4Talk1Conditions[]
Definition wstag210.c:908
u16 actor47Conditions[]
Definition wstag210.c:1298
u16 actor78Talk0Actions[]
Definition wstag210.c:914
s16 script310[]
Definition wstag210.c:577
u16 actor53Conditions[]
Definition wstag210.c:1304
u16 actor30Conditions[]
Definition wstag210.c:1281
u16 actor52Conditions[]
Definition wstag210.c:1303
s16 script20[]
Definition wstag210.c:507
FieldActorEntry actor22
Definition wstag210.c:1394
u16 actor37Conditions[]
Definition wstag210.c:1288
AreaBattle area0Battle6
Definition wstag210.c:817
u16 actor44Conditions[]
Definition wstag210.c:1295
FieldTalk actor76Talks[]
Definition wstag210.c:1182
s16 script14[]
Definition wstag210.c:485
FieldActorEntry actor41
Definition wstag210.c:1413
u16 actor78Talk1Conditions[]
Definition wstag210.c:915
FieldTalk actor1Talks[]
Definition wstag210.c:921
u16 actor13Conditions[]
Definition wstag210.c:1264
AreaBattle area3Battle2
Definition wstag210.c:852
FieldTalk actor78Talks[]
Definition wstag210.c:1190
u16 actor76Conditions[]
Definition wstag210.c:1343
FieldTalk actor35Talks[]
Definition wstag210.c:1054
FieldActorEntry actor29
Definition wstag210.c:1401
FieldTalk actor0Talks[]
Definition wstag210.c:916
FieldTalk actor77Talks[]
Definition wstag210.c:1186
FieldTalk actor44Talks[]
Definition wstag210.c:1086
u16 actor68Conditions[]
Definition wstag210.c:1327
u16 actor48Conditions[]
Definition wstag210.c:1299
FieldTalk actor63Talks[]
Definition wstag210.c:1158
AreaBattle area3Battle1
Definition wstag210.c:851
#define STAGE_ARCHIVE
Definition wstag210.c:432
FieldTalk actor21Talks[]
Definition wstag210.c:998
AreaBattle area0Battle3
Definition wstag210.c:814
FieldActorEntry actor27
Definition wstag210.c:1399
FieldTalk actor56Talks[]
Definition wstag210.c:1130
FieldActorEntry actor10
Definition wstag210.c:1382
u16 actor31Conditions[]
Definition wstag210.c:1282
u16 actor2Talk0Actions[]
Definition wstag210.c:904
u16 actor19Conditions[]
Definition wstag210.c:1270
FieldTalk actor49Talks[]
Definition wstag210.c:1106
FieldTalk actor4Talks[]
Definition wstag210.c:933
u16 actor4Conditions[]
Definition wstag210.c:1251
FieldTalk actor27Talks[]
Definition wstag210.c:1022
FieldActorEntry actor4
Definition wstag210.c:1376
u16 actor66Conditions[]
Definition wstag210.c:1317
u16 actor3Conditions[]
Definition wstag210.c:1250
AreaBattle area3Battle6
Definition wstag210.c:856
FieldTalk actor89Talks[]
Definition wstag210.c:1219
u16 actor54Conditions[]
Definition wstag210.c:1305
void * startEvent8(void)
Starts event 8, the guide to Digimon Online: a list of topics (Objective, City Guide,...
Definition wstag210.c:143
FieldTalk actor17Talks[]
Definition wstag210.c:986
u16 actor69Conditions[]
Definition wstag210.c:1332
FieldActorEntry actor92
Definition wstag210.c:1464
FieldActorEntry actor35
Definition wstag210.c:1407
FieldTalk actor11Talks[]
Definition wstag210.c:962
FieldActorEntry actor32
Definition wstag210.c:1404
FieldActorEntry actor8
Definition wstag210.c:1380
FieldActorEntry actor69
Definition wstag210.c:1441
u16 actor82Conditions[]
Definition wstag210.c:1358
s16 script30[]
Definition wstag210.c:529
FieldActorEntry actor44
Definition wstag210.c:1416
ActorImage stageImages[]
Definition wstag210.c:866
u16 actor60Conditions[]
Definition wstag210.c:1311
u16 actor67Conditions[]
Definition wstag210.c:1322
FieldActorEntry actor79
Definition wstag210.c:1451
u16 actor78Conditions[]
Definition wstag210.c:1345
FieldTalk actor28Talks[]
Definition wstag210.c:1026
FieldActorEntry actor51
Definition wstag210.c:1423
FieldTalk actor6Talks[]
Definition wstag210.c:942
FieldTalk actor74Talks[]
Definition wstag210.c:1174
void setupStage(void)
Sets the stage up: its map, actors, battles and events, playing KANRIBGM; BGM_0029 instead at story s...
Definition wstag210.c:438
FieldActorEntry actor43
Definition wstag210.c:1415
FieldTalk actor25Talks[]
Definition wstag210.c:1014
FieldTalk actor19Talks[]
Definition wstag210.c:994
FieldTalk actor51Talks[]
Definition wstag210.c:1114
AreaBattle area2Battle4
Definition wstag210.c:841
FieldActorEntry actor48
Definition wstag210.c:1420
FieldTalk actor80Talks[]
Definition wstag210.c:1195
FieldActorEntry actor95
Definition wstag210.c:1467
u16 actor4Talk0Conditions[]
Definition wstag210.c:906
u16 actor33Conditions[]
Definition wstag210.c:1284
u16 actor90Conditions[]
Definition wstag210.c:1366
FieldTalk actor23Talks[]
Definition wstag210.c:1006
u16 actor16Conditions[]
Definition wstag210.c:1267
StageTile stageObjects[]
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition wstag210.c:1567
u16 actor41Conditions[]
Definition wstag210.c:1292
FieldActorEntry actor9
Definition wstag210.c:1381
u16 actor8Conditions[]
Definition wstag210.c:1259
void updateListMenu(StageListMenu *task, StageListMenuChildren *children)
A list of up to eight options that each open a message.
Definition wstag210.c:21
FieldActorEntry actor20
Definition wstag210.c:1392
FieldTalk actor26Talks[]
Definition wstag210.c:1018
u16 actor65Conditions[]
Definition wstag210.c:1316
u16 actor5Conditions[]
Definition wstag210.c:1252
FieldTalk actor10Talks[]
Definition wstag210.c:958
FieldTalk actor3Talks[]
Definition wstag210.c:929
FieldActorEntry actor73
Definition wstag210.c:1445
FieldTalk actor9Talks[]
Definition wstag210.c:954
u16 actor50Conditions[]
Definition wstag210.c:1301
BattleList area3Battles
Definition wstag210.c:858
u16 actor79Conditions[]
Definition wstag210.c:1351
AreaBattle area3Battle5
Definition wstag210.c:855
FieldTalk actor32Talks[]
Definition wstag210.c:1042
AreaBattle area0Battle5
Definition wstag210.c:816
u16 actor89Conditions[]
Definition wstag210.c:1365
BattleList area1Battles
Definition wstag210.c:832
FieldTalk actor15Talks[]
Definition wstag210.c:978
u16 actor5Talk0Actions[]
Definition wstag210.c:910
FieldActorEntry actor86
Definition wstag210.c:1458
FieldActorEntry actor50
Definition wstag210.c:1422
FieldTalk actor46Talks[]
Definition wstag210.c:1094
FieldActorEntry actor47
Definition wstag210.c:1419
BattleList area2Battles
Definition wstag210.c:845
FieldTalk actor94Talks[]
Definition wstag210.c:1239
FieldTalk actor40Talks[]
Definition wstag210.c:1070
FieldActorEntry actor65
Definition wstag210.c:1437
FieldTalk actor60Talks[]
Definition wstag210.c:1146
s16 script330[]
Definition wstag210.c:655
FieldActorEntry actor15
Definition wstag210.c:1387
FieldActorEntry actor12
Definition wstag210.c:1384
u16 actor27Conditions[]
Definition wstag210.c:1278
FieldActorEntry actor68
Definition wstag210.c:1440
FieldActorEntry actor16
Definition wstag210.c:1388
u16 actor15Conditions[]
Definition wstag210.c:1266
AreaBattle area1Battle4
Definition wstag210.c:828
FieldActorEntry actor66
Definition wstag210.c:1438
u16 actor61Conditions[]
Definition wstag210.c:1312
u16 actor92Conditions[]
Definition wstag210.c:1368
u16 actor73Conditions[]
Definition wstag210.c:1340
u16 actor77Conditions[]
Definition wstag210.c:1344
FieldActorEntry actor38
Definition wstag210.c:1410
u16 actor6Conditions[]
Definition wstag210.c:1257
AreaBattle area2Battle2
Definition wstag210.c:839
AreaBattle area1Battle5
Definition wstag210.c:829
u16 actor57Conditions[]
Definition wstag210.c:1308
u16 actor14Conditions[]
Definition wstag210.c:1265
FieldActorEntry actor30
Definition wstag210.c:1402
FieldActorEntry actor90
Definition wstag210.c:1462
FieldActorEntry actor7
Definition wstag210.c:1379
u16 actor43Conditions[]
Definition wstag210.c:1294
u16 actor49Conditions[]
Definition wstag210.c:1300
StageSlot stageSlots[]
Definition wstag210.c:1674
AreaBattle area2Battle1
Definition wstag210.c:838
u16 actor1Talk0Actions[]
Definition wstag210.c:903
void * startEvent1510(void)
Starts event 1510, which asks whether to listen to basic tamer information: yes starts event 58,...
Definition wstag210.c:373
FieldActorEntry actor88
Definition wstag210.c:1460
u16 actor62Conditions[]
Definition wstag210.c:1313
FieldActorEntry actor77
Definition wstag210.c:1449
FieldActorEntry actor13
Definition wstag210.c:1385
FieldTalk actor24Talks[]
Definition wstag210.c:1010
AreaBattle area1Battle3
Definition wstag210.c:827
FieldTalk actor61Talks[]
Definition wstag210.c:1150
s16 script58[]
Definition wstag210.c:552
FieldActorEntry actor89
Definition wstag210.c:1461
AreaBattle area1Battle0
Definition wstag210.c:824
FieldActorEntry actor60
Definition wstag210.c:1432
FieldActorEntry actor11
Definition wstag210.c:1383
FieldActorEntry actor49
Definition wstag210.c:1421
u16 actor25Conditions[]
Definition wstag210.c:1276
FieldActorEntry actor1
Definition wstag210.c:1373
u16 actor40Conditions[]
Definition wstag210.c:1291
FieldActorEntry actor21
Definition wstag210.c:1393
FieldTalk actor92Talks[]
Definition wstag210.c:1231
AreaBattle area0Battle0
Definition wstag210.c:811
FieldActorEntry actor42
Definition wstag210.c:1414
FieldActorEntry actor59
Definition wstag210.c:1431
AreaBattle area0Battle2
Definition wstag210.c:813
FieldTalk actor13Talks[]
Definition wstag210.c:970
void endEvent310(void)
After event 310, with Kail: sets flag 0x4005 and keeps it from playing again.
Definition wstag210.c:405
#define STAGE_FILE
Definition wstag210.c:431
FieldTalk actor93Talks[]
Definition wstag210.c:1235
AreaBattle area2Battle5
Definition wstag210.c:842
u16 actor4Talk0Actions[]
Definition wstag210.c:907
FieldTalk actor75Talks[]
Definition wstag210.c:1178
FieldActorEntry actor84
Definition wstag210.c:1456
FieldTalk actor64Talks[]
Definition wstag210.c:1162
u16 actor58Conditions[]
Definition wstag210.c:1309
FieldTalk actor87Talks[]
Definition wstag210.c:1211
FieldActorEntry actor72
Definition wstag210.c:1444
FieldTalk actor81Talks[]
Definition wstag210.c:1199
u16 actor45Conditions[]
Definition wstag210.c:1296
AreaBattle area1Battle1
Definition wstag210.c:825
FieldActorEntry actor63
Definition wstag210.c:1435
FieldTalk actor86Talks[]
Definition wstag210.c:1207
u16 actor7Conditions[]
Definition wstag210.c:1258
FieldTalk actor48Talks[]
Definition wstag210.c:1102
AreaBattle area2Battle3
Definition wstag210.c:840
s16 script320[]
Definition wstag210.c:638
u16 actor39Conditions[]
Definition wstag210.c:1290
FieldTalk actor45Talks[]
Definition wstag210.c:1090
FieldTalk actor72Talks[]
Definition wstag210.c:1166
u16 actor55Conditions[]
Definition wstag210.c:1306
u16 actor2Conditions[]
Definition wstag210.c:1249
FieldActorEntry actor76
Definition wstag210.c:1448
FieldTalk actor18Talks[]
Definition wstag210.c:990
u16 actor64Conditions[]
Definition wstag210.c:1315
FieldTalk actor7Talks[]
Definition wstag210.c:946
u16 actor20Conditions[]
Definition wstag210.c:1271
AreaBattle area0Battle4
Definition wstag210.c:815
FieldActorEntry actor34
Definition wstag210.c:1406
#define STAGE_TEXT
Definition wstag210.c:429
u16 actor51Conditions[]
Definition wstag210.c:1302
s32 listWindowFrames[]
Defined below, after the code that uses them.
Definition wstag210.c:808
u16 actor3Talk0Actions[]
Definition wstag210.c:905
FieldTalk actor8Talks[]
Definition wstag210.c:950
FieldActorEntry actor91
Definition wstag210.c:1463
FieldTalk actor34Talks[]
Definition wstag210.c:1050
FieldTalk actor30Talks[]
Definition wstag210.c:1034
FieldActorEntry actor46
Definition wstag210.c:1418
FieldTalk actor12Talks[]
Definition wstag210.c:966
u16 actor74Conditions[]
Definition wstag210.c:1341
FieldActorEntry actor56
Definition wstag210.c:1428
FieldActorEntry actor80
Definition wstag210.c:1452
AreaBattle area3Battle7
Definition wstag210.c:857
FieldActorEntry actor61
Definition wstag210.c:1433
u16 actor21Conditions[]
Definition wstag210.c:1272
u16 actor88Conditions[]
Definition wstag210.c:1364
BattleList area0Battles
Definition wstag210.c:819
FieldTalk actor58Talks[]
Definition wstag210.c:1138
AreaBattle area1Battle7
Definition wstag210.c:831
u16 actor28Conditions[]
Definition wstag210.c:1279
FieldTalk actor16Talks[]
Definition wstag210.c:982
u16 actor17Conditions[]
Definition wstag210.c:1268
FieldActorEntry actor74
Definition wstag210.c:1446
FieldTalk actor29Talks[]
Definition wstag210.c:1030
FieldActorEntry actor3
Definition wstag210.c:1375
FieldActorEntry actor54
Definition wstag210.c:1426
FieldActorEntry actor26
Definition wstag210.c:1398
s16 script13[]
Definition wstag210.c:470
FieldBattles stageBattles[]
Definition wstag210.c:863
FieldActorEntry actor70
Definition wstag210.c:1442
u16 actor36Conditions[]
Definition wstag210.c:1287
u16 actor56Conditions[]
Definition wstag210.c:1307
FieldActorEntry actor14
Definition wstag210.c:1386
FieldEvent stageEvents[]
Definition wstag210.c:1688
u16 actor12Conditions[]
Definition wstag210.c:1263
FieldTalk actor22Talks[]
Definition wstag210.c:1002
FieldActorEntry actor93
Definition wstag210.c:1465
FieldActorEntry actor64
Definition wstag210.c:1436
u16 actor63Conditions[]
Definition wstag210.c:1314
StageFuncs stageFuncs
The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a t...
Definition wstag210.c:1687
u16 actor0Conditions[]
Definition wstag210.c:1243
FieldTalk actor59Talks[]
Definition wstag210.c:1142
FieldTalk actor90Talks[]
Definition wstag210.c:1223