Fixes various tagalong issues that affect Entrance Randomizer, most involving frog/blacksmith
19 lines
695 B
NASM
19 lines
695 B
NASM
;================================================================================
|
|
; Spawn Zelda (or not)
|
|
;--------------------------------------------------------------------------------
|
|
SpawnZelda:
|
|
LDA.l $7EF3CC : CMP #$08 : BEQ + ; don't spawn if dwarf is present
|
|
CMP #$07 : BEQ + ; don't spawn if frog 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
|
|
;--------------------------------------------------------------------------------
|