mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +00:00
climb: avoid crash when you get too high
This commit is contained in:
parent
3edbca121b
commit
bf5c62a292
@ -2,9 +2,8 @@ Change priority code to work on three-wide sprites
|
||||
Change draw transparency code to work on three-wide sprites
|
||||
Erase flame even when not moving? That is tricky as would need to
|
||||
redraw head as well :( maybe just erase part above the head?
|
||||
Make it so you can't go down to previous level
|
||||
|
||||
Above level2 don't crash, just show bg#2 again
|
||||
add collision detection for boulders
|
||||
adjust boulder fall frequency to match original
|
||||
|
||||
For Coach Z version:
|
||||
Speed up rocks/change spawn rate above level2
|
||||
|
@ -501,6 +501,15 @@ load_graphics:
|
||||
;========================
|
||||
|
||||
ldx MAP_LOCATION
|
||||
|
||||
cpx #2
|
||||
bcc priority_normal
|
||||
|
||||
ldx #2
|
||||
|
||||
priority_normal:
|
||||
|
||||
|
||||
lda priority_data_l,X
|
||||
sta ZX0_src
|
||||
lda priority_data_h,X
|
||||
@ -524,6 +533,17 @@ load_graphics:
|
||||
;===========================
|
||||
|
||||
ldx MAP_LOCATION
|
||||
|
||||
; extra for Z variant
|
||||
; repeat level 2 over and over
|
||||
|
||||
cpx #2
|
||||
bcc bg_normal
|
||||
|
||||
ldx #2
|
||||
|
||||
bg_normal:
|
||||
|
||||
lda bg_data_l,X
|
||||
sta ZX0_src
|
||||
lda bg_data_h,X
|
||||
|
Loading…
Reference in New Issue
Block a user