Skip to content

Commit

Permalink
Updated value-setting of gMain.inBattle at OpponentHandleEndLinkBattle
Browse files Browse the repository at this point in the history
  • Loading branch information
LOuroboros authored Apr 5, 2024
1 parent f19747d commit 3135a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_controller_opponent.c
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ static void OpponentHandleEndLinkBattle(void)
{
if (gBattleTypeFlags & BATTLE_TYPE_LINK && !(gBattleTypeFlags & BATTLE_TYPE_IS_MASTER))
{
gMain.inBattle = 0;
gMain.inBattle = FALSE;
gMain.callback1 = gPreBattleCallback1;
SetMainCallback2(gMain.savedCallback);
}
Expand Down

0 comments on commit 3135a1f

Please sign in to comment.