From b80893b03a1450063a1488d5e4c06459a1c1df30 Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 10 Aug 2024 16:50:36 -0400 Subject: [PATCH] maku tree run dialog when link nearby for intro --- Sprites/NPCs/maku_tree.asm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Sprites/NPCs/maku_tree.asm b/Sprites/NPCs/maku_tree.asm index 059f04c..28c3bc0 100644 --- a/Sprites/NPCs/maku_tree.asm +++ b/Sprites/NPCs/maku_tree.asm @@ -88,12 +88,17 @@ Sprite_MakuTree_Main: MakuTree_MeetLink: { - %ShowSolicitedMessage($20) : BCC .no_talk + LDA POSX : STA $02 + LDA POSY : STA $03 + LDA SprX, X : STA $04 + LDA SprY, X : STA $05 + JSL GetDistance8bit_Long : CMP #$28 : BCS .not_too_close + %ShowUnconditionalMessage($20) LDA.b #$01 : STA.l $7EF3D4 LDA.b #$01 : STA.l $7EF3C7 ; Mark the Hall of Secrets LDA.l $7EF3D6 : ORA.b #$02 : STA.l $7EF3D6 %GotoAction(2) - .no_talk + .not_too_close RTS }