dos33fsprogs/games/lemm/init_level.s

26 lines
406 B
ArmAsm
Raw Normal View History

2022-03-22 03:00:30 +00:00
;====================
; reset level vars
;====================
init_level:
2022-03-24 01:49:58 +00:00
lda #$f ; default release speed
sta release_lemming_speed+1
2022-03-22 03:00:30 +00:00
lda #0
sta LEVEL_OVER
sta DOOR_OPEN
sta FRAMEL
sta LOAD_NEXT_CHUNK
sta LEMMINGS_OUT
sta NEXT_LEMMING_TO_RELEASE
sta PERCENT_RESCUED_L
sta PERCENT_RESCUED_H
2022-03-22 03:00:30 +00:00
jsr clear_lemmings_out
jsr update_lemmings_out ; update display
jsr update_time
rts