diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-04-10 14:05:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 14:05:35 -0400 |
commit | c08b4ff3e1bf49ca1d94a0daf3c8b17581893083 (patch) | |
tree | b608515803784b47af6c69f8931e6dcaeda165c8 /src/battle_dome.c | |
parent | 8188615db8e1e84dbd14bc74eb2ca096c69ea14b (diff) | |
parent | 7a5deff0bc0f9ab00981e34680015c84618155b9 (diff) |
Merge pull request #1019 from GriffinRichards/constants-party
Add misc party constant usage
Diffstat (limited to 'src/battle_dome.c')
-rw-r--r-- | src/battle_dome.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_dome.c b/src/battle_dome.c index 746d195d9..e4947825d 100644 --- a/src/battle_dome.c +++ b/src/battle_dome.c @@ -2578,7 +2578,7 @@ static void CreateDomeOpponentMons(u16 tournamentTrainerId) // Create mon if it was selected, starting from back for (i = FRONTIER_PARTY_SIZE - 1; i >= 0; i--) { - if (selectedMonBits & 4) + if (selectedMonBits & (1 << (FRONTIER_PARTY_SIZE - 1))) { CreateDomeOpponentMon(monsCount, tournamentTrainerId, i, otId); monsCount++; |