This project showcases you encountering and battling a Smorg (look it up-it's from Paper Mario). I cobbled the simple RPG engine together by myself, but I'm not that proud of it. Press Z while you are hovering over a bit of the Smorg to reload its position. You can also click and drag the parts. This is purely cosmetic. By the way, mushrooms heal 10 HP each.
Please tell me if you are using this battle engine or a variation of it. I'd love to see your work!