mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +00:00
duke: try to avoid clipping off screen
This commit is contained in:
parent
a9d55e30a1
commit
e48ce18f4e
@ -198,8 +198,13 @@ handle_jumping:
|
|||||||
lda DUKE_JUMPING
|
lda DUKE_JUMPING
|
||||||
beq done_handle_jumping
|
beq done_handle_jumping
|
||||||
|
|
||||||
|
lda DUKE_Y
|
||||||
|
beq dont_wrap_jump
|
||||||
|
|
||||||
dec DUKE_Y
|
dec DUKE_Y
|
||||||
dec DUKE_Y
|
dec DUKE_Y
|
||||||
|
|
||||||
|
dont_wrap_jump:
|
||||||
dec DUKE_JUMPING
|
dec DUKE_JUMPING
|
||||||
bne done_handle_jumping
|
bne done_handle_jumping
|
||||||
lda #1 ; avoid gap before falling triggered
|
lda #1 ; avoid gap before falling triggered
|
||||||
|
Loading…
Reference in New Issue
Block a user