Fix not being bunny after defeating aga2 w/o moon Pearl
This commit is contained in:
@@ -351,6 +351,9 @@ Dungeon_SaveRoomData_justKeys:
|
|||||||
org $02B861
|
org $02B861
|
||||||
Dungeon_SaveRoomQuadrantData:
|
Dungeon_SaveRoomQuadrantData:
|
||||||
|
|
||||||
|
org $02FD8A ; 17D8A - Bank07.asm: 3732 Note: Different bank
|
||||||
|
LoadGearPalettes_bunny:
|
||||||
|
|
||||||
org $05A51D
|
org $05A51D
|
||||||
Sprite_SpawnFallingItem:
|
Sprite_SpawnFallingItem:
|
||||||
|
|
||||||
|
|||||||
25
bugfixes.asm
25
bugfixes.asm
@@ -53,3 +53,28 @@ FixBunnyOnExitToLightWorld:
|
|||||||
LDA $7EF357; thing we overwrote
|
LDA $7EF357; thing we overwrote
|
||||||
RTL
|
RTL
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
; fix issue where if a player beats aga1 without moon pearl, they don't turn into
|
||||||
|
; bunny on the pyramid
|
||||||
|
FixAga2Bunny:
|
||||||
|
LDA.l FixFakeWorld : BEQ + ; Only use this fix is fakeworld fix is in use
|
||||||
|
JSL DecideIfBunny : BNE +
|
||||||
|
JSR MakeBunny
|
||||||
|
LDA.b #$04 : STA.w $012C ; play bunny music
|
||||||
|
BRA .done
|
||||||
|
+
|
||||||
|
LDA.b #$09 : STA.w $012C ; what we wrote over
|
||||||
|
.done
|
||||||
|
RTL
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
MakeBunny:
|
||||||
|
PHX : PHY
|
||||||
|
LDA.b #$17 : STA $5D ; set player mode to permabunny
|
||||||
|
LDA.b #$01 : STA $02E0 : STA $56 ; make player look like bunny
|
||||||
|
JSL LoadGearPalettes_bunny
|
||||||
|
PLY : PLX
|
||||||
|
RTS
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1097,6 +1097,12 @@ org $028468 ; <- 10468 Bank02.asm:911 - (LDA $7EF357)
|
|||||||
JSL.l FixBunnyOnExitToLightWorld ; for cross-world connections
|
JSL.l FixBunnyOnExitToLightWorld ; for cross-world connections
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
;================================================================================
|
||||||
|
; Other bunny Fixes
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
org $029E7C; <- 11E7C - module_ganon_emerges.asm:127 - (LDA.b #$09 : STA $012C)
|
||||||
|
JSL.l FixAga2Bunny : NOP
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
;================================================================================
|
;================================================================================
|
||||||
; Open Mode Fixes
|
; Open Mode Fixes
|
||||||
|
|||||||
Reference in New Issue
Block a user