mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-15 06:15:20 +01:00
[Balance] Allow male Ralts as a starter in Fairy challenge (#6827)
Allow male Ralts as a starter in Fairy challenge
This commit is contained in:
parent
516bc5dce1
commit
3d23a2b28a
@ -790,22 +790,14 @@ export class SingleTypeChallenge extends Challenge {
|
||||
applyStarterSelectModify(speciesId: SpeciesId, dexEntry: DexEntry, _starterDataEntry: StarterDataEntry): boolean {
|
||||
const type = this.value - 1;
|
||||
|
||||
if (speciesId === SpeciesId.RALTS) {
|
||||
if (type === PokemonType.FIGHTING) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.FEMALE;
|
||||
}
|
||||
if (type === PokemonType.FAIRY) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.MALE;
|
||||
}
|
||||
}
|
||||
if (speciesId === SpeciesId.SNORUNT && type === PokemonType.GHOST) {
|
||||
if (speciesId === SpeciesId.RALTS && type === PokemonType.FIGHTING) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.FEMALE;
|
||||
} else if (speciesId === SpeciesId.SNORUNT && type === PokemonType.GHOST) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.MALE;
|
||||
}
|
||||
if (speciesId === SpeciesId.BURMY) {
|
||||
} else if (speciesId === SpeciesId.BURMY) {
|
||||
if (type === PokemonType.FLYING) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.FEMALE;
|
||||
}
|
||||
if ([PokemonType.GRASS, PokemonType.GROUND, PokemonType.STEEL].includes(type)) {
|
||||
} else if ([PokemonType.GRASS, PokemonType.GROUND, PokemonType.STEEL].includes(type)) {
|
||||
dexEntry.caughtAttr &= ~DexAttr.MALE;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user