diff --git a/games/lemm/TODO b/games/lemm/TODO index 24a31f88..64d9ead2 100644 --- a/games/lemm/TODO +++ b/games/lemm/TODO @@ -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 diff --git a/games/lemm/draw_lemming.s b/games/lemm/draw_lemming.s index c9d5f7ec..4a8908ec 100644 --- a/games/lemm/draw_lemming.s +++ b/games/lemm/draw_lemming.s @@ -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 diff --git a/games/lemm/move_lemming.s b/games/lemm/move_lemming.s index 7e8c7dcc..1a193d71 100644 --- a/games/lemm/move_lemming.s +++ b/games/lemm/move_lemming.s @@ -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