I have created a battle algorithm based on ff6 as a template. I still have to determine rows, multiple enemy selection, and speed vs. turns. But, as far as everything else, it's pretty sick. The downside is that I had to define all of my custom attributes in the database and their relative classes. It's a real pain, but it's well worth the effort to get a nice low stat starting game if you are interested. Just let me know if you want to take a look. It's pretty alpha still(which is why it's not up here), but you will be able to figure it out I'm sure.
If you do want to do it yourself though, take a look in game_battler part 3 at the battle algs.