More Sprite action formatting
This commit is contained in:
@@ -157,10 +157,8 @@ Sprite_Kydreeok_Main:
|
||||
%StartOnFrame(0)
|
||||
%PlayAnimation(0, 2, 10)
|
||||
|
||||
PHX ;saves X so we can use it later
|
||||
|
||||
LDA $36
|
||||
STA $00
|
||||
PHX
|
||||
LDA $36 : STA $00
|
||||
JSR Sprite_ApplySpeedTowardsPlayerXOrY
|
||||
JSL Sprite_BounceFromTileCollision ; JSR StopIfOutOfBounds
|
||||
JSR StopIfOutOfBounds
|
||||
@@ -168,11 +166,9 @@ Sprite_Kydreeok_Main:
|
||||
|
||||
JSL Sprite_CheckDamageFromPlayerLong
|
||||
%DoDamageToPlayerSameLayerOnContact()
|
||||
|
||||
PLX ;restores X
|
||||
PLX
|
||||
|
||||
%GotoAction(4)
|
||||
|
||||
RTS
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user