I've now (more-or-less) finished the battle system with not only attacks, but item usage, guarding and escaping from battle also working. Not to mention the addition of attack effects, both visual and audial...
...which means I can now move on to making the first town with its buildings, shops, NPCs and dialogue.