mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12:24 +02:00
[Bug] Fix #5211 gender override would not activate for Male
This commit is contained in:
parent
a255e06d82
commit
5101455263
@ -4727,7 +4727,7 @@ export class EnemyPokemon extends Pokemon {
|
||||
this.status = new Status(Overrides.OPP_STATUS_OVERRIDE, 0, 4);
|
||||
}
|
||||
|
||||
if (Overrides.OPP_GENDER_OVERRIDE) {
|
||||
if (Overrides.OPP_GENDER_OVERRIDE !== null) {
|
||||
this.gender = Overrides.OPP_GENDER_OVERRIDE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user