Skip to content

Commit

Permalink
fixed dragon type being broken on oneType
Browse files Browse the repository at this point in the history
  • Loading branch information
TheXaman committed May 11, 2022
1 parent 9cf2766 commit 36a1d2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pokemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -13848,7 +13848,7 @@ u16 PickRandomStarterForOneTypeChallenge(u16 *speciesList, u8 starterId)
}

if (i == RANDOM_SPECIES_EVO_0_COUNT)
species = speciesList[starterId-1];
species = speciesList[1];

free(stemp);
}
Expand All @@ -13866,7 +13866,7 @@ u16 PickRandomStarterForOneTypeChallenge(u16 *speciesList, u8 starterId)
}

if (i == RANDOM_SPECIES_COUNT_LEGENDARY)
species = speciesList[starterId-1];
species = speciesList[1];

free(stemp);
}
Expand All @@ -13884,7 +13884,7 @@ u16 PickRandomStarterForOneTypeChallenge(u16 *speciesList, u8 starterId)
}

if (i == RANDOM_SPECIES_COUNT)
species = speciesList[starterId-1];
species = speciesList[1];

free(stemp);
}
Expand Down

0 comments on commit 36a1d2f

Please sign in to comment.