//candidate system

if not PizzaTowerAICandidates
	rawset(_G, "PizzaTowerAICandidates", {})
end

/*
	Add candidate for Afterimages.
	Stuff to put:
	-isspecial : Sets PTAI Specical char for that skin. Best for characters with custom dashmodes
	-cmdcustom : Allows the player's custom colors
	-skincustom : Replaces vanilla styles & colors to use the ones youve set
	-sc1 : (if skincustom) First afterimages's color. For use with skincustom. 
	-sc2 : (if skincustom) Second afterimages's color. For use with skincustom. 

	PizzaTowerAICandidates["exampleskin"] = {false, true, false}

*/
rawset(_G, "InitPTAIChars", function()
PizzaTowerAICandidates["sonic"] = {false, true, false}
PizzaTowerAICandidates["tails"] = {false, true, false}
PizzaTowerAICandidates["knuckles"] = {false, true, false}
PizzaTowerAICandidates["amy"] = {false, true, false}
PizzaTowerAICandidates["fang"] = {false, true, false}
PizzaTowerAICandidates["metalsonic"] = {false, true, false}

PizzaTowerAICandidates["blaze"] = {true, true, false}
PizzaTowerAICandidates["marine"] = {false, true, false}

PizzaTowerAICandidates["adventuresonic"] = {false, true, false}

PizzaTowerAICandidates["surge"] = {false, true, false}
end)
InitPTAIChars()
//i really shouldnt have to do this
addHook("NetVars", function(net)
	PizzaTowerAICandidates = net(PizzaTowerAICandidates)
end)