16 s32 finishX,
s32 finishZ,
s32 finishItemActorA,
17 s32 finishItemActorB) {
28 *(
u16 *)(desc + 222) = playerActor;
29 *(
u16 *)(desc + 224) = rivalActor;
30 *(
u16 *)(desc + 226) = finishItemActorA;
31 *(
u16 *)(desc + 228) = finishItemActorB;
32 *(
u16 *)(desc + 230) = segments;
33 *(
s32 *)(desc + 232) = finishX;
34 *(
s32 *)(desc + 236) = finishZ;
45 *(
u16 *)(desc + 218) = 0;
46 *(
u16 *)(desc + 220) = 0;
52 *(
u16 *)(desc + 216) = pal;
79 recorder->
actor = *(
u16 *)(work + 224);
struct FieldActor * Object_GetById(s32 actor)
Returns an actor, or NULL if it does not exist.
void(*) SchedulerCallback(void)
u8 gColosso_GaugeGraphics[]
static s32 FieldScheduler_AddCallback(SchedulerCallback callback, s32 priority)
Registers a main-image scheduler callback.
static s32 FieldResource_DecodeType01(const void *source, void *destination)
Decodes type-01 compressed data.
The scene script layer: the engine services a scene's events call, declared once (Engine_EventBegin,...
s32 Engine_VramLoad(s32 block, s32 size, const void *data)
s32 Engine_GameFlagIsSet(s32 flag)
Field objects and actors, and the scene transition styles.
Game flags, named where their meaning is shown.
#define FLAG_KEEP_PARTY_POSITION
void * Runtime_BumpAllocateAlternatePool(s32 size)
As MemAlloc, but tries EWRAM first.
void * Runtime_AllocateBlock(s32 kind, s32 size)
As Runtime_AllocateHeapBlock, but tries EWRAM first, for blocks that need room more than speed: the b...
void Runtime_BumpFree(void *buffer)
void Colosso_StartRaceGauge(s32 playerActor, s32 rivalActor, s32 segments, s32 finishX, s32 finishZ, s32 finishItemActorA, s32 finishItemActorB)
Starts the race gauge (struct ColossoGaugeWork, in work slot 59): Isaac and the rival as playerActor ...
void Colosso_StartRival(s32 resource)
Decodes the rival's recorded path (resource) after the gauge's work and, unless the party returns to ...
A field actor: a person or thing on the field with a position, motion toward a target,...
union FieldCoordinate x
16.16 fixed-point pixels
union FieldCoordinate z
16.16 fixed-point pixels
u16 work
The side of the player's next footprint (2 after a stop), or scene scratch.
The Colosso rival's path player in the scene state: its mode (1 playing, 2 recording,...
void * Resource_GetTableEntry(s32 index)
Returns the ROM address of resource index from the resource directory.
The integer types, TRUE, UNUSED and the fixed-address macros.
s32 fixed
16.16 fixed-point pixels
s32 Resource_FindFreeEntry(void)
Returns the number of the first free cache entry, or VRAM_CACHE_ENTRY_COUNT when all are taken.