Add PreopenPyramid flag

This commit is contained in:
Kevin Cathcart
2019-08-03 12:24:57 -04:00
parent 1c0c82a510
commit d87c4157e8
2 changed files with 8 additions and 2 deletions

View File

@@ -131,6 +131,11 @@ OnNewFile:
LDA.b #$80 : STA $7EF061 ; open aga tower curtain
LDA.b #$80 : STA $7EF093 ; open skull woods curtain
+
LDA.l PreopenPyramid : BEQ +
LDA.b #$20 : STA $7EF2DB ; pyramid hole already open
+
LDA StartingSword : STA $7EF359 ; set starting sword type
PLP : PLX
RTL

View File

@@ -261,8 +261,9 @@ db #$07 ; #$07 = 7 Crystals
org $30805F ; PC 0x18005F - Number of crystals required to kill Ganon
NumberOfCrystalsRequiredForGanon:
db #$07 ; #$07 = 7 Crystals
;--------------------------------------------------------------------------------
; 0x18005F - 0x18005F (unused)
org $30805F:
PreopenPyramid:
db $00 ; #$00 = Off (default) - #$01 = On
;--------------------------------------------------------------------------------
org $308060 ; PC 0x180060 - 0x18007E
ProgrammableItemLogicJump_1: