// --------------------------------------
// Lua_Freeslot
// Freeslots, yaaaaaaaaaay
// --------------------------------------
freeslot(
// Objects
"MT_METAMASK",																// Meta Knight
// Ability objects
"MT_BALLSPARKLE",															// Ball
// Sprites
"SPR_INVS",																	// Garbage
// Kirby sprite2s
"SPR2_TMBL", "SPR2_PUFF", "SPR2_FLOT", "SPR2_DUCK",
"SPR2_SLID", "SPR2_CNSM", "SPR2_ABLG", "SPR2_SUKM", "SPR2_MINE",
// Ability sprites (Use normal sprites rather than sprite2s, as there's quite limited sprite2s)
"SPR_KSPK",														// Ball
// Animations
"S_KIRBY_DUCK", "S_KIRBY_SLIDE",											// Kirby animations
"S_KIRBY_DEATHTUMBLE",
"S_KIRBY_SWIM",
"S_KIRBY_MINECART",
// States
"S_METAMASK",																// Meta Knight
// Ability animations
"S_BALLSPARKLE1", "S_BALLSPARKLE2", "S_BALLSPARKLE3", "S_BALLSPARKLE4", "S_BALLSPARKLE5",
"S_BALLSPARKLE6", "S_BALLSPARKLE7", "S_BALLSPARKLE8", "S_BALLSPARKLE9",
// Garbage
"S_KIRBYMONINVIS", "S_KIRBYMONWILLDIE",
// Sounds
// General
"sfx_kjump", "sfx_kfloat", "sfx_kland", "sfx_klandb", "sfx_kflat", "sfx_kbrake", "sfx_exhale", "sfx_khurt", "sfx_kheal", "sfx_kbarup",
"sfx_hpwarn", "sfx_kdies", "sfx_kdiet",
// Abilities
"sfx_ablg", "sfx_ablt", "sfx_khurta", "sfx_beam", "sfx_spark", "sfx_rock", "sfx_stone", "sfx_stoneb", "sfx_unrock",
"sfx_sword", "sfx_swords", "sfx_hamers", "sfx_ice", "sfx_klaser", "sfx_hijump", "sfx_tornad", "sfx_mike", "sfx_mike2", "sfx_mikef",
"sfx_ksleep", "sfx_kwkeup", "sfx_kufo")

// Closed captions
sfxinfo[sfx_kjump].caption = "Jump"
sfxinfo[sfx_kfloat].caption = "Float"
sfxinfo[sfx_kland].caption = "Land"
sfxinfo[sfx_klandb].caption = "Land"
sfxinfo[sfx_kflat].caption = "Squish"
sfxinfo[sfx_kbrake].caption = "Skid"
sfxinfo[sfx_exhale].caption = "Air puff"
sfxinfo[sfx_khurt].caption = "Ring loss"
sfxinfo[sfx_kheal].caption = "Healing"
sfxinfo[sfx_kbarup].caption = "/"
sfxinfo[sfx_hpwarn].caption = "Low HP"
sfxinfo[sfx_kdies].caption = "Dying"
sfxinfo[sfx_kdiet].caption = "/"
sfxinfo[sfx_ablg].caption = "Copy ability"
sfxinfo[sfx_ablt].caption = "Ability tossed"
sfxinfo[sfx_khurta].caption = "Ability lost"
sfxinfo[sfx_beam].caption = "Beam"
sfxinfo[sfx_spark].caption = "Spark"
sfxinfo[sfx_rock].caption = "Stone"
sfxinfo[sfx_stone].caption = "Thud"
sfxinfo[sfx_stoneb].caption = "/"	// 3 sounds at the same time garunteed. Probably not the best idea...
sfxinfo[sfx_rock].caption = "Unstoned"
sfxinfo[sfx_sword].caption = "Slash"
sfxinfo[sfx_swords].caption = "Tornado"
sfxinfo[sfx_hamers].caption = "Twirl"
sfxinfo[sfx_ice].caption = "Ice"
sfxinfo[sfx_klaser].caption = "Laser"
sfxinfo[sfx_hijump].caption = "Boing"
sfxinfo[sfx_tornad].caption = "Motor"
sfxinfo[sfx_mike].caption = "Loud scream"
sfxinfo[sfx_mike2].caption = "Ear peircing shout"
sfxinfo[sfx_mikef].caption = "Ear bleeding scream"
sfxinfo[sfx_ksleep].caption = "Peaceful sleeping"
sfxinfo[sfx_kwkeup].caption = "Rude awakening"

local usepriority = 96
local snum = sfx_kjump
while(snum <= sfx_kufo)
	sfxinfo[snum].priority = usepriority
	snum = $1 + 1
end
