STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #128192 |
Are you sure that you want to start a new game? |
PAUSE |
HELP |
New Game |
LEVEL |
LIVES |
SCORES |
HI SCORES |
The playing field consists of rectangular blocks, activated and non- activated bombs and bonus flags. From time to time one of the bombs activates. Your goal is to move your sapper to a block with the activated bomb before its fuse stops burning. The sapper moves with the help of arrows. The block he moves through disappears. When the sapper gets to an empty field or to the field with non-activated bomb, the sapper loses a life. As the number of blocks decreases, it will be more and more hard for you to reach the block you need. In this case there are two supplementary keys to help you - Z (or End) and X (Or PgDn). You may revolve the line with your sapper to the left or to the right. One more useful feature is connected to playing field organization. When your sapper leaves the playing field at the left he appears at the right side. If he leaves at the bottom he will appear at the top and vice verse. From the 5th level the non-rotating blocks will appear. |
RULES |
RULES |
BOMB ME BABY |
BOMB ME BABY |
DEMO |
Mouse Click or Press Any Key to Play |
Game Over ! |
Next Level |
Game Paused |
Next Level ! |
Next Level ! |
Congratulations ! You have finished the game |
Congratulations ! You have finished the game |
ActionScript [AS1/AS2]
Frame 1var totalIndex = -1; var picArr = new Array(); var picTime = 3500; _root.maxLev = 6; introMV.gotoAndStop(2); stop();Frame 2stop();Frame 3function Init() { if (this.Inited == undefined) { this.Inited = true; bDemoCreated = false; FPLAYER_VERSION = GetFlashVersion(); HiScores = 0; gotoAndPlay (6); } } function InitGame() { Level.removeMovieClip(); CreateControls(); MsgBar.sLevel = (CurLevel = 1); MsgBar.sLives = (Lives = MAX_LIVES); MsgBar.sScores = (Scores = 0); MsgBar.sHiScores = HiScores; Extra = EL_SCORES; bPaused = (bAnimStarted = (bWait = (bDemoCreated = (bDemoDone = false)))); bGameStarted = true; CreateLevel(); } function CreateLevel() { trace(CurLevel); Level.removeMovieClip(); NLWnd.removeMovieClip(); attachMovie("Game Field", "Level", LEVEL_DP); Level._visible = false; Level._x = FIELD_OFF_X; Level._y = FIELD_OFF_Y; Level._width = FIELD_W; Level._height = FIELD_H; if (curLevel <= 1) { InitLevel(); FillLevel(); Level._visible = true; bPaused = (bWait = (bAnimStarted = false)); Controls.enabled = true; ClearSounds(); gotoAndPlay (4); } else { displayBack2(); } } function InitLevel() { ScrNum = (BTimeDelay = (DBombs = (AnimDelay = (ScrNum = 0)))); MsgBar.sLevel = CurLevel; MsgBar.sLives = Lives; MsgBar.sScores = Scores; MsgBar.sHiScores = HiScores; Level.bWin = (Level.bDead = false); ABomb_x = (ABomb_y = (ABTime = (UMRow = -1))); Bombs = ((MAX_LEVEL < CurLevel) ? 30 : ((CurLevel * 2) + 2)); Level.Bombs = new Array(Bombs); Level.Map = new Array(MAP_H); var _local2 = 0; while (_local2 < MAP_H) { Level.Map[_local2] = new Array(MAP_W); var _local1 = 0; while (_local1 < MAP_W) { Level.Map[_local2][_local1] = new Object(); Level.Map[_local2][_local1].Id = BLOCK_ID; Level.Map[_local2][_local1].Name = ""; _local1++; } _local2++; } _local2 = 0; while (_local2 < Bombs) { GeneratePoint(SSC_X, SSC_Y); Level.Map[Level.y][Level.x].Id = BOMB_ID; Level.Bombs[_local2] = Level.y; _local2++; } GeneratePoint(SSC_X, SSC_Y); Level.Map[Level.y][Level.x].Id = BONUS_ID; Level.LX = (Sapper_x = SSC_X); Level.LY = (Sapper_y = SSC_Y); UMRow = ((MIN_LEVEL < CurLevel) ? (random(MAP_H)) : -1); } function FillLevel() { var dp1 = 0; var dp2 = 0; var _local2 = 0; while (_local2 < MAP_H) { var _local1 = 0; while (_local1 < MAP_W) { if (Level.Map[_local2][_local1].Id == BLOCK_ID) { var _local3 = "Block" + dp1; CreateSprite("Block Clip", _local3, BLOCK_DP + (dp1++), _local2, _local1); if (_local2 == UMRow) { Level[_local3].gotoAndPlay("Unmoveable"); } } else if (Level.Map[_local2][_local1].Id == BOMB_ID) { CreateSprite("Bomb Clip", "Bomb" + dp2, BOMB_DP + dp2, _local2, _local1); dp2++; } else if (Level.Map[_local2][_local1].Id == BONUS_ID) { CreateSprite("Bonus Clip", "Bonus", BONUS_DP, _local2, _local1); } _local1++; } _local2++; } var t = Level.Map[Sapper_y][Sapper_x].Name; CreateSprite("Sapper Clip", "Sapper", SAPPER_DP, Sapper_y, Sapper_x); CreateSprite("Sapper Clip", "Sapper1", SAPPER1_DP, Sapper_y, Sapper_x); CreateSprite("Sapper Clip", "Sapper2", SAPPER2_DP, Sapper_y, Sapper_x); Level.Map[Sapper_y][Sapper_x].Name = t; Level.Sapper1._visible = false; Level.Sapper2._visible = false; Level.Sapper.gotoAndStop("Stop"); Level.Sapper1.gotoAndStop("Stop"); Level.Sapper2.gotoAndStop("Stop"); } function CreateSprite(nm, nm2, dp, y, x) { var _local1 = nm2; var _local2 = y; var _local3 = x; if (bDemoCreated) { Demo.attachMovie(nm, _local1, dp); Demo[_local1]._width = SPRITE_W; Demo[_local1]._height = SPRITE_H; Demo[_local1]._x = SPRITE_W * _local3; Demo[_local1]._y = SPRITE_H * _local2; Demo.Map[_local2][_local3].Name = _local1; } else { Level.attachMovie(nm, _local1, dp); Level[_local1]._width = SPRITE_W; Level[_local1]._height = SPRITE_H; Level[_local1]._x = SPRITE_W * _local3; Level[_local1]._y = SPRITE_H * _local2; Level.Map[_local2][_local3].Name = _local1; } } function GeneratePoint(x, y) { var _local1 = y; var _local2 = x; do { GeneratePoint1(); } while (!((Level.x != _local2) || (Level.y != _local1))); } function GeneratePoint1() { do { Level.x = random(MAP_W); Level.y = random(MAP_H); } while (Level.Map[Level.y][Level.x].Id != BLOCK_ID); } function GeneratePoint2() { do { Level.x = random(MAP_W); Level.y = random(MAP_H); } while (!((Level.Map[Level.y][Level.x].Id == BLOCK_ID) || (Level.Map[Level.y][Level.x] == EMPTY_ID))); } function CheckKeys() { if ((((((Keys == VK_LEFT) || (Keys == VK_RIGHT)) || (Keys == VK_UP)) || (Keys == VK_DOWN)) || (Keys == VK_RRIGHT)) || (Keys == VK_RLEFT)) { return(true); } return(false); } function DeleteBomb(mc) { mc.removeMovieClip(); if (bDemoCreated) { Demo.Map[ABomb_y][ABomb_x].Name = ""; Demo.Map[ABomb_y][ABomb_x].Id = EMPTY_ID; DBombs++; } else { Level.Map[ABomb_y][ABomb_x].Name = ""; Level.Map[ABomb_y][ABomb_x].Id = EMPTY_ID; Level.Bombs[DBombs++] = -1; } ABomb_x = (ABomb_y = (ABTime = -1)); } function RemoveBomb(mc) { mc.removeMovieClip(); } function PlaceSapper() { GeneratePoint1(); Sapper_x = (Level.LX = Level.x); Sapper_y = (Level.LY = Level.y); Level.Sapper._x = Sapper_x * SPRITE_W; Level.Sapper._y = Sapper_y * SPRITE_H; Level.Sapper._visible = true; Level.Sapper.gotoAndStop("Stop"); } function OnTick() { if (!((bPaused == true) || (bWait == true))) { CreateKbdMap(); if (((!bAnimStarted) && (!Level.bWin)) && (!Level.bDead)) { CheckMove(); if ((!bAnimStarted) && (CheckKeys())) { if ((Keys == VK_RRIGHT) || (Keys == VK_RLEFT)) { RotateRow(); } else { ProcessMove(); } } } if (BTimeDelay) { BTimeDelay--; } else { BTimeDelay = BOMB_TIME_DELAY; if (((ABTime > 0) && (!Level.bDead)) && (!Level.bWin)) { Level[Level.Map[ABomb_y][ABomb_x].Name].sTime = --ABTime; if (!(ABTime & 3)) { PlaySound("Timer"); } } else if (((ABTime == 0) && (!Level.bDead)) && (!Level.bWin)) { bAnimStarted = (Level.bDead = true); Level.bSkip = 3; AnimDelay = 15; Level.Sapper.gotoAndPlay("Dead"); Level[Level.Map[ABomb_y][ABomb_x].Name].sTime = ""; Level[Level.Map[ABomb_y][ABomb_x].Name].gotoAndPlay("Explosion"); Level[Level.Map[ABomb_y][ABomb_x].Name].activated = true; } else if (((ABTime < 0) && (!Level.bDead)) && (!Level.bWin)) { var _local1 = Level.Bombs[DBombs]; var _local2 = random(MAP_W); if (Level.Map[_local1][_local2].Id == BOMB_ID) { Level.Map[_local1][_local2].Id = ABOMB_ID; ABomb_x = _local2; ABomb_y = _local1; ABTime = ((MAX_LEVEL < CurLevel) ? (MAX_TIME - (MAX_LEVEL * MAX_MULT)) : (MAX_TIME - (CurLevel * MAX_MULT))); Level[Level.Map[ABomb_y][ABomb_x].Name].activated = true; Level[Level.Map[ABomb_y][ABomb_x].Name].sTime = ABTime; Level[Level.Map[ABomb_y][ABomb_x].Name].gotoAndStop("Fire"); } } } if (bAnimStarted) { AnimDelay--; if (AnimDelay <= 0) { bAnimStarted = false; AnimDelay = 0; } } if (Level.bWin && (!bAnimStarted)) { if (Level.bSkip) { Level.bSkip--; if (CurLevel < maxLev) { CreateWnd("Next Level Window", "NLWnd", NLWND_DP); PlaySound("Next Level"); } else { PlaySound("Game Over"); } } else { AddScores(LC_SCORES * CurLevel, false); CurLevel++; CreateLevel(); } } else if (Level.bDead && (!bAnimStarted)) { if (Level.bSkip) { Level.bSkip--; } else { ABomb_x = (ABomb_y = (ABTime = -1)); Level.bDead = false; MsgBar.sLives = --Lives; if (!Lives) { Halt(); CreateWnd("Game Over Window", "GOWnd", MSGWND_DP); PlaySound("Game Over"); } else { PlaceSapper(); if (Bombs == DBombs) { Level.bWin = true; Level.bSkip = 3; } } } } } } function CreateWnd(cn, nm, dp) { var _local1 = nm; var _local2 = _root; attachMovie(cn, _local1, dp); if (FIELD_W < _local2[_local1]._width) { _local2[_local1]._width = FIELD_W; } if (FIELD_H < _local2[_local1]._height) { _local2[_local1]._height = FIELD_H; } _local2[_local1]._x = FIELD_OFF_X + ((FIELD_W - _local2[_local1]._width) / 2); _local2[_local1]._y = FIELD_OFF_Y + ((FIELD_H - _local2[_local1]._height) / 2); } function CheckMove() { if ((Sapper_x != Level.LX) || (Sapper_y != Level.LY)) { Level.LX = Sapper_x; Level.LY = Sapper_y; } if (Level.Map[Sapper_y][Sapper_x].Id == EMPTY_ID) { Level.Sapper.gotoAndPlay("Dead"); bAnimStarted = (Level.bDead = true); Level.bSkip = 3; AnimDelay = 15; if (ABTime > 0) { Level[Level.Map[ABomb_y][ABomb_x].Name].activated = false; Level[Level.Map[ABomb_y][ABomb_x].Name].sTime = ""; Level[Level.Map[ABomb_y][ABomb_x].Name].gotoAndStop("Stop"); Level.Map[ABomb_y][ABomb_x].Id = BOMB_ID; ABTime = (ABomb_y = (ABomb_x = -1)); } } else if (Level.Map[Sapper_y][Sapper_x].Id == BONUS_ID) { PlaySound("Bonus"); AddScores(BT_SCORES * CurLevel, true); Level[Level.Map[Sapper_y][Sapper_x].Name].removeMovieClip(); Level.Map[Sapper_y][Sapper_x].Name = ""; Level.Map[Sapper_y][Sapper_x].Id = BLOCK_ID; GeneratePoint(Sapper_x, Sapper_y); Level[Level.Map[Level.y][Level.x].Name].removeMovieClip(); CreateSprite("Bonus Clip", "Bonus", BONUS_DP, Level.y, Level.x); Level.Map[Level.y][Level.x].Id = BONUS_ID; } else if (Level.Map[Sapper_y][Sapper_x].Id == ABOMB_ID) { PlaySound("Deactivate"); AddScores(BD_SCORES * CurLevel, true); Level[Level.Map[Sapper_y][Sapper_x].Name].removeMovieClip(); Level.Map[Sapper_y][Sapper_x].Id = BLOCK_ID; Level.Map[Sapper_y][Sapper_x].Name = ""; Level[Level.Map[Sapper_y][Sapper_x].Name].gotoAndStop("Stop"); ABTime = (ABomb_x = (ABomb_y = -1)); Level.Bombs[DBombs++] = -1; if (DBombs == Bombs) { Level.bWin = true; Level.bSkip = 3; } } else if (Level.Map[Sapper_y][Sapper_x].Id == BOMB_ID) { Level.Sapper._visible = false; bAnimStarted = (Level.bDead = true); Level.bSkip = 3; AnimDelay = 15; Level[Level.Map[Sapper_y][Sapper_x].Name].gotoAndPlay("Explosion"); Level[Level.Map[Sapper_y][Sapper_x].Name].activated = false; Level.Map[Sapper_y][Sapper_x].Name = ""; Level.Map[Sapper_y][Sapper_x].Id = EMPTY_ID; Level[Level.Map[ABomb_y][ABomb_x].Name].activated = false; Level[Level.Map[ABomb_y][ABomb_x].Name].sTime = ""; Level.Map[ABomb_y][ABomb_x].Id = BOMB_ID; ABTime = (ABomb_x = (ABomb_y = -1)); var _local1 = 0; while (_local1 < Bombs) { if (Level.Bombs[_local1] == Sapper_y) { break; } _local1++; } Level.Bombs[_local1] = Level.Bombs[Bombs - 1]; Bombs--; } } function AddScores(sc, st) { Scores = Scores + sc; if (HiScores < Scores) { HiScores = Scores; } MsgBar.sScores = Scores; MsgBar.sHiScores = HiScores; if (Scores >= Extra) { MsgBar.sLives = ++Lives; Extra = Extra + EL_SCORES; } if (st) { var _local1 = "SWnd" + ScrNum; Level.attachMovie("Scores Window", _local1, SWND_DP + ScrNum); Level[_local1]._x = Level.Sapper._x + (SPRITE_W / 2); Level[_local1]._y = Level.Sapper._y + (SPRITE_H / 2); Level[_local1].sScores = sc; if ((++ScrNum) > 10) { ScrNum = 0; } } } function RotateRow() { if (UMRow != Sapper_y) { bAnimStarted = true; AnimDelay = MAX_ANIM + 1; if (Keys == VK_RLEFT) { var _local3 = Level.Map[Sapper_y][0].Id; var _local2 = Level.Map[Sapper_y][0].Name; Level[_local2]._visible = false; var _local1 = 0; while (_local1 < (MAP_W - 1)) { Level.Map[Sapper_y][_local1].Id = Level.Map[Sapper_y][_local1 + 1].Id; Level.Map[Sapper_y][_local1].Name = Level.Map[Sapper_y][_local1 + 1].Name; Level[Level.Map[Sapper_y][_local1 + 1].Name]._x = Level[Level.Map[Sapper_y][_local1 + 1].Name]._x - SPRITE_W; _local1++; } Level.Map[Sapper_y][MAP_W - 1].Id = _local3; Level.Map[Sapper_y][MAP_W - 1].Name = _local2; Level[_local2]._x = (MAP_W - 1) * SPRITE_W; Level[_local2]._visible = true; if (Sapper_y == ABomb_y) { ABomb_x = ((!ABomb_x) ? (MAP_W - 1) : (ABomb_x - 1)); } } else { var _local3 = Level.Map[Sapper_y][MAP_W - 1].Id; var _local2 = Level.Map[Sapper_y][MAP_W - 1].Name; Level[_local2]._visible = false; var _local1 = MAP_W - 1; while (_local1 > 0) { Level.Map[Sapper_y][_local1].Id = Level.Map[Sapper_y][_local1 - 1].Id; Level.Map[Sapper_y][_local1].Name = Level.Map[Sapper_y][_local1 - 1].Name; Level[Level.Map[Sapper_y][_local1 - 1].Name]._x = Level[Level.Map[Sapper_y][_local1 - 1].Name]._x + SPRITE_W; _local1--; } Level.Map[Sapper_y][0].Id = _local3; Level.Map[Sapper_y][0].Name = _local2; Level[_local2]._x = 0; Level[_local2]._visible = true; if (Sapper_y == ABomb_y) { ABomb_x = ((ABomb_x == (MAP_W - 1)) ? 0 : (ABomb_x + 1)); } } } } function ProcessMove() { var _local3 = 0; var _local2 = 0; var dx2 = 0; var dy2 = 0; var sx; var sy; sx = (sy = 0); var _local1; if (Keys == VK_LEFT) { _local3 = -1; _local2 = 0; _local1 = "Left"; sx = 64; } else if (Keys == VK_RIGHT) { _local3 = 1; _local2 = 0; _local1 = "Right"; sx = -64; } else if (Keys == VK_UP) { _local3 = 0; _local2 = -1; _local1 = "Up"; sy = 64; } else if (Keys == VK_DOWN) { _local3 = 0; _local2 = 1; _local1 = "Down"; sy = -64; } bAnimStarted = true; AnimDelay = MAX_ANIM + 1; var rez = GetNewCoords(_local3, _local2); if (Level.Map[Level.LY][Level.LX].Id == BLOCK_ID) { var fm = "NBreak"; if (UMRow == Level.LY) { fm = "UMBreak"; } Level[Level.Map[Level.LY][Level.LX].Name].gotoAndPlay(fm); Level.Map[Level.LY][Level.LX].Id = EMPTY_ID; Level.Map[Level.LY][Level.LX].Name = ""; AddScores(SM_SCORES * CurLevel, true); } if (rez) { Level.Sapper1._x = Level.Sapper._x; Level.Sapper1._y = Level.Sapper._y; Level.Sapper._visible = false; Level.Sapper._x = (((Sapper_x == (MAP_W - 1)) && (!Level.LX)) ? ((MAP_W - 1) * SPRITE_W) : ((((!Sapper_x) && (Level.LX == (MAP_W - 1))) ? 0 : (Level.Sapper._x)))); Level.Sapper._y = (((Sapper_y == (MAP_H - 1)) && (!Level.LY)) ? ((MAP_H - 1) * SPRITE_H) : ((((!Sapper_y) && (Level.LY == (MAP_H - 1))) ? 0 : (Level.Sapper._y)))); Level.Sapper2._x = Level.Sapper._x; Level.Sapper2._y = Level.Sapper._y; Level.Sapper1.sap._x = (Level.Sapper1.sap._y = 0); Level.Sapper2.sap._x = sx; Level.Sapper2.sap._y = sy; Level.Sapper1._visible = true; Level.Sapper2._visible = true; Level.Sapper1.gotoAndPlay(_local1 + "Hide"); Level.Sapper2.gotoAndPlay(_local1 + "Show"); } else { Level.Sapper.gotoAndPlay(_local1 + "Move"); } } function GetNewCoords(dx, dy) { var _local1 = Sapper_y + dy; var _local2 = Sapper_x + dx; var _local3 = (((((_local1 < 0) || (_local1 == MAP_H)) || (_local2 < 0)) || (_local2 == MAP_W)) ? true : false); _local1 = ((_local1 < 0) ? (MAP_H - 1) : (((_local1 == MAP_H) ? 0 : (_local1)))); _local2 = ((_local2 < 0) ? (MAP_W - 1) : (((_local2 == MAP_W) ? 0 : (_local2)))); if (bDemoCreated) { Demo.LY = Sapper_y; Demo.LX = Sapper_x; Sapper_y = _local1; Sapper_x = _local2; } else { Level.LY = Sapper_y; Level.LX = Sapper_x; Sapper_y = _local1; Sapper_x = _local2; } return(_local3); } function GetCell() { var _local1; if (bDemoCreated) { _local1 = Demo.Map[row][col].Id; } else { _local1 = Level.Map[row][col].Id; Sapper_x = col; Sapper_y = row; } return(_local1); } function CreateKbdMap() { Keys = VK_NONE; if (Key.isDown(37)) { Keys = Keys | VK_LEFT; } if (Key.isDown(39)) { Keys = Keys | VK_RIGHT; } if (Key.isDown(38)) { Keys = Keys | VK_UP; } if (Key.isDown(40)) { Keys = Keys | VK_DOWN; } if (Key.isDown(90) || (Key.isDown(35))) { Keys = Keys | VK_RLEFT; } if (Key.isDown(88) || (Key.isDown(34))) { Keys = Keys | VK_RRIGHT; } } function CreateControls() { attachMovie("Message Bar", "MsgBar", MSGBAR_DP); MsgBar._x = FIELD_W; MsgBar._y = FIELD_OFF_Y; MsgBar._xscale = (MsgBar._yscale = 82); attachMovie("Game Controls", "Controls", CTRL_DP); Controls._x = FIELD_W; Controls._y = FIELD_OFF_Y + MsgBar._height; Controls._xscale = (Controls._yscale = 82); } function PlaySound(nm) { if (bSound) { delete snd[SndPos]; snd[SndPos] = new Sound(); snd[SndPos].attachSound(nm); snd[SndPos++].start(); if (SndPos >= 10) { SndPos = 0; } } } function StopSound() { var _local1 = new Sound(); _local1.stop(); } function ChangeSound() { if (bSound) { bSound = false; StopSound(); } else { bSound = true; } } function ClearSounds() { StopSound(); var _local1 = 0; while (_local1 < 10) { delete Snd[_local1]; _local1++; } SndPos = 0; } function MkStr(n) { var _local1 = ""; if (n < 10) { _local1 = "0"; } _local1 = _local1 + n; return(_local1); } function OnPause() { Halt(); CreateWnd("Pause Window", "PWnd", MSGWND_DP); } function OnNewGame() { if (bGameStarted) { Halt(); CreateWnd("Confirmation Window", "CWnd", CONF_DP); CWnd.sMsg = Message02; } else { bDemoCreated = false; Demo.removeMovieClip(); DWnd.removeMovieClip(); InitGame(); } } function OnNewGameYes() { InitGame(); } function OnNewGameNo() { UnHalt(); } function Halt() { Level.bPaused = bPaused; Level.bWait = bWait; bPaused = (bWait = true); Controls.enabled = false; } function UnHalt() { bPaused = Level.bPaused; bWait = Level.bWait; Controls.enabled = true; } function MoveSprite(sp, dx, dy) { var _local1 = sp; _local1._x = _local1._x + dx; _local1._y = _local1._y + dy; } function GetFlashVersion() { var _local3 = getVersion(); var _local1; var _local2 = 0; while (_local2 < _local3.length) { _local1 = _local3.charCodeAt(_local2); if ((_local1 >= 48) && (_local1 <= 57)) { break; } _local2++; } _local1 = _local1 - 48; return(_local1); } function OnHelp() { Halt(); CreateWnd("Help Window", "Help", HELP_DP); Help._x = FIELD_OFF_X + ((FIELD_W - Help._width) / 2); Help._y = FIELD_OFF_Y + ((FIELD_H - Help._height) / 2); } function GameOver() { MsgBar.removeMovieClip(); Controls.removeMovieClip(); Level.removeMovieClip(); bGameStarted = false; gotoAndPlay (6); } function PlayDemo() { if (!bDemoCreated) { bDemoCreated = true; CreateDemo(); CreateWnd("Demo Window", "DWnd", NLWND_DP); DWnd._y = DWnd._y - 20; } else if (!Demo.Phase) { Demo._alpha = Demo._alpha + 10; if (Demo._alpha >= 100) { Demo.Phase++; } } else if (Demo.Phase == 2) { Demo._alpha = Demo._alpha - 10; if (Demo._alpha <= 0) { Demo.removeMovieClip(); bDemoCreated = false; } } else if (Demo.Phase == 1) { if ((Demo.Moves[Demo.CurMove] < 0) && (!bAnimDelay)) { Demo.Phase++; } else { if (!bAnimStarted) { Keys = Demo.Moves[Demo.CurMove++]; DemoCheckMove(); if (CheckKeys()) { if ((Keys == VK_RRIGHT) || (Keys == VK_RLEFT)) { DemoRotateRow(); } else { DemoProcessMove(); } } } if (BTimeDelay) { BTimeDelay--; } else { BTimeDelay = BOMB_TIME_DELAY; if ((ABTime > 0) && (!Demo.bEnd)) { Demo[Demo.Map[ABomb_y][ABomb_x].Name].sTime = --ABTime; } else if ((ABTime == 0) && (!Demo.bEnd)) { bAnimStarted = true; AnimDelay = 15; Demo.Sapper.gotoAndPlay("Dead"); Demo[Demo.Map[ABomb_y][ABomb_x].Name].sTime = ""; Demo[Demo.Map[ABomb_y][ABomb_x].Name].gotoAndPlay("Explosion"); Demo[Demo.Map[ABomb_y][ABomb_x].Name].activated = true; } else if ((ABTime < 0) && (!Demo.bEnd)) { if (Demo.Delay) { Demo.Delay--; } else { Demo.Delay = Demo.Times[DBombs]; var _local2 = Demo.Bombs_x[DBombs]; var _local1 = Demo.Bombs_y[DBombs]; Demo.Map[_local1][_local2].Id = ABOMB_ID; ABomb_x = _local2; ABomb_y = _local1; ABTime = 50; Demo[Demo.Map[_local1][_local2].Name].activated = true; Demo[Demo.Map[_local1][_local2].Name].sTime = ABTime; Demo[Demo.Map[_local1][_local2].Name].gotoAndStop("Fire"); } } } if (bAnimStarted) { AnimDelay--; if (AnimDelay <= 0) { bAnimStarted = false; AnimDelay = 0; } } } } } function CreateDemo() { ClearSounds(); attachMovie("Game Field", "Demo", LEVEL_DP); Demo._visible = false; Demo._x = FIELD_OFF_X; Demo._y = FIELD_OFF_Y; Demo._width = FIELD_W; Demo._height = FIELD_H; InitDemo(); FillDemo(); Demo._alpha = 0; Demo._visible = true; bAnimStarted = false; } function InitDemo() { BTimeDelay = (DBombs = (AnimDelay = 0)); Demo.bWin = (Demo.bDead = false); ABomb_x = (ABomb_y = (ABTime = (UMRow = -1))); Bombs = 6; Demo.Bombs_x = new Array(4, 9, 13, 0, 5, 10); Demo.Bombs_y = new Array(7, 3, 3, 8, 1, 11); Demo.Times = new Array(1, 1, 1, 1, 2, 1); Demo.Bonus_x = new Array(6, 14, 1, 1); Demo.Bonus_y = new Array(7, 0, 12, 0); Demo.Map = new Array(MAP_H); var _local2 = 0; while (_local2 < MAP_H) { Demo.Map[_local2] = new Array(MAP_W); var _local1 = 0; while (_local1 < MAP_W) { Demo.Map[_local2][_local1] = new Object(); Demo.Map[_local2][_local1].Id = BLOCK_ID; Demo.Map[_local2][_local1].Name = ""; _local1++; } _local2++; } _local2 = 0; while (_local2 < 6) { Demo.Map[Demo.Bombs_y[_local2]][Demo.Bombs_x[_local2]].Id = BOMB_ID; _local2++; } Demo.Map[Demo.Bonus_y[0]][Demo.Bonus_x[0]].Id = BONUS_ID; Demo.CurBonus = 1; Demo.LX = (Sapper_x = SSC_X); Demo.LY = (Sapper_y = SSC_Y); UMRow = 1; Demo.Moves = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 4, 4, 4, 4, 0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 16, 16, 16, 16, 0, 8, 2, 2, 2, 2, 2, 2, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, -1); Demo.Phase = (Demo.CurMove = 0); Demo.Delay = 4; } function FillDemo() { var dp1 = 0; var dp2 = 0; var _local2 = 0; while (_local2 < MAP_H) { var _local1 = 0; while (_local1 < MAP_W) { if (Demo.Map[_local2][_local1].Id == BLOCK_ID) { var _local3 = "Block" + dp1; CreateSprite("Block Clip", _local3, BLOCK_DP + (dp1++), _local2, _local1); if (_local2 == UMRow) { Demo[_local3].gotoAndPlay("Unmoveable"); } } else if (Demo.Map[_local2][_local1].Id == BOMB_ID) { CreateSprite("Bomb Clip", "Bomb" + dp2, BOMB_DP + dp2, _local2, _local1); dp2++; } else if (Demo.Map[_local2][_local1].Id == BONUS_ID) { CreateSprite("Bonus Clip", "Bonus", BONUS_DP, _local2, _local1); } _local1++; } _local2++; } var t = Demo.Map[Sapper_y][Sapper_x].Name; CreateSprite("Sapper Clip", "Sapper", SAPPER_DP, Sapper_y, Sapper_x); CreateSprite("Sapper Clip", "Sapper1", SAPPER1_DP, Sapper_y, Sapper_x); CreateSprite("Sapper Clip", "Sapper2", SAPPER2_DP, Sapper_y, Sapper_x); Demo.Map[Sapper_y][Sapper_x].Name = t; Demo.Sapper1._visible = false; Demo.Sapper2._visible = false; Demo.Sapper.gotoAndStop("Stop"); Demo.Sapper1.gotoAndStop("Stop"); Demo.Sapper2.gotoAndStop("Stop"); } function DemoCheckMove() { if ((Sapper_x != Demo.LX) || (Sapper_y != Demo.LY)) { Demo.LX = Sapper_x; Demo.LY = Sapper_y; } if (Demo.Map[Sapper_y][Sapper_x].Id == BONUS_ID) { DemoAddScores(BT_SCORES * 3, true); Demo[Demo.Map[Sapper_y][Sapper_x].Name].removeMovieClip(); Demo.Map[Sapper_y][Sapper_x].Name = ""; Demo.Map[Sapper_y][Sapper_x].Id = BLOCK_ID; Demo.x = Demo.Bonus_x[Demo.CurBonus]; Demo.y = Demo.Bonus_y[Demo.CurBonus]; Demo.CurBonus++; Demo[Demo.Map[Demo.y][Demo.x].Name].removeMovieClip(); CreateSprite("Bonus Clip", "Bonus", BONUS_DP, Demo.y, Demo.x); Demo.Map[Demo.y][Demo.x].Id = BONUS_ID; } else if (Demo.Map[Sapper_y][Sapper_x].Id == ABOMB_ID) { DemoAddScores(BD_SCORES * 3, true); Demo[Demo.Map[Sapper_y][Sapper_x].Name].removeMovieClip(); Demo.Map[Sapper_y][Sapper_x].Id = BLOCK_ID; Demo.Map[Sapper_y][Sapper_x].Name = ""; Demo[Demo.Map[Sapper_y][Sapper_x].Name].gotoAndStop("Stop"); ABTime = (ABomb_x = (ABomb_y = -1)); DBombs++; } } function DemoAddScores(sc, st) { if (st) { var _local1 = "SWnd" + ScrNum; Demo.attachMovie("Scores Window", _local1, SWND_DP + ScrNum); Demo[_local1]._x = Demo.Sapper._x + (SPRITE_W / 2); Demo[_local1]._y = Demo.Sapper._y + (SPRITE_H / 2); Demo[_local1].sScores = sc; if ((++ScrNum) > 10) { ScrNum = 0; } } } function DemoRotateRow() { if (UMRow != Sapper_y) { bAnimStarted = true; AnimDelay = MAX_ANIM + 1; if (Keys == VK_RLEFT) { var _local3 = Demo.Map[Sapper_y][0].Id; var _local2 = Demo.Map[Sapper_y][0].Name; Demo[_local2]._visible = false; var _local1 = 0; while (_local1 < (MAP_W - 1)) { Demo.Map[Sapper_y][_local1].Id = Demo.Map[Sapper_y][_local1 + 1].Id; Demo.Map[Sapper_y][_local1].Name = Demo.Map[Sapper_y][_local1 + 1].Name; Demo[Demo.Map[Sapper_y][_local1 + 1].Name]._x = Demo[Demo.Map[Sapper_y][_local1 + 1].Name]._x - SPRITE_W; _local1++; } Demo.Map[Sapper_y][MAP_W - 1].Id = _local3; Demo.Map[Sapper_y][MAP_W - 1].Name = _local2; Demo[_local2]._x = (MAP_W - 1) * SPRITE_W; Demo[_local2]._visible = true; if (Sapper_y == ABomb_y) { ABomb_x = ((!ABomb_x) ? (MAP_W - 1) : (ABomb_x - 1)); } } else { var _local3 = Demo.Map[Sapper_y][MAP_W - 1].Id; var _local2 = Demo.Map[Sapper_y][MAP_W - 1].Name; Demo[_local2]._visible = false; var _local1 = MAP_W - 1; while (_local1 > 0) { Demo.Map[Sapper_y][_local1].Id = Demo.Map[Sapper_y][_local1 - 1].Id; Demo.Map[Sapper_y][_local1].Name = Demo.Map[Sapper_y][_local1 - 1].Name; Demo[Demo.Map[Sapper_y][_local1 - 1].Name]._x = Demo[Demo.Map[Sapper_y][_local1 - 1].Name]._x + SPRITE_W; _local1--; } Demo.Map[Sapper_y][0].Id = _local3; Demo.Map[Sapper_y][0].Name = _local2; Demo[_local2]._x = 0; Demo[_local2]._visible = true; if (Sapper_y == ABomb_y) { ABomb_x = ((ABomb_x == (MAP_W - 1)) ? 0 : (ABomb_x + 1)); } } } } function DemoProcessMove() { var _local3 = 0; var _local2 = 0; var dx2 = 0; var dy2 = 0; var sx; var sy; sx = (sy = 0); var _local1; if (Keys == VK_LEFT) { _local3 = -1; _local2 = 0; _local1 = "Left"; sx = 64; } else if (Keys == VK_RIGHT) { _local3 = 1; _local2 = 0; _local1 = "Right"; sx = -64; } else if (Keys == VK_UP) { _local3 = 0; _local2 = -1; _local1 = "Up"; sy = 64; } else if (Keys == VK_DOWN) { _local3 = 0; _local2 = 1; _local1 = "Down"; sy = -64; } bAnimStarted = true; AnimDelay = MAX_ANIM + 1; var rez = GetNewCoords(_local3, _local2); if (Demo.Map[Demo.LY][Demo.LX].Id == BLOCK_ID) { var fm = "NBreak"; if (UMRow == Demo.LY) { fm = "UMBreak"; } Demo[Demo.Map[Demo.LY][Demo.LX].Name].gotoAndPlay(fm); Demo.Map[Demo.LY][Demo.LX].Id = EMPTY_ID; Demo.Map[Demo.LY][Demo.LX].Name = ""; DemoAddScores(SM_SCORES * 3, true); } if (rez) { Demo.Sapper1._x = Demo.Sapper._x; Demo.Sapper1._y = Demo.Sapper._y; Demo.Sapper._visible = false; Demo.Sapper._x = (((Sapper_x == (MAP_W - 1)) && (!Demo.LX)) ? ((MAP_W - 1) * SPRITE_W) : ((((!Sapper_x) && (Demo.LX == (MAP_W - 1))) ? 0 : (Demo.Sapper._x)))); Demo.Sapper._y = (((Sapper_y == (MAP_H - 1)) && (!Demo.LY)) ? ((MAP_H - 1) * SPRITE_H) : ((((!Sapper_y) && (Demo.LY == (MAP_H - 1))) ? 0 : (Demo.Sapper._y)))); Demo.Sapper2._x = Demo.Sapper._x; Demo.Sapper2._y = Demo.Sapper._y; Demo.Sapper1.sap._x = (Demo.Sapper1.sap._y = 0); Demo.Sapper2.sap._x = sx; Demo.Sapper2.sap._y = sy; Demo.Sapper1._visible = true; Demo.Sapper2._visible = true; Demo.Sapper1.gotoAndPlay(_local1 + "Hide"); Demo.Sapper2.gotoAndPlay(_local1 + "Show"); } else { Demo.Sapper.gotoAndPlay(_local1 + "Move"); } } FIELD_W = 395; FIELD_H = 342; FIELD_OFF_X = 0; FIELD_OFF_Y = 0; MAP_W = 15; MAP_H = 13; SPRITE_W = 32; SPRITE_H = 32; BOMB_TIME_DELAY = 2; MAX_TIME = 80; MAX_MULT = 3; MAX_LEVEL = 14; MIN_LEVEL = 4; SSC_X = 9; SSC_Y = 7; MAX_LIVES = 3; LCB_SCORES = 55; SM_SCORES = 1; BT_SCORES = 20; BD_SCORES = 15; EL_SCORES = 500; MAX_OBJECTS = MAP_W * MAP_H; VK_NONE = 0; VK_LEFT = 1; VK_RIGHT = 2; VK_UP = 4; VK_DOWN = 8; VK_RLEFT = 16; VK_RRIGHT = 32; MAX_ANIM = 3; XMOVE = SPRITE_W / (MAX_ANIM + 1); YMOVE = SPRITE_H / (MAX_ANIM + 1); XSTEP = 64 / (MAX_ANIM + 1); YSTEP = 64 / (MAX_ANIM + 1); EMPTY_ID = 0; BLOCK_ID = 1; BOMB_ID = 2; ABOMB_ID = 3; BONUS_ID = 4; LEVEL_DP = 0; MSGBAR_DP = LEVEL_DP + 1; CTRL_DP = MSGBAR_DP + 1; CONF_DP = CTRL_DP + 1; INTRO_DP = CONF_DP + 1; HELP_DP = INTRO_DP + 1; MSGWND_DP = HELP_DP + 1; NLWND_DP = MSGWND_DP + 1; LEVOBJ_DP = 0; BOMB_DP = LEVOBJ_DP + MAX_OBJECTS; BONUS_DP = BOMB_DP + MAX_OBJECTS; SAPPER_DP = BONUS_DP + 1; SAPPER1_DP = SAPPER_DP + 1; SAPPER2_DP = SAPPER1_DP + 1; SWND_DP = SAPPER2_DP + 1; Sapper_x = -1; Sapper_y = -1; UMRow = -1; BTimeDelay = 0; CurLevel = 0; Lives = 0; Scores = 0; HiScores = 0; Extra = EL_SCORES; DBombs = 0; Bombs = 0; bPaused = false; bWait = false; bSound = true; bGameStarted = false; bAnimStarted = false; bDemoCreated = false; AnimDelay = 0; ABomb_x = -1; ABomb_y = -1; ABTime = -1; SndPos = 0; Snd = new Array(10); ScrNum = 0; Keys = VK_NONE; Init(); function makeArray() { i = 0; while (i < 7) { picArr[i] = i + 2; i++; } } function getPic() { totalIndex++; if (totalIndex == 7) { totalIndex = 0; } } function displayBack2() { var _local1 = _root; _local1.getPic(); _local1.bonus2MV.swapDepths(_local1.getNextHighestDepth()); _local1.bonus2MV.gotoAndStop(picArr[totalIndex]); } function nextLevel() { InitLevel(); FillLevel(); Level._visible = true; bPaused = (bWait = (bAnimStarted = false)); Controls.enabled = true; ClearSounds(); gotoAndPlay (4); } makeArray();Frame 4OnTick();Frame 5gotoAndPlay (4);Frame 6PlayDemo();Frame 7gotoAndPlay (6);Instance of Symbol 10 MovieClip in Symbol 13 MovieClip [Play Button] Frame 1onClipEvent (mouseDown) { this.Pressed = true; } onClipEvent (keyDown) { this.Pressed = true; } onClipEvent (mouseUp) { if (this.Pressed) { _root.OnNewGame(); } } onClipEvent (keyUp) { if (this.Pressed) { _root.OnNewGame(); } }Symbol 18 MovieClip [Block Clip] Frame 1stop();Symbol 18 MovieClip [Block Clip] Frame 2stop();Symbol 18 MovieClip [Block Clip] Frame 8this.removeMovieClip();Symbol 18 MovieClip [Block Clip] Frame 14this.removeMovieClip();Symbol 22 MovieClip [Sapper Clip] Frame 1stop();Symbol 22 MovieClip [Sapper Clip] Frame 2_root.MoveSprite(this, -_root.XMOVE, 0);Symbol 22 MovieClip [Sapper Clip] Frame 3if (_root.AnimDelay) { gotoAndPlay (2); } else { gotoAndStop (1); }Symbol 22 MovieClip [Sapper Clip] Frame 4_root.MoveSprite(this, _root.XMOVE, 0);Symbol 22 MovieClip [Sapper Clip] Frame 5if (_root.AnimDelay) { gotoAndPlay (4); } else { gotoAndStop (1); }Symbol 22 MovieClip [Sapper Clip] Frame 6_root.MoveSprite(this, 0, -_root.YMOVE);Symbol 22 MovieClip [Sapper Clip] Frame 7if (_root.AnimDelay) { gotoAndPlay (6); } else { gotoAndStop (1); }Symbol 22 MovieClip [Sapper Clip] Frame 8_root.MoveSprite(this, 0, _root.YMOVE);Symbol 22 MovieClip [Sapper Clip] Frame 9if (_root.AnimDelay) { gotoAndPlay (8); } else { gotoAndStop (1); }Symbol 22 MovieClip [Sapper Clip] Frame 10_root.MoveSprite(this.sap, -_root.XSTEP, 0);Symbol 22 MovieClip [Sapper Clip] Frame 11if (_root.AnimDelay) { gotoAndPlay (10); } else { this._visible = false; if (_root.bDemoCreated) { _root.Demo.Sapper._visible = true; } else { _root.Level.Sapper._visible = true; } stop(); }Symbol 22 MovieClip [Sapper Clip] Frame 12_root.MoveSprite(this.sap, _root.XSTEP, 0);Symbol 22 MovieClip [Sapper Clip] Frame 13if (_root.AnimDelay) { gotoAndPlay (12); } else { this._visible = false; if (_root.bDemoCreated) { _root.Demo.Sapper._visible = true; } else { _root.Level.Sapper._visible = true; } stop(); }Symbol 22 MovieClip [Sapper Clip] Frame 14_root.MoveSprite(this.sap, 0, -_root.YSTEP);Symbol 22 MovieClip [Sapper Clip] Frame 15if (_root.AnimDelay) { gotoAndPlay (14); } else { this._visible = false; if (_root.bDemoCreated) { _root.Demo.Sapper._visible = true; } else { _root.Level.Sapper._visible = true; } stop(); }Symbol 22 MovieClip [Sapper Clip] Frame 16_root.MoveSprite(this.sap, 0, _root.YSTEP);Symbol 22 MovieClip [Sapper Clip] Frame 17if (_root.AnimDelay) { gotoAndPlay (16); } else { this._visible = false; if (_root.bDemoCreated) { _root.Demo.Sapper._visible = true; } else { _root.Level.Sapper._visible = true; } stop(); }Symbol 22 MovieClip [Sapper Clip] Frame 18_root.MoveSprite(this.sap, -_root.XSTEP, 0);Symbol 22 MovieClip [Sapper Clip] Frame 19if (_root.AnimDelay) { gotoAndPlay (10); } else { this._visible = false; if (_root.bDemoCreated) { _root.Demo.Sapper._visible = true; } else { _root.Level.Sapper._visible = true; } stop(); }Symbol 22 MovieClip [Sapper Clip] Frame 20_root.MoveSprite(this.sap, _root.XSTEP, 0);Symbol 22 MovieClip [Sapper Clip] Frame 21if (_root.AnimDelay) { gotoAndPlay (12); } else { this._visible = false; if (_root.bDemoCreated) { _root.Demo.Sapper._visible = true; } else { _root.Level.Sapper._visible = true; } stop(); }Symbol 22 MovieClip [Sapper Clip] Frame 22_root.MoveSprite(this.sap, 0, -_root.YSTEP);Symbol 22 MovieClip [Sapper Clip] Frame 23if (_root.AnimDelay) { gotoAndPlay (14); } else { this._visible = false; if (_root.bDemoCreated) { _root.Demo.Sapper._visible = true; } else { _root.Level.Sapper._visible = true; } stop(); }Symbol 22 MovieClip [Sapper Clip] Frame 24_root.MoveSprite(this.sap, 0, _root.YSTEP);Symbol 22 MovieClip [Sapper Clip] Frame 25if (_root.AnimDelay) { gotoAndPlay (16); } else { this._visible = false; if (_root.bDemoCreated) { _root.Demo.Sapper._visible = true; } else { _root.Level.Sapper._visible = true; } stop(); }Symbol 22 MovieClip [Sapper Clip] Frame 26_root.PlaySound("Dead");Symbol 22 MovieClip [Sapper Clip] Frame 34_root.PlaySound(Dead);Symbol 22 MovieClip [Sapper Clip] Frame 35stop();Symbol 33 Buttonon (release, keyPress "<Enter>") { Yes(); } on (keyPress "Y") { Yes(); } on (keyPress "y") { Yes(); }Symbol 34 Buttonon (release, keyPress "N") { No(); } on (keyPress "n") { No(); }Symbol 39 MovieClip [Confirmation Window] Frame 1function Yes() { _root.OnNewGameYes(); this.removeMovieClip(); } function No() { _root.OnNewGameNo(); this.removeMovieClip(); }Symbol 57 MovieClip Frame 1stop();Symbol 57 MovieClip Frame 5stop();Symbol 57 MovieClip Frame 8gotoAndStop (1);Symbol 57 MovieClip Frame 12gotoAndStop (1);Symbol 59 Buttonon (rollOver) { this.knop1.gotoAndPlay(2); } on (rollOut) { this.knop1.gotoAndPlay(6); } on (release) { OnNewGame(); if (_root.FPLAYER_VERSION >= 6) { this.knop1.gotoAndPlay(6); } } on (keyPress "n") { OnNewGame(); if (_root.FPLAYER_VERSION >= 6) { this.knop1.gotoAndPlay(6); } }Symbol 60 Buttonon (release, keyPress "H") { OnHelp(); } on (keyPress "h") { OnHelp(); }Symbol 61 Buttonon (release, keyPress "<Space>") { OnPause(); } on (keyPress "P") { OnPause(); } on (keyPress "p") { OnPause(); }Symbol 62 Buttonon (release, keyPress "S") { Change(); } on (keyPress "s") { Change(); }Symbol 65 MovieClip Frame 1stop();Symbol 65 MovieClip Frame 2stop();Symbol 66 MovieClip Frame 1function Init() { if (_root.bSound) { speaker.gotoAndStop("On"); } else { speaker.gotoAndStop("Off"); } } function Change() { if (_root.bSound) { speaker.gotoAndStop("Off"); } else { speaker.gotoAndStop("On"); } _root.ChangeSound(); } Init(); stop();Symbol 67 MovieClip [Game Controls] Frame 1function Init() { if (this.enabled == undefined) { this.enabled = true; } } function OnPause() { if (this.enabled) { _root.OnPause(); } } function OnNewGame() { if (this.enabled) { _root.OnNewGame(); } } function OnHelp() { if (this.enabled) { _root.OnHelp(); } }Symbol 67 MovieClip [Game Controls] Frame 2CheckGr();Symbol 67 MovieClip [Game Controls] Frame 3gotoAndPlay (2);Symbol 84 Buttonon (release, keyPress "<Enter>") { Close(); }Symbol 90 MovieClip [Help Window] Frame 1function Close() { _root.Unhalt(); this.removeMovieClip(); }Symbol 92 MovieClip [Scores Window] Frame 1function Init() { var _local1 = this; if (_local1.Inited == undefined) { _local1.Inited = true; _local1.Ctr = 10; _local1._alpha = 100; } } function Animate() { var _local1 = this; _local1._y = _local1._y - 6; _local1.Ctr--; if (_local1.Ctr <= 5) { _local1._alpha = _local1._alpha - 20; if (!_local1.Ctr) { _local1.removeMovieClip(); } } } Init();Symbol 92 MovieClip [Scores Window] Frame 2Animate();Symbol 92 MovieClip [Scores Window] Frame 3gotoAndPlay (2);Symbol 95 MovieClip [Demo Window] Frame 1function Init() { var _local1 = this; if (_local1.Inited == undefined) { _local1.Inited = true; _local1.Ctr = 5; _local1.Flag = true; _local1._alpha = 100; } } function Animate() { var _local1 = this; if (Flag) { _local1._alpha = _local1._alpha - 5; _local1.Ctr--; if (!_local1.Ctr) { _local1.Ctr = 10; _local1.Flag = false; } } else { _local1._alpha = _local1._alpha + 5; _local1.Ctr--; if (!_local1.Ctr) { _local1.Ctr = 10; _local1.Flag = true; } } } Init();Symbol 95 MovieClip [Demo Window] Frame 2Animate();Symbol 95 MovieClip [Demo Window] Frame 3gotoAndPlay (2);Symbol 96 Buttonon (release, keyPress "<Enter>") { OnOK(); }Symbol 98 MovieClip [Game Over Window] Frame 1function OnOK() { _root.GameOver(); this.removeMovieClip(); }Instance of Symbol 101 MovieClip in Symbol 103 MovieClip [Pause Window] Frame 1onClipEvent (keyDown) { this.Pressed = true; } onClipEvent (keyUp) { if (this.Pressed) { _root.UnHalt(); _root.PWnd.removeMovieClip(); } } onClipEvent (mouseDown) { this.Pressed = true; } onClipEvent (mouseUp) { if (this.Pressed) { _root.UnHalt(); _root.PWnd.removeMovieClip(); } }Symbol 113 MovieClip Frame 1stop();Symbol 113 MovieClip Frame 2_root.PlaySound("Explosion");Symbol 113 MovieClip Frame 11stop();Symbol 116 MovieClip [Bomb Clip] Frame 1stop();Symbol 116 MovieClip [Bomb Clip] Frame 2stop();Symbol 116 MovieClip [Bomb Clip] Frame 3this.expl.gotoAndPlay("Start");Symbol 116 MovieClip [Bomb Clip] Frame 14if (this.activated) { _root.DeleteBomb(this); } else { _root.RemoveBomb(this); } stop();Symbol 120 MovieClip Frame 20function playMovie() { clearInterval(myInt); nextFrame(); gotoAndPlay; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 120 MovieClip Frame 21play();Symbol 120 MovieClip Frame 30_parent.gotoAndStop(3); stop();Symbol 123 MovieClip Frame 24stop();Symbol 127 MovieClip Frame 30function playMovie() { clearInterval(myInt); nextFrame(); gotoAndPlay; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 127 MovieClip Frame 31play();Symbol 127 MovieClip Frame 40stop(); _root.gotoAndStop("cover");Symbol 128 MovieClip Frame 1stop();Symbol 128 MovieClip Frame 2stop();Symbol 128 MovieClip Frame 3stop();Symbol 134 MovieClip Frame 233stop(); _root.gotoAndStop("start");Symbol 144 MovieClip Frame 14function playMovie() { clearInterval(myInt); nextFrame(); gotoAndPlay; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 144 MovieClip Frame 15play();Symbol 144 MovieClip Frame 26_root.nextLevel(); trace("here!"); _parent.gotoAndStop(1); stop();Symbol 148 MovieClip Frame 14function playMovie() { clearInterval(myInt); nextFrame(); gotoAndPlay; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 148 MovieClip Frame 15play();Symbol 148 MovieClip Frame 27_root.nextLevel(); _parent.gotoAndStop(1); stop();Symbol 152 MovieClip Frame 14function playMovie() { clearInterval(myInt); nextFrame(); gotoAndPlay; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 152 MovieClip Frame 15play();Symbol 152 MovieClip Frame 26_root.nextLevel(); _parent.gotoAndStop(1); stop();Symbol 156 MovieClip Frame 14function playMovie() { clearInterval(myInt); nextFrame(); gotoAndPlay; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 156 MovieClip Frame 15play();Symbol 156 MovieClip Frame 26_root.nextLevel(); _parent.gotoAndStop(1); stop();Symbol 160 MovieClip Frame 14function playMovie() { clearInterval(myInt); nextFrame(); gotoAndPlay; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 160 MovieClip Frame 15play();Symbol 160 MovieClip Frame 27_root.nextLevel(); _parent.gotoAndStop(1); stop();Symbol 164 MovieClip Frame 14function playMovie() { clearInterval(myInt); nextFrame(); gotoAndPlay; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 164 MovieClip Frame 15play();Symbol 164 MovieClip Frame 27_root.nextLevel(); _parent.gotoAndStop(1); stop();Symbol 173 MovieClip Frame 14function playMovie() { clearInterval(myInt); nextFrame(); gotoAndStop; } var myInt; myInt = setInterval(playMovie, _root.picTime); stop();Symbol 173 MovieClip Frame 15stop();Symbol 173 MovieClip Frame 26stop();Symbol 174 MovieClip Frame 1stop();Symbol 174 MovieClip Frame 2stop();Symbol 174 MovieClip Frame 3stop();Symbol 174 MovieClip Frame 4stop();Symbol 174 MovieClip Frame 5stop();Symbol 174 MovieClip Frame 6stop();Symbol 174 MovieClip Frame 7stop();Symbol 174 MovieClip Frame 8stop();Instance of Symbol 10 MovieClip in Symbol 175 MovieClip [Play Button] Frame 1onClipEvent (mouseDown) { this.Pressed = true; } onClipEvent (keyDown) { this.Pressed = true; } onClipEvent (mouseUp) { if (this.Pressed) { _root.OnNewGame(); } } onClipEvent (keyUp) { if (this.Pressed) { _root.OnNewGame(); } }
Library Items
Symbol 1 Sound [Bonus] | ||
Symbol 2 Sound [Deactivate] | ||
Symbol 3 Sound [Dead] | ||
Symbol 4 Sound [Explosion] | ||
Symbol 5 Sound [Game Over] | ||
Symbol 6 Sound [Next Level] | ||
Symbol 7 Sound [Timer] | ||
Symbol 8 Graphic | Used by:10 11 77 | |
Symbol 9 Graphic | Used by:10 11 | |
Symbol 10 MovieClip | Uses:8 9 | Used by:13 175 |
Symbol 11 Button | Uses:8 9 | Used by:13 175 |
Symbol 12 Graphic | Used by:13 175 | |
Symbol 13 MovieClip [Play Button] | Uses:10 11 12 | |
Symbol 14 Graphic | Used by:16 18 21 22 113 116 | |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip [Bonus Clip] | Uses:14 15 | |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip [Block Clip] | Uses:14 17 | |
Symbol 19 Graphic | Used by:22 128 | |
Symbol 20 Graphic | Used by:21 22 | |
Symbol 21 MovieClip | Uses:14 20 | Used by:22 |
Symbol 22 MovieClip [Sapper Clip] | Uses:19 14 20 21 | |
Symbol 23 Graphic | Used by:24 | |
Symbol 24 MovieClip | Uses:23 | Used by:25 |
Symbol 25 MovieClip [Game Field] | Uses:24 | |
Symbol 26 Graphic | Used by:27 78 101 | |
Symbol 27 MovieClip | Uses:26 | Used by:39 |
Symbol 28 Graphic | Used by:29 62 | |
Symbol 29 MovieClip | Uses:28 | Used by:33 34 49 60 61 62 84 96 |
Symbol 30 Graphic | Used by:33 34 60 61 62 84 96 | |
Symbol 31 Graphic | Used by:33 34 60 61 62 84 96 | |
Symbol 32 Graphic | Used by:33 34 60 61 84 96 | |
Symbol 33 Button | Uses:29 30 31 32 | Used by:39 |
Symbol 34 Button | Uses:29 30 31 32 | Used by:39 |
Symbol 35 Graphic | Used by:39 | |
Symbol 36 Graphic | Used by:39 | |
Symbol 37 Font | Used by:38 | |
Symbol 38 Text | Uses:37 | Used by:39 |
Symbol 39 MovieClip [Confirmation Window] | Uses:27 33 34 35 36 38 | |
Symbol 40 Font | Used by:41 42 97 99 102 | |
Symbol 41 Text | Uses:40 | Used by:67 |
Symbol 42 Text | Uses:40 | Used by:67 |
Symbol 43 Font | Used by:44 68 69 70 73 88 89 93 | |
Symbol 44 Text | Uses:43 | Used by:45 47 |
Symbol 45 MovieClip | Uses:44 | Used by:57 |
Symbol 46 Graphic | Used by:57 | |
Symbol 47 MovieClip | Uses:44 | Used by:57 |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 MovieClip | Uses:48 29 | Used by:57 |
Symbol 50 ShapeTweening | Used by:57 | |
Symbol 51 Graphic | Used by:57 | |
Symbol 52 ShapeTweening | Used by:57 | |
Symbol 53 Graphic | Used by:57 | |
Symbol 54 ShapeTweening | Used by:57 | |
Symbol 55 ShapeTweening | Used by:57 | |
Symbol 56 Graphic | Used by:57 | |
Symbol 57 MovieClip | Uses:45 46 47 49 50 51 52 53 54 55 56 | Used by:67 |
Symbol 58 Graphic | Used by:59 | |
Symbol 59 Button | Uses:58 | Used by:67 |
Symbol 60 Button | Uses:29 30 31 32 | Used by:67 |
Symbol 61 Button | Uses:29 30 31 32 | Used by:67 |
Symbol 62 Button | Uses:29 30 31 28 | Used by:66 |
Symbol 63 Graphic | Used by:65 | |
Symbol 64 Graphic | Used by:65 | |
Symbol 65 MovieClip | Uses:63 64 | Used by:66 |
Symbol 66 MovieClip | Uses:62 65 | Used by:67 |
Symbol 67 MovieClip [Game Controls] | Uses:41 42 57 59 60 61 66 | |
Symbol 68 Text | Uses:43 | Used by:77 |
Symbol 69 Text | Uses:43 | Used by:77 |
Symbol 70 Text | Uses:43 | Used by:77 |
Symbol 71 Font | Used by:72 74 75 76 91 94 114 | |
Symbol 72 EditableText | Uses:71 | Used by:77 |
Symbol 73 Text | Uses:43 | Used by:77 |
Symbol 74 EditableText | Uses:71 | Used by:77 |
Symbol 75 EditableText | Uses:71 | Used by:77 |
Symbol 76 EditableText | Uses:71 | Used by:77 |
Symbol 77 MovieClip [Message Bar] | Uses:8 68 69 70 72 73 74 75 76 | |
Symbol 78 MovieClip | Uses:26 | Used by:90 98 100 |
Symbol 79 Graphic | Used by:80 | |
Symbol 80 MovieClip | Uses:79 | Used by:90 |
Symbol 81 Font | Used by:82 | |
Symbol 82 Text | Uses:81 | Used by:90 |
Symbol 83 Graphic | Used by:90 98 | |
Symbol 84 Button | Uses:29 30 31 32 | Used by:90 |
Symbol 85 Font | Used by:86 87 | |
Symbol 86 Text | Uses:85 | Used by:90 |
Symbol 87 Text | Uses:85 | Used by:90 |
Symbol 88 Text | Uses:43 | Used by:90 |
Symbol 89 Text | Uses:43 | Used by:90 |
Symbol 90 MovieClip [Help Window] | Uses:78 80 82 83 84 86 87 88 89 | |
Symbol 91 EditableText | Uses:71 | Used by:92 |
Symbol 92 MovieClip [Scores Window] | Uses:91 | |
Symbol 93 Text | Uses:43 | Used by:95 |
Symbol 94 Text | Uses:71 | Used by:95 |
Symbol 95 MovieClip [Demo Window] | Uses:93 94 | |
Symbol 96 Button | Uses:29 30 31 32 | Used by:98 |
Symbol 97 Text | Uses:40 | Used by:98 |
Symbol 98 MovieClip [Game Over Window] | Uses:78 83 96 97 | |
Symbol 99 Text | Uses:40 | Used by:100 |
Symbol 100 MovieClip [Next Level Window] | Uses:78 99 | |
Symbol 101 MovieClip | Uses:26 | Used by:103 |
Symbol 102 Text | Uses:40 | Used by:103 |
Symbol 103 MovieClip [Pause Window] | Uses:101 102 | |
Symbol 104 Graphic | Used by:116 | |
Symbol 105 Graphic | Used by:113 | |
Symbol 106 Graphic | Used by:113 | |
Symbol 107 Graphic | Used by:113 | |
Symbol 108 Graphic | Used by:113 | |
Symbol 109 Graphic | Used by:113 | |
Symbol 110 Graphic | Used by:113 | |
Symbol 111 Graphic | Used by:113 | |
Symbol 112 Graphic | Used by:113 | |
Symbol 113 MovieClip | Uses:14 105 106 107 108 109 110 111 112 | Used by:116 |
Symbol 114 EditableText | Uses:71 | Used by:116 |
Symbol 115 Graphic | Used by:116 | |
Symbol 116 MovieClip [Bomb Clip] | Uses:14 104 113 114 115 | |
Symbol 117 Bitmap | Used by:118 | |
Symbol 118 Graphic | Uses:117 | Used by:119 |
Symbol 119 MovieClip | Uses:118 | Used by:120 |
Symbol 120 MovieClip | Uses:119 | Used by:128 |
Symbol 121 Graphic | Used by:122 | |
Symbol 122 MovieClip | Uses:121 | Used by:123 |
Symbol 123 MovieClip | Uses:122 | Used by:127 136 |
Symbol 124 Bitmap | Used by:125 | |
Symbol 125 Graphic | Uses:124 | Used by:126 |
Symbol 126 MovieClip | Uses:125 | Used by:127 |
Symbol 127 MovieClip | Uses:123 126 | Used by:128 |
Symbol 128 MovieClip | Uses:19 120 127 | Used by:Timeline |
Symbol 129 Graphic | Used by:130 | |
Symbol 130 MovieClip | Uses:129 | Used by:134 |
Symbol 131 Bitmap | Used by:132 | |
Symbol 132 Graphic | Uses:131 | Used by:133 |
Symbol 133 MovieClip | Uses:132 | Used by:134 |
Symbol 134 MovieClip | Uses:130 133 | Used by:Timeline |
Symbol 135 Graphic | Used by:Timeline | |
Symbol 136 MovieClip | Uses:123 | Used by:144 148 152 156 160 164 173 |
Symbol 137 Bitmap | Used by:138 | |
Symbol 138 Graphic | Uses:137 | Used by:139 |
Symbol 139 MovieClip | Uses:138 | Used by:144 |
Symbol 140 Font | Used by:141 142 170 171 | |
Symbol 141 Text | Uses:140 | Used by:143 |
Symbol 142 Text | Uses:140 | Used by:143 |
Symbol 143 MovieClip | Uses:141 142 | Used by:144 148 152 156 160 164 |
Symbol 144 MovieClip | Uses:136 139 143 | Used by:174 |
Symbol 145 Bitmap | Used by:146 | |
Symbol 146 Graphic | Uses:145 | Used by:147 |
Symbol 147 MovieClip | Uses:146 | Used by:148 |
Symbol 148 MovieClip | Uses:136 147 143 | Used by:174 |
Symbol 149 Bitmap | Used by:150 | |
Symbol 150 Graphic | Uses:149 | Used by:151 |
Symbol 151 MovieClip | Uses:150 | Used by:152 |
Symbol 152 MovieClip | Uses:136 151 143 | Used by:174 |
Symbol 153 Bitmap | Used by:154 | |
Symbol 154 Graphic | Uses:153 | Used by:155 |
Symbol 155 MovieClip | Uses:154 | Used by:156 |
Symbol 156 MovieClip | Uses:136 155 143 | Used by:174 |
Symbol 157 Bitmap | Used by:158 | |
Symbol 158 Graphic | Uses:157 | Used by:159 |
Symbol 159 MovieClip | Uses:158 | Used by:160 |
Symbol 160 MovieClip | Uses:136 159 143 | Used by:174 |
Symbol 161 Bitmap | Used by:162 | |
Symbol 162 Graphic | Uses:161 | Used by:163 |
Symbol 163 MovieClip | Uses:162 | Used by:164 |
Symbol 164 MovieClip | Uses:136 163 143 | Used by:174 |
Symbol 165 Bitmap | Used by:166 | |
Symbol 166 Graphic | Uses:165 | Used by:167 |
Symbol 167 MovieClip | Uses:166 | Used by:173 |
Symbol 168 Graphic | Used by:169 | |
Symbol 169 MovieClip | Uses:168 | Used by:172 |
Symbol 170 Text | Uses:140 | Used by:172 |
Symbol 171 Text | Uses:140 | Used by:172 |
Symbol 172 MovieClip | Uses:169 170 171 | Used by:173 |
Symbol 173 MovieClip | Uses:136 167 172 | Used by:174 |
Symbol 174 MovieClip | Uses:144 148 152 156 160 164 173 | Used by:Timeline |
Symbol 175 MovieClip [Play Button] | Uses:10 11 12 | Used by:Timeline |
Instance Names
"introMV" | Frame 1 | Symbol 128 MovieClip |
"bonus2MV" | Frame 3 | Symbol 174 MovieClip |
"sap" | Symbol 22 MovieClip [Sapper Clip] Frame 10 | Symbol 21 MovieClip |
"speaker" | Symbol 66 MovieClip Frame 1 | Symbol 65 MovieClip |
"knop1" | Symbol 67 MovieClip [Game Controls] Frame 1 | Symbol 57 MovieClip |
"expl" | Symbol 116 MovieClip [Bomb Clip] Frame 1 | Symbol 113 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "Bonus" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "Deactivate" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "Dead" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "Explosion" |
ExportAssets (56) | Timeline Frame 1 | Symbol 5 as "Game Over" |
ExportAssets (56) | Timeline Frame 1 | Symbol 6 as "Next Level" |
ExportAssets (56) | Timeline Frame 1 | Symbol 7 as "Timer" |
ExportAssets (56) | Timeline Frame 1 | Symbol 13 as "Play Button" |
ExportAssets (56) | Timeline Frame 1 | Symbol 16 as "Bonus Clip" |
ExportAssets (56) | Timeline Frame 1 | Symbol 18 as "Block Clip" |
ExportAssets (56) | Timeline Frame 1 | Symbol 22 as "Sapper Clip" |
ExportAssets (56) | Timeline Frame 1 | Symbol 25 as "Game Field" |
ExportAssets (56) | Timeline Frame 1 | Symbol 39 as "Confirmation Window" |
ExportAssets (56) | Timeline Frame 1 | Symbol 67 as "Game Controls" |
ExportAssets (56) | Timeline Frame 1 | Symbol 77 as "Message Bar" |
ExportAssets (56) | Timeline Frame 1 | Symbol 90 as "Help Window" |
ExportAssets (56) | Timeline Frame 1 | Symbol 92 as "Scores Window" |
ExportAssets (56) | Timeline Frame 1 | Symbol 95 as "Demo Window" |
ExportAssets (56) | Timeline Frame 1 | Symbol 98 as "Game Over Window" |
ExportAssets (56) | Timeline Frame 1 | Symbol 100 as "Next Level Window" |
ExportAssets (56) | Timeline Frame 1 | Symbol 103 as "Pause Window" |
ExportAssets (56) | Timeline Frame 1 | Symbol 116 as "Bomb Clip" |
ExportAssets (56) | Timeline Frame 6 | Symbol 175 as "Play Button" |
ExportAssets (56) | Timeline Frame 7 | Symbol 175 as "Play Button" |
Labels
"intro" | Frame 1 |
"cover" | Frame 2 |
"start" | Frame 3 |
"Tick" | Frame 4 |
"Demo" | Frame 6 |
"Normal" | Symbol 18 MovieClip [Block Clip] Frame 1 |
"Unmoveable" | Symbol 18 MovieClip [Block Clip] Frame 2 |
"NBreak" | Symbol 18 MovieClip [Block Clip] Frame 3 |
"UMBreak" | Symbol 18 MovieClip [Block Clip] Frame 9 |
"Stop" | Symbol 22 MovieClip [Sapper Clip] Frame 1 |
"LeftMove" | Symbol 22 MovieClip [Sapper Clip] Frame 2 |
"RightMove" | Symbol 22 MovieClip [Sapper Clip] Frame 4 |
"UpMove" | Symbol 22 MovieClip [Sapper Clip] Frame 6 |
"DownMove" | Symbol 22 MovieClip [Sapper Clip] Frame 8 |
"LeftHide" | Symbol 22 MovieClip [Sapper Clip] Frame 10 |
"RightHide" | Symbol 22 MovieClip [Sapper Clip] Frame 12 |
"UpHide" | Symbol 22 MovieClip [Sapper Clip] Frame 14 |
"DownHide" | Symbol 22 MovieClip [Sapper Clip] Frame 16 |
"LeftShow" | Symbol 22 MovieClip [Sapper Clip] Frame 18 |
"RightShow" | Symbol 22 MovieClip [Sapper Clip] Frame 20 |
"UpShow" | Symbol 22 MovieClip [Sapper Clip] Frame 22 |
"DownShow" | Symbol 22 MovieClip [Sapper Clip] Frame 24 |
"Dead" | Symbol 22 MovieClip [Sapper Clip] Frame 26 |
"Off" | Symbol 65 MovieClip Frame 1 |
"On" | Symbol 65 MovieClip Frame 2 |
"Anim" | Symbol 92 MovieClip [Scores Window] Frame 2 |
"Anim" | Symbol 95 MovieClip [Demo Window] Frame 2 |
"Start" | Symbol 113 MovieClip Frame 2 |
"End" | Symbol 113 MovieClip Frame 11 |
"Stop" | Symbol 116 MovieClip [Bomb Clip] Frame 1 |
"Fire" | Symbol 116 MovieClip [Bomb Clip] Frame 2 |
"Explosion" | Symbol 116 MovieClip [Bomb Clip] Frame 3 |
Dynamic Text Variables
sLevel | Symbol 72 EditableText | " " |
SLives | Symbol 74 EditableText | " " |
sScores | Symbol 75 EditableText | " " |
sHiScores | Symbol 76 EditableText | " " |
sScores | Symbol 91 EditableText | " " |
sTime | Symbol 114 EditableText | " " |
|