hotfix berries triggering before status effects

This commit is contained in:
Dmitriy 2024-05-22 15:31:03 -04:00
parent ffe7c371b3
commit 3fbbc9a165
1 changed files with 1 additions and 2 deletions

View File

@ -2076,8 +2076,6 @@ export class TurnStartPhase extends FieldPhase {
} }
} }
this.scene.pushPhase(new BerryPhase(this.scene));
if (this.scene.arena.weather) if (this.scene.arena.weather)
this.scene.pushPhase(new WeatherEffectPhase(this.scene, this.scene.arena.weather)); this.scene.pushPhase(new WeatherEffectPhase(this.scene, this.scene.arena.weather));
@ -2086,6 +2084,7 @@ export class TurnStartPhase extends FieldPhase {
this.scene.pushPhase(new PostTurnStatusEffectPhase(this.scene, o)); this.scene.pushPhase(new PostTurnStatusEffectPhase(this.scene, o));
} }
this.scene.pushPhase(new BerryPhase(this.scene));
this.scene.pushPhase(new TurnEndPhase(this.scene)); this.scene.pushPhase(new TurnEndPhase(this.scene));
this.end(); this.end();