Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function4e779: ; 4e779
- call DelayFrame
- push bc
- call JoyTextDelay
- ld a, [hJoyDown]
- pop bc
- and A_BUTTON
- jr nz, .pressed_a
- and B_BUTTON
- jr nz, .pressed_b
- .loop
- dec c
- jr nz, Function4e779
- and a
- ret
- .pressed_a
- ld a, [wd1e9]
- bit 0, a
- jr nz, .loop
- and a
- jr z, .loop
- dec a
- dec a
- jr .loop
- .pressed_b
- ld a, [wd1e9]
- bit 0, a
- jr nz, .loop
- inc a
- inc a
- cp 8
- jr c, .loop
- scf
- ret
- ; 4e794
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement