Fix pendant/crystal failing to spawn when using somaaria vs a boss.

This commit is contained in:
Myramong
2018-10-08 10:11:41 -03:00
parent 21724233d4
commit 497970666b
3 changed files with 22 additions and 0 deletions

View File

@@ -1458,6 +1458,12 @@ JSL.l HUDRebuildIndoorHole
;JSL.l CheckPendantHUD
;NOP #2
;================================================================================
org $098BB0 ; <- 048BB0 - ancilla_init.asm:1663 - (STX $02D8 : JSR AddAncilla)
JSL.l TryToSpawnCrystalUntilSuccess
NOP
org $01C74B ; <- 00C74B - bank01.asm:10368 - (STZ $AE, X)
NOP #2 ; this STZ is what makes the crystal never spawn if it fails to spawn on the first try
;================================================================================
org $0DE9C8 ; <- 6E9C8 - equipment.asm:1623 - (LDA $7EF3C5 : CMP.b #$03 : BCC .beforeAgahnim)
JSL.l DrawPendantCrystalDiagram : RTS
;NOP #11