From c609b533d46fc95ef3473abdcb0f9dcf11260066 Mon Sep 17 00:00:00 2001 From: jiangzhengwenjz Date: Wed, 11 Dec 2019 02:42:38 +0800 Subject: sub_815A1F8 --- src/battle_controller_oak_old_man.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/battle_controller_oak_old_man.c') diff --git a/src/battle_controller_oak_old_man.c b/src/battle_controller_oak_old_man.c index 08c89ec1e..6ae50d058 100644 --- a/src/battle_controller_oak_old_man.c +++ b/src/battle_controller_oak_old_man.c @@ -363,7 +363,7 @@ static void WaitForMonSelection(void) { if (gMain.callback2 == BattleMainCB2 && !gPaletteFade.active) { - if (gPartyMenuUseExitCallback == 1) + if (gPartyMenuUseExitCallback == TRUE) BtlController_EmitChosenMonReturnValue(1, gSelectedMonPartyId, gBattlePartyCurrentOrder); else BtlController_EmitChosenMonReturnValue(1, 6, NULL); -- cgit v1.2.3