I can usually be tricked into helping if the questions are small and evenly spaced out. (Heh...)
Let's start with a simplified battle system shell. The basic idea is to organize everything into smaller, easier to deal with methods (which in turn can be broken down further, and so on). This is sort of how DAX's battle system is set up:
initialize()
battleover! = 0
while(battleover! = 0)
{
playerturn()
enemyturn()
}
endbattle()
That's it! Well, not really. (Heh...) But the problem has been broken down into smaller parts. Were to you want to go from here? We could do the basics of a one-on-one battle system, just to get you used to things. Or, we could do multiple players and enemies, which people tend to have trouble with.