let's dev 5/26/2017

dwarf s&q spawn
invincible ganon switch
This commit is contained in:
Karkat
2017-05-26 00:08:29 -04:00
parent f631cfa27a
commit aeb329d28e
6 changed files with 50 additions and 3 deletions

View File

@@ -24,4 +24,11 @@ DrawGoalIndicator:
LDA $7F5007 : AND.w #$00FF : ORA.w #$2400 : STA $7EC72C, X : INX #2 ; draw 1's and move the cursor
PLX
RTL
;--------------------------------------------------------------------------------
GoalItemGanonCheck:
LDA $0E20, X : CMP.b #$D6 : BNE .normal ; skip if not ganon
LDA InvincibleGanon : CMP #$01 : BNE + : RTL : +
.normal
LDA $44 : CMP.b #$80 ; thing we wrote over
RTL
;--------------------------------------------------------------------------------