mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Sync more with pokeyellow
This commit is contained in:
parent
379a563c43
commit
2db54ecb9b
4 changed files with 21 additions and 16 deletions
|
|
@ -7,9 +7,9 @@ ReadJoypad::
|
|||
ld c, 0
|
||||
|
||||
ldh [rJOYP], a
|
||||
REPT 6
|
||||
REPT 6
|
||||
ldh a, [rJOYP]
|
||||
ENDR
|
||||
ENDR
|
||||
cpl
|
||||
and %1111
|
||||
swap a
|
||||
|
|
@ -17,9 +17,9 @@ ReadJoypad::
|
|||
|
||||
ld a, 1 << 4 ; select button keys
|
||||
ldh [rJOYP], a
|
||||
REPT 10
|
||||
REPT 10
|
||||
ldh a, [rJOYP]
|
||||
ENDR
|
||||
ENDR
|
||||
cpl
|
||||
and %1111
|
||||
or b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue