mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-03-27 05:29:44 +00:00
lemm: add cheat mode
This commit is contained in:
parent
afab837c37
commit
322050a149
@ -187,11 +187,28 @@ done_down_pressed:
|
||||
|
||||
check_escape:
|
||||
cmp #27
|
||||
bne check_return
|
||||
bne check_cheat
|
||||
escape_pressed:
|
||||
lda #LEVEL_FAIL
|
||||
sta LEVEL_OVER
|
||||
|
||||
jmp done_keypress
|
||||
|
||||
check_cheat:
|
||||
cmp #'!'
|
||||
bne check_return
|
||||
cheat_pressed:
|
||||
|
||||
lda #20
|
||||
ldx #7
|
||||
cheat_loop:
|
||||
sta CLIMBER_COUNT,X
|
||||
dex
|
||||
bpl cheat_loop
|
||||
|
||||
jsr update_remaining_all
|
||||
|
||||
|
||||
jmp done_keypress
|
||||
|
||||
check_return:
|
||||
|
Loading…
x
Reference in New Issue
Block a user