Animation Scripts

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
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 :(
 

dale_coop

Moderator
Staff member
You NEED to watch the tutorial video (or any tutorial on NESMaker), else you can’t do anything working!

For setting animations you don’t need to modify or make scripts.
 
Top Bottom