>>18810815>>18815218The game was capable of storing pokémon from levels 0-255; it's just that there was code that would prevent a lv100 pokémon from levelling up. If you somehow got a mon higher than lv100, such as through the Missingno. glitch, then you could keep feeding them Rare Candies until their level looped around (but certain stuff like storing them in the box would cap it to 100 again).
Later games had more memory space, and were able to build in the lv100 cap in properly.