mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
kmr_12: use function pointers for unnamed api funcs
This commit is contained in:
parent
136df602cd
commit
3b3b07c90a
@ -264,6 +264,8 @@ ApiStatus DemoJoystickXY(ScriptInstance* script, s32 isInitialCall);
|
||||
|
||||
ApiStatus func_802CFE2C(ScriptInstance* script, s32 isInitialCall);
|
||||
ApiStatus func_802CFD30(ScriptInstance* script, s32 isInitialCall);
|
||||
ApiStatus func_800441F0(ScriptInstance* script, s32 isInitialCall);
|
||||
ApiStatus func_802D5830(ScriptInstance* script, s32 isInitialCall);
|
||||
|
||||
extern Bytecode* ShakeCam1;
|
||||
extern Bytecode* ShakeCamX;
|
||||
|
@ -193,7 +193,7 @@ NpcGroupList npc_groups = {
|
||||
|
||||
// *INDENT-OFF*
|
||||
Script read_east_sign = {
|
||||
SI_CALL(0x800441F0, SI_VAR(0)),
|
||||
SI_CALL(func_800441F0, SI_VAR(0)),
|
||||
SI_IF_EQ(SI_VAR(0), 1),
|
||||
SI_RETURN(),
|
||||
SI_END_IF(),
|
||||
@ -201,11 +201,11 @@ Script read_east_sign = {
|
||||
SI_GROUP(0),
|
||||
|
||||
// "Goomba King's Fortress Ahead"
|
||||
SI_CALL(0x802D5830, 1),
|
||||
SI_CALL(func_802D5830, 1),
|
||||
SI_CALL(DisablePlayerInput, 1),
|
||||
SI_CALL(ShowMessageAtScreenPos, 0x1D0168, 160, 40),
|
||||
SI_CALL(DisablePlayerInput, 0),
|
||||
SI_CALL(0x802D5830, 0),
|
||||
SI_CALL(func_802D5830, 0),
|
||||
|
||||
SI_RETURN(),
|
||||
SI_END(),
|
||||
|
Loading…
Reference in New Issue
Block a user