diff options
Diffstat (limited to 'src/battle')
| -rw-r--r-- | src/battle/battle_2.c | 16 | 
1 files changed, 7 insertions, 9 deletions
| diff --git a/src/battle/battle_2.c b/src/battle/battle_2.c index 2ad2adb04..6f885b20e 100644 --- a/src/battle/battle_2.c +++ b/src/battle/battle_2.c @@ -727,16 +727,14 @@ void sub_800F298(void)              ZeroPlayerPartyMons();              ZeroEnemyPartyMons();              gBattleCommunication[0]++; -            goto step_2; -        } -        break; +            // fallthrough      case 2: -      step_2: -        if (IsLinkTaskFinished()) -        { -            SendBlock(bitmask_all_link_players_but_self(), ewram1D000, sizeof(struct Pokemon) * 2); -            gBattleCommunication[0]++; -        } +            if (IsLinkTaskFinished()) +            { +                SendBlock(bitmask_all_link_players_but_self(), ewram1D000, sizeof(struct Pokemon) * 2); +                gBattleCommunication[0]++; +            } +	}          break;      case 3:          if ((GetBlockReceivedStatus() & 0xF) == 0xF) | 
