The last enemy not appears

hello (:,
I’m making a platform game, and i have a problem. iam attaching 11 enemys, and my last enemy not appears.
I a lot of stuff, and finally, I discovered the source of the problem.

on my hero class i wrote this:


[COLOR=#0066CC]_root[/COLOR].[COLOR=#0066CC]_x[/COLOR] -= [COLOR=#66CC66]([/COLOR][COLOR=#0066CC]_root[/COLOR].[COLOR=#0066CC]_x[/COLOR] + [COLOR=#66CC66]([/COLOR][COLOR=#0066CC]_x[/COLOR] - [COLOR=#CC66CC]275[/COLOR][COLOR=#66CC66])[/COLOR][COLOR=#66CC66])[/COLOR] [COLOR=#66CC66]/[/COLOR] [COLOR=#CC66CC]5[/COLOR];

and when i changed it to this:


[COLOR=#0066CC]_root[/COLOR].[COLOR=#0066CC]_x[/COLOR] = -[COLOR=#0066CC]_x[/COLOR];

the last enemy appears!

but i want it to be like this (or the first one):


[COLOR=#0066CC]_root[/COLOR].[COLOR=#0066CC]_x[/COLOR] = -[COLOR=#0066CC]_x[/COLOR]+[COLOR=#CC66CC]300[/COLOR];

but it doesnt work :frowning:
also, i found that if i placed the hero close to the last enemy, the last enemy appears.
Please help me find some answers (: