Disable DAS charge.
This commit is contained in:
parent
7922208559
commit
df206841eb
|
@ -42,7 +42,7 @@ GetInput::
|
||||||
; If so, save the new DAS charge.
|
; If so, save the new DAS charge.
|
||||||
jr nc, :+
|
jr nc, :+
|
||||||
ld a, b
|
ld a, b
|
||||||
ldh [hDASCharge], a
|
;ldh [hDASCharge], a
|
||||||
|
|
||||||
; Check if the right state > DAS charge.
|
; Check if the right state > DAS charge.
|
||||||
: ldh a, [hRightState]
|
: ldh a, [hRightState]
|
||||||
|
@ -52,7 +52,7 @@ GetInput::
|
||||||
; If so, save the new DAS charge.
|
; If so, save the new DAS charge.
|
||||||
jr nc, :+
|
jr nc, :+
|
||||||
ld a, b
|
ld a, b
|
||||||
ldh [hDASCharge], a
|
;ldh [hDASCharge], a
|
||||||
|
|
||||||
; There's an overflow risk here if the DAS charge is 255.
|
; There's an overflow risk here if the DAS charge is 255.
|
||||||
: cp a, $FF
|
: cp a, $FF
|
||||||
|
|
Loading…
Reference in New Issue