Event 35 states that when the player releases the Z button it sets the animation to Idle, so this was happening regardless of any other events where Z button is used. In another event you trigger the Dodge anim when Z is down and left or right is pressed but as soon as you release Z the Idle animation will always kick in regardless (but it will still run the Block logic and movement). 'On Button Released' is quite a powerful event. If you find that Idle is overriding future logic I would look back at this event since it is the main one I found that triggers the Idle animation.