mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-29 21:31:53 +00:00
climb: reset enemies when change screens
This commit is contained in:
parent
c59e5138e0
commit
6c626789de
@ -1,12 +1,10 @@
|
||||
Reset rocks/bird when on new screen
|
||||
Rocks on right at base are impassable
|
||||
Change collision code to work on three-wide sprites
|
||||
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?
|
||||
Draw/erase the rocks in order for less flicker
|
||||
Make it so you can't go down to previous level
|
||||
|
||||
for coach-z release
|
||||
+ add some method of keeping score
|
||||
+ add intro with directions, outtro when die/finish
|
||||
Above level2 don't crash, just show bg#2 again
|
||||
|
||||
For Coach Z version:
|
||||
Speed up rocks/change spawn rate above level2
|
||||
|
@ -50,6 +50,7 @@ wait_until_keypress:
|
||||
bit KEYRESET ; clear the keyboard buffer
|
||||
|
||||
restart_game:
|
||||
jsr reset_enemy_state
|
||||
|
||||
; end intro
|
||||
|
||||
@ -481,6 +482,8 @@ wait_until_keypress2:
|
||||
|
||||
|
||||
cliff_reload_bg:
|
||||
jsr reset_enemy_state
|
||||
|
||||
jsr load_graphics
|
||||
|
||||
lda #0
|
||||
@ -720,6 +723,18 @@ peasant_sprites_data_h = peasant_sprite_offset+102
|
||||
peasant_mask_data_l = peasant_sprite_offset+136
|
||||
peasant_mask_data_h = peasant_sprite_offset+170
|
||||
|
||||
; call this when restarting, also when move to new screen
|
||||
reset_enemy_state:
|
||||
|
||||
lda #0
|
||||
sta bird_out
|
||||
|
||||
lda #3
|
||||
sta rock_state
|
||||
sta rock_state+1
|
||||
sta rock_state+2
|
||||
|
||||
rts
|
||||
|
||||
;===========================
|
||||
; check for bird collisions
|
||||
|
Loading…
x
Reference in New Issue
Block a user