summaryrefslogtreecommitdiff
path: root/src/battle_controller_pokedude.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle_controller_pokedude.c')
-rw-r--r--src/battle_controller_pokedude.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_controller_pokedude.c b/src/battle_controller_pokedude.c
index 0b71a92e8..86da27ee3 100644
--- a/src/battle_controller_pokedude.c
+++ b/src/battle_controller_pokedude.c
@@ -714,7 +714,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);