lemm: more fine tuning

This commit is contained in:
Vince Weaver 2022-03-31 00:25:49 -04:00
parent 880c64a96f
commit 9b7e3f9ea5
3 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,5 @@
+ Try oring the lemmings sprites instead of over-writing
(did this, but now they have red hair sometimes?)
+ bridges you can walk through from underneath, not
sure how to implement that

View File

@ -286,7 +286,16 @@ draw_mining_common:
ldx lemming_x,Y
stx XPOS
lda lemming_y,Y
jmp draw_lemming_common
; jmp draw_lemming_common
; special case, don't OR so we aren't embedded in dirt
sta YPOS
jsr hgr_draw_sprite_autoshift
jmp done_draw_lemming
;=========================
@ -749,8 +758,8 @@ draw_digging_sprite:
lda lemming_y,Y
sec
sbc #2
jmp draw_lemming_common
jmp draw_lemming_common

View File

@ -286,6 +286,7 @@ do_lemming_mining:
and #$f
bne no_mining_this_frame ; only move dirt on frame 0
ldx #0 ; erase background
stx HGR_COLOR
@ -307,7 +308,6 @@ do_lemming_mining:
ldy #10
jsr hgr_box
ldx CURRENT_LEMMING ; move 3 lines down
inc lemming_y,X
inc lemming_y,X