|
Digimon World 3 decomp
The European version, SLES_039.36
|
WSTAG625: Secret Room, West Sector: the hideout later on. More...
Go to the source code of this file.
Macros | |
| #define | STAGE_CHILDREN_SIZE 0x8 |
| #define | STAGE_TEXT TEXT_FILE(TEXT_TALKS_02) |
| #define | EVENT_TEXT_FILE (TEXT_EVENTS_600 - 1) |
| #define | STAGE_FILE 0x48C |
Functions | |
| s32 | stepTileAnimation (StageTileSeq *obj, AnimFrame *frames, s32 once, s32 depth) |
| stepTileAnimation (common/step_tile_animation.inc.c) for a StageTileSeq: steps OBJ's animation through FRAMES and returns its frame, looping at the end or returning 0xFF if once | |
| void | updateTileSeqs (StageTileSeqs *task) |
| Plays the steps of updateTileSeqsSteps on the map objects with animations 1 to 4, which go on to their next step at the end. | |
| void * | createTileSeqs (s32 arg) |
| Creates the map objects' steps (updateTileSeqs) with an id; nothing in the game calls it. | |
| void | updateStage (StageTask *task, void **children) |
| Creates the event object of story progress 0x15. | |
| void | endEvent552 (void) |
| After event 552, with Keith, Nick, Lisa and Kail: gives the player the Staff Pass and keeps it from playing again. | |
| void | setupStage (void) |
| Sets the stage up: its map, actors and events, playing BGM_0019. | |
WSTAG625: Secret Room, West Sector: the hideout later on.
A second copy off the Sewers (WSTAG615), where Lisa sends the player into Asuka City and the Bai Hu Chief is met.
Definition in file wstag625.c.
| #define STAGE_CHILDREN_SIZE 0x8 |
Definition at line 146 of file wstag625.c.
| #define STAGE_TEXT TEXT_FILE(TEXT_TALKS_02) |
Definition at line 163 of file wstag625.c.
| #define EVENT_TEXT_FILE (TEXT_EVENTS_600 - 1) |
Definition at line 164 of file wstag625.c.
| #define STAGE_FILE 0x48C |
Definition at line 165 of file wstag625.c.
| s32 stepTileAnimation | ( | StageTileSeq * | obj, |
| AnimFrame * | frames, | ||
| s32 | once, | ||
| s32 | depth | ||
| ) |
stepTileAnimation (common/step_tile_animation.inc.c) for a StageTileSeq: steps OBJ's animation through FRAMES and returns its frame, looping at the end or returning 0xFF if once
Definition at line 17 of file wstag625.c.
Referenced by stepTileAnimation(), and updateTileSeqs().
| void updateTileSeqs | ( | StageTileSeqs * | task | ) |
Plays the steps of updateTileSeqsSteps on the map objects with animations 1 to 4, which go on to their next step at the end.
Definition at line 49 of file wstag625.c.
Referenced by createTileSeqs().
| void * createTileSeqs | ( | s32 | arg | ) |
Creates the map objects' steps (updateTileSeqs) with an id; nothing in the game calls it.
Definition at line 125 of file wstag625.c.
| void updateStage | ( | StageTask * | task, |
| void ** | children | ||
| ) |
Creates the event object of story progress 0x15.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 130 of file wstag625.c.
| void endEvent552 | ( | void | ) |
After event 552, with Keith, Nick, Lisa and Kail: gives the player the Staff Pass and keeps it from playing again.
< 0x40 0x00-0x40: FLAGS_00, GAME.flags02-flags40
Definition at line 153 of file wstag625.c.
| void setupStage | ( | void | ) |
Sets the stage up: its map, actors and events, playing BGM_0019.
Sets the stage up: its map, actors, battles and events, playing KANRIBGM; BGM_0029 instead except at STORY_PRESIDENT_ARRESTED once flag 0x1A0A is set.
< BGM_0019: the Secret Room, the rebels' hideout
< BGM_0019: the Secret Room, the rebels' hideout
< a cell's value: a direction (3 bits) and a StageSlot (5)
Definition at line 168 of file wstag625.c.
| StageSeqStep updateTileSeqsSteps |
Defined below, after the code that uses them.
Definition at line 343 of file wstag625.c.
Referenced by updateTileSeqs().
| s16 script552[] |
Definition at line 187 of file wstag625.c.
| AnimFrame updateTileSeqsSteps_0_0[] |
Definition at line 301 of file wstag625.c.
| AnimFrame updateTileSeqsSteps_0_1[] |
Definition at line 306 of file wstag625.c.
| AnimFrame updateTileSeqsSteps_0_2[] |
Definition at line 313 of file wstag625.c.
| AnimFrame updateTileSeqsSteps_1_0[] |
Definition at line 318 of file wstag625.c.
| AnimFrame updateTileSeqsSteps_1_1[] |
Definition at line 322 of file wstag625.c.
| AnimFrame updateTileSeqsSteps_1_2[] |
Definition at line 327 of file wstag625.c.
| AnimFrame updateTileSeqsSteps_2[] |
Definition at line 331 of file wstag625.c.
| AnimFrame updateTileSeqsSteps_3[] |
Definition at line 338 of file wstag625.c.
| ActorImage stageImages[] |
Definition at line 349 of file wstag625.c.
Referenced by setupStage().
| FieldTalk actor0Talks[] |
Definition at line 365 of file wstag625.c.
| FieldTalk actor1Talks[] |
Definition at line 369 of file wstag625.c.
| FieldTalk actor2Talks[] |
Definition at line 373 of file wstag625.c.
| FieldTalk actor3Talks[] |
Definition at line 377 of file wstag625.c.
| FieldTalk actor4Talks[] |
Definition at line 381 of file wstag625.c.
| FieldTalk actor5Talks[] |
Definition at line 385 of file wstag625.c.
| FieldTalk actor6Talks[] |
Definition at line 389 of file wstag625.c.
| FieldTalk actor10Talks[] |
Definition at line 393 of file wstag625.c.
| u16 actor0Conditions[] = { (0x7000 | ( 7 )) , 1, 0xFFFF } |
Definition at line 397 of file wstag625.c.
| u16 actor1Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 398 of file wstag625.c.
| u16 actor2Conditions[] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, 0xFFFF } |
Definition at line 399 of file wstag625.c.
| u16 actor3Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 400 of file wstag625.c.
| u16 actor4Conditions[] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, 0xFFFF } |
Definition at line 401 of file wstag625.c.
| u16 actor5Conditions[] = { (0x6000 | ( STORY_CONTROL_ROOM )) , 1, 0xFFFF } |
Definition at line 402 of file wstag625.c.
| u16 actor6Conditions[] = { (0x6000 | ( STORY_STAFF_PASS )) , 1, 0xFFFF } |
Definition at line 403 of file wstag625.c.
| u16 actor10Conditions[] |
Definition at line 404 of file wstag625.c.
| FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0xB, 4, 472, 381, 1 } |
Definition at line 408 of file wstag625.c.
| FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x65, 5, 385, 416, 3 } |
Definition at line 409 of file wstag625.c.
| FieldActorEntry actor2 = { actor2Conditions, actor2Talks, 0x65, 5, 385, 416, 3 } |
Definition at line 410 of file wstag625.c.
| FieldActorEntry actor3 = { actor3Conditions, actor3Talks, 0x66, 6, 496, 232, 7 } |
Definition at line 411 of file wstag625.c.
| FieldActorEntry actor4 = { actor4Conditions, actor4Talks, 0x66, 6, 496, 232, 7 } |
Definition at line 412 of file wstag625.c.
| FieldActorEntry actor5 = { actor5Conditions, actor5Talks, 0x67, 7, 400, 232, 3 } |
Definition at line 413 of file wstag625.c.
| FieldActorEntry actor6 = { actor6Conditions, actor6Talks, 0x67, 7, 400, 232, 3 } |
Definition at line 414 of file wstag625.c.
| FieldActorEntry actor7 = { ((void *)0) , ((void *)0) , 0x9A, 8, 641, 350, 0 } |
Definition at line 415 of file wstag625.c.
| FieldActorEntry actor8 = { ((void *)0) , ((void *)0) , 0x9B, 9, 593, 325, 1 } |
Definition at line 416 of file wstag625.c.
| FieldActorEntry actor9 = { ((void *)0) , ((void *)0) , 0x9C, 0xA, 545, 301, 2 } |
Definition at line 417 of file wstag625.c.
| FieldActorEntry actor10 = { actor10Conditions, actor10Talks, 0x13D, 0xB, 449, 392, 5 } |
Definition at line 418 of file wstag625.c.
| FieldActorEntry* stageActors[] |
| StageTile stageObjects[] |
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition at line 433 of file wstag625.c.
Referenced by setupStage().
| StageSlot stageSlots[] |
Definition at line 448 of file wstag625.c.
Referenced by setupStage().
| void(* stageFuncs[])(void) | ( | void | ) |
The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a tween, which define STAGE_TWEEN before they include this file, and in the others an array of just setupStage.
Definition at line 454 of file wstag625.c.
| FieldEvent stageEvents[] |
Definition at line 457 of file wstag625.c.
Referenced by setupStage().