Craigery
Active member
I am looking at setting up many animations and will need to make a few more scripts, but I am not sure how this works
From the ChangeToIdleAnimation.asm
I assume its the ChangeObjectState line, but what do #$00, #$02 each represent, one is the animation to play, but whats the other?
I've been watching the videos, so maybe its this has been covered, but they are hours long
From the ChangeToIdleAnimation.asm
Code:
LDX player1_object
LDA gamepad
AND #%11110000
BNE +
GetCurrentActionType player1_object
CMP #$02 ;; attack
BEQ +
ChangeObjectState #$00, #$02
+
RTS
I assume its the ChangeObjectState line, but what do #$00, #$02 each represent, one is the animation to play, but whats the other?
I've been watching the videos, so maybe its this has been covered, but they are hours long