-Prevent defeating Aga 1 before Zelda is delivered to the Sanctuary. (He can't take damage) -Fix for Ice Jelly room when going backward and enemizer is on -Fix for inverted - don't start as a bunny in Dark Sanctuary -Fix for non-ER Inverted with Lobby shuffle. Aga Tower's exit works properly now.
11 lines
288 B
NASM
11 lines
288 B
NASM
CheckDarkWorldSanc:
|
|
STA $A0 : STA $048E ; what we wrote over
|
|
LDA.l InvertedMode : BNE +
|
|
LDA.l SancDarkWorldFlag : BEQ +
|
|
SEP #$30
|
|
LDA $A0 : CMP #$12 : BNE ++
|
|
LDA.l $7EF357 : BNE ++ ; moon pearl?
|
|
LDA #$17 : STA $5D : INC $02E0 : LDA.b #$40 : STA !DARK_WORLD
|
|
++ REP #$30
|
|
+ RTL
|