Potions of many kinds were scattered throughout the dungeons and found in chests. To play on mobile they had to be efficient.
Markus wrote unlit vertex shaders with built-in level and colour properties for speed and versatility to run well even on older devices.