summaryrefslogtreecommitdiff
path: root/src/battle_controller_player.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-10-26 06:45:00 -0400
committerGitHub <noreply@github.com>2019-10-26 06:45:00 -0400
commiteafb77fbb912d22294f168c1e6e89575b35f0d6c (patch)
tree286f735ca16bd576926197f4f6a80ab6f0c24dc4 /src/battle_controller_player.c
parent7579fc65c12bd46c045d10eb8cd9a2320fd1f3f0 (diff)
parent0ae4d58e985dcc3d265ea30505f439c34eab21ab (diff)
Merge pull request #125 from jiangzhengwenjz/battle
battle (3rd take)
Diffstat (limited to 'src/battle_controller_player.c')
-rw-r--r--src/battle_controller_player.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/battle_controller_player.c b/src/battle_controller_player.c
index a9bb5bc6e..f8d5958ba 100644
--- a/src/battle_controller_player.c
+++ b/src/battle_controller_player.c
@@ -839,7 +839,7 @@ void sub_802F6A8(void)
else
{
m4aSongNumStop(SE_HINSI);
- gMain.inBattle = 0;
+ gMain.inBattle = FALSE;
gMain.callback1 = gPreBattleCallback1;
SetMainCallback2(gMain.savedCallback);
}
@@ -1318,7 +1318,6 @@ static void WaitForMonSelection(void)
BtlController_EmitChosenMonReturnValue(1, gUnknown_203B0C1, gUnknown_203B0DC);
else
BtlController_EmitChosenMonReturnValue(1, 6, NULL);
-
if ((gBattleBufferA[gActiveBattler][1] & 0xF) == 1)
PrintLinkStandbyMsg();
PlayerBufferExecCompleted();