Can you reply in my thread too?
you mean this: Comparing X coordinates of player and enemy?
I briefly looked through it, but the wall of text stopped me
Think you should post a small capx that has your error inside it, then its much easier to look at and debug instead of reading a lot of text and not quite knowing what you want to achieve. (thats just my personal preference, i like to look at a capx, makes it easier to answer questions)