From e55af7e610c90288d15cbfeed9d948af440fbe36 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Wed, 15 Mar 2023 23:13:58 -0500 Subject: [PATCH] Using shovel indoors bunnies link --- hooks.asm | 6 ++++++ trolls.asm | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/hooks.asm b/hooks.asm index 4578028..96b8d0d 100755 --- a/hooks.asm +++ b/hooks.asm @@ -3095,3 +3095,9 @@ NOP #14 : + org $08E073 ; LDA.b #$0E : STA.b $10 JSL FluteMap + +org $07A329 +JSL UseShovel +BCS + +RTS +NOP #4 : + diff --git a/trolls.asm b/trolls.asm index 0784ff0..c8d7042 100644 --- a/trolls.asm +++ b/trolls.asm @@ -68,3 +68,21 @@ FluteMap: LDA.b #$0E STA.b $10 RTL + +UseShovel: + LDA.b $1B + BEQ .normal +.indoors + REP #$20 + LDA.w #$0200 + STA.w $03F5 + SEP #$20 + CLC + RTL +.normal + LDA.l $07A310 + STA.b $3D + STZ.w $030D + STZ.w $0300 + SEC + RTL