diff options
author | Yoann Fievez <yoann.fievez@gmail.com> | 2021-11-05 20:40:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 15:40:15 -0400 |
commit | 8349bfd8e646002105dfd6a7f997c26cf0e0624b (patch) | |
tree | 8586363ba32075ec9c7ddf07e384507679658b11 /home/window.asm | |
parent | b44a10a43a1fa4a558b4c593d0a610571ecb3a50 (diff) |
Refactorize check button pressed (#340)
Diffstat (limited to 'home/window.asm')
-rw-r--r-- | home/window.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/window.asm b/home/window.asm index 0182bdd3..45b207a8 100644 --- a/home/window.asm +++ b/home/window.asm @@ -50,7 +50,7 @@ HandleMenuInput_:: ld [wCheckFor180DegreeTurn], a ldh a, [hJoy5] ld b, a - bit 6, a ; pressed Up key? + bit BIT_D_UP, a jr z, .checkIfDownPressed .upPressed ld a, [wCurrentMenuItem] ; selected menu item |