home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / FlashGauntlet.swf / scripts / DefineSprite_148 / frame_25 / DoAction.as
Encoding:
Text File  |  2001-07-14  |  724 b   |  17 lines

  1. if(this.hitTest(_root.bound1) || this.hitTest(_root.bound2) || this.hitTest(_root.bound3) || this.hitTest(_root.bound4))
  2. {
  3.    setProperty(_root.player, _Y, _root.player._y - 5);
  4. }
  5. if(this.hitTest(_root.wall1) || this.hitTest(_root.wall2) || this.hitTest(_root.wall3) || this.hitTest(_root.wall4))
  6. {
  7.    setProperty(_root.player, _Y, _root.player._y - 5);
  8. }
  9. if(this.hitTest(_root.wall5) || this.hitTest(_root.wall6) || this.hitTest(_root.wall7) || this.hitTest(_root.wall8))
  10. {
  11.    setProperty(_root.player, _Y, _root.player._y - 5);
  12. }
  13. if(this.hitTest(_root.door1) || this.hitTest(_root.door2) || this.hitTest(_root.door3) || this.hitTest(_root.door4))
  14. {
  15.    setProperty(_root.player, _Y, _root.player._y - 5);
  16. }
  17.