(probably) fixed glitched pyramid spawn issue fixed sanctuary purple chest spawn added switch to allow tablets to be opened with hammer (graphics not ready but looks ok)
17 lines
649 B
NASM
17 lines
649 B
NASM
;================================================================================
|
|
; Spawn Zelda (or not)
|
|
;--------------------------------------------------------------------------------
|
|
SpawnZelda:
|
|
LDA.l $7EF3CC : CMP #$08 : BEQ + ; don't spawn if dwarf is present
|
|
CMP #$0C : BEQ + ; don't spawn if purple chest is present
|
|
CLC : RTL
|
|
+
|
|
SEC
|
|
RTL
|
|
;--------------------------------------------------------------------------------
|
|
EndRainState:
|
|
LDA $7EF3C5 : CMP.b #$02 : !BGE + ; skip if past escape already
|
|
LDA.b #$02 : STA $7EF3C5 ; end rain state
|
|
+
|
|
RTL
|
|
;-------------------------------------------------------------------------------- |