From 0d58bb25689e7d5f592058769b8fa3f67890b733 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Fri, 17 Mar 2023 15:20:13 -0500 Subject: [PATCH] Fix cucco stormer --- cuccostorm.asm | 2 +- trolls.asm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cuccostorm.asm b/cuccostorm.asm index 17a9133..9fea16e 100644 --- a/cuccostorm.asm +++ b/cuccostorm.asm @@ -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 + diff --git a/trolls.asm b/trolls.asm index a1a1799..647e731 100644 --- a/trolls.asm +++ b/trolls.asm @@ -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