add eon owl dialogue

This commit is contained in:
scawful
2024-08-10 13:26:38 -04:00
parent eab1f82875
commit 074453c39e

View File

@@ -54,6 +54,8 @@ Sprite_EonOwl_Prep:
{ {
PHB : PHK : PLB PHB : PHK : PLB
; If Map 0x50, don't spawn after intro
PLB PLB
RTL RTL
@@ -80,7 +82,7 @@ Sprite_EonOwl_Main:
LDA POSY : STA $03 LDA POSY : STA $03
LDA SprX, X : STA $04 LDA SprX, X : STA $04
LDA SprY, X : STA $05 LDA SprY, X : STA $05
JSL GetDistance8bit_Long : CMP #$18 : BCS .not_too_close JSL GetDistance8bit_Long : CMP #$28 : BCS .not_too_close
%GotoAction(1) %GotoAction(1)
.not_too_close .not_too_close
@@ -91,7 +93,9 @@ Sprite_EonOwl_Main:
{ {
%PlayAnimation(0,1,16) %PlayAnimation(0,1,16)
; TODO: Pick a dialogue ID and display it %ShowUnconditionalMessage($00E6)
%GotoAction(2)
RTS RTS
} }
@@ -100,6 +104,10 @@ Sprite_EonOwl_Main:
EonOwl_FlyingAway: EonOwl_FlyingAway:
{ {
%PlayAnimation(2,3,16) %PlayAnimation(2,3,16)
LDA.b #$FC : STA.w SprYSpeed, X
JSL Sprite_Move
RTS RTS
} }
} }