When is it my turn? - RPG Turn Order question

It works with just one player character and one enemy character, so far. I’m just not sure how to get the program to work properly with multiple characters. The demo will have one party member and battles will have up to five enemies.