summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/spite.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/move_effects/spite.asm')
-rw-r--r--engine/battle/move_effects/spite.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/move_effects/spite.asm b/engine/battle/move_effects/spite.asm
index 71252fe22..031cdb71f 100644
--- a/engine/battle/move_effects/spite.asm
+++ b/engine/battle/move_effects/spite.asm
@@ -6,7 +6,7 @@ BattleCommand_Spite:
jp nz, .failed
ld bc, PARTYMON_STRUCT_LENGTH ; ????
ld hl, wEnemyMonMoves
- ld a, [hBattleTurn]
+ ldh a, [hBattleTurn]
and a
jr z, .got_moves
ld hl, wBattleMonMoves
@@ -63,7 +63,7 @@ BattleCommand_Spite:
call GetBattleVar
bit SUBSTATUS_TRANSFORMED, a
jr nz, .transformed
- ld a, [hBattleTurn]
+ ldh a, [hBattleTurn]
and a
jr nz, .not_wildmon
ld a, [wBattleMode]