From b196e4963c210992f569bc19f603360050a580b7 Mon Sep 17 00:00:00 2001 From: scawful Date: Thu, 18 Jul 2024 21:24:45 -0400 Subject: [PATCH] set the current dream and jump to Link_EnterDream --- Sprites/NPCs/maku_tree.asm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Sprites/NPCs/maku_tree.asm b/Sprites/NPCs/maku_tree.asm index 5735a1e..c7449b1 100644 --- a/Sprites/NPCs/maku_tree.asm +++ b/Sprites/NPCs/maku_tree.asm @@ -124,7 +124,6 @@ Sprite_MakuTree_Main: CMP.b #$10 : BCC .glacia_estate CMP.b #$20 : BCC .goron_mines CMP.b #$40 : BCC .dragon_ship - RTS ; .kzt dimg ; m - Mushroom Grotto @@ -138,12 +137,27 @@ Sprite_MakuTree_Main: ; TODO: Check if Link has the essence for the dream .mushroom_grotto + LDA.b #$01 : STA.w CurrentDream + JMP .enter_dream .tail_palace + LDA.b #$02 : STA.w CurrentDream + JMP .enter_dream .kalyxo_castle + LDA.b #$04 : STA.w CurrentDream + JMP .enter_dream .zora_temple + LDA.b #$08 : STA.w CurrentDream + JMP .enter_dream .glacia_estate + LDA.b #$10 : STA.w CurrentDream + JMP .enter_dream .goron_mines + LDA.b #$20 : STA.w CurrentDream + JMP .enter_dream .dragon_ship + LDA.b #$40 : STA.w CurrentDream + .enter_dream + JSL Link_EnterDream RTS }