summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/sleep_talk.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/move_effects/sleep_talk.asm')
-rw-r--r--engine/battle/move_effects/sleep_talk.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/move_effects/sleep_talk.asm b/engine/battle/move_effects/sleep_talk.asm
index ae2d252b7..92bff2602 100644
--- a/engine/battle/move_effects/sleep_talk.asm
+++ b/engine/battle/move_effects/sleep_talk.asm
@@ -5,7 +5,7 @@ BattleCommand_SleepTalk:
ld a, [wAttackMissed]
and a
jr nz, .fail
- ld a, [hBattleTurn]
+ ldh a, [hBattleTurn]
and a
ld hl, wBattleMonMoves + 1
ld a, [wDisabledMove]
@@ -77,7 +77,7 @@ BattleCommand_SleepTalk:
ret
.check_has_usable_move
- ld a, [hBattleTurn]
+ ldh a, [hBattleTurn]
and a
ld a, [wDisabledMove]
jr z, .got_move_2