fix usage of GetDistance8bit in various sprites

This commit is contained in:
scawful
2025-01-25 11:26:44 -05:00
parent af0d0e5b5e
commit a780f67d90
5 changed files with 1 additions and 32 deletions

View File

@@ -97,10 +97,6 @@ Sprite_EonOwl_Main:
EonOwl_Idle:
{
%PlayAnimation(0,1,16)
LDA.w POSX : STA $02
LDA.w POSY : STA $03
LDA.w SprX, X : STA $04
LDA.w SprY, X : STA $05
JSL GetDistance8bit_Long : CMP #$28 : BCS .not_too_close
%GotoAction(1)
.not_too_close

View File

@@ -80,10 +80,6 @@ Sprite_MakuTree_Main:
MakuTree_MeetLink:
{
LDA.w POSX : STA $02
LDA.w POSY : STA $03
LDA.w SprX, X : STA $04
LDA.w SprY, X : STA $05
JSL GetDistance8bit_Long : CMP #$28 : BCS .not_too_close
%ShowUnconditionalMessage($20)
LDA.b #$01 : STA.l MakuTreeQuest