mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-05 21:34:30 +00:00
lemm: update number out
This commit is contained in:
parent
a7b6c84b93
commit
235c676020
@ -283,6 +283,10 @@ zurg:
|
|||||||
sta FRAMEL
|
sta FRAMEL
|
||||||
sta LOAD_NEXT_CHUNK
|
sta LOAD_NEXT_CHUNK
|
||||||
sta JOYSTICK_ENABLED
|
sta JOYSTICK_ENABLED
|
||||||
|
sta LEMMINGS_OUT
|
||||||
|
|
||||||
|
jsr update_lemmings_out
|
||||||
|
|
||||||
lda #1
|
lda #1
|
||||||
sta LEMMINGS_TO_RELEASE
|
sta LEMMINGS_TO_RELEASE
|
||||||
|
|
||||||
@ -337,6 +341,9 @@ door_is_open:
|
|||||||
and #$f
|
and #$f
|
||||||
bne done_release_lemmings
|
bne done_release_lemmings
|
||||||
|
|
||||||
|
inc LEMMINGS_OUT
|
||||||
|
jsr update_lemmings_out
|
||||||
|
|
||||||
lda #1
|
lda #1
|
||||||
sta lemming_out
|
sta lemming_out
|
||||||
|
|
||||||
|
@ -87,6 +87,30 @@ draw_time:
|
|||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
; update lemmings out number
|
||||||
|
update_lemmings_out:
|
||||||
|
|
||||||
|
; draw minute
|
||||||
|
ldy LEMMINGS_OUT
|
||||||
|
|
||||||
|
lda bignums_l,Y
|
||||||
|
sta INL
|
||||||
|
lda bignums_h,Y
|
||||||
|
sta INH
|
||||||
|
|
||||||
|
; 246, 152
|
||||||
|
|
||||||
|
ldx #15 ; 105
|
||||||
|
stx XPOS
|
||||||
|
lda #152
|
||||||
|
sta YPOS
|
||||||
|
|
||||||
|
jsr hgr_draw_sprite_autoshift
|
||||||
|
|
||||||
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bignums_l:
|
bignums_l:
|
||||||
.byte <big0_sprite,<big1_sprite,<big2_sprite,<big3_sprite,<big4_sprite
|
.byte <big0_sprite,<big1_sprite,<big2_sprite,<big3_sprite,<big4_sprite
|
||||||
.byte <big5_sprite,<big6_sprite,<big7_sprite,<big8_sprite,<big9_sprite
|
.byte <big5_sprite,<big6_sprite,<big7_sprite,<big8_sprite,<big9_sprite
|
||||||
|
@ -65,6 +65,7 @@ UPDATE_POINTER = $82
|
|||||||
LEMMINGS_TO_RELEASE = $83
|
LEMMINGS_TO_RELEASE = $83
|
||||||
SAVED_Y1 = $84
|
SAVED_Y1 = $84
|
||||||
SAVED_Y2 = $85
|
SAVED_Y2 = $85
|
||||||
|
LEMMINGS_OUT = $86
|
||||||
|
|
||||||
APPLEII_MODEL = $8B
|
APPLEII_MODEL = $8B
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user