Merge branch 'beta' into Adding-bypassFaint-to-abilities-that-need-it

This commit is contained in:
Wlowscha 2025-02-02 00:43:48 +01:00 committed by GitHub
commit 665d4f7a9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4727,7 +4727,7 @@ export class EnemyPokemon extends Pokemon {
this.status = new Status(Overrides.OPP_STATUS_OVERRIDE, 0, 4); 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; this.gender = Overrides.OPP_GENDER_OVERRIDE;
} }