if check_hitstop()
	exit;

player_status_update();

player_check_door();
player_check_attacked();
player_check_hazard();
player_check_death();

state();

player_move_and_collide();

/**/
image_xscale = facing;

if invincible_timer > 0
{
	flash_duration = 1;
	flash_timer = abs(sin(current_time * 0.01));
}