New goal "completionist"

This commit is contained in:
aerinon
2022-12-01 14:04:09 -07:00
parent 9e50d5f02c
commit 46272e7fad
2 changed files with 12 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ CheckGanonVulnerability:
dw .crystals_and_bosses
dw .bosses_only
dw .all_dungeons_no_agahnim
dw .completionist
; 00 = always vulnerable
.vulnerable
@@ -99,6 +100,14 @@ CheckGanonVulnerability:
.bosses_only
JMP CheckForCrystalBossesDefeated
.completionist
REP #$20
LDA.l TotalItemCounter : CMP.l MaxItemCounter
SEP #$20
BCC .fail
BRA .all_dungeons
;--------------------------------------------------------------------------------
GetRequiredCrystalsForTower:
BEQ + : JSL.l BreakTowerSeal_ExecuteSparkles : + ; thing we wrote over

View File

@@ -1901,4 +1901,7 @@ db $08, $08, $06, $06, $02, $0A, $0E, $08, $08, $08, $06, $08, $0C, $1B, $00, $0
;--------------------------------------------------------------------------------
; 0x187010 - 187FFF (unused)
;--------------------------------------------------------------------------------
org $30F010
MaxItemCounter:
dw $00D8 ; 216 default