Skip to content
🌋️
Alchemy
Theme: Weyard
Theme: Modern
Mode: Auto
Mode: Light
Mode: Dark
Alchemy
Source
Reference
Loading...
Searching...
No Matches
colosso_scene_state.h
Go to the documentation of this file.
1
/// @file
2
/// The Colosso finals' three courses (Colosso Log, River and Wall): a helper
3
/// for the race gauge that no scene calls.
4
#include "
types.h
"
5
6
#define WORK_SLOT_STAGE 59
7
8
/// Sets the race gauge's hold (ColossoGaugeWork's hold, at 0xdc in the work of
9
/// slot 59), which keeps the gauge on the screen.
10
static
void
UNUSED
Colosso_SetGaugeHold
(
s16
v) {
11
*(
s16
*)(*(
u8
**)((
u8
*)
gWorkSlot
+
WORK_SLOT_STAGE
* 4) + 0xdc) = v;
12
}
Colosso_SetGaugeHold
static void UNUSED Colosso_SetGaugeHold(s16 v)
Sets the race gauge's hold (ColossoGaugeWork's hold, at 0xdc in the work of slot 59),...
Definition
colosso_scene_state.h:10
WORK_SLOT_STAGE
#define WORK_SLOT_STAGE
Definition
colosso_wall.c:152
gWorkSlot
void * gWorkSlot[]
types.h
The integer types, TRUE, UNUSED and the fixed-address macros.
s16
signed short s16
Definition
types.h:12
UNUSED
#define UNUSED
Definition
types.h:22
u8
unsigned char u8
Definition
types.h:11
src
scene
common
colosso_scene_state.h