Fix cucco stormer
This commit is contained in:
@@ -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 +
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user