summaryrefslogtreecommitdiff
path: root/engine/events/catch_tutorial.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-08-25 14:28:22 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-08-25 14:28:22 -0400
commiteb1e3636bb71509546c274bf2a5910d8e71a9600 (patch)
tree24d7742604073b2afb86c1225258f8217d1653e7 /engine/events/catch_tutorial.asm
parent376c64468bab8d162da43fc6e1b6f0942943cf43 (diff)
Use labels instead of constants for HRAM
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
Diffstat (limited to 'engine/events/catch_tutorial.asm')
-rw-r--r--engine/events/catch_tutorial.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/catch_tutorial.asm b/engine/events/catch_tutorial.asm
index 898fb826f..395b32d3d 100644
--- a/engine/events/catch_tutorial.asm
+++ b/engine/events/catch_tutorial.asm
@@ -31,8 +31,8 @@ CatchTutorial::
call .LoadDudeData
xor a
- ld [hJoyDown], a
- ld [hJoyPressed], a
+ ldh [hJoyDown], a
+ ldh [hJoyPressed], a
ld a, [wOptions]
push af
and $f8