summaryrefslogtreecommitdiff
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
parent70baa4f3e80bceedd00cafbbab219665eb189225 (diff)
parent09e92c554c7563b52a9484b26d96d903c7635b0d (diff)
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