Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
wstag436.c File Reference

WSTAG436: Gale Tower, Qing Long City. More...

#include "common.h"
#include "field/stage.h"
#include "common/update_stage.inc.c"
#include "common/start_stage.inc.c"
Include dependency graph for wstag436.c:

Go to the source code of this file.

Macros

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_03)
 
#define STAGE_FILE   0x5AA
 

Functions

void setupStage (void)
 Sets the stage up: its map and actors, playing the ambience ENV_0008.
 

Variables

ActorImage stageImages []
 
FieldTalk actor0Talks []
 
FieldTalk actor1Talks []
 
u16 actor0Conditions []
 
u16 actor1Conditions []
 
FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x3E, 4, 256, 455, 1 }
 
FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x3E, 4, 256, 455, 1 }
 
FieldActorEntry * stageActors []
 
StageTile stageObjects []
 The tables and color setupStage gives FIELDSTG_state (FieldState)
 
StageSlot stageSlots []
 
void(* stageFuncs [])(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.
 

Detailed Description

WSTAG436: Gale Tower, Qing Long City.

On the Amaterasu server; its Asuka server twin is WSTAG435.

Definition in file wstag436.c.

Macro Definition Documentation

◆ STAGE_TEXT

#define STAGE_TEXT   TEXT_FILE(TEXT_TALKS_03)

Definition at line 16 of file wstag436.c.

◆ STAGE_FILE

#define STAGE_FILE   0x5AA

Definition at line 17 of file wstag436.c.

Function Documentation

◆ setupStage()

void setupStage ( void  )

Sets the stage up: its map and actors, playing the ambience ENV_0008.

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.

< ENV_0008: the Gale Tower

< ENV_0008: the Gale Tower

< a cell's value: a direction (3 bits) and a StageSlot (5)

Definition at line 20 of file wstag436.c.

Variable Documentation

◆ stageImages

ActorImage stageImages[]
Initial value:
= {
{ 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
{ 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
{ 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
{ 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
{ 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
{ 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
{ 0x140, 0x100, 0x162, 0x100, 0x88, 0, 0x150, 0x1FF },
}

Definition at line 38 of file wstag436.c.

Referenced by setupStage().

◆ actor0Talks

FieldTalk actor0Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x101 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 47 of file wstag436.c.

◆ actor1Talks

FieldTalk actor1Talks[]
Initial value:
= {
{ ((void *)0) , ((void *)0) , 0x102 },
{ ((void *)0) , ((void *)0) , 0 },
}

Definition at line 51 of file wstag436.c.

◆ actor0Conditions

u16 actor0Conditions[]
Initial value:
= {
(0x6000 | ( STORY_PRESIDENT_ARRESTED )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 1,
0xFFFF ,
}
@ STORY_PRESIDENT_ARRESTED
WSTAG226 (Login Room, Amaterasu City), event 935, after the President of MAGAMI gives himself up (WST...
Definition story.h:136

Definition at line 55 of file wstag436.c.

◆ actor1Conditions

u16 actor1Conditions[]
Initial value:
= {
(0x7000 | ( 0x1A )) , 1,
(( 0x1A ) << 8 | ( 0xA )) , 1,
0xFFFF ,
}

Definition at line 60 of file wstag436.c.

◆ actor0

FieldActorEntry actor0 = { actor0Conditions, actor0Talks, 0x3E, 4, 256, 455, 1 }

Definition at line 65 of file wstag436.c.

◆ actor1

FieldActorEntry actor1 = { actor1Conditions, actor1Talks, 0x3E, 4, 256, 455, 1 }

Definition at line 66 of file wstag436.c.

◆ stageActors

FieldActorEntry* stageActors[]
Initial value:
= {
((void *)0) ,
}
FieldActorEntry actor0
Definition wstag436.c:65
FieldActorEntry actor1
Definition wstag436.c:66

Definition at line 67 of file wstag436.c.

Referenced by setupStage().

◆ stageObjects

StageTile stageObjects[]
Initial value:
= {
{ 1, 0, 0xD0, 2, 0x32, 0, 0, 0, 0, 0, 51, 95, 0, 0 },
{ 1, 0, 0xD0, 2, 0x32, 0, 0, 0, 0, 0, 300, 55, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
}

The tables and color setupStage gives FIELDSTG_state (FieldState)

Definition at line 72 of file wstag436.c.

Referenced by setupStage().

◆ stageSlots

StageSlot stageSlots[]
Initial value:
= {
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 1 , 0x29C, 0x350, 0x230, 7, 0, 0, 0 },
{ { { 0xFFFF , 0 }, { 0xFFFF , 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
}

Definition at line 77 of file wstag436.c.

Referenced by setupStage().

◆ stageFuncs

void(* stageFuncs[])(void) ( void  )
Initial value:
= {
}
void setupStage(void)
Sets the stage up: its map and actors, playing the ambience ENV_0008.
Definition wstag436.c:20

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 81 of file wstag436.c.