summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-29 17:07:21 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-29 17:07:21 -0500
commit586a49c8adc48b83fe0879a5b3fe62e627bd1df2 (patch)
treec64089a3eb356734402537c20466274710ad0beb
parent1321a700293341dd9bc33ba0637e475f209cce91 (diff)
lda_coord and ldcoord_a exist for this
-rw-r--r--home/joypad.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/joypad.asm b/home/joypad.asm
index 3d5f0aed5..94d9610de 100644
--- a/home/joypad.asm
+++ b/home/joypad.asm
@@ -442,10 +442,10 @@ ButtonSound:: ; aaf
jr .load_cursor_state
.cursor_off
- ld a, [TileMap + 17 + 17 * SCREEN_WIDTH]
+ lda_coord 17, 17
.load_cursor_state
- ld [TileMap + 18 + 17 * SCREEN_WIDTH], a
+ ldcoord_a 18, 17
ret
; b06