drdocker
New member
I've created a falling state for my player and modified the physics script to enable the state when there are no collisions below the player. I only want to toggle this state if the player is currently in idle "0" or running "1". Any ideas on how I would construct the argument for this?
Code:
theGroundIsNotSolid2_b:
LDX player1_object
; change player to falling/ jumping state
ChangeObjectState #$02, #$02
JMP noCollisionHere_v