mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-08 03:31:10 +00:00
kerrek: sprites fixed (for reals this time?)
This commit is contained in:
parent
12a06d01ce
commit
f05b9e25f6
@ -118,6 +118,7 @@ kerrek_draw_head_right_common:
|
|||||||
|
|
||||||
ldx KERREK_X
|
ldx KERREK_X
|
||||||
inx
|
inx
|
||||||
|
inx
|
||||||
jmp kerrek_draw_head_common
|
jmp kerrek_draw_head_common
|
||||||
|
|
||||||
kerrek_draw_head_left:
|
kerrek_draw_head_left:
|
||||||
@ -147,14 +148,13 @@ kerrek_draw_head_left_common:
|
|||||||
|
|
||||||
ldx KERREK_X
|
ldx KERREK_X
|
||||||
dex
|
dex
|
||||||
stx CURSOR_X
|
|
||||||
|
|
||||||
|
|
||||||
kerrek_draw_head_common:
|
kerrek_draw_head_common:
|
||||||
|
stx CURSOR_X
|
||||||
|
|
||||||
lda KERREK_Y
|
lda KERREK_Y
|
||||||
clc
|
clc
|
||||||
adc #6
|
adc #4
|
||||||
sta CURSOR_Y
|
sta CURSOR_Y
|
||||||
|
|
||||||
jsr hgr_draw_sprite
|
jsr hgr_draw_sprite
|
||||||
@ -237,6 +237,11 @@ kerrek_row4:
|
|||||||
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
;=======================
|
||||||
|
;=======================
|
||||||
|
; kerrek warning sting
|
||||||
|
;=======================
|
||||||
|
;=======================
|
||||||
|
|
||||||
; not sure about this one
|
; not sure about this one
|
||||||
; GFED?
|
; GFED?
|
||||||
|
@ -126,6 +126,12 @@ new_location:
|
|||||||
|
|
||||||
;====================
|
;====================
|
||||||
; handle kerrek
|
; handle kerrek
|
||||||
|
;====================
|
||||||
|
|
||||||
|
; clear out old state otherwise kerrek can follow us around
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta KERREK_STATE
|
||||||
|
|
||||||
lda MAP_LOCATION
|
lda MAP_LOCATION
|
||||||
cmp #LOCATION_KERREK_1
|
cmp #LOCATION_KERREK_1
|
||||||
|
@ -162,6 +162,12 @@ not_necessary_cottage:
|
|||||||
|
|
||||||
;====================
|
;====================
|
||||||
; handle kerrek
|
; handle kerrek
|
||||||
|
;====================
|
||||||
|
|
||||||
|
; clear out state
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta KERREK_STATE
|
||||||
|
|
||||||
lda MAP_LOCATION
|
lda MAP_LOCATION
|
||||||
cmp #LOCATION_KERREK_2
|
cmp #LOCATION_KERREK_2
|
||||||
|
@ -118,10 +118,10 @@ kerrek_sprites.inc: kerrek_sprites.png
|
|||||||
$(HGR_SPRITE) -s -l kerrek_l1_sprite kerrek_sprites.png 14 2 27 53 > kerrek_sprites.inc
|
$(HGR_SPRITE) -s -l kerrek_l1_sprite kerrek_sprites.png 14 2 27 53 > kerrek_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l kerrek_l1_head_sprite kerrek_sprites.png 7 6 13 14 >> kerrek_sprites.inc
|
$(HGR_SPRITE) -s -l kerrek_l1_head_sprite kerrek_sprites.png 7 6 13 14 >> kerrek_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l kerrek_l2_sprite kerrek_sprites.png 49 2 62 53 >> kerrek_sprites.inc
|
$(HGR_SPRITE) -s -l kerrek_l2_sprite kerrek_sprites.png 49 2 62 53 >> kerrek_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l kerrek_l2_head_sprite kerrek_sprites.png 42 6 48 13 >> kerrek_sprites.inc
|
$(HGR_SPRITE) -s -l kerrek_l2_head_sprite kerrek_sprites.png 42 6 48 12 >> kerrek_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l kerrek_r1_sprite kerrek_sprites.png 7 56 21 108 >> kerrek_sprites.inc
|
$(HGR_SPRITE) -s -l kerrek_r1_sprite kerrek_sprites.png 7 56 20 108 >> kerrek_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l kerrek_r1_head_sprite kerrek_sprites.png 21 60 27 68 >> kerrek_sprites.inc
|
$(HGR_SPRITE) -s -l kerrek_r1_head_sprite kerrek_sprites.png 21 60 27 68 >> kerrek_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l kerrek_r2_sprite kerrek_sprites.png 42 56 56 108 >> kerrek_sprites.inc
|
$(HGR_SPRITE) -s -l kerrek_r2_sprite kerrek_sprites.png 42 56 55 108 >> kerrek_sprites.inc
|
||||||
$(HGR_SPRITE) -s -l kerrek_r2_head_sprite kerrek_sprites.png 56 60 62 66 >> kerrek_sprites.inc
|
$(HGR_SPRITE) -s -l kerrek_r2_head_sprite kerrek_sprites.png 56 60 62 66 >> kerrek_sprites.inc
|
||||||
|
|
||||||
trogdor_sprites.inc: trogdor_sprites.png
|
trogdor_sprites.inc: trogdor_sprites.png
|
||||||
|
Loading…
Reference in New Issue
Block a user