mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
cleanup
This commit is contained in:
parent
bfbae5e26a
commit
0f3d65f7c9
@ -4,16 +4,12 @@ INCLUDE_ASM(s32, "world/area_sam/sam_11/D3A930", func_80240360_D3A930);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_sam/sam_11/D3A930", func_8024052C_D3AAFC);
|
||||
|
||||
// Almost the same as Set80151310, but we're setting it to 2 in the first func instead of 1
|
||||
static ApiStatus Set80151310_2(ScriptInstance* script, s32 isInitialCall) {
|
||||
D_80151310 = 2;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
static ApiStatus Set80151310_0(ScriptInstance* script, s32 isInitialCall) {
|
||||
D_80151310 = 0;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
#include "world/common/Set80151310_0.inc.c"
|
||||
|
||||
#include "world/common/UnsetCamera0MoveFlag1.inc.c"
|
||||
|
||||
|
@ -5,7 +5,4 @@ static ApiStatus Set80151310_1(ScriptInstance* script, s32 isInitialCall) {
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
static ApiStatus Set80151310_0(ScriptInstance* script, s32 isInitialCall) {
|
||||
D_80151310 = 0;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
#include "world/common/Set80151310_0.inc.c"
|
||||
|
6
src/world/common/Set80151310_0.inc.c
Normal file
6
src/world/common/Set80151310_0.inc.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include "common.h"
|
||||
|
||||
static ApiStatus Set80151310_0(ScriptInstance* script, s32 isInitialCall) {
|
||||
D_80151310 = 0;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user