dos33fsprogs/games/duke/item_level2.s
Vince Weaver b1238af49d re-arranged the entire directory structure
this will probably upset people
2021-01-05 15:29:31 -05:00

33 lines
412 B
ArmAsm

;==================
; check for items
;==================
; X holds tile of head
check_item:
; sneaky, transparent trigger
check_up_pipe:
lda TILEMAP,X
cmp #29 ; up pipe trigger
bne done_check_item
jsr pickup_noise
; move to 760,80 = 680,72 = 170,18
lda #18
sta DUKE_X
lda #20
sta DUKE_Y
lda #170-8
sta TILEMAP_X
lda #18-7
sta TILEMAP_Y
jsr copy_tilemap_subset
done_check_item:
rts