Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
StageSlot Struct Reference

What the player can trigger on a map (FIELDSTG_updateTriggers): a record of the table at FieldState.slots, which ends with type 0, where the points are copied to. More...

#include <field/field_map.h>

Data Fields

u16 conditions [2][2]
 flag code and value, or code 0xFFFF
 
u16 type
 SLOT_EXIT...
 
u16 arg
 by type: a mode, a depth, a map, an event or a height (in 16 pixels, plus 1 for a climb); a warp's and a launch's SlotDest starts here
 
u16 x
 
u16 y
 
u16 dir
 
u16 hideAnim
 the animation of the map objects to hide, or 0
 
u16 place
 copied to GAME.place, the place (FieldBattles.id)
 
u16 placeArg
 copied to GAME.placeArg: with place, the next stage's place points
 

Detailed Description

What the player can trigger on a map (FIELDSTG_updateTriggers): a record of the table at FieldState.slots, which ends with type 0, where the points are copied to.

The stages fill arg to placeArg from their place points (copyPlacePoints, in src/field/stages/common).

Definition at line 276 of file field_map.h.

Field Documentation

◆ conditions

u16 StageSlot::conditions[2][2]

flag code and value, or code 0xFFFF

Definition at line 277 of file field_map.h.

Referenced by FIELDSTG_offerTrigger().

◆ type

u16 StageSlot::type

◆ arg

u16 StageSlot::arg

by type: a mode, a depth, a map, an event or a height (in 16 pixels, plus 1 for a climb); a warp's and a launch's SlotDest starts here

Definition at line 279 of file field_map.h.

Referenced by copyPlacePoints(), FIELDSTG_offerTrigger(), and FIELDSTG_setOffTrigger().

◆ x

u16 StageSlot::x

Definition at line 281 of file field_map.h.

Referenced by copyPlacePoints(), and FIELDSTG_setOffTrigger().

◆ y

u16 StageSlot::y

Definition at line 282 of file field_map.h.

Referenced by copyPlacePoints(), and FIELDSTG_setOffTrigger().

◆ dir

u16 StageSlot::dir

Definition at line 283 of file field_map.h.

Referenced by copyPlacePoints(), and FIELDSTG_setOffTrigger().

◆ hideAnim

u16 StageSlot::hideAnim

the animation of the map objects to hide, or 0

Definition at line 284 of file field_map.h.

Referenced by FIELDSTG_setOffTrigger().

◆ place

u16 StageSlot::place

copied to GAME.place, the place (FieldBattles.id)

Definition at line 285 of file field_map.h.

Referenced by copyPlacePoints(), and FIELDSTG_setOffTrigger().

◆ placeArg

u16 StageSlot::placeArg

copied to GAME.placeArg: with place, the next stage's place points

Definition at line 286 of file field_map.h.

Referenced by copyPlacePoints(), and FIELDSTG_setOffTrigger().


The documentation for this struct was generated from the following file: