addHook("ThinkFrame", do
	for player in players.iterate
		//music
		if (player.mo and player.mo.skin == "jimmyharold")
			if not player.powers[pw_sneakers]
			and not player.powers[pw_extralife]
			and not player.powers[pw_super]
			and not (player.exiting)
			if player.powers[pw_invulnerability] then
				S_ChangeMusic("jiminv",true,player)
			end	
		else
			if not player.powers[pw_invulnerability]
			and not player.powers[pw_extralife]
			and not player.powers[pw_super]
			and not (player.exiting)
			if player.powers[pw_sneakers] then
				S_ChangeMusic("jimfas",true,player)
			end	
		else
			P_RestoreMusic(player)
			end
		end
	end
	end
end)