From c958c4f0744f6d470f9832d5c0ff6ea207a749e5 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 26 Oct 2023 19:45:35 -0400 Subject: [PATCH] Fix not healing after 10 battles --- src/battle-phases.ts | 2 +- src/data/move.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/battle-phases.ts b/src/battle-phases.ts index 235a31d0271..fee08ed715f 100644 --- a/src/battle-phases.ts +++ b/src/battle-phases.ts @@ -463,7 +463,7 @@ export class SelectBiomePhase extends BattlePhase { const currentBiome = this.scene.arena.biomeType; const setNextBiome = (nextBiome: Biome) => { - if (!(this.scene.currentBattle.waveIndex % 10)) + if (this.scene.currentBattle.waveIndex % 10 === 1) this.scene.unshiftPhase(new PartyHealPhase(this.scene, false)); this.scene.unshiftPhase(new SwitchBiomePhase(this.scene, nextBiome)); this.end(); diff --git a/src/data/move.ts b/src/data/move.ts index 8d39554ee63..cc88c40c5ee 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -3144,7 +3144,7 @@ export function initMoves() { new AttackMove(Moves.POWER_GEM, "Power Gem", Type.ROCK, MoveCategory.SPECIAL, 80, 100, 20, 101, "", -1, 0, 4), new AttackMove(Moves.DRAIN_PUNCH, "Drain Punch", Type.FIGHTING, MoveCategory.PHYSICAL, 75, 100, 10, 73, "User recovers half the HP inflicted on opponent.", -1, 0, 4) .attr(HitHealAttr), - new AttackMove(Moves.VACUUM_WAVE, "Vacuum Wave", Type.FIGHTING, MoveCategory.SPECIAL, 40, 100, 30, -1, "User attacks first.", -1, 0, 4), + new AttackMove(Moves.VACUUM_WAVE, "Vacuum Wave", Type.FIGHTING, MoveCategory.SPECIAL, 40, 100, 30, -1, "User attacks first.", -1, 1, 4), new AttackMove(Moves.FOCUS_BLAST, "Focus Blast", Type.FIGHTING, MoveCategory.SPECIAL, 120, 70, 5, 158, "May lower opponent's Special Defense.", 10, 0, 4) .attr(StatChangeAttr, BattleStat.SPDEF, -1), new AttackMove(Moves.ENERGY_BALL, "Energy Ball", Type.GRASS, MoveCategory.SPECIAL, 90, 100, 10, 119, "May lower opponent's Special Defense.", 10, 0, 4)