Fixes for Tagalongs for ER

Fixes various tagalong issues that affect Entrance Randomizer, most
involving frog/blacksmith
This commit is contained in:
Kevin Cathcart
2018-02-23 01:53:36 -05:00
parent 8c151e0fc2
commit a94e0e8012
7 changed files with 59 additions and 4 deletions

View File

@@ -98,3 +98,20 @@ MakeBunny:
PLY : PLX
RTS
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
; fix issue where cross world caves (in Entrance randomizer) don't cause
; frog to become smith or vice versa.
FixFrogSmith:
LDA.l $7EF3CA : BNE .darkWorld
LDA.l $7EF3CC : CMP.b #$07 : BNE .done
LDA.b #$08 : STA.l $7EF3CC ; make frog into smith in light world
BRA .loadgfx
.darkWorld
LDA.l $7EF3CC : CMP.b #$08 : BNE .done
LDA.b #$07 : STA.l $7EF3CC ; make smith into frog in dark world
.loadgfx
JSL Tagalong_LoadGfx
.done
RTS
;--------------------------------------------------------------------------------