Update Farore Sprite and Sprite Library

This commit is contained in:
scawful
2023-05-31 11:23:05 -05:00
parent 3a42d3d2c8
commit 91be33f0ae
6 changed files with 152 additions and 225 deletions

View File

@@ -59,6 +59,12 @@ macro PlayAnimation(frame_start, frame_end, frame_wait)
+
endmacro
macro StartOnFrame(frame)
LDA.w SprFrame, x : CMP.b #<frame> : BCS +
LDA.b #<frame> : STA.w SprFrame, x
+
endmacro
; Show message if the player is facing toward sprite and pressing A
; Return Carry Set if message is displayed
@@ -195,4 +201,8 @@ endmacro
; Will set the timer F to wait (length) amount of frames
macro SetTimerF(length)
LDA.b #<length> : STA.w SprTimerF, X
endmacro
macro NextAction()
INC $0D80, X
endmacro