diff --git a/src/game/game_0b3350.c b/src/game/game_0b3350.c index 5f4d947da..f9bd742d2 100644 --- a/src/game/game_0b3350.c +++ b/src/game/game_0b3350.c @@ -1840,13 +1840,10 @@ u32 currentPlayerGetUnk1738(void) return g_Vars.currentplayer->unk1738; } -GLOBAL_ASM( -glabel func0f0b4f98 -/* f0b4f98: 3c0e800a */ lui $t6,%hi(g_Vars+0x284) -/* f0b4f9c: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6) -/* f0b4fa0: 03e00008 */ jr $ra -/* f0b4fa4: adc4173c */ sw $a0,0x173c($t6) -); +void currentPlayerSetUnk173c(u32 value) +{ + g_Vars.currentplayer->unk173c = value; +} GLOBAL_ASM( glabel func0f0b4fa8 diff --git a/src/game/game_0b63b0.c b/src/game/game_0b63b0.c index b2ba36f67..511a01294 100644 --- a/src/game/game_0b63b0.c +++ b/src/game/game_0b63b0.c @@ -10824,7 +10824,7 @@ glabel func0f0bfc7c /* f0bff64: 0c005a08 */ jal func00016820 /* f0bff68: 8c650060 */ lw $a1,0x60($v1) /* f0bff6c: 8e4e0284 */ lw $t6,0x284($s2) -/* f0bff70: 0fc2d3e6 */ jal func0f0b4f98 +/* f0bff70: 0fc2d3e6 */ jal currentPlayerSetUnk173c /* f0bff74: 8dc4005c */ lw $a0,0x5c($t6) /* f0bff78: 8e4f0284 */ lw $t7,0x284($s2) /* f0bff7c: 0fc2d3de */ jal currentPlayerSetUnk1738 diff --git a/src/include/game/game_0b3350.h b/src/include/game/game_0b3350.h index 75eb4ac63..797612df8 100644 --- a/src/include/game/game_0b3350.h +++ b/src/include/game/game_0b3350.h @@ -23,7 +23,7 @@ void func0f0b4dec(struct coord *in, struct coord *out); void func0f0b4e68(struct coord *in, f32 divisor, struct coord *out); u32 func0f0b4eb8(void); void currentPlayerSetUnk1738(u32 value); -u32 func0f0b4f98(void); +void currentPlayerSetUnk173c(u32 value); u32 func0f0b4fa8(void); u32 func0f0b4fb8(void); u32 func0f0b4fc8(void);