@ -126,8 +126,14 @@ main:
jr main
.joy_up
ld de, $10
ldh a, [h_joypad_down]
ld de, $1000
bit joy_select_f, a
jr nz, .joy_up_done
ld de, $100
bit joy_start_f, a
bit joy_b_f, a
ld de, 1
@ -136,14 +142,20 @@ main:
.joy_down
ld de, -$10
ld de, -$1000
jr nz, .joy_down_done
ld de, -$100
ld de, -1
.joy_down_done
call update_val
jp main
update_val:
; de: value increment