mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
No male Ralts in mono fairy challenge
This commit is contained in:
parent
82b2d49831
commit
d60f5d4d65
@ -756,10 +756,15 @@ export class SingleTypeChallenge extends Challenge {
|
||||
applyStarterSelectModify(speciesId: SpeciesId, dexEntry: DexEntry, _starterDataEntry: StarterDataEntry): boolean {
|
||||
const type = this.value - 1;
|
||||
|
||||
if (type === PokemonType.FIGHTING && speciesId === SpeciesId.RALTS) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.FEMALE;
|
||||
if (speciesId === SpeciesId.RALTS) {
|
||||
if (type === PokemonType.FIGHTING) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.FEMALE;
|
||||
}
|
||||
if (type === PokemonType.FAIRY) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.MALE;
|
||||
}
|
||||
}
|
||||
if (type === PokemonType.GHOST && speciesId === SpeciesId.SNORUNT) {
|
||||
if (speciesId === SpeciesId.SNORUNT && type === PokemonType.GHOST) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.MALE;
|
||||
}
|
||||
if (speciesId === SpeciesId.BURMY) {
|
||||
|
Loading…
Reference in New Issue
Block a user