4cade/src/prelaunch/kid.niki.a
2019-12-25 17:15:36 -05:00

31 lines
608 B
Plaintext
Executable File

;license:MIT
;(c) 2019 by 4am/Frank M.
!cpu 6502
!to "build/PRELAUNCH/KID.NIKI",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $6069
lda #1
sta $6051 ; reset vector patch
jsr $5FF2 ; load assets
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
; lives in $084A
lda #$AD
sta $BD34 ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $61E3
!if * > $1C0 {
!error "code is too large, ends at ", *
}