lemm: make level5 winnable

This commit is contained in:
Vince Weaver
2022-04-09 21:53:27 -04:00
parent 354ed0e013
commit 5024313a11
2 changed files with 24 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -34,17 +34,35 @@ do_level5:
lda #40 lda #40
sta INIT_Y sta INIT_Y
; flame locations ; flame locations
; n/a lda #35
sta l_flame_x_smc+1
lda #72
sta l_flame_y_smc+1
sta r_flame_y_smc+1
lda #39
sta r_flame_x_smc+1
; door exit location
lda #34
sta exit_x1_smc+1
lda #39
sta exit_x2_smc+1
lda #64
sta exit_y1_smc+1
lda #100
sta exit_y2_smc+1
; exit location
; n/a
lda #$10 ; BCD lda #$10 ; BCD
sta PERCENT_NEEDED sta PERCENT_NEEDED
lda #$2 lda #$10
sta PERCENT_ADD sta PERCENT_ADD
;============== ;==============
@@ -151,7 +169,7 @@ do_level5:
; init vars ; init vars
;======================= ;=======================
lda #1 lda #10
sta LEMMINGS_TO_RELEASE sta LEMMINGS_TO_RELEASE
; set up time ; set up time
@@ -210,7 +228,7 @@ l5_door_is_open:
; animate flames ; animate flames
;===================== ;=====================
; jsr draw_flames jsr draw_flames
jsr update_timer jsr update_timer