1#ifndef ALCHEMY_ENGINE_CALL_H
2#define ALCHEMY_ENGINE_CALL_H
void Actor_JumpDownLedge(s32 actor, s32 pose, s32 param)
Makes an actor jump down off a ledge in front of it (the field runs it for the leader when the player...
void(*) SchedulerCallback(void)
static s32 FieldScheduler_AddCallback(SchedulerCallback callback, s32 priority)
Registers a main-image scheduler callback.
static s32 FieldParty_ListActiveOwners(s16 *owners)
static s32 FieldResource_DecodeType01(const void *source, void *destination)
Decodes type-01 compressed data.
static void FieldUiTextResource_Initialize(struct MenuSprite *cursor, s32 *slot)
static s32 FieldObject_CheckMovementCollision(struct FieldActor *actor, struct FieldPosition *position)
static s32 FieldGameFlag_GetByte(s32 flag)
static void FieldBattleFx_RunRisingObjectSequence(s32 actor, s32 mode, s32 action)
static void FieldMap_SetViewBounds(s32 minX, s32 minY, s32 maxX, s32 maxY)
static s32 FieldUnit_AddHp(s32 owner, s32 delta)
static void DisplayScroll_StartHBlankDma(s32 mode, s32 freqX, s32 stepX, s32 ampX, s32 freqY, s32 stepY, s32 ampY)
static void FieldUi_AdjustValueWithoutLimit(s32 message, u16 *buffer)
static void FieldUiTextResource_SetPosition(struct MenuSprite *cursor, s32 x, s32 y)
static void FieldGameFlag_SetByte(s32 flag, s32 value)
void GameFlag_SetByte(s32 flag, s32 value)
Sets the whole byte flag is in.
s32 GameFlag_GetByte(s32 flag)
Returns the whole byte flag is in, a counter kept among the flags.
The main-image routines scene overlays import.
void Engine_DisplayScrollStartHBlankDma(s32 mode, s32 freqX, s32 stepX, s32 ampX, s32 freqY, s32 stepY, s32 ampY)
s32 Object_CheckMovementCollision(struct ObjectRuntime *object, struct FieldPosition *position)
void Map_SetViewBounds(s32 minX, s32 minY, s32 maxX, s32 maxY)
The event command "set view bounds": the camera keeps the screen inside these map coordinates (Camera...
s32 Party_ListActiveOwners(s16 *owners)
Writes the party members to owners, ending with 0xff, and returns how many there are.
s32 Resource_DecodeType01(const void *source, void *destination)
Decodes a type-01 resource and returns its unpacked byte count.
s32 Scheduler_AddOrUpdateCallback(SchedulerCallback callback, s32 order)
Schedules callback with order, or gives a task already running it the new order, and re-sorts the tab...
void UiTextResource_Initialize(struct MenuSprite *sprite, s32 *slot)
Sets up a sprite as the right-pointing arrow, in a free tile slot (returned in *slot).
void UiTextResource_SetPosition(struct MenuSprite *sprite, s32 x, s32 y)
Places an arrow sprite at (x, y) and queues it for drawing.
A field actor: a person or thing on the field with a position, motion toward a target,...
One of the 64 field objects in the object pool (heap slot 5): its script, position,...
The integer types, TRUE, UNUSED and the fixed-address macros.
s32 Unit_AddHp(s32 owner, s32 delta)
Adds delta to the HP of unit owner, clamped to 0..maxHp, recomputes its gauges and returns the new HP...
void Ui_AdjustValueWithoutLimit(s32 message, u16 *text)
Decodes message into text (a u16 string) with no length limit.