STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228126
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/82120620?noj=FRM82120620-13DC" width="1" height="1"></div>

- Block Puzzle -.swf

This is the info page for
Flash #13833

(Click the ID number above for more basic data on this flash file.)


Text
:

Sec.

<p align="center"><font face="impact" size="26" color="#8011ee" letterSpacing="0.000000" kerning="1"><b>Ur Name Goes Here</b></font></p>

ActionScript [AS1/AS2]

Frame 1
var savefile = SharedObject.getLocal("musicping"); stopAllSounds(); _root.bytesLoaded = _root.getBytesLoaded(); _root.bytesTotal = _root.getBytesTotal(); _root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal)); _root.percentLoadedText = _root.percentLoaded + "%"; _root.bar.gotoAndStop(percentLoaded); _root.menu = new ContextMenu(); _root.menu.hideBuiltInItems();
Frame 2
if (_root.percentLoaded == 100) { gotoAndStop (3); } else { gotoAndPlay (1); }
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Instance of Symbol 95 MovieClip in Frame 6
onClipEvent (load) { _root.level = 1; _root.grid.gotoAndStop(1); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } timenum = 0; _root.times = "00"; _root.timem = 0; _root.fulltime = 0; refreshwait = 0; restart = 0; _root.seconds = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(1); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 113 MovieClip in Frame 6
onClipEvent (load) { music = 1; } on (press) { music++; if (music == 1) { _root.music.play(); this.gotoAndStop(1); } else if (music == 2) { _root.music.stop(); this.gotoAndStop(2); music = 0; } }
Instance of Symbol 115 MovieClip in Frame 6
onClipEvent (load) { qdown = 0; quality = 3; } onClipEvent (enterFrame) { if (Key.isDown(81)) { if (qdown == 0) { qdown = 1; if (quality < 3) { quality++; } else { quality = 1; } } } if (qdown == 1) { if (!Key.isDown(81)) { qdown = 0; } } if (quality == 3) { _quality = "HIGH"; } else if (quality == 1) { _quality = "LOW"; } else if (quality == 2) { _quality = "MEDIUM"; } }
Instance of Symbol 95 MovieClip in Frame 7
onClipEvent (load) { _root.level = 2; _root.grid.gotoAndStop(2); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(2); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 8
onClipEvent (load) { _root.level = 3; _root.grid.gotoAndStop(3); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(3); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 9
onClipEvent (load) { _root.level = 4; _root.grid.gotoAndStop(4); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(4); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 10
onClipEvent (load) { _root.level = 5; _root.grid.gotoAndStop(5); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(5); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 11
onClipEvent (load) { _root.level = 6; _root.grid.gotoAndStop(6); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(6); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 12
onClipEvent (load) { _root.level = 7; _root.grid.gotoAndStop(7); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(7); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 13
onClipEvent (load) { _root.level = 8; _root.grid.gotoAndStop(8); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(8); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 14
onClipEvent (load) { _root.level = 9; _root.grid.gotoAndStop(9); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(9); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 15
onClipEvent (load) { _root.level = 10; _root.grid.gotoAndStop(10); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(10); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 16
onClipEvent (load) { _root.level = 11; _root.grid.gotoAndStop(11); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(11); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 17
onClipEvent (load) { _root.level = 12; _root.grid.gotoAndStop(12); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(12); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 18
onClipEvent (load) { _root.level = 13; _root.grid.gotoAndStop(13); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(13); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 19
onClipEvent (load) { _root.level = 14; _root.grid.gotoAndStop(14); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(14); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (load) { _root.level = 15; _root.grid.gotoAndStop(15); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(15); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 21
onClipEvent (load) { _root.level = 16; _root.grid.gotoAndStop(16); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(16); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 22
onClipEvent (load) { _root.level = 17; _root.grid.gotoAndStop(17); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(17); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 23
onClipEvent (load) { _root.level = 18; _root.grid.gotoAndStop(18); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(18); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 24
onClipEvent (load) { _root.level = 19; _root.grid.gotoAndStop(19); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(19); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Instance of Symbol 95 MovieClip in Frame 25
onClipEvent (load) { _root.level = 20; _root.grid.gotoAndStop(20); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; timenum = 0; } onClipEvent (enterFrame) { _root.fulltime = (_root.timem + ":") + _root.times; timenum++; if (timenum == 45) { _root.times++; _root.seconds++; if ((_root.times > -1) and (_root.times < 10)) { _root.times = "0" + _root.times; } timenum = 0; } if (_root.times == 60) { _root.times = "00"; _root.timem++; } if (win == 1) { _root.slide.play(); winwait++; if (winwait == 1) { _root.slide.play(); } if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (restart == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } } if (win == 0) { if (Key.isDown(17)) { restart = 1; } } if (restart == 1) { refreshwait++; if (refreshwait == 1) { _root.slide.gotoAndPlay(1); } if (refreshwait > 30) { _root.grid.gotoAndStop(20); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } refreshwait = 0; restart = 0; } } }
Frame 26
stop(); submit._visible = true; submit.onRelease = function () { ab20_09 = new LoadVars(); ab20_09.z = namevar.text; ab20_09.x = _root.seconds; ab20_09.c = 806; ab20_09.v = "LFHYPA"; ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST"); this._visible = false; getURL ("http://www.armorbot.com/mytable/?id=806", _blank); gotoAndStop (5); };
Instance of Symbol 95 MovieClip in Frame 26
onClipEvent (load) { _root.grid.gotoAndStop(15); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } } onClipEvent (enterFrame) { if (win == 1) { winwait++; if (winwait > 30) { _root.nextFrame(); } } if (_root.block1.hitTest(_root.grid.win)) { if (bmovetime == 11) { if (_root.block1._currentframe == 1) { _root.block1.gotoAndStop(2); win = 1; } } } else if (_root.block1._currentframe == 2) { _root.block1.gotoAndStop(1); } i = 1; while (i < maxblocks) { _root.blocks["b" + i]._x = _root["block" + i]._x - _root.blocks._x; _root.blocks["b" + i]._y = _root["block" + i]._y - _root.blocks._y; i++; } if (win == 0) { if (bmovetime == 11) { if (movetime == 11) { if ((!Key.isDown(39)) and ((!Key.isDown(37)) and ((!Key.isDown(40)) and (!Key.isDown(38))))) { lastkey = 0; } if (Key.isDown(32)) { if (lastkey == 1) { if (_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 20), _root.char._y, true)) { pushblock = 1; bmovetime--; start = 0; } } } } else if (lastkey == 2) { if (_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (_root.grid.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 20), _root.char._y, true)) { pushblock = 2; bmovetime--; start = 0; } } } } else if (lastkey == 3) { if (_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 20), true)) { pushblock = 3; bmovetime--; start = 0; } } } } else if (lastkey == 4) { if (_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 20), true)) { pushblock = 4; bmovetime--; start = 0; } } } } } if (Key.isDown(39) and (!Key.isDown(37))) { lastkey = 1; _root.char.char._rotation = 90; if (_root.grid.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(37) and (!Key.isDown(39))) { lastkey = 2; _root.char.char._rotation = 270; if (_root.grid.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { if (!_root.blocks.hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { movetime--; } } } else if (Key.isDown(40) and (!Key.isDown(38))) { lastkey = 3; _root.char.char._rotation = 180; if (_root.grid.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { movetime--; } } } else if (Key.isDown(38) and (!Key.isDown(40))) { lastkey = 4; _root.char.char._rotation = 0; if (_root.grid.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { if (!_root.blocks.hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { movetime--; } } } } else { if (lastkey == 1) { _root.char._x = _root.char._x + speed; } else if (lastkey == 2) { _root.char._x = _root.char._x - speed; } else if (lastkey == 3) { _root.char._y = _root.char._y + speed; } else if (lastkey == 4) { _root.char._y = _root.char._y - speed; } movetime--; if (movetime == 0) { movetime = 11; } } } if (pushblock == 1) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x + (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x + speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 2) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x - (speed * 10), _root.char._y, true)) { blocknum = i; } i++; } start = 1; } else { _root.char._x = _root.char._x - speed; _root["block" + blocknum]._x = _root["block" + blocknum]._x - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 3) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y + (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y + speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y + speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } else if (pushblock == 4) { if (start == 0) { i = 0; while (i < maxblocks) { if (_root["block" + i].hitTest(_root.char._x, _root.char._y - (speed * 10), true)) { blocknum = i; } i++; } start = 1; } else { _root.char._y = _root.char._y - speed; _root["block" + blocknum]._y = _root["block" + blocknum]._y - speed; bmovetime--; if (bmovetime == 0) { bmovetime = 11; pushblock = 0; } } } } if (win == 0) { if (Key.isDown(17)) { _root.grid.gotoAndStop(15); speed = 5.2; movetime = 11; lastkey = 0; pushblock = 0; bmovetime = 11; start = 0; blocknum = 0; win = 0; winwait = 0; _root.char._x = _root.grid.charstart._x + _root.grid._x; _root.char._y = _root.grid.charstart._y + _root.grid._y; maxblocks = 11; i = 1; while (i < maxblocks) { _root["block" + i]._x = _root.grid[("b" + i) + "start"]._x + _root.grid._x; _root["block" + i]._y = _root.grid[("b" + i) + "start"]._y + _root.grid._y; i++; } } } }
Symbol 21 MovieClip Frame 1
function camControl() { parentColor.setTransform(camColor.getTransform()); var _local4 = sX / this._width; var _local3 = sY / this._height; _parent._x = cX - (this._x * _local4); _parent._y = cY - (this._y * _local3); _parent._xscale = 100 * _local4; _parent._yscale = 100 * _local3; } function resetStage() { var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; parentColor.setTransform(_local2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage;
Symbol 22 Button
on (release) { getURL ("http://www.armorgames.com", "blank"); }
Symbol 29 MovieClip Frame 148
_root.play();
Symbol 33 MovieClip Frame 205
_root.nextFrame();
Symbol 40 Button
on (press) { nextFrame(); }
Symbol 42 Button
on (press) { gotoAndStop (27); }
Symbol 44 Button
on (press) { getURL ("http://www.armorbot.com/mytable/?id=806", _blank); }
Symbol 46 Button
on (press) { getURL ("http://www.armorgames.com", _blank); }
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
stop();
Symbol 85 MovieClip Frame 3
stop();
Symbol 85 MovieClip Frame 4
stop();
Symbol 85 MovieClip Frame 5
stop();
Symbol 85 MovieClip Frame 6
stop();
Symbol 85 MovieClip Frame 7
stop();
Symbol 85 MovieClip Frame 8
stop();
Symbol 85 MovieClip Frame 9
stop();
Symbol 85 MovieClip Frame 10
stop();
Symbol 85 MovieClip Frame 11
stop();
Symbol 85 MovieClip Frame 12
stop();
Symbol 85 MovieClip Frame 13
stop();
Symbol 85 MovieClip Frame 14
stop();
Symbol 85 MovieClip Frame 15
stop();
Symbol 85 MovieClip Frame 16
stop();
Symbol 85 MovieClip Frame 17
stop();
Symbol 85 MovieClip Frame 18
stop();
Symbol 85 MovieClip Frame 19
stop();
Symbol 85 MovieClip Frame 20
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 3476
gotoAndPlay (1);
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
stop();
Symbol 145 Button
on (press) { gotoAndStop (5); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:6
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:6
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:2 4 5Used by:16 29
Symbol 7 GraphicUsed by:16
Symbol 8 ShapeTweeningUsed by:16
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:16
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:16
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:16
Symbol 15 GraphicUsed by:16 22
Symbol 16 MovieClipUses:6 7 8 10 12 14 15Used by:Timeline
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:Timeline
Symbol 19 GraphicUsed by:Timeline
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:Timeline
Symbol 22 ButtonUses:15Used by:29
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:29
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:29
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:29
Symbol 29 MovieClipUses:6 22 24 26 28 SS1Used by:Timeline
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:31 32 SS2Used by:Timeline
Symbol 34 GraphicUsed by:Timeline
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:Timeline
Symbol 37 GraphicUsed by:40
Symbol 38 GraphicUsed by:39 40 42 44 46 131 145
Symbol 39 MovieClipUses:38Used by:40 42 44 46 131 145  Timeline
Symbol 40 ButtonUses:37 39 38Used by:Timeline
Symbol 41 GraphicUsed by:42
Symbol 42 ButtonUses:41 39 38Used by:Timeline
Symbol 43 GraphicUsed by:44
Symbol 44 ButtonUses:43 39 38Used by:Timeline
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:45 39 38Used by:Timeline
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47 SS3Used by:Timeline
Symbol 49 GraphicUsed by:Timeline
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:Timeline
Symbol 52 GraphicUsed by:55 118 121
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:55
Symbol 55 MovieClipUses:52 54Used by:Timeline
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:58
Symbol 58 MovieClipUses:57Used by:Timeline
Symbol 59 GraphicUsed by:85
Symbol 60 GraphicUsed by:85
Symbol 61 GraphicUsed by:85
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:85
Symbol 64 GraphicUsed by:85
Symbol 65 GraphicUsed by:85
Symbol 66 GraphicUsed by:85
Symbol 67 GraphicUsed by:85
Symbol 68 GraphicUsed by:85
Symbol 69 GraphicUsed by:85
Symbol 70 GraphicUsed by:85
Symbol 71 GraphicUsed by:85
Symbol 72 GraphicUsed by:85
Symbol 73 GraphicUsed by:85
Symbol 74 GraphicUsed by:85
Symbol 75 GraphicUsed by:85
Symbol 76 GraphicUsed by:85
Symbol 77 GraphicUsed by:85
Symbol 78 GraphicUsed by:85
Symbol 79 GraphicUsed by:85
Symbol 80 GraphicUsed by:85
Symbol 81 GraphicUsed by:85
Symbol 82 GraphicUsed by:85
Symbol 83 GraphicUsed by:85
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:59 60 61 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84Used by:Timeline
Symbol 86 GraphicUsed by:87 141
Symbol 87 MovieClipUses:86Used by:Timeline
Symbol 88 GraphicUsed by:90 138
Symbol 89 GraphicUsed by:90 139
Symbol 90 MovieClipUses:88 89Used by:Timeline
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:93 140
Symbol 93 MovieClipUses:92Used by:Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:Timeline
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:98
Symbol 98 MovieClipUses:97Used by:Timeline
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:Timeline
Symbol 101 FontUsed by:102 103 104 105 106 108 127 128 129
Symbol 102 EditableTextUses:101Used by:Timeline
Symbol 103 EditableTextUses:101Used by:Timeline
Symbol 104 EditableTextUses:101Used by:Timeline
Symbol 105 EditableTextUses:101Used by:Timeline
Symbol 106 EditableTextUses:101Used by:Timeline
Symbol 107 GraphicUsed by:Timeline
Symbol 108 EditableTextUses:101Used by:Timeline
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109 SS4Used by:Timeline
Symbol 111 GraphicUsed by:113
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:111 112Used by:Timeline
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:Timeline
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:118
Symbol 118 MovieClipUses:52 117Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:121
Symbol 121 MovieClipUses:52 120Used by:Timeline
Symbol 122 GraphicUsed by:Timeline
Symbol 123 GraphicUsed by:Timeline
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:Timeline
Symbol 126 GraphicUsed by:Timeline
Symbol 127 TextUses:101Used by:Timeline
Symbol 128 EditableTextUses:101Used by:Timeline
Symbol 129 EditableTextUses:101Used by:Timeline
Symbol 130 GraphicUsed by:131
Symbol 131 ButtonUses:130 39 38Used by:Timeline
Symbol 132 GraphicUsed by:Timeline
Symbol 133 GraphicUsed by:Timeline
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:Timeline
Symbol 136 GraphicUsed by:142
Symbol 137 GraphicUsed by:139
Symbol 138 MovieClipUses:88Used by:139
Symbol 139 MovieClipUses:137 138 89Used by:142
Symbol 140 MovieClipUses:92Used by:142
Symbol 141 MovieClipUses:86Used by:142
Symbol 142 MovieClipUses:136 139 140 141Used by:Timeline
Symbol 143 GraphicUsed by:Timeline
Symbol 144 GraphicUsed by:145
Symbol 145 ButtonUses:144 39 38Used by:Timeline
Streaming Sound 1Used by:Symbol 29 MovieClip
Streaming Sound 2Used by:Symbol 33 MovieClip
Streaming Sound 3Used by:Symbol 48 MovieClip
Streaming Sound 4Used by:Symbol 110 MovieClip

Instance Names

"bar"Frame 1Symbol 16 MovieClip
"agmove"Frame 3Symbol 29 MovieClip
"blocks"Frame 6Symbol 58 MovieClip
"grid"Frame 6Symbol 85 MovieClip
"block2"Frame 6Symbol 87 MovieClip
"block3"Frame 6Symbol 87 MovieClip
"block4"Frame 6Symbol 87 MovieClip
"block1"Frame 6Symbol 90 MovieClip
"block6"Frame 6Symbol 87 MovieClip
"block5"Frame 6Symbol 87 MovieClip
"block7"Frame 6Symbol 87 MovieClip
"block9"Frame 6Symbol 87 MovieClip
"block8"Frame 6Symbol 87 MovieClip
"block10"Frame 6Symbol 87 MovieClip
"char"Frame 6Symbol 93 MovieClip
"slide"Frame 6Symbol 98 MovieClip
"music"Frame 6Symbol 110 MovieClip
"namevar"Frame 26Symbol 129 EditableText
"submit"Frame 26Symbol 131 Button
"b1"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b2"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b3"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b4"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b5"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b6"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b7"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b8"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b9"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b10"Symbol 58 MovieClip Frame 1Symbol 57 MovieClip
"b1start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b2start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b3start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b4start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"charstart"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b5start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b6start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b7start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b8start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b9start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"b10start"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"win"Symbol 85 MovieClip Frame 1Symbol 63 MovieClip
"charstart"Symbol 85 MovieClip Frame 3Symbol 63 MovieClip
"b8start"Symbol 85 MovieClip Frame 8Symbol 63 MovieClip
"b9start"Symbol 85 MovieClip Frame 8Symbol 63 MovieClip
"b10start"Symbol 85 MovieClip Frame 8Symbol 63 MovieClip
"b7start"Symbol 85 MovieClip Frame 13Symbol 63 MovieClip
"b9start"Symbol 85 MovieClip Frame 14Symbol 63 MovieClip
"b10start"Symbol 85 MovieClip Frame 14Symbol 63 MovieClip
"win"Symbol 85 MovieClip Frame 14Symbol 63 MovieClip
"b8start"Symbol 85 MovieClip Frame 15Symbol 63 MovieClip
"char"Symbol 93 MovieClip Frame 1Symbol 92 MovieClip
"char"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Dynamic Text Variables

levelSymbol 102 EditableText""
timesSymbol 103 EditableText""
timemSymbol 105 EditableText""
fulltimeSymbol 106 EditableText""
secondsSymbol 108 EditableText""
secondsSymbol 128 EditableText""




http://swfchan.com/3/13833/info.shtml
Created: 4/6 -2019 06:33:06 Last modified: 4/6 -2019 06:33:06 Server time: 13/05 -2024 09:21:14