diff --git a/src/game/game_0b63b0.c b/src/game/game_0b63b0.c index 33059421c..e48f706e1 100644 --- a/src/game/game_0b63b0.c +++ b/src/game/game_0b63b0.c @@ -4807,12 +4807,10 @@ glabel var7f1ad5dc /* f0ba834: 27bd01a8 */ addiu $sp,$sp,0x1a8 ); -GLOBAL_ASM( -glabel func0f0ba838 -/* f0ba838: 3c01800a */ lui $at,0x800a -/* f0ba83c: 03e00008 */ jr $ra -/* f0ba840: c420de1c */ lwc1 $f0,-0x21e4($at) -); +f32 getVar8009de1c(void) +{ + return var8009de1c; +} void currentPlayerSetZoomFovY(f32 fovy, f32 timemax) { diff --git a/src/game/game_167ae0.c b/src/game/game_167ae0.c index 53b977b45..79963aa9a 100644 --- a/src/game/game_167ae0.c +++ b/src/game/game_167ae0.c @@ -3180,7 +3180,7 @@ glabel var7f1b7868 /* f16ab38: 24010006 */ addiu $at,$zero,0x6 /* f16ab3c: 15810031 */ bne $t4,$at,.L0f16ac04 /* f16ab40: 00000000 */ sll $zero,$zero,0x0 -/* f16ab44: 0fc2ea0e */ jal func0f0ba838 +/* f16ab44: 0fc2ea0e */ jal getVar8009de1c /* f16ab48: 00000000 */ sll $zero,$zero,0x0 /* f16ab4c: 44803000 */ mtc1 $zero,$f6 /* f16ab50: 3c01437f */ lui $at,0x437f diff --git a/src/include/game/game_0b63b0.h b/src/include/game/game_0b63b0.h index 3ebf37345..5ae6154f6 100644 --- a/src/include/game/game_0b63b0.h +++ b/src/include/game/game_0b63b0.h @@ -26,7 +26,7 @@ u32 func0f0b9cbc(void); void cameraDoAnimation(s16 anim_id); u32 func0f0ba190(u32 arg0); u32 func0f0ba29c(void); -u32 func0f0ba838(void); +f32 getVar8009de1c(void); void currentPlayerSetZoomFovY(f32 fovy, f32 timemax); f32 currentPlayerGetZoomFovY(void); void func0f0ba8b0(f32 value);