Closed scawful closed 7 months ago
Issue has been identified as originating from the Lanmolas expanded code. Root cause still unknown. Game gets stuck while attempting to load the song bank and crashes when picking up heart piece.
Issue seems to go deeper than simply Lanmolas code. After removing Lanmolas code, the player can pick up the heart but will get stuck when the crystal is picked up. More investigation needed.
EDIT: This was a dungeon properties issue.
Root cause was the routine Ancilla_SpawnFallingPrize
which was located in the Lanmola sprite code space. Lookup on routine returned only two references so here is a quick fix.
Insides Lanmolas_Expanded.asm
org $01C742
JSL Ancilla_SpawnFallingPrize
org $06FA34
JSL Ancilla_SpawnFallingPrize
org $098BC1
AncillaAdd_FallingPrize:
pullpc
Ancilla_SpawnFallingPrize:
#_05A51D: PHX
#_05A51E: TAX
#_05A51F: LDY.b #$04
#_05A521: LDA.b #$29 ; ANCILLA 29
#_05A523: JSL AncillaAdd_FallingPrize
#_05A527: PLX
#_05A528: RTL
For patch v0.105-v0.106