aboutsummaryrefslogtreecommitdiffstats
path: root/home/window.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/window.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/window.asm')
-rw-r--r--home/window.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/window.asm b/home/window.asm
index 1be272f9..a3c313c0 100644
--- a/home/window.asm
+++ b/home/window.asm
@@ -50,9 +50,9 @@ HandleMenuInput_::
ld [wCheckFor180DegreeTurn], a
ldh a, [hJoy5]
ld b, a
- bit 0, a ; pressed A key?
+ bit BIT_A_BUTTON, a
jr nz, .checkOtherKeys
- bit 6, a ; pressed Up key?
+ bit BIT_D_UP, a
jr z, .checkIfDownPressed
.upPressed
ld a, [wCurrentMenuItem] ; selected menu item