aboutsummaryrefslogtreecommitdiffstats
path: root/home/text_script.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 21:19:29 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 21:19:29 -0500
commit7574e186e7505e237efc3ab0969fed60bec6eb9d (patch)
tree527ec48412989e98cca7827c5e31d89cdf742b05 /home/text_script.asm
parentIdentify starter pikachu happiness boost medicine check (#72) (diff)
parentUse ~X instead of $ff ^ X (diff)
downloadpokeyellow-7574e186e7505e237efc3ab0969fed60bec6eb9d.tar.gz
pokeyellow-7574e186e7505e237efc3ab0969fed60bec6eb9d.tar.xz
pokeyellow-7574e186e7505e237efc3ab0969fed60bec6eb9d.zip
Merge remote-tracking branch 'remotes/pokered/master'
Diffstat (limited to 'home/text_script.asm')
-rw-r--r--home/text_script.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/text_script.asm b/home/text_script.asm
index 5ef9f9fa..7ebbcbed 100644
--- a/home/text_script.asm
+++ b/home/text_script.asm
@@ -97,7 +97,7 @@ AfterDisplayingTextID::
HoldTextDisplayOpen::
call Joypad
ldh a, [hJoyHeld]
- bit 0, a ; is the A button being pressed?
+ bit BIT_A_BUTTON, a
jr nz, HoldTextDisplayOpen
CloseTextDisplay::