fix goriya left right movement velocity and animation starting frame
This commit is contained in:
@@ -96,6 +96,7 @@ Sprite_Goriya_Main:
|
|||||||
|
|
||||||
Goriya_WalkingLeft:
|
Goriya_WalkingLeft:
|
||||||
{
|
{
|
||||||
|
%StartOnFrame(4)
|
||||||
%PlayAnimation(4, 5, 10)
|
%PlayAnimation(4, 5, 10)
|
||||||
JSR Sprite_Goriya_Move
|
JSR Sprite_Goriya_Move
|
||||||
RTS
|
RTS
|
||||||
@@ -103,6 +104,7 @@ Sprite_Goriya_Main:
|
|||||||
|
|
||||||
Goriya_WalkingRight:
|
Goriya_WalkingRight:
|
||||||
{
|
{
|
||||||
|
%StartOnFrame(6)
|
||||||
%PlayAnimation(6, 7, 10)
|
%PlayAnimation(6, 7, 10)
|
||||||
JSR Sprite_Goriya_Move
|
JSR Sprite_Goriya_Move
|
||||||
RTS
|
RTS
|
||||||
@@ -221,7 +223,7 @@ Sprite_Goriya_Move:
|
|||||||
Goriya_MoveLeft:
|
Goriya_MoveLeft:
|
||||||
{
|
{
|
||||||
STZ.w SprYSpeed, X
|
STZ.w SprYSpeed, X
|
||||||
LDA.b #GoriyaMovementSpeed : STA.w SprXSpeed, X
|
LDA.b #-GoriyaMovementSpeed : STA.w SprXSpeed, X
|
||||||
%GotoAction(2)
|
%GotoAction(2)
|
||||||
LDA.b #$02 : STA.w SprMiscE, X
|
LDA.b #$02 : STA.w SprMiscE, X
|
||||||
RTS
|
RTS
|
||||||
@@ -230,7 +232,7 @@ Sprite_Goriya_Move:
|
|||||||
Goriya_MoveRight:
|
Goriya_MoveRight:
|
||||||
{
|
{
|
||||||
STZ.w SprYSpeed, X
|
STZ.w SprYSpeed, X
|
||||||
LDA.b #-GoriyaMovementSpeed : STA.w SprXSpeed, X
|
LDA.b #GoriyaMovementSpeed : STA.w SprXSpeed, X
|
||||||
%GotoAction(3)
|
%GotoAction(3)
|
||||||
LDA.b #$03 : STA.w SprMiscE, X
|
LDA.b #$03 : STA.w SprMiscE, X
|
||||||
RTS
|
RTS
|
||||||
@@ -323,6 +325,7 @@ Sprite_Goriya_Draw:
|
|||||||
dw 0, -9
|
dw 0, -9
|
||||||
dw -1, -10
|
dw -1, -10
|
||||||
.chr
|
.chr
|
||||||
|
; Body Head
|
||||||
db $E4, $C0
|
db $E4, $C0
|
||||||
db $E4, $C0
|
db $E4, $C0
|
||||||
db $C6, $C2
|
db $C6, $C2
|
||||||
|
|||||||
Reference in New Issue
Block a user