PikalaxALT icon

Function4e779

PikalaxALT | PRO | 12/14/15 05:18:46 PM UTC | 0 ⭐ | 4994 👁️ | Never ⏰ | []
Z80 Assembler |

0 B

|

None

|

0 👍

/

0 👎

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

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎