diff --git a/src/game/game_176d70.c b/src/game/game_176d70.c index 8b355e70c..db4613f5a 100644 --- a/src/game/game_176d70.c +++ b/src/game/game_176d70.c @@ -8743,7 +8743,7 @@ glabel func0f17eac8 /* f17eaec: 1000000e */ beqz $zero,.L0f17eb28 /* f17eaf0: 8fbf0014 */ lw $ra,0x14($sp) .L0f17eaf4: -/* f17eaf4: 0fc66dfd */ jal func0f19b7f4 +/* f17eaf4: 0fc66dfd */ jal mpGetCurrentChallengeIndex /* f17eaf8: 00000000 */ sll $zero,$zero,0x0 /* f17eafc: 0fc66daf */ jal func0f19b6bc /* f17eb00: 00402025 */ or $a0,$v0,$zero @@ -16334,7 +16334,7 @@ glabel func0f185568 /* f18559c: afb00014 */ sw $s0,0x14($sp) /* f1855a0: 166f000a */ bne $s3,$t7,.L0f1855cc /* f1855a4: afae00b8 */ sw $t6,0xb8($sp) -/* f1855a8: 0fc66dfd */ jal func0f19b7f4 +/* f1855a8: 0fc66dfd */ jal mpGetCurrentChallengeIndex /* f1855ac: 00000000 */ sll $zero,$zero,0x0 /* f1855b0: 0fc66dbe */ jal func0f19b6f8 /* f1855b4: 00402025 */ or $a0,$v0,$zero diff --git a/src/game/game_1999b0.c b/src/game/game_1999b0.c index 9f197362d..0d8e34eef 100644 --- a/src/game/game_1999b0.c +++ b/src/game/game_1999b0.c @@ -2281,12 +2281,10 @@ glabel func0f19b77c /* f19b7f0: 27bd0028 */ addiu $sp,$sp,0x28 ); -GLOBAL_ASM( -glabel func0f19b7f4 -/* f19b7f4: 3c028009 */ lui $v0,0x8009 -/* f19b7f8: 03e00008 */ jr $ra -/* f19b7fc: 8c4284b0 */ lw $v0,-0x7b50($v0) -); +s32 mpGetCurrentChallengeIndex(void) +{ + return g_MpChallengeIndex; +} GLOBAL_ASM( glabel func0f19b800 diff --git a/src/include/game/game_1999b0.h b/src/include/game/game_1999b0.h index d39802e15..ececa03f5 100644 --- a/src/include/game/game_1999b0.h +++ b/src/include/game/game_1999b0.h @@ -32,7 +32,7 @@ u32 func0f19b664(void); u32 func0f19b6bc(void); u32 func0f19b6f8(void); void func0f19b77c(u32 options); -u32 func0f19b7f4(void); +s32 mpGetCurrentChallengeIndex(void); u32 func0f19b800(void); s32 func0f19b914(s16 arg0, s32 arg1, s32 arg2); s32 func0f19ba58(s32 challengeindex, s32 arg1, s32 arg2);