Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
wstag305.c
Go to the documentation of this file.
1/*
2 * WSTAG305: Master Room, Asuka City.
3 */
4
5#include "common.h"
6#include "field/stage.h"
7/* Defined below, after the code that uses them */
9
11
13
14/* Plays the sound and starts the animation when map object 0x335 is triggered */
16 if (task != NULL && id == 0x335) {
18 task->obj.anim.index = 0;
20 task->setSubstate(task, 1);
21 }
22}
23
25
26/* Creates the event objects of the story so far, the first that applies */
27void updateStage(StageTask *task, void **children) {
28 switch (task->state) {
29 case TASK_INIT:
30 default:
31 do {
33 children[0] = FIELDSTG_startEvent(0x15E);
34 break;
35 }
37 children[0] = FIELDSTG_startEvent(0x15F);
38 break;
39 }
41 children[0] = FIELDSTG_startEvent(0x294);
42 break;
43 }
44 if (GAME.progress == STORY_CONTROL_ROOM && FLAGS_00.checkCondition(FLAG(0x1C, 0x37), 1)) {
45 children[0] = FIELDSTG_startEvent(0x295);
46 break;
47 }
49 children[0] = FIELDSTG_startEvent(0x2AB);
50 break;
51 }
53 children[0] = FIELDSTG_startEvent(0x37A);
54 break;
55 }
58 children[0] = FIELDSTG_startEvent(0x37D);
59 break;
60 }
63 children[0] = FIELDSTG_startEvent(0x37E);
64 break;
65 }
67 children[0] = FIELDSTG_startEvent(0x3C0);
68 break;
69 }
70 } while (0);
72 children[1] = createSoundTile(0x352);
73 }
74 task->nextState(task);
75 break;
76 case TASK_RUN:
77 case TASK_DONE:
78 case TASK_KILL:
79 break;
80 }
81}
82
83#define STAGE_CHILDREN_SIZE 0x8
85
86/* After event 350, with Kail, Game Master and DO Guard: keeps it from playing again */
90
91/* After event 351, with Game Master and Kail: sets flag 0x1C0E */
92void endEvent351(void) {
93 FLAGS_00.applyAction(FLAG(0x1C, 0xE), 1);
94}
95
96/* After event 660, with the player: clears flag 0x1C36 */
100
101/* After event 661, with the player: moves the story on to STORY_GAME_MASTER_CAUGHT */
105
106/* After event 890, with Lisa, Teddy, Keith and Nick: keeps it from playing again */
110
111/* After event 893, with Lisa, Nick, Keith and Teddy: moves the story on to STORY_WAY_TO_AMATERASU */
115
116/* After event 894, with Lisa, Nick and Keith: keeps it from playing again */
120
121/* After event 895, with Lisa, Keith, Nick and Teddy: moves the story on to STORY_WAY_TO_AMATERASU */
125
126/* After event 960, with Oinkmon: keeps it from playing again */
127void endEvent960(void) {
128 FLAGS_00.applyAction(FLAG(0x40, 0x69), 1);
129}
130
131#if VERSION_US || VERSION_JP
132#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_05)
133#define EVENT_TEXT_FILE (TEXT_EVENTS_305 - 1)
134#define STAGE_FILE 0x33C
135#elif VERSION_EU
136#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_05)
137#define EVENT_TEXT_FILE (TEXT_EVENTS_305 - 1)
138#define STAGE_FILE 0x34B
139#endif
140/* Sets the stage up: its map, actors and events, playing KANRIBGM */
159
161 SCRIPT_FOLLOW(1, 0x26),
162 SCRIPT_PLACE(0x25, 0x13E, 0x102),
163 SCRIPT_POSE(0x25, 1, 5),
164 SCRIPT_PLACE(0x26, 0xCC, 0x139),
165 SCRIPT_POSE(0x26, 1, 5),
166 SCRIPT_PLACE(0x27, 0x100, 0x152),
167 SCRIPT_POSE(0x27, 1, 5),
168 SCRIPT_PLACE(0x45, 0x15E, 0x114),
169 SCRIPT_POSE(0x45, 1, 5),
170 SCRIPT_PLACE(0x46, 0x130, 0x116),
171 SCRIPT_POSE(0x46, 1, 5),
172 SCRIPT_PLACE(0x6A, 0x58, 0x18C),
173 SCRIPT_POSE(0x6A, 1, 5),
174 SCRIPT_PLACE(0x6C, 0x1AF, 0xB0),
175 SCRIPT_POSE(0x6C, 1, 1),
176 SCRIPT_PLACE(0x6D, 0x19F, 0x9E),
177 SCRIPT_POSE(0x6D, 1, 1),
178 SCRIPT_PLACE(0x6E, 0x1CE, 0xB3),
179 SCRIPT_POSE(0x6E, 1, 1),
180 SCRIPT_WAIT(0x1E),
181 SCRIPT_WALK(0x6A, 0x78, 0x17C, 5),
182 SCRIPT_PLACE(0x6B, 0x58, 0x18C),
183 SCRIPT_POSE(0x6B, 1, 5),
184 SCRIPT_WAIT_WALK(0x6A),
185 SCRIPT_WALK(0x6A, 0x98, 0x16B, 5),
186 SCRIPT_WALK(0x6B, 0x75, 0x17D, 5),
187 SCRIPT_WAIT_WALK(0x6B),
188 SCRIPT_POSE(0x6A, 1, 5),
189 SCRIPT_POSE(0x6B, 1, 5),
190 SCRIPT_COMMAND(0x323, 0x325, 0x6B),
191 SCRIPT_COMMAND(0x324, 0x325, 0x6A),
192 SCRIPT_WAIT(0x3C),
193 SCRIPT_COMMAND(0x323, 0x326, 0x6B),
194 SCRIPT_COMMAND(0x324, 0x326, 0x6A),
195 SCRIPT_WAIT(0x1E),
196 SCRIPT_TALK(0, 1, 0x6B, 2),
198 SCRIPT_WALK(0x6A, 0xBF, 0x180, 5),
199 SCRIPT_WALK(0x6B, 0x98, 0x16B, 7),
200 SCRIPT_WAIT_WALK(0x6B),
201 SCRIPT_WALK(0x6A, 0xD9, 0x172, 3),
202 SCRIPT_WALK(0x6B, 0xBF, 0x180, 5),
203 SCRIPT_WAIT_WALK(0x6B),
204 SCRIPT_POSE(0x6A, 1, 3),
205 SCRIPT_POSE(0x6B, 1, 5),
206 SCRIPT_WAIT(0x1E),
207 SCRIPT_LOOK_AT(0, 0x160, 0xDF),
208 SCRIPT_WAIT(0x78),
209 SCRIPT_TALK(0, 2, 0x6C, 1),
211 SCRIPT_WAIT(0x1E),
212 SCRIPT_TALK(0, 3, 0x45, 2),
214 SCRIPT_WAIT(0x1E),
215 SCRIPT_TALK(0, 4, 0x25, 0),
217 SCRIPT_WAIT(0x1E),
218 SCRIPT_LOOK_AT(0, 0xB0, 0x160),
219 SCRIPT_POSE(0x6A, 1, 1),
220 SCRIPT_WAIT(0x1E),
221 SCRIPT_TALK(0, 5, 0x6A, 2),
223 SCRIPT_WAIT(0x1E),
224 SCRIPT_PLACE(0x6F, 0x58, 0x18C),
225 SCRIPT_POSE(0x6F, 1, 5),
226 SCRIPT_WAIT(0x1E),
227 SCRIPT_WALK(0x6F, 0x80, 0x178, 5),
228 SCRIPT_WAIT_WALK(0x6F),
229 SCRIPT_POSE(0x6F, 1, 5),
230 SCRIPT_COMMAND(0x323, 0x325, 0x6F),
231 SCRIPT_WAIT(0x3C),
232 SCRIPT_COMMAND(0x323, 0x326, 0x6F),
233 SCRIPT_WAIT(0x1E),
234 SCRIPT_POSE(0x6F, 1, 6),
235 SCRIPT_WAIT(0x1E),
236 SCRIPT_TALK(0, 6, 0x6F, 2),
238 SCRIPT_COMMAND(0x323, 0x325, 0x26),
239 SCRIPT_COMMAND(0x324, 0x325, 0x27),
240 SCRIPT_WAIT(0x3C),
241 SCRIPT_COMMAND(0x323, 0x326, 0x26),
242 SCRIPT_COMMAND(0x324, 0x326, 0x27),
243 SCRIPT_WAIT(0x1E),
244 SCRIPT_WALK(0x26, 0xE3, 0x147, 1),
245 SCRIPT_POSE(0x27, 1, 3),
246 SCRIPT_POSE(0x45, 1, 1),
247 SCRIPT_POSE(0x46, 1, 1),
248 SCRIPT_POSE(0x6D, 1, 1),
249 SCRIPT_WAIT_WALK(0x26),
250 SCRIPT_WALK(0x26, 0xD0, 0x151, 1),
251 SCRIPT_WALK(0x27, 0xE3, 0x147, 1),
252 SCRIPT_WAIT_WALK(0x27),
253 SCRIPT_WALK(0x26, 0xB0, 0x160, 7),
254 SCRIPT_WALK(0x27, 0xD0, 0x151, 0),
255 SCRIPT_WAIT_WALK(0x26),
256 SCRIPT_TALK(1, 8, 0x27, 2),
257 SCRIPT_TALK(0, 7, 0x26, 1),
258 SCRIPT_POSE(0x26, 1, 7),
259 SCRIPT_POSE(0x27, 1, 0),
261 SCRIPT_COMMAND(0x323, 0x325, 0x6A),
262 SCRIPT_COMMAND(0x324, 0x325, 0x6B),
263 SCRIPT_WAIT(0x3C),
264 SCRIPT_COMMAND(0x323, 0x326, 0x6A),
265 SCRIPT_COMMAND(0x324, 0x326, 0x6B),
266 SCRIPT_WAIT(0x1E),
267 SCRIPT_POSE(0x6A, 1, 3),
268 SCRIPT_POSE(0x6B, 1, 3),
269 SCRIPT_WAIT(0x1E),
270 SCRIPT_POSE(0x6A, 1, 4),
271 SCRIPT_POSE(0x6B, 1, 2),
272 SCRIPT_WAIT(0x1E),
273 SCRIPT_POSE(0x6A, 1, 1),
274 SCRIPT_POSE(0x6B, 1, 5),
275 SCRIPT_WAIT(0x1E),
276 SCRIPT_TALK(0, 9, 0x6A, 2),
278 SCRIPT_WAIT(0x3C),
279 SCRIPT_LEAVE(0x218, 0x64, 0x64, 0),
281};
283 SCRIPT_LOOK_AT(1, 0x160, 0xDF),
284 SCRIPT_PLACE(1, 0x13E, 0x102),
285 SCRIPT_POSE(1, 1, 5),
286 SCRIPT_PLACE(0xB, 0x15E, 0x114),
287 SCRIPT_POSE(0xB, 1, 5),
288 SCRIPT_PLACE(0x25, 0x130, 0x11B),
289 SCRIPT_POSE(0x25, 1, 5),
290 SCRIPT_PLACE(0x26, 0xCC, 0x139),
291 SCRIPT_POSE(0x26, 1, 5),
292 SCRIPT_PLACE(0x27, 0x100, 0x152),
293 SCRIPT_POSE(0x27, 1, 5),
294 SCRIPT_PLACE(0x6C, 0x1AF, 0xB0),
295 SCRIPT_POSE(0x6C, 1, 1),
296 SCRIPT_PLACE(0x6D, 0x19F, 0x9E),
297 SCRIPT_POSE(0x6D, 1, 1),
298 SCRIPT_PLACE(0x6E, 0x1CE, 0xB3),
299 SCRIPT_POSE(0x6E, 1, 1),
300 SCRIPT_WAIT(0x78),
301 SCRIPT_TALK(0, 1, 0x6C, 1),
303 SCRIPT_WAIT(0x1E),
304 SCRIPT_TALK(0, 2, 1, 0),
305 SCRIPT_POSE(1, 7, 5),
307 SCRIPT_POSE(1, 1, 5),
308 SCRIPT_WAIT(0x1E),
309 SCRIPT_TALK(0, 3, 0x6C, 1),
311 SCRIPT_WAIT(0x1E),
312 SCRIPT_TALK(0, 4, 1, 0),
313 SCRIPT_POSE(1, 7, 5),
315 SCRIPT_POSE(1, 1, 5),
316 SCRIPT_WAIT(0x1E),
317 SCRIPT_TALK(0, 5, 0x6C, 1),
319 SCRIPT_WAIT(0x1E),
320 SCRIPT_TALK(0, 6, 1, 0),
322 SCRIPT_WAIT(0x1E),
323 SCRIPT_TALK(0, 7, 1, 0),
324 SCRIPT_POSE(1, 0xC, 5),
326 SCRIPT_POSE(1, 1, 5),
327 SCRIPT_WAIT(0x1E),
328 SCRIPT_TALK(0, 8, 0xB, 2),
330 SCRIPT_WAIT(0x1E),
331 SCRIPT_TALK(0, 9, 0x6C, 1),
333 SCRIPT_WAIT(0x1E),
334 SCRIPT_COMMAND(0x323, 0x325, 1),
335 SCRIPT_WAIT(0x3C),
336 SCRIPT_POSE(1, 1, 5),
337 SCRIPT_COMMAND(0x323, 0x326, 1),
338 SCRIPT_WAIT(0x1E),
339 SCRIPT_TALK(0, 0xA, 1, 0),
340 SCRIPT_POSE(1, 7, 5),
342 SCRIPT_POSE(1, 1, 5),
343 SCRIPT_WAIT(0x1E),
344 SCRIPT_TALK(0, 0xB, 0x6C, 1),
346 SCRIPT_WAIT(0x1E),
347 SCRIPT_LEAVE(0x204, 0x179, 0xAB, 1),
349};
351 SCRIPT_PLACE(2, 0x138, 0x11D),
352 SCRIPT_POSE(2, 1, 5),
353 SCRIPT_WAIT(0x1E),
354 SCRIPT_LOOK_AT(0, 0x17F, 0xF9),
355 SCRIPT_WAIT(0x96),
356 SCRIPT_WAIT(0x3C),
357 SCRIPT_FOLLOW(1, 2),
358 SCRIPT_WAIT(0x1E),
359 SCRIPT_COMMAND(0x323, 0x327, 2),
360 SCRIPT_WAIT(0x78),
361 SCRIPT_COMMAND(0x323, 0x326, 2),
362 SCRIPT_WAIT(0x1E),
363 SCRIPT_TALK(0, 1, 2, 0),
364 SCRIPT_POSE(2, 7, 5),
366 SCRIPT_POSE(2, 1, 5),
367 SCRIPT_WAIT(0x1E),
368 SCRIPT_LEAVE(0x218, 0x138, 0x11D, 1),
370};
372 SCRIPT_PLACE(2, 0x138, 0x11D),
373 SCRIPT_POSE(2, 1, 5),
374 SCRIPT_WAIT(0x1E),
375 SCRIPT_LOOK_AT(0, 0x17F, 0xF9),
376 SCRIPT_WAIT(0x96),
377 SCRIPT_WAIT(0x3C),
378 SCRIPT_COMMAND(0x323, 0x325, 2),
379 SCRIPT_COMMAND(0x352, 0x335, 2),
380 SCRIPT_WAIT(0x78),
381 SCRIPT_COMMAND(0x323, 0x326, 2),
382 SCRIPT_WAIT(0x1E),
383 SCRIPT_FOLLOW(1, 2),
384 SCRIPT_WAIT(0x1E),
385 SCRIPT_TALK(0, 1, 2, 0),
386 SCRIPT_POSE(2, 7, 5),
388 SCRIPT_POSE(2, 1, 5),
389 SCRIPT_WAIT(0x1E),
390 SCRIPT_WALK(2, 0x17F, 0xF9, 5),
391 SCRIPT_WAIT(0x3C),
392 SCRIPT_LEAVE(0x219, 0x58, 0x20C, 5),
394};
396 SCRIPT_PLACE(1, 0x16E, 0xE8),
397 SCRIPT_POSE(1, 1, 1),
398 SCRIPT_PLACE(0xB, 0x188, 0xF4),
399 SCRIPT_POSE(0xB, 1, 1),
400 SCRIPT_PLACE(0xC, 0x1BA, 0x92),
401 SCRIPT_POSE(0xC, 1, 3),
402 SCRIPT_PLACE(0x65, 0x138, 0x12C),
403 SCRIPT_POSE(0x65, 1, 5),
404 SCRIPT_PLACE(0x67, 0x118, 0x11C),
405 SCRIPT_POSE(0x67, 1, 5),
406 SCRIPT_PLACE(0x6C, 0x150, 0x110),
407 SCRIPT_POSE(0x6C, 1, 1),
408 SCRIPT_PLACE(0x13D, 0x1A0, 0x100),
409 SCRIPT_POSE(0x13D, 1, 1),
410 SCRIPT_WAIT(0x78),
411 SCRIPT_LOOK_AT(0, 0x150, 0x114),
412 SCRIPT_TALK(0, 1, 0x65, 3),
414 SCRIPT_WAIT(0x1E),
415 SCRIPT_TALK(0, 2, 0x6C, 0),
417 SCRIPT_WAIT(0x1E),
418 SCRIPT_COMMAND(0x323, 0x325, 1),
419 SCRIPT_COMMAND(0x324, 0x325, 0xB),
420 SCRIPT_COMMAND(0x325, 0x325, 0x65),
421 SCRIPT_COMMAND(0x326, 0x325, 0x67),
422 SCRIPT_WAIT(0x3C),
423 SCRIPT_COMMAND(0x323, 0x326, 1),
424 SCRIPT_COMMAND(0x324, 0x326, 0xB),
425 SCRIPT_COMMAND(0x325, 0x326, 0x65),
426 SCRIPT_COMMAND(0x326, 0x326, 0x67),
427 SCRIPT_WAIT(0x1E),
428 SCRIPT_LOOK_AT(0, 0x17A, 0xBC),
429 SCRIPT_WAIT(0x3C),
430 SCRIPT_COMMAND(0x323, 0x325, 0xC),
431 SCRIPT_WAIT(0x3C),
432 SCRIPT_COMMAND(0x323, 0x326, 0xC),
433 SCRIPT_WAIT(0x1E),
434 SCRIPT_POSE(0xC, 0x34, 0),
435 SCRIPT_WAIT(0x3C),
436 SCRIPT_POSE(0xC, 1, 1),
437 SCRIPT_WAIT(0x1E),
438 SCRIPT_WALK(0xC, 0x19A, 0xA2, 1),
439 SCRIPT_WAIT_WALK(0xC),
440 SCRIPT_POSE(0xC, 1, 1),
441 SCRIPT_WAIT(0x1E),
442 SCRIPT_TALK(0, 3, 0xC, 3),
443 SCRIPT_POSE(0xC, 7, 1),
445 SCRIPT_POSE(0xC, 0x35, 0),
446 SCRIPT_WAIT(0x1E),
447 SCRIPT_LOOK_AT(0, 0x150, 0x114),
448 SCRIPT_TALK(0, 4, 0x67, 2),
450 SCRIPT_POSE(0xC, 1, 1),
451 SCRIPT_WAIT(0x1E),
452 SCRIPT_TALK(0, 5, 0x6C, 0),
454 SCRIPT_POSE(0x6C, 1, 5),
455 SCRIPT_WAIT(0x1E),
456 SCRIPT_TALK(0, 0x19, 0x6C, 0),
458 SCRIPT_POSE(0x6C, 1, 1),
459 SCRIPT_WAIT(0x1E),
460 SCRIPT_TALK(0, 0x1A, 0x6C, 0),
462 SCRIPT_FOLLOW(0, 1),
463 SCRIPT_COMMAND(0x323, 0x325, 1),
464 SCRIPT_WAIT(0x3C),
465 SCRIPT_COMMAND(0x323, 0x326, 1),
466 SCRIPT_WAIT(0x1E),
467 SCRIPT_TALK(0, 6, 1, 0),
468 SCRIPT_POSE(1, 0xC, 1),
470 SCRIPT_POSE(1, 1, 1),
471 SCRIPT_POSE(0x6C, 1, 5),
472 SCRIPT_WAIT(0x1E),
473 SCRIPT_LOOK_AT(0, 0x150, 0x114),
474 SCRIPT_TALK(0, 7, 0x6C, 1),
476 SCRIPT_POSE(0x6C, 1, 1),
477 SCRIPT_WAIT(0x1E),
478 SCRIPT_TALK(0, 0x1B, 0x6C, 0),
480 SCRIPT_WAIT(0x1E),
481 SCRIPT_TALK(0, 8, 0x67, 2),
482 SCRIPT_POSE(0x67, 1, 7),
484 SCRIPT_WAIT(0x1E),
485 SCRIPT_COMMAND(0x323, 0x327, 0x65),
486 SCRIPT_WAIT(0x3C),
487 SCRIPT_COMMAND(0x323, 0x326, 0x65),
488 SCRIPT_WAIT(0x1E),
489 SCRIPT_TALK(0, 9, 0x65, 3),
490 SCRIPT_POSE(0x65, 1, 3),
492 SCRIPT_POSE(0x65, 1, 5),
493 SCRIPT_WAIT(0x1E),
494 SCRIPT_TALK(0, 0x1C, 0x65, 3),
496 SCRIPT_WAIT(0x1E),
497 SCRIPT_FOLLOW(0, 1),
498 SCRIPT_TALK(0, 0xA, 1, 0),
499 SCRIPT_POSE(1, 7, 1),
501 SCRIPT_POSE(1, 1, 1),
502 SCRIPT_WAIT(0x3C),
503 SCRIPT_FOLLOW(0, 0x13D),
504 SCRIPT_TALK(0, 0x18, 0x13D, 1),
506 SCRIPT_POSE(1, 1, 7),
507 SCRIPT_POSE(0xB, 1, 7),
508 SCRIPT_COMMAND(0x323, 0x325, 1),
509 SCRIPT_COMMAND(0x324, 0x325, 0xB),
510 SCRIPT_COMMAND(0x325, 0x325, 0x65),
511 SCRIPT_WAIT(0x3C),
512 SCRIPT_COMMAND(0x323, 0x326, 1),
513 SCRIPT_COMMAND(0x324, 0x326, 0xB),
514 SCRIPT_COMMAND(0x325, 0x326, 0x65),
515 SCRIPT_WAIT(0x1E),
516 SCRIPT_LOOK_AT(0, 0x150, 0x114),
517 SCRIPT_TALK(0, 0xB, 0x65, 3),
518 SCRIPT_POSE(1, 1, 1),
519 SCRIPT_POSE(0xB, 1, 1),
521 SCRIPT_WAIT(0x1E),
522 SCRIPT_TALK(0, 0xC, 0x67, 2),
524 SCRIPT_WAIT(0x1E),
525 SCRIPT_TALK(0, 0xD, 0x65, 3),
526 SCRIPT_POSE(0x65, 1, 3),
528 SCRIPT_WAIT(0x1E),
529 SCRIPT_TALK(0, 0xE, 0x6C, 0),
530 SCRIPT_POSE(0x65, 1, 5),
531 SCRIPT_POSE(0x6C, 1, 1),
533 SCRIPT_WAIT(0x1E),
534 SCRIPT_TALK(0, 0xF, 0x65, 3),
536 SCRIPT_WAIT(0x1E),
537 SCRIPT_FOLLOW(0, 1),
538 SCRIPT_TALK(0, 0x10, 1, 0),
539 SCRIPT_POSE(1, 7, 1),
541 SCRIPT_POSE(1, 1, 1),
542 SCRIPT_WAIT(0x1E),
543 SCRIPT_FOLLOW(0, 0x65),
544 SCRIPT_TALK(0, 0x12, 0x65, 3),
546 SCRIPT_WAIT(0x1E),
547 SCRIPT_WALK(0x65, 0x150, 0x138, 7),
548 SCRIPT_WAIT_WALK(0x65),
549 SCRIPT_POSE(0x65, 1, 4),
550 SCRIPT_WAIT(0x1E),
551 SCRIPT_TALK(0, 0x1D, 0x65, 3),
553 SCRIPT_LOOK_AT(0, 0x150, 0x114),
554 SCRIPT_WAIT(0x1E),
555 SCRIPT_WALK(0x67, 0x128, 0x124, 7),
556 SCRIPT_WAIT_WALK(0x67),
557 SCRIPT_POSE(0x67, 1, 5),
558 SCRIPT_WAIT(0x1E),
559 SCRIPT_TALK(0, 0x13, 0x67, 0),
561 SCRIPT_POSE(0x67, 1, 1),
562 SCRIPT_WALK(0x6C, 0x140, 0x118, 1),
563 SCRIPT_WAIT_WALK(0x6C),
564 SCRIPT_WALK(0x65, 0x128, 0x124, 1),
565 SCRIPT_WALK(0x67, 0xF8, 0x13C, 1),
566 SCRIPT_WALK(0x6C, 0x110, 0x130, 1),
567 SCRIPT_WAIT_WALK(0x6C),
568 SCRIPT_WALK(0x65, 0x80, 0x178, 1),
569 SCRIPT_WALK(0x67, 0x80, 0x178, 1),
570 SCRIPT_WALK(0x6C, 0x80, 0x178, 1),
571 SCRIPT_WAIT(0x78),
572 SCRIPT_LOOK_AT(0, 0x17E, 0xE4),
573 SCRIPT_WAIT(0x1E),
574 SCRIPT_WALK(1, 0x14E, 0xF8, 1),
576 SCRIPT_TALK(0, 0x14, 0xC, 3),
577 SCRIPT_POSE(0xC, 0x3B, 1),
579 SCRIPT_POSE(0xC, 1, 1),
580 SCRIPT_WAIT(0x1E),
581 SCRIPT_TALK(0, 0x15, 1, 3),
582 SCRIPT_POSE(1, 7, 5),
584 SCRIPT_POSE(1, 1, 5),
585 SCRIPT_WAIT(0x1E),
586 SCRIPT_POSE(0xC, 9, 1),
587 SCRIPT_WAIT_ANIM(0xC),
588 SCRIPT_WAIT(0x1E),
589 SCRIPT_TALK(0, 0x16, 0xB, 3),
590 SCRIPT_POSE(0xB, 7, 1),
592 SCRIPT_WAIT(0x1E),
593 SCRIPT_WALK(0xB, 0x188, 0x110, 0),
594 SCRIPT_WAIT_WALK(0xB),
595 SCRIPT_POSE(1, 1, 7),
596 SCRIPT_POSE(0xB, 1, 3),
597 SCRIPT_POSE(0xC, 1, 0),
598 SCRIPT_WAIT(0x1E),
599 SCRIPT_TALK(0, 0x1E, 0xB, 2),
600 SCRIPT_POSE(0xB, 0x3B, 3),
602 SCRIPT_WAIT(0x3C),
603 SCRIPT_LEAVE(0x2D7, 0x64, 0x64, 0),
605};
607 SCRIPT_FOLLOW(0, 0x65),
608 SCRIPT_PLACE(2, 0x90, 0x170),
609 SCRIPT_POSE(2, 1, 5),
610 SCRIPT_PLACE(2, 0x98, 0x16C),
611 SCRIPT_POSE(2, 1, 5),
612 SCRIPT_PLACE(0x65, 0x14F, 0x111),
613 SCRIPT_POSE(0x65, 1, 0),
614 SCRIPT_PLACE(0x66, 0x138, 0x12C),
615 SCRIPT_POSE(0x66, 1, 5),
616 SCRIPT_PLACE(0x67, 0x170, 0x138),
617 SCRIPT_POSE(0x67, 1, 3),
618 SCRIPT_PLACE(0xB3, 0x1A0, 0xA0),
619 SCRIPT_POSE(0xB3, 1, 3),
620 SCRIPT_PLACE(0x17D, 0x16F, 0xE9),
621 SCRIPT_POSE(0x17D, 1, 1),
622 SCRIPT_PLACE(0x17E, 0x187, 0xF5),
623 SCRIPT_POSE(0x17E, 1, 1),
624 SCRIPT_PLACE(0x17F, 0x19F, 0x101),
625 SCRIPT_POSE(0x17F, 1, 1),
626 SCRIPT_WAIT(0x1E),
627 SCRIPT_WALK(2, 0xE0, 0x148, 5),
629 SCRIPT_WALK(2, 0x110, 0x130, 5),
630 SCRIPT_POSE(0x65, 1, 1),
631 SCRIPT_POSE(0x66, 1, 1),
632 SCRIPT_POSE(0x67, 1, 1),
633 SCRIPT_COMMAND(0x323, 0x325, 0x65),
634 SCRIPT_COMMAND(0x324, 0x325, 0x66),
635 SCRIPT_COMMAND(0x326, 0x325, 0x67),
637 SCRIPT_WALK(2, 0x128, 0x124, 5),
638 SCRIPT_WALK(0x66, 0x148, 0x134, 7),
639 SCRIPT_COMMAND(0x323, 0x326, 0x65),
640 SCRIPT_COMMAND(0x324, 0x326, 0x66),
641 SCRIPT_COMMAND(0x326, 0x326, 0x67),
643 SCRIPT_POSE(2, 1, 5),
644 SCRIPT_POSE(0x66, 1, 3),
645 SCRIPT_POSE(0x67, 1, 2),
646 SCRIPT_WAIT(0x1E),
647 SCRIPT_TALK(0, 1, 2, 1),
648 SCRIPT_POSE(2, 7, 5),
650 SCRIPT_POSE(2, 1, 5),
651 SCRIPT_WAIT(0x1E),
652 SCRIPT_TALK(0, 2, 0x65, 0),
654 SCRIPT_FOLLOW(0, 0xB3),
655 SCRIPT_WAIT(0x1E),
656 SCRIPT_TALK(0, 3, 0xB3, 1),
657 SCRIPT_POSE(0x66, 1, 4),
658 SCRIPT_POSE(0x67, 1, 4),
659 SCRIPT_POSE(0xB3, 1, 1),
661 SCRIPT_FOLLOW(0, 2),
662 SCRIPT_WAIT(0x5A),
663 SCRIPT_TALK(0, 4, 0x66, 1),
664 SCRIPT_POSE(2, 1, 7),
665 SCRIPT_POSE(0x67, 1, 2),
666 SCRIPT_POSE(0xB3, 1, 3),
668 SCRIPT_WAIT(0x1E),
669 SCRIPT_TALK(0, 0xB, 0x67, 1),
670 SCRIPT_POSE(2, 1, 6),
671 SCRIPT_POSE(0x65, 1, 7),
672 SCRIPT_POSE(0x66, 1, 6),
673 SCRIPT_POSE(0x67, 1, 3),
675 SCRIPT_WAIT(0x1E),
676 SCRIPT_TALK(0, 5, 2, 0),
677 SCRIPT_POSE(2, 7, 5),
678 SCRIPT_POSE(0x65, 1, 1),
679 SCRIPT_POSE(0x66, 1, 3),
680 SCRIPT_POSE(0x67, 1, 2),
682 SCRIPT_POSE(2, 1, 5),
683 SCRIPT_WAIT(0x1E),
684 SCRIPT_COMMAND(0x323, 0x327, 0x65),
685 SCRIPT_WAIT(0x3C),
686 SCRIPT_COMMAND(0x323, 0x326, 0x65),
687 SCRIPT_WAIT(0x1E),
688 SCRIPT_TALK(0, 6, 0x65, 0),
689 SCRIPT_POSE(2, 1, 5),
690 SCRIPT_POSE(0x66, 1, 4),
691 SCRIPT_POSE(0x67, 1, 3),
693 SCRIPT_WAIT(0x1E),
694 SCRIPT_TALK(0, 7, 2, 0),
695 SCRIPT_POSE(2, 7, 5),
697 SCRIPT_POSE(2, 1, 5),
698 SCRIPT_WAIT(0x1E),
699 SCRIPT_TALK(1, 0xC, 0x67, 2),
700 SCRIPT_TALK(0, 8, 0x66, 1),
702 SCRIPT_WAIT(0x1E),
703 SCRIPT_TALK(0, 0xA, 0x65, 0),
704 SCRIPT_POSE(0x65, 1, 0),
706 SCRIPT_WAIT(0x1E),
707 SCRIPT_TALK(0, 9, 0x65, 0),
708 SCRIPT_POSE(0x65, 1, 1),
710 SCRIPT_WAIT(0x1E),
711 SCRIPT_WALK(2, 0x108, 0x114, 7),
712 SCRIPT_WALK(0x65, 0x128, 0x124, 1),
713 SCRIPT_POSE(0x66, 1, 3),
714 SCRIPT_POSE(0x67, 1, 2),
715 SCRIPT_WAIT_WALK(0x65),
716 SCRIPT_WALK(2, 0x128, 0x124, 1),
717 SCRIPT_WALK(0x65, 0x108, 0x134, 1),
718 SCRIPT_POSE(0x66, 1, 1),
719 SCRIPT_POSE(0x67, 1, 1),
720 SCRIPT_WAIT_WALK(0x65),
721 SCRIPT_WALK(2, 0xA0, 0x168, 1),
722 SCRIPT_WALK(0x65, 0xA0, 0x168, 1),
723 SCRIPT_WAIT(0x3C),
724 SCRIPT_LEAVE(0x216, 0x64, 0x64, 0),
726};
728 SCRIPT_FOLLOW(1, 0xB3),
729 SCRIPT_PLACE(2, 0x118, 0x11C),
730 SCRIPT_POSE(2, 1, 5),
731 SCRIPT_PLACE(0x65, 0x14F, 0x111),
732 SCRIPT_POSE(0x65, 1, 1),
733 SCRIPT_PLACE(0x66, 0x136, 0x12C),
734 SCRIPT_POSE(0x66, 1, 5),
735 SCRIPT_PLACE(0x67, 0x170, 0x138),
736 SCRIPT_POSE(0x67, 1, 3),
737 SCRIPT_PLACE(0xB3, 0x1A0, 0xA0),
738 SCRIPT_POSE(0xB3, 1, 3),
739 SCRIPT_PLACE(0x17D, 0x16F, 0xE9),
740 SCRIPT_POSE(0x17D, 1, 1),
741 SCRIPT_PLACE(0x17E, 0x187, 0xF5),
742 SCRIPT_POSE(0x17E, 1, 1),
743 SCRIPT_PLACE(0x17F, 0x19F, 0x101),
744 SCRIPT_POSE(0x17F, 1, 1),
745 SCRIPT_WAIT(0x78),
746 SCRIPT_POSE(0xB3, 1, 1),
747 SCRIPT_WAIT(0x1E),
748 SCRIPT_LOOK_AT(0, 0x136, 0x12C),
749 SCRIPT_WAIT(0x5A),
750 SCRIPT_TALK(0, 1, 0x65, 2),
752 SCRIPT_WAIT(0x1E),
753 SCRIPT_TALK(0, 2, 0x67, 1),
754 SCRIPT_POSE(2, 1, 7),
755 SCRIPT_POSE(0x65, 1, 7),
756 SCRIPT_POSE(0x66, 1, 7),
758 SCRIPT_WAIT(0x1E),
759 SCRIPT_TALK(0, 3, 2, 0),
760 SCRIPT_POSE(2, 7, 6),
761 SCRIPT_POSE(0x65, 1, 1),
762 SCRIPT_POSE(0x66, 1, 3),
764 SCRIPT_POSE(2, 1, 6),
765 SCRIPT_WAIT(0x1E),
766 SCRIPT_TALK(0, 4, 0x66, 1),
768 SCRIPT_WAIT(0x1E),
769 SCRIPT_TALK(0, 5, 0x65, 2),
770 SCRIPT_POSE(2, 1, 5),
771 SCRIPT_POSE(0x65, 1, 1),
772 SCRIPT_POSE(0x66, 1, 5),
774 SCRIPT_WAIT(0x1E),
775 SCRIPT_COMMAND(0x323, 0x325, 2),
776 SCRIPT_WAIT(0x3C),
777 SCRIPT_COMMAND(0x323, 0x326, 2),
778 SCRIPT_WAIT(0x1E),
779 SCRIPT_TALK(0, 6, 2, 0),
780 SCRIPT_POSE(2, 7, 5),
782 SCRIPT_POSE(2, 1, 5),
783 SCRIPT_POSE(0x66, 1, 3),
784 SCRIPT_POSE(0x67, 1, 3),
785 SCRIPT_COMMAND(0x323, 0x325, 0x65),
786 SCRIPT_COMMAND(0x324, 0x325, 0x66),
787 SCRIPT_COMMAND(0x325, 0x325, 0x67),
788 SCRIPT_WAIT(0x3C),
789 SCRIPT_COMMAND(0x323, 0x326, 0x65),
790 SCRIPT_COMMAND(0x324, 0x326, 0x66),
791 SCRIPT_COMMAND(0x325, 0x326, 0x67),
792 SCRIPT_WAIT(0x1E),
793 SCRIPT_TALK(0, 7, 0x65, 2),
795 SCRIPT_WAIT(0x1E),
796 SCRIPT_TALK(0, 8, 2, 0),
797 SCRIPT_POSE(2, 7, 5),
799 SCRIPT_POSE(2, 1, 5),
800 SCRIPT_WAIT(0x1E),
801 SCRIPT_TALK(0, 9, 0x67, 1),
802 SCRIPT_POSE(0x67, 1, 3),
804 SCRIPT_WAIT(0x1E),
805 SCRIPT_TALK(0, 0xA, 0x66, 1),
807 SCRIPT_WAIT(0x1E),
808 SCRIPT_TALK(0, 0xB, 0x65, 2),
810 SCRIPT_WAIT(0x1E),
811 SCRIPT_TALK(0, 0xC, 2, 0),
812 SCRIPT_POSE(2, 7, 6),
814 SCRIPT_POSE(2, 1, 6),
815 SCRIPT_WAIT(0x1E),
816 SCRIPT_TALK(0, 0xD, 0x65, 2),
818 SCRIPT_POSE(2, 1, 5),
819 SCRIPT_WALK(0x66, 0x136, 0x143, 1),
820 SCRIPT_COMMAND(0x323, 0x327, 0x65),
821 SCRIPT_WAIT(0x78),
822 SCRIPT_COMMAND(0x323, 0x326, 2),
823 SCRIPT_WAIT(0x1E),
824 SCRIPT_COMMAND(0x323, 0x325, 0x65),
825 SCRIPT_WAIT(0x3C),
826 SCRIPT_COMMAND(0x323, 0x326, 0x65),
827 SCRIPT_WAIT(0x1E),
828 SCRIPT_TALK(0, 0xE, 0x65, 2),
829 SCRIPT_POSE(2, 1, 5),
830 SCRIPT_POSE(0x66, 1, 4),
831 SCRIPT_POSE(0x67, 1, 3),
833 SCRIPT_WAIT(0x1E),
834 SCRIPT_TALK(0, 0xF, 2, 0),
835 SCRIPT_POSE(2, 7, 5),
837 SCRIPT_POSE(2, 1, 5),
838 SCRIPT_WAIT(0x1E),
839 SCRIPT_TALK(0, 0x10, 0x65, 2),
841 SCRIPT_WAIT(0x1E),
842 SCRIPT_TALK(0, 0x16, 0x65, 2),
843 SCRIPT_POSE(0x65, 1, 0),
845 SCRIPT_WAIT(0x1E),
846 SCRIPT_TALK(0, 0x17, 0x65, 2),
847 SCRIPT_POSE(0x65, 1, 7),
849 SCRIPT_WAIT(0x1E),
850 SCRIPT_FOLLOW(0, 0x67),
851 SCRIPT_TALK(1, 0x11, 0x66, 1),
852 SCRIPT_TALK(0, 0x12, 0x67, 2),
854 SCRIPT_WAIT(0x1E),
855 SCRIPT_LOOK_AT(0, 0x164, 0xF0),
856 SCRIPT_POSE(2, 1, 0),
857 SCRIPT_WALK(0x65, 0xF0, 0x140, 1),
858 SCRIPT_POSE(0x66, 1, 3),
859 SCRIPT_POSE(0x67, 1, 2),
860 SCRIPT_WAIT_WALK(0x65),
861 SCRIPT_WALK(0x66, 0x110, 0x130, 3),
862 SCRIPT_WAIT_WALK(0x66),
863 SCRIPT_POSE(2, 1, 1),
864 SCRIPT_WALK(0x65, 0x60, 0x18A, 1),
865 SCRIPT_WALK(0x66, 0x60, 0x18A, 1),
866 SCRIPT_POSE(0x67, 1, 1),
867 SCRIPT_WAIT(0x78),
868 SCRIPT_TALK(0, 0x13, 2, 2),
869 SCRIPT_POSE(2, 1, 6),
870 SCRIPT_POSE(0x67, 1, 3),
872 SCRIPT_WAIT(0x1E),
873 SCRIPT_TALK(0, 0x14, 0xB3, 1),
874 SCRIPT_POSE(0xB3, 1, 1),
876 SCRIPT_WAIT(0x1E),
877 SCRIPT_TALK(0, 0x15, 2, 2),
878 SCRIPT_POSE(2, 7, 5),
880 SCRIPT_POSE(2, 1, 5),
881 SCRIPT_WAIT(0x1E),
882 SCRIPT_WALK(2, 0x120, 0x120, 7),
884 SCRIPT_WALK(2, 0xB0, 0x160, 1),
885 SCRIPT_WAIT(0x5A),
886 SCRIPT_LEAVE(0x217, 0x398, 0xCC, 1),
888};
890 SCRIPT_FOLLOW(1, 0xB3),
891 SCRIPT_PLACE(2, 0x118, 0x11C),
892 SCRIPT_POSE(2, 1, 5),
893 SCRIPT_PLACE(0x65, 0x14F, 0x111),
894 SCRIPT_POSE(0x65, 1, 1),
895 SCRIPT_PLACE(0x66, 0x136, 0x12C),
896 SCRIPT_POSE(0x66, 1, 5),
897 SCRIPT_PLACE(0x67, 0x170, 0x138),
898 SCRIPT_POSE(0x67, 1, 3),
899 SCRIPT_PLACE(0xB3, 0x1A0, 0xA0),
900 SCRIPT_POSE(0xB3, 1, 3),
901 SCRIPT_PLACE(0x17D, 0x16F, 0xE9),
902 SCRIPT_POSE(0x17D, 1, 1),
903 SCRIPT_PLACE(0x17E, 0x187, 0xF5),
904 SCRIPT_POSE(0x17E, 1, 1),
905 SCRIPT_PLACE(0x17F, 0x19F, 0x101),
906 SCRIPT_POSE(0x17F, 1, 1),
907 SCRIPT_WAIT(0x78),
908 SCRIPT_POSE(0xB3, 1, 1),
909 SCRIPT_WAIT(0x1E),
910 SCRIPT_LOOK_AT(0, 0x136, 0x12C),
911 SCRIPT_WAIT(0x5A),
912 SCRIPT_TALK(0, 1, 0x65, 2),
914 SCRIPT_WAIT(0x1E),
915 SCRIPT_TALK(0, 2, 0x67, 1),
916 SCRIPT_POSE(2, 1, 7),
917 SCRIPT_POSE(0x65, 1, 7),
918 SCRIPT_POSE(0x66, 1, 6),
920 SCRIPT_WAIT(0x1E),
921 SCRIPT_TALK(0, 3, 0x66, 3),
922 SCRIPT_POSE(0x65, 1, 1),
923 SCRIPT_POSE(0x66, 1, 5),
925 SCRIPT_WAIT(0x1E),
926 SCRIPT_TALK(0, 4, 0x66, 3),
927 SCRIPT_POSE(0x66, 1, 3),
929 SCRIPT_WAIT(0x1E),
930 SCRIPT_TALK(0, 5, 2, 0),
931 SCRIPT_POSE(2, 7, 5),
933 SCRIPT_WAIT(0x1E),
934 SCRIPT_WALK(2, 0x100, 0x128, 1),
936 SCRIPT_POSE(2, 1, 1),
937 SCRIPT_POSE(0x66, 1, 2),
938 SCRIPT_POSE(0x67, 1, 2),
939 SCRIPT_COMMAND(0x323, 0x327, 2),
940 SCRIPT_WAIT(0x78),
941 SCRIPT_COMMAND(0x323, 0x326, 2),
942 SCRIPT_WAIT(0x1E),
943 SCRIPT_TALK(0, 8, 2, 2),
945 SCRIPT_WAIT(0x1E),
946 SCRIPT_TALK(0, 6, 2, 2),
947 SCRIPT_POSE(2, 7, 5),
949 SCRIPT_POSE(2, 1, 5),
950 SCRIPT_WAIT(0x1E),
951 SCRIPT_COMMAND(0x323, 0x325, 0x65),
952 SCRIPT_COMMAND(0x324, 0x325, 0x66),
953 SCRIPT_COMMAND(0x325, 0x325, 0x67),
954 SCRIPT_WAIT(0x3C),
955 SCRIPT_COMMAND(0x323, 0x326, 0x65),
956 SCRIPT_COMMAND(0x324, 0x326, 0x66),
957 SCRIPT_COMMAND(0x325, 0x326, 0x67),
958 SCRIPT_WAIT(0x1E),
959 SCRIPT_TALK(0, 7, 0x65, 2),
961 SCRIPT_WAIT(0x1E),
962 SCRIPT_WALK(2, 0x110, 0x130, 7),
964 SCRIPT_WALK(2, 0xB0, 0x160, 1),
965 SCRIPT_WAIT(0x5A),
966 SCRIPT_LEAVE(0x217, 0x398, 0xCC, 1),
968};
970 SCRIPT_LOOK_AT(0, 0x136, 0x12C),
971 SCRIPT_WALK(2, 0x118, 0x11C, 5),
972 SCRIPT_POSE(0x65, 1, 1),
973 SCRIPT_POSE(0x66, 1, 3),
974 SCRIPT_POSE(0x67, 1, 3),
975 SCRIPT_POSE(0xB3, 1, 1),
976 SCRIPT_POSE(0x17D, 1, 1),
977 SCRIPT_POSE(0x17E, 1, 1),
978 SCRIPT_POSE(0x17F, 1, 1),
981 SCRIPT_POSE(2, 1, 5),
982 SCRIPT_WAIT(0x1E),
983 SCRIPT_TALK(0, 2, 2, 0),
984 SCRIPT_POSE(2, 7, 5),
986 SCRIPT_POSE(2, 1, 5),
987 SCRIPT_WAIT(0x1E),
988 SCRIPT_TALK(0, 3, 0x65, 2),
989 SCRIPT_POSE(0x66, 1, 5),
990 SCRIPT_POSE(0x67, 1, 3),
992 SCRIPT_WAIT(0x1E),
993 SCRIPT_TALK(0, 4, 2, 0),
994 SCRIPT_POSE(2, 7, 6),
995 SCRIPT_POSE(0x65, 1, 1),
996 SCRIPT_POSE(0x66, 1, 3),
998 SCRIPT_POSE(2, 1, 6),
999 SCRIPT_WAIT(0x1E),
1000 SCRIPT_TALK(0, 5, 0x66, 1),
1002 SCRIPT_WAIT(0x1E),
1003 SCRIPT_TALK(0, 6, 0x65, 2),
1004 SCRIPT_POSE(2, 1, 5),
1005 SCRIPT_POSE(0x65, 1, 1),
1006 SCRIPT_POSE(0x66, 1, 5),
1008 SCRIPT_WAIT(0x1E),
1009 SCRIPT_COMMAND(0x323, 0x325, 2),
1010 SCRIPT_WAIT(0x3C),
1011 SCRIPT_COMMAND(0x323, 0x326, 2),
1012 SCRIPT_WAIT(0x1E),
1013 SCRIPT_TALK(0, 7, 2, 0),
1014 SCRIPT_POSE(2, 7, 5),
1016 SCRIPT_POSE(2, 1, 5),
1017 SCRIPT_POSE(0x66, 1, 3),
1018 SCRIPT_POSE(0x67, 1, 3),
1019 SCRIPT_COMMAND(0x323, 0x325, 0x65),
1020 SCRIPT_COMMAND(0x324, 0x325, 0x66),
1021 SCRIPT_COMMAND(0x325, 0x325, 0x67),
1022 SCRIPT_WAIT(0x3C),
1023 SCRIPT_COMMAND(0x323, 0x326, 2),
1024 SCRIPT_COMMAND(0x324, 0x326, 0x66),
1025 SCRIPT_COMMAND(0x325, 0x326, 0x67),
1026 SCRIPT_WAIT(0x1E),
1027 SCRIPT_TALK(0, 8, 0x65, 2),
1029 SCRIPT_WAIT(0x1E),
1030 SCRIPT_TALK(0, 9, 2, 0),
1031 SCRIPT_POSE(2, 7, 5),
1033 SCRIPT_POSE(2, 1, 5),
1034 SCRIPT_WAIT(0x1E),
1035 SCRIPT_TALK(0, 0xA, 0x67, 1),
1036 SCRIPT_POSE(0x67, 1, 3),
1038 SCRIPT_WAIT(0x1E),
1039 SCRIPT_TALK(0, 0xB, 0x66, 1),
1041 SCRIPT_WAIT(0x1E),
1042 SCRIPT_TALK(0, 0xC, 0x65, 2),
1044 SCRIPT_WAIT(0x1E),
1045 SCRIPT_TALK(0, 0xD, 2, 0),
1046 SCRIPT_POSE(2, 7, 6),
1048 SCRIPT_POSE(2, 1, 6),
1049 SCRIPT_WAIT(0x1E),
1050 SCRIPT_TALK(0, 0xE, 0x65, 2),
1052 SCRIPT_POSE(2, 1, 5),
1053 SCRIPT_WALK(0x66, 0x136, 0x143, 1),
1054 SCRIPT_COMMAND(0x323, 0x327, 0x65),
1055 SCRIPT_WAIT(0x78),
1056 SCRIPT_COMMAND(0x323, 0x326, 0x65),
1057 SCRIPT_WAIT(0x1E),
1058 SCRIPT_COMMAND(0x323, 0x325, 0x65),
1059 SCRIPT_WAIT(0x3C),
1060 SCRIPT_COMMAND(0x323, 0x326, 0x65),
1061 SCRIPT_WAIT(0x1E),
1062 SCRIPT_TALK(0, 0xF, 0x65, 2),
1063 SCRIPT_POSE(2, 1, 5),
1064 SCRIPT_POSE(0x66, 1, 4),
1065 SCRIPT_POSE(0x67, 1, 3),
1067 SCRIPT_WAIT(0x1E),
1068 SCRIPT_TALK(0, 0x10, 2, 0),
1069 SCRIPT_POSE(2, 7, 5),
1071 SCRIPT_POSE(2, 1, 5),
1072 SCRIPT_WAIT(0x1E),
1073 SCRIPT_TALK(0, 0x11, 0x65, 2),
1075 SCRIPT_WAIT(0x1E),
1076 SCRIPT_TALK(0, 0x17, 0x65, 2),
1077 SCRIPT_POSE(0x65, 1, 0),
1079 SCRIPT_WAIT(0x1E),
1080 SCRIPT_TALK(0, 0x18, 0x65, 2),
1081 SCRIPT_POSE(0x65, 1, 7),
1083 SCRIPT_WAIT(0x1E),
1084 SCRIPT_FOLLOW(0, 0x67),
1085 SCRIPT_TALK(1, 0x12, 0x66, 1),
1086 SCRIPT_TALK(0, 0x13, 0x67, 2),
1088 SCRIPT_WAIT(0x1E),
1089 SCRIPT_LOOK_AT(0, 0x164, 0xF0),
1090 SCRIPT_POSE(2, 1, 0),
1091 SCRIPT_WALK(0x65, 0xF0, 0x140, 1),
1092 SCRIPT_POSE(0x66, 1, 3),
1093 SCRIPT_POSE(0x67, 1, 2),
1094 SCRIPT_WAIT_WALK(0x65),
1095 SCRIPT_WALK(0x66, 0x110, 0x130, 3),
1096 SCRIPT_WAIT_WALK(0x66),
1097 SCRIPT_POSE(2, 1, 1),
1098 SCRIPT_WALK(0x65, 0x60, 0x18A, 1),
1099 SCRIPT_WALK(0x66, 0x60, 0x18A, 1),
1100 SCRIPT_POSE(0x67, 1, 1),
1101 SCRIPT_WAIT(0x78),
1102 SCRIPT_TALK(0, 0x14, 2, 2),
1103 SCRIPT_POSE(2, 1, 6),
1104 SCRIPT_POSE(0x67, 1, 3),
1106 SCRIPT_WAIT(0x1E),
1107 SCRIPT_TALK(0, 0x15, 0xB3, 1),
1108 SCRIPT_POSE(0xB3, 1, 1),
1110 SCRIPT_WAIT(0x1E),
1111 SCRIPT_TALK(0, 0x16, 2, 2),
1112 SCRIPT_POSE(2, 7, 5),
1114 SCRIPT_POSE(2, 1, 5),
1115 SCRIPT_WAIT(0x1E),
1116 SCRIPT_WALK(2, 0x120, 0x120, 7),
1118 SCRIPT_WALK(2, 0xB0, 0x160, 1),
1119 SCRIPT_WAIT(0x5A),
1120 SCRIPT_LEAVE(0x217, 0x398, 0xCC, 1),
1121 SCRIPT_END,
1122};
1124 SCRIPT_PLACE(2, 0x4F, 0x191),
1125 SCRIPT_POSE(2, 1, 5),
1126 SCRIPT_WAIT(0x78),
1127 SCRIPT_COMMAND(0x323, 0x325, 2),
1128 SCRIPT_WAIT(0x5A),
1129 SCRIPT_COMMAND(0x323, 0x326, 2),
1130 SCRIPT_WAIT(0x1E),
1131 SCRIPT_TALK(0, 1, 2, 2),
1132 SCRIPT_POSE(2, 7, 5),
1134 SCRIPT_POSE(2, 1, 5),
1135 SCRIPT_WAIT(0x1E),
1136 SCRIPT_WALK(2, 0xD0, 0x150, 5),
1138 SCRIPT_POSE(2, 1, 5),
1139 SCRIPT_WAIT(0x1E),
1140 SCRIPT_COMMAND(0x323, 0x325, 2),
1142 SCRIPT_WAIT(0x5A),
1143 SCRIPT_COMMAND(0x323, 0x326, 2),
1144 SCRIPT_WAIT(0x1E),
1145 SCRIPT_TALK(0, 3, 2, 0),
1146 SCRIPT_POSE(2, 7, 5),
1148 SCRIPT_POSE(2, 1, 5),
1149 SCRIPT_WAIT(0x1E),
1150 SCRIPT_LOOK_AT(1, 0x1B0, 0x121),
1151 SCRIPT_WAIT(0x78),
1152 SCRIPT_TALK(0, 4, 0x23, 0),
1154 SCRIPT_TALK(0, 5, 0x119, 0),
1156 SCRIPT_TALK(0, 6, 0x13A, 2),
1158 SCRIPT_WAIT(0x1E),
1159 SCRIPT_FOLLOW(1, 2),
1160 SCRIPT_WAIT(0x78),
1161 SCRIPT_WAIT(0x1E),
1162 SCRIPT_END,
1163};
1165 SCRIPT_WALK(2, 0x188, 0xF5, 5),
1168 SCRIPT_POSE(2, 1, 5),
1169 SCRIPT_WAIT(0x1E),
1170 SCRIPT_TALK(0, 1, 2, 2),
1171 SCRIPT_POSE(2, 7, 5),
1173 SCRIPT_POSE(2, 1, 5),
1174 SCRIPT_WAIT(0x1E),
1175 SCRIPT_LEAVE(0x219, 0x58, 0x20C, 5),
1176 SCRIPT_END,
1177};
1179 SCRIPT_WAIT(0x3C),
1180 SCRIPT_LEAVE(0x218, 0x138, 0x11D, 5),
1181 SCRIPT_END,
1182};
1184 { 5, 4 }, { 6, 4 }, { 7, 4 }, { 8, 4 },
1185 { 9, 4 }, { 255, 0x3E7 },
1186};
1188 { 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
1189 { 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
1190 { 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
1191 { 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
1192 { 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
1193 { 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
1194 { 0x180, 0x100, 0x1B4, 0x13C, 0x1D0, 0x3C, 0x150, 0x1FB },
1195 { 0x180, 0x100, 0x1A8, 0x152, 0x1A0, 0x52, 0x160, 0x1FB },
1196 { 0x180, 0x100, 0x180, 0x158, 0x100, 0x58, 0x170, 0x1FB },
1197 { 0x140, 0x100, 0x176, 0x18C, 0xD8, 0x8C, 0x140, 0x1FA },
1198 { 0x180, 0x100, 0x180, 0x100, 0x100, 0, 0x150, 0x1FA },
1199 { 0x180, 0x100, 0x188, 0x100, 0x120, 0, 0x160, 0x1FA },
1200 { 0, 0, 0, 0, 0, 0, 0, 0 },
1201 { 0x180, 0x100, 0x1B0, 0x114, 0x1C0, 0x14, 0x170, 0x1FA },
1202 { 0x180, 0x100, 0x180, 0x130, 0x100, 0x30, 0x140, 0x1F9 },
1203 { 0x180, 0x100, 0x188, 0x130, 0x120, 0x30, 0x150, 0x1F9 },
1204 { 0x140, 0x100, 0x178, 0x100, 0xE0, 0, 0x160, 0x1F9 },
1205 { 0x180, 0x100, 0x190, 0x130, 0x140, 0x30, 0x170, 0x1F9 },
1206 { 0x180, 0x100, 0x188, 0x158, 0x120, 0x58, 0x140, 0x1F8 },
1207 { 0x180, 0x100, 0x190, 0x158, 0x140, 0x58, 0x150, 0x1F8 },
1208 { 0x140, 0x100, 0x178, 0x130, 0xE0, 0x30, 0x160, 0x1F8 },
1209 { 0x180, 0x100, 0x198, 0x130, 0x160, 0x30, 0x170, 0x1F8 },
1210 { 0x180, 0x100, 0x1A0, 0x130, 0x180, 0x30, 0x140, 0x1F7 },
1211 { 0x180, 0x100, 0x190, 0x100, 0x140, 0, 0x150, 0x1F7 },
1212 { 0x180, 0x100, 0x198, 0x158, 0x160, 0x58, 0x160, 0x1F7 },
1213 { 0x180, 0x100, 0x1A0, 0x158, 0x180, 0x58, 0x170, 0x1F7 },
1214 { 0, 0, 0, 0, 0, 0, 0, 0 },
1215 { 0, 0, 0, 0, 0, 0, 0, 0 },
1216 { 0x180, 0x100, 0x1B0, 0x15C, 0x1C0, 0x5C, 0x140, 0x1F6 },
1217 { 0, 0, 0, 0, 0, 0, 0, 0 },
1218 { 0, 0, 0, 0, 0, 0, 0, 0 },
1219 { 0, 0, 0, 0, 0, 0, 0, 0 },
1220 { 0, 0, 0, 0, 0, 0, 0, 0 },
1221 { 0x180, 0x100, 0x1A8, 0x172, 0x1A0, 0x72, 0x150, 0x1F6 },
1222 { 0x180, 0x100, 0x180, 0x178, 0x100, 0x78, 0x160, 0x1F6 },
1223 { 0x180, 0x100, 0x198, 0x100, 0x160, 0, 0x170, 0x1F6 },
1224 { 0x180, 0x100, 0x1A0, 0x100, 0x180, 0, 0x140, 0x1F5 },
1225 { 0x180, 0x100, 0x1A8, 0x100, 0x1A0, 0, 0x150, 0x1F5 },
1226};
1572u16 actor57Talk4Actions[] = { START_EVENT(0x61), 1, FLAG(0x1C, 0x37), 1, CODES_END };
1582 { NULL, NULL, 0x49A },
1583 { NULL, NULL, 0 },
1584};
1586 { NULL, NULL, 0x48E },
1587 { NULL, NULL, 0 },
1588};
1590 { actor13Talk0Conditions, NULL, 0xB0 },
1592 { NULL, NULL, 0 },
1593};
1595 { NULL, NULL, 0x48E },
1596 { NULL, NULL, 0 },
1597};
1599 { NULL, NULL, 0x48E },
1600 { NULL, NULL, 0 },
1601};
1603 { NULL, NULL, 0x48E },
1604 { NULL, NULL, 0 },
1605};
1607 { NULL, NULL, 0x48E },
1608 { NULL, NULL, 0 },
1609};
1611 { NULL, NULL, 0x48E },
1612 { NULL, NULL, 0 },
1613};
1615 { NULL, NULL, 0x48E },
1616 { NULL, NULL, 0 },
1617};
1619 { NULL, NULL, 0x8C },
1620 { NULL, NULL, 0 },
1621};
1623 { NULL, NULL, 0x8E },
1624 { NULL, NULL, 0 },
1625};
1627 { NULL, NULL, 0x493 },
1628 { NULL, NULL, 0 },
1629};
1631 { NULL, NULL, 0x493 },
1632 { NULL, NULL, 0 },
1633};
1635 { NULL, NULL, 0xAF },
1636 { NULL, NULL, 0 },
1637};
1639 { NULL, NULL, 0xAF },
1640 { NULL, NULL, 0 },
1641};
1644 { actor35Talk1Conditions, NULL, 0xB },
1645 { NULL, NULL, 0 },
1646};
1648 { NULL, NULL, 0x49B },
1649 { NULL, NULL, 0 },
1650};
1653 { actor37Talk1Conditions, NULL, 0xB },
1654 { NULL, NULL, 0 },
1655};
1658 { actor38Talk1Conditions, NULL, 0xB },
1659 { NULL, NULL, 0 },
1660};
1663 { actor39Talk1Conditions, NULL, 0xB },
1664 { NULL, NULL, 0 },
1665};
1668 { actor40Talk1Conditions, NULL, 0xB },
1669 { NULL, NULL, 0 },
1670};
1673 { actor41Talk1Conditions, NULL, 0xB },
1674 { NULL, NULL, 0 },
1675};
1677 { NULL, NULL, 0x48D },
1678 { NULL, NULL, 0 },
1679};
1681 { NULL, NULL, 0x494 },
1682 { NULL, NULL, 0 },
1683};
1685 { NULL, NULL, 0x494 },
1686 { NULL, NULL, 0 },
1687};
1697 { NULL, NULL, 0x49A },
1698 { NULL, NULL, 0 },
1699};
1709 { NULL, NULL, 0x49A },
1710 { NULL, NULL, 0 },
1711};
1713 { NULL, NULL, 0xAD },
1714 { NULL, NULL, 0 },
1715};
1717 { NULL, NULL, 0xAD },
1718 { NULL, NULL, 0 },
1719};
1729 { NULL, NULL, 0x49A },
1730 { NULL, NULL, 0 },
1731};
1741 { NULL, NULL, 0x49A },
1742 { NULL, NULL, 0 },
1743};
1753 { NULL, NULL, 0x49A },
1754 { NULL, NULL, 0 },
1755};
1765 { NULL, NULL, 0x49A },
1766 { NULL, NULL, 0 },
1767};
1769 { NULL, NULL, 0xAE },
1770 { NULL, NULL, 0 },
1771};
1773 { NULL, NULL, 0xAE },
1774 { NULL, NULL, 0 },
1775};
1777 { NULL, NULL, 0xB2 },
1778 { NULL, NULL, 0 },
1779};
1781 { NULL, NULL, 0xB2 },
1782 { NULL, NULL, 0 },
1783};
1785 { NULL, NULL, 0xB2 },
1786 { NULL, NULL, 0 },
1787};
1895FieldActorEntry actor26 = { actor26Conditions, NULL, 0x6A, 0x10, 0, 0, 1 };
1896FieldActorEntry actor27 = { actor27Conditions, NULL, 0x6B, 0x11, 0, 0, 1 };
1897FieldActorEntry actor28 = { actor28Conditions, NULL, 0x6C, 0x12, 0, 0, 1 };
1898FieldActorEntry actor29 = { actor29Conditions, NULL, 0x6C, 0x12, 0, 0, 1 };
1899FieldActorEntry actor30 = { actor30Conditions, NULL, 0x6D, 0x13, 0, 0, 1 };
1900FieldActorEntry actor31 = { actor31Conditions, NULL, 0x6E, 0x14, 0, 0, 1 };
1901FieldActorEntry actor32 = { actor32Conditions, NULL, 0x6F, 0x15, 0, 0, 1 };
1930FieldActorEntry actor61 = { actor61Conditions, NULL, 0x13D, 0x20, 0, 0, 1 };
1935 &actor0,
1936 &actor1,
1937 &actor2,
1938 &actor3,
1939 &actor4,
1940 &actor5,
1941 &actor6,
1942 &actor7,
1943 &actor8,
1944 &actor9,
1945 &actor10,
1946 &actor11,
1947 &actor12,
1948 &actor13,
1949 &actor14,
1950 &actor15,
1951 &actor16,
1952 &actor17,
1953 &actor18,
1954 &actor19,
1955 &actor20,
1956 &actor21,
1957 &actor22,
1958 &actor23,
1959 &actor24,
1960 &actor25,
1961 &actor26,
1962 &actor27,
1963 &actor28,
1964 &actor29,
1965 &actor30,
1966 &actor31,
1967 &actor32,
1968 &actor33,
1969 &actor34,
1970 &actor35,
1971 &actor36,
1972 &actor37,
1973 &actor38,
1974 &actor39,
1975 &actor40,
1976 &actor41,
1977 &actor42,
1978 &actor43,
1979 &actor44,
1980 &actor45,
1981 &actor46,
1982 &actor47,
1983 &actor48,
1984 &actor49,
1985 &actor50,
1986 &actor51,
1987 &actor52,
1988 &actor53,
1989 &actor54,
1990 &actor55,
1991 &actor56,
1992 &actor57,
1993 &actor58,
1994 &actor59,
1995 &actor60,
1996 &actor61,
1997 &actor62,
1998 &actor63,
1999 &actor64,
2000 NULL,
2001};
2003 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x3B, 6, 0, 374, 136, 0, 0 },
2004 { 1, 0, 0x40, 6, 0x3C, 1, 0x3C, 0x45, 8, 0, 408, 105, 0, 0 },
2005 { 1, 0, 0x40, 6, 0x46, 1, 0x46, 0x57, 8, 0, 418, 102, 0, 0 },
2006 { 0, 1, 0x40, 6, 5, 0, 5, 0xA, 4, 0, 382, 196, 0, 0 },
2007 { 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 453, 185, 199, 0 },
2008 { 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 449, 190, 204, 0 },
2009 { 1, 0, 0x58, 4, 2, 0, 0, 0, 0, 0, 351, 136, 218, 0 },
2010 { 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 215, 302, 353, 0 },
2011 { 1, 0, 0x48, 4, 4, 0, 0, 0, 0, 0, 144, 262, 322, 0 },
2012 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
2013};
2015 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x217, 0x398, 0xCC, 1, 0, 0, 0 },
2017 { { { CODES_END, 0 }, { CODES_END, 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
2018};
2019void (*stageFuncs[])(void) = {
2020 setupStage,
2021};
2023 { 350, script350, EVENT_TEXT(0), NULL, endEvent350 },
2024 { 351, script351, EVENT_TEXT(1), NULL, endEvent351 },
2025 { 660, script660, EVENT_TEXT(2), NULL, endEvent660 },
2026 { 661, script661, EVENT_TEXT(3), NULL, endEvent661 },
2027 { 683, script683, EVENT_TEXT(4), NULL, NULL },
2028 { 890, script890, EVENT_TEXT(5), NULL, endEvent890 },
2029 { 893, script893, EVENT_TEXT(6), NULL, endEvent893 },
2030 { 894, script894, EVENT_TEXT(7), NULL, endEvent894 },
2031 { 895, script895, EVENT_TEXT(8), NULL, endEvent895 },
2032 { 960, script960, EVENT_TEXT(9), NULL, endEvent960 },
2033 { 965, script965, EVENT_TEXT(0xA), NULL, NULL },
2034 { 1450, script1450, EVENT_TEXT(0xA), NULL, NULL },
2035 { -1, NULL, 0, NULL, NULL },
2036};
#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
void * createSoundTile(s32 arg)
Creates the updateSoundTile task with the id ARG.
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_LOOK_AT(snap, x, y)
FIELDSTG_pointCamera.
Definition field_map.h:172
#define SCRIPT_LEAVE(mode, x, y, dir)
FIELDSTG_leaveField; ends the event.
Definition field_map.h:170
#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 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 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 SCRIPT_WAIT_ANIM(id)
until its animation ends
Definition field_map.h:169
#define FIELD_TASK_COMMANDS
script command 813 (FIELDSTG_startCommandTask): the field commands
Definition field_map.h:33
#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 CODES_END
Definition game_state.h:83
#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
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_ADMIN_CENTER
KANRIBGM: the cities' Main Lobby, Admin Center, Digimon Arena, Master Room.
Definition sound.h:79
#define SOUND_COMCD115
held until SOUND.keyOff
Definition sound.h:54
#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_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_MASTER_ROOM_SENSOR_O_TOUCHED
wstag305 Master Room: the player touches the "O" letter sensor of MONSTER; all sensor flags are clear...
Definition story.h:1197
#define FLAG_MASTER_ROOM_SENSOR_S_TOUCHED
wstag305 Master Room: the player touches the "S" letter sensor of MONSTER; all sensor flags are clear...
Definition story.h:1203
#define FLAG_AMATERASU_PLAN_SEEN
wstag305 event 890: Lisa and Nick plan how to get into Amaterasu City past the Knightmon Guard System...
Definition story.h:1475
#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_WHITE_ID_PASS
WSTAG676 (Bai Hu Dome), event 901: the General says the A.o.A came on Bulbmon (the White ID Pass)
Definition story.h:129
@ STORY_PRESIDENT_ARRESTED
WSTAG226 (Login Room, Amaterasu City), event 935, after the President of MAGAMI gives himself up (WST...
Definition story.h:136
@ STORY_BLUE_ID_PASS
WSTAG421 (Qing Long City), event 743: with the Blue ID Pass a Trooper takes the player for the Qing L...
Definition story.h:109
@ STORY_CONTROL_ROOM
WSTAG325 (Control Room, Asuka City), event 560: a Soldier guards the way.
Definition story.h:90
@ STORY_BULBMON_BEATEN
WSTAG521 (Zhu Que Hall), event 751: Bulbmon is beaten (the Red ID Pass); its hole leads on to the Ama...
Definition story.h:112
@ STORY_JUNGLE_SOUND
WSTAG545 (Bug Maze Pit), event 711: Patamon heard a weird sound from the jungle, where its leader wen...
Definition story.h:106
@ STORY_WAY_TO_AMATERASU
WSTAG305, events 893 and 895: the way into Amaterasu City, the A.o.A's headquarters,...
Definition story.h:126
@ STORY_DE_KNOWLEDGE
WSTAG526 (Zhu Que UG Lake), event 760: the fight with Zanbamon (the DE Knowledge)
Definition story.h:115
@ STORY_GENBU_BADGE
WSTAG755 (Battle Gate), event 781: the Xuen Wu Chief, who holds the Black ID Pass,...
Definition story.h:118
@ 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
@ STORY_REAL_WORLD
WSTAG750 (the emergency Matrix Chamber), event 820: back in the real world, for 180 seconds.
Definition story.h:121
@ STORY_NETWORK_OFFLINE
WSTAG750, event 886: the news say the Optical Network is offline.
Definition story.h:123
#define SPECIAL_STORY_ASUKA_HEADQUARTERS_TO_OPERATION_SIGMA
GAME.progress is from STORY_ASUKA_HEADQUARTERS to STORY_OPERATION_SIGMA (PROGRESS_RANGES[0x13])
Definition story.h:1920
#define SPECIAL_STORY_SINCE_DE_KNOWLEDGE
GAME.progress is STORY_DE_KNOWLEDGE or later (PROGRESS_RANGES[0xD], to 0x63)
Definition story.h:1902
#define SPECIAL_MASTER_ROOM_LAST_SENSOR_LEFT
exactly one of the Master Room's sensors is untouched
Definition story.h:1971
#define FLAG_MASTER_ROOM_SENSOR_T_TOUCHED
wstag305 Master Room: the player touches the "T" letter sensor of MONSTER; all sensor flags are clear...
Definition story.h:1206
#define FLAG_MASTER_ROOM_SENSOR_E_IN_ORDER
wstag305 Master Room: set when the "E" sensor is touched right after the previous letters of MONSTER ...
Definition story.h:1230
#define FLAG_MASTER_ROOM_SENSOR_S_IN_ORDER
wstag305 Master Room: set when the "S" sensor is touched right after the previous letters of MONSTER ...
Definition story.h:1224
#define SPECIAL_MASTER_ROOM_SENSOR_TOUCHED
one of the Master Room's sensors or more is touched
Definition story.h:1967
#define FLAG_RESISTANCE_CHUCK_MET
wstag656 Mirage Room: Leader Chuck recognises the player and an event starts; Lisa (Master Room) then...
Definition story.h:1133
#define SPECIAL_STORY_SINCE_KNIGHTMON_REPROGRAMMED
GAME.progress is STORY_KNIGHTMON_REPROGRAMMED or later (PROGRESS_RANGES[8], to 0x63)
Definition story.h:1887
#define FLAG_MASTER_ROOM_SENSOR_O_IN_ORDER
wstag305 Master Room: set when the "O" sensor is touched right after the previous letters of MONSTER ...
Definition story.h:1218
#define SPECIAL_MASTER_ROOM_SENSORS_LEFT
two of the Master Room's sensors or more are still untouched
Definition story.h:1969
#define FLAG_MASTER_ROOM_SENSOR_T_IN_ORDER
wstag305 Master Room: set when the "T" sensor is touched right after the previous letters of MONSTER ...
Definition story.h:1227
#define FLAG_MASTER_ROOM_SENSORS_ALL_TOUCHED
wstag305 Master Room: "OK, I touched all the sensors, so now what?" (letter flags cleared,...
Definition story.h:1239
#define FLAG_MASTER_ROOM_SENSOR_M_IN_ORDER
wstag305 Master Room: set when the "M" sensor is touched right after the previous letters of MONSTER ...
Definition story.h:1215
#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_MASTER_ROOM_SENSOR_R_TOUCHED
wstag305 Master Room: the player touches the "R" letter sensor of MONSTER; all sensor flags are clear...
Definition story.h:1212
#define FLAG_MASTER_ROOM_SENSOR_E_TOUCHED
wstag305 Master Room: the player touches the "E" letter sensor of MONSTER; all sensor flags are clear...
Definition story.h:1209
#define FLAG_LISA_RESISTANCE_REPORT_SEEN
wstag305 Master Room event 894: the player tells Lisa he met the Resistance; set at its end,...
Definition story.h:1242
#define FLAG_MASTER_ROOM_SENSOR_N_TOUCHED
wstag305 Master Room: the player touches the "N" letter sensor of MONSTER; all sensor flags are clear...
Definition story.h:1200
#define FLAG_MASTER_ROOM_SENSOR_M_TOUCHED
wstag305 Master Room: the player touches the "M" letter sensor of MONSTER; all sensor flags are clear...
Definition story.h:1194
#define FLAG_MASTER_ROOM_SENSOR_N_IN_ORDER
wstag305 Master Room: set when the "N" sensor is touched right after the previous letters of MONSTER ...
Definition story.h:1221
Where an actor's frames go in VRAM: one of the records after the FieldImage (Actor....
Definition field_map.h:114
One frame of a sprite animation; frame 0xFF ends it (or loops it)
Definition gfx.h:296
s16 duration
Definition gfx.h:298
s16 index
Definition gfx.h:302
s16 timer
Definition gfx.h:303
A character of the field (FieldState.actors, a list of pointers up to NULL), which FIELDSTG_updateFie...
Definition field_map.h:194
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
Vec2 start
where the player starts
Definition field_map.h:456
StageSlot * slots
up to the first type 0
Definition field_map.h:447
ActorImage * actors
then the actors', from actors[2]
Definition field_map.h:454
s32 mapFile
the file of the map's tiles (FIELDSTG_createMapStreamer)
Definition field_map.h:444
s32 startDir
and its direction
Definition field_map.h:457
s32 textFile
the stage's text file, for the talks
Definition field_map.h:461
union FieldState::@12 images
s32 music
SOUND.playSound's, or 0.
Definition field_map.h:460
What a character says (FIELDSTG_runActorAction): the first whose conditions hold, or the last,...
Definition field_map.h:176
void(* applyAction)(s32 code, s32 value)
Definition game_state.h:52
s32(* checkCondition)(u16 code, u16 value)
Definition game_state.h:53
short(* playSound)(s32 id)
returns the voice of a key-on
Definition sound.h:187
What the player can trigger on a map (FIELDSTG_updateTriggers): a record of the table at FieldState....
Definition field_map.h:276
The map object with animation 1, played once with a sound when the substate is set to 1 (frame 5 befo...
Definition stage.h:283
void(* setSubstate)(struct StageSoundTile *task, s32 substate)
Definition stage.h:284
StageTileAnim obj
Definition stage.h:286
s16 voice
what SOUND.playSound returned
Definition stage.h:285
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
AnimState anim
Definition stage.h:110
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
s16 script960[]
Definition wstag305.c:1123
u16 actor1Conditions[]
Definition wstag305.c:1793
u16 actor26Conditions[]
Definition wstag305.c:1822
u16 actor41Talk0Actions[]
Definition wstag305.c:1293
FieldActorEntry actor0
Definition wstag305.c:1869
FieldActorEntry actor55
Definition wstag305.c:1924
void(* stageFuncs[])(void)
The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a t...
Definition wstag305.c:2019
FieldActorEntry actor6
Definition wstag305.c:1875
u16 actor59Conditions[]
Definition wstag305.c:1863
FieldTalk actor37Talks[]
Definition wstag305.c:1651
u16 actor8Talk4Actions[]
Definition wstag305.c:1273
FieldTalk actor54Talks[]
Definition wstag305.c:1740
u16 actor11Conditions[]
Definition wstag305.c:1807
void endEvent894(void)
After event 894, with Lisa, Nick and Keith: keeps it from playing again.
Definition wstag305.c:117
u16 actor45Talk2Actions[]
Definition wstag305.c:1304
FieldActorEntry actor52
Definition wstag305.c:1921
u16 actor45Talk1Conditions[]
Definition wstag305.c:1296
u16 actor8Talk1Conditions[]
Definition wstag305.c:1228
u16 actor51Talk0Conditions[]
Definition wstag305.c:1389
FieldTalk actor47Talks[]
Definition wstag305.c:1700
s16 script660[]
Definition wstag305.c:350
FieldTalk actor42Talks[]
Definition wstag305.c:1676
u16 actor39Talk0Actions[]
Definition wstag305.c:1287
FieldActorEntry actor62
Definition wstag305.c:1931
FieldActorEntry actor58
Definition wstag305.c:1927
u16 actor8Talk3Conditions[]
Definition wstag305.c:1241
s16 script350[]
Definition wstag305.c:160
FieldTalk actor53Talks[]
Definition wstag305.c:1732
u16 actor10Conditions[]
Definition wstag305.c:1806
u16 actor51Talk2Actions[]
Definition wstag305.c:1398
u16 actor47Talk4Actions[]
Definition wstag305.c:1384
FieldActorEntry actor25
Definition wstag305.c:1894
u16 actor51Talk1Conditions[]
Definition wstag305.c:1390
u16 actor57Talk0Conditions[]
Definition wstag305.c:1530
FieldActorEntry actor24
Definition wstag305.c:1893
void endEvent351(void)
After event 351, with Game Master and Kail: sets flag 0x1C0E.
Definition wstag305.c:92
FieldTalk actor62Talks[]
Definition wstag305.c:1776
u16 actor18Conditions[]
Definition wstag305.c:1814
u16 actor53Talk4Conditions[]
Definition wstag305.c:1471
FieldActorEntry actor57
Definition wstag305.c:1926
u16 actor8Talk3Actions[]
Definition wstag305.c:1248
FieldActorEntry actor17
Definition wstag305.c:1886
FieldActorEntry actor39
Definition wstag305.c:1908
u16 actor47Talk2Actions[]
Definition wstag305.c:1351
u16 actor34Conditions[]
Definition wstag305.c:1838
FieldActorEntry actor33
Definition wstag305.c:1902
FieldTalk actor38Talks[]
Definition wstag305.c:1656
FieldTalk actor14Talks[]
Definition wstag305.c:1594
u16 actor40Talk0Conditions[]
Definition wstag305.c:1289
u16 actor24Conditions[]
Definition wstag305.c:1820
FieldActorEntry actor18
Definition wstag305.c:1887
u16 actor47Talk0Conditions[]
Definition wstag305.c:1342
FieldActorEntry actor40
Definition wstag305.c:1909
u16 actor55Talk2Conditions[]
Definition wstag305.c:1486
FieldTalk actor43Talks[]
Definition wstag305.c:1680
u16 actor55Talk4Conditions[]
Definition wstag305.c:1518
u16 actor42Conditions[]
Definition wstag305.c:1846
u16 actor46Conditions[]
Definition wstag305.c:1850
s16 script661[]
Definition wstag305.c:371
FieldActorEntry actor5
Definition wstag305.c:1874
FieldActorEntry actor37
Definition wstag305.c:1906
u16 actor57Talk3Conditions[]
Definition wstag305.c:1540
FieldActorEntry actor53
Definition wstag305.c:1922
u16 actor45Talk2Conditions[]
Definition wstag305.c:1298
FieldTalk actor52Talks[]
Definition wstag305.c:1728
FieldActorEntry actor36
Definition wstag305.c:1905
void endEvent660(void)
After event 660, with the player: clears flag 0x1C36.
Definition wstag305.c:97
u16 actor35Conditions[]
Definition wstag305.c:1839
FieldTalk actor33Talks[]
Definition wstag305.c:1634
FieldTalk actor41Talks[]
Definition wstag305.c:1671
u16 actor22Conditions[]
Definition wstag305.c:1818
FieldActorEntry actor2
Definition wstag305.c:1871
u16 actor45Talk4Actions[]
Definition wstag305.c:1337
u16 actor8Talk2Conditions[]
Definition wstag305.c:1230
u16 actor13Talk1Actions[]
Definition wstag305.c:1276
FieldActorEntry actor31
Definition wstag305.c:1900
FieldTalk actor50Talks[]
Definition wstag305.c:1716
u16 actor38Conditions[]
Definition wstag305.c:1842
FieldActorEntry actor23
Definition wstag305.c:1892
s16 script894[]
Definition wstag305.c:889
FieldActorEntry actor19
Definition wstag305.c:1888
u16 actor55Talk0Conditions[]
Definition wstag305.c:1483
u16 actor45Talk3Actions[]
Definition wstag305.c:1329
FieldTalk actor36Talks[]
Definition wstag305.c:1647
u16 actor9Conditions[]
Definition wstag305.c:1805
void endEvent893(void)
After event 893, with Lisa, Nick, Keith and Teddy: moves the story on to STORY_WAY_TO_AMATERASU.
Definition wstag305.c:112
FieldActorEntry * stageActors[]
Definition wstag305.c:1934
FieldActorEntry actor28
Definition wstag305.c:1897
void endEvent895(void)
After event 895, with Lisa, Keith, Nick and Teddy: moves the story on to STORY_WAY_TO_AMATERASU.
Definition wstag305.c:122
u16 actor23Conditions[]
Definition wstag305.c:1819
u16 actor57Talk4Conditions[]
Definition wstag305.c:1565
u16 actor39Talk1Conditions[]
Definition wstag305.c:1288
FieldTalk actor57Talks[]
Definition wstag305.c:1756
u16 actor32Conditions[]
Definition wstag305.c:1836
FieldActorEntry actor45
Definition wstag305.c:1914
void endEvent960(void)
After event 960, with Oinkmon: keeps it from playing again.
Definition wstag305.c:127
u16 actor37Talk0Conditions[]
Definition wstag305.c:1280
u16 actor29Conditions[]
Definition wstag305.c:1833
u16 actor53Talk4Actions[]
Definition wstag305.c:1478
void endEvent350(void)
After event 350, with Kail, Game Master and DO Guard: keeps it from playing again.
Definition wstag305.c:87
u16 actor35Talk1Conditions[]
Definition wstag305.c:1279
u16 actor38Talk0Conditions[]
Definition wstag305.c:1283
u16 actor47Conditions[]
Definition wstag305.c:1851
u16 actor55Talk3Conditions[]
Definition wstag305.c:1510
u16 actor51Talk3Actions[]
Definition wstag305.c:1423
u16 actor53Conditions[]
Definition wstag305.c:1857
u16 actor39Talk0Conditions[]
Definition wstag305.c:1286
u16 actor30Conditions[]
Definition wstag305.c:1834
u16 actor52Conditions[]
Definition wstag305.c:1856
FieldActorEntry actor22
Definition wstag305.c:1891
u16 actor37Conditions[]
Definition wstag305.c:1841
u16 actor57Talk2Actions[]
Definition wstag305.c:1539
u16 actor47Talk3Conditions[]
Definition wstag305.c:1369
u16 actor51Talk4Conditions[]
Definition wstag305.c:1424
u16 actor44Conditions[]
Definition wstag305.c:1848
FieldActorEntry actor41
Definition wstag305.c:1910
u16 actor13Conditions[]
Definition wstag305.c:1809
void endEvent661(void)
After event 661, with the player: moves the story on to STORY_GAME_MASTER_CAUGHT.
Definition wstag305.c:102
FieldTalk actor35Talks[]
Definition wstag305.c:1642
u16 actor13Talk0Conditions[]
Definition wstag305.c:1274
FieldActorEntry actor29
Definition wstag305.c:1898
u16 actor53Talk3Conditions[]
Definition wstag305.c:1463
FieldTalk actor44Talks[]
Definition wstag305.c:1684
u16 actor35Talk0Actions[]
Definition wstag305.c:1278
u16 actor48Conditions[]
Definition wstag305.c:1852
FieldTalk actor63Talks[]
Definition wstag305.c:1780
FieldTalk actor21Talks[]
Definition wstag305.c:1618
FieldActorEntry actor27
Definition wstag305.c:1896
s16 script965[]
Definition wstag305.c:1164
FieldTalk actor56Talks[]
Definition wstag305.c:1752
u16 actor57Talk1Actions[]
Definition wstag305.c:1532
FieldActorEntry actor10
Definition wstag305.c:1879
void endEvent890(void)
After event 890, with Lisa, Teddy, Keith and Nick: keeps it from playing again.
Definition wstag305.c:107
u16 actor31Conditions[]
Definition wstag305.c:1835
u16 actor19Conditions[]
Definition wstag305.c:1815
FieldTalk actor49Talks[]
Definition wstag305.c:1712
u16 actor4Conditions[]
Definition wstag305.c:1800
FieldActorEntry actor4
Definition wstag305.c:1873
u16 actor3Conditions[]
Definition wstag305.c:1799
u16 actor54Conditions[]
Definition wstag305.c:1858
FieldTalk actor17Talks[]
Definition wstag305.c:1606
FieldTalk actor39Talks[]
Definition wstag305.c:1661
FieldActorEntry actor35
Definition wstag305.c:1904
u16 actor57Talk4Actions[]
Definition wstag305.c:1572
u16 actor53Talk1Actions[]
Definition wstag305.c:1438
FieldActorEntry actor32
Definition wstag305.c:1901
FieldActorEntry actor8
Definition wstag305.c:1877
FieldActorEntry actor44
Definition wstag305.c:1913
ActorImage stageImages[]
Definition wstag305.c:1187
u16 actor60Conditions[]
Definition wstag305.c:1864
FieldActorEntry actor51
Definition wstag305.c:1920
void setupStage(void)
Sets the stage up: its map, actors and events, playing KANRIBGM.
Definition wstag305.c:141
FieldActorEntry actor43
Definition wstag305.c:1912
u16 actor40Talk0Actions[]
Definition wstag305.c:1290
u16 actor53Talk0Conditions[]
Definition wstag305.c:1436
FieldTalk actor25Talks[]
Definition wstag305.c:1630
u16 actor53Talk1Conditions[]
Definition wstag305.c:1437
u16 actor55Talk4Actions[]
Definition wstag305.c:1525
FieldTalk actor19Talks[]
Definition wstag305.c:1614
FieldTalk actor51Talks[]
Definition wstag305.c:1720
FieldActorEntry actor48
Definition wstag305.c:1917
u16 actor45Talk3Conditions[]
Definition wstag305.c:1322
u16 actor33Conditions[]
Definition wstag305.c:1837
s16 script683[]
Definition wstag305.c:395
FieldTalk actor23Talks[]
Definition wstag305.c:1622
u16 actor38Talk1Conditions[]
Definition wstag305.c:1285
u16 actor8Talk1Actions[]
Definition wstag305.c:1229
u16 actor16Conditions[]
Definition wstag305.c:1812
StageTile stageObjects[]
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition wstag305.c:2002
u16 actor41Conditions[]
Definition wstag305.c:1845
u16 actor57Talk3Actions[]
Definition wstag305.c:1547
FieldActorEntry actor9
Definition wstag305.c:1878
u16 actor8Conditions[]
Definition wstag305.c:1804
FieldActorEntry actor20
Definition wstag305.c:1889
u16 actor41Talk0Conditions[]
Definition wstag305.c:1292
u16 actor5Conditions[]
Definition wstag305.c:1801
u16 actor55Talk1Actions[]
Definition wstag305.c:1485
u16 actor38Talk0Actions[]
Definition wstag305.c:1284
FieldTalk actor9Talks[]
Definition wstag305.c:1581
u16 actor50Conditions[]
Definition wstag305.c:1854
u16 actor8Talk2Actions[]
Definition wstag305.c:1236
u16 actor51Talk2Conditions[]
Definition wstag305.c:1392
u16 actor41Talk1Conditions[]
Definition wstag305.c:1294
u16 actor51Talk3Conditions[]
Definition wstag305.c:1416
FieldTalk actor15Talks[]
Definition wstag305.c:1598
FieldActorEntry actor50
Definition wstag305.c:1919
FieldTalk actor46Talks[]
Definition wstag305.c:1696
FieldActorEntry actor47
Definition wstag305.c:1916
FieldTalk actor40Talks[]
Definition wstag305.c:1666
FieldTalk actor60Talks[]
Definition wstag305.c:1772
u16 actor55Talk2Actions[]
Definition wstag305.c:1492
FieldActorEntry actor15
Definition wstag305.c:1884
FieldActorEntry actor12
Definition wstag305.c:1881
u16 actor27Conditions[]
Definition wstag305.c:1827
FieldActorEntry actor16
Definition wstag305.c:1885
u16 actor15Conditions[]
Definition wstag305.c:1811
u16 actor61Conditions[]
Definition wstag305.c:1865
FieldActorEntry actor38
Definition wstag305.c:1907
u16 actor6Conditions[]
Definition wstag305.c:1802
u16 actor47Talk1Conditions[]
Definition wstag305.c:1343
u16 actor57Conditions[]
Definition wstag305.c:1861
u16 actor14Conditions[]
Definition wstag305.c:1810
FieldActorEntry actor30
Definition wstag305.c:1899
FieldActorEntry actor7
Definition wstag305.c:1876
u16 actor43Conditions[]
Definition wstag305.c:1847
u16 actor35Talk0Conditions[]
Definition wstag305.c:1277
u16 actor49Conditions[]
Definition wstag305.c:1853
StageSlot stageSlots[]
Definition wstag305.c:2014
u16 actor53Talk3Actions[]
Definition wstag305.c:1470
u16 actor62Conditions[]
Definition wstag305.c:1866
FieldActorEntry actor13
Definition wstag305.c:1882
u16 actor37Talk0Actions[]
Definition wstag305.c:1281
FieldTalk actor24Talks[]
Definition wstag305.c:1626
u16 actor8Talk4Conditions[]
Definition wstag305.c:1266
u16 actor53Talk2Actions[]
Definition wstag305.c:1445
AnimFrame updateSoundTileFrames[]
Defined below, after the code that uses them.
Definition wstag305.c:1183
u16 actor51Talk1Actions[]
Definition wstag305.c:1391
FieldActorEntry actor60
Definition wstag305.c:1929
u16 actor57Talk2Conditions[]
Definition wstag305.c:1533
u16 actor57Talk1Conditions[]
Definition wstag305.c:1531
FieldActorEntry actor11
Definition wstag305.c:1880
FieldActorEntry actor49
Definition wstag305.c:1918
u16 actor47Talk4Conditions[]
Definition wstag305.c:1377
u16 actor25Conditions[]
Definition wstag305.c:1821
u16 actor45Talk0Conditions[]
Definition wstag305.c:1295
FieldActorEntry actor1
Definition wstag305.c:1870
u16 actor40Conditions[]
Definition wstag305.c:1844
FieldActorEntry actor21
Definition wstag305.c:1890
FieldActorEntry actor42
Definition wstag305.c:1911
FieldActorEntry actor59
Definition wstag305.c:1928
FieldTalk actor13Talks[]
Definition wstag305.c:1589
s16 script351[]
Definition wstag305.c:282
#define STAGE_FILE
Definition wstag305.c:138
FieldTalk actor64Talks[]
Definition wstag305.c:1784
u16 actor53Talk2Conditions[]
Definition wstag305.c:1439
u16 actor58Conditions[]
Definition wstag305.c:1862
u16 actor45Conditions[]
Definition wstag305.c:1849
FieldActorEntry actor63
Definition wstag305.c:1932
u16 actor7Conditions[]
Definition wstag305.c:1803
FieldTalk actor48Talks[]
Definition wstag305.c:1708
u16 actor39Conditions[]
Definition wstag305.c:1843
FieldTalk actor45Talks[]
Definition wstag305.c:1688
u16 actor55Conditions[]
Definition wstag305.c:1859
u16 actor40Talk1Conditions[]
Definition wstag305.c:1291
FieldTalk actor55Talks[]
Definition wstag305.c:1744
u16 actor2Conditions[]
Definition wstag305.c:1794
u16 actor13Talk1Conditions[]
Definition wstag305.c:1275
FieldTalk actor18Talks[]
Definition wstag305.c:1610
u16 actor47Talk2Conditions[]
Definition wstag305.c:1345
u16 actor64Conditions[]
Definition wstag305.c:1868
s16 script895[]
Definition wstag305.c:969
u16 actor20Conditions[]
Definition wstag305.c:1816
u16 actor37Talk1Conditions[]
Definition wstag305.c:1282
u16 actor47Talk1Actions[]
Definition wstag305.c:1344
FieldActorEntry actor34
Definition wstag305.c:1903
#define STAGE_TEXT
Definition wstag305.c:136
u16 actor55Talk1Conditions[]
Definition wstag305.c:1484
u16 actor51Conditions[]
Definition wstag305.c:1855
u16 actor45Talk4Conditions[]
Definition wstag305.c:1330
FieldTalk actor8Talks[]
Definition wstag305.c:1573
u16 actor45Talk1Actions[]
Definition wstag305.c:1297
s16 script1450[]
Definition wstag305.c:1178
FieldTalk actor34Talks[]
Definition wstag305.c:1638
u16 actor47Talk3Actions[]
Definition wstag305.c:1376
void handleCommand850(StageSoundTile *task, s32 id)
Plays the sound and starts the animation when map object 0x335 is triggered.
Definition wstag305.c:15
FieldActorEntry actor46
Definition wstag305.c:1915
FieldTalk actor12Talks[]
Definition wstag305.c:1585
FieldActorEntry actor56
Definition wstag305.c:1925
u16 actor55Talk3Actions[]
Definition wstag305.c:1517
FieldActorEntry actor61
Definition wstag305.c:1930
u16 actor21Conditions[]
Definition wstag305.c:1817
s16 script890[]
Definition wstag305.c:606
FieldTalk actor58Talks[]
Definition wstag305.c:1764
u16 actor8Talk0Conditions[]
Definition wstag305.c:1227
u16 actor51Talk4Actions[]
Definition wstag305.c:1431
u16 actor28Conditions[]
Definition wstag305.c:1832
FieldTalk actor16Talks[]
Definition wstag305.c:1602
u16 actor17Conditions[]
Definition wstag305.c:1813
FieldActorEntry actor3
Definition wstag305.c:1872
FieldActorEntry actor54
Definition wstag305.c:1923
FieldActorEntry actor26
Definition wstag305.c:1895
u16 actor36Conditions[]
Definition wstag305.c:1840
u16 actor56Conditions[]
Definition wstag305.c:1860
FieldActorEntry actor14
Definition wstag305.c:1883
FieldEvent stageEvents[]
Definition wstag305.c:2022
u16 actor12Conditions[]
Definition wstag305.c:1808
FieldActorEntry actor64
Definition wstag305.c:1933
u16 actor63Conditions[]
Definition wstag305.c:1867
u16 actor0Conditions[]
Definition wstag305.c:1788
FieldTalk actor59Talks[]
Definition wstag305.c:1768
s16 script893[]
Definition wstag305.c:727