//Custom maps
freeslot(
"MT_STARBUSH",
"MT_GLS1B",
"MT_GLS1A",
"MT_GLS2A",
"MT_GLS2B",
"MT_GLS3A",
"MT_GLS4A",
"MT_KHF4A",
"MT_RWZ1",
"MT_RWZ2",
"MT_PTZSHROOM1",
"MT_KOOPSTATUE",
"MT_GOOMSTATUE",
"MT_SM2POT",
"MT_SM2BIGPOT",
"MT_MARCORAL2",
"MT_REDMFLOWER",
"MT_YELLOWMFLOWER",
"MT_BLUEMFLOWER"
)

//Mario
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $&~MF_NOCLIP
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_EXPLODE
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_shattr
end,MT_SM2POT)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $&~MF_NOCLIP
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_EXPLODE
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_shattr
end,MT_SM2BIGPOT)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $&~MF_NOCLIP
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_MEDIUMBUBBLE
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_MARCORAL2)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW
	mo.info.painchance = MT_TRDB2
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_KOOPSTATUE)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW
	mo.info.painchance = MT_TRDB2
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_GOOMSTATUE)
addHook("MapThingSpawn", function(mo, mp)
	mo.height = TICRATE*16
	mo.radius = TICRATE*16
	mo.flags = $&~MF_NOCLIP
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_NULL
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_REDMFLOWER)
addHook("MapThingSpawn", function(mo, mp)
	mo.height = TICRATE*16
	mo.radius = TICRATE*16
	mo.flags = $&~MF_NOCLIP
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_NULL
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_YELLOWMFLOWER)
addHook("MapThingSpawn", function(mo, mp)
	mo.height = TICRATE*16
	mo.radius = TICRATE*16
	mo.flags = $&~MF_NOCLIP
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_NULL
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_BLUEMFLOWER)
addHook("MapThingSpawn", function(mo, mp)
	mo.height = TICRATE*16
	mo.radius = TICRATE*16
	mo.flags = $&~MF_NOCLIP
	mo.flags = $|MF_SHOOTABLE
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_PPS4
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_PTZSHROOM1)

//Neo Palm Tree
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOBLOCKMAP
	mo.flags = $&~MF_NOCLIP
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_TWLEAF
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_STARBUSH)

//Extra
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.height = FRACUNIT*12
	mo.radius = FRACUNIT*12
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_TWLEAF
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_GLS2A)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.height = FRACUNIT*12
	mo.radius = FRACUNIT*12
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_TWLEAF
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_GLS2B)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.height = FRACUNIT*12
	mo.radius = FRACUNIT*12
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_TWLEAF
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_GLS1A)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.height = FRACUNIT*12
	mo.radius = FRACUNIT*12
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_TWLEAF
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_GLS1B)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.height = FRACUNIT*12
	mo.radius = FRACUNIT*12
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_TWLEAF
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_GLS3A)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.height = FRACUNIT*12
	mo.radius = FRACUNIT*12
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_TWLEAF
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_GLS4A)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.height = FRACUNIT*12
	mo.radius = FRACUNIT*12
	mo.info.deathstate = S_TAZW2
	mo.info.painchance = MT_TWLEAF
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_KHF4A)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.info.deathstate = S_TAZW
	mo.info.painchance = MT_TWDB
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_RWZ1)
addHook("MapThingSpawn", function(mo, mp)
	mo.flags = $|MF_SOLID
	mo.flags = $|MF_SHOOTABLE
	mo.flags = $&~MF_NOCLIP
	mo.info.deathstate = S_TAZW
	mo.info.painchance = MT_TWDB
	mo.info.reactiontime = 100
	mo.info.deathsound = sfx_wbreak
end,MT_RWZ2)