# RPG game logic help!

**URL:** <https://forum.kirupa.com/t/rpg-game-logic-help/327699>\
**Category:** Uncategorized\
**Created:** [March 21, 2012, 11:18am UTC](https://forum.kirupa.com/t/rpg-game-logic-help/327699 "2012-03-21T11:18:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raphaelle](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@raphaelle](https://forum.kirupa.com/u/raphaelle)\
**Post date:** [March 21, 2012, 11:18am UTC](https://forum.kirupa.com/t/rpg-game-logic-help/327699/1 "2012-03-21T11:18:47Z")

</div>

Good day,

Im working on a RPG turn based game(classical) in flash as3 using flash cs5.5  
and i got some errors on battle system…

i wish that u could help me with my problems. thanks a lot in advance.

Problem :

Turn Based battle system

(i got some errors here)

adding more enemies on the stage.

my enemy is not actually random but i rather placed it directly on the stage and when I touch it and press space key will proceed to battle frame. now i got some weird error on this.(but no error if i removed the second enemy). please hope you guys help me with this thing. i search the net and i got nothing, so please even a hint on the problem willl be much appreciated. thanks in advance.

cheers,  
raphaelle
