changed sram trace to run on item-get only fixed free bow problem from previous build moved digging table to fixed location fixed hera music issue fixed hammerable ganon updated bossses to use pregenerated RNG
27 lines
1007 B
NASM
27 lines
1007 B
NASM
;================================================================================
|
|
; Maiden Crystal Fixes
|
|
;================================================================================
|
|
|
|
;--------------------------------------------------------------------------------
|
|
; MaidenCrystalScript
|
|
;--------------------------------------------------------------------------------
|
|
MaidenCrystalScript:
|
|
LDA.b #$00 : STA $7F5091
|
|
STZ $02D8
|
|
STZ $02DA
|
|
STZ $2E
|
|
LDA #$02 : STA $2F
|
|
|
|
; Load the dungeon index. Is it the Dark Palace?
|
|
;LDA $040C : !SUB.b #$0A : TAY : CPY.b #$02 : BNE +
|
|
; LDA $7EF3C7 : CMP.b #$07 : BCS ++ : LDA.b #$07 : STA $7EF3C7 : ++
|
|
;+
|
|
|
|
LDA $7EF37A : AND.b #$7F : CMP.b #$7F : BNE + ; check if we have all crystals
|
|
LDA.b #$08 : STA $7EF3C7 ; Update the map icon to just be Ganon's Tower
|
|
+
|
|
|
|
JSL.l MaybeWriteSRAMTrace
|
|
|
|
JMP $1ECF35 ; <- F4F35 - sprite_crystal_maiden.asm : 426
|
|
;-------------------------------------------------------------------------------- |