Here's a test level:
In the test level, the green rupee gives you the normal magic bar, the blue one gives you the double magic bar, the red one deletes the magic bar, the pendant increases your magic by 1 MP and the Tinsuit (enemy from Zelda 2) reduces it by 1 MP.
Also don't pay attention to the other stuff in scflash.png, I'll use it for something else.
The magic bar GFX was made by me, you can use another one but you'll have to change the script (PM me if you need help).
No credit needed for use, even though it would be appreciated.

Screenshots:
- Spoiler




