Update Sprite_Kydreeok_Long formatting

This commit is contained in:
scawful
2024-03-30 12:03:21 -04:00
parent 446ccf0d7f
commit 0b173ce212

View File

@@ -1,6 +1,7 @@
; ========================================================= ; =========================================================
; Sprite Properties ; Sprite Properties
; ========================================================= ; =========================================================
!SPRID = $7A ; The sprite ID you are overwriting (HEX) !SPRID = $7A ; The sprite ID you are overwriting (HEX)
!NbrTiles = 10 ; Number of tiles used in a frame !NbrTiles = 10 ; Number of tiles used in a frame
!Harmless = 00 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless !Harmless = 00 ; 00 = Sprite is Harmful, 01 = Sprite is Harmless
@@ -34,17 +35,15 @@
Sprite_Kydreeok_Long: Sprite_Kydreeok_Long:
{ {
PHB : PHK : PLB PHB : PHK : PLB
JSR Sprite_Kydreeok_Draw ; Call the draw code JSR Sprite_Kydreeok_Draw
JSL Sprite_CheckActive ; Check if game is not paused JSL Sprite_CheckActive : BCC .SpriteIsNotActive
BCC .SpriteIsNotActive ; Skip Main code is sprite is innactive JSR Sprite_Kydreeok_Main
JSR Sprite_Kydreeok_Main ; Call the main sprite code
.SpriteIsNotActive .SpriteIsNotActive
PLB ; Get back the databank we stored previously PLB ; Get back the databank we stored previously
RTL ; Go back to original code RTL ; Go back to original code
} }
; ========================================================= ; =========================================================