Update sprite macros for draw code, add new macros

This commit is contained in:
scawful
2024-12-19 09:44:08 -05:00
parent 548379f95a
commit 2a996a69e5
7 changed files with 179 additions and 310 deletions

View File

@@ -110,7 +110,6 @@ Sprite_BusinessScrub_Main:
JSL Sprite_IsBelowPlayer : TYA
CMP #$00 : BNE .is_below_player
; Check if the player is too close
%SetupDistanceFromSprite()
JSL GetDistance8bit_Long : CMP.b #$24 : BCC .too_close
; The player is below the scrub, so it should pop up
LDA #$20 : STA.w SprTimerA, X
@@ -138,7 +137,6 @@ Sprite_BusinessScrub_Main:
INC.w SprAction, X
.not_done
%SetupDistanceFromSprite()
JSL GetDistance8bit_Long : CMP #$18 : BCS .not_too_close
%GotoAction(0)
.not_too_close