Add GanonPyramidRespawn flag at 0x180170 to enable/disable respawning on Pyramid after Death to Ganon. Useful for Entrance Randomizer with shuffled Ganon or Plandomizer.
This commit is contained in:
@@ -52,7 +52,7 @@ SetDeathWorldChecked:
|
|||||||
+
|
+
|
||||||
LDA $7EF3C5 : CMP.b #$03 : !BGE .done; thing we originally did - skip if agahnim 1 is dead
|
LDA $7EF3C5 : CMP.b #$03 : !BGE .done; thing we originally did - skip if agahnim 1 is dead
|
||||||
|
|
||||||
LDA $1B : BNE + : LDA $A0 : BNE + ; check if we died in ganon's room
|
LDA $1B : BNE + : LDA $A0 : BNE + : LDA GanonPyramidRespawn : BEQ + ; check if we died in ganon's room and pyramid respawn is enabled
|
||||||
LDA !FORCE_PYRAMID : ORA.b #$08 : STA !FORCE_PYRAMID ; set pyramid flag
|
LDA !FORCE_PYRAMID : ORA.b #$08 : STA !FORCE_PYRAMID ; set pyramid flag
|
||||||
BRL DarkWorldFlagSet_pyramid
|
BRL DarkWorldFlagSet_pyramid
|
||||||
+
|
+
|
||||||
|
|||||||
@@ -676,6 +676,10 @@ org $308169 ; PC 0x180169
|
|||||||
AgahnimDoorStyle:
|
AgahnimDoorStyle:
|
||||||
db #$00 ; #00 = Never Locked - #$01 = Locked During Escape (default)
|
db #$00 ; #00 = Never Locked - #$01 = Locked During Escape (default)
|
||||||
;================================================================================
|
;================================================================================
|
||||||
|
org $308170 ; PC 0x180170
|
||||||
|
GanonPyramidRespawn:
|
||||||
|
db #$01 ; #00 = Do not respawn on Pyramid after Death - #$01 = Respawn on Pyramid after Death (default)
|
||||||
|
;================================================================================
|
||||||
org $30816A ; PC 0x18016A
|
org $30816A ; PC 0x18016A
|
||||||
FreeItemText:
|
FreeItemText:
|
||||||
db #$01 ; #00 = Off - #$01 = On (default)
|
db #$01 ; #00 = Off - #$01 = On (default)
|
||||||
|
|||||||
Reference in New Issue
Block a user