Fix cucco stormer

This commit is contained in:
2023-03-17 15:20:13 -05:00
parent e7818c8515
commit 0d58bb2568
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ CuccoStorm:
SEP #$30 ; set 8-bit accumulator index registers
LDA.l CuccoStormer : BEQ + ; only if storm is on
LDA.b GameMode : CMP.b #$09 : BNE .check ; only if outdoors
LDA.b GameMode : CMP.b #$09 : BEQ .check ; only if outdoors
.indoors
LDA.b #$00 : STA.l CuccoStormer ; turn off cucco storm if indoors
BRA +

View File

@@ -40,7 +40,7 @@ ProcessFlute:
.cucco
JSR PlayCluck ; outdoors; play cucco sound
LDA.b #$01
STA.l $7F50C5 ; turn on cucco storm
STA.l CuccoStormer ; turn on cucco storm
CLC : RTL ; do not summon duck
.play_and_leave
JSR PlayDuck
@@ -64,7 +64,7 @@ PlayCluck:
FluteMap:
LDA.b #$00
STA.l $7F50C5 ; turn off cuccos
STA.l CuccoStormer ; turn off cuccos
LDA.b #$0E
STA.b $10
RTL