duke: start at top of screen, dropping in

This commit is contained in:
Vince Weaver 2020-12-16 14:56:16 -05:00
parent bc77fe24db
commit d7e95d7cc7
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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