addHook("PlayerThink", function(player)
	if player.mo.skin == "frontiersclassic"
	and player.pflags & PF_JUMPED
	and (player.cmd.buttons & BT_USE)
		player.actionspd = 100*FRACUNIT
		player.charability = CA_HOMINGTHOK
	else
		if player.mo.skin == "frontiersclassic"
			player.actionspd = 42*FRACUNIT
			player.charability = CA_JUMPTHOK
		end
			if player.mo.skin == "frontiersclassic"
			and player.mo.state == S_PLAY_FALL
			and player.charability == CA_JUMPTHOK 
			and (player.pflags & PF_THOKKED)
				player.mo.state = S_PLAY_JUMP
			end
		end
	end)