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

The lift of the map objects 2 and 3. More...

#include "field/field_mode.h"
Include dependency graph for lift.c:

Go to the source code of this file.

Functions

void FIELDSTG_updateLift (Lift *task)
 A lift made of the map objects 3 and 2: in TASK_DONE it shakes, moves the objects and the player 0x7F pixels up or down a pixel every other frame, shakes again and flips raised.
 
void FIELDSTG_moveLift (Lift *task, s32 command)
 Runs a script command of the lift's: moves it up or down.
 
Lift * FIELDSTG_createLift (s32 id)
 Creates the lift, raised when flag 0x1C3D is set.
 

Detailed Description

The lift of the map objects 2 and 3.

Its rodata, at 0x800824C4 (USA), starts FIELDSTG.PRO's second object (see data/fieldstg.c).

Definition in file lift.c.

Function Documentation

◆ FIELDSTG_updateLift()

void FIELDSTG_updateLift ( Lift *  task)

A lift made of the map objects 3 and 2: in TASK_DONE it shakes, moves the objects and the player 0x7F pixels up or down a pixel every other frame, shakes again and flips raised.

lift.c

WSTAG261 and WSTAG934 have a copy of it (common/update_tile_lift.inc.c).

< every character (FIELDSTG_createActor)

Definition at line 12 of file lift.c.

Referenced by FIELDSTG_createLift().

Here is the caller graph for this function:

◆ FIELDSTG_moveLift()

void FIELDSTG_moveLift ( Lift *  task,
s32  command 
)

Runs a script command of the lift's: moves it up or down.

< the lift's script commands: up the screen,

< and back down to the objects' place on the map

Definition at line 125 of file lift.c.

◆ FIELDSTG_createLift()

Lift * FIELDSTG_createLift ( s32  id)

Creates the lift, raised when flag 0x1C3D is set.

< 0x1C 0x00-0x40: FLAGS_00, GAME.flags02-flags40

Definition at line 141 of file lift.c.

Referenced by FIELDSTG_runStoryEvents().

Here is the call graph for this function:
Here is the caller graph for this function: