//Hyper color stuff originally by Frostiikin, part of XMomentum 1.2
freeslot(
"SKINCOLOR_SUPER_HYPERMET_1",
"SKINCOLOR_SUPER_HYPERMET_2",
"SKINCOLOR_SUPER_HYPERMET_3",
"SKINCOLOR_SUPER_HYPERMET_4",
"SKINCOLOR_SUPER_HYPERMET_5",
"SKINCOLOR_HYPERMETALSONIC"
)

skincolors[SKINCOLOR_SUPER_HYPERMET_1] = {
    name = "Super Hypermet 1",
    ramp = {148,149,150,153,154,154,155,156,156,157,157,158,159,159,253,254},
    invcolor = SKINCOLOR_ORANGE,
    invshade = 9,
    chatcolor = V_BLUEMAP,
    accessible = false
}

skincolors[SKINCOLOR_SUPER_HYPERMET_2] = {
    name = "Super Hypermet 2",
    ramp = {146,147,148,148,149,149,150,166,167,167,167,167,168,168,158,158},
    invcolor = SKINCOLOR_ORANGE,
    invshade = 9,
    chatcolor = V_BLUEMAP,
    accessible = false
}

skincolors[SKINCOLOR_SUPER_HYPERMET_3] = {
    name = "Super Hypermet 3",
    ramp = {177,161,161,162,163,163,163,163,166,166,166,167,167,167,167,168},
    invcolor = SKINCOLOR_ORANGE,
    invshade = 9,
    chatcolor = V_BLUEMAP,
    accessible = false
}

skincolors[SKINCOLOR_SUPER_HYPERMET_4] = {
    name = "Super Hypermet 4",
    ramp = {176,176,160,161,161,162,162,163,163,163,166,166,167,167,167,168},
    invcolor = SKINCOLOR_ORANGE,
    invshade = 9,
    chatcolor = V_BLUEMAP,
    accessible = false
}

skincolors[SKINCOLOR_SUPER_HYPERMET_5] = {
    name = "Super Hypermet 5",
    ramp = {176,176,177,178,179,179,180,180,182,183,183,184,184,184,184,185},
    invcolor = SKINCOLOR_ORANGE,
    invshade = 9,
    chatcolor = V_BLUEMAP,
    accessible = false
}

skincolors[SKINCOLOR_HYPERMETALSONIC] = {
    name = "HMS",
    ramp = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
    accessible = false
}

addHook("ThinkFrame", do
	skincolors[SKINCOLOR_HYPERMETALSONIC].ramp = skincolors[SKINCOLOR_SUPER_HYPERMET_1 + abs( ( (leveltime >> 1) % 9) - 4)].ramp
end)