alloc_skin uses MAX_SKINS instead of a hardcoded number