mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 02:31:00 +00:00
duke: start at top of screen, dropping in
This commit is contained in:
parent
bc77fe24db
commit
d7e95d7cc7
@ -76,7 +76,7 @@ duke_start:
|
||||
|
||||
lda #18
|
||||
sta DUKE_X
|
||||
lda #20
|
||||
lda #0
|
||||
sta DUKE_Y
|
||||
lda #1
|
||||
sta DUKE_DIRECTION
|
||||
@ -109,9 +109,9 @@ duke_start:
|
||||
;====================================
|
||||
; copy in tilemap subset
|
||||
;====================================
|
||||
lda #13
|
||||
lda #28
|
||||
sta TILEMAP_X
|
||||
lda #20
|
||||
lda #0
|
||||
sta TILEMAP_Y
|
||||
|
||||
jsr copy_tilemap_subset
|
||||
|
@ -107,6 +107,15 @@ update_items:
|
||||
|
||||
done_red_key:
|
||||
|
||||
lda INVENTORY
|
||||
|
||||
and #INV_BLUE_KEY
|
||||
beq done_blue_key
|
||||
|
||||
lda #'B'&$3f
|
||||
sta status_string+35
|
||||
|
||||
done_blue_key:
|
||||
|
||||
rts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user