addHook("PlayerThink", function(player)
	if player.mo.skin == "frontiersclassic"
	and player.pflags & PF_JUMPED
	and (player.cmd.buttons & BT_USE)
		player.actionspd = 60*FRACUNIT
		player.charability = CA_THOK
	else
		if player.mo.skin == "frontiersclassic"
			player.actionspd = 120*FRACUNIT
			player.charability = CA_HOMINGTHOK
		end
			if player.mo.skin == "frontiersclassic"
			and player.mo.state == S_PLAY_FALL
			and (player.charability == CA_HOMINGTHOK or player.charability == CA_THOK)
			and (player.pflags & PF_THOKKED)
			and not player.stomping == true
				player.mo.state = S_PLAY_JUMP
				player.pflags = $|PF_JUMPED
			end
		end
	end)