### Godot version

4.0.beta10

### System information

Nobara Linux

### Issue description

after updating my project [Advanced-Movement-System-Godot](https://github.com/ywmaa/Advanced-Movement-System-Godot) to Godot 4 beta 10 state machines are broken ( I usually fix stuff every beta but this time I couldn't) 
at first I made a condition in the advance_condition and changed it through code : set("parameter",value)

but currently after I think a pull request is merged I think this one : https://github.com/godotengine/godot/pull/65312

having the condition mode set to Enabled or Auto doesn't advance/travel the animation. 

### Steps to reproduce

make a state machine in an AnimTree and make a condition in the travel between two animation nodes in the state machine.

### Minimal reproduction project

https://github.com/ywmaa/Advanced-Movement-System-Godot
}
				}
			}
		}
	}
	
	if (next != StringName()) {
		bool goto_next = false;
		if (switch_mode == AnimationNodeStateMachineTransition::SWITCH_MODE_AT_END) {
			goto_next = next_xfade >= (len_current - pos_current) || end_loop;
			if (end_loop) {
				next_xfade = 0;
			}
		} else {
			goto_next = fading_from == StringName();
		}
		if (goto_next) { 
			if (next_xfade) {
				
				fading_from = current;
				fading_time = next_xfade;
				fading_pos = 0;
			} else {
				fading_from = StringName();
				fading_pos = 0;
			}
			if (path.size()) { 
				path.remove_at(0);
			}
			{