Merge branch 'beta' into Type-overrides-on-change-form

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

View File

@ -4694,7 +4694,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;
}