if (var_player_mode != "SouthAxe") and (var_player_mode != "NorthAxe"){
	if (var_player_CanMove == 1){
		if (keyboard_check(65)){
			var_player_mode = "West"
			if (!place_meeting(x-5,y,obj_block)){
				x = x-1
			}
			var_player_animation = all
		}
		if (keyboard_check(68)){
			var_player_mode = "East"
			if (!place_meeting(x+5,y,obj_block)){
				x = x+1
			}
			var_player_animation = all
		}
		if (keyboard_check(87)){
			var_player_mode = "North"
			if (!place_meeting(x,y-5,obj_block)){
				y = y-1
			}
			var_player_animation = all
		}
		if (keyboard_check(83)){
			var_player_mode = "South"
			if (!place_meeting(x,y+5,obj_block)){
				y = y+1
			}
			var_player_animation = all
		}
		if (keyboard_check_released(65)) or (keyboard_check_released(68)) or (keyboard_check_released(87)) or (keyboard_check_released(83)){
			var_player_animation = 0
		}
	}
	if (keyboard_check(vk_space)){
			var_player_CanMove = 0
		if (var_player_bonus >= 0){
			var_player_TimeToAttack--
			if (var_player_TimeToAttack <= 0){
				instance_create_depth(x,y-10,depth+1,obj_extinguisher)
				var_player_TimeToAttack = var_player_MaxTimeToAttack
			}
		} else {
			if (!instance_exists(obj_message_bonus)){
				instance_create_depth(x,y,depth-1,obj_message_bonus)
			}
		}
	}
	if (keyboard_check_released(vk_space)){
	
		var_player_animation = 0
		var_player_CanMove = 1
	}
} else {
	if keyboard_check_pressed(vk_space) or keyboard_check_pressed(69){
		var_player_animation = all
		if (instance_exists(obj_axeBar)){
			obj_axeBar.var_axeBar = obj_axeBar.var_axeBar+15
		}
	}
}