Fix not setting initial nature override

pull/28/head
Flashfyre 2024-04-02 23:47:48 -04:00
parent 6bb40c6d15
commit 880433a7f8
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
else else
this.generateNature(); this.generateNature();
this.natureOverride = -1;
this.friendship = species.baseFriendship; this.friendship = species.baseFriendship;
this.metLevel = level; this.metLevel = level;
this.metBiome = scene.currentBattle ? scene.arena.biomeType : -1; this.metBiome = scene.currentBattle ? scene.arena.biomeType : -1;