addHook("AbilitySpecial", function(player)
		if player.mo.skin == "halloweensonic"
		if not player.target
		and (player.pflags & PF_JUMPED)
		and not (player.mo.state == S_PLAY_PAIN)
		and player.mo.eflags & MFE_UNDERWATER
		and (P_IsObjectOnGround(player.mo) == false) then
		player.mo.state = S_PLAY_WALK
		P_SetObjectMomZ(player.mo, 3*FRACUNIT, false)
		end
	end
end)

addHook("AbilitySpecial", function(player)
		if player.mo.skin == "sonic"
		if not player.target
		and (player.pflags & PF_JUMPED)
		and not (player.mo.state == S_PLAY_PAIN)
		and player.mo.eflags & MFE_UNDERWATER
		and (P_IsObjectOnGround(player.mo) == false) then
		player.mo.state = S_PLAY_WALK
		P_SetObjectMomZ(player.mo, 3*FRACUNIT, false)
		end
	end
end)
