summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/battle/move_effects/frustration.asm5
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/battle/move_effects/frustration.asm b/engine/battle/move_effects/frustration.asm
index b07942c76..b8f5529a2 100644
--- a/engine/battle/move_effects/frustration.asm
+++ b/engine/battle/move_effects/frustration.asm
@@ -1,13 +1,12 @@
BattleCommand_FrustrationPower:
; frustrationpower
-
push bc
ld hl, wBattleMonHappiness
ldh a, [hBattleTurn]
and a
- jr z, .got_happiness
+ jr z, .ok
ld hl, wEnemyMonHappiness
-.got_happiness
+.ok
ld a, $ff
sub [hl]
ldh [hMultiplicand + 2], a