Alchemy
Loading...
Searching...
No Matches

object_waitdown.h

Go to the documentation of this file.
1#include "types.h"
2#include "field_obj.h"
3
4// Goma Cave's entrance and waterway, and the Lamakan Desert.
5
6/// Waits until the object has come down to height (16.16), a second at most.
8 s32 height) {
9 s32 frames = 60;
10
11 while (frames != 0) {
13 frames--;
14 if (object->y.fixed <= height)
15 break;
16 }
17}
Field objects and actors, and the scene transition styles.
static void SceneActor_WaitObjectBelowHeight(struct FieldActor *object, s32 height)
Waits until the object has come down to height (16.16), a second at most.
void Engine_TaskWait()
A field actor: a person or thing on the field with a position, motion toward a target,...
Definition field_obj.h:30
union FieldCoordinate y
16.16 fixed-point pixels
Definition field_obj.h:36
The integer types, TRUE, UNUSED and the fixed-address macros.
signed int s32
Definition types.h:14
s32 fixed
16.16 fixed-point pixels