I'm so noob at construct 2. It works but I'm having a second thought if I really did this right.
Develop games in your browser. Powerful, performant & highly capable.
you did not explain what are you trying to do but looking at your code i can say you could use families for the monsters so you use less events-loops
see here https://www.scirra.com/manual/142/families
also take a look at functions https://www.scirra.com/manual/149/function