Okay, so in my main timeline, I have this:But for some reason, neither of the functions activate. They worked fine until I added the if statements. Does anybody know what might be causing this? Thanks in advance.Code:gameover = false if(follower.hitTest(target)) { gameover=true gotoAndStop(2); clearInterval(NormEnemy); clearInterval(GreenEnemy); clearInterval(PacEnemy); clearInterval(IshEnemy); clearInterval(RainbowEnemy); clearInterval(DylEnemy); clearInterval(lolEnemy); } if (gameover=false) {DestroyEnemy=setInterval(KillEnemy, 10000); function KillEnemy () { removeMovieClip(follower) } } else if (gameover=true) {{FastKillEnemy=setInterval(FKillEnemy, 1); function FKillEnemy () { removeMovieClip(follower)}}}




Reply With Quote
