home *** CD-ROM | disk | FTP | other *** search
- if(getProperty("_root.BackgroundMC", _X) + _X > 0 and getProperty("_root.BackgroundMC", _X) + _X < 450 and getProperty("_root.BackgroundMC", _Y) + _Y > 0 and getProperty("_root.BackgroundMC", _Y) + _Y < 300)
- {
- if(eval("_root.codeMC:state") != "dead")
- {
- if(this.hittest(_root.playerMC))
- {
- set("_root.codeMC:enemyCol","on");
- }
- }
- }
-