This commit is contained in:
Ethan Roseman 2020-10-31 15:34:10 -04:00
parent bfbae5e26a
commit 0f3d65f7c9
3 changed files with 8 additions and 9 deletions

View File

@ -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"

View File

@ -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"

View File

@ -0,0 +1,6 @@
#include "common.h"
static ApiStatus Set80151310_0(ScriptInstance* script, s32 isInitialCall) {
D_80151310 = 0;
return ApiStatus_DONE2;
}