Update hardware.inc to 5.1.0

This commit is contained in:
Rangi42
2025-06-29 15:53:34 -04:00
committed by Rangi
parent 8f5a8c5b5b
commit 5abf8d01fb
84 changed files with 845 additions and 696 deletions

View File

@@ -72,10 +72,10 @@ ClockResetPassword:
call JoyTextDelay
ldh a, [hJoyLast]
ld b, a
and A_BUTTON
and PAD_A
jr nz, .confirm
ld a, b
and D_PAD
and PAD_CTRL_PAD
jr z, .loop2
call .dpadinput
ld c, 3
@@ -127,16 +127,16 @@ ClockResetPassword:
.dpadinput
ld a, b
and D_LEFT
and PAD_LEFT
jr nz, .left
ld a, b
and D_RIGHT
and PAD_RIGHT
jr nz, .right
ld a, b
and D_UP
and PAD_UP
jr nz, .up
ld a, b
and D_DOWN
and PAD_DOWN
jr nz, .down
ret