diff --git a/sim/battle-actions.ts b/sim/battle-actions.ts index b87cf131b0..9df9dceb52 100644 --- a/sim/battle-actions.ts +++ b/sim/battle-actions.ts @@ -485,10 +485,13 @@ export class BattleActions { } } - if (!this.battle.singleEvent('TryMove', move, null, pokemon, target, move) || - !this.battle.runEvent('TryMove', pokemon, target, move)) { + let tryMoveResult = this.battle.singleEvent('TryMove', move, null, pokemon, target, move); + if (tryMoveResult) { + tryMoveResult = this.battle.runEvent('TryMove', pokemon, target, move); + } + if (!tryMoveResult) { move.mindBlownRecoil = false; - return false; + return tryMoveResult; } this.battle.singleEvent('UseMoveMessage', move, null, pokemon, target, move); diff --git a/test/sim/moves/stompingtantrum.js b/test/sim/moves/stompingtantrum.js index d4fe8a0708..1f699bc0e9 100644 --- a/test/sim/moves/stompingtantrum.js +++ b/test/sim/moves/stompingtantrum.js @@ -90,7 +90,7 @@ describe('Stomping Tantrum', () => { battle.makeChoices('move stompingtantrum', 'auto'); }); - it.skip(`should not double its Base Power if the user dropped mid-Fly due to Smack Down`, () => { + it(`should not double its Base Power if the user dropped mid-Fly due to Smack Down`, () => { battle = common.createBattle([[ { species: 'Magikarp', moves: ['fly', 'stompingtantrum'] }, ], [