This weekend I've rushed through to finish the battle system, cutting corners with spells and items, but the time ran out almost when I was about to cross the finish line.
The code is functional and can be added to a game, but there are some parts I need to improve before I can call it done. Next weekend I'll finish this one, and if I have any time left, I'll start working on my next idea.
Code is in the attachments, give it a try