summaryrefslogtreecommitdiff
path: root/engine/events/catch_tutorial.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 20:37:18 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 20:37:18 -0500
commite706b878d9f78466e6cc9eda184e14a798cc4a0d (patch)
treea5625f28a4d5af1358727b54772659cee892b031 /engine/events/catch_tutorial.asm
parentab0f9c287a45d1986985545d7ec6a2cd862e26fc (diff)
Use ~X instead of $ff ^ X
Diffstat (limited to 'engine/events/catch_tutorial.asm')
-rw-r--r--engine/events/catch_tutorial.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/catch_tutorial.asm b/engine/events/catch_tutorial.asm
index 5c12a02f1..3539ceab6 100644
--- a/engine/events/catch_tutorial.asm
+++ b/engine/events/catch_tutorial.asm
@@ -35,7 +35,7 @@ CatchTutorial::
ldh [hJoyPressed], a
ld a, [wOptions]
push af
- and $ff ^ TEXT_DELAY_MASK
+ and ~TEXT_DELAY_MASK
add TEXT_DELAY_MED
ld [wOptions], a
ld hl, .AutoInput