
freeslot(
	"SPR_PWSH",
	"SPR_CWSH",
	"SPR_DWSH",
	"SPR_EWSH",
	"SPR_FWSH",
	"MT_NEONPORTRAIT08",
	"S_NEONPORTRAIT08A",
	"S_NEONPORTRAIT08B",
	"MT_NEONPORTRAIT15",
	"S_NEONPORTRAIT15A",
	"S_NEONPORTRAIT15B",
	"MT_NEONPORTRAIT16",
	"S_NEONPORTRAIT16A"	
)

mobjinfo[MT_NEONPORTRAIT08] = {
	doomednum = 4035,
	spawnstate = S_NEONPORTRAIT08A,
	flags = MF_SCENERY|MF_NOGRAVITY
}
states[S_NEONPORTRAIT08A] = {SPR_EWSH, A|FF_ANIMATE|FF_PAPERSPRITE|FF_ADD, 52, A_None, 26, 2, S_NEONPORTRAIT08B}
states[S_NEONPORTRAIT08B] = {SPR_FWSH, A|FF_ANIMATE|FF_PAPERSPRITE|FF_ADD, 20, A_None, 10, 2, S_NEONPORTRAIT08A}

mobjinfo[MT_NEONPORTRAIT15] = {
	doomednum = 4044,
	radius = 0,
	height = 0,
	spawnstate = S_NEONPORTRAIT15A,
	flags = MF_SCENERY|MF_NOGRAVITY
}


states[S_NEONPORTRAIT15A] = {SPR_CWSH, A|FF_ANIMATE|FF_PAPERSPRITE|FF_ADD, 52, A_None, 26, 2, S_NEONPORTRAIT15B}
states[S_NEONPORTRAIT15B] = {SPR_DWSH, A|FF_ANIMATE|FF_PAPERSPRITE|FF_ADD, 20, A_None, 10, 2, S_NEONPORTRAIT15A}

mobjinfo[MT_NEONPORTRAIT16] = {
	doomednum = 4036,
	radius = 0,
	height = 0,
	spawnstate = S_NEONPORTRAIT16A,
	flags = MF_SCENERY|MF_NOGRAVITY|MF_NOTHINK
}


states[S_NEONPORTRAIT16A] = {SPR_PWSH, A|FF_PAPERSPRITE|FF_ADD, 1, A_None, 0, 0, S_NEONPORTRAIT16A}


-----------------------------------------
/*
local WonderVar = CV_RegisterVar({
	name = "Wishing Wonders Version",
	defaultvalue = "0",
	description = "(0 = Original/Fidelity, 1 = FPS Rehaul)",
	flags = CV_NETVAR,
	PossibleValue = {MIN = 0,MAX = 1},
})

addHook("MapLoad", do
	for player in players.iterate
		
			if WonderVar.value == 1
			and player.WondersCheat == nil
				player.WondersCheat = true
			end
			
			if WonderVar.value == 1 and mapheaderinfo[gamemap].wishingwonders
			and player.WondersCheat == true
				local wonders2 = G_FindMapByNameOrCode("RR_wishingwonders_2")

				COM_BufInsertText(player,"map "+wonders2)
				CONS_Printf(player, "\128You are now playing the\136 FPS Overhaul\128 version of \131Wishing Wonders.")
			end
			
			if WonderVar.value == 0 and mapheaderinfo[gamemap].wishingwonders2
			and player.WondersCheat == true
				local wonders = G_FindMapByNameOrCode("RR_wishingwonders")
				
				COM_BufInsertText(player,"map "+wonders)
				CONS_Printf(player, "\128You are now playing the\135 Original/Fidelity\128 version of \131Wishing Wonders.")

			end
		
		if not (player.mo and player.mo.valid and player.leveleffects == nil and (mapheaderinfo[gamemap].wishingwonders or mapheaderinfo[gamemap].wishingwonders2))  return end
		CONS_Printf(player, "\129  _.-*-._.-*-._.-*-._.-*-._.-*-._")
		CONS_Printf(player, "\129 |\130 Wishing Wonders (Console Menu)\129|")
		CONS_Printf(player, "\129  _.-*-._.-*-._.-*-._.-*-._.-*-._")
		CONS_Printf(player, "\130** \128Use '\131wish' \128or '\131wish off' \128in Console to disable heavy level special effects.")
		CONS_Printf(player, "\130** \128Use '\131wish on' \128in Console to change it back if your game performance can handle it.")
		CONS_Printf(player, "\130** \128Using the '\135Cheats\128' can also toggle these, however, doing so will '\135disable\128' these console commands.")
	end
end
)


	
COM_AddCommand("wish", function(player,command)
	if not (player.mo and player.mo.valid and (mapheaderinfo[gamemap].wishingwonders or mapheaderinfo[gamemap].wishingwonders2)) 
		CONS_Printf(player, "\128Please use this command only in the \131Wishing Wonders\128 level.")
	return end
	if player.WondersCheat != nil
		CONS_Printf(player, "\128Please use the '\135Cheats\128' menu to toggle this command.")
	return end
	
	if player.leveleffects == nil	
	or (player.leveleffects == true
	and command == "off")
		player.leveleffects = false
		
		local wonders2 = G_FindMapByNameOrCode("RR_wishingwonders_2")
		COM_BufInsertText(player,"map "+wonders2)
		CONS_Printf(player, "\128You are now playing the\136 FPS Overhaul\128 version of \131Wishing Wonders.")
	end
	
	if player.leveleffects == nil	
	or (player.leveleffects == false
	and command == "on")
		player.leveleffects = true
		
		local wonders = G_FindMapByNameOrCode("RR_wishingwonders")
		COM_BufInsertText(player,"map "+wonders)
		CONS_Printf(player, "\128You are now playing the\135 Original/Fidelity\128 version of \131Wishing Wonders.")
	end
end
)
*/