Update Sprite_Kydreeok_Long formatting
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
; =========================================================
|
; =========================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user