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

A
Very
Merry Christmas!


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

Mecha-Cat Destructo.swf

This is the info page for
Flash #26086

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


Text
LOADING

LOADING

100%

100%

PLAY

PLAY

PLAY

INsTRUCTions

INsTRUCTions

INsTRUCTions

Blik, Gordon, and Waffle have constructed robot versions of themselves
which have gone totally nuts (and bolts!).  Now, the mecha-cats are trying
to kick our heroes out of their own house!

Explore the Mansion and retrieve
mechanical parts that are in the safe.

Help Waffle find the parts needed to build a
Robot Super Cat and show these scrap heaps
who rules under this roof!

INsTRUCTions

INsTRUCTions

spacebar

Use the directional keys to move Left and Right, and the Up arrow to jump.
When jumping, hold down          to make Waffle float over a short distance.
Battle against the bots by tapping                      to make Waffle kick.

Be

alert!

Be

alert!

Destroy all bots to open the safe holding
the Robot Super Cat parts!
Kick or jump on cat bots' heads to defeat them.

Tip: Kick the explosive fur-balls back at the bots to earn more gears!

The cat bots are trying to wack Waffle!

Don’t forget to look at the timer!
You have only a few minutes to find the
Robot Super Cat parts!

If your Life Bar is nearing empty, look for
the canned Caviar to replenish it.

On your way, collect gears to boost your score.
Some may be hidden, so jump on cushions and
kick desks or jars to make them appear.

Caviar

1:59

X  50 points

X  50 points

=  500 points

=  500 points

X  5 points

X  5 points

total:    00000

total:

000000

00

0

0

:

0

000000

00

0

0

0

000000

00

0

0

0

50pts

00000

QUIT

QUIT

QUIT

HELP

HELP

HELP

0

0

:

0

4

Destroy  all  bots
to  unlock  the  safe!

Bots  Lefts :

0

Destroy  all  bots
to  unlock  the  safe!

Bots  Lefts :

0

SuBMIT ScOre

SuBMIT ScOre

SuBMIT ScOre

Start Over

Start Over

Start Over

Oh no!

The Robo-Cat-Rampage continues!
Try again!

Score:                     pts

00000

NO SCRAP HEAPS
RULE UNDER OUR ROOF!

00000

High Scores

Score:
pts

Updating High Scores list..

00000

Scroll

ActionScript [AS1/AS2]

Frame 1
_global.ipbSend = function (ipb_score) { _root._visible = false; _root.enabled = false; if (ipb_score == eval("undefined")) { ipb_score = eval (_global.ipb_scoreVar); } stopAllSounds(); xx = new LoadVars(); xx.gname = _global.ipb_get_gname(); xx.gscore = ipb_score; xx.send("index.php?act=Arcade&do=newscore", "_self", "POST"); stop(); }; _global.ipb_get_gname = function () { var u = _root._url; var ipb_gname = ""; var ch = ""; var startPos = (u.lastIndexOf("\\") + 1); if ((startPos == -1) || (startPos == 0)) { startPos = u.lastIndexOf("/") + 1; } var x = startPos; var len = String(u).length; while (x < String(u).length) { ch = u.charAt(x); if (ch == ".") { break; } ipb_gname = ipb_gname + ch; x++; } return(ipb_gname); }; fscommand("showmenu", false); fscommand("trapallkeys", true); ipb_gname = _global.ipb_get_gname(); xx = new LoadVars(); xx.onLoad = function (success) { if (!success) { stop(); } else { _global.ipb_scoreVar = this.scoreVar; } }; fname = ((("arcade/gamedata/" + ipb_gname) + "/") + ipb_gname) + ".txt"; xx.load(fname); Stage.showMenu = false; _focusrect = false; _global.theStage = this; stop();
Instance of Symbol 5 MovieClip in Frame 1
onClipEvent (enterFrame) { var l_pc = Math.ceil((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 100); if (l_pc == 100) { _parent.gotoAndStop("TitleCard"); } else { _parent.Loading_txt.text = l_pc + "%"; _parent.Loading_txtO.text = l_pc + "%"; } }
Instance of Symbol 117 MovieClip in Frame 2
onClipEvent (load) { function mute() { SoundActive = false; _global.Hud.Son.gotoAndStop(2); } function unmute() { SoundActive = true; _global.Hud.Son.gotoAndStop(1); } function initGame(bPlayAgain) { Score = 0; Life = 10; Level = 1; Time = 0; gear = 0; AmountLife = 1; TotalScore = 0; endStageScore = 0; goToScreen("level" + Level, true); resetTimer(); GameActive = true; } function endGame(endType) { GameActive = false; _global.Game.G_Pause = true; Score = _global.Game.Pers.Point; if (endType == "lose") { TotalScore = Score; goToScreen("Lose", true); } else { goToScreen("Win", true); } } function reInitGame() { Score = 0; Life = 10; gear = 0; TotalScore = 0; endStageScore = 0; goToScreen("level" + Level, true); } function levelUp() { Time = 0; Level++; _global.Transition.gotoAndStop("NextLevel"); NextScreen = "level" + Level; Reset = true; } function resumeGame() { _global.Game.G_Resume = true; } function resetTimer() { Time = 0; } function increaseTime() { if (!_global.Game.G_Pause) { Time++; } TimeRemain = TotalTime - Time; if (TimeRemain == 0) { endGame("lose"); } refreshTime(); } function TimeFlash() { if (TimeRemain <= 10) { if (_global.Hud.Minute._visible) { _global.Hud.Minute._visible = false; _global.Hud.Seconde._visible = false; _global.Hud.Seconde2._visible = false; } else { _global.Hud.Minute._visible = true; _global.Hud.Seconde._visible = true; _global.Hud.Seconde2._visible = true; } } } function refreshTime() { var _local4 = Math.floor(TimeRemain / 60); var _local3 = TimeRemain % 60; if (_local3 < 10) { var _local2 = "0" + String(_local3); } else { var _local2 = String(_local3); } _global.Hud.Minute.text = _local4; _global.Hud.Seconde.text = _local2.slice(0, 1); _global.Hud.Seconde2.text = _local2.slice(1, 2); } function calculateBonus(bLoose) { TimeBonus = 0; if (bLoose) { TimeBonus = 0; } else { TimeBonus = TimeRemain * 5; TotalScore = TimeBonus + Score; } } function refreshScore() { _global.theStage.xBonus.text = Score; _global.theStage.timeBonus.text = TimeBonus; _global.theStage.totalPoints.text = Score + TimeBonus; } function showHelp(inGame) { if (inGame) { GameActive = true; _global.Game.G_Pause = true; _global.Popup.gotoAndStop("Instructions"); } else { GameActive = false; _global.Popup.gotoAndStop("Instructions"); _global.theStage.gotoAndStop("Reset"); } } function helpBack() { _global.Popup.prevFrame(); } function helpNext() { _global.Popup.nextFrame(); } function goToScreen(Screen, ResetLevel) { _global.Transition.gotoAndStop("Transition"); NextScreen = Screen; Reset = ResetLevel; } function resetScreen() { if (Reset) { _root.gotoAndStop("Reset"); } _global.Popup.gotoAndStop(1); } function showScreen() { _global.theStage.gotoAndStop(NextScreen); refreshTime(); if ((NextScreen == "Lose") || (NextScreen == "Win")) { refreshScore(); } else if (NextScreen.indexOf("level") != -1) { _global.Popup.gotoAndStop(Level + "Start"); } } function beginLevel() { _global.Popup.gotoAndStop(1); _global.C.ActivateHud(); _global.Game.G_Resume = true; } function endLevel(CurrentPoint, CurrentLife) { Score = CurrentPoint; _global.Popup.gotoAndStop(Level + "End"); SetResult(); } function SetResult() { _global.Hud.Minute._visible = true; _global.Hud.Seconde._visible = true; _global.Hud.Seconde2._visible = true; _global.Popup.collected_txt.text = gear; calculateBonus(false); var _local4 = Math.floor(TimeRemain / 60); var _local3 = TimeRemain % 60; if (_local3 < 10) { var _local2 = "0" + String(_local3); } else { var _local2 = String(_local3); } _global.Popup.Minute.text = _local4; _global.Popup.Seconde.text = _local2.slice(0, 1); _global.Popup.Seconde2.text = _local2.slice(1, 2); _global.Popup.Score_txt.text = TotalScore; _global.Game.G_Pause = true; gear = 0; Life = 10; endStageScore = TotalScore; } function endTransition() { _global.Transition.gotoAndStop(1); } function ActivateHud() { _global.Hud.btnHelp.enabled = true; _global.Hud.Son.btnMute.enabled = true; } function DesactivateHud() { _global.Hud.btnHelp.enabled = false; _global.Hud.Son.btnMute.enabled = false; } function getAgentID() { } _global.C = this; var Reset = false; var Time = 0; var gear = 0; var AmountLife = 1; var TotalTime = 420; var TimeRemain = TotalTime; var NextScreen = ""; var GameActive = false; var SoundActive = true; var TotalScore = 0; var endStageScore = 0; }
Frame 6
_global.SoundCTRL.playSound("MusicLoop2", 30, 100000);
Frame 7
_global.Sounds.SwitchToPack(); stop();
Instance of Symbol 304 MovieClip "Popup" in Frame 7
onClipEvent (load) { _global.Popup = this; }
Instance of Symbol 314 MovieClip "Transition" in Frame 7
onClipEvent (load) { _global.Transition = this; }
Instance of Symbol 316 MovieClip in Frame 7
onClipEvent (load) { function mute() { SoundActive = false; _global.Hud.Son.gotoAndStop(2); } function unmute() { SoundActive = true; _global.Hud.Son.gotoAndStop(1); } function initGame(bPlayAgain) { Score = 0; Life = 10; Level = 1; Time = 0; gear = 0; AmountLife = 1; TotalScore = 0; endStageScore = 0; goToScreen("level" + Level, true); resetTimer(); GameActive = true; } function endGame(endType) { GameActive = false; _global.Game.G_Pause = true; Score = _global.Game.Pers.Point; if (endType == "lose") { TotalScore = Score; goToScreen("Lose", true); } else { goToScreen("Win", true); } } function reInitGame() { Score = 0; Life = 10; gear = 0; TotalScore = 0; endStageScore = 0; goToScreen("level" + Level, true); } function levelUp() { Time = 0; Level++; _global.Transition.gotoAndStop("NextLevel"); NextScreen = "level" + Level; Reset = true; } function resumeGame() { _global.Game.G_Resume = true; } function resetTimer() { Time = 0; } function increaseTime() { if (!_global.Game.G_Pause) { Time++; } TimeRemain = TotalTime - Time; if (TimeRemain == 0) { endGame("lose"); } refreshTime(); } function TimeFlash() { if (TimeRemain <= 10) { if (_global.Hud.Minute._visible) { _global.Hud.Minute._visible = false; _global.Hud.Seconde._visible = false; _global.Hud.Seconde2._visible = false; } else { _global.Hud.Minute._visible = true; _global.Hud.Seconde._visible = true; _global.Hud.Seconde2._visible = true; } } } function refreshTime() { var _local4 = Math.floor(TimeRemain / 60); var _local3 = TimeRemain % 60; if (_local3 < 10) { var _local2 = "0" + String(_local3); } else { var _local2 = String(_local3); } _global.Hud.Minute.text = _local4; _global.Hud.Seconde.text = _local2.slice(0, 1); _global.Hud.Seconde2.text = _local2.slice(1, 2); } function calculateBonus(bLoose) { TimeBonus = 0; if (bLoose) { TimeBonus = 0; } else { TimeBonus = TimeRemain * 5; TotalScore = TimeBonus + Score; } } function refreshScore() { _global.theStage.xBonus.text = Score; _global.theStage.timeBonus.text = TimeBonus; _global.theStage.totalPoints.text = Score + TimeBonus; } function showHelp(inGame) { if (inGame) { GameActive = true; _global.Game.G_Pause = true; _global.Popup.gotoAndStop("Instructions"); } else { GameActive = false; _global.Popup.gotoAndStop("Instructions"); _global.theStage.gotoAndStop("Reset"); } } function helpBack() { _global.Popup.prevFrame(); } function helpNext() { _global.Popup.nextFrame(); } function goToScreen(Screen, ResetLevel) { _global.Transition.gotoAndStop("Transition"); NextScreen = Screen; Reset = ResetLevel; } function resetScreen() { if (Reset) { _root.gotoAndStop("Reset"); } _global.Popup.gotoAndStop(1); } function showScreen() { _global.theStage.gotoAndStop(NextScreen); refreshTime(); if ((NextScreen == "Lose") || (NextScreen == "Win")) { refreshScore(); } else if (NextScreen.indexOf("level") != -1) { _global.Popup.gotoAndStop(Level + "Start"); } } function beginLevel() { _global.Popup.gotoAndStop(1); _global.C.ActivateHud(); _global.Game.G_Resume = true; } function endLevel(CurrentPoint, CurrentLife) { Score = CurrentPoint; _global.Popup.gotoAndStop(Level + "End"); SetResult(); } function SetResult() { _global.Hud.Minute._visible = true; _global.Hud.Seconde._visible = true; _global.Hud.Seconde2._visible = true; _global.Popup.collected_txt.text = gear; calculateBonus(false); var _local4 = Math.floor(TimeRemain / 60); var _local3 = TimeRemain % 60; if (_local3 < 10) { var _local2 = "0" + String(_local3); } else { var _local2 = String(_local3); } _global.Popup.Minute.text = _local4; _global.Popup.Seconde.text = _local2.slice(0, 1); _global.Popup.Seconde2.text = _local2.slice(1, 2); _global.Popup.Score_txt.text = TotalScore; _global.Game.G_Pause = true; gear = 0; Life = 10; endStageScore = TotalScore; } function endTransition() { _global.Transition.gotoAndStop(1); } function ActivateHud() { _global.Hud.btnHelp.enabled = true; _global.Hud.Son.btnMute.enabled = true; } function DesactivateHud() { _global.Hud.btnHelp.enabled = false; _global.Hud.Son.btnMute.enabled = false; } function getAgentID() { } _global.C = this; var Reset = false; var Time = 0; var gear = 0; var AmountLife = 1; var TotalTime = 420; var TimeRemain = TotalTime; var NextScreen = ""; var GameActive = false; var SoundActive = true; var TotalScore = 0; var endStageScore = 0; }
Instance of Symbol 318 MovieClip in Frame 7
onClipEvent (load) { function ToMute() { _global.Muted = true; this.onEnterFrame = function () { if (SetVolumePack > 0) { SetVolumePack = SetVolumePack - 5; packMusic.setVolume(SetVolumePack); } if (SetVolumeInG > 0) { SetVolumeInG = SetVolumeInG - 5; gameMusic.setVolume(SetVolumeInG); } if ((SetVolumePack == 0) && (SetVolumeInG == 0)) { delete onEnterFrame; } }; } function UnMute() { _global.Muted = false; this.onEnterFrame = function () { if ((SetVolumePack < 80) && (musicIn == "Packaging")) { SetVolumePack = SetVolumePack + 5; packMusic.setVolume(SetVolumePack); } if ((SetVolumeInG < 80) && (musicIn == "InGame")) { SetVolumeInG = SetVolumeInG + 5; gameMusic.setVolume(SetVolumeInG); } if ((SetVolumePack == 80) || (SetVolumeInG == 80)) { delete onEnterFrame; } }; } function SwitchToPack() { musicIn = "Packaging"; this.onEnterFrame = function () { if (_global.Muted) { delete onEnterFrame; } else { if (SetVolumePack < 80) { SetVolumePack = SetVolumePack + 5; packMusic.setVolume(SetVolumePack); } if (SetVolumeInG > 0) { SetVolumeInG = SetVolumeInG - 5; gameMusic.setVolume(SetVolumeInG); } if ((SetVolumePack == 80) && (SetVolumeInG == 0)) { delete onEnterFrame; } } }; } function SwitchToInGame() { musicIn = "InGame"; this.onEnterFrame = function () { if (_global.Muted) { delete onEnterFrame; } else { if (SetVolumeInG < 80) { SetVolumeInG = SetVolumeInG + 5; gameMusic.setVolume(SetVolumeInG); } if (SetVolumePack > 0) { SetVolumePack = SetVolumePack - 5; packMusic.setVolume(SetVolumePack); } if ((SetVolumeInG == 80) && (SetVolumePack == 0)) { delete onEnterFrame; } } }; } function PlayASound(WitchSound, nloop, nVolume) { trace("WitchSound = " + WitchSound); if (nloop == undefined) { nloop = 1; } if (nVolume == undefined) { nVolume = 100; } if (!_global.Muted) { eval (WitchSound).start(0, nloop); eval (WitchSound).setVolume(nVolume); } } _global.Sounds = this; _global.Muted = false; var SetVolumeInG; var SetVolumePack; var musicIn; this.createEmptyMovieClip("packMusic", 1); packMusic = new Sound("packMusic"); packMusic.attachSound("packMusic"); this.createEmptyMovieClip("gameMusic", 2); gameMusic = new Sound("gameMusic"); gameMusic.attachSound("gameMusic"); packMusic.start(0, 1000000); gameMusic.start(0, 1000000); SetVolumePack = 80; SetVolumeInG = 0; musicIn = "Packaging"; packMusic.setVolume(SetVolumePack); gameMusic.setVolume(SetVolumeInG); this.createEmptyMovieClip("Jump", 3); Jump = new Sound("Jump"); Jump.attachSound("Jump"); this.createEmptyMovieClip("Kick", 4); Kick = new Sound("Kick"); Kick.attachSound("Kick"); this.createEmptyMovieClip("Pot", 5); Pot = new Sound("Pot"); Pot.attachSound("Pot"); this.createEmptyMovieClip("Tirroir", 7); Tirroir = new Sound("Tirroir"); Tirroir.attachSound("Tirroir"); this.createEmptyMovieClip("Objet", 10); Objet = new Sound("Objet"); Objet.attachSound("Objet"); this.createEmptyMovieClip("Ball", 12); Ball = new Sound("Ball"); Ball.attachSound("Ball"); this.createEmptyMovieClip("Lazer", 13); Lazer = new Sound("Lazer"); Lazer.attachSound("Lazer"); this.createEmptyMovieClip("Crache", 14); Crache = new Sound("Crache"); Crache.attachSound("Crache"); this.createEmptyMovieClip("Explos", 15); Explos = new Sound("Explos"); Explos.attachSound("Explos"); this.createEmptyMovieClip("Bump", 16); Bump = new Sound("Bump"); Bump.attachSound("Bump"); this.createEmptyMovieClip("electroc", 17); electroc = new Sound("electroc"); electroc.attachSound("electroc"); this.createEmptyMovieClip("Coussin", 18); Coussin = new Sound("Coussin"); Coussin.attachSound("Coussin"); this.createEmptyMovieClip("rBump", 19); rBump = new Sound("rBump"); rBump.attachSound("rBump"); this.createEmptyMovieClip("rHead", 20); rHead = new Sound("rHead"); rHead.attachSound("rHead"); this.createEmptyMovieClip("Missile", 22); Missile = new Sound("Missile"); Missile.attachSound("Missile"); this.createEmptyMovieClip("Dead", 23); Dead = new Sound("Dead"); Dead.attachSound("Dead"); }
Instance of Symbol 320 MovieClip in Frame 7
onClipEvent (load) { function getScores() { if (G_TestHighScore == true) { trace("getScores"); } if (gProxyObj == undefined) { if (G_TestHighScore == true) { trace("dans getscore, listescore"); } listScores(); } else { if (G_TestHighScore == true) { trace("dans getscore, getScores"); } gProxyObj.getScores(cbFunc2); } } function submitScore(theScore) { if (G_TestHighScore == true) { trace("Envoie le score = " + theScore); } gProxyObj.submitScore(theScore, cbFunc); } function initHiScores() { if (G_TestHighScore == true) { trace("Tu init le highscore!"); } gProxyObj.setGame_Id("cs_destructo"); } function getScoreString() { var _local5 = "Oops! The high score list isn't available right now!"; var _local8 = 30; if (gProxyObj != undefined) { var _local7 = gProxyObj.getScoreCount(); if (_local7 > 0) { var _local1; var _local6; var _local3; var _local4; _local5 = ""; _local1 = 0; while (_local1 < _local7) { _local6 = gProxyObj.getScoreItem(_local1); _local3 = _local6[0]; _local4 = fStyleNumber(_local6[1]); spaceNb = ((_local8 - _local3.length) - _local4.length) - 4; spaceTXT = ""; var _local2 = 0; while (_local2 < spaceNb) { spaceTXT = spaceTXT + " "; _local2++; } if (_local1 < 9) { _local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline); } else if (_local1 < 99) { _local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline); } else { _local5 = _local5 + ((((((_local1 + 1) + " ") + _local3) + spaceTXT) + _local4) + newline); } _local1++; } } else { _local5 = "Whoops, the high scores seem to have escaped!"; } } if (G_TestHighScore == true) { trace("Tu retournes \u00E7a = " + _local5); } return(_local5); } function listScores() { if (G_TestHighScore == true) { trace("Liste les scores.."); } _parent.txt_highScore.text = getScoreString(); } function cbFunc(thisBool) { if (thisBool) { listScores(); } else { if (G_TestHighScore == true) { trace("CBfunc y\u00E9 false..."); } _parent.txt_highScore.text = "Oops! The high score list isn\u2019t available right now!"; } } function cbFunc2(thisBool) { if (thisBool) { listScores(); } else { _parent.txt_highScore.text = "Oops! The high score list isn\u2019t available right now!"; } } function fStyleNumber(_nNumber, _nMinimumChar) { _sNumber = String(_nNumber); _sNewString = ""; _nlength = _sNumber.length; _nlength = _nlength / 3; if (_nlength <= 1) { _sNewNumber = _sNumber; if (_sNewNumber.length < _nMinimumChar) { _sNewNumber = "0" + _sNewNumber; } return(_sNewNumber); } _nLoop = _nlength; while (_nLoop > 1) { _sNewString = (" " + _sNumber.substr(-3)) + _sNewString; _sNumber = _sNumber.substr(0, -3); _nLoop--; } _sNewNumber = _sNumber + _sNewString; if (_sNewNumber.length < _nMinimumChar) { _sNewNumber = "0" + _sNewNumber; } return(_sNewNumber); } _global.HS = this; var G_ShowHighScore = true; var G_TestHighScore = false; if (G_TestHighScore == true) { gProxyObj.setServer("www.nick-q.mtvi.com"); gProxyObj.setScreenName("DanQuiTest"); gProxyObj.setIsLoggedIn(true); } }
Frame 14
_global.Sounds.SwitchToInGame(); stop();
Instance of Symbol 699 MovieClip "Game" in Frame 14
onClipEvent (load) { this._xscale = 100; this._yscale = 100; this._x = -220; this._y = -380; }
Instance of Symbol 730 MovieClip "Hud" in Frame 14
onClipEvent (load) { _global.Hud = this; _global.C.DesactivateHud(); }
Instance of Symbol 742 MovieClip "ShowLeft" in Frame 14
onClipEvent (load) { _global.ShowLeft = this; }
Frame 19
_global.Sounds.SwitchToInGame(); stop();
Instance of Symbol 782 MovieClip "Game" in Frame 19
onClipEvent (load) { this._xscale = 100; this._yscale = 100; this._x = -220; this._y = -380; }
Frame 24
_global.Sounds.SwitchToInGame(); stop();
Instance of Symbol 836 MovieClip "Game" in Frame 24
onClipEvent (load) { this._xscale = 100; this._yscale = 100; this._x = -220; this._y = -380; }
Frame 31
stop(); _global.Sounds.SwitchToPack(); _global.HS.initHiScores(); if (gProxyObj.getIsLoggedIn()) { btn_submit_score._visible = true; } else { btn_submit_score._visible = false; } if (_global.HS.G_ShowHighScore == false) { btn_submit_score._visible = false; btn_view_score._visible = false; }
Frame 36
_global.Sounds.SwitchToPack(); stop(); _global.HS.initHiScores(); if (gProxyObj.getIsLoggedIn()) { btn_submit_score._visible = true; } else { btn_submit_score._visible = false; } if (_global.HS.G_ShowHighScore == false) { btn_submit_score._visible = false; btn_view_score._visible = false; }
Frame 42
if (gProxyObj.getIsLoggedIn()) { btn_submit_score._visible = true; } else { btn_submit_score._visible = false; } _global.HS.getScores();
Instance of Symbol 967 MovieClip "ControlScroll" in Frame 42
onClipEvent (load) { scrollUp = false; scrollDown = false; } onClipEvent (enterFrame) { if (scrollUp == true) { _parent.txt_highScore.scroll--; } else if (scrollDown == true) { _parent.txt_highScore.scroll++; } }
Symbol 97 Button
on (keyPress "<Left>") { return(undefined); } on (keyPress "<Right>") { return(undefined); } on (keyPress "<Up>") { return(undefined); } on (keyPress "<Down>") { return(undefined); } on (keyPress "<Space>") { return(undefined); }
Symbol 117 MovieClip Frame 1
stop();
Symbol 127 Button
on (release) { _global.C.initGame(); }
Symbol 131 Button
on (release) { _global.C.showHelp(false); }
Symbol 140 Button
on (release) { _global.Game.G_Resume = true; }
Symbol 159 Button
on (release) { _global.Sounds.SwitchToInGame(); _global.C.resumeGame(); }
Symbol 160 MovieClip Frame 1
trace(_global.C.GameActive); if (_global.C.GameActive) { gotoAndStop (2); } stop();
Symbol 163 Button
on (release) { _global.C.helpNext(); }
Symbol 177 MovieClip Frame 10
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 198 Button
on (release) { _global.C.helpBack(); }
Symbol 292 Button
on (release) { _global.C.levelUp(); }
Symbol 303 Button
on (release) { _global.C.endGame("win"); }
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
backBtn.useHandCursor = false;
Instance of Symbol 135 MovieClip "backBtn" in Symbol 304 MovieClip Frame 2
on (release) { }
Symbol 304 MovieClip Frame 7
_global.Sounds.SwitchToPack(); BackBtn.useHandCursor = false;
Symbol 304 MovieClip Frame 18
_global.C.beginLevel();
Symbol 304 MovieClip Frame 31
_global.C.beginLevel();
Symbol 304 MovieClip Frame 45
_global.C.beginLevel();
Symbol 312 MovieClip Frame 23
_global.C.resetScreen();
Symbol 312 MovieClip Frame 36
_global.C.showScreen();
Symbol 312 MovieClip Frame 48
_global.C.endTransition();
Symbol 313 MovieClip Frame 21
_global.C.resetScreen();
Symbol 313 MovieClip Frame 58
_global.C.showScreen();
Symbol 313 MovieClip Frame 70
_global.C.endTransition();
Symbol 314 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 5
_global.C.TimeFlash();
Symbol 324 MovieClip Frame 10
_global.C.TimeFlash();
Symbol 324 MovieClip Frame 15
_global.C.TimeFlash();
Symbol 324 MovieClip Frame 20
_global.C.TimeFlash();
Symbol 324 MovieClip Frame 25
_global.C.TimeFlash();
Symbol 324 MovieClip Frame 30
_global.C.TimeFlash();
Symbol 324 MovieClip Frame 35
_global.C.increaseTime();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 4
if (_parent.Control.Pers.GunUsed == "GlueGun") { _parent.Control.CreerPersBall(); }
Symbol 373 MovieClip Frame 37
stop();
Symbol 374 MovieClip [minXBonus] Frame 1
stop();
Symbol 379 MovieClip Frame 1
this._visible = false;
Symbol 383 MovieClip Frame 44
stop();
Symbol 383 MovieClip Frame 53
stop();
Symbol 390 MovieClip Frame 5
stop();
Symbol 390 MovieClip Frame 16
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 10
stop();
Instance of Symbol 250 MovieClip "missile" in Symbol 401 MovieClip Frame 10
onClipEvent (load) { _global.Sounds.PlayASound("Explos", 1, 80); }
Symbol 402 MovieClip Frame 3
_global.Sounds.PlayASound("Missile", 1, 80);
Symbol 405 MovieClip Frame 14
_parent._parent.removeMovieClip();
Symbol 406 MovieClip Frame 30
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 9
stop();
Symbol 407 MovieClip Frame 13
stop();
Symbol 407 MovieClip Frame 17
stop();
Symbol 407 MovieClip Frame 25
stop();
Symbol 407 MovieClip Frame 33
stop();
Symbol 407 MovieClip Frame 41
stop();
Symbol 407 MovieClip Frame 49
stop();
Symbol 407 MovieClip Frame 57
stop();
Symbol 407 MovieClip Frame 66
stop();
Symbol 414 MovieClip Frame 41
stop();
Symbol 420 MovieClip Frame 30
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 65
stop();
Symbol 446 MovieClip Frame 30
stop();
Symbol 464 MovieClip Frame 6
stop();
Symbol 465 MovieClip Frame 12
stop();
Symbol 466 MovieClip Frame 1
stop();
Instance of Symbol 468 MovieClip "spark" in Symbol 469 MovieClip Frame 9
onClipEvent (enterFrame) { this._x = _parent.missile._x; }
Symbol 469 MovieClip Frame 45
stop();
Symbol 476 MovieClip Frame 30
stop();
Symbol 477 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 16
stop();
Symbol 477 MovieClip Frame 65
stop();
Symbol 478 MovieClip Frame 1
stop();
Instance of Symbol 407 MovieClip "Obj" in Symbol 478 MovieClip Frame 1
/* no clip actions */
Symbol 478 MovieClip Frame 2
stop();
Symbol 478 MovieClip Frame 3
stop();
Symbol 478 MovieClip Frame 4
stop();
Symbol 478 MovieClip Frame 5
stop();
Symbol 478 MovieClip Frame 6
stop();
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 2
play();
Symbol 522 MovieClip Frame 22
stop();
Symbol 522 MovieClip Frame 23
stop();
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 2
play();
Symbol 528 MovieClip Frame 22
stop();
Symbol 528 MovieClip Frame 23
stop();
Symbol 533 MovieClip Frame 1
stop();
Symbol 533 MovieClip Frame 2
play();
Symbol 533 MovieClip Frame 22
stop();
Symbol 533 MovieClip Frame 23
stop();
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 2
play();
Symbol 537 MovieClip Frame 21
stop();
Symbol 537 MovieClip Frame 22
stop();
Symbol 541 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 2
play();
Symbol 541 MovieClip Frame 22
stop();
Symbol 541 MovieClip Frame 23
stop();
Symbol 548 MovieClip Frame 10
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 560 MovieClip Frame 1
stop();
Symbol 560 MovieClip Frame 2
play();
Symbol 560 MovieClip Frame 13
stop();
Symbol 584 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 1
_visible = false;
Symbol 603 MovieClip Frame 8
stop(); _global.oPerso.persoIsAttacking = false;
Symbol 611 MovieClip Frame 5
stop();
Symbol 613 MovieClip Frame 7
stop(); _global.oPerso.persoIsAttacking = false;
Symbol 616 MovieClip Frame 17
stop();
Symbol 623 MovieClip Frame 12
_global.oPerso.persoIsInPain = false;
Symbol 647 MovieClip Frame 18
stop();
Symbol 673 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 7
stop();
Symbol 673 MovieClip Frame 15
stop();
Symbol 673 MovieClip Frame 21
stop();
Symbol 673 MovieClip Frame 27
stop();
Symbol 673 MovieClip Frame 34
stop();
Symbol 673 MovieClip Frame 39
stop();
Symbol 673 MovieClip Frame 47
stop();
Symbol 673 MovieClip Frame 54
stop();
Symbol 673 MovieClip Frame 61
stop();
Symbol 673 MovieClip Frame 68
stop();
Symbol 673 MovieClip Frame 76
stop();
Symbol 673 MovieClip Frame 84
stop();
Symbol 673 MovieClip Frame 99
stop();
Symbol 673 MovieClip Frame 105
stop();
Symbol 674 MovieClip Frame 1
Obj.gotoAndStop(_parent.Control.Pers.Etat); stop();
Symbol 674 MovieClip Frame 2
Obj.gotoAndStop(_parent.Control.Pers.Etat); stop();
Symbol 692 MovieClip Frame 8
stop();
Symbol 693 MovieClip Frame 1
stop();
Instance of Symbol 681 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 693 MovieClip Frame 8
stop();
Symbol 693 MovieClip Frame 15
stop();
Symbol 693 MovieClip Frame 23
stop();
Symbol 694 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 2
stop();
Symbol 695 MovieClip Frame 121
stop();
Symbol 696 MovieClip Frame 1
stop();
Symbol 696 MovieClip Frame 8
stop();
Symbol 696 MovieClip Frame 15
stop();
Symbol 696 MovieClip Frame 23
stop();
Instance of Symbol 405 MovieClip "Etat" in Symbol 696 MovieClip Frame 23
onClipEvent (load) { _global.Sounds.PlayASound("Explos", 1, 80); }
Symbol 696 MovieClip Frame 27
stop();
Symbol 696 MovieClip Frame 31
stop();
Symbol 697 MovieClip Frame 1
stop();
Symbol 697 MovieClip Frame 2
stop();
Instance of Symbol 322 MovieClip "Control" in Symbol 699 MovieClip Frame 1
onClipEvent (load) { function ObjPers(PosX, PosY, Perso) { this.Nom = "Pers"; this.Etat = "Idle"; this.EtatOld = "Idle"; this.Dir = "D"; this.DirOld = "D"; this.Point = _global.C.TotalScore; this.Life = _global.C.Life; this.SpdXMinion = 3; this.SpdXNormal = 9; this.SpdXBase = 0; this.SpdXNow = 0; this.MoveX = 0; this.MoveY = 0; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.FrontX = 0; this.FrontY = 0; this.BottomFrontX = 0; this.BottomBackX = 0; this.BackX = 0; this.HitGrdPoint = 0; this.WallHitBloc = 2; this.SpdYNow = 0; this.SpdYUp = 1; this.SpdYMax = 20; this.SpdYFall = 0.1; this.SpdXHitBase = 25; this.SpdYHitBase = -6; this.SpdStartJump = -16; this.SolOut = 2; this.SolHitMin = 5; this.MaxSol = 3; this.HitGrd = false; this.SolForJump = 6; this.DistYFall = 0; this.DistYLand = 30; this.CanHit = false; this.CanBeHit = true; this.FrWalkNow = 1; this.InPause = false; this.FrJump = 1; this.FrFall = 14; this.FrLand = 10; this.FrGetHit = 10; this.FrGetHitCount = 0; this.FrBoomTir = 9; this.FrFinBoom = 6; this.FrDead = 140; this.FrDeadCount = 0; this.Perso = Perso; this.updatePerso(); this.LgGetShootX = 20; this.LgGetShootUp = 72; this.LgGetShootUpBas = 44; this.FrInvincibleCount = 0; this.FrInvincible = 60; this.Invincible = false; this.frKick1 = 2; this.frFinKick1 = 7; this.frKick2 = 2; this.frFinKick2 = 7; this.frFinKick3 = 7; this.HitPointX = 0; this.HitPointY = 0; this.KickInAir = 3; this.frEasterEgg = 337; } function ModifSpeed(initSpeed, way, inAir, Dir) { if (way == "acc") { if (Dir == "D") { if (inAir) { initSpeed = initSpeed + 0.4; } else { initSpeed = initSpeed + 1.2; } if (initSpeed > 9) { initSpeed = 9; } } else { if (inAir) { initSpeed = initSpeed - 0.4; } else { initSpeed = initSpeed - 1.2; } if (initSpeed < -9) { initSpeed = -9; } } } else if (way == "dec") { if (initSpeed < 0) { if (inAir) { initSpeed = initSpeed + 0.4; } else { initSpeed = initSpeed + 1.2; } if (initSpeed > 0) { initSpeed = 0; } } else { if (inAir) { initSpeed = initSpeed - 0.4; } else { initSpeed = initSpeed - 1.2; } if (initSpeed < 0) { initSpeed = 0; } } } return(initSpeed); } function ObjPersBall(Nom, PosX, PosY, Dir, HitBullet, Speed, Tab, HitSound) { this.Nom = Nom; this.HitSound = HitSound; this.Tab = Tab; this.HurtMyself = false; this.Dangerous = true; this.Etat = "Move"; this.EtatOld = "Idle"; this.Dir = Dir; this.OldDir = "D"; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.LgOutG = 500; this.LgOutD = 750; this.LgOutUp = 1000; this.LgOutDw = 380; this.passTime = 0; this.Stopped = false; this.CanBeKill = false; if (Dir eq "D") { this.SpdX = ForceX; } else { this.SpdX = -1 * ForceX; } this.Bouncing = Bouncing; if (Bouncing == "vertic") { this.Dangerous = false; } this.detectNow = false; this.SpdY = ForceY; this.InPause = false; this.FrHit = HitBullet; this.FrHide = 1; } function ObjBg(PosX, PosY) { this.Nom = "Bg"; this.PosX = PosX; this.PosY = PosY; this.MoveX = 0; this.MoveY = 0; this.MaxDw = 0; this.MaxUp = 0; this.MaxG = 0; this.MaxD = 0; this.InvPosX = PosX * -1; this.InvPosY = PosY * -1; this.DeadX = PosX; this.DeadY = PosY; this.CurrentScreen = 1; this.OldScreen = 0; this.MaxYDie = 5000; this.CenterX = 250; this.CenterY = 185; this.SpdXD = 15; this.SpdXG = -15; this.SpdYDw = 20; this.SpdYUp = -20; this.InPause = false; } function ObjShred(Nom, PosX, PosY, Dir, Perso) { this.Nom = Nom; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.Dir = Dir; this.OldDir = Dir; this.BaseDir = Dir; this.LgOutG = 200; this.LgOutD = 800; this.LgOutUp = 10; this.LgOutDw = 475; this.GetHitG = 50; this.GetHitD = 50; this.GetHitUp = 115; this.GetHitDw = 0; this.GetFireG = 26; this.GetFireD = 26; this.GetFireUp = 100; this.GetFireDw = 0; this.LgAttackX = 165; this.LgAttackUp = 60; this.LgAttackDw = 440; this.LgCheckPersX = 200; this.LgCheckFightX = 180; this.LgHitX = 60; this.LgHitUp = 35; this.LgHitDw = 60; this.LgFront = 35; this.LgHitBox = 42; this.LgCharge = 65; this.LgBack = 35; this.AssPointX = 12; this.AssPointY = 35; this.FrGetHit = 15; this.FrGetHitCount = 0; this.FrSeeingMaxTime = 35; this.FrSeeingCount = 35; this.FrIdleCheckMin = 36; this.FrIdleCheckMax = 60; this.FrIdleCheckLast = 35; this.FrSurpris = 21; this.FrLand = 8; this.FrDie = 25; this.FrIdle = 131; this.FrReady = 20; this.FrPopOut = 29; this.FrAttack1 = 15; this.FrAttack2 = 15; this.FrAttack3 = 23; this.FrAttack4 = 8; this.FrFinAttack1 = 33; this.FrFinAttack2 = 34; this.FrFinAttack3 = 57; this.FrFinAttack4 = 36; this.FrMoonWalk = 30; this.BombPlace = false; this.frGetGlue = 21; this.frIdleGlue = 131; this.frDeGlue = 21; this.frGetFart = 57; this.frIdleFart = 131; this.frDeFart = 59; this.FartCycle = 0; this.FartCycleMax = 4; this.FrShoot = 12; this.FrShootFin = 55; this.ShootMax = 1; this.ShootCount = 0; this.FrStartPush = 4; this.FrFinPush = 4; this.PushedBox = 0; this.FrSeparateWallCount = 0; this.FrSeparateWallCheck = 15; this.FrBetweenAttack = this.FrMoonWalk; this.waitTimeMissile = 0; this.Life = 3; this.SpdXBase = 3; this.SpdXWalkFight = 6; this.SpdXCharge = 10; this.SpdXGetHit = 12; this.SpdYGetHit = -15; this.SpdXStepBack = 15; this.SpdYStepBack = -10; this.WallSeparate = false; this.SpdXFall = 0; this.MoveX = 0; this.MoveY = 0; this.WallHitBloc = 2; this.SolOut = 2; this.SolHitMin = 3; this.MaxSol = 2; this.HitGrd = false; this.SpdYMax = 20; this.SpdYNow = 0; this.SpdYUp = 2; this.CanBeHit = true; this.InPause = false; this.Perso = Perso; this.TooNearWall = false; this.DistMinWall = 100; } function ObjDestruct(Nom, PosX, PosY, Kind, nbr) { this.Nom = Nom; if (nbr == undefined) { nbr = random(3) + 1; } if (random(10) < 5) { this.BombInside = true; } else { this.BombInside = false; } this.nbr = nbr; this.PosX = PosX; this.PosY = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.LgOutG = 200; this.LgOutD = 800; this.LgOutUp = 10; this.LgOutDw = 475; this.GetHitG = 50; this.GetHitD = 50; this.GetHitUp = 50; this.GetHitDw = 50; this.GetHitGTirroir = 40; this.GetHitDTirroir = 40; this.GetHitUpTirroir = 50; this.GetHitDwTirroir = 100; this.GetStepY = 12; this.GetStepX = 60; this.Stepped = 0; this.FrDead = 21; this.FrJump = 12; this.Life = 1; this.Kind = Kind; } function ObjLifeBonus(Nom, PosX, PosY, Value, imove) { this.Nom = Nom; this.imove = imove; this.passTime = 0; this.detectNow = false; this.Stopped = false; this.bondi = false; ForceX = random(4) + 4; ForceY = random(3) - 19; if (random(100) < 50) { this.SpdX = ForceX; } else { this.SpdX = -1 * ForceX; } this.SpdY = ForceY; this.PosX = PosX; this.PosY = PosY; _parent[Nom]._x = PosX; _parent[Nom]._y = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.LgOutG = 75; this.LgOutD = 600; this.LgOutUp = 300; this.LgOutDw = 800; this.LgHitX = 26; this.LgHitUp = 45; this.LgHitDw = 70; this.InPause = false; this.FrGetElse = 10; this.FrGetScore = 35; this.Value = Value; this.Xdetect = 15; } _global.Game = this; this.KeyListener = new Object(); this.KeyListener.Up = false; this.KeyListener.UpRelease = true; this.KeyListener.Dw = false; this.KeyListener.L = false; this.KeyListener.R = false; this.KeyListener.S = false; this.KeyListener.Z = false; this.KeyListener.Sp = false; this.KeyListener.P = false; this.KeyListener.Sprelease = true; this.KeyListener.Srelease = true; this.KeyListener.onKeyUp = function () { switch (Key.getCode()) { case 38 : this.UpRelease = true; this.Up = false; break; case 40 : this.Dw = false; break; case 37 : this.L = false; break; case 39 : this.R = false; break; case 32 : this.Sprelease = true; this.Sp = false; break; case 83 : this.Srelease = true; this.S = false; } }; this.KeyListener.onKeyDown = function () { switch (Key.getCode()) { case 38 : this.Up = true; break; case 40 : this.Dw = true; break; case 37 : this.L = true; break; case 39 : this.R = true; break; case 32 : if (this.Sprelease) { this.Sp = true; this.Sprelease = false; } break; case 83 : if (!this.Srelease) { break; } this.S = true; this.Srelease = false; } }; Key.addListener(this.KeyListener); Selection.setFocus(_parent._parent.FocusBtn); G_CurrentFocus = Selection.getFocus(); G_CheckPause = function () { if ((Pers.Etat != "Die") and (Pers.Etat != "Dead")) { if (G_PauseOut && (!G_Pause)) { G_Pause = true; _parent.ControlBall.stop(); _parent._parent.Popup.gotoAndStop("Pause"); if (_global.C.SoundActive) { _global.SoundCTRL.muteAllSounds(); } _global.C.DesactivateHud(); } else if ((G_Resume == true) and (G_Pause == true)) { G_PauseOut = false; Selection.setFocus(_parent._parent.FocusBtn); G_CurrentFocus = Selection.getFocus(); KeyListener.Up = false; KeyListener.UpRelease = true; KeyListener.Dw = false; KeyListener.L = false; KeyListener.R = false; KeyListener.X = false; KeyListener.Z = false; KeyListener.Sp = false; Music.VolDest = 70; Music.Etat = "FadeIn"; G_Pause = false; G_Resume = false; _parent._parent.Popup.gotoAndStop(1); if (_global.C.SoundActive) { _global.SoundCTRL.unmuteAllSounds(); } _global.C.ActivateHud(); if (_parent.ControlBall._currentframe != 1) { _parent.ControlBall.play(); } } } }; CreerPers = function (PosX, PosY, Perso) { this.Pers = new ObjPers(PosX, PosY, Perso); _parent._parent.Hud.LifeBar.gotoAndStop(Pers.Life + 1); _parent._parent.Hud.LifeBar.gotoAndStop(Pers.Life + 1); _parent._parent.Hud.BonusPoints.text = Pers.Point; _parent._parent.Hud.BonusPointsShadow.text = Pers.Point; }; ObjPers.prototype.Idle = function () { with (this) { KeepDeadPos = true; if (Life > 0) { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckPenche(); CheckSol(); CheckFall(); MovePers(); CheckJump(); this["CheckAction" + Perso](); CheckGetFire(); CheckDie(); checkEaster(); } else { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckSol(); CheckFall(); MovePers(); CheckDie(); } } }; ObjPers.prototype.EasterEgg = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frEasterEgg) { Etat = "Idle"; } } }; ObjPers.prototype.GetLifeBonus = function (AddPoints) { with (this) { newTotalPoint = Point + AddPoints; Point = newTotalPoint; _parent._parent.Hud.BonusPoints.text = Point; _parent._parent.Hud.BonusPointsShadow.text = Point; if (AddPoints == 0) { trace("Life = " + Life); Life = Life + 3; if (Life > 10) { Life = 10; } trace("Life = " + Life); _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); } else if (AddPoints == 500) { _global.C.endLevel(Point, Life); } else { _global.C.gear++; } } }; ObjPers.prototype.Walk = function () { with (this) { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckAttack(); if (Perso == "TuesdayDisguised") { CheckActionTuesdayDisguised(); } CheckPenche(); CheckJump(); CheckSol(); CheckFall(); MovePers(); CheckGetFire(); CheckDie(); } }; ObjPers.prototype.Jump = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); CheckCeil(); CheckGetFire(); this["CheckAction" + Perso](); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= FrJump) { Etat = "FinJump"; } } }; ObjPers.prototype.FinJump = function () { with (this) { SetSpdXJump(); SetMoveX(); if (UseSuit == true) { CheckTir(); } CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); CheckCeil(); this["CheckAction" + Perso](); MovePers(); if (HitGrd == true) { Etat = "Land"; } else if (SpdYNow >= 0) { Etat = "Fall"; DistYFall = 0; } } }; ObjPers.prototype.Fall = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); if (UseSuit == true) { CheckTir(); } this["CheckAction" + Perso](); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if ((_parent.Pers.Obj.Etat._currentframe >= FrFall) or (HitGrd == true)) { SpdXNow = 0; MoveX = 0; if (HitGrd == true) { if (DistYFall >= DistYLand) { Etat = "Land"; } else { Etat = "Idle"; } } else { Etat = "FinFall"; } } CheckHole(); } }; ObjPers.prototype.FinFall = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(FrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (HitGrd == true) { if (DistYFall >= DistYLand) { Etat = "Land"; } else { Etat = "Idle"; } } CheckHole(); } }; ObjPers.prototype.Land = function () { with (this) { SetSpdX(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckSol(); CheckFall(); MovePers(); CheckJump(); this["CheckAction" + Perso](); CheckDie(); if (_parent.Pers.Obj.Etat._currentframe >= FrLand) { if (Life <= 0) { Etat = "Die"; } else { Etat = "Idle"; } } } }; ObjPers.prototype.GetHit1 = function () { with (this) { if (FrGetHitCount >= FrGetHit) { CheckHitGrd(); Etat = "Fall"; FrGetHitCount = 0; InvincibleInit(); } else { FrGetHitCount++; } GetHitGeneral(); } }; ObjPers.prototype.GetHit2 = function () { with (this) { GetHitGeneral(); if (FrGetHitCount >= FrGetHit) { CheckHitGrd(); Etat = "Fall"; FrGetHitCount = 0; InvincibleInit(); } else { FrGetHitCount++; } } }; ObjPers.prototype.GetHitLand = function () { with (this) { GetHitGeneral(); if (FrGetHitCount == FrGetHit) { _parent.Pers.Obj.Etat.play(); FrGetHitCount++; } else if (FrGetHitCount > FrGetHit) { if (_parent.Pers.Obj.Etat._currentframe >= FrGetHitLand) { Etat = "PushVide"; FrGetHitCount = 0; InvincibleInit(); } } else { FrGetHitCount++; } } }; ObjPers.prototype.GetHitGeneral = function () { with (this) { SetSpdXHit(); CheckWall(BackX, TrueY); CheckHitGrd(); CheckSol(); MovePers(); CheckDie(); } }; ObjPers.prototype.GetHit = function () { with (this) { var RandomHit = 0; Life = Life - 1; _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); CanHit = false; SpdXNow = SpdXHitBase; SpdYNow = SpdYHitBase; RandomHit = Math.ceil(Math.random() * 2); Etat = "GetHit" + RandomHit; } }; ObjPers.prototype.GetFire = function () { with (this) { var RandomHit = 0; Life = Life - 1; _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); CanHit = false; SpdXNow = SpdXHitBase; SpdYNow = 0; RandomHit = Math.ceil(Math.random() * 2); Etat = "GetHit" + RandomHit; } }; ObjPers.prototype.CheckGetFire = function () { with (this) { var NbMinionBall = G_TabMinionBall.length; if (NbMinionBall > 0) { var i = 0; while (i < NbMinionBall) { var BallX = _parent.Control[G_TabMinionBall[i]].PosX; var BallY = _parent.Control[G_TabMinionBall[i]].PosY; if (((((BallX >= (PosX - GetFireG)) and (BallX <= (PosX + GetFireD))) and (BallY >= (PosY - GetFireUp))) and (BallY <= (PosY + GetFireDw))) && (!Invincible)) { if (_parent.Control[G_TabMinionBall[i]].Dangerous == true) { Etat = "GetFire"; if (_parent.Control[G_TabMinionBall[i]].Dir == "D") { Dir = "G"; } else if (_parent.Control[G_TabMinionBall[i]].Dir == "G") { Dir = "D"; } _parent.Control[G_TabMinionBall[i]].Etat = "Hit"; } } i++; } } } }; ObjPers.prototype.InvincibleInit = function () { with (this) { Invincible = true; } }; ObjPers.prototype.InvincibleEnd = function () { with (this) { Invincible = false; FrInvincibleCount = 0; _parent.Pers._visible = true; } }; ObjPers.prototype.InvincibleCheck = function () { with (this) { if (Invincible) { if (FrInvincibleCount >= FrInvincible) { InvincibleEnd(); CanBeHit = true; } else { FrInvincibleCount++; if ((FrInvincibleCount % 3) == 0) { _parent.Pers._visible = !_parent.Pers._visible; } } } } }; ObjPers.prototype.Die = function () { with (this) { CanBeHit = false; FrDeadCount++; if (FrDeadCount >= FrDead) { FrDeadCount = 0; _global.C.endGame("lose"); } } }; ObjPers.prototype.SetSpdXHit = function () { with (this) { MoveX = SpdXNow; if (SpdXNow > 0) { SpdXNow = SpdXNow * 0.7; } if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjPers.prototype.SetSpdX = function () { with (this) { if (KeyListener.R == true) { Dir = "D"; if (_parent.Collider.Wall.hitTest(FrontX + WallHitBloc, TrueY, true)) { Etat = "Idle"; SpdXBase = 0; SpdXNow = 0; } else { Etat = "Walk"; SpdXBase = ModifSpeed(SpdXBase, "acc", false, Dir); SpdXNow = SpdXBase; } } else if (KeyListener.L == true) { Dir = "G"; if (_parent.Collider.Wall.hitTest(FrontX - WallHitBloc, TrueY, true)) { Etat = "Idle"; SpdXBase = 0; SpdXNow = 0; } else { Etat = "Walk"; SpdXBase = ModifSpeed(SpdXBase, "acc", false, Dir); SpdXNow = SpdXBase; } } else { if (Etat != "Land") { Etat = "Idle"; } SpdXBase = ModifSpeed(SpdXBase, "dec", false, Dir); SpdXNow = SpdXBase; } if (Dir ne DirOld) { SpdXBase = ModifSpeed(SpdXBase, "dec", false, Dir); SpdXNow = SpdXBase; } } }; ObjPers.prototype.SetSpdXJump = function () { with (this) { if (KeyListener.R == true) { Dir = "D"; if (_parent.Collider.Wall.hitTest(TrueX + WallHitBloc, TrueY, true)) { SpdXBase = 0; SpdXNow = 0; } else { SpdXBase = ModifSpeed(SpdXBase, "acc", true, Dir); SpdXNow = SpdXBase; } } else if (KeyListener.L == true) { Dir = "G"; if (_parent.Collider.Wall.hitTest(TrueX - WallHitBloc, TrueY, true)) { SpdXBase = 0; SpdXNow = 0; } else { SpdXBase = ModifSpeed(SpdXBase, "acc", true, Dir); SpdXNow = SpdXBase; } } else { SpdXBase = ModifSpeed(SpdXBase, "dec", true, Dir); SpdXNow = SpdXBase; } if (Dir ne DirOld) { SpdXBase = ModifSpeed(SpdXBase, "dec", true, Dir); SpdXNow = SpdXBase; } } }; ObjPers.prototype.SetMoveX = function () { with (this) { MoveX = SpdXNow; } }; ObjPers.prototype.checkEaster = function () { with (this) { if (KeyListener.S == true) { Etat = "EasterEgg"; } } }; ObjPers.prototype.CheckWall = function (CoordX, CoordY) { with (this) { if (MoveX != 0) { if (MoveX > 0) { var WallStop = WallHitBloc; } else { var WallStop = (-1 * WallHitBloc); } var WallHit1 = (MoveX / 3); var WallHit2 = (WallHit1 * 2); if (_parent.Collider.Wall.hitTest(CoordX + WallStop, CoordY, true)) { SpdXBase = 0; MoveX = 0; } else if (_parent.Collider.Wall.hitTest(CoordX + WallHit1, CoordY, true)) { SpdXBase = 0; MoveX = WallHitBloc; } else if (_parent.Collider.Wall.hitTest(CoordX + WallHit2, CoordY, true)) { SpdXBase = 0; MoveX = WallHit1; } else if (_parent.Collider.Wall.hitTest(CoordX + MoveX, CoordY, true)) { SpdXBase = 0; MoveX = WallHit2; } } } }; ObjPers.prototype.CheckCeil = function () { with (this) { if (MoveY != 0) { if (_parent.Collider.Ceil.hitTest(TopX, TopY + MoveY, true)) { MoveY = 0; SpdYNow = 0; Etat = "Fall"; DistYFall = 0; } } } }; ObjPers.prototype.Kick1 = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frKick1) { CanHit = true; HitPointX = _parent.Pers.Obj.HitPoint._x; if (Dir == "G") { HitPointX = PosX - HitPointX; } else if (Dir == "D") { HitPointX = PosX + HitPointX; } HitPointY = PosY + _parent.Pers.Obj.HitPoint._y; Etat = "FinKick1"; CheckGetFire(); } } }; ObjPers.prototype.FinKick1 = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frFinKick1) { CanHit = false; if (!HitGrd) { Etat = "Fall"; } else { Etat = "Idle"; } CheckGetFire(); if (KeyListener.Sp) { ComboKick++; } } } }; ObjPers.prototype.Kick2 = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= frKick2) { CanHit = true; HitPointX = _parent.Pers.Obj.HitPoint._x; if (Dir == "G") { HitPointX = PosX - HitPointX; } else if (Dir == "D") { HitPointX = PosX + HitPointX; } HitPointY = PosY + _parent.Pers.Obj.HitPoint._y; Etat = "FinKick2"; CheckGetFire(); } } }; ObjPers.prototype.FinKick2 = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= frFinKick2) { CanHit = false; if (!HitGrd) { Etat = "Fall"; } else { Etat = "Idle"; } CheckGetFire(); if (KeyListener.Sp) { ComboKick++; } } } }; ObjPers.prototype.CheckJump = function () { with (this) { if (((KeyListener.Up == true) and (HitGrd == true)) and (KeyListener.UpRelease == true)) { _global.Sounds.PlayASound("Jump", 1, 60); KeyListener.UpRelease = false; KeepDeadPos = false; Etat = "Jump"; SpdYNow = SpdStartJump; } } }; ObjPers.prototype.CheckActionWaffle = function () { with (this) { if (KeyListener.Sp == true) { KeyListener.Sp = false; if (KickTime < KickInAir) { if (((Etat == "Jump") || (Etat == "FinJump")) || (Etat == "Fall")) { KickTime++; ComboKick = 0; RandomKick = 2; } else { RandomKick = 1; } _global.Sounds.PlayASound("Kick", 1, 50); Etat = "Kick" + RandomKick; } } else if (((((Etat != "Jump") && (Etat != "FinJump")) && (Etat != "Fall")) && (Etat != "Kick2")) && (Etat != "FinKick1")) { KickTime = 0; ComboKick = 0; } } }; ObjPers.prototype.ResetMove = function () { with (this) { MoveX = 0; MoveY = 0; SpdXNow = 0; SpdYNow = 0; } }; ObjPers.prototype.CheckFall = function () { with (this) { if (SpdYNow >= SpdYFall) { KeepDeadPos = false; Etat = "Fall"; DistYFall = 0; } } }; ObjPers.prototype.CheckDie = function () { with (this) { if ((Life <= 0) and (HitGrd == true)) { CanBeHit = false; InvincibleEnd(); _global.C.DesactivateHud(); Etat = "Die"; } } }; ObjPers.prototype.MovePers = function () { with (this) { if ((Pers.TrueX + MoveX) < 0) { MoveX = TrueX * -1; } else if ((Pers.TrueX + MoveX) > 500) { MoveX = 500 - Pers.TrueX; } PosX = _parent.Pers._x + MoveX; _parent.Pers._x = PosX; MoveX = 0; PosY = _parent.Pers._y + MoveY; _parent.Pers._y = PosY; MoveY = 0; } }; ObjPers.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = PosY + _parent._y; TopX = TrueX; TopY = TrueY + _parent.Pers.Obj.HitTop._y; FrontX = _parent.Pers.Obj.HitFront._x; FrontY = TrueY + _parent.Pers.Obj.HitFront._y; BottomFrontX = _parent.Pers.Obj.HitBottomFront._x; BottomBackX = _parent.Pers.Obj.HitBottomBack._x; BackX = _parent.Pers.Obj.HitBack._x; if (Dir == "G") { FrontX = TrueX - FrontX; BottomFrontX = TrueX - BottomFrontX; BottomBackX = TrueX - BottomBackX; BackX = TrueX - BackX; } else if (Dir == "D") { FrontX = TrueX + FrontX; BottomFrontX = TrueX + BottomFrontX; BottomBackX = TrueX + BottomBackX; BackX = TrueX + BackX; } } }; ObjPers.prototype.CheckHitGrd = function (CheckX, CheckY) { with (this) { if ((CheckX == undefined) && (CheckY == undefined)) { CheckX = TrueX; CheckY = TrueY; aCheckPoints = [CheckX, BottomFrontX, BottomBackX]; } else { aCheckPoints = [CheckX]; } for (var i in aCheckPoints) { if (_parent.Collider.Sol.hitTest(aCheckPoints[i], CheckY + MaxSol, true) and (SpdYNow >= 0)) { HitGrd = true; HitGrdPoint = aCheckPoints[i]; break; } HitGrd = false; HitGrdPoint = TrueX; } } }; ObjPers.prototype.CheckSol = function (CheckX, CheckY) { with (this) { if ((CheckX == undefined) && (CheckY == undefined)) { CheckX = HitGrdPoint; CheckY = TrueY; } if (_parent.Collider.Sol.hitTest(CheckX, CheckY, true) and (SpdYNow >= 0)) { SpdYNow = 0; var InSol = true; while (InSol == true) { MoveY = MoveY - SolOut; InSol = _parent.Collider.Sol.hitTest(CheckX, CheckY + MoveY, true); } } else if (SpdYNow >= 0) { if (HitGrd == true) { SpdYNow = 0; MoveY = SpdYNow; } else { if ((KeyListener.Up == true) && (SpdYNow > 0)) { var MoveUp = (Math.round((SpdYUp * 10) / 1200) / 10); if (MoveUp < 0.1) { MoveUp = 0.1; } SpdYNow = SpdYNow + MoveUp; if (SpdYNow > (SpdYMax / 3)) { SpdYNow = SpdYMax / 3; } } else { SpdYNow = SpdYNow + SpdYUp; if (SpdYNow > SpdYMax) { SpdYNow = SpdYMax; } } var SolHit1 = (SpdYNow / 3); var SolHit2 = (SolHit1 * 2); if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SolHit1, true)) { MoveY = SolHitMin; } else if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SolHit2, true)) { MoveY = SolHit1; } else if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SpdYNow, true)) { MoveY = SolHit2; } else { MoveY = SpdYNow; } } } else { SpdYNow = SpdYNow + SpdYUp; MoveY = SpdYNow; } if (MoveY > 0) { DistYFall = DistYFall + MoveY; } } }; ObjPers.prototype.ChangeEtat = function (NewAction) { with (this) { if (((EtatOld eq "Walk") and (Etat eq "WalkTir")) or ((EtatOld eq "WalkTir") and (Etat eq "Walk"))) { var SetFrWalk = true; } EtatOld = Etat; Etat = NewAction; _parent.Pers.Obj.gotoAndStop(NewAction); if (SetFrWalk == true) { if (FrWalkNow >= 20) { FrWalkNow = 1; } _parent.Pers.Obj.Etat.gotoAndPlay(FrWalkNow); } } }; ObjPers.prototype.updatePerso = function () { with (this) { _parent.Pers.gotoAndStop((Perso + "_") + Dir); Etat = "Idle"; GetFireG = -1 * _parent.Pers.Obj.HitBack._x; GetFireD = _parent.Pers.Obj.HitFront._x; GetFireDw = 20; GetFireUp = -1 * _parent.Pers.Obj.HitTop._y; ComboKick = 0; InvincibleEnd(); CanBeHit = true; } }; ObjPers.prototype.ChangeDir = function (NewDir) { with (this) { DirOld = Dir; Dir = NewDir; _parent.Pers.gotoAndStop((Perso + "_") + Dir); } }; ObjPers.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent.Pers.Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent.Pers.Obj.Etat.play(); } SetTruePos(); InvincibleCheck(); this[Etat](); } } }; CreerPersBall = function () { var _local3 = "Ball" + G_NextPersBall; G_NextPersBall = G_NextPersBall + 1; if (G_NextPersBall > 50) { G_NextPersBall = 1; } if (this[_local3] == null) { var _local7 = G_NextPersBallDepth; G_NextPersBallDepth++; duplicateMovieClip (_parent.Ball.PersBallClone, _local3, _local7); var _local6 = Pers.Dir; _parent.Ball[_local3].gotoAndStop(_local6); var _local5 = Pers.PosX; var _local4 = Pers.PosY + Pers.DistBallY; _parent.Ball[_local3]._x = _local5; _parent.Ball[_local3]._y = _local4; this[_local3] = new ObjPersBall(_local3, _local5, _local4, _local6, 14, 20, G_TabPersBall, "SlimeSplat"); G_TabPersBall.push(_local3); } }; CreerMinionBall = function (PosX, PosY, Dir, PowerX, PowerY) { MinShootX = 10; MinShootY = 41; if (PowerX == undefined) { ForceX = random(4) + 15; Bouncing = "horiz"; } else { ForceX = PowerX; Bouncing = "vertic"; } if (PowerY == undefined) { ForceY = random(3) - 7; } else { ForceY = PowerY; } if (Dir == "none") { if (random(50) < 25) { Dir = "D"; } else { Dir = "G"; } } FrDetonate = 90; var _local3 = "MinionBall" + G_NextMinionBall; G_NextMinionBall = G_NextMinionBall + 1; if (G_NextMinionBall > 50) { G_NextMinionBall = 1; } if (this[_local3] == null) { var _local5 = G_NextMinionBallDepth; G_NextMinionBallDepth++; duplicateMovieClip (_parent.Ball.MinionBallClone, _local3, _local5); _parent.Ball[_local3].gotoAndStop(Dir); if (Dir == "G") { _parent.Ball[_local3]._x = PosX - MinShootX; } else if (Dir == "D") { _parent.Ball[_local3]._x = PosX + MinShootX; } _parent.Ball[_local3]._y = PosY - MinShootY; this[_local3] = new ObjPersBall(_local3, _parent.Ball[_local3]._x, _parent.Ball[_local3]._y, Dir, 14, 10, G_TabMinionBall, "LaserSplat"); G_TabMinionBall.push(_local3); } }; ObjPersBall.prototype.Hide = function () { with (this) { _parent.Ball[Nom]._x = PosX + SpdX; PosX = PosX + SpdX; SetTruePos(); if (_parent.PersBall[Nom].Obj.Etat._currentframe >= FrHide) { Etat = "Move"; } CheckWall(); CheckOut(); } }; ObjPersBall.prototype.Move = function () { with (this) { if (Bouncing == "horiz") { _parent.Ball[Nom]._x = PosX + SpdX; _parent.Ball[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; passTime++; CheckGround(); SetTruePos(); CheckWall(); CheckOut(); if (passTime == 2) { passTime = 0; if (SpdX > 0) { SpdX--; } else if (SpdX < 0) { SpdX++; } else if (Stopped == true) { Dangerous = false; Etat = "detonate"; } } } else if (Bouncing == "vertic") { _parent.Ball[Nom]._x = PosX + SpdX; _parent.Ball[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; if (Stopped == false) { SpdY++; if (SpdY == 0) { detectNow = true; } } else { Etat = "detonate"; } SetTruePos(); if (detectNow == true) { CheckGround(); } CheckWall(); CheckOut(); } } }; ObjPersBall.prototype.detonate = function () { with (this) { if (_parent.Ball[Nom].Obj.Etat._currentframe == FrDetonate) { Etat = "explode"; } checkIfKick(); CheckOut(); } }; ObjPersBall.prototype.checkIfKick = function () { with (this) { if (Pers.CanHit == true) { if (_parent.Ball[Nom].hitTest(_parent.Pers)) { _global.Sounds.PlayASound("Ball", 1, 100); Dir = Pers.Dir; if (Dir eq "D") { SpdX = random(6) + 18; } else { SpdX = -1 * (random(6) + 18); } SpdY = random(3) - 11; Stopped = false; Etat = "Move"; } } } }; ObjPersBall.prototype.Hit = function () { with (this) { if (((_parent.Ball[Nom].Obj.Etat._currentframe == 1) && (TrueX > 0)) && (TrueX < 500)) { } else if (_parent.Ball[Nom].Obj.Etat._currentframe >= FrHit) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.explode = function () { with (this) { if (_parent.Ball[Nom].hitTest(_parent.Pers)) { if (Pers.CanBeHit) { Pers.Etat = "GetHit"; Pers.CanBeHit = false; if (_parent.Ball[Nom]._x > _parent.Pers._x) { Pers.Dir = "D"; } else { Pers.Dir = "G"; } } } if (_parent.Ball[Nom].Obj.Etat._currentframe >= FrHit) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.KillBall = function () { with (this) { if (Tab == G_TabPersBall) { G_TabPersBall.splice(PersBallI, 1); PersBallI = PersBallI - 1; } else if (Tab == G_TabMinionBall) { G_TabMinionBall.splice(MinionBallI, 1); MinionBallI = MinionBallI - 1; } delete _parent.Control[Nom]; } }; ObjPersBall.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = (PosY + _parent._y) + 10; } }; ObjPersBall.prototype.Sleep = function () { }; ObjPersBall.prototype.CheckWall = function () { with (this) { if (_parent.Collider.Wall.hitTest(TrueX, TrueY, true) and (!_parent.Collider.Wall.Pass.hitTest(TrueX, TrueY, true))) { _global.Sounds.PlayASound("Ball", 1, 100); if (Dir eq "D") { Dir = "G"; } else { Dir = "D"; } Dangerous = true; SpdX = SpdX * -1; if (SpdX > 0) { SpdX = SpdX + 2; } else { SpdX = SpdX + -2; } if (Math.abs(SpdX) < 5) { if (SpdX < 5) { SpdX = 5; } else if (Spd > -5) { SpdX = -5; } } } } }; ObjPersBall.prototype.CheckGround = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true)) { if (SpdY >= 0) { if (SpdY >= 5) { _global.Sounds.PlayASound("Ball", 1, 100); } var i = 0; while (_parent.Collider.Sol.hitTest(TrueX, TrueY - (i + 1), true)) { i++; } PosY = PosY + (i * -1); _parent.Ball[Nom]._y = PosY; HurtMyself = true; if (SpdY > 2) { Stopped = false; SpdY = Math.round(SpdY * -0.5); } else { Stopped = true; SpdY = 0; } } else { Stopped = false; SpdY++; } } else { Stopped = false; SpdY++; } } }; ObjPersBall.prototype.CheckOut = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent.Ball[Nom].Obj.gotoAndStop(NewAction); } }; ObjPersBall.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent.Ball[Nom].Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent.Ball[Nom].Obj.Etat.play(); } this[Etat](); } } }; CreerBg = function (PosX, PosY) { this.Bg = new ObjBg(PosX, PosY); }; ObjBg.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; } } else { if (InPause == true) { InPause = false; } ScrollBg(); } } }; ObjBg.prototype.ScrollBg = function () { with (this) { CheckScreen(); if ((PosY <= MaxDw) and (PosY >= MaxUp)) { if (Pers.TrueX > (CenterX + 1)) { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX < MaxG) { if ((PosX + SpdXD) > MaxG) { MoveX = MaxG - PosX; } else { MoveX = SpdXD; } } else { if ((CenterX - Pers.TrueX) > SpdXG) { MoveX = CenterX - Pers.TrueX; } else { MoveX = SpdXG; } if ((PosX + MoveX) < MaxG) { MoveX = MaxG - PosX; } } } else if (Pers.TrueX < (CenterX - 1)) { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX > MaxD) { if ((PosX + SpdXG) < MaxD) { MoveX = MaxD - PosX; } else { MoveX = SpdXG; } } else { if ((CenterX - Pers.TrueX) < SpdXD) { MoveX = CenterX - Pers.TrueX; } else { MoveX = SpdXD; } if ((PosX + MoveX) > MaxD) { MoveX = MaxD - PosX; } } } else { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX < MaxG) { if ((PosX + SpdXD) > MaxG) { MoveX = MaxG - PosX; } else { MoveX = SpdXD; } } else if (PosX > MaxD) { if ((PosX + SpdXG) < MaxD) { MoveX = MaxD - PosX; } else { MoveX = SpdXG; } } } } if ((PosX <= MaxD) and (PosX >= MaxG)) { if (Pers.TrueY > (CenterY + 1)) { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY < MaxUp) { if ((PosY + SpdYDw) > MaxUp) { MoveY = MaxUp - PosY; } else { MoveY = SpdYDw; } } else { if ((CenterY - Pers.TrueY) > SpdYUp) { MoveY = CenterY - Pers.TrueY; } else { MoveY = SpdYUp; } if ((PosY + MoveY) < MaxUp) { MoveY = MaxUp - PosY; } } } else if (Pers.TrueY < (CenterY - 1)) { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY > MaxDw) { if ((PosY + SpdYUp) < MaxDw) { MoveY = MaxDw - PosY; } else { MoveY = SpdYUp; } } else { if ((CenterY - Pers.TrueY) < SpdYDw) { MoveY = CenterY - Pers.TrueY; } else { MoveY = SpdYDw; } if ((PosY + MoveY) > MaxDw) { MoveY = MaxDw - PosY; } } } else { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY < MaxUp) { if ((PosY + SpdYDw) > MaxUp) { MoveY = MaxDw - PosY; } else { MoveY = SpdYDw; } } else if (PosY > MaxDw) { if ((PosY + SpdYUp) < MaxDw) { MoveY = MaxDw - PosY; } else { MoveY = SpdYUp; } } } } _parent._x = Math.floor(_parent._x + MoveX); PosX = _parent._x; InvPosX = PosX * -1; MoveX = 0; _parent._y = Math.floor(_parent._y + MoveY); PosY = _parent._y; InvPosY = PosY * -1; MoveY = 0; } }; CreerShred = function (Nom, PosX, PosY, Dir, Perso) { if (this[Nom] == null) { if ((Perso == undefined) || (!Perso)) { Perso = "Gordon"; } this[Nom] = new ObjShred(Nom, PosX, PosY, Dir, Perso); G_TabShred.push(Nom); } }; ObjShred.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjShred.prototype.Idle = function () { with (this) { MoveX = 0; MoveY = 0; CanBeHit = true; FrBetweenAttack++; FrSeparateWallCount++; if (FrSeparateWallCount == FrSeparateWallCheck) { FrSeparateWallCount = 0; WallSeparate = false; } if (((Etat == "Idle") && ((_parent[Nom].Obj.Etat._currentframe >= FrIdleCheckMin) && (_parent[Nom].Obj.Etat._currentframe <= FrIdleCheckMax))) || (_parent[Nom].Obj.Etat._currentframe == FrIdleCheckLast)) { if (Dir == "G") { CheckPers("D"); } else if (Dir == "D") { CheckPers("G"); } } else { CheckPers(); } if ((Perso == "Gordon") || (Perso == "Blik")) { CheckAttack(); if ((Etat == "Idle") && (_parent[Nom].Obj.Etat._currentframe == FrIdleCheckLast)) { CheckDistWall(); if (TooNearWall) { if (Dir == "G") { Dir = "D"; } else if (Dir == "D") { Dir = "G"; } CheckDistWall(); if (!TooNearWall) { Etat = "Walk"; } } else { Etat = "Walk"; } } } else { CheckAttack(); } CheckBoxOver(); CheckBoxSide(); CheckHeadAttack(); if (Perso != "Waffle") { CheckGetHit(); } CheckGetFire(); CheckGetFart(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckSleep(); } }; ObjShred.prototype.Walk = function () { with (this) { CanBeHit = true; CheckHeadAttack(); CheckTurn(); CheckWall(); CheckPers(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); SetMoveX(); MoveShred(); CheckSleep(); } }; ObjShred.prototype.MoonWalk = function () { with (this) { CanBeHit = true; FrBetweenAttack++; CheckHeadAttack(); CheckTurn(); CheckWall(); if (FrBetweenAttack >= FrMoonWalk) { CheckPers(); } CheckHitGrd(); CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); InverseSetMoveX(); MoveShred(); CheckSleep(); } }; ObjShred.prototype.WalkFight = function () { with (this) { CanBeHit = true; CheckHeadAttack(); SetMoveXWalkFight(); CheckTurn(); CheckWall(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetFire(); CheckGetFart(); MoveShred(); CheckSleep(); CheckFight(); CheckGetHit(); } }; ObjShred.prototype.Surpris = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrSurpris) { MoveX = 0; MoveY = 0; if (Perso == "Gordon") { if (((Pers.Etat == "Die") && (Pers.Obj.Etat._currentframe >= 40)) || (Pers.Etat == "Dead")) { Etat = "Charge"; } else if ((Math.ceil(Math.random() * 3) == 1) || ((TrueX < 0) || (TrueX > 500))) { Etat = "WalkFight"; } else { Etat = "Charge"; } } else if (Perso == "Blik") { if (FrBetweenAttack >= FrMoonWalk) { FrBetweenAttack = 0; Etat = "Attack3"; ShootMax = Math.ceil((Math.random() * 3) + 1); ShootCount = 1; } else { Etat = "MoonWalk"; } } } CanBeHit = true; CheckHeadAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); } }; ObjShred.prototype.Attack3 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe == FrShoot) { _global.Sounds.PlayASound("Crache", 1, 100); _global.Game.CreerMinionBall(PosX, PosY, Dir); } else if (_parent[Nom].Obj.Etat._currentframe >= FrShootFin) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); CheckGetFart(); } }; ObjShred.prototype.Ready = function () { with (this) { CanBeHit = true; if (_parent[Nom].Obj.Etat._currentframe >= 5) { CheckHeadAttack(); CheckGetHit(); } CheckGetFire(); if (_parent[Nom].Obj.Etat._currentframe >= FrReady) { Etat = "Attack4"; } } }; ObjShred.prototype.PopOut = function () { with (this) { CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); if (_parent[Nom].Obj.Etat._currentframe >= FrPopOut) { Etat = "Idle"; } } }; ObjShred.prototype.Attack4 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe == FrAttack4) { _global.Sounds.PlayASound("Lazer", 1, 80); } if (_parent[Nom].Obj.Etat._currentframe >= FrAttack4) { if (_parent[Nom].Obj.Etat.missile.hitTest(_parent.Pers) && (Pers.CanBeHit == true)) { _global.Sounds.PlayASound("electroc", 1, 80); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; waitTimeMissile = 0; _parent[Nom].Obj.Etat.spark._visible = true; } var BounceMiss = _parent[Nom].Obj.Etat.spark.getBounds(_parent._parent); BounceMissX = (BounceMiss.xMax + BounceMiss.xMin) / 2; BounceMissY = (BounceMiss.yMax + BounceMiss.yMin) / 2; if (_parent.Collider.Wall.hitTest(BounceMissX, BounceMissY, true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack4"; } if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack4) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack4"; } } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.Charge = function () { with (this) { CanBeHit = true; SetMoveXCharge(); CheckTurn(); CheckWall("Charge"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckGetFart(); MoveShred(); CheckSleep(); CheckBoxOver(); CheckBoxSide(); CheckTouchCharge(); CheckHeadAttack(); CheckGetHit(); } }; ObjShred.prototype.Fight = function () { with (this) { Etat = "Attack1"; } }; ObjShred.prototype.StartJump = function () { with (this) { CanBeHit = true; Etat = "Jump"; SpdYNow = SpdYStepBack; SpdXFall = SpdXStepBack; } }; ObjShred.prototype.Jump = function () { with (this) { CanBeHit = true; CheckHeadAttack(); SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckGetFart(); MoveShred(); Etat = "Fall"; } }; ObjShred.prototype.Land = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrLand) { Etat = "Walk"; } } }; ObjShred.prototype.GetHit = function () { with (this) { if (Perso != "Waffle") { SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); MoveShred(); } CheckGetFire(); CheckGetFart(); FrGetHitCount++; if (FrGetHitCount == 1) { if (Perso != "Waffle") { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } else if (Dir == "D") { CreerLifeBonus("LifeBonus", PosX + 30, PosY, 50); } else { CreerLifeBonus("LifeBonus", PosX - 30, PosY, 50); } } if (FrGetHitCount >= FrGetHit) { CanBeHit = true; if (HitGrd == true) { if (Life > 0) { if (Perso != "Waffle") { FrGetHitCount = 0; Etat = "Idle"; WallSeparate = false; } else { FrGetHitCount = 0; Etat = "PopOut"; WallSeparate = false; } } else { Etat = "Die"; } } else { Etat = "Fall"; } } } }; ObjShred.prototype.Fall = function () { with (this) { CanBeHit = true; SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckHeadAttack(); MoveShred(); if (HitGrd == true) { if (Life > 0) { Etat = "Sleep"; CanBeHit = true; WallSeparate = false; } else { Etat = "Die"; } } } }; ObjShred.prototype.CheckHeadAttack = function () { with (this) { if (_parent[Nom].Obj.headZone.hitTest(_parent.Pers.Obj.HitBottom)) { if (random(100) < 50) { Pers.SpdXBase = random(4) + 3; } else { Pers.SpdXBase = random(4) - 7; } Pers.SpdYNow = Pers.SpdStartJump / 1.5; if (CanBeHit) { _global.Sounds.PlayASound("rHead", 1, 50); Life--; CanBeHit = false; Etat = "GetHit"; } } else if ((_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitTop) || (_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitFront))) || (_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitBack))) { if (Pers.CanBeHit == true) { _global.Sounds.PlayASound("rBump", 1, 80); Pers.Etat = "GetHit"; Pers.CanBeHit = false; } } } }; ObjShred.prototype.Attack1 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrAttack1) { if (_parent[Nom].Obj.Etat.missile.hitTest(_parent.Pers) && (Pers.CanBeHit == true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; waitTimeMissile = 0; Etat = "FinAttack1"; } var BounceMiss = _parent[Nom].Obj.Etat.missile.getBounds(_parent._parent); BounceMissX = (BounceMiss.xMax + BounceMiss.xMin) / 2; BounceMissY = (BounceMiss.yMax + BounceMiss.yMin) / 2; if (_parent.Collider.Wall.hitTest(BounceMissX, BounceMissY, true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack1"; } if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack1) { waitTimeMissile = 0; _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); Etat = "FinAttack1"; } } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack1 = function () { with (this) { waitTimeMissile++; if (waitTimeMissile >= 10) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack4 = function () { with (this) { waitTimeMissile++; if (waitTimeMissile == 12) { _parent[Nom].Obj.Etat.gotoAndPlay(37); } else if (waitTimeMissile == 21) { Etat = "PopOut"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack3 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack3) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.Die = function () { with (this) { Dir = "D"; if (_parent[Nom].Obj.Etat._currentframe == 1) { _global.Sounds.PlayASound("Dead", 1, 80); } if (_parent[Nom].Obj.Etat._currentframe >= FrDie) { Etat = "Dead"; } } }; ObjShred.prototype.Dead = function () { with (this) { G_TabShred.splice(ShredI, 1); ShredI = ShredI - 1; } }; ObjShred.prototype.CheckPers = function (CheckDir) { with (this) { if (Pers.CanBeHit) { if (CheckDir == undefined) { CheckDir = Dir; } if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= PosX)) && (CheckDir == "G")) { var CheckX = (TrueX - (PosX - Pers.PosX)); while ((CheckX < TrueX) && (!WallSeparate)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY, true)) { WallSeparate = true; } CheckX = CheckX + 10; } if (!WallSeparate) { if ((Perso == "Gordon") || ((TrueX > 0) && (TrueX < 500))) { Etat = "Surpris"; Dir = CheckDir; } } } else if (((Pers.PosX <= (PosX + LgCheckPersX)) and (Pers.PosX >= PosX)) && (CheckDir == "D")) { var CheckX = (TrueX + (Pers.PosX - PosX)); while ((CheckX > TrueX) && (!WallSeparate)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY, true)) { WallSeparate = true; } CheckX = CheckX - 10; } if (!WallSeparate) { if ((Perso == "Gordon") || ((TrueX > 0) && (TrueX < 500))) { Etat = "Surpris"; Dir = CheckDir; } } } } } } }; ObjShred.prototype.CheckDistWall = function (CheckDir, CheckXPoint) { with (this) { if (CheckDir == undefined) { CheckDir = Dir; } if (CheckXPoint == undefined) { CheckXPoint = TrueX; } TooNearWall = false; if (CheckDir == "G") { var CheckX = (CheckXPoint - DistMinWall); while ((CheckX < CheckXPoint) && (!TooNearWall)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } else if (_parent.Collider.Turn.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } CheckX = CheckX + 10; } } else if (CheckDir == "D") { var CheckX = (TrueX + DistMinWall); while ((CheckX > CheckXPoint) && (!TooNearWall)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } else if (_parent.Collider.Turn.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } CheckX = CheckX - 10; } } } }; ObjShred.prototype.CheckPersDist = function () { with (this) { if (Pers.CanBeHit == true) { if ((Dir == "G") && (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir == "D") && (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if ((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= PosX)) { if ((Pers.PosX >= (PosX - LgCheckFightX)) and (Pers.PosX <= PosX)) { } else { Etat = "WalkFight"; } } else if ((Pers.PosX <= (PosX + LgCheckPersX)) and (Pers.PosX >= PosX)) { if ((Pers.PosX <= (PosX + LgCheckFightX)) and (Pers.PosX >= PosX)) { } else { Etat = "WalkFight"; } } } } else { Etat = "WalkFight"; } } }; ObjShred.prototype.CheckFight = function () { with (this) { if (Pers.CanBeHit == true) { if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (((Pers.PosX >= (PosX - LgCheckFightX)) and (Pers.PosX <= PosX)) && (Dir == "G")) { FrSeeingCount = 0; Etat = "Attack1"; } else if (((Pers.PosX <= (PosX + LgCheckFightX)) and (Pers.PosX >= PosX)) && (Dir == "D")) { FrSeeingCount = 0; Etat = "Attack1"; } } } } }; ObjShred.prototype.CheckJump = function () { with (this) { if (Pers.Perso == "MrsX") { if (Math.ceil(Math.random() * 100) == 1) { Etat = "StartJump"; } } } }; ObjShred.prototype.CheckGetHit = function () { with (this) { if (Pers.CanHit == true) { if (CanBeHit) { if ((Pers.HitPointY >= (PosY - GetHitUp)) and (Pers.HitPointY <= (PosY + GetHitDw))) { if (((Pers.HitPointX <= (PosX + GetHitD)) and (Pers.HitPointX >= (PosX - GetHitG))) and (Pers.Dir eq "D")) { if (Perso != "Waffle") { Dir = "G"; } _global.Sounds.PlayASound("rHead", 1, 50); Life--; SpdYNow = SpdYGetHit; SpdXFall = random(SpdXGetHit) + 5; Etat = "GetHit"; CanBeHit = false; } else if (((Pers.HitPointX >= (PosX - GetHitG)) and (Pers.HitPointX <= (PosX + GetHitD))) and (Pers.Dir eq "G")) { if (Perso != "Waffle") { Dir = "D"; } _global.Sounds.PlayASound("rHead", 1, 50); Life--; SpdYNow = SpdYGetHit; SpdXFall = random(SpdXGetHit) + 5; Etat = "GetHit"; CanBeHit = false; } } } } } }; ObjShred.prototype.CheckGetFire = function () { with (this) { var NbMinionBall = G_TabMinionBall.length; if (NbMinionBall > 0) { var i = 0; while (i < NbMinionBall) { var BallX = _parent.Control[G_TabMinionBall[i]].PosX; var BallY = _parent.Control[G_TabMinionBall[i]].PosY; if (((((BallX >= (PosX - GetFireG)) and (BallX <= (PosX + GetFireD))) and (BallY >= (PosY - GetFireUp))) and (BallY <= (PosY + GetFireDw))) && (!Invincible)) { if (_parent.Control[G_TabMinionBall[i]].HurtMyself == true) { t = 1; while (t < 6) { if (Perso != "Waffle") { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } else if (Dir == "D") { CreerLifeBonus("LifeBonus", PosX + 30, PosY, 50); } else { CreerLifeBonus("LifeBonus", PosX - 30, PosY, 50); } t++; } Etat = "Die"; if (_parent.Control[G_TabMinionBall[i]].Dir == "D") { Dir = "G"; } else if (_parent.Control[G_TabMinionBall[i]].Dir == "G") { Dir = "D"; } _parent.Control[G_TabMinionBall[i]].Etat = "Hit"; } } i++; } } } }; ObjShred.prototype.CheckAttack = function () { with (this) { if (Pers.CanBeHit == true) { if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (Perso == "Gordon") { if ((Pers.PosX >= (PosX - LgAttackX)) and (Pers.PosX <= (PosX + LgAttackX))) { if ((Dir eq "G") and (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir eq "D") and (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } Etat = "Attack1"; } } else if (Perso == "Blik") { if ((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= (PosX + LgCheckPersX))) { if ((Dir eq "G") and (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir eq "D") and (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } if (FrBetweenAttack >= FrMoonWalk) { FrBetweenAttack = 0; Etat = "Attack3"; } else { Etat = "MoonWalk"; } } } else if ((Dir eq "D") and (Pers.PosX > PosX)) { if (Math.abs(Pers.PosX - PosX) < 250) { Etat = "Ready"; } } else if ((Dir eq "G") and (Pers.PosX < PosX)) { if (Math.abs(Pers.PosX - PosX) < 250) { Etat = "Ready"; } } } } } }; ObjShred.prototype.CheckTouchCharge = function () { with (this) { var CheckX = Pers.FrontX; if (((Dir == "G") && (Pers.Dir == "G")) || ((Dir == "D") && (Pers.Dir == "D"))) { CheckX = Pers.BackX; } if (_parent[Nom].hitTest(CheckX, Pers.FrontY, true)) { if (Pers.CanBeHit == true) { _global.Sounds.PlayASound("rBump", 1, 80); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; Etat = "Idle"; } } } }; ObjShred.prototype.SetMoveX = function () { with (this) { MoveX = SpdXBase; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.InverseSetMoveX = function () { with (this) { MoveX = SpdXBase; if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXWalkFight = function () { with (this) { MoveX = SpdXWalkFight; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXCharge = function () { with (this) { MoveX = SpdXCharge; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXFall = function () { with (this) { MoveX = SpdXFall; if (SpdXFall > 0) { SpdXFall = SpdXFall * 0.9; } if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjShred.prototype.CheckWall = function (CheckDir) { with (this) { if (MoveX != 0) { if (CheckDir == "Back") { var AddPoint = LgBack; } else if (CheckDir == "Charge") { var AddPoint = LgCharge; } else { var AddPoint = LgFront; } if (MoveX > 0) { var WallStop = WallHitBloc; var CheckX = (TrueX + AddPoint); } else { var WallStop = (-1 * WallHitBloc); var CheckX = (TrueX - AddPoint); } var WallHit1 = (MoveX / 3); var WallHit2 = (WallHit1 * 2); if (_parent.Collider.Wall.hitTest(CheckX + WallStop, TrueY, true)) { if (Etat == "Charge") { Etat = "StartJump"; } else if (((Etat == "GetHit") || (Etat == "StartJump")) || (Etat == "Fall")) { MoveX = 0; WallSeparate = false; } else if (Etat == "MoonWalk") { WallSeparate = false; FrBetweenAttack = FrMoonWalk; SetMoveX(); MoveShred(); Etat = "Walk"; } else { MoveX = 0; WallSeparate = false; if (Dir eq "G") { Dir = "D"; } else { Dir = "G"; } CheckDistWall(); if ((Math.ceil(Math.random() * 4) == 4) || (TooNearWall)) { Etat = "Idle"; } else { Etat = "Walk"; } } } else if (_parent.Collider.Wall.hitTest(CheckX + WallHit1, TrueY, true)) { MoveX = WallHitBloc; } else if (_parent.Collider.Wall.hitTest(CheckX + WallHit2, TrueY, true)) { MoveX = WallHit1; } else if (_parent.Collider.Wall.hitTest(CheckX + MoveX, TrueY, true)) { MoveX = WallHit2; } } } }; ObjShred.prototype.CheckTurn = function () { with (this) { if (_parent.Collider.Turn.hitTest(TrueX + MoveX, TrueY, true) || (_parent.Collider.Wall.hitTest(TrueX + MoveX, TrueY, true))) { if (Etat == "MoonWalk") { FrBetweenAttack = FrMoonWalk; SetMoveX(); MoveShred(); Etat = "Walk"; } else { MoveX = 0; if (Dir eq "G") { Dir = "D"; } else { Dir = "G"; } CheckDistWall(); if ((Math.ceil(Math.random() * 4) == 4) || (TooNearWall)) { Etat = "Idle"; } else { Etat = "Walk"; } } } } }; ObjShred.prototype.CheckSol = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true) and (SpdYNow >= 0)) { SpdYNow = 0; var InSol = true; while (InSol == true) { MoveY = MoveY - SolOut; InSol = _parent.Collider.Sol.hitTest(TrueX, TrueY + MoveY, true); } } else if (SpdYNow >= 0) { if (HitGrd == true) { SpdYNow = 0; MoveY = SpdYNow; } else { SpdYNow = SpdYNow + SpdYUp; if (SpdYNow > SpdYMax) { SpdYNow = SpdYMax; } var SolHit1 = (SpdYNow / 3); var SolHit2 = (SolHit1 * 2); if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SolHit1, true)) { MoveY = SolHitMin; } else if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SolHit2, true)) { MoveY = SolHit1; } else if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SpdYNow, true)) { MoveY = SolHit2; } else { MoveY = SpdYNow; } } } else { SpdYNow = SpdYNow + SpdYUp; MoveY = SpdYNow; } } }; ObjShred.prototype.CheckHitGrd = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY + MaxSol, true)) { HitGrd = true; } else { HitGrd = false; } } }; ObjShred.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = PosY + _parent._y; } }; ObjShred.prototype.MoveShred = function () { with (this) { _parent[Nom]._x = _parent[Nom]._x + MoveX; _parent[Nom]._y = _parent[Nom]._y + MoveY; PosX = _parent[Nom]._x; PosY = _parent[Nom]._y; } }; ObjShred.prototype.CheckActif = function () { with (this) { if (((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) and (Etat eq "Sleep")) { if (Life > 0) { Etat = "Idle"; CanBeHit = true; Dir = BaseDir; } else { Etat = "Dead"; } } } }; ObjShred.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { if (Pers.PosX < PosX) { if (Perso != "Waffle") { Dir = "G"; } } else if (Perso != "Waffle") { Dir = "D"; } Etat = "Sleep"; } } }; ObjShred.prototype.KillShred = function () { with (this) { Etat = "Dead"; } }; ObjShred.prototype.ChangeDir = function (NewDir) { with (this) { DirOld = Dir; Dir = NewDir; _parent[Nom].gotoAndStop(Perso + NewDir); _parent[Nom].Obj.gotoAndStop(Etat); } }; ObjShred.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].Obj.gotoAndStop(NewAction); } }; ObjShred.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent[Nom].Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent[Nom].Obj.Etat.play(); } SetTruePos(); this[Etat](); } } }; CreerDestructObject = function (Nom, PosX, PosY, Kind, nbr) { if (this[Nom] == null) { this[Nom] = new ObjDestruct(Nom, PosX, PosY, Kind, nbr); G_TabDestruct.push(Nom); } }; ObjDestruct.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; } } else { if (InPause == true) { InPause = false; } this[Etat](); } } }; ObjDestruct.prototype.Idle = function () { with (this) { CheckSleep(); CheckHit(); } }; ObjDestruct.prototype.Normal = function () { with (this) { CheckSleep(); CheckWalkOn(); } }; ObjDestruct.prototype.CheckHit = function () { with (this) { if (Pers.CanHit == true) { if (Kind != "tirroir") { if ((Pers.HitPointY >= (PosY - GetHitUp)) and (Pers.HitPointY <= (PosY + GetHitDw))) { if ((Pers.HitPointX <= (PosX + GetHitD)) and (Pers.HitPointX >= (PosX - GetHitG))) { _global.Sounds.PlayASound("Pot", 1, 80); Pers.CanHit = false; Life--; Etat = "animplaying"; trace((("PosX = " + PosX) + " / ") + PosY); i = 1; while (i <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); i++; } if (BombInside) { _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 20); } } } } else if ((Pers.HitPointY >= (PosY - GetHitUpTirroir)) and (Pers.HitPointY <= (PosY + GetHitDwTirroir))) { if ((Pers.HitPointX <= ((PosX + GetHitDTirroir) + (_parent[Nom]._width / 2))) and (Pers.HitPointX >= ((PosX - GetHitGTirroir) - (_parent[Nom]._width / 2)))) { _global.Sounds.PlayASound("Tirroir", 1, 100); Pers.CanHit = false; Life--; Etat = "animplaying"; trace((("PosX = " + PosX) + " / ") + PosY); i = 1; while (i <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); i++; } if (BombInside) { _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 20); } } } } } }; ObjDestruct.prototype.CheckWalkOn = function () { with (this) { if ((Pers.PosY >= (PosY - GetStepY)) and (Pers.PosY <= (PosY + GetStepY))) { if ((Pers.PosX <= (PosX + GetStepX)) and (Pers.PosX >= (PosX - GetStepX))) { _global.Sounds.PlayASound("Coussin", 1, 80); Etat = "Jump"; Pers.SpdYNow = Pers.SpdStartJump; if (Stepped < nbr) { Stepped++; if (Stepped <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } if (BombInside) { BombInside = false; _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 10); } } } } } }; ObjDestruct.prototype.Jump = function () { with (this) { if (_parent[Nom]._currentframe == FrJump) { Etat = "Normal"; } } }; ObjDestruct.prototype.animplaying = function () { with (this) { if (_parent[Nom]._currentframe == FrDead) { Etat = "Dead"; } } }; ObjDestruct.prototype.Dead = function () { }; ObjDestruct.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].gotoAndStop(NewAction); } }; ObjDestruct.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjDestruct.prototype.CheckActif = function () { with (this) { if (((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) and (Etat eq "Sleep")) { if (Kind == "Coussin") { Etat = "Normal"; } else if (Life > 0) { Etat = "Idle"; } else { Etat = "Dead"; } } } }; ObjDestruct.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { Etat = "Sleep"; } } }; CreerLifeBonus = function (Nom, PosX, PosY, Value, imove) { if (Nom == "LifeBonus") { var _local3 = 1; while (this[Nom + _local3] != null) { _local3++; } Nom = Nom + _local3; _parent.attachMovie("minXBonus", Nom, _parent.getNextHighestDepth()); } if (imove == undefined) { imove = true; } if (this[Nom] == null) { this[Nom] = new ObjLifeBonus(Nom, PosX, PosY, Value, imove); G_TabLifeBonus.push(Nom); } }; ObjLifeBonus.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjLifeBonus.prototype.Idle = function () { with (this) { CheckGet(); CheckSleep(); } }; ObjLifeBonus.prototype.IdleClose = function () { with (this) { CheckSleep(); } }; ObjLifeBonus.prototype.Move = function () { with (this) { _parent[Nom]._x = PosX + SpdX; _parent[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; if (Stopped == false) { SpdY++; if (SpdY == 0) { detectNow = true; } } else { Etat = "Idle"; } SetTruePos(); if (detectNow == true) { CheckGet(); CheckGround(); } CheckWall(); CheckOut(); } }; ObjLifeBonus.prototype.Get = function () { with (this) { if (Value == 50) { FrGet = FrGetScore; } else { FrGet = FrGetElse; } if (_parent[Nom].Etat._currentframe >= FrGet) { ChangeEtat("Kill"); Pers.GetLifeBonus(Value); } } }; ObjLifeBonus.prototype.Kill = function () { with (this) { for (LifeBonusI in G_TabLifeBonus) { var LifeBonusActif = G_TabLifeBonus[LifeBonusI]; _parent[Nom].removeMovieClip(); if (LifeBonusActif == Nom) { delete G_TabLifeBonus[LifeBonusI]; } } delete this; } }; ObjLifeBonus.prototype.CheckGet = function () { with (this) { if ((((Pers.PosY >= (PosY - LgHitUp)) and (Pers.PosY <= (PosY + LgHitDw))) and (Pers.PosX >= (PosX - LgHitX))) and (Pers.PosX <= (PosX + LgHitX))) { _global.Sounds.PlayASound("Objet", 1, 100); Etat = "Get"; } } }; ObjLifeBonus.prototype.CheckActif = function () { with (this) { if ((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) { if (imove == false) { if ((Value != 500) || (_global.Game.G_TabShred.length == 0)) { Etat = "Idle"; } else { Etat = "IdleClose"; if (_global.ShowLeft._currentframe == 1) { _global.ShowLeft.gotoAndPlay("opening"); } } } else { Etat = "Move"; } } } }; ObjLifeBonus.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { Etat = "Sleep"; } } }; ObjLifeBonus.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].gotoAndStop(NewAction); } }; ObjLifeBonus.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent[Nom].Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent[Nom].Etat.play(); } this[Etat](); } } }; ObjLifeBonus.prototype.SetTruePos = function () { with (this) { if (SpdX > 0) { TrueX = (PosX + _parent._x) + Xdetect; } else { TrueX = (PosX + _parent._x) - Xdetect; } TrueY = PosY + _parent._y; } }; ObjLifeBonus.prototype.CheckWall = function () { with (this) { if (_parent.Collider.Wall.hitTest(TrueX, TrueY, true) and (!_parent.Collider.Wall.Pass.hitTest(TrueX, TrueY, true))) { _global.Sounds.PlayASound("Bump", 1, 60); SpdX = SpdX * -1; if (Math.abs(SpdX) < 5) { if (SpdX < 5) { SpdX = 5; } else if (Spd > -5) { SpdX = -5; } } } } }; ObjLifeBonus.prototype.CheckGround = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true)) { if (SpdY > 2) { if (SpdY >= 5) { _global.Sounds.PlayASound("Bump", 1, 60); } bondi = true; SpdY = Math.round(SpdY * -0.5); } else if ((SpdY < 2) && (SpdY > 0)) { if (bondi == true) { Stopped = true; SpdY = 0; } else { SpdY = random(3) - 15; } } } } }; this.G_Pause = true; this.G_PauseOut = false; this.G_PRealese = true; this.G_Resume = false; this.G_TabShred = new Array(); this.G_TabBox = new Array(); this.G_TabGun = new Array(); this.G_TabSwitch = new Array(); this.G_TabDoor = new Array(); this.G_TabHeroChanger = new Array(); this.G_TabElevator = new Array(); this.G_TabPersBall = new Array(); this.G_TabMinionBall = new Array(); this.G_TabLifeBonus = new Array(); this.G_TabCam = new Array(); this.G_TabLevier = new Array(); this.G_TabTV = new Array(); this.G_TabDestruct = new Array(); this.G_NextPersBall = 1; this.G_NextPersBallDepth = 10; this.G_NextMinionBall = 1; this.G_NextMinionBallDepth = 20; } onClipEvent (enterFrame) { ShredI = 0; for (ShredI in G_TabShred) { var ShredActif = G_TabShred[ShredI]; if (this[ShredActif].Dir != this[ShredActif].DirOld) { this[ShredActif].ChangeDir(this[ShredActif].Dir); } if (this[ShredActif].Etat != this[ShredActif].EtatOld) { this[ShredActif].ChangeEtat(this[ShredActif].Etat); } this[ShredActif].Actions(); } MinionBallI = 0; for (MinionBallI in G_TabMinionBall) { var MinionBallActif = G_TabMinionBall[MinionBallI]; if (this[MinionBallActif].Etat != this[MinionBallActif].EtatOld) { this[MinionBallActif].ChangeEtat(this[MinionBallActif].Etat); } this[MinionBallActif].Actions(); } LifeBonusI = 0; for (LifeBonusI in G_TabLifeBonus) { var LifeBonusActif = G_TabLifeBonus[LifeBonusI]; if (this[LifeBonusActif].Etat != this[LifeBonusActif].EtatOld) { this[LifeBonusActif].ChangeEtat(this[LifeBonusActif].Etat); } this[LifeBonusActif].Actions(); } ObjDstr = 0; for (ObjDstr in G_TabDestruct) { var DstrActif = G_TabDestruct[ObjDstr]; if (this[DstrActif].Etat != this[DstrActif].EtatOld) { this[DstrActif].ChangeEtat(this[DstrActif].Etat); } this[DstrActif].Actions(); } if (Pers.Dir != Pers.DirOld) { Pers.ChangeDir(Pers.Dir); } if (Pers.Etat != Pers.EtatOld) { Pers.ChangeEtat(Pers.Etat); } this.Pers.Actions(); this.Bg.Actions(); if (G_Pause == false) { G_CurrentFocus = Selection.getFocus(); if (G_CurrentFocus == null) { G_PauseOut = true; } } G_CheckPause(); }
Symbol 699 MovieClip Frame 2
stop();
Instance of Symbol 366 MovieClip in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerBg(_parent._x, _parent._y); BG = _parent.Control.Bg; BG.MaxDw1 = -280; BG.MaxUp1 = -380; BG.MaxG1 = -11400; BG.MaxD1 = -220; BG.MaxDw2 = 13000; BG.MaxUp2 = -125000; BG.MaxG2 = -162000; BG.MaxD2 = 112500 /* 0x01B774 */; BG.CheckScreen = function () { with (this) { if (CurrentScreen == 1) { if (_global.Game.Pers.PosX > 1300000) { MaxDw = MaxDw2; MaxUp = MaxUp2; MaxG = MaxG2; MaxD = MaxD2; CurrentScreen = 2; } else { MaxDw = MaxDw1; MaxUp = MaxUp1; MaxG = MaxG1; MaxD = MaxD1; } } else if (CurrentScreen == 2) { if (((_global.Game.Pers.PosX < 1250) && (_global.Game.Pers.PosY < 1050)) && (_global.Game.Pers.PosY > 900)) { MaxDw = MaxDw1; MaxUp = MaxUp1; MaxG = MaxG1; MaxD = MaxD1; CurrentScreen = 1; } else { MaxDw = MaxDw2; MaxUp = MaxUp2; MaxG = MaxG2; MaxD = MaxD2; } } } }; }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus7" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus8" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus9" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus18" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus19" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus20" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 478 MovieClip "Minion13" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "D"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion14" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 487 MovieClip "Collider" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { this._visible = false; }
Instance of Symbol 478 MovieClip "Minion18" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "D"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct14" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct13" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct12" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct34" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct1" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct2" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 537 MovieClip "destruct3" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct5" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct4" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 549 MovieClip "LifeBonus101" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 0, false); }
Instance of Symbol 533 MovieClip "destruct6" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct8" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct7" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 537 MovieClip "destruct9" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct10" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir", 3); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct21" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct22" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct23" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct11" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 537 MovieClip "destruct15" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct17" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct16" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct19" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct18" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct20" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 584 MovieClip "LifeBonus21" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 500, false); }
Instance of Symbol 541 MovieClip "destruc32" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir", 3); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct33" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct24" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct25" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot", 3); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct27" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct28" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 537 MovieClip "destruct26" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion22" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct29" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct30" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct31" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus1" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus2" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus3" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 478 MovieClip "Minion15" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "D"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus4" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus5" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus6" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus10" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus11" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus12" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus13" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus14" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus15" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 549 MovieClip "LifeBonus102" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 0, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus16" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus17" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 478 MovieClip "Minion16" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion17" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion19" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion20" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion21" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "D"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion11" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion12" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 674 MovieClip "Pers" in Symbol 699 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerPers(this._x, this._y, "Waffle"); this.gotoAndStop("D"); Etat = "Die"; }
Symbol 710 Button
on (release) { if (_parent.Popup._currentframe == 1) { _global.C.endGame("lose"); } }
Symbol 714 Button
on (release) { if (_parent.Popup._currentframe == 1) { _global.C.showHelp(true); } }
Symbol 716 Button
on (release) { _global.Sounds.ToMute(); gotoAndStop (2); }
Symbol 719 Button
on (release) { _global.Sounds.UnMute(); gotoAndStop (1); }
Symbol 729 Button
on (release) { if (_parent.Popup._currentframe == 1) { _global.Game.G_Pause = true; _global.Popup.gotoAndStop("Pause"); } }
Instance of Symbol 720 MovieClip "MuteSymbol" in Symbol 730 MovieClip Frame 1
onClipEvent (load) { if (_global.Muted) { gotoAndStop (2); } else { stop(); } }
Symbol 742 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 10
stop();
Symbol 768 MovieClip Frame 1
stop();
Symbol 775 MovieClip Frame 1
stop();
Symbol 775 MovieClip Frame 2
play();
Symbol 775 MovieClip Frame 21
stop();
Symbol 775 MovieClip Frame 22
stop();
Instance of Symbol 322 MovieClip "Control" in Symbol 782 MovieClip Frame 1
onClipEvent (load) { function ObjPers(PosX, PosY, Perso) { this.Nom = "Pers"; this.Etat = "Idle"; this.EtatOld = "Idle"; this.Dir = "D"; this.DirOld = "D"; this.Point = _global.C.TotalScore; this.Life = _global.C.Life; this.SpdXMinion = 3; this.SpdXNormal = 9; this.SpdXBase = 0; this.SpdXNow = 0; this.MoveX = 0; this.MoveY = 0; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.FrontX = 0; this.FrontY = 0; this.BottomFrontX = 0; this.BottomBackX = 0; this.BackX = 0; this.HitGrdPoint = 0; this.WallHitBloc = 2; this.SpdYNow = 0; this.SpdYUp = 1; this.SpdYMax = 20; this.SpdYFall = 0.1; this.SpdXHitBase = 25; this.SpdYHitBase = -6; this.SpdStartJump = -16; this.SolOut = 2; this.SolHitMin = 5; this.MaxSol = 3; this.HitGrd = false; this.SolForJump = 6; this.DistYFall = 0; this.DistYLand = 30; this.CanHit = false; this.CanBeHit = true; this.FrWalkNow = 1; this.InPause = false; this.FrJump = 1; this.FrFall = 14; this.FrLand = 10; this.FrGetHit = 10; this.FrGetHitCount = 0; this.FrBoomTir = 9; this.FrFinBoom = 6; this.FrDead = 140; this.FrDeadCount = 0; this.Perso = Perso; this.updatePerso(); this.LgGetShootX = 20; this.LgGetShootUp = 72; this.LgGetShootUpBas = 44; this.FrInvincibleCount = 0; this.FrInvincible = 60; this.Invincible = false; this.frKick1 = 2; this.frFinKick1 = 7; this.frKick2 = 2; this.frFinKick2 = 7; this.frFinKick3 = 7; this.HitPointX = 0; this.HitPointY = 0; this.KickInAir = 3; this.frEasterEgg = 337; } function ModifSpeed(initSpeed, way, inAir, Dir) { if (way == "acc") { if (Dir == "D") { if (inAir) { initSpeed = initSpeed + 0.4; } else { initSpeed = initSpeed + 1.2; } if (initSpeed > 9) { initSpeed = 9; } } else { if (inAir) { initSpeed = initSpeed - 0.4; } else { initSpeed = initSpeed - 1.2; } if (initSpeed < -9) { initSpeed = -9; } } } else if (way == "dec") { if (initSpeed < 0) { if (inAir) { initSpeed = initSpeed + 0.4; } else { initSpeed = initSpeed + 1.2; } if (initSpeed > 0) { initSpeed = 0; } } else { if (inAir) { initSpeed = initSpeed - 0.4; } else { initSpeed = initSpeed - 1.2; } if (initSpeed < 0) { initSpeed = 0; } } } return(initSpeed); } function ObjPersBall(Nom, PosX, PosY, Dir, HitBullet, Speed, Tab, HitSound) { this.Nom = Nom; this.HitSound = HitSound; this.Tab = Tab; this.HurtMyself = false; this.Dangerous = true; this.Etat = "Move"; this.EtatOld = "Idle"; this.Dir = Dir; this.OldDir = "D"; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.LgOutG = 500; this.LgOutD = 750; this.LgOutUp = 1000; this.LgOutDw = 380; this.passTime = 0; this.Stopped = false; this.CanBeKill = false; if (Dir eq "D") { this.SpdX = ForceX; } else { this.SpdX = -1 * ForceX; } this.Bouncing = Bouncing; if (Bouncing == "vertic") { this.Dangerous = false; } this.detectNow = false; this.SpdY = ForceY; this.InPause = false; this.FrHit = HitBullet; this.FrHide = 1; } function ObjBg(PosX, PosY) { this.Nom = "Bg"; this.PosX = PosX; this.PosY = PosY; this.MoveX = 0; this.MoveY = 0; this.MaxDw = 0; this.MaxUp = 0; this.MaxG = 0; this.MaxD = 0; this.InvPosX = PosX * -1; this.InvPosY = PosY * -1; this.DeadX = PosX; this.DeadY = PosY; this.CurrentScreen = 1; this.OldScreen = 0; this.MaxYDie = 5000; this.CenterX = 250; this.CenterY = 185; this.SpdXD = 15; this.SpdXG = -15; this.SpdYDw = 20; this.SpdYUp = -20; this.InPause = false; } function ObjShred(Nom, PosX, PosY, Dir, Perso) { this.Nom = Nom; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.Dir = Dir; this.OldDir = Dir; this.BaseDir = Dir; this.LgOutG = 200; this.LgOutD = 800; this.LgOutUp = 10; this.LgOutDw = 475; this.GetHitG = 50; this.GetHitD = 50; this.GetHitUp = 115; this.GetHitDw = 0; this.GetFireG = 26; this.GetFireD = 26; this.GetFireUp = 100; this.GetFireDw = 0; this.LgAttackX = 165; this.LgAttackUp = 60; this.LgAttackDw = 440; this.LgCheckPersX = 200; this.LgCheckFightX = 180; this.LgHitX = 60; this.LgHitUp = 35; this.LgHitDw = 60; this.LgFront = 35; this.LgHitBox = 42; this.LgCharge = 65; this.LgBack = 35; this.AssPointX = 12; this.AssPointY = 35; this.FrGetHit = 15; this.FrGetHitCount = 0; this.FrSeeingMaxTime = 35; this.FrSeeingCount = 35; this.FrIdleCheckMin = 36; this.FrIdleCheckMax = 60; this.FrIdleCheckLast = 35; this.FrSurpris = 21; this.FrLand = 8; this.FrDie = 25; this.FrIdle = 131; this.FrReady = 20; this.FrPopOut = 29; this.FrAttack1 = 15; this.FrAttack2 = 15; this.FrAttack3 = 23; this.FrAttack4 = 8; this.FrFinAttack1 = 33; this.FrFinAttack2 = 34; this.FrFinAttack3 = 57; this.FrFinAttack4 = 36; this.FrMoonWalk = 30; this.BombPlace = false; this.frGetGlue = 21; this.frIdleGlue = 131; this.frDeGlue = 21; this.frGetFart = 57; this.frIdleFart = 131; this.frDeFart = 59; this.FartCycle = 0; this.FartCycleMax = 4; this.FrShoot = 12; this.FrShootFin = 55; this.ShootMax = 1; this.ShootCount = 0; this.FrStartPush = 4; this.FrFinPush = 4; this.PushedBox = 0; this.FrSeparateWallCount = 0; this.FrSeparateWallCheck = 15; this.FrBetweenAttack = this.FrMoonWalk; this.waitTimeMissile = 0; this.Life = 3; this.SpdXBase = 3; this.SpdXWalkFight = 6; this.SpdXCharge = 10; this.SpdXGetHit = 12; this.SpdYGetHit = -15; this.SpdXStepBack = 15; this.SpdYStepBack = -10; this.WallSeparate = false; this.SpdXFall = 0; this.MoveX = 0; this.MoveY = 0; this.WallHitBloc = 2; this.SolOut = 2; this.SolHitMin = 3; this.MaxSol = 2; this.HitGrd = false; this.SpdYMax = 20; this.SpdYNow = 0; this.SpdYUp = 2; this.CanBeHit = true; this.InPause = false; this.Perso = Perso; this.TooNearWall = false; this.DistMinWall = 100; } function ObjDestruct(Nom, PosX, PosY, Kind, nbr) { this.Nom = Nom; if (nbr == undefined) { nbr = random(3) + 1; } if (random(10) < 5) { this.BombInside = true; } else { this.BombInside = false; } this.nbr = nbr; this.PosX = PosX; this.PosY = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.LgOutG = 200; this.LgOutD = 800; this.LgOutUp = 10; this.LgOutDw = 475; this.GetHitG = 50; this.GetHitD = 50; this.GetHitUp = 50; this.GetHitDw = 50; this.GetHitGTirroir = 40; this.GetHitDTirroir = 40; this.GetHitUpTirroir = 50; this.GetHitDwTirroir = 100; this.GetStepY = 12; this.GetStepX = 60; this.Stepped = 0; this.FrDead = 21; this.FrJump = 12; this.Life = 1; this.Kind = Kind; } function ObjLifeBonus(Nom, PosX, PosY, Value, imove) { this.Nom = Nom; this.imove = imove; this.passTime = 0; this.detectNow = false; this.Stopped = false; this.bondi = false; ForceX = random(4) + 4; ForceY = random(3) - 19; if (random(100) < 50) { this.SpdX = ForceX; } else { this.SpdX = -1 * ForceX; } this.SpdY = ForceY; this.PosX = PosX; this.PosY = PosY; _parent[Nom]._x = PosX; _parent[Nom]._y = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.LgOutG = 75; this.LgOutD = 600; this.LgOutUp = 300; this.LgOutDw = 800; this.LgHitX = 26; this.LgHitUp = 45; this.LgHitDw = 70; this.InPause = false; this.FrGetElse = 10; this.FrGetScore = 35; this.Value = Value; this.Xdetect = 15; } _global.Game = this; this.KeyListener = new Object(); this.KeyListener.Up = false; this.KeyListener.UpRelease = true; this.KeyListener.Dw = false; this.KeyListener.L = false; this.KeyListener.R = false; this.KeyListener.S = false; this.KeyListener.Z = false; this.KeyListener.Sp = false; this.KeyListener.P = false; this.KeyListener.Sprelease = true; this.KeyListener.Srelease = true; this.KeyListener.onKeyUp = function () { switch (Key.getCode()) { case 38 : this.UpRelease = true; this.Up = false; break; case 40 : this.Dw = false; break; case 37 : this.L = false; break; case 39 : this.R = false; break; case 32 : this.Sprelease = true; this.Sp = false; break; case 83 : this.Srelease = true; this.S = false; } }; this.KeyListener.onKeyDown = function () { switch (Key.getCode()) { case 38 : this.Up = true; break; case 40 : this.Dw = true; break; case 37 : this.L = true; break; case 39 : this.R = true; break; case 32 : if (this.Sprelease) { this.Sp = true; this.Sprelease = false; } break; case 83 : if (!this.Srelease) { break; } this.S = true; this.Srelease = false; } }; Key.addListener(this.KeyListener); Selection.setFocus(_parent._parent.FocusBtn); G_CurrentFocus = Selection.getFocus(); G_CheckPause = function () { if ((Pers.Etat != "Die") and (Pers.Etat != "Dead")) { if (G_PauseOut && (!G_Pause)) { G_Pause = true; _parent.ControlBall.stop(); _parent._parent.Popup.gotoAndStop("Pause"); if (_global.C.SoundActive) { _global.SoundCTRL.muteAllSounds(); } _global.C.DesactivateHud(); } else if ((G_Resume == true) and (G_Pause == true)) { G_PauseOut = false; Selection.setFocus(_parent._parent.FocusBtn); G_CurrentFocus = Selection.getFocus(); KeyListener.Up = false; KeyListener.UpRelease = true; KeyListener.Dw = false; KeyListener.L = false; KeyListener.R = false; KeyListener.X = false; KeyListener.Z = false; KeyListener.Sp = false; Music.VolDest = 70; Music.Etat = "FadeIn"; G_Pause = false; G_Resume = false; _parent._parent.Popup.gotoAndStop(1); if (_global.C.SoundActive) { _global.SoundCTRL.unmuteAllSounds(); } _global.C.ActivateHud(); if (_parent.ControlBall._currentframe != 1) { _parent.ControlBall.play(); } } } }; CreerPers = function (PosX, PosY, Perso) { this.Pers = new ObjPers(PosX, PosY, Perso); _parent._parent.Hud.LifeBar.gotoAndStop(Pers.Life + 1); _parent._parent.Hud.LifeBar.gotoAndStop(Pers.Life + 1); _parent._parent.Hud.BonusPoints.text = Pers.Point; _parent._parent.Hud.BonusPointsShadow.text = Pers.Point; }; ObjPers.prototype.Idle = function () { with (this) { KeepDeadPos = true; if (Life > 0) { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckPenche(); CheckSol(); CheckFall(); MovePers(); CheckJump(); this["CheckAction" + Perso](); CheckGetFire(); CheckDie(); checkEaster(); } else { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckSol(); CheckFall(); MovePers(); CheckDie(); } } }; ObjPers.prototype.EasterEgg = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frEasterEgg) { Etat = "Idle"; } } }; ObjPers.prototype.GetLifeBonus = function (AddPoints) { with (this) { newTotalPoint = Point + AddPoints; Point = newTotalPoint; _parent._parent.Hud.BonusPoints.text = Point; _parent._parent.Hud.BonusPointsShadow.text = Point; if (AddPoints == 0) { trace("Life = " + Life); Life = Life + 3; if (Life > 10) { Life = 10; } trace("Life = " + Life); _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); } else if (AddPoints == 500) { _global.C.endLevel(Point, Life); } else { _global.C.gear++; } } }; ObjPers.prototype.Walk = function () { with (this) { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckAttack(); if (Perso == "TuesdayDisguised") { CheckActionTuesdayDisguised(); } CheckPenche(); CheckJump(); CheckSol(); CheckFall(); MovePers(); CheckGetFire(); CheckDie(); } }; ObjPers.prototype.Jump = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); CheckCeil(); CheckGetFire(); this["CheckAction" + Perso](); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= FrJump) { Etat = "FinJump"; } } }; ObjPers.prototype.FinJump = function () { with (this) { SetSpdXJump(); SetMoveX(); if (UseSuit == true) { CheckTir(); } CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); CheckCeil(); this["CheckAction" + Perso](); MovePers(); if (HitGrd == true) { Etat = "Land"; } else if (SpdYNow >= 0) { Etat = "Fall"; DistYFall = 0; } } }; ObjPers.prototype.Fall = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); if (UseSuit == true) { CheckTir(); } this["CheckAction" + Perso](); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if ((_parent.Pers.Obj.Etat._currentframe >= FrFall) or (HitGrd == true)) { SpdXNow = 0; MoveX = 0; if (HitGrd == true) { if (DistYFall >= DistYLand) { Etat = "Land"; } else { Etat = "Idle"; } } else { Etat = "FinFall"; } } CheckHole(); } }; ObjPers.prototype.FinFall = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(FrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (HitGrd == true) { if (DistYFall >= DistYLand) { Etat = "Land"; } else { Etat = "Idle"; } } CheckHole(); } }; ObjPers.prototype.Land = function () { with (this) { SetSpdX(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckSol(); CheckFall(); MovePers(); CheckJump(); this["CheckAction" + Perso](); CheckDie(); if (_parent.Pers.Obj.Etat._currentframe >= FrLand) { if (Life <= 0) { Etat = "Die"; } else { Etat = "Idle"; } } } }; ObjPers.prototype.GetHit1 = function () { with (this) { if (FrGetHitCount >= FrGetHit) { CheckHitGrd(); Etat = "Fall"; FrGetHitCount = 0; InvincibleInit(); } else { FrGetHitCount++; } GetHitGeneral(); } }; ObjPers.prototype.GetHit2 = function () { with (this) { GetHitGeneral(); if (FrGetHitCount >= FrGetHit) { CheckHitGrd(); Etat = "Fall"; FrGetHitCount = 0; InvincibleInit(); } else { FrGetHitCount++; } } }; ObjPers.prototype.GetHitLand = function () { with (this) { GetHitGeneral(); if (FrGetHitCount == FrGetHit) { _parent.Pers.Obj.Etat.play(); FrGetHitCount++; } else if (FrGetHitCount > FrGetHit) { if (_parent.Pers.Obj.Etat._currentframe >= FrGetHitLand) { Etat = "PushVide"; FrGetHitCount = 0; InvincibleInit(); } } else { FrGetHitCount++; } } }; ObjPers.prototype.GetHitGeneral = function () { with (this) { SetSpdXHit(); CheckWall(BackX, TrueY); CheckHitGrd(); CheckSol(); MovePers(); CheckDie(); } }; ObjPers.prototype.GetHit = function () { with (this) { var RandomHit = 0; Life = Life - 1; _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); CanHit = false; SpdXNow = SpdXHitBase; SpdYNow = SpdYHitBase; RandomHit = Math.ceil(Math.random() * 2); Etat = "GetHit" + RandomHit; } }; ObjPers.prototype.GetFire = function () { with (this) { var RandomHit = 0; Life = Life - 1; _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); CanHit = false; SpdXNow = SpdXHitBase; SpdYNow = 0; RandomHit = Math.ceil(Math.random() * 2); Etat = "GetHit" + RandomHit; } }; ObjPers.prototype.CheckGetFire = function () { with (this) { var NbMinionBall = G_TabMinionBall.length; if (NbMinionBall > 0) { var i = 0; while (i < NbMinionBall) { var BallX = _parent.Control[G_TabMinionBall[i]].PosX; var BallY = _parent.Control[G_TabMinionBall[i]].PosY; if (((((BallX >= (PosX - GetFireG)) and (BallX <= (PosX + GetFireD))) and (BallY >= (PosY - GetFireUp))) and (BallY <= (PosY + GetFireDw))) && (!Invincible)) { if (_parent.Control[G_TabMinionBall[i]].Dangerous == true) { Etat = "GetFire"; if (_parent.Control[G_TabMinionBall[i]].Dir == "D") { Dir = "G"; } else if (_parent.Control[G_TabMinionBall[i]].Dir == "G") { Dir = "D"; } _parent.Control[G_TabMinionBall[i]].Etat = "Hit"; } } i++; } } } }; ObjPers.prototype.InvincibleInit = function () { with (this) { Invincible = true; } }; ObjPers.prototype.InvincibleEnd = function () { with (this) { Invincible = false; FrInvincibleCount = 0; _parent.Pers._visible = true; } }; ObjPers.prototype.InvincibleCheck = function () { with (this) { if (Invincible) { if (FrInvincibleCount >= FrInvincible) { InvincibleEnd(); CanBeHit = true; } else { FrInvincibleCount++; if ((FrInvincibleCount % 3) == 0) { _parent.Pers._visible = !_parent.Pers._visible; } } } } }; ObjPers.prototype.Die = function () { with (this) { CanBeHit = false; FrDeadCount++; if (FrDeadCount >= FrDead) { FrDeadCount = 0; _global.C.endGame("lose"); } } }; ObjPers.prototype.SetSpdXHit = function () { with (this) { MoveX = SpdXNow; if (SpdXNow > 0) { SpdXNow = SpdXNow * 0.7; } if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjPers.prototype.SetSpdX = function () { with (this) { if (KeyListener.R == true) { Dir = "D"; if (_parent.Collider.Wall.hitTest(FrontX + WallHitBloc, TrueY, true)) { Etat = "Idle"; SpdXBase = 0; SpdXNow = 0; } else { Etat = "Walk"; SpdXBase = ModifSpeed(SpdXBase, "acc", false, Dir); SpdXNow = SpdXBase; } } else if (KeyListener.L == true) { Dir = "G"; if (_parent.Collider.Wall.hitTest(FrontX - WallHitBloc, TrueY, true)) { Etat = "Idle"; SpdXBase = 0; SpdXNow = 0; } else { Etat = "Walk"; SpdXBase = ModifSpeed(SpdXBase, "acc", false, Dir); SpdXNow = SpdXBase; } } else { if (Etat != "Land") { Etat = "Idle"; } SpdXBase = ModifSpeed(SpdXBase, "dec", false, Dir); SpdXNow = SpdXBase; } if (Dir ne DirOld) { SpdXBase = ModifSpeed(SpdXBase, "dec", false, Dir); SpdXNow = SpdXBase; } } }; ObjPers.prototype.SetSpdXJump = function () { with (this) { if (KeyListener.R == true) { Dir = "D"; if (_parent.Collider.Wall.hitTest(TrueX + WallHitBloc, TrueY, true)) { SpdXBase = 0; SpdXNow = 0; } else { SpdXBase = ModifSpeed(SpdXBase, "acc", true, Dir); SpdXNow = SpdXBase; } } else if (KeyListener.L == true) { Dir = "G"; if (_parent.Collider.Wall.hitTest(TrueX - WallHitBloc, TrueY, true)) { SpdXBase = 0; SpdXNow = 0; } else { SpdXBase = ModifSpeed(SpdXBase, "acc", true, Dir); SpdXNow = SpdXBase; } } else { SpdXBase = ModifSpeed(SpdXBase, "dec", true, Dir); SpdXNow = SpdXBase; } if (Dir ne DirOld) { SpdXBase = ModifSpeed(SpdXBase, "dec", true, Dir); SpdXNow = SpdXBase; } } }; ObjPers.prototype.SetMoveX = function () { with (this) { MoveX = SpdXNow; } }; ObjPers.prototype.checkEaster = function () { with (this) { if (KeyListener.S == true) { Etat = "EasterEgg"; } } }; ObjPers.prototype.CheckWall = function (CoordX, CoordY) { with (this) { if (MoveX != 0) { if (MoveX > 0) { var WallStop = WallHitBloc; } else { var WallStop = (-1 * WallHitBloc); } var WallHit1 = (MoveX / 3); var WallHit2 = (WallHit1 * 2); if (_parent.Collider.Wall.hitTest(CoordX + WallStop, CoordY, true)) { SpdXBase = 0; MoveX = 0; } else if (_parent.Collider.Wall.hitTest(CoordX + WallHit1, CoordY, true)) { SpdXBase = 0; MoveX = WallHitBloc; } else if (_parent.Collider.Wall.hitTest(CoordX + WallHit2, CoordY, true)) { SpdXBase = 0; MoveX = WallHit1; } else if (_parent.Collider.Wall.hitTest(CoordX + MoveX, CoordY, true)) { SpdXBase = 0; MoveX = WallHit2; } } } }; ObjPers.prototype.CheckCeil = function () { with (this) { if (MoveY != 0) { if (_parent.Collider.Ceil.hitTest(TopX, TopY + MoveY, true)) { MoveY = 0; SpdYNow = 0; Etat = "Fall"; DistYFall = 0; } } } }; ObjPers.prototype.Kick1 = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frKick1) { CanHit = true; HitPointX = _parent.Pers.Obj.HitPoint._x; if (Dir == "G") { HitPointX = PosX - HitPointX; } else if (Dir == "D") { HitPointX = PosX + HitPointX; } HitPointY = PosY + _parent.Pers.Obj.HitPoint._y; Etat = "FinKick1"; CheckGetFire(); } } }; ObjPers.prototype.FinKick1 = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frFinKick1) { CanHit = false; if (!HitGrd) { Etat = "Fall"; } else { Etat = "Idle"; } CheckGetFire(); if (KeyListener.Sp) { ComboKick++; } } } }; ObjPers.prototype.Kick2 = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= frKick2) { CanHit = true; HitPointX = _parent.Pers.Obj.HitPoint._x; if (Dir == "G") { HitPointX = PosX - HitPointX; } else if (Dir == "D") { HitPointX = PosX + HitPointX; } HitPointY = PosY + _parent.Pers.Obj.HitPoint._y; Etat = "FinKick2"; CheckGetFire(); } } }; ObjPers.prototype.FinKick2 = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= frFinKick2) { CanHit = false; if (!HitGrd) { Etat = "Fall"; } else { Etat = "Idle"; } CheckGetFire(); if (KeyListener.Sp) { ComboKick++; } } } }; ObjPers.prototype.CheckJump = function () { with (this) { if (((KeyListener.Up == true) and (HitGrd == true)) and (KeyListener.UpRelease == true)) { _global.Sounds.PlayASound("Jump", 1, 60); KeyListener.UpRelease = false; KeepDeadPos = false; Etat = "Jump"; SpdYNow = SpdStartJump; } } }; ObjPers.prototype.CheckActionWaffle = function () { with (this) { if (KeyListener.Sp == true) { KeyListener.Sp = false; if (KickTime < KickInAir) { if (((Etat == "Jump") || (Etat == "FinJump")) || (Etat == "Fall")) { KickTime++; ComboKick = 0; RandomKick = 2; } else { RandomKick = 1; } _global.Sounds.PlayASound("Kick", 1, 50); Etat = "Kick" + RandomKick; } } else if (((((Etat != "Jump") && (Etat != "FinJump")) && (Etat != "Fall")) && (Etat != "Kick2")) && (Etat != "FinKick1")) { KickTime = 0; ComboKick = 0; } } }; ObjPers.prototype.ResetMove = function () { with (this) { MoveX = 0; MoveY = 0; SpdXNow = 0; SpdYNow = 0; } }; ObjPers.prototype.CheckFall = function () { with (this) { if (SpdYNow >= SpdYFall) { KeepDeadPos = false; Etat = "Fall"; DistYFall = 0; } } }; ObjPers.prototype.CheckDie = function () { with (this) { if ((Life <= 0) and (HitGrd == true)) { CanBeHit = false; InvincibleEnd(); _global.C.DesactivateHud(); Etat = "Die"; } } }; ObjPers.prototype.MovePers = function () { with (this) { if ((Pers.TrueX + MoveX) < 0) { MoveX = TrueX * -1; } else if ((Pers.TrueX + MoveX) > 500) { MoveX = 500 - Pers.TrueX; } PosX = _parent.Pers._x + MoveX; _parent.Pers._x = PosX; MoveX = 0; PosY = _parent.Pers._y + MoveY; _parent.Pers._y = PosY; MoveY = 0; } }; ObjPers.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = PosY + _parent._y; TopX = TrueX; TopY = TrueY + _parent.Pers.Obj.HitTop._y; FrontX = _parent.Pers.Obj.HitFront._x; FrontY = TrueY + _parent.Pers.Obj.HitFront._y; BottomFrontX = _parent.Pers.Obj.HitBottomFront._x; BottomBackX = _parent.Pers.Obj.HitBottomBack._x; BackX = _parent.Pers.Obj.HitBack._x; if (Dir == "G") { FrontX = TrueX - FrontX; BottomFrontX = TrueX - BottomFrontX; BottomBackX = TrueX - BottomBackX; BackX = TrueX - BackX; } else if (Dir == "D") { FrontX = TrueX + FrontX; BottomFrontX = TrueX + BottomFrontX; BottomBackX = TrueX + BottomBackX; BackX = TrueX + BackX; } } }; ObjPers.prototype.CheckHitGrd = function (CheckX, CheckY) { with (this) { if ((CheckX == undefined) && (CheckY == undefined)) { CheckX = TrueX; CheckY = TrueY; aCheckPoints = [CheckX, BottomFrontX, BottomBackX]; } else { aCheckPoints = [CheckX]; } for (var i in aCheckPoints) { if (_parent.Collider.Sol.hitTest(aCheckPoints[i], CheckY + MaxSol, true) and (SpdYNow >= 0)) { HitGrd = true; HitGrdPoint = aCheckPoints[i]; break; } HitGrd = false; HitGrdPoint = TrueX; } } }; ObjPers.prototype.CheckSol = function (CheckX, CheckY) { with (this) { if ((CheckX == undefined) && (CheckY == undefined)) { CheckX = HitGrdPoint; CheckY = TrueY; } if (_parent.Collider.Sol.hitTest(CheckX, CheckY, true) and (SpdYNow >= 0)) { SpdYNow = 0; var InSol = true; while (InSol == true) { MoveY = MoveY - SolOut; InSol = _parent.Collider.Sol.hitTest(CheckX, CheckY + MoveY, true); } } else if (SpdYNow >= 0) { if (HitGrd == true) { SpdYNow = 0; MoveY = SpdYNow; } else { if ((KeyListener.Up == true) && (SpdYNow > 0)) { var MoveUp = (Math.round((SpdYUp * 10) / 1200) / 10); if (MoveUp < 0.1) { MoveUp = 0.1; } SpdYNow = SpdYNow + MoveUp; if (SpdYNow > (SpdYMax / 3)) { SpdYNow = SpdYMax / 3; } } else { SpdYNow = SpdYNow + SpdYUp; if (SpdYNow > SpdYMax) { SpdYNow = SpdYMax; } } var SolHit1 = (SpdYNow / 3); var SolHit2 = (SolHit1 * 2); if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SolHit1, true)) { MoveY = SolHitMin; } else if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SolHit2, true)) { MoveY = SolHit1; } else if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SpdYNow, true)) { MoveY = SolHit2; } else { MoveY = SpdYNow; } } } else { SpdYNow = SpdYNow + SpdYUp; MoveY = SpdYNow; } if (MoveY > 0) { DistYFall = DistYFall + MoveY; } } }; ObjPers.prototype.ChangeEtat = function (NewAction) { with (this) { if (((EtatOld eq "Walk") and (Etat eq "WalkTir")) or ((EtatOld eq "WalkTir") and (Etat eq "Walk"))) { var SetFrWalk = true; } EtatOld = Etat; Etat = NewAction; _parent.Pers.Obj.gotoAndStop(NewAction); if (SetFrWalk == true) { if (FrWalkNow >= 20) { FrWalkNow = 1; } _parent.Pers.Obj.Etat.gotoAndPlay(FrWalkNow); } } }; ObjPers.prototype.updatePerso = function () { with (this) { _parent.Pers.gotoAndStop((Perso + "_") + Dir); Etat = "Idle"; GetFireG = -1 * _parent.Pers.Obj.HitBack._x; GetFireD = _parent.Pers.Obj.HitFront._x; GetFireDw = 20; GetFireUp = -1 * _parent.Pers.Obj.HitTop._y; ComboKick = 0; InvincibleEnd(); CanBeHit = true; } }; ObjPers.prototype.ChangeDir = function (NewDir) { with (this) { DirOld = Dir; Dir = NewDir; _parent.Pers.gotoAndStop((Perso + "_") + Dir); } }; ObjPers.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent.Pers.Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent.Pers.Obj.Etat.play(); } SetTruePos(); InvincibleCheck(); this[Etat](); } } }; CreerPersBall = function () { var _local3 = "Ball" + G_NextPersBall; G_NextPersBall = G_NextPersBall + 1; if (G_NextPersBall > 50) { G_NextPersBall = 1; } if (this[_local3] == null) { var _local7 = G_NextPersBallDepth; G_NextPersBallDepth++; duplicateMovieClip (_parent.Ball.PersBallClone, _local3, _local7); var _local6 = Pers.Dir; _parent.Ball[_local3].gotoAndStop(_local6); var _local5 = Pers.PosX; var _local4 = Pers.PosY + Pers.DistBallY; _parent.Ball[_local3]._x = _local5; _parent.Ball[_local3]._y = _local4; this[_local3] = new ObjPersBall(_local3, _local5, _local4, _local6, 14, 20, G_TabPersBall, "SlimeSplat"); G_TabPersBall.push(_local3); } }; CreerMinionBall = function (PosX, PosY, Dir, PowerX, PowerY) { MinShootX = 10; MinShootY = 41; if (PowerX == undefined) { ForceX = random(4) + 15; Bouncing = "horiz"; } else { ForceX = PowerX; Bouncing = "vertic"; } if (PowerY == undefined) { ForceY = random(3) - 7; } else { ForceY = PowerY; } if (Dir == "none") { if (random(50) < 25) { Dir = "D"; } else { Dir = "G"; } } FrDetonate = 90; var _local3 = "MinionBall" + G_NextMinionBall; G_NextMinionBall = G_NextMinionBall + 1; if (G_NextMinionBall > 50) { G_NextMinionBall = 1; } if (this[_local3] == null) { var _local5 = G_NextMinionBallDepth; G_NextMinionBallDepth++; duplicateMovieClip (_parent.Ball.MinionBallClone, _local3, _local5); _parent.Ball[_local3].gotoAndStop(Dir); if (Dir == "G") { _parent.Ball[_local3]._x = PosX - MinShootX; } else if (Dir == "D") { _parent.Ball[_local3]._x = PosX + MinShootX; } _parent.Ball[_local3]._y = PosY - MinShootY; this[_local3] = new ObjPersBall(_local3, _parent.Ball[_local3]._x, _parent.Ball[_local3]._y, Dir, 14, 10, G_TabMinionBall, "LaserSplat"); G_TabMinionBall.push(_local3); } }; ObjPersBall.prototype.Hide = function () { with (this) { _parent.Ball[Nom]._x = PosX + SpdX; PosX = PosX + SpdX; SetTruePos(); if (_parent.PersBall[Nom].Obj.Etat._currentframe >= FrHide) { Etat = "Move"; } CheckWall(); CheckOut(); } }; ObjPersBall.prototype.Move = function () { with (this) { if (Bouncing == "horiz") { _parent.Ball[Nom]._x = PosX + SpdX; _parent.Ball[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; passTime++; CheckGround(); SetTruePos(); CheckWall(); CheckOut(); if (passTime == 2) { passTime = 0; if (SpdX > 0) { SpdX--; } else if (SpdX < 0) { SpdX++; } else if (Stopped == true) { Dangerous = false; Etat = "detonate"; } } } else if (Bouncing == "vertic") { _parent.Ball[Nom]._x = PosX + SpdX; _parent.Ball[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; if (Stopped == false) { SpdY++; if (SpdY == 0) { detectNow = true; } } else { Etat = "detonate"; } SetTruePos(); if (detectNow == true) { CheckGround(); } CheckWall(); CheckOut(); } } }; ObjPersBall.prototype.detonate = function () { with (this) { if (_parent.Ball[Nom].Obj.Etat._currentframe == FrDetonate) { Etat = "explode"; } checkIfKick(); CheckOut(); } }; ObjPersBall.prototype.checkIfKick = function () { with (this) { if (Pers.CanHit == true) { if (_parent.Ball[Nom].hitTest(_parent.Pers)) { _global.Sounds.PlayASound("Ball", 1, 100); Dir = Pers.Dir; if (Dir eq "D") { SpdX = random(6) + 18; } else { SpdX = -1 * (random(6) + 18); } SpdY = random(3) - 11; Stopped = false; Etat = "Move"; } } } }; ObjPersBall.prototype.Hit = function () { with (this) { if (((_parent.Ball[Nom].Obj.Etat._currentframe == 1) && (TrueX > 0)) && (TrueX < 500)) { } else if (_parent.Ball[Nom].Obj.Etat._currentframe >= FrHit) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.explode = function () { with (this) { if (_parent.Ball[Nom].hitTest(_parent.Pers)) { if (Pers.CanBeHit) { Pers.Etat = "GetHit"; Pers.CanBeHit = false; if (_parent.Ball[Nom]._x > _parent.Pers._x) { Pers.Dir = "D"; } else { Pers.Dir = "G"; } } } if (_parent.Ball[Nom].Obj.Etat._currentframe >= FrHit) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.KillBall = function () { with (this) { if (Tab == G_TabPersBall) { G_TabPersBall.splice(PersBallI, 1); PersBallI = PersBallI - 1; } else if (Tab == G_TabMinionBall) { G_TabMinionBall.splice(MinionBallI, 1); MinionBallI = MinionBallI - 1; } delete _parent.Control[Nom]; } }; ObjPersBall.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = (PosY + _parent._y) + 10; } }; ObjPersBall.prototype.Sleep = function () { }; ObjPersBall.prototype.CheckWall = function () { with (this) { if (_parent.Collider.Wall.hitTest(TrueX, TrueY, true) and (!_parent.Collider.Wall.Pass.hitTest(TrueX, TrueY, true))) { _global.Sounds.PlayASound("Ball", 1, 100); if (Dir eq "D") { Dir = "G"; } else { Dir = "D"; } Dangerous = true; SpdX = SpdX * -1; if (SpdX > 0) { SpdX = SpdX + 2; } else { SpdX = SpdX + -2; } if (Math.abs(SpdX) < 5) { if (SpdX < 5) { SpdX = 5; } else if (Spd > -5) { SpdX = -5; } } } } }; ObjPersBall.prototype.CheckGround = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true)) { if (SpdY >= 0) { if (SpdY >= 5) { _global.Sounds.PlayASound("Ball", 1, 100); } var i = 0; while (_parent.Collider.Sol.hitTest(TrueX, TrueY - (i + 1), true)) { i++; } PosY = PosY + (i * -1); _parent.Ball[Nom]._y = PosY; HurtMyself = true; if (SpdY > 2) { Stopped = false; SpdY = Math.round(SpdY * -0.5); } else { Stopped = true; SpdY = 0; } } else { Stopped = false; SpdY++; } } else { Stopped = false; SpdY++; } } }; ObjPersBall.prototype.CheckOut = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent.Ball[Nom].Obj.gotoAndStop(NewAction); } }; ObjPersBall.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent.Ball[Nom].Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent.Ball[Nom].Obj.Etat.play(); } this[Etat](); } } }; CreerBg = function (PosX, PosY) { this.Bg = new ObjBg(PosX, PosY); }; ObjBg.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; } } else { if (InPause == true) { InPause = false; } ScrollBg(); } } }; ObjBg.prototype.ScrollBg = function () { with (this) { CheckScreen(); if ((PosY <= MaxDw) and (PosY >= MaxUp)) { if (Pers.TrueX > (CenterX + 1)) { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX < MaxG) { if ((PosX + SpdXD) > MaxG) { MoveX = MaxG - PosX; } else { MoveX = SpdXD; } } else { if ((CenterX - Pers.TrueX) > SpdXG) { MoveX = CenterX - Pers.TrueX; } else { MoveX = SpdXG; } if ((PosX + MoveX) < MaxG) { MoveX = MaxG - PosX; } } } else if (Pers.TrueX < (CenterX - 1)) { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX > MaxD) { if ((PosX + SpdXG) < MaxD) { MoveX = MaxD - PosX; } else { MoveX = SpdXG; } } else { if ((CenterX - Pers.TrueX) < SpdXD) { MoveX = CenterX - Pers.TrueX; } else { MoveX = SpdXD; } if ((PosX + MoveX) > MaxD) { MoveX = MaxD - PosX; } } } else { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX < MaxG) { if ((PosX + SpdXD) > MaxG) { MoveX = MaxG - PosX; } else { MoveX = SpdXD; } } else if (PosX > MaxD) { if ((PosX + SpdXG) < MaxD) { MoveX = MaxD - PosX; } else { MoveX = SpdXG; } } } } if ((PosX <= MaxD) and (PosX >= MaxG)) { if (Pers.TrueY > (CenterY + 1)) { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY < MaxUp) { if ((PosY + SpdYDw) > MaxUp) { MoveY = MaxUp - PosY; } else { MoveY = SpdYDw; } } else { if ((CenterY - Pers.TrueY) > SpdYUp) { MoveY = CenterY - Pers.TrueY; } else { MoveY = SpdYUp; } if ((PosY + MoveY) < MaxUp) { MoveY = MaxUp - PosY; } } } else if (Pers.TrueY < (CenterY - 1)) { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY > MaxDw) { if ((PosY + SpdYUp) < MaxDw) { MoveY = MaxDw - PosY; } else { MoveY = SpdYUp; } } else { if ((CenterY - Pers.TrueY) < SpdYDw) { MoveY = CenterY - Pers.TrueY; } else { MoveY = SpdYDw; } if ((PosY + MoveY) > MaxDw) { MoveY = MaxDw - PosY; } } } else { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY < MaxUp) { if ((PosY + SpdYDw) > MaxUp) { MoveY = MaxDw - PosY; } else { MoveY = SpdYDw; } } else if (PosY > MaxDw) { if ((PosY + SpdYUp) < MaxDw) { MoveY = MaxDw - PosY; } else { MoveY = SpdYUp; } } } } _parent._x = Math.floor(_parent._x + MoveX); PosX = _parent._x; InvPosX = PosX * -1; MoveX = 0; _parent._y = Math.floor(_parent._y + MoveY); PosY = _parent._y; InvPosY = PosY * -1; MoveY = 0; } }; CreerShred = function (Nom, PosX, PosY, Dir, Perso) { if (this[Nom] == null) { if ((Perso == undefined) || (!Perso)) { Perso = "Gordon"; } this[Nom] = new ObjShred(Nom, PosX, PosY, Dir, Perso); G_TabShred.push(Nom); } }; ObjShred.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjShred.prototype.Idle = function () { with (this) { MoveX = 0; MoveY = 0; CanBeHit = true; FrBetweenAttack++; FrSeparateWallCount++; if (FrSeparateWallCount == FrSeparateWallCheck) { FrSeparateWallCount = 0; WallSeparate = false; } if (((Etat == "Idle") && ((_parent[Nom].Obj.Etat._currentframe >= FrIdleCheckMin) && (_parent[Nom].Obj.Etat._currentframe <= FrIdleCheckMax))) || (_parent[Nom].Obj.Etat._currentframe == FrIdleCheckLast)) { if (Dir == "G") { CheckPers("D"); } else if (Dir == "D") { CheckPers("G"); } } else { CheckPers(); } if ((Perso == "Gordon") || (Perso == "Blik")) { CheckAttack(); if ((Etat == "Idle") && (_parent[Nom].Obj.Etat._currentframe == FrIdleCheckLast)) { CheckDistWall(); if (TooNearWall) { if (Dir == "G") { Dir = "D"; } else if (Dir == "D") { Dir = "G"; } CheckDistWall(); if (!TooNearWall) { Etat = "Walk"; } } else { Etat = "Walk"; } } } else { CheckAttack(); } CheckBoxOver(); CheckBoxSide(); CheckHeadAttack(); if (Perso != "Waffle") { CheckGetHit(); } CheckGetFire(); CheckGetFart(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckSleep(); } }; ObjShred.prototype.Walk = function () { with (this) { CanBeHit = true; CheckHeadAttack(); CheckTurn(); CheckWall(); CheckPers(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); SetMoveX(); MoveShred(); CheckSleep(); } }; ObjShred.prototype.MoonWalk = function () { with (this) { CanBeHit = true; FrBetweenAttack++; CheckHeadAttack(); CheckTurn(); CheckWall(); if (FrBetweenAttack >= FrMoonWalk) { CheckPers(); } CheckHitGrd(); CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); InverseSetMoveX(); MoveShred(); CheckSleep(); } }; ObjShred.prototype.WalkFight = function () { with (this) { CanBeHit = true; CheckHeadAttack(); SetMoveXWalkFight(); CheckTurn(); CheckWall(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetFire(); CheckGetFart(); MoveShred(); CheckSleep(); CheckFight(); CheckGetHit(); } }; ObjShred.prototype.Surpris = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrSurpris) { MoveX = 0; MoveY = 0; if (Perso == "Gordon") { if (((Pers.Etat == "Die") && (Pers.Obj.Etat._currentframe >= 40)) || (Pers.Etat == "Dead")) { Etat = "Charge"; } else if ((Math.ceil(Math.random() * 3) == 1) || ((TrueX < 0) || (TrueX > 500))) { Etat = "WalkFight"; } else { Etat = "Charge"; } } else if (Perso == "Blik") { if (FrBetweenAttack >= FrMoonWalk) { FrBetweenAttack = 0; Etat = "Attack3"; ShootMax = Math.ceil((Math.random() * 3) + 1); ShootCount = 1; } else { Etat = "MoonWalk"; } } } CanBeHit = true; CheckHeadAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); } }; ObjShred.prototype.Attack3 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe == FrShoot) { _global.Sounds.PlayASound("Crache", 1, 100); _global.Game.CreerMinionBall(PosX, PosY, Dir); } else if (_parent[Nom].Obj.Etat._currentframe >= FrShootFin) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); CheckGetFart(); } }; ObjShred.prototype.Ready = function () { with (this) { CanBeHit = true; if (_parent[Nom].Obj.Etat._currentframe >= 5) { CheckHeadAttack(); CheckGetHit(); } CheckGetFire(); if (_parent[Nom].Obj.Etat._currentframe >= FrReady) { Etat = "Attack4"; } } }; ObjShred.prototype.PopOut = function () { with (this) { CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); if (_parent[Nom].Obj.Etat._currentframe >= FrPopOut) { Etat = "Idle"; } } }; ObjShred.prototype.Attack4 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe == FrAttack4) { _global.Sounds.PlayASound("Lazer", 1, 80); } if (_parent[Nom].Obj.Etat._currentframe >= FrAttack4) { if (_parent[Nom].Obj.Etat.missile.hitTest(_parent.Pers) && (Pers.CanBeHit == true)) { _global.Sounds.PlayASound("electroc", 1, 80); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; waitTimeMissile = 0; _parent[Nom].Obj.Etat.spark._visible = true; } var BounceMiss = _parent[Nom].Obj.Etat.spark.getBounds(_parent._parent); BounceMissX = (BounceMiss.xMax + BounceMiss.xMin) / 2; BounceMissY = (BounceMiss.yMax + BounceMiss.yMin) / 2; if (_parent.Collider.Wall.hitTest(BounceMissX, BounceMissY, true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack4"; } if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack4) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack4"; } } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.Charge = function () { with (this) { CanBeHit = true; SetMoveXCharge(); CheckTurn(); CheckWall("Charge"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckGetFart(); MoveShred(); CheckSleep(); CheckBoxOver(); CheckBoxSide(); CheckTouchCharge(); CheckHeadAttack(); CheckGetHit(); } }; ObjShred.prototype.Fight = function () { with (this) { Etat = "Attack1"; } }; ObjShred.prototype.StartJump = function () { with (this) { CanBeHit = true; Etat = "Jump"; SpdYNow = SpdYStepBack; SpdXFall = SpdXStepBack; } }; ObjShred.prototype.Jump = function () { with (this) { CanBeHit = true; CheckHeadAttack(); SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckGetFart(); MoveShred(); Etat = "Fall"; } }; ObjShred.prototype.Land = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrLand) { Etat = "Walk"; } } }; ObjShred.prototype.GetHit = function () { with (this) { if (Perso != "Waffle") { SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); MoveShred(); } CheckGetFire(); CheckGetFart(); FrGetHitCount++; if (FrGetHitCount == 1) { if (Perso != "Waffle") { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } else if (Dir == "D") { CreerLifeBonus("LifeBonus", PosX + 30, PosY, 50); } else { CreerLifeBonus("LifeBonus", PosX - 30, PosY, 50); } } if (FrGetHitCount >= FrGetHit) { CanBeHit = true; if (HitGrd == true) { if (Life > 0) { if (Perso != "Waffle") { FrGetHitCount = 0; Etat = "Idle"; WallSeparate = false; } else { FrGetHitCount = 0; Etat = "PopOut"; WallSeparate = false; } } else { Etat = "Die"; } } else { Etat = "Fall"; } } } }; ObjShred.prototype.Fall = function () { with (this) { CanBeHit = true; SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckHeadAttack(); MoveShred(); if (HitGrd == true) { if (Life > 0) { Etat = "Sleep"; CanBeHit = true; WallSeparate = false; } else { Etat = "Die"; } } } }; ObjShred.prototype.CheckHeadAttack = function () { with (this) { if (_parent[Nom].Obj.headZone.hitTest(_parent.Pers.Obj.HitBottom)) { if (random(100) < 50) { Pers.SpdXBase = random(4) + 3; } else { Pers.SpdXBase = random(4) - 7; } Pers.SpdYNow = Pers.SpdStartJump / 1.5; if (CanBeHit) { _global.Sounds.PlayASound("rHead", 1, 50); Life--; CanBeHit = false; Etat = "GetHit"; } } else if ((_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitTop) || (_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitFront))) || (_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitBack))) { if (Pers.CanBeHit == true) { _global.Sounds.PlayASound("rBump", 1, 80); Pers.Etat = "GetHit"; Pers.CanBeHit = false; } } } }; ObjShred.prototype.Attack1 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrAttack1) { if (_parent[Nom].Obj.Etat.missile.hitTest(_parent.Pers) && (Pers.CanBeHit == true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; waitTimeMissile = 0; Etat = "FinAttack1"; } var BounceMiss = _parent[Nom].Obj.Etat.missile.getBounds(_parent._parent); BounceMissX = (BounceMiss.xMax + BounceMiss.xMin) / 2; BounceMissY = (BounceMiss.yMax + BounceMiss.yMin) / 2; if (_parent.Collider.Wall.hitTest(BounceMissX, BounceMissY, true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack1"; } if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack1) { waitTimeMissile = 0; _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); Etat = "FinAttack1"; } } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack1 = function () { with (this) { waitTimeMissile++; if (waitTimeMissile >= 10) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack4 = function () { with (this) { waitTimeMissile++; if (waitTimeMissile == 12) { _parent[Nom].Obj.Etat.gotoAndPlay(37); } else if (waitTimeMissile == 21) { Etat = "PopOut"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack3 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack3) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.Die = function () { with (this) { Dir = "D"; if (_parent[Nom].Obj.Etat._currentframe == 1) { _global.Sounds.PlayASound("Dead", 1, 80); } if (_parent[Nom].Obj.Etat._currentframe >= FrDie) { Etat = "Dead"; } } }; ObjShred.prototype.Dead = function () { with (this) { G_TabShred.splice(ShredI, 1); ShredI = ShredI - 1; } }; ObjShred.prototype.CheckPers = function (CheckDir) { with (this) { if (Pers.CanBeHit) { if (CheckDir == undefined) { CheckDir = Dir; } if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= PosX)) && (CheckDir == "G")) { var CheckX = (TrueX - (PosX - Pers.PosX)); while ((CheckX < TrueX) && (!WallSeparate)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY, true)) { WallSeparate = true; } CheckX = CheckX + 10; } if (!WallSeparate) { if ((Perso == "Gordon") || ((TrueX > 0) && (TrueX < 500))) { Etat = "Surpris"; Dir = CheckDir; } } } else if (((Pers.PosX <= (PosX + LgCheckPersX)) and (Pers.PosX >= PosX)) && (CheckDir == "D")) { var CheckX = (TrueX + (Pers.PosX - PosX)); while ((CheckX > TrueX) && (!WallSeparate)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY, true)) { WallSeparate = true; } CheckX = CheckX - 10; } if (!WallSeparate) { if ((Perso == "Gordon") || ((TrueX > 0) && (TrueX < 500))) { Etat = "Surpris"; Dir = CheckDir; } } } } } } }; ObjShred.prototype.CheckDistWall = function (CheckDir, CheckXPoint) { with (this) { if (CheckDir == undefined) { CheckDir = Dir; } if (CheckXPoint == undefined) { CheckXPoint = TrueX; } TooNearWall = false; if (CheckDir == "G") { var CheckX = (CheckXPoint - DistMinWall); while ((CheckX < CheckXPoint) && (!TooNearWall)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } else if (_parent.Collider.Turn.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } CheckX = CheckX + 10; } } else if (CheckDir == "D") { var CheckX = (TrueX + DistMinWall); while ((CheckX > CheckXPoint) && (!TooNearWall)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } else if (_parent.Collider.Turn.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } CheckX = CheckX - 10; } } } }; ObjShred.prototype.CheckPersDist = function () { with (this) { if (Pers.CanBeHit == true) { if ((Dir == "G") && (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir == "D") && (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if ((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= PosX)) { if ((Pers.PosX >= (PosX - LgCheckFightX)) and (Pers.PosX <= PosX)) { } else { Etat = "WalkFight"; } } else if ((Pers.PosX <= (PosX + LgCheckPersX)) and (Pers.PosX >= PosX)) { if ((Pers.PosX <= (PosX + LgCheckFightX)) and (Pers.PosX >= PosX)) { } else { Etat = "WalkFight"; } } } } else { Etat = "WalkFight"; } } }; ObjShred.prototype.CheckFight = function () { with (this) { if (Pers.CanBeHit == true) { if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (((Pers.PosX >= (PosX - LgCheckFightX)) and (Pers.PosX <= PosX)) && (Dir == "G")) { FrSeeingCount = 0; Etat = "Attack1"; } else if (((Pers.PosX <= (PosX + LgCheckFightX)) and (Pers.PosX >= PosX)) && (Dir == "D")) { FrSeeingCount = 0; Etat = "Attack1"; } } } } }; ObjShred.prototype.CheckJump = function () { with (this) { if (Pers.Perso == "MrsX") { if (Math.ceil(Math.random() * 100) == 1) { Etat = "StartJump"; } } } }; ObjShred.prototype.CheckGetHit = function () { with (this) { if (Pers.CanHit == true) { if (CanBeHit) { if ((Pers.HitPointY >= (PosY - GetHitUp)) and (Pers.HitPointY <= (PosY + GetHitDw))) { if (((Pers.HitPointX <= (PosX + GetHitD)) and (Pers.HitPointX >= (PosX - GetHitG))) and (Pers.Dir eq "D")) { if (Perso != "Waffle") { Dir = "G"; } _global.Sounds.PlayASound("rHead", 1, 50); Life--; SpdYNow = SpdYGetHit; SpdXFall = random(SpdXGetHit) + 5; Etat = "GetHit"; CanBeHit = false; } else if (((Pers.HitPointX >= (PosX - GetHitG)) and (Pers.HitPointX <= (PosX + GetHitD))) and (Pers.Dir eq "G")) { if (Perso != "Waffle") { Dir = "D"; } _global.Sounds.PlayASound("rHead", 1, 50); Life--; SpdYNow = SpdYGetHit; SpdXFall = random(SpdXGetHit) + 5; Etat = "GetHit"; CanBeHit = false; } } } } } }; ObjShred.prototype.CheckGetFire = function () { with (this) { var NbMinionBall = G_TabMinionBall.length; if (NbMinionBall > 0) { var i = 0; while (i < NbMinionBall) { var BallX = _parent.Control[G_TabMinionBall[i]].PosX; var BallY = _parent.Control[G_TabMinionBall[i]].PosY; if (((((BallX >= (PosX - GetFireG)) and (BallX <= (PosX + GetFireD))) and (BallY >= (PosY - GetFireUp))) and (BallY <= (PosY + GetFireDw))) && (!Invincible)) { if (_parent.Control[G_TabMinionBall[i]].HurtMyself == true) { t = 1; while (t < 6) { if (Perso != "Waffle") { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } else if (Dir == "D") { CreerLifeBonus("LifeBonus", PosX + 30, PosY, 50); } else { CreerLifeBonus("LifeBonus", PosX - 30, PosY, 50); } t++; } Etat = "Die"; if (_parent.Control[G_TabMinionBall[i]].Dir == "D") { Dir = "G"; } else if (_parent.Control[G_TabMinionBall[i]].Dir == "G") { Dir = "D"; } _parent.Control[G_TabMinionBall[i]].Etat = "Hit"; } } i++; } } } }; ObjShred.prototype.CheckAttack = function () { with (this) { if (Pers.CanBeHit == true) { if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (Perso == "Gordon") { if ((Pers.PosX >= (PosX - LgAttackX)) and (Pers.PosX <= (PosX + LgAttackX))) { if ((Dir eq "G") and (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir eq "D") and (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } Etat = "Attack1"; } } else if (Perso == "Blik") { if ((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= (PosX + LgCheckPersX))) { if ((Dir eq "G") and (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir eq "D") and (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } if (FrBetweenAttack >= FrMoonWalk) { FrBetweenAttack = 0; Etat = "Attack3"; } else { Etat = "MoonWalk"; } } } else if ((Dir eq "D") and (Pers.PosX > PosX)) { if (Math.abs(Pers.PosX - PosX) < 250) { Etat = "Ready"; } } else if ((Dir eq "G") and (Pers.PosX < PosX)) { if (Math.abs(Pers.PosX - PosX) < 250) { Etat = "Ready"; } } } } } }; ObjShred.prototype.CheckTouchCharge = function () { with (this) { var CheckX = Pers.FrontX; if (((Dir == "G") && (Pers.Dir == "G")) || ((Dir == "D") && (Pers.Dir == "D"))) { CheckX = Pers.BackX; } if (_parent[Nom].hitTest(CheckX, Pers.FrontY, true)) { if (Pers.CanBeHit == true) { _global.Sounds.PlayASound("rBump", 1, 80); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; Etat = "Idle"; } } } }; ObjShred.prototype.SetMoveX = function () { with (this) { MoveX = SpdXBase; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.InverseSetMoveX = function () { with (this) { MoveX = SpdXBase; if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXWalkFight = function () { with (this) { MoveX = SpdXWalkFight; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXCharge = function () { with (this) { MoveX = SpdXCharge; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXFall = function () { with (this) { MoveX = SpdXFall; if (SpdXFall > 0) { SpdXFall = SpdXFall * 0.9; } if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjShred.prototype.CheckWall = function (CheckDir) { with (this) { if (MoveX != 0) { if (CheckDir == "Back") { var AddPoint = LgBack; } else if (CheckDir == "Charge") { var AddPoint = LgCharge; } else { var AddPoint = LgFront; } if (MoveX > 0) { var WallStop = WallHitBloc; var CheckX = (TrueX + AddPoint); } else { var WallStop = (-1 * WallHitBloc); var CheckX = (TrueX - AddPoint); } var WallHit1 = (MoveX / 3); var WallHit2 = (WallHit1 * 2); if (_parent.Collider.Wall.hitTest(CheckX + WallStop, TrueY, true)) { if (Etat == "Charge") { Etat = "StartJump"; } else if (((Etat == "GetHit") || (Etat == "StartJump")) || (Etat == "Fall")) { MoveX = 0; WallSeparate = false; } else if (Etat == "MoonWalk") { WallSeparate = false; FrBetweenAttack = FrMoonWalk; SetMoveX(); MoveShred(); Etat = "Walk"; } else { MoveX = 0; WallSeparate = false; if (Dir eq "G") { Dir = "D"; } else { Dir = "G"; } CheckDistWall(); if ((Math.ceil(Math.random() * 4) == 4) || (TooNearWall)) { Etat = "Idle"; } else { Etat = "Walk"; } } } else if (_parent.Collider.Wall.hitTest(CheckX + WallHit1, TrueY, true)) { MoveX = WallHitBloc; } else if (_parent.Collider.Wall.hitTest(CheckX + WallHit2, TrueY, true)) { MoveX = WallHit1; } else if (_parent.Collider.Wall.hitTest(CheckX + MoveX, TrueY, true)) { MoveX = WallHit2; } } } }; ObjShred.prototype.CheckTurn = function () { with (this) { if (_parent.Collider.Turn.hitTest(TrueX + MoveX, TrueY, true) || (_parent.Collider.Wall.hitTest(TrueX + MoveX, TrueY, true))) { if (Etat == "MoonWalk") { FrBetweenAttack = FrMoonWalk; SetMoveX(); MoveShred(); Etat = "Walk"; } else { MoveX = 0; if (Dir eq "G") { Dir = "D"; } else { Dir = "G"; } CheckDistWall(); if ((Math.ceil(Math.random() * 4) == 4) || (TooNearWall)) { Etat = "Idle"; } else { Etat = "Walk"; } } } } }; ObjShred.prototype.CheckSol = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true) and (SpdYNow >= 0)) { SpdYNow = 0; var InSol = true; while (InSol == true) { MoveY = MoveY - SolOut; InSol = _parent.Collider.Sol.hitTest(TrueX, TrueY + MoveY, true); } } else if (SpdYNow >= 0) { if (HitGrd == true) { SpdYNow = 0; MoveY = SpdYNow; } else { SpdYNow = SpdYNow + SpdYUp; if (SpdYNow > SpdYMax) { SpdYNow = SpdYMax; } var SolHit1 = (SpdYNow / 3); var SolHit2 = (SolHit1 * 2); if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SolHit1, true)) { MoveY = SolHitMin; } else if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SolHit2, true)) { MoveY = SolHit1; } else if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SpdYNow, true)) { MoveY = SolHit2; } else { MoveY = SpdYNow; } } } else { SpdYNow = SpdYNow + SpdYUp; MoveY = SpdYNow; } } }; ObjShred.prototype.CheckHitGrd = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY + MaxSol, true)) { HitGrd = true; } else { HitGrd = false; } } }; ObjShred.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = PosY + _parent._y; } }; ObjShred.prototype.MoveShred = function () { with (this) { _parent[Nom]._x = _parent[Nom]._x + MoveX; _parent[Nom]._y = _parent[Nom]._y + MoveY; PosX = _parent[Nom]._x; PosY = _parent[Nom]._y; } }; ObjShred.prototype.CheckActif = function () { with (this) { if (((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) and (Etat eq "Sleep")) { if (Life > 0) { Etat = "Idle"; CanBeHit = true; Dir = BaseDir; } else { Etat = "Dead"; } } } }; ObjShred.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { if (Pers.PosX < PosX) { if (Perso != "Waffle") { Dir = "G"; } } else if (Perso != "Waffle") { Dir = "D"; } Etat = "Sleep"; } } }; ObjShred.prototype.KillShred = function () { with (this) { Etat = "Dead"; } }; ObjShred.prototype.ChangeDir = function (NewDir) { with (this) { DirOld = Dir; Dir = NewDir; _parent[Nom].gotoAndStop(Perso + NewDir); _parent[Nom].Obj.gotoAndStop(Etat); } }; ObjShred.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].Obj.gotoAndStop(NewAction); } }; ObjShred.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent[Nom].Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent[Nom].Obj.Etat.play(); } SetTruePos(); this[Etat](); } } }; CreerDestructObject = function (Nom, PosX, PosY, Kind, nbr) { if (this[Nom] == null) { this[Nom] = new ObjDestruct(Nom, PosX, PosY, Kind, nbr); G_TabDestruct.push(Nom); } }; ObjDestruct.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; } } else { if (InPause == true) { InPause = false; } this[Etat](); } } }; ObjDestruct.prototype.Idle = function () { with (this) { CheckSleep(); CheckHit(); } }; ObjDestruct.prototype.Normal = function () { with (this) { CheckSleep(); CheckWalkOn(); } }; ObjDestruct.prototype.CheckHit = function () { with (this) { if (Pers.CanHit == true) { if (Kind != "tirroir") { if ((Pers.HitPointY >= (PosY - GetHitUp)) and (Pers.HitPointY <= (PosY + GetHitDw))) { if ((Pers.HitPointX <= (PosX + GetHitD)) and (Pers.HitPointX >= (PosX - GetHitG))) { _global.Sounds.PlayASound("Pot", 1, 80); Pers.CanHit = false; Life--; Etat = "animplaying"; trace((("PosX = " + PosX) + " / ") + PosY); i = 1; while (i <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); i++; } if (BombInside) { _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 20); } } } } else if ((Pers.HitPointY >= (PosY - GetHitUpTirroir)) and (Pers.HitPointY <= (PosY + GetHitDwTirroir))) { if ((Pers.HitPointX <= ((PosX + GetHitDTirroir) + (_parent[Nom]._width / 2))) and (Pers.HitPointX >= ((PosX - GetHitGTirroir) - (_parent[Nom]._width / 2)))) { _global.Sounds.PlayASound("Tirroir", 1, 100); Pers.CanHit = false; Life--; Etat = "animplaying"; trace((("PosX = " + PosX) + " / ") + PosY); i = 1; while (i <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); i++; } if (BombInside) { _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 20); } } } } } }; ObjDestruct.prototype.CheckWalkOn = function () { with (this) { if ((Pers.PosY >= (PosY - GetStepY)) and (Pers.PosY <= (PosY + GetStepY))) { if ((Pers.PosX <= (PosX + GetStepX)) and (Pers.PosX >= (PosX - GetStepX))) { _global.Sounds.PlayASound("Coussin", 1, 80); Etat = "Jump"; Pers.SpdYNow = Pers.SpdStartJump; if (Stepped < nbr) { Stepped++; if (Stepped <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } if (BombInside) { BombInside = false; _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 10); } } } } } }; ObjDestruct.prototype.Jump = function () { with (this) { if (_parent[Nom]._currentframe == FrJump) { Etat = "Normal"; } } }; ObjDestruct.prototype.animplaying = function () { with (this) { if (_parent[Nom]._currentframe == FrDead) { Etat = "Dead"; } } }; ObjDestruct.prototype.Dead = function () { }; ObjDestruct.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].gotoAndStop(NewAction); } }; ObjDestruct.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjDestruct.prototype.CheckActif = function () { with (this) { if (((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) and (Etat eq "Sleep")) { if (Kind == "Coussin") { Etat = "Normal"; } else if (Life > 0) { Etat = "Idle"; } else { Etat = "Dead"; } } } }; ObjDestruct.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { Etat = "Sleep"; } } }; CreerLifeBonus = function (Nom, PosX, PosY, Value, imove) { if (Nom == "LifeBonus") { var _local3 = 1; while (this[Nom + _local3] != null) { _local3++; } Nom = Nom + _local3; _parent.attachMovie("minXBonus", Nom, _parent.getNextHighestDepth()); } if (imove == undefined) { imove = true; } if (this[Nom] == null) { this[Nom] = new ObjLifeBonus(Nom, PosX, PosY, Value, imove); G_TabLifeBonus.push(Nom); } }; ObjLifeBonus.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjLifeBonus.prototype.Idle = function () { with (this) { CheckGet(); CheckSleep(); } }; ObjLifeBonus.prototype.IdleClose = function () { with (this) { CheckSleep(); } }; ObjLifeBonus.prototype.Move = function () { with (this) { _parent[Nom]._x = PosX + SpdX; _parent[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; if (Stopped == false) { SpdY++; if (SpdY == 0) { detectNow = true; } } else { Etat = "Idle"; } SetTruePos(); if (detectNow == true) { CheckGet(); CheckGround(); } CheckWall(); CheckOut(); } }; ObjLifeBonus.prototype.Get = function () { with (this) { if (Value == 50) { FrGet = FrGetScore; } else { FrGet = FrGetElse; } if (_parent[Nom].Etat._currentframe >= FrGet) { ChangeEtat("Kill"); Pers.GetLifeBonus(Value); } } }; ObjLifeBonus.prototype.Kill = function () { with (this) { for (LifeBonusI in G_TabLifeBonus) { var LifeBonusActif = G_TabLifeBonus[LifeBonusI]; _parent[Nom].removeMovieClip(); if (LifeBonusActif == Nom) { delete G_TabLifeBonus[LifeBonusI]; } } delete this; } }; ObjLifeBonus.prototype.CheckGet = function () { with (this) { if ((((Pers.PosY >= (PosY - LgHitUp)) and (Pers.PosY <= (PosY + LgHitDw))) and (Pers.PosX >= (PosX - LgHitX))) and (Pers.PosX <= (PosX + LgHitX))) { _global.Sounds.PlayASound("Objet", 1, 100); Etat = "Get"; } } }; ObjLifeBonus.prototype.CheckActif = function () { with (this) { if ((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) { if (imove == false) { if ((Value != 500) || (_global.Game.G_TabShred.length == 0)) { Etat = "Idle"; } else { Etat = "IdleClose"; if (_global.ShowLeft._currentframe == 1) { _global.ShowLeft.gotoAndPlay("opening"); } } } else { Etat = "Move"; } } } }; ObjLifeBonus.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { Etat = "Sleep"; } } }; ObjLifeBonus.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].gotoAndStop(NewAction); } }; ObjLifeBonus.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent[Nom].Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent[Nom].Etat.play(); } this[Etat](); } } }; ObjLifeBonus.prototype.SetTruePos = function () { with (this) { if (SpdX > 0) { TrueX = (PosX + _parent._x) + Xdetect; } else { TrueX = (PosX + _parent._x) - Xdetect; } TrueY = PosY + _parent._y; } }; ObjLifeBonus.prototype.CheckWall = function () { with (this) { if (_parent.Collider.Wall.hitTest(TrueX, TrueY, true) and (!_parent.Collider.Wall.Pass.hitTest(TrueX, TrueY, true))) { _global.Sounds.PlayASound("Bump", 1, 60); SpdX = SpdX * -1; if (Math.abs(SpdX) < 5) { if (SpdX < 5) { SpdX = 5; } else if (Spd > -5) { SpdX = -5; } } } } }; ObjLifeBonus.prototype.CheckGround = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true)) { if (SpdY > 2) { if (SpdY >= 5) { _global.Sounds.PlayASound("Bump", 1, 60); } bondi = true; SpdY = Math.round(SpdY * -0.5); } else if ((SpdY < 2) && (SpdY > 0)) { if (bondi == true) { Stopped = true; SpdY = 0; } else { SpdY = random(3) - 15; } } } } }; this.G_Pause = true; this.G_PauseOut = false; this.G_PRealese = true; this.G_Resume = false; this.G_TabShred = new Array(); this.G_TabBox = new Array(); this.G_TabGun = new Array(); this.G_TabSwitch = new Array(); this.G_TabDoor = new Array(); this.G_TabHeroChanger = new Array(); this.G_TabElevator = new Array(); this.G_TabPersBall = new Array(); this.G_TabMinionBall = new Array(); this.G_TabLifeBonus = new Array(); this.G_TabCam = new Array(); this.G_TabLevier = new Array(); this.G_TabTV = new Array(); this.G_TabDestruct = new Array(); this.G_NextPersBall = 1; this.G_NextPersBallDepth = 10; this.G_NextMinionBall = 1; this.G_NextMinionBallDepth = 20; } onClipEvent (enterFrame) { ShredI = 0; for (ShredI in G_TabShred) { var ShredActif = G_TabShred[ShredI]; if (this[ShredActif].Dir != this[ShredActif].DirOld) { this[ShredActif].ChangeDir(this[ShredActif].Dir); } if (this[ShredActif].Etat != this[ShredActif].EtatOld) { this[ShredActif].ChangeEtat(this[ShredActif].Etat); } this[ShredActif].Actions(); } MinionBallI = 0; for (MinionBallI in G_TabMinionBall) { var MinionBallActif = G_TabMinionBall[MinionBallI]; if (this[MinionBallActif].Etat != this[MinionBallActif].EtatOld) { this[MinionBallActif].ChangeEtat(this[MinionBallActif].Etat); } this[MinionBallActif].Actions(); } LifeBonusI = 0; for (LifeBonusI in G_TabLifeBonus) { var LifeBonusActif = G_TabLifeBonus[LifeBonusI]; if (this[LifeBonusActif].Etat != this[LifeBonusActif].EtatOld) { this[LifeBonusActif].ChangeEtat(this[LifeBonusActif].Etat); } this[LifeBonusActif].Actions(); } ObjDstr = 0; for (ObjDstr in G_TabDestruct) { var DstrActif = G_TabDestruct[ObjDstr]; if (this[DstrActif].Etat != this[DstrActif].EtatOld) { this[DstrActif].ChangeEtat(this[DstrActif].Etat); } this[DstrActif].Actions(); } if (Pers.Dir != Pers.DirOld) { Pers.ChangeDir(Pers.Dir); } if (Pers.Etat != Pers.EtatOld) { Pers.ChangeEtat(Pers.Etat); } this.Pers.Actions(); this.Bg.Actions(); if (G_Pause == false) { G_CurrentFocus = Selection.getFocus(); if (G_CurrentFocus == null) { G_PauseOut = true; } } G_CheckPause(); }
Symbol 782 MovieClip Frame 2
stop();
Instance of Symbol 746 MovieClip in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerBg(_parent._x, _parent._y); BG = _parent.Control.Bg; BG.MaxDw1 = -280; BG.MaxUp1 = -380; BG.MaxG1 = -11400; BG.MaxD1 = -220; BG.MaxDw2 = 13000; BG.MaxUp2 = -125000; BG.MaxG2 = -162000; BG.MaxD2 = 112500 /* 0x01B774 */; BG.CheckScreen = function () { with (this) { if (CurrentScreen == 1) { if (_global.Game.Pers.PosX > 1300000) { MaxDw = MaxDw2; MaxUp = MaxUp2; MaxG = MaxG2; MaxD = MaxD2; CurrentScreen = 2; } else { MaxDw = MaxDw1; MaxUp = MaxUp1; MaxG = MaxG1; MaxD = MaxD1; } } else if (CurrentScreen == 2) { if (((_global.Game.Pers.PosX < 1250) && (_global.Game.Pers.PosY < 1050)) && (_global.Game.Pers.PosY > 900)) { MaxDw = MaxDw1; MaxUp = MaxUp1; MaxG = MaxG1; MaxD = MaxD1; CurrentScreen = 1; } else { MaxDw = MaxDw2; MaxUp = MaxUp2; MaxG = MaxG2; MaxD = MaxD2; } } } }; }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus19" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus20" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus10" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus11" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus12" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus13" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus14" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus15" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus16" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus17" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus18" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus21" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 478 MovieClip "Minion13" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 754 MovieClip "Collider" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { this._visible = false; }
Instance of Symbol 478 MovieClip "Minion17" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "D"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct2" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct3" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct22" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct23" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct15" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 768 MovieClip "LifeBonus22" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 500, false); }
Instance of Symbol 560 MovieClip "destruct33" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct24" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct25" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct20" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct21" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 537 MovieClip "destruct19" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct16" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct17" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct18" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus1" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus2" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus3" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus5" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus6" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus4" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 549 MovieClip "LifeBonus112" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 0, false); }
Instance of Symbol 775 MovieClip "destruct1" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion11" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "D"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct4" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct5" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct6" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct7" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 775 MovieClip "destruct8" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct9" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct10" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct11" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct12" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir", 2); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct13" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct14" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct22" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct24" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct23" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot", 3); this.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus7" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus8" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus9" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 50, false); }
Instance of Symbol 549 MovieClip "LifeBonus111" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 0, false); }
Instance of Symbol 478 MovieClip "Minion21" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion14" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion15" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion16" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion18" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion20" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion19" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion22" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion12" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 674 MovieClip "Pers" in Symbol 782 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerPers(this._x, this._y, "Waffle"); this.gotoAndStop("D"); Etat = "Die"; }
Symbol 808 MovieClip Frame 11
stop();
Symbol 809 MovieClip Frame 1
stop();
Symbol 818 MovieClip Frame 1
stop();
Symbol 818 MovieClip Frame 2
play();
Symbol 818 MovieClip Frame 21
stop();
Symbol 818 MovieClip Frame 22
stop();
Symbol 827 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 2
play();
Symbol 827 MovieClip Frame 22
stop();
Symbol 827 MovieClip Frame 23
stop();
Symbol 832 MovieClip Frame 1
stop();
Symbol 832 MovieClip Frame 2
play();
Symbol 832 MovieClip Frame 22
stop();
Symbol 832 MovieClip Frame 23
stop();
Instance of Symbol 322 MovieClip "Control" in Symbol 836 MovieClip Frame 1
onClipEvent (load) { function ObjPers(PosX, PosY, Perso) { this.Nom = "Pers"; this.Etat = "Idle"; this.EtatOld = "Idle"; this.Dir = "D"; this.DirOld = "D"; this.Point = _global.C.TotalScore; this.Life = _global.C.Life; this.SpdXMinion = 3; this.SpdXNormal = 9; this.SpdXBase = 0; this.SpdXNow = 0; this.MoveX = 0; this.MoveY = 0; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.FrontX = 0; this.FrontY = 0; this.BottomFrontX = 0; this.BottomBackX = 0; this.BackX = 0; this.HitGrdPoint = 0; this.WallHitBloc = 2; this.SpdYNow = 0; this.SpdYUp = 1; this.SpdYMax = 20; this.SpdYFall = 0.1; this.SpdXHitBase = 25; this.SpdYHitBase = -6; this.SpdStartJump = -16; this.SolOut = 2; this.SolHitMin = 5; this.MaxSol = 3; this.HitGrd = false; this.SolForJump = 6; this.DistYFall = 0; this.DistYLand = 30; this.CanHit = false; this.CanBeHit = true; this.FrWalkNow = 1; this.InPause = false; this.FrJump = 1; this.FrFall = 14; this.FrLand = 10; this.FrGetHit = 10; this.FrGetHitCount = 0; this.FrBoomTir = 9; this.FrFinBoom = 6; this.FrDead = 140; this.FrDeadCount = 0; this.Perso = Perso; this.updatePerso(); this.LgGetShootX = 20; this.LgGetShootUp = 72; this.LgGetShootUpBas = 44; this.FrInvincibleCount = 0; this.FrInvincible = 60; this.Invincible = false; this.frKick1 = 2; this.frFinKick1 = 7; this.frKick2 = 2; this.frFinKick2 = 7; this.frFinKick3 = 7; this.HitPointX = 0; this.HitPointY = 0; this.KickInAir = 3; this.frEasterEgg = 337; } function ModifSpeed(initSpeed, way, inAir, Dir) { if (way == "acc") { if (Dir == "D") { if (inAir) { initSpeed = initSpeed + 0.4; } else { initSpeed = initSpeed + 1.2; } if (initSpeed > 9) { initSpeed = 9; } } else { if (inAir) { initSpeed = initSpeed - 0.4; } else { initSpeed = initSpeed - 1.2; } if (initSpeed < -9) { initSpeed = -9; } } } else if (way == "dec") { if (initSpeed < 0) { if (inAir) { initSpeed = initSpeed + 0.4; } else { initSpeed = initSpeed + 1.2; } if (initSpeed > 0) { initSpeed = 0; } } else { if (inAir) { initSpeed = initSpeed - 0.4; } else { initSpeed = initSpeed - 1.2; } if (initSpeed < 0) { initSpeed = 0; } } } return(initSpeed); } function ObjPersBall(Nom, PosX, PosY, Dir, HitBullet, Speed, Tab, HitSound) { this.Nom = Nom; this.HitSound = HitSound; this.Tab = Tab; this.HurtMyself = false; this.Dangerous = true; this.Etat = "Move"; this.EtatOld = "Idle"; this.Dir = Dir; this.OldDir = "D"; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.LgOutG = 500; this.LgOutD = 750; this.LgOutUp = 1000; this.LgOutDw = 380; this.passTime = 0; this.Stopped = false; this.CanBeKill = false; if (Dir eq "D") { this.SpdX = ForceX; } else { this.SpdX = -1 * ForceX; } this.Bouncing = Bouncing; if (Bouncing == "vertic") { this.Dangerous = false; } this.detectNow = false; this.SpdY = ForceY; this.InPause = false; this.FrHit = HitBullet; this.FrHide = 1; } function ObjBg(PosX, PosY) { this.Nom = "Bg"; this.PosX = PosX; this.PosY = PosY; this.MoveX = 0; this.MoveY = 0; this.MaxDw = 0; this.MaxUp = 0; this.MaxG = 0; this.MaxD = 0; this.InvPosX = PosX * -1; this.InvPosY = PosY * -1; this.DeadX = PosX; this.DeadY = PosY; this.CurrentScreen = 1; this.OldScreen = 0; this.MaxYDie = 5000; this.CenterX = 250; this.CenterY = 185; this.SpdXD = 15; this.SpdXG = -15; this.SpdYDw = 20; this.SpdYUp = -20; this.InPause = false; } function ObjShred(Nom, PosX, PosY, Dir, Perso) { this.Nom = Nom; this.PosX = PosX; this.PosY = PosY; this.TrueX = PosX; this.TrueY = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.Dir = Dir; this.OldDir = Dir; this.BaseDir = Dir; this.LgOutG = 200; this.LgOutD = 800; this.LgOutUp = 10; this.LgOutDw = 475; this.GetHitG = 50; this.GetHitD = 50; this.GetHitUp = 115; this.GetHitDw = 0; this.GetFireG = 26; this.GetFireD = 26; this.GetFireUp = 100; this.GetFireDw = 0; this.LgAttackX = 165; this.LgAttackUp = 60; this.LgAttackDw = 440; this.LgCheckPersX = 200; this.LgCheckFightX = 180; this.LgHitX = 60; this.LgHitUp = 35; this.LgHitDw = 60; this.LgFront = 35; this.LgHitBox = 42; this.LgCharge = 65; this.LgBack = 35; this.AssPointX = 12; this.AssPointY = 35; this.FrGetHit = 15; this.FrGetHitCount = 0; this.FrSeeingMaxTime = 35; this.FrSeeingCount = 35; this.FrIdleCheckMin = 36; this.FrIdleCheckMax = 60; this.FrIdleCheckLast = 35; this.FrSurpris = 21; this.FrLand = 8; this.FrDie = 25; this.FrIdle = 131; this.FrReady = 20; this.FrPopOut = 29; this.FrAttack1 = 15; this.FrAttack2 = 15; this.FrAttack3 = 23; this.FrAttack4 = 8; this.FrFinAttack1 = 33; this.FrFinAttack2 = 34; this.FrFinAttack3 = 57; this.FrFinAttack4 = 36; this.FrMoonWalk = 30; this.BombPlace = false; this.frGetGlue = 21; this.frIdleGlue = 131; this.frDeGlue = 21; this.frGetFart = 57; this.frIdleFart = 131; this.frDeFart = 59; this.FartCycle = 0; this.FartCycleMax = 4; this.FrShoot = 12; this.FrShootFin = 55; this.ShootMax = 1; this.ShootCount = 0; this.FrStartPush = 4; this.FrFinPush = 4; this.PushedBox = 0; this.FrSeparateWallCount = 0; this.FrSeparateWallCheck = 15; this.FrBetweenAttack = this.FrMoonWalk; this.waitTimeMissile = 0; this.Life = 3; this.SpdXBase = 3; this.SpdXWalkFight = 6; this.SpdXCharge = 10; this.SpdXGetHit = 12; this.SpdYGetHit = -15; this.SpdXStepBack = 15; this.SpdYStepBack = -10; this.WallSeparate = false; this.SpdXFall = 0; this.MoveX = 0; this.MoveY = 0; this.WallHitBloc = 2; this.SolOut = 2; this.SolHitMin = 3; this.MaxSol = 2; this.HitGrd = false; this.SpdYMax = 20; this.SpdYNow = 0; this.SpdYUp = 2; this.CanBeHit = true; this.InPause = false; this.Perso = Perso; this.TooNearWall = false; this.DistMinWall = 100; } function ObjDestruct(Nom, PosX, PosY, Kind, nbr) { this.Nom = Nom; if (nbr == undefined) { nbr = random(3) + 1; } if (random(10) < 5) { this.BombInside = true; } else { this.BombInside = false; } this.nbr = nbr; this.PosX = PosX; this.PosY = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.LgOutG = 200; this.LgOutD = 800; this.LgOutUp = 10; this.LgOutDw = 475; this.GetHitG = 50; this.GetHitD = 50; this.GetHitUp = 50; this.GetHitDw = 50; this.GetHitGTirroir = 40; this.GetHitDTirroir = 40; this.GetHitUpTirroir = 50; this.GetHitDwTirroir = 100; this.GetStepY = 12; this.GetStepX = 60; this.Stepped = 0; this.FrDead = 21; this.FrJump = 12; this.Life = 1; this.Kind = Kind; } function ObjLifeBonus(Nom, PosX, PosY, Value, imove) { this.Nom = Nom; this.imove = imove; this.passTime = 0; this.detectNow = false; this.Stopped = false; this.bondi = false; ForceX = random(4) + 4; ForceY = random(3) - 19; if (random(100) < 50) { this.SpdX = ForceX; } else { this.SpdX = -1 * ForceX; } this.SpdY = ForceY; this.PosX = PosX; this.PosY = PosY; _parent[Nom]._x = PosX; _parent[Nom]._y = PosY; this.Etat = "Sleep"; this.EtatOld = "Idle"; this.LgOutG = 75; this.LgOutD = 600; this.LgOutUp = 300; this.LgOutDw = 800; this.LgHitX = 26; this.LgHitUp = 45; this.LgHitDw = 70; this.InPause = false; this.FrGetElse = 10; this.FrGetScore = 35; this.Value = Value; this.Xdetect = 15; } _global.Game = this; this.KeyListener = new Object(); this.KeyListener.Up = false; this.KeyListener.UpRelease = true; this.KeyListener.Dw = false; this.KeyListener.L = false; this.KeyListener.R = false; this.KeyListener.S = false; this.KeyListener.Z = false; this.KeyListener.Sp = false; this.KeyListener.P = false; this.KeyListener.Sprelease = true; this.KeyListener.Srelease = true; this.KeyListener.onKeyUp = function () { switch (Key.getCode()) { case 38 : this.UpRelease = true; this.Up = false; break; case 40 : this.Dw = false; break; case 37 : this.L = false; break; case 39 : this.R = false; break; case 32 : this.Sprelease = true; this.Sp = false; break; case 83 : this.Srelease = true; this.S = false; } }; this.KeyListener.onKeyDown = function () { switch (Key.getCode()) { case 38 : this.Up = true; break; case 40 : this.Dw = true; break; case 37 : this.L = true; break; case 39 : this.R = true; break; case 32 : if (this.Sprelease) { this.Sp = true; this.Sprelease = false; } break; case 83 : if (!this.Srelease) { break; } this.S = true; this.Srelease = false; } }; Key.addListener(this.KeyListener); Selection.setFocus(_parent._parent.FocusBtn); G_CurrentFocus = Selection.getFocus(); G_CheckPause = function () { if ((Pers.Etat != "Die") and (Pers.Etat != "Dead")) { if (G_PauseOut && (!G_Pause)) { G_Pause = true; _parent.ControlBall.stop(); _parent._parent.Popup.gotoAndStop("Pause"); if (_global.C.SoundActive) { _global.SoundCTRL.muteAllSounds(); } _global.C.DesactivateHud(); } else if ((G_Resume == true) and (G_Pause == true)) { G_PauseOut = false; Selection.setFocus(_parent._parent.FocusBtn); G_CurrentFocus = Selection.getFocus(); KeyListener.Up = false; KeyListener.UpRelease = true; KeyListener.Dw = false; KeyListener.L = false; KeyListener.R = false; KeyListener.X = false; KeyListener.Z = false; KeyListener.Sp = false; Music.VolDest = 70; Music.Etat = "FadeIn"; G_Pause = false; G_Resume = false; _parent._parent.Popup.gotoAndStop(1); if (_global.C.SoundActive) { _global.SoundCTRL.unmuteAllSounds(); } _global.C.ActivateHud(); if (_parent.ControlBall._currentframe != 1) { _parent.ControlBall.play(); } } } }; CreerPers = function (PosX, PosY, Perso) { this.Pers = new ObjPers(PosX, PosY, Perso); _parent._parent.Hud.LifeBar.gotoAndStop(Pers.Life + 1); _parent._parent.Hud.LifeBar.gotoAndStop(Pers.Life + 1); _parent._parent.Hud.BonusPoints.text = Pers.Point; _parent._parent.Hud.BonusPointsShadow.text = Pers.Point; }; ObjPers.prototype.Idle = function () { with (this) { KeepDeadPos = true; if (Life > 0) { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckPenche(); CheckSol(); CheckFall(); MovePers(); CheckJump(); this["CheckAction" + Perso](); CheckGetFire(); CheckDie(); checkEaster(); } else { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckSol(); CheckFall(); MovePers(); CheckDie(); } } }; ObjPers.prototype.EasterEgg = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frEasterEgg) { Etat = "Idle"; } } }; ObjPers.prototype.GetLifeBonus = function (AddPoints) { with (this) { newTotalPoint = Point + AddPoints; Point = newTotalPoint; _parent._parent.Hud.BonusPoints.text = Point; _parent._parent.Hud.BonusPointsShadow.text = Point; if (AddPoints == 0) { trace("Life = " + Life); Life = Life + 3; if (Life > 10) { Life = 10; } trace("Life = " + Life); _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); } else if (AddPoints == 500) { _global.C.endLevel(Point, Life); } else { _global.C.gear++; } } }; ObjPers.prototype.Walk = function () { with (this) { SetSpdX(); SetMoveX(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckAttack(); if (Perso == "TuesdayDisguised") { CheckActionTuesdayDisguised(); } CheckPenche(); CheckJump(); CheckSol(); CheckFall(); MovePers(); CheckGetFire(); CheckDie(); } }; ObjPers.prototype.Jump = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); CheckCeil(); CheckGetFire(); this["CheckAction" + Perso](); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= FrJump) { Etat = "FinJump"; } } }; ObjPers.prototype.FinJump = function () { with (this) { SetSpdXJump(); SetMoveX(); if (UseSuit == true) { CheckTir(); } CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); CheckCeil(); this["CheckAction" + Perso](); MovePers(); if (HitGrd == true) { Etat = "Land"; } else if (SpdYNow >= 0) { Etat = "Fall"; DistYFall = 0; } } }; ObjPers.prototype.Fall = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); if (UseSuit == true) { CheckTir(); } this["CheckAction" + Perso](); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if ((_parent.Pers.Obj.Etat._currentframe >= FrFall) or (HitGrd == true)) { SpdXNow = 0; MoveX = 0; if (HitGrd == true) { if (DistYFall >= DistYLand) { Etat = "Land"; } else { Etat = "Idle"; } } else { Etat = "FinFall"; } } CheckHole(); } }; ObjPers.prototype.FinFall = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(FrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (HitGrd == true) { if (DistYFall >= DistYLand) { Etat = "Land"; } else { Etat = "Idle"; } } CheckHole(); } }; ObjPers.prototype.Land = function () { with (this) { SetSpdX(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckHitGrd(); CheckSol(); CheckFall(); MovePers(); CheckJump(); this["CheckAction" + Perso](); CheckDie(); if (_parent.Pers.Obj.Etat._currentframe >= FrLand) { if (Life <= 0) { Etat = "Die"; } else { Etat = "Idle"; } } } }; ObjPers.prototype.GetHit1 = function () { with (this) { if (FrGetHitCount >= FrGetHit) { CheckHitGrd(); Etat = "Fall"; FrGetHitCount = 0; InvincibleInit(); } else { FrGetHitCount++; } GetHitGeneral(); } }; ObjPers.prototype.GetHit2 = function () { with (this) { GetHitGeneral(); if (FrGetHitCount >= FrGetHit) { CheckHitGrd(); Etat = "Fall"; FrGetHitCount = 0; InvincibleInit(); } else { FrGetHitCount++; } } }; ObjPers.prototype.GetHitLand = function () { with (this) { GetHitGeneral(); if (FrGetHitCount == FrGetHit) { _parent.Pers.Obj.Etat.play(); FrGetHitCount++; } else if (FrGetHitCount > FrGetHit) { if (_parent.Pers.Obj.Etat._currentframe >= FrGetHitLand) { Etat = "PushVide"; FrGetHitCount = 0; InvincibleInit(); } } else { FrGetHitCount++; } } }; ObjPers.prototype.GetHitGeneral = function () { with (this) { SetSpdXHit(); CheckWall(BackX, TrueY); CheckHitGrd(); CheckSol(); MovePers(); CheckDie(); } }; ObjPers.prototype.GetHit = function () { with (this) { var RandomHit = 0; Life = Life - 1; _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); CanHit = false; SpdXNow = SpdXHitBase; SpdYNow = SpdYHitBase; RandomHit = Math.ceil(Math.random() * 2); Etat = "GetHit" + RandomHit; } }; ObjPers.prototype.GetFire = function () { with (this) { var RandomHit = 0; Life = Life - 1; _parent._parent.Hud.LifeBar.gotoAndStop(Life + 1); CanHit = false; SpdXNow = SpdXHitBase; SpdYNow = 0; RandomHit = Math.ceil(Math.random() * 2); Etat = "GetHit" + RandomHit; } }; ObjPers.prototype.CheckGetFire = function () { with (this) { var NbMinionBall = G_TabMinionBall.length; if (NbMinionBall > 0) { var i = 0; while (i < NbMinionBall) { var BallX = _parent.Control[G_TabMinionBall[i]].PosX; var BallY = _parent.Control[G_TabMinionBall[i]].PosY; if (((((BallX >= (PosX - GetFireG)) and (BallX <= (PosX + GetFireD))) and (BallY >= (PosY - GetFireUp))) and (BallY <= (PosY + GetFireDw))) && (!Invincible)) { if (_parent.Control[G_TabMinionBall[i]].Dangerous == true) { Etat = "GetFire"; if (_parent.Control[G_TabMinionBall[i]].Dir == "D") { Dir = "G"; } else if (_parent.Control[G_TabMinionBall[i]].Dir == "G") { Dir = "D"; } _parent.Control[G_TabMinionBall[i]].Etat = "Hit"; } } i++; } } } }; ObjPers.prototype.InvincibleInit = function () { with (this) { Invincible = true; } }; ObjPers.prototype.InvincibleEnd = function () { with (this) { Invincible = false; FrInvincibleCount = 0; _parent.Pers._visible = true; } }; ObjPers.prototype.InvincibleCheck = function () { with (this) { if (Invincible) { if (FrInvincibleCount >= FrInvincible) { InvincibleEnd(); CanBeHit = true; } else { FrInvincibleCount++; if ((FrInvincibleCount % 3) == 0) { _parent.Pers._visible = !_parent.Pers._visible; } } } } }; ObjPers.prototype.Die = function () { with (this) { CanBeHit = false; FrDeadCount++; if (FrDeadCount >= FrDead) { FrDeadCount = 0; _global.C.endGame("lose"); } } }; ObjPers.prototype.SetSpdXHit = function () { with (this) { MoveX = SpdXNow; if (SpdXNow > 0) { SpdXNow = SpdXNow * 0.7; } if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjPers.prototype.SetSpdX = function () { with (this) { if (KeyListener.R == true) { Dir = "D"; if (_parent.Collider.Wall.hitTest(FrontX + WallHitBloc, TrueY, true)) { Etat = "Idle"; SpdXBase = 0; SpdXNow = 0; } else { Etat = "Walk"; SpdXBase = ModifSpeed(SpdXBase, "acc", false, Dir); SpdXNow = SpdXBase; } } else if (KeyListener.L == true) { Dir = "G"; if (_parent.Collider.Wall.hitTest(FrontX - WallHitBloc, TrueY, true)) { Etat = "Idle"; SpdXBase = 0; SpdXNow = 0; } else { Etat = "Walk"; SpdXBase = ModifSpeed(SpdXBase, "acc", false, Dir); SpdXNow = SpdXBase; } } else { if (Etat != "Land") { Etat = "Idle"; } SpdXBase = ModifSpeed(SpdXBase, "dec", false, Dir); SpdXNow = SpdXBase; } if (Dir ne DirOld) { SpdXBase = ModifSpeed(SpdXBase, "dec", false, Dir); SpdXNow = SpdXBase; } } }; ObjPers.prototype.SetSpdXJump = function () { with (this) { if (KeyListener.R == true) { Dir = "D"; if (_parent.Collider.Wall.hitTest(TrueX + WallHitBloc, TrueY, true)) { SpdXBase = 0; SpdXNow = 0; } else { SpdXBase = ModifSpeed(SpdXBase, "acc", true, Dir); SpdXNow = SpdXBase; } } else if (KeyListener.L == true) { Dir = "G"; if (_parent.Collider.Wall.hitTest(TrueX - WallHitBloc, TrueY, true)) { SpdXBase = 0; SpdXNow = 0; } else { SpdXBase = ModifSpeed(SpdXBase, "acc", true, Dir); SpdXNow = SpdXBase; } } else { SpdXBase = ModifSpeed(SpdXBase, "dec", true, Dir); SpdXNow = SpdXBase; } if (Dir ne DirOld) { SpdXBase = ModifSpeed(SpdXBase, "dec", true, Dir); SpdXNow = SpdXBase; } } }; ObjPers.prototype.SetMoveX = function () { with (this) { MoveX = SpdXNow; } }; ObjPers.prototype.checkEaster = function () { with (this) { if (KeyListener.S == true) { Etat = "EasterEgg"; } } }; ObjPers.prototype.CheckWall = function (CoordX, CoordY) { with (this) { if (MoveX != 0) { if (MoveX > 0) { var WallStop = WallHitBloc; } else { var WallStop = (-1 * WallHitBloc); } var WallHit1 = (MoveX / 3); var WallHit2 = (WallHit1 * 2); if (_parent.Collider.Wall.hitTest(CoordX + WallStop, CoordY, true)) { SpdXBase = 0; MoveX = 0; } else if (_parent.Collider.Wall.hitTest(CoordX + WallHit1, CoordY, true)) { SpdXBase = 0; MoveX = WallHitBloc; } else if (_parent.Collider.Wall.hitTest(CoordX + WallHit2, CoordY, true)) { SpdXBase = 0; MoveX = WallHit1; } else if (_parent.Collider.Wall.hitTest(CoordX + MoveX, CoordY, true)) { SpdXBase = 0; MoveX = WallHit2; } } } }; ObjPers.prototype.CheckCeil = function () { with (this) { if (MoveY != 0) { if (_parent.Collider.Ceil.hitTest(TopX, TopY + MoveY, true)) { MoveY = 0; SpdYNow = 0; Etat = "Fall"; DistYFall = 0; } } } }; ObjPers.prototype.Kick1 = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frKick1) { CanHit = true; HitPointX = _parent.Pers.Obj.HitPoint._x; if (Dir == "G") { HitPointX = PosX - HitPointX; } else if (Dir == "D") { HitPointX = PosX + HitPointX; } HitPointY = PosY + _parent.Pers.Obj.HitPoint._y; Etat = "FinKick1"; CheckGetFire(); } } }; ObjPers.prototype.FinKick1 = function () { with (this) { if (_parent.Pers.Obj.Etat._currentframe >= frFinKick1) { CanHit = false; if (!HitGrd) { Etat = "Fall"; } else { Etat = "Idle"; } CheckGetFire(); if (KeyListener.Sp) { ComboKick++; } } } }; ObjPers.prototype.Kick2 = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= frKick2) { CanHit = true; HitPointX = _parent.Pers.Obj.HitPoint._x; if (Dir == "G") { HitPointX = PosX - HitPointX; } else if (Dir == "D") { HitPointX = PosX + HitPointX; } HitPointY = PosY + _parent.Pers.Obj.HitPoint._y; Etat = "FinKick2"; CheckGetFire(); } } }; ObjPers.prototype.FinKick2 = function () { with (this) { SetSpdXJump(); SetMoveX(); CheckGetFire(); CheckWall(FrontX, FrontY); CheckWall(BottomFrontX, TrueY); CheckWall(FrontX, TopY); CheckHitGrd(); CheckSol(); MovePers(); if (_parent.Pers.Obj.Etat._currentframe >= frFinKick2) { CanHit = false; if (!HitGrd) { Etat = "Fall"; } else { Etat = "Idle"; } CheckGetFire(); if (KeyListener.Sp) { ComboKick++; } } } }; ObjPers.prototype.CheckJump = function () { with (this) { if (((KeyListener.Up == true) and (HitGrd == true)) and (KeyListener.UpRelease == true)) { _global.Sounds.PlayASound("Jump", 1, 60); KeyListener.UpRelease = false; KeepDeadPos = false; Etat = "Jump"; SpdYNow = SpdStartJump; } } }; ObjPers.prototype.CheckActionWaffle = function () { with (this) { if (KeyListener.Sp == true) { KeyListener.Sp = false; if (KickTime < KickInAir) { if (((Etat == "Jump") || (Etat == "FinJump")) || (Etat == "Fall")) { KickTime++; ComboKick = 0; RandomKick = 2; } else { RandomKick = 1; } _global.Sounds.PlayASound("Kick", 1, 50); Etat = "Kick" + RandomKick; } } else if (((((Etat != "Jump") && (Etat != "FinJump")) && (Etat != "Fall")) && (Etat != "Kick2")) && (Etat != "FinKick1")) { KickTime = 0; ComboKick = 0; } } }; ObjPers.prototype.ResetMove = function () { with (this) { MoveX = 0; MoveY = 0; SpdXNow = 0; SpdYNow = 0; } }; ObjPers.prototype.CheckFall = function () { with (this) { if (SpdYNow >= SpdYFall) { KeepDeadPos = false; Etat = "Fall"; DistYFall = 0; } } }; ObjPers.prototype.CheckDie = function () { with (this) { if ((Life <= 0) and (HitGrd == true)) { CanBeHit = false; InvincibleEnd(); _global.C.DesactivateHud(); Etat = "Die"; } } }; ObjPers.prototype.MovePers = function () { with (this) { if ((Pers.TrueX + MoveX) < 0) { MoveX = TrueX * -1; } else if ((Pers.TrueX + MoveX) > 500) { MoveX = 500 - Pers.TrueX; } PosX = _parent.Pers._x + MoveX; _parent.Pers._x = PosX; MoveX = 0; PosY = _parent.Pers._y + MoveY; _parent.Pers._y = PosY; MoveY = 0; } }; ObjPers.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = PosY + _parent._y; TopX = TrueX; TopY = TrueY + _parent.Pers.Obj.HitTop._y; FrontX = _parent.Pers.Obj.HitFront._x; FrontY = TrueY + _parent.Pers.Obj.HitFront._y; BottomFrontX = _parent.Pers.Obj.HitBottomFront._x; BottomBackX = _parent.Pers.Obj.HitBottomBack._x; BackX = _parent.Pers.Obj.HitBack._x; if (Dir == "G") { FrontX = TrueX - FrontX; BottomFrontX = TrueX - BottomFrontX; BottomBackX = TrueX - BottomBackX; BackX = TrueX - BackX; } else if (Dir == "D") { FrontX = TrueX + FrontX; BottomFrontX = TrueX + BottomFrontX; BottomBackX = TrueX + BottomBackX; BackX = TrueX + BackX; } } }; ObjPers.prototype.CheckHitGrd = function (CheckX, CheckY) { with (this) { if ((CheckX == undefined) && (CheckY == undefined)) { CheckX = TrueX; CheckY = TrueY; aCheckPoints = [CheckX, BottomFrontX, BottomBackX]; } else { aCheckPoints = [CheckX]; } for (var i in aCheckPoints) { if (_parent.Collider.Sol.hitTest(aCheckPoints[i], CheckY + MaxSol, true) and (SpdYNow >= 0)) { HitGrd = true; HitGrdPoint = aCheckPoints[i]; break; } HitGrd = false; HitGrdPoint = TrueX; } } }; ObjPers.prototype.CheckSol = function (CheckX, CheckY) { with (this) { if ((CheckX == undefined) && (CheckY == undefined)) { CheckX = HitGrdPoint; CheckY = TrueY; } if (_parent.Collider.Sol.hitTest(CheckX, CheckY, true) and (SpdYNow >= 0)) { SpdYNow = 0; var InSol = true; while (InSol == true) { MoveY = MoveY - SolOut; InSol = _parent.Collider.Sol.hitTest(CheckX, CheckY + MoveY, true); } } else if (SpdYNow >= 0) { if (HitGrd == true) { SpdYNow = 0; MoveY = SpdYNow; } else { if ((KeyListener.Up == true) && (SpdYNow > 0)) { var MoveUp = (Math.round((SpdYUp * 10) / 1200) / 10); if (MoveUp < 0.1) { MoveUp = 0.1; } SpdYNow = SpdYNow + MoveUp; if (SpdYNow > (SpdYMax / 3)) { SpdYNow = SpdYMax / 3; } } else { SpdYNow = SpdYNow + SpdYUp; if (SpdYNow > SpdYMax) { SpdYNow = SpdYMax; } } var SolHit1 = (SpdYNow / 3); var SolHit2 = (SolHit1 * 2); if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SolHit1, true)) { MoveY = SolHitMin; } else if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SolHit2, true)) { MoveY = SolHit1; } else if (_parent.Collider.Sol.hitTest(CheckX, CheckY + SpdYNow, true)) { MoveY = SolHit2; } else { MoveY = SpdYNow; } } } else { SpdYNow = SpdYNow + SpdYUp; MoveY = SpdYNow; } if (MoveY > 0) { DistYFall = DistYFall + MoveY; } } }; ObjPers.prototype.ChangeEtat = function (NewAction) { with (this) { if (((EtatOld eq "Walk") and (Etat eq "WalkTir")) or ((EtatOld eq "WalkTir") and (Etat eq "Walk"))) { var SetFrWalk = true; } EtatOld = Etat; Etat = NewAction; _parent.Pers.Obj.gotoAndStop(NewAction); if (SetFrWalk == true) { if (FrWalkNow >= 20) { FrWalkNow = 1; } _parent.Pers.Obj.Etat.gotoAndPlay(FrWalkNow); } } }; ObjPers.prototype.updatePerso = function () { with (this) { _parent.Pers.gotoAndStop((Perso + "_") + Dir); Etat = "Idle"; GetFireG = -1 * _parent.Pers.Obj.HitBack._x; GetFireD = _parent.Pers.Obj.HitFront._x; GetFireDw = 20; GetFireUp = -1 * _parent.Pers.Obj.HitTop._y; ComboKick = 0; InvincibleEnd(); CanBeHit = true; } }; ObjPers.prototype.ChangeDir = function (NewDir) { with (this) { DirOld = Dir; Dir = NewDir; _parent.Pers.gotoAndStop((Perso + "_") + Dir); } }; ObjPers.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent.Pers.Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent.Pers.Obj.Etat.play(); } SetTruePos(); InvincibleCheck(); this[Etat](); } } }; CreerPersBall = function () { var _local3 = "Ball" + G_NextPersBall; G_NextPersBall = G_NextPersBall + 1; if (G_NextPersBall > 50) { G_NextPersBall = 1; } if (this[_local3] == null) { var _local7 = G_NextPersBallDepth; G_NextPersBallDepth++; duplicateMovieClip (_parent.Ball.PersBallClone, _local3, _local7); var _local6 = Pers.Dir; _parent.Ball[_local3].gotoAndStop(_local6); var _local5 = Pers.PosX; var _local4 = Pers.PosY + Pers.DistBallY; _parent.Ball[_local3]._x = _local5; _parent.Ball[_local3]._y = _local4; this[_local3] = new ObjPersBall(_local3, _local5, _local4, _local6, 14, 20, G_TabPersBall, "SlimeSplat"); G_TabPersBall.push(_local3); } }; CreerMinionBall = function (PosX, PosY, Dir, PowerX, PowerY) { MinShootX = 10; MinShootY = 41; if (PowerX == undefined) { ForceX = random(4) + 15; Bouncing = "horiz"; } else { ForceX = PowerX; Bouncing = "vertic"; } if (PowerY == undefined) { ForceY = random(3) - 7; } else { ForceY = PowerY; } if (Dir == "none") { if (random(50) < 25) { Dir = "D"; } else { Dir = "G"; } } FrDetonate = 90; var _local3 = "MinionBall" + G_NextMinionBall; G_NextMinionBall = G_NextMinionBall + 1; if (G_NextMinionBall > 50) { G_NextMinionBall = 1; } if (this[_local3] == null) { var _local5 = G_NextMinionBallDepth; G_NextMinionBallDepth++; duplicateMovieClip (_parent.Ball.MinionBallClone, _local3, _local5); _parent.Ball[_local3].gotoAndStop(Dir); if (Dir == "G") { _parent.Ball[_local3]._x = PosX - MinShootX; } else if (Dir == "D") { _parent.Ball[_local3]._x = PosX + MinShootX; } _parent.Ball[_local3]._y = PosY - MinShootY; this[_local3] = new ObjPersBall(_local3, _parent.Ball[_local3]._x, _parent.Ball[_local3]._y, Dir, 14, 10, G_TabMinionBall, "LaserSplat"); G_TabMinionBall.push(_local3); } }; ObjPersBall.prototype.Hide = function () { with (this) { _parent.Ball[Nom]._x = PosX + SpdX; PosX = PosX + SpdX; SetTruePos(); if (_parent.PersBall[Nom].Obj.Etat._currentframe >= FrHide) { Etat = "Move"; } CheckWall(); CheckOut(); } }; ObjPersBall.prototype.Move = function () { with (this) { if (Bouncing == "horiz") { _parent.Ball[Nom]._x = PosX + SpdX; _parent.Ball[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; passTime++; CheckGround(); SetTruePos(); CheckWall(); CheckOut(); if (passTime == 2) { passTime = 0; if (SpdX > 0) { SpdX--; } else if (SpdX < 0) { SpdX++; } else if (Stopped == true) { Dangerous = false; Etat = "detonate"; } } } else if (Bouncing == "vertic") { _parent.Ball[Nom]._x = PosX + SpdX; _parent.Ball[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; if (Stopped == false) { SpdY++; if (SpdY == 0) { detectNow = true; } } else { Etat = "detonate"; } SetTruePos(); if (detectNow == true) { CheckGround(); } CheckWall(); CheckOut(); } } }; ObjPersBall.prototype.detonate = function () { with (this) { if (_parent.Ball[Nom].Obj.Etat._currentframe == FrDetonate) { Etat = "explode"; } checkIfKick(); CheckOut(); } }; ObjPersBall.prototype.checkIfKick = function () { with (this) { if (Pers.CanHit == true) { if (_parent.Ball[Nom].hitTest(_parent.Pers)) { _global.Sounds.PlayASound("Ball", 1, 100); Dir = Pers.Dir; if (Dir eq "D") { SpdX = random(6) + 18; } else { SpdX = -1 * (random(6) + 18); } SpdY = random(3) - 11; Stopped = false; Etat = "Move"; } } } }; ObjPersBall.prototype.Hit = function () { with (this) { if (((_parent.Ball[Nom].Obj.Etat._currentframe == 1) && (TrueX > 0)) && (TrueX < 500)) { } else if (_parent.Ball[Nom].Obj.Etat._currentframe >= FrHit) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.explode = function () { with (this) { if (_parent.Ball[Nom].hitTest(_parent.Pers)) { if (Pers.CanBeHit) { Pers.Etat = "GetHit"; Pers.CanBeHit = false; if (_parent.Ball[Nom]._x > _parent.Pers._x) { Pers.Dir = "D"; } else { Pers.Dir = "G"; } } } if (_parent.Ball[Nom].Obj.Etat._currentframe >= FrHit) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.KillBall = function () { with (this) { if (Tab == G_TabPersBall) { G_TabPersBall.splice(PersBallI, 1); PersBallI = PersBallI - 1; } else if (Tab == G_TabMinionBall) { G_TabMinionBall.splice(MinionBallI, 1); MinionBallI = MinionBallI - 1; } delete _parent.Control[Nom]; } }; ObjPersBall.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = (PosY + _parent._y) + 10; } }; ObjPersBall.prototype.Sleep = function () { }; ObjPersBall.prototype.CheckWall = function () { with (this) { if (_parent.Collider.Wall.hitTest(TrueX, TrueY, true) and (!_parent.Collider.Wall.Pass.hitTest(TrueX, TrueY, true))) { _global.Sounds.PlayASound("Ball", 1, 100); if (Dir eq "D") { Dir = "G"; } else { Dir = "D"; } Dangerous = true; SpdX = SpdX * -1; if (SpdX > 0) { SpdX = SpdX + 2; } else { SpdX = SpdX + -2; } if (Math.abs(SpdX) < 5) { if (SpdX < 5) { SpdX = 5; } else if (Spd > -5) { SpdX = -5; } } } } }; ObjPersBall.prototype.CheckGround = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true)) { if (SpdY >= 0) { if (SpdY >= 5) { _global.Sounds.PlayASound("Ball", 1, 100); } var i = 0; while (_parent.Collider.Sol.hitTest(TrueX, TrueY - (i + 1), true)) { i++; } PosY = PosY + (i * -1); _parent.Ball[Nom]._y = PosY; HurtMyself = true; if (SpdY > 2) { Stopped = false; SpdY = Math.round(SpdY * -0.5); } else { Stopped = true; SpdY = 0; } } else { Stopped = false; SpdY++; } } else { Stopped = false; SpdY++; } } }; ObjPersBall.prototype.CheckOut = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { _parent.Ball[Nom].Obj.Etat = "Sleep"; _parent.Ball[Nom].Obj.gotoAndStop("Sleep"); KillBall(); } } }; ObjPersBall.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent.Ball[Nom].Obj.gotoAndStop(NewAction); } }; ObjPersBall.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent.Ball[Nom].Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent.Ball[Nom].Obj.Etat.play(); } this[Etat](); } } }; CreerBg = function (PosX, PosY) { this.Bg = new ObjBg(PosX, PosY); }; ObjBg.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; } } else { if (InPause == true) { InPause = false; } ScrollBg(); } } }; ObjBg.prototype.ScrollBg = function () { with (this) { CheckScreen(); if ((PosY <= MaxDw) and (PosY >= MaxUp)) { if (Pers.TrueX > (CenterX + 1)) { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX < MaxG) { if ((PosX + SpdXD) > MaxG) { MoveX = MaxG - PosX; } else { MoveX = SpdXD; } } else { if ((CenterX - Pers.TrueX) > SpdXG) { MoveX = CenterX - Pers.TrueX; } else { MoveX = SpdXG; } if ((PosX + MoveX) < MaxG) { MoveX = MaxG - PosX; } } } else if (Pers.TrueX < (CenterX - 1)) { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX > MaxD) { if ((PosX + SpdXG) < MaxD) { MoveX = MaxD - PosX; } else { MoveX = SpdXG; } } else { if ((CenterX - Pers.TrueX) < SpdXD) { MoveX = CenterX - Pers.TrueX; } else { MoveX = SpdXD; } if ((PosX + MoveX) > MaxD) { MoveX = MaxD - PosX; } } } else { if ((Pers.HitGrd == false) and (Pers.TrueY >= 300)) { SpdXG = -30; SpdXD = 30; } else if (Pers.SpdXNow > 0) { SpdXG = (Pers.SpdXNow * -1) - 5; } else if (Pers.SpdXNow < 0) { SpdXD = (Pers.SpdXNow * -1) + 5; } else { SpdXG = -8; SpdXD = 8; } if (PosX < MaxG) { if ((PosX + SpdXD) > MaxG) { MoveX = MaxG - PosX; } else { MoveX = SpdXD; } } else if (PosX > MaxD) { if ((PosX + SpdXG) < MaxD) { MoveX = MaxD - PosX; } else { MoveX = SpdXG; } } } } if ((PosX <= MaxD) and (PosX >= MaxG)) { if (Pers.TrueY > (CenterY + 1)) { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY < MaxUp) { if ((PosY + SpdYDw) > MaxUp) { MoveY = MaxUp - PosY; } else { MoveY = SpdYDw; } } else { if ((CenterY - Pers.TrueY) > SpdYUp) { MoveY = CenterY - Pers.TrueY; } else { MoveY = SpdYUp; } if ((PosY + MoveY) < MaxUp) { MoveY = MaxUp - PosY; } } } else if (Pers.TrueY < (CenterY - 1)) { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY > MaxDw) { if ((PosY + SpdYUp) < MaxDw) { MoveY = MaxDw - PosY; } else { MoveY = SpdYUp; } } else { if ((CenterY - Pers.TrueY) < SpdYDw) { MoveY = CenterY - Pers.TrueY; } else { MoveY = SpdYDw; } if ((PosY + MoveY) > MaxDw) { MoveY = MaxDw - PosY; } } } else { if (Pers.SpdYNow > 0) { SpdYUp = (Pers.SpdYNow * -1) - 5; } else if (Pers.SpdYNow < 0) { SpdYDw = (Pers.SpdYNow * -1) + 5; } else { SpdYUp = -5; SpdYDw = 5; } if (PosY < MaxUp) { if ((PosY + SpdYDw) > MaxUp) { MoveY = MaxDw - PosY; } else { MoveY = SpdYDw; } } else if (PosY > MaxDw) { if ((PosY + SpdYUp) < MaxDw) { MoveY = MaxDw - PosY; } else { MoveY = SpdYUp; } } } } _parent._x = Math.floor(_parent._x + MoveX); PosX = _parent._x; InvPosX = PosX * -1; MoveX = 0; _parent._y = Math.floor(_parent._y + MoveY); PosY = _parent._y; InvPosY = PosY * -1; MoveY = 0; } }; CreerShred = function (Nom, PosX, PosY, Dir, Perso) { if (this[Nom] == null) { if ((Perso == undefined) || (!Perso)) { Perso = "Gordon"; } this[Nom] = new ObjShred(Nom, PosX, PosY, Dir, Perso); G_TabShred.push(Nom); } }; ObjShred.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjShred.prototype.Idle = function () { with (this) { MoveX = 0; MoveY = 0; CanBeHit = true; FrBetweenAttack++; FrSeparateWallCount++; if (FrSeparateWallCount == FrSeparateWallCheck) { FrSeparateWallCount = 0; WallSeparate = false; } if (((Etat == "Idle") && ((_parent[Nom].Obj.Etat._currentframe >= FrIdleCheckMin) && (_parent[Nom].Obj.Etat._currentframe <= FrIdleCheckMax))) || (_parent[Nom].Obj.Etat._currentframe == FrIdleCheckLast)) { if (Dir == "G") { CheckPers("D"); } else if (Dir == "D") { CheckPers("G"); } } else { CheckPers(); } if ((Perso == "Gordon") || (Perso == "Blik")) { CheckAttack(); if ((Etat == "Idle") && (_parent[Nom].Obj.Etat._currentframe == FrIdleCheckLast)) { CheckDistWall(); if (TooNearWall) { if (Dir == "G") { Dir = "D"; } else if (Dir == "D") { Dir = "G"; } CheckDistWall(); if (!TooNearWall) { Etat = "Walk"; } } else { Etat = "Walk"; } } } else { CheckAttack(); } CheckBoxOver(); CheckBoxSide(); CheckHeadAttack(); if (Perso != "Waffle") { CheckGetHit(); } CheckGetFire(); CheckGetFart(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckSleep(); } }; ObjShred.prototype.Walk = function () { with (this) { CanBeHit = true; CheckHeadAttack(); CheckTurn(); CheckWall(); CheckPers(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); SetMoveX(); MoveShred(); CheckSleep(); } }; ObjShred.prototype.MoonWalk = function () { with (this) { CanBeHit = true; FrBetweenAttack++; CheckHeadAttack(); CheckTurn(); CheckWall(); if (FrBetweenAttack >= FrMoonWalk) { CheckPers(); } CheckHitGrd(); CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); InverseSetMoveX(); MoveShred(); CheckSleep(); } }; ObjShred.prototype.WalkFight = function () { with (this) { CanBeHit = true; CheckHeadAttack(); SetMoveXWalkFight(); CheckTurn(); CheckWall(); CheckHitGrd(); if (Perso != "Blik") { CheckSol(); } CheckAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetFire(); CheckGetFart(); MoveShred(); CheckSleep(); CheckFight(); CheckGetHit(); } }; ObjShred.prototype.Surpris = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrSurpris) { MoveX = 0; MoveY = 0; if (Perso == "Gordon") { if (((Pers.Etat == "Die") && (Pers.Obj.Etat._currentframe >= 40)) || (Pers.Etat == "Dead")) { Etat = "Charge"; } else if ((Math.ceil(Math.random() * 3) == 1) || ((TrueX < 0) || (TrueX > 500))) { Etat = "WalkFight"; } else { Etat = "Charge"; } } else if (Perso == "Blik") { if (FrBetweenAttack >= FrMoonWalk) { FrBetweenAttack = 0; Etat = "Attack3"; ShootMax = Math.ceil((Math.random() * 3) + 1); ShootCount = 1; } else { Etat = "MoonWalk"; } } } CanBeHit = true; CheckHeadAttack(); CheckBoxOver(); CheckBoxSide(); CheckGetHit(); CheckGetFire(); CheckGetFart(); } }; ObjShred.prototype.Attack3 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe == FrShoot) { _global.Sounds.PlayASound("Crache", 1, 100); _global.Game.CreerMinionBall(PosX, PosY, Dir); } else if (_parent[Nom].Obj.Etat._currentframe >= FrShootFin) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); CheckGetFart(); } }; ObjShred.prototype.Ready = function () { with (this) { CanBeHit = true; if (_parent[Nom].Obj.Etat._currentframe >= 5) { CheckHeadAttack(); CheckGetHit(); } CheckGetFire(); if (_parent[Nom].Obj.Etat._currentframe >= FrReady) { Etat = "Attack4"; } } }; ObjShred.prototype.PopOut = function () { with (this) { CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); if (_parent[Nom].Obj.Etat._currentframe >= FrPopOut) { Etat = "Idle"; } } }; ObjShred.prototype.Attack4 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe == FrAttack4) { _global.Sounds.PlayASound("Lazer", 1, 80); } if (_parent[Nom].Obj.Etat._currentframe >= FrAttack4) { if (_parent[Nom].Obj.Etat.missile.hitTest(_parent.Pers) && (Pers.CanBeHit == true)) { _global.Sounds.PlayASound("electroc", 1, 80); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; waitTimeMissile = 0; _parent[Nom].Obj.Etat.spark._visible = true; } var BounceMiss = _parent[Nom].Obj.Etat.spark.getBounds(_parent._parent); BounceMissX = (BounceMiss.xMax + BounceMiss.xMin) / 2; BounceMissY = (BounceMiss.yMax + BounceMiss.yMin) / 2; if (_parent.Collider.Wall.hitTest(BounceMissX, BounceMissY, true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack4"; } if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack4) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack4"; } } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.Charge = function () { with (this) { CanBeHit = true; SetMoveXCharge(); CheckTurn(); CheckWall("Charge"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckGetFart(); MoveShred(); CheckSleep(); CheckBoxOver(); CheckBoxSide(); CheckTouchCharge(); CheckHeadAttack(); CheckGetHit(); } }; ObjShred.prototype.Fight = function () { with (this) { Etat = "Attack1"; } }; ObjShred.prototype.StartJump = function () { with (this) { CanBeHit = true; Etat = "Jump"; SpdYNow = SpdYStepBack; SpdXFall = SpdXStepBack; } }; ObjShred.prototype.Jump = function () { with (this) { CanBeHit = true; CheckHeadAttack(); SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckGetFart(); MoveShred(); Etat = "Fall"; } }; ObjShred.prototype.Land = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrLand) { Etat = "Walk"; } } }; ObjShred.prototype.GetHit = function () { with (this) { if (Perso != "Waffle") { SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); MoveShred(); } CheckGetFire(); CheckGetFart(); FrGetHitCount++; if (FrGetHitCount == 1) { if (Perso != "Waffle") { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } else if (Dir == "D") { CreerLifeBonus("LifeBonus", PosX + 30, PosY, 50); } else { CreerLifeBonus("LifeBonus", PosX - 30, PosY, 50); } } if (FrGetHitCount >= FrGetHit) { CanBeHit = true; if (HitGrd == true) { if (Life > 0) { if (Perso != "Waffle") { FrGetHitCount = 0; Etat = "Idle"; WallSeparate = false; } else { FrGetHitCount = 0; Etat = "PopOut"; WallSeparate = false; } } else { Etat = "Die"; } } else { Etat = "Fall"; } } } }; ObjShred.prototype.Fall = function () { with (this) { CanBeHit = true; SetMoveXFall(); CheckWall("Back"); CheckHitGrd(); CheckSol(); CheckGetFire(); CheckHeadAttack(); MoveShred(); if (HitGrd == true) { if (Life > 0) { Etat = "Sleep"; CanBeHit = true; WallSeparate = false; } else { Etat = "Die"; } } } }; ObjShred.prototype.CheckHeadAttack = function () { with (this) { if (_parent[Nom].Obj.headZone.hitTest(_parent.Pers.Obj.HitBottom)) { if (random(100) < 50) { Pers.SpdXBase = random(4) + 3; } else { Pers.SpdXBase = random(4) - 7; } Pers.SpdYNow = Pers.SpdStartJump / 1.5; if (CanBeHit) { _global.Sounds.PlayASound("rHead", 1, 50); Life--; CanBeHit = false; Etat = "GetHit"; } } else if ((_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitTop) || (_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitFront))) || (_parent[Nom].Obj.KikZone.hitTest(_parent.Pers.Obj.HitBack))) { if (Pers.CanBeHit == true) { _global.Sounds.PlayASound("rBump", 1, 80); Pers.Etat = "GetHit"; Pers.CanBeHit = false; } } } }; ObjShred.prototype.Attack1 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrAttack1) { if (_parent[Nom].Obj.Etat.missile.hitTest(_parent.Pers) && (Pers.CanBeHit == true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; waitTimeMissile = 0; Etat = "FinAttack1"; } var BounceMiss = _parent[Nom].Obj.Etat.missile.getBounds(_parent._parent); BounceMissX = (BounceMiss.xMax + BounceMiss.xMin) / 2; BounceMissY = (BounceMiss.yMax + BounceMiss.yMin) / 2; if (_parent.Collider.Wall.hitTest(BounceMissX, BounceMissY, true)) { _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); waitTimeMissile = 0; Etat = "FinAttack1"; } if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack1) { waitTimeMissile = 0; _parent[Nom].Obj.Etat.missile.gotoAndStop("explode"); _parent[Nom].Obj.Etat.stop(); Etat = "FinAttack1"; } } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack1 = function () { with (this) { waitTimeMissile++; if (waitTimeMissile >= 10) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack4 = function () { with (this) { waitTimeMissile++; if (waitTimeMissile == 12) { _parent[Nom].Obj.Etat.gotoAndPlay(37); } else if (waitTimeMissile == 21) { Etat = "PopOut"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.FinAttack3 = function () { with (this) { if (_parent[Nom].Obj.Etat._currentframe >= FrFinAttack3) { Etat = "Idle"; } CanBeHit = true; CheckHeadAttack(); CheckGetHit(); CheckGetFire(); } }; ObjShred.prototype.Die = function () { with (this) { Dir = "D"; if (_parent[Nom].Obj.Etat._currentframe == 1) { _global.Sounds.PlayASound("Dead", 1, 80); } if (_parent[Nom].Obj.Etat._currentframe >= FrDie) { Etat = "Dead"; } } }; ObjShred.prototype.Dead = function () { with (this) { G_TabShred.splice(ShredI, 1); ShredI = ShredI - 1; } }; ObjShred.prototype.CheckPers = function (CheckDir) { with (this) { if (Pers.CanBeHit) { if (CheckDir == undefined) { CheckDir = Dir; } if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= PosX)) && (CheckDir == "G")) { var CheckX = (TrueX - (PosX - Pers.PosX)); while ((CheckX < TrueX) && (!WallSeparate)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY, true)) { WallSeparate = true; } CheckX = CheckX + 10; } if (!WallSeparate) { if ((Perso == "Gordon") || ((TrueX > 0) && (TrueX < 500))) { Etat = "Surpris"; Dir = CheckDir; } } } else if (((Pers.PosX <= (PosX + LgCheckPersX)) and (Pers.PosX >= PosX)) && (CheckDir == "D")) { var CheckX = (TrueX + (Pers.PosX - PosX)); while ((CheckX > TrueX) && (!WallSeparate)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY, true)) { WallSeparate = true; } CheckX = CheckX - 10; } if (!WallSeparate) { if ((Perso == "Gordon") || ((TrueX > 0) && (TrueX < 500))) { Etat = "Surpris"; Dir = CheckDir; } } } } } } }; ObjShred.prototype.CheckDistWall = function (CheckDir, CheckXPoint) { with (this) { if (CheckDir == undefined) { CheckDir = Dir; } if (CheckXPoint == undefined) { CheckXPoint = TrueX; } TooNearWall = false; if (CheckDir == "G") { var CheckX = (CheckXPoint - DistMinWall); while ((CheckX < CheckXPoint) && (!TooNearWall)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } else if (_parent.Collider.Turn.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } CheckX = CheckX + 10; } } else if (CheckDir == "D") { var CheckX = (TrueX + DistMinWall); while ((CheckX > CheckXPoint) && (!TooNearWall)) { if (_parent.Collider.Wall.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } else if (_parent.Collider.Turn.hitTest(CheckX, TrueY - 5, true)) { TooNearWall = true; } CheckX = CheckX - 10; } } } }; ObjShred.prototype.CheckPersDist = function () { with (this) { if (Pers.CanBeHit == true) { if ((Dir == "G") && (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir == "D") && (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if ((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= PosX)) { if ((Pers.PosX >= (PosX - LgCheckFightX)) and (Pers.PosX <= PosX)) { } else { Etat = "WalkFight"; } } else if ((Pers.PosX <= (PosX + LgCheckPersX)) and (Pers.PosX >= PosX)) { if ((Pers.PosX <= (PosX + LgCheckFightX)) and (Pers.PosX >= PosX)) { } else { Etat = "WalkFight"; } } } } else { Etat = "WalkFight"; } } }; ObjShred.prototype.CheckFight = function () { with (this) { if (Pers.CanBeHit == true) { if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (((Pers.PosX >= (PosX - LgCheckFightX)) and (Pers.PosX <= PosX)) && (Dir == "G")) { FrSeeingCount = 0; Etat = "Attack1"; } else if (((Pers.PosX <= (PosX + LgCheckFightX)) and (Pers.PosX >= PosX)) && (Dir == "D")) { FrSeeingCount = 0; Etat = "Attack1"; } } } } }; ObjShred.prototype.CheckJump = function () { with (this) { if (Pers.Perso == "MrsX") { if (Math.ceil(Math.random() * 100) == 1) { Etat = "StartJump"; } } } }; ObjShred.prototype.CheckGetHit = function () { with (this) { if (Pers.CanHit == true) { if (CanBeHit) { if ((Pers.HitPointY >= (PosY - GetHitUp)) and (Pers.HitPointY <= (PosY + GetHitDw))) { if (((Pers.HitPointX <= (PosX + GetHitD)) and (Pers.HitPointX >= (PosX - GetHitG))) and (Pers.Dir eq "D")) { if (Perso != "Waffle") { Dir = "G"; } _global.Sounds.PlayASound("rHead", 1, 50); Life--; SpdYNow = SpdYGetHit; SpdXFall = random(SpdXGetHit) + 5; Etat = "GetHit"; CanBeHit = false; } else if (((Pers.HitPointX >= (PosX - GetHitG)) and (Pers.HitPointX <= (PosX + GetHitD))) and (Pers.Dir eq "G")) { if (Perso != "Waffle") { Dir = "D"; } _global.Sounds.PlayASound("rHead", 1, 50); Life--; SpdYNow = SpdYGetHit; SpdXFall = random(SpdXGetHit) + 5; Etat = "GetHit"; CanBeHit = false; } } } } } }; ObjShred.prototype.CheckGetFire = function () { with (this) { var NbMinionBall = G_TabMinionBall.length; if (NbMinionBall > 0) { var i = 0; while (i < NbMinionBall) { var BallX = _parent.Control[G_TabMinionBall[i]].PosX; var BallY = _parent.Control[G_TabMinionBall[i]].PosY; if (((((BallX >= (PosX - GetFireG)) and (BallX <= (PosX + GetFireD))) and (BallY >= (PosY - GetFireUp))) and (BallY <= (PosY + GetFireDw))) && (!Invincible)) { if (_parent.Control[G_TabMinionBall[i]].HurtMyself == true) { t = 1; while (t < 6) { if (Perso != "Waffle") { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } else if (Dir == "D") { CreerLifeBonus("LifeBonus", PosX + 30, PosY, 50); } else { CreerLifeBonus("LifeBonus", PosX - 30, PosY, 50); } t++; } Etat = "Die"; if (_parent.Control[G_TabMinionBall[i]].Dir == "D") { Dir = "G"; } else if (_parent.Control[G_TabMinionBall[i]].Dir == "G") { Dir = "D"; } _parent.Control[G_TabMinionBall[i]].Etat = "Hit"; } } i++; } } } }; ObjShred.prototype.CheckAttack = function () { with (this) { if (Pers.CanBeHit == true) { if ((Pers.PosY >= (PosY - LgAttackUp)) and (Pers.PosY <= (PosY + LgAttackDw))) { if (Perso == "Gordon") { if ((Pers.PosX >= (PosX - LgAttackX)) and (Pers.PosX <= (PosX + LgAttackX))) { if ((Dir eq "G") and (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir eq "D") and (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } Etat = "Attack1"; } } else if (Perso == "Blik") { if ((Pers.PosX >= (PosX - LgCheckPersX)) and (Pers.PosX <= (PosX + LgCheckPersX))) { if ((Dir eq "G") and (Pers.PosX > PosX)) { if (Perso != "Waffle") { Dir = "D"; } } else if ((Dir eq "D") and (Pers.PosX <= PosX)) { if (Perso != "Waffle") { Dir = "G"; } } if (FrBetweenAttack >= FrMoonWalk) { FrBetweenAttack = 0; Etat = "Attack3"; } else { Etat = "MoonWalk"; } } } else if ((Dir eq "D") and (Pers.PosX > PosX)) { if (Math.abs(Pers.PosX - PosX) < 250) { Etat = "Ready"; } } else if ((Dir eq "G") and (Pers.PosX < PosX)) { if (Math.abs(Pers.PosX - PosX) < 250) { Etat = "Ready"; } } } } } }; ObjShred.prototype.CheckTouchCharge = function () { with (this) { var CheckX = Pers.FrontX; if (((Dir == "G") && (Pers.Dir == "G")) || ((Dir == "D") && (Pers.Dir == "D"))) { CheckX = Pers.BackX; } if (_parent[Nom].hitTest(CheckX, Pers.FrontY, true)) { if (Pers.CanBeHit == true) { _global.Sounds.PlayASound("rBump", 1, 80); if (Dir == "G") { Pers.Dir = "D"; } else if (Dir == "D") { Pers.Dir = "G"; } Pers.Etat = "GetHit"; Pers.CanBeHit = false; Etat = "Idle"; } } } }; ObjShred.prototype.SetMoveX = function () { with (this) { MoveX = SpdXBase; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.InverseSetMoveX = function () { with (this) { MoveX = SpdXBase; if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXWalkFight = function () { with (this) { MoveX = SpdXWalkFight; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXCharge = function () { with (this) { MoveX = SpdXCharge; if (Dir eq "G") { MoveX = MoveX * -1; } } }; ObjShred.prototype.SetMoveXFall = function () { with (this) { MoveX = SpdXFall; if (SpdXFall > 0) { SpdXFall = SpdXFall * 0.9; } if (Dir eq "D") { MoveX = MoveX * -1; } } }; ObjShred.prototype.CheckWall = function (CheckDir) { with (this) { if (MoveX != 0) { if (CheckDir == "Back") { var AddPoint = LgBack; } else if (CheckDir == "Charge") { var AddPoint = LgCharge; } else { var AddPoint = LgFront; } if (MoveX > 0) { var WallStop = WallHitBloc; var CheckX = (TrueX + AddPoint); } else { var WallStop = (-1 * WallHitBloc); var CheckX = (TrueX - AddPoint); } var WallHit1 = (MoveX / 3); var WallHit2 = (WallHit1 * 2); if (_parent.Collider.Wall.hitTest(CheckX + WallStop, TrueY, true)) { if (Etat == "Charge") { Etat = "StartJump"; } else if (((Etat == "GetHit") || (Etat == "StartJump")) || (Etat == "Fall")) { MoveX = 0; WallSeparate = false; } else if (Etat == "MoonWalk") { WallSeparate = false; FrBetweenAttack = FrMoonWalk; SetMoveX(); MoveShred(); Etat = "Walk"; } else { MoveX = 0; WallSeparate = false; if (Dir eq "G") { Dir = "D"; } else { Dir = "G"; } CheckDistWall(); if ((Math.ceil(Math.random() * 4) == 4) || (TooNearWall)) { Etat = "Idle"; } else { Etat = "Walk"; } } } else if (_parent.Collider.Wall.hitTest(CheckX + WallHit1, TrueY, true)) { MoveX = WallHitBloc; } else if (_parent.Collider.Wall.hitTest(CheckX + WallHit2, TrueY, true)) { MoveX = WallHit1; } else if (_parent.Collider.Wall.hitTest(CheckX + MoveX, TrueY, true)) { MoveX = WallHit2; } } } }; ObjShred.prototype.CheckTurn = function () { with (this) { if (_parent.Collider.Turn.hitTest(TrueX + MoveX, TrueY, true) || (_parent.Collider.Wall.hitTest(TrueX + MoveX, TrueY, true))) { if (Etat == "MoonWalk") { FrBetweenAttack = FrMoonWalk; SetMoveX(); MoveShred(); Etat = "Walk"; } else { MoveX = 0; if (Dir eq "G") { Dir = "D"; } else { Dir = "G"; } CheckDistWall(); if ((Math.ceil(Math.random() * 4) == 4) || (TooNearWall)) { Etat = "Idle"; } else { Etat = "Walk"; } } } } }; ObjShred.prototype.CheckSol = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true) and (SpdYNow >= 0)) { SpdYNow = 0; var InSol = true; while (InSol == true) { MoveY = MoveY - SolOut; InSol = _parent.Collider.Sol.hitTest(TrueX, TrueY + MoveY, true); } } else if (SpdYNow >= 0) { if (HitGrd == true) { SpdYNow = 0; MoveY = SpdYNow; } else { SpdYNow = SpdYNow + SpdYUp; if (SpdYNow > SpdYMax) { SpdYNow = SpdYMax; } var SolHit1 = (SpdYNow / 3); var SolHit2 = (SolHit1 * 2); if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SolHit1, true)) { MoveY = SolHitMin; } else if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SolHit2, true)) { MoveY = SolHit1; } else if (_parent.Collider.Sol.hitTest(TrueX, TrueY + SpdYNow, true)) { MoveY = SolHit2; } else { MoveY = SpdYNow; } } } else { SpdYNow = SpdYNow + SpdYUp; MoveY = SpdYNow; } } }; ObjShred.prototype.CheckHitGrd = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY + MaxSol, true)) { HitGrd = true; } else { HitGrd = false; } } }; ObjShred.prototype.SetTruePos = function () { with (this) { TrueX = PosX + _parent._x; TrueY = PosY + _parent._y; } }; ObjShred.prototype.MoveShred = function () { with (this) { _parent[Nom]._x = _parent[Nom]._x + MoveX; _parent[Nom]._y = _parent[Nom]._y + MoveY; PosX = _parent[Nom]._x; PosY = _parent[Nom]._y; } }; ObjShred.prototype.CheckActif = function () { with (this) { if (((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) and (Etat eq "Sleep")) { if (Life > 0) { Etat = "Idle"; CanBeHit = true; Dir = BaseDir; } else { Etat = "Dead"; } } } }; ObjShred.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { if (Pers.PosX < PosX) { if (Perso != "Waffle") { Dir = "G"; } } else if (Perso != "Waffle") { Dir = "D"; } Etat = "Sleep"; } } }; ObjShred.prototype.KillShred = function () { with (this) { Etat = "Dead"; } }; ObjShred.prototype.ChangeDir = function (NewDir) { with (this) { DirOld = Dir; Dir = NewDir; _parent[Nom].gotoAndStop(Perso + NewDir); _parent[Nom].Obj.gotoAndStop(Etat); } }; ObjShred.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].Obj.gotoAndStop(NewAction); } }; ObjShred.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent[Nom].Obj.Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent[Nom].Obj.Etat.play(); } SetTruePos(); this[Etat](); } } }; CreerDestructObject = function (Nom, PosX, PosY, Kind, nbr) { if (this[Nom] == null) { this[Nom] = new ObjDestruct(Nom, PosX, PosY, Kind, nbr); G_TabDestruct.push(Nom); } }; ObjDestruct.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; } } else { if (InPause == true) { InPause = false; } this[Etat](); } } }; ObjDestruct.prototype.Idle = function () { with (this) { CheckSleep(); CheckHit(); } }; ObjDestruct.prototype.Normal = function () { with (this) { CheckSleep(); CheckWalkOn(); } }; ObjDestruct.prototype.CheckHit = function () { with (this) { if (Pers.CanHit == true) { if (Kind != "tirroir") { if ((Pers.HitPointY >= (PosY - GetHitUp)) and (Pers.HitPointY <= (PosY + GetHitDw))) { if ((Pers.HitPointX <= (PosX + GetHitD)) and (Pers.HitPointX >= (PosX - GetHitG))) { _global.Sounds.PlayASound("Pot", 1, 80); Pers.CanHit = false; Life--; Etat = "animplaying"; trace((("PosX = " + PosX) + " / ") + PosY); i = 1; while (i <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); i++; } if (BombInside) { _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 20); } } } } else if ((Pers.HitPointY >= (PosY - GetHitUpTirroir)) and (Pers.HitPointY <= (PosY + GetHitDwTirroir))) { if ((Pers.HitPointX <= ((PosX + GetHitDTirroir) + (_parent[Nom]._width / 2))) and (Pers.HitPointX >= ((PosX - GetHitGTirroir) - (_parent[Nom]._width / 2)))) { _global.Sounds.PlayASound("Tirroir", 1, 100); Pers.CanHit = false; Life--; Etat = "animplaying"; trace((("PosX = " + PosX) + " / ") + PosY); i = 1; while (i <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); i++; } if (BombInside) { _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 20); } } } } } }; ObjDestruct.prototype.CheckWalkOn = function () { with (this) { if ((Pers.PosY >= (PosY - GetStepY)) and (Pers.PosY <= (PosY + GetStepY))) { if ((Pers.PosX <= (PosX + GetStepX)) and (Pers.PosX >= (PosX - GetStepX))) { _global.Sounds.PlayASound("Coussin", 1, 80); Etat = "Jump"; Pers.SpdYNow = Pers.SpdStartJump; if (Stepped < nbr) { Stepped++; if (Stepped <= nbr) { CreerLifeBonus("LifeBonus", PosX, PosY, 50); } if (BombInside) { BombInside = false; _global.Game.CreerMinionBall(PosX, PosY, "none", random(4) + 4, random(3) - 10); } } } } } }; ObjDestruct.prototype.Jump = function () { with (this) { if (_parent[Nom]._currentframe == FrJump) { Etat = "Normal"; } } }; ObjDestruct.prototype.animplaying = function () { with (this) { if (_parent[Nom]._currentframe == FrDead) { Etat = "Dead"; } } }; ObjDestruct.prototype.Dead = function () { }; ObjDestruct.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].gotoAndStop(NewAction); } }; ObjDestruct.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjDestruct.prototype.CheckActif = function () { with (this) { if (((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) and (Etat eq "Sleep")) { if (Kind == "Coussin") { Etat = "Normal"; } else if (Life > 0) { Etat = "Idle"; } else { Etat = "Dead"; } } } }; ObjDestruct.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { Etat = "Sleep"; } } }; CreerLifeBonus = function (Nom, PosX, PosY, Value, imove) { if (Nom == "LifeBonus") { var _local3 = 1; while (this[Nom + _local3] != null) { _local3++; } Nom = Nom + _local3; _parent.attachMovie("minXBonus", Nom, _parent.getNextHighestDepth()); } if (imove == undefined) { imove = true; } if (this[Nom] == null) { this[Nom] = new ObjLifeBonus(Nom, PosX, PosY, Value, imove); G_TabLifeBonus.push(Nom); } }; ObjLifeBonus.prototype.Sleep = function () { with (this) { CheckActif(); } }; ObjLifeBonus.prototype.Idle = function () { with (this) { CheckGet(); CheckSleep(); } }; ObjLifeBonus.prototype.IdleClose = function () { with (this) { CheckSleep(); } }; ObjLifeBonus.prototype.Move = function () { with (this) { _parent[Nom]._x = PosX + SpdX; _parent[Nom]._y = PosY + SpdY; PosX = PosX + SpdX; PosY = PosY + SpdY; if (Stopped == false) { SpdY++; if (SpdY == 0) { detectNow = true; } } else { Etat = "Idle"; } SetTruePos(); if (detectNow == true) { CheckGet(); CheckGround(); } CheckWall(); CheckOut(); } }; ObjLifeBonus.prototype.Get = function () { with (this) { if (Value == 50) { FrGet = FrGetScore; } else { FrGet = FrGetElse; } if (_parent[Nom].Etat._currentframe >= FrGet) { ChangeEtat("Kill"); Pers.GetLifeBonus(Value); } } }; ObjLifeBonus.prototype.Kill = function () { with (this) { for (LifeBonusI in G_TabLifeBonus) { var LifeBonusActif = G_TabLifeBonus[LifeBonusI]; _parent[Nom].removeMovieClip(); if (LifeBonusActif == Nom) { delete G_TabLifeBonus[LifeBonusI]; } } delete this; } }; ObjLifeBonus.prototype.CheckGet = function () { with (this) { if ((((Pers.PosY >= (PosY - LgHitUp)) and (Pers.PosY <= (PosY + LgHitDw))) and (Pers.PosX >= (PosX - LgHitX))) and (Pers.PosX <= (PosX + LgHitX))) { _global.Sounds.PlayASound("Objet", 1, 100); Etat = "Get"; } } }; ObjLifeBonus.prototype.CheckActif = function () { with (this) { if ((((PosX >= (Bg.InvPosX - LgOutG)) and (PosX <= (Bg.InvPosX + LgOutD))) and (PosY >= (Bg.InvPosY - LgOutUp))) and (PosY <= (Bg.InvPosY + LgOutDw))) { if (imove == false) { if ((Value != 500) || (_global.Game.G_TabShred.length == 0)) { Etat = "Idle"; } else { Etat = "IdleClose"; if (_global.ShowLeft._currentframe == 1) { _global.ShowLeft.gotoAndPlay("opening"); } } } else { Etat = "Move"; } } } }; ObjLifeBonus.prototype.CheckSleep = function () { with (this) { if ((((PosX < (Bg.InvPosX - LgOutG)) or (PosX > (Bg.InvPosX + LgOutD))) or (PosY < (Bg.InvPosY - LgOutUp))) or (PosY > (Bg.InvPosY + LgOutDw))) { Etat = "Sleep"; } } }; ObjLifeBonus.prototype.ChangeEtat = function (NewAction) { with (this) { EtatOld = Etat; Etat = NewAction; _parent[Nom].gotoAndStop(NewAction); } }; ObjLifeBonus.prototype.Actions = function () { with (this) { if (G_Pause == true) { if (InPause == false) { InPause = true; _parent[Nom].Etat.stop(); } } else { if (InPause == true) { InPause = false; _parent[Nom].Etat.play(); } this[Etat](); } } }; ObjLifeBonus.prototype.SetTruePos = function () { with (this) { if (SpdX > 0) { TrueX = (PosX + _parent._x) + Xdetect; } else { TrueX = (PosX + _parent._x) - Xdetect; } TrueY = PosY + _parent._y; } }; ObjLifeBonus.prototype.CheckWall = function () { with (this) { if (_parent.Collider.Wall.hitTest(TrueX, TrueY, true) and (!_parent.Collider.Wall.Pass.hitTest(TrueX, TrueY, true))) { _global.Sounds.PlayASound("Bump", 1, 60); SpdX = SpdX * -1; if (Math.abs(SpdX) < 5) { if (SpdX < 5) { SpdX = 5; } else if (Spd > -5) { SpdX = -5; } } } } }; ObjLifeBonus.prototype.CheckGround = function () { with (this) { if (_parent.Collider.Sol.hitTest(TrueX, TrueY, true)) { if (SpdY > 2) { if (SpdY >= 5) { _global.Sounds.PlayASound("Bump", 1, 60); } bondi = true; SpdY = Math.round(SpdY * -0.5); } else if ((SpdY < 2) && (SpdY > 0)) { if (bondi == true) { Stopped = true; SpdY = 0; } else { SpdY = random(3) - 15; } } } } }; this.G_Pause = true; this.G_PauseOut = false; this.G_PRealese = true; this.G_Resume = false; this.G_TabShred = new Array(); this.G_TabBox = new Array(); this.G_TabGun = new Array(); this.G_TabSwitch = new Array(); this.G_TabDoor = new Array(); this.G_TabHeroChanger = new Array(); this.G_TabElevator = new Array(); this.G_TabPersBall = new Array(); this.G_TabMinionBall = new Array(); this.G_TabLifeBonus = new Array(); this.G_TabCam = new Array(); this.G_TabLevier = new Array(); this.G_TabTV = new Array(); this.G_TabDestruct = new Array(); this.G_NextPersBall = 1; this.G_NextPersBallDepth = 10; this.G_NextMinionBall = 1; this.G_NextMinionBallDepth = 20; } onClipEvent (enterFrame) { ShredI = 0; for (ShredI in G_TabShred) { var ShredActif = G_TabShred[ShredI]; if (this[ShredActif].Dir != this[ShredActif].DirOld) { this[ShredActif].ChangeDir(this[ShredActif].Dir); } if (this[ShredActif].Etat != this[ShredActif].EtatOld) { this[ShredActif].ChangeEtat(this[ShredActif].Etat); } this[ShredActif].Actions(); } MinionBallI = 0; for (MinionBallI in G_TabMinionBall) { var MinionBallActif = G_TabMinionBall[MinionBallI]; if (this[MinionBallActif].Etat != this[MinionBallActif].EtatOld) { this[MinionBallActif].ChangeEtat(this[MinionBallActif].Etat); } this[MinionBallActif].Actions(); } LifeBonusI = 0; for (LifeBonusI in G_TabLifeBonus) { var LifeBonusActif = G_TabLifeBonus[LifeBonusI]; if (this[LifeBonusActif].Etat != this[LifeBonusActif].EtatOld) { this[LifeBonusActif].ChangeEtat(this[LifeBonusActif].Etat); } this[LifeBonusActif].Actions(); } ObjDstr = 0; for (ObjDstr in G_TabDestruct) { var DstrActif = G_TabDestruct[ObjDstr]; if (this[DstrActif].Etat != this[DstrActif].EtatOld) { this[DstrActif].ChangeEtat(this[DstrActif].Etat); } this[DstrActif].Actions(); } if (Pers.Dir != Pers.DirOld) { Pers.ChangeDir(Pers.Dir); } if (Pers.Etat != Pers.EtatOld) { Pers.ChangeEtat(Pers.Etat); } this.Pers.Actions(); this.Bg.Actions(); if (G_Pause == false) { G_CurrentFocus = Selection.getFocus(); if (G_CurrentFocus == null) { G_PauseOut = true; } } G_CheckPause(); }
Symbol 836 MovieClip Frame 2
stop();
Instance of Symbol 786 MovieClip in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerBg(_parent._x, _parent._y); BG = _parent.Control.Bg; BG.MaxDw1 = -200; BG.MaxUp1 = -380; BG.MaxG1 = -11400; BG.MaxD1 = -220; BG.MaxDw2 = 13000; BG.MaxUp2 = -125000; BG.MaxG2 = -162000; BG.MaxD2 = 112500 /* 0x01B774 */; BG.CheckScreen = function () { with (this) { if (CurrentScreen == 1) { if (_global.Game.Pers.PosX > 1300000) { MaxDw = MaxDw2; MaxUp = MaxUp2; MaxG = MaxG2; MaxD = MaxD2; CurrentScreen = 2; } else { MaxDw = MaxDw1; MaxUp = MaxUp1; MaxG = MaxG1; MaxD = MaxD1; } } else if (CurrentScreen == 2) { if (((_global.Game.Pers.PosX < 1250) && (_global.Game.Pers.PosY < 1050)) && (_global.Game.Pers.PosY > 900)) { MaxDw = MaxDw1; MaxUp = MaxUp1; MaxG = MaxG1; MaxD = MaxD1; CurrentScreen = 1; } else { MaxDw = MaxDw2; MaxUp = MaxUp2; MaxG = MaxG2; MaxD = MaxD2; } } } }; }
Instance of Symbol 478 MovieClip "Minion11" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "D"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion14" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 794 MovieClip "Collider" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { this._visible = false; }
Instance of Symbol 478 MovieClip "Minion19" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct8" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct7" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct6" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct1" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct2" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 549 MovieClip "LifeBonus101" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 0, false); }
Instance of Symbol 533 MovieClip "destruct29" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct31" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct5" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct28" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct17" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 560 MovieClip "destruct18" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "Coussin"); this.gotoAndStop("Sleep"); }
Instance of Symbol 537 MovieClip "destruct33" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 541 MovieClip "destruct30" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 809 MovieClip "LifeBonus20" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 500, false); }
Instance of Symbol 541 MovieClip "destruct38" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 533 MovieClip "destruct9" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 528 MovieClip "destruct10" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion22" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Waffle"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct35" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct36" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct37" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus1" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus2" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus3" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 528 MovieClip "destruct34" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 818 MovieClip "destruct4" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 818 MovieClip "destruct3" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus4" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus5" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus6" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus7" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus8" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 827 MovieClip "destruct14" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 832 MovieClip "destruct11" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct13" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct12" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 832 MovieClip "destruct16" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 827 MovieClip "destruct15" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus9" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus10" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus11" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 522 MovieClip "destruct21" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct20" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct19" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 832 MovieClip "destruct22" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 832 MovieClip "destruct24" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 827 MovieClip "destruct23" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "pot"); this.gotoAndStop("Sleep"); }
Instance of Symbol 549 MovieClip "LifeBonus102" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 0, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus14" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus15" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus16" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 522 MovieClip "destruct26" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 522 MovieClip "destruct25" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 818 MovieClip "destruct27" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 818 MovieClip "destruct32" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerDestructObject(this._name, this._x, this._y, "tirroir"); this.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus17" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus18" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus19" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 478 MovieClip "Minion13" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion16" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion17" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion18" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion20" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion21" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "D"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion22" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Blik"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus12" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 374 MovieClip [minXBonus] "LifeBonus13" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerLifeBonus(this._name, this._x, this._y, 100, false); }
Instance of Symbol 478 MovieClip "Minion12" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 478 MovieClip "Minion15" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { var Dir = "G"; var Type = "Gordon"; _parent.Control.CreerShred(this._name, this._x, this._y, Dir, Type); this.gotoAndStop(Dir); this.Obj.gotoAndStop("Sleep"); }
Instance of Symbol 674 MovieClip "Pers" in Symbol 836 MovieClip Frame 2
onClipEvent (load) { _parent.Control.CreerPers(this._x, this._y, "Waffle"); this.gotoAndStop("D"); Etat = "Die"; }
Symbol 960 Button
on (release) { _global.ipbSend(_global.C.TotalScore); }
Symbol 918 Button
on (release) { gotoAndStop ("TitleCard"); }
Symbol 953 Button
on (press) { ControlScroll.scrollDown = true; } on (release, releaseOutside) { ControlScroll.scrollDown = false; }
Symbol 954 Button
on (press) { ControlScroll.scrollUp = true; } on (release, releaseOutside) { ControlScroll.scrollUp = false; }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:5 6
Symbol 5 MovieClipUses:4Used by:Timeline
Symbol 6 MovieClipUses:4Used by:Timeline
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:50 613
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:50 215 592 603 610 611 613 615 616 622 631 647 672
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:50
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:50
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:18 209
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:16 17Used by:50 592 603 611 615 616 622 631 647 672
Symbol 19 GraphicUsed by:22
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:22 45 213 592 603 605 613 625 630
Symbol 22 MovieClipUses:19 21Used by:50 615 672
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:29 215 603 610 611 613 622 672
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:29 215 603 610 611 613 622 672
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:29
Symbol 29 MovieClipUses:24 26 28Used by:50 592
Symbol 30 GraphicUsed by:37 214 599 621 672
Symbol 31 GraphicUsed by:32 172 340 362
Symbol 32 MovieClipUses:31Used by:37 58 214 215 592 599 603 610 611 613 615 616 621 622 631 647 672
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:37 214 599 621 672
Symbol 35 GraphicUsed by:37 214 599
Symbol 36 GraphicUsed by:37 214 599
Symbol 37 MovieClipUses:30 32 34 35 36Used by:50
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:50 603 610 611 613 647 672
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:50
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:50 215 592 603 610 611 613 615 616 622 672
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44 21Used by:50 610 611 672
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:50 603
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:50 216 603 613 614 647 672
Symbol 50 MovieClipUses:8 10 12 14 18 22 29 37 39 41 43 45 47 49Used by:673  Timeline
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:73 244 408 412 413 414 416 419 420 421 905
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:73 244 408 412 413 414 416 419 420 421 905  Timeline
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:57
Symbol 57 MovieClipUses:56Used by:58
Symbol 58 MovieClipUses:32 57Used by:73 408 412 413 414 416 419 420
Symbol 59 GraphicUsed by:62
Symbol 60 GraphicUsed by:61 163 198 953 954
Symbol 61 MovieClipUses:60Used by:62 72 78 83 154 158 162 220 239 241 243 271 275 381 392 406 407 410 425 432 450 452 473 475 946
Symbol 62 MovieClipUses:59 61Used by:70 415 417
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:70 244 411 415 417 418 420 421
Symbol 65 GraphicUsed by:70 78 226 381 392 411 415 418 426 447
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:70 78 226 381 392 411 415 417 418 426 447 476 477
Symbol 68 GraphicUsed by:70 78 381 392 411 415 418 426 447
Symbol 69 GraphicUsed by:70 78 381 392 411 415 418 426 447
Symbol 70 MovieClipUses:62 64 65 67 68 69Used by:73 408 413 414 419 420 905
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71 61Used by:73 408 412 413 414 416 419 420 905
Symbol 73 MovieClipUses:52 54 58 70 72Used by:Timeline
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:88 239 380 382 383 390 393 402 406 407 906
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:78 381 392
Symbol 78 MovieClipUses:77 61 65 67 68 69Used by:88 380 383 390 402 406 906
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:81 221
Symbol 81 MovieClipUses:80Used by:88 383
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82 61Used by:88 380 382 383 390 393 402 406 906
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:88 224 380 382 383 390 393 402 406 906
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:88 380 382 383 390 393 402 406 906
Symbol 88 MovieClipUses:75 78 81 83 85 87Used by:383  Timeline
Symbol 89 FontUsed by:90 91 92
Symbol 90 TextUses:89Used by:Timeline
Symbol 91 TextUses:89Used by:Timeline
Symbol 92 EditableTextUses:89Used by:Timeline
Symbol 93 FontUsed by:94
Symbol 94 EditableTextUses:93Used by:Timeline
Symbol 95 GraphicUsed by:Timeline
Symbol 96 GraphicUsed by:97
Symbol 97 ButtonUses:96Used by:Timeline
Symbol 98 GraphicUsed by:117
Symbol 99 Sound [gameMusic]Used by:117
Symbol 100 Sound [packMusic]Used by:117
Symbol 101 Sound [Pot]Used by:117
Symbol 102 Sound [Kick]Used by:117
Symbol 103 Sound [Jump]Used by:117
Symbol 104 Sound [Tirroir]Used by:117
Symbol 105 Sound [Objet]Used by:117
Symbol 106 Sound [Ball]Used by:117
Symbol 107 Sound [Lazer]Used by:117
Symbol 108 Sound [Crache]Used by:117
Symbol 109 Sound [Explos]Used by:117
Symbol 110 Sound [Bump]Used by:117
Symbol 111 Sound [electroc]Used by:117
Symbol 112 Sound [Coussin]Used by:117
Symbol 113 Sound [rBump]Used by:117
Symbol 114 Sound [rHead]Used by:117
Symbol 115 Sound [Missile]Used by:117
Symbol 116 Sound [Dead]Used by:117
Symbol 117 MovieClipUses:98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116Used by:Timeline
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:Timeline
Symbol 120 FontUsed by:121 122 125 128 129 130 188 189 200 201 202 203 707 708 709 711 712 713 957 958 959 915 916 917 919 920 951 955
Symbol 121 TextUses:120Used by:127 159 292 303
Symbol 122 TextUses:120Used by:127 159 292 303
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:127 154 159 292 303 710 714 918
Symbol 125 TextUses:120Used by:127 159 292 303
Symbol 126 GraphicUsed by:127 131 159 292 303 710 714 960 918
Symbol 127 ButtonUses:121 122 124 125 126Used by:160  Timeline
Symbol 128 TextUses:120Used by:131
Symbol 129 TextUses:120Used by:131
Symbol 130 TextUses:120Used by:131
Symbol 131 ButtonUses:128 129 130 126Used by:Timeline
Symbol 132 GraphicUsed by:304
Symbol 133 GraphicUsed by:304
Symbol 134 GraphicUsed by:135 312 313 729
Symbol 135 MovieClipUses:134Used by:304
Symbol 136 GraphicUsed by:304
Symbol 137 GraphicUsed by:140
Symbol 138 GraphicUsed by:140
Symbol 139 GraphicUsed by:140
Symbol 140 ButtonUses:137 138 139Used by:304
Symbol 141 GraphicUsed by:144
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:144
Symbol 144 MovieClipUses:141 143Used by:154
Symbol 145 GraphicUsed by:154
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:154
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:154
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:154
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:154
Symbol 154 MovieClipUses:144 145 147 61 149 124 151 153Used by:304
Symbol 155 GraphicUsed by:156
Symbol 156 ButtonUses:155Used by:304
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157 61Used by:160 304 960  Timeline
Symbol 159 ButtonUses:121 122 124 125 126Used by:160
Symbol 160 MovieClipUses:158 127 159Used by:304
Symbol 161 GraphicUsed by:162 163 198 953 954
Symbol 162 MovieClipUses:161 61Used by:163 197 198 953 954
Symbol 163 ButtonUses:162 161 60Used by:304
Symbol 164 FontUsed by:165 166 167 195 204 205 253 254 255 256
Symbol 165 TextUses:164Used by:304
Symbol 166 TextUses:164Used by:304
Symbol 167 TextUses:164Used by:304
Symbol 168 GraphicUsed by:178
Symbol 169 GraphicUsed by:173
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:173 187 406 420 476 802 924 936 940
Symbol 172 MovieClipUses:31Used by:173 185 187 759 802 924 934 936 940
Symbol 173 MovieClipUses:169 171 172Used by:177 178 571
Symbol 174 ShapeTweeningUsed by:177
Symbol 175 ShapeTweeningUsed by:177
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:174 175 173 176Used by:178 584
Symbol 178 MovieClipUses:168 173 177Used by:304
Symbol 179 GraphicUsed by:185
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:185 759 934
Symbol 182 GraphicUsed by:185
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:183Used by:185 759 934
Symbol 185 MovieClipUses:179 181 182 172 184Used by:304
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:186 171 172Used by:304
Symbol 188 TextUses:120Used by:190
Symbol 189 TextUses:120Used by:190
Symbol 190 MovieClipUses:188 189Used by:304
Symbol 191 GraphicUsed by:194
Symbol 192 FontUsed by:193
Symbol 193 TextUses:192Used by:194
Symbol 194 MovieClipUses:191 193Used by:304
Symbol 195 TextUses:164Used by:304
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:196 162Used by:304
Symbol 198 ButtonUses:162 161 60Used by:304
Symbol 199 GraphicUsed by:304
Symbol 200 TextUses:120Used by:304
Symbol 201 TextUses:120Used by:304
Symbol 202 TextUses:120Used by:304
Symbol 203 TextUses:120Used by:304
Symbol 204 TextUses:164Used by:304
Symbol 205 TextUses:164Used by:304
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClipUses:206Used by:215 592 603 610 611 613 615 616 622 631 647 672
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClipUses:208 16Used by:215 610 611 613 672
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:215 622
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212 21Used by:215 622
Symbol 214 MovieClipUses:30 32 34 35 36Used by:215 592 610 611 615 631 672
Symbol 215 MovieClipUses:10 207 209 43 211 213 24 26 32 214Used by:216 614 672
Symbol 216 MovieClipUses:49 215Used by:304
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:217Used by:239 406 407
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219 61Used by:239 406 407 944
Symbol 221 MovieClipUses:80Used by:239 380 382 383 390 393 402 406 407 906
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClipUses:222Used by:224 225 227
Symbol 224 MovieClipUses:223 85Used by:239 244 406 407 420 421 476 477  Timeline
Symbol 225 MovieClipUses:223Used by:239 244 406 407 420 421 476 477
Symbol 226 MovieClipUses:65 67Used by:227
Symbol 227 MovieClipUses:223 226Used by:239 244 406 407 420 421 476 477  Timeline
Symbol 228 GraphicUsed by:238
Symbol 229 GraphicUsed by:238
Symbol 230 GraphicUsed by:238
Symbol 231 GraphicUsed by:238
Symbol 232 GraphicUsed by:238
Symbol 233 GraphicUsed by:238
Symbol 234 GraphicUsed by:238
Symbol 235 GraphicUsed by:238
Symbol 236 GraphicUsed by:238
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:228 229 230 231 232 233 234 235 236 237Used by:239 244 406 407 420 421 476 477 944  Timeline
Symbol 239 MovieClipUses:75 218 61 220 221 224 225 227 238Used by:304
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240 61Used by:244 420 421
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242 61Used by:244 420 421
Symbol 244 MovieClipUses:54 241 243 64 52 224 225 227 238Used by:304
Symbol 245 GraphicUsed by:252
Symbol 246 GraphicUsed by:251
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:249 650 665 672
Symbol 249 MovieClipUses:248Used by:250
Symbol 250 MovieClipUses:249Used by:251 401 402 405
Symbol 251 MovieClipUses:246 250Used by:252
Symbol 252 MovieClipUses:245 251Used by:304
Symbol 253 TextUses:164Used by:304
Symbol 254 TextUses:164Used by:304
Symbol 255 TextUses:164Used by:304
Symbol 256 TextUses:164Used by:304
Symbol 257 GraphicUsed by:267
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClipUses:258Used by:266
Symbol 260 GraphicUsed by:266
Symbol 261 FontUsed by:262
Symbol 262 TextUses:261Used by:266
Symbol 263 GraphicUsed by:266
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:264Used by:266
Symbol 266 MovieClipUses:259 260 262 263 265Used by:267 545 548
Symbol 267 MovieClipUses:257 266Used by:304
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClipUses:268Used by:304
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270 61Used by:304
Symbol 272 FontUsed by:273 276 277 278 279 280 281 282 285 286 287 288 289 290 291 293 294 295 296 297 298 299 300 301 302 371 706 721 722 723 724 725 921 922 952 956 963
Symbol 273 TextUses:272Used by:304
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274 61Used by:304  Timeline
Symbol 276 TextUses:272Used by:304
Symbol 277 TextUses:272Used by:304
Symbol 278 TextUses:272Used by:304
Symbol 279 TextUses:272Used by:304
Symbol 280 TextUses:272Used by:304
Symbol 281 TextUses:272Used by:304
Symbol 282 TextUses:272Used by:304
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClipUses:283Used by:304
Symbol 285 TextUses:272Used by:304
Symbol 286 EditableTextUses:272Used by:304
Symbol 287 EditableTextUses:272Used by:304
Symbol 288 EditableTextUses:272Used by:304
Symbol 289 EditableTextUses:272Used by:304
Symbol 290 TextUses:272Used by:304
Symbol 291 EditableTextUses:272Used by:304
Symbol 292 ButtonUses:121 122 124 125 126Used by:304
Symbol 293 EditableTextUses:272Used by:304
Symbol 294 EditableTextUses:272Used by:304
Symbol 295 EditableTextUses:272Used by:304
Symbol 296 EditableTextUses:272Used by:304
Symbol 297 EditableTextUses:272Used by:304
Symbol 298 EditableTextUses:272Used by:304
Symbol 299 EditableTextUses:272Used by:304
Symbol 300 EditableTextUses:272Used by:304
Symbol 301 EditableTextUses:272Used by:304
Symbol 302 EditableTextUses:272Used by:304
Symbol 303 ButtonUses:121 122 124 125 126Used by:304
Symbol 304 MovieClipUses:132 133 135 136 140 154 156 160 163 165 166 167 178 185 187 190 194 195 197 198 199 200 201 202 203 204 205 216 239 244 252 253 254 255 256 267 269 271 273 275 276 277 278 279 280 281 282 284 285 286 287 288 289 290 291 158 292 293 294 295 296 297 298 299 300 301 302 303Used by:Timeline
Symbol 305 GraphicUsed by:314
Symbol 306 GraphicUsed by:311
Symbol 307 GraphicUsed by:311
Symbol 308 GraphicUsed by:311
Symbol 309 GraphicUsed by:311
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:306 307 308 309 310Used by:312 313
Symbol 312 MovieClipUses:311 134Used by:314
Symbol 313 MovieClipUses:311 134Used by:314
Symbol 314 MovieClipUses:305 312 313Used by:Timeline
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:Timeline
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:Timeline
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClipUses:319Used by:Timeline
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:321Used by:699 782 836
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:323Used by:699 782 836
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:325Used by:699 782 836
Symbol 327 BitmapUsed by:328 343
Symbol 328 GraphicUses:327Used by:329
Symbol 329 MovieClipUses:328Used by:366
Symbol 330 GraphicUsed by:333
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:331Used by:333
Symbol 333 MovieClipUses:330 332Used by:342
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClipUses:334Used by:342
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClipUses:336Used by:342
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClipUses:338Used by:342
Symbol 340 MovieClipUses:31Used by:342
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:333 335 337 339 340 341Used by:366
Symbol 343 GraphicUses:327Used by:344
Symbol 344 MovieClipUses:343Used by:366
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClipUses:345Used by:365
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:347Used by:365
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClipUses:349Used by:365
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:351Used by:365
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353Used by:359
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClipUses:355Used by:359
Symbol 357 GraphicUsed by:358
Symbol 358 MovieClipUses:357Used by:359
Symbol 359 MovieClipUses:354 356 358Used by:365
Symbol 360 GraphicUsed by:361
Symbol 361 MovieClipUses:360Used by:365
Symbol 362 MovieClipUses:31Used by:365
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:363Used by:365
Symbol 365 MovieClipUses:346 348 350 352 359 361 362 364Used by:366
Symbol 366 MovieClipUses:329 342 344 365Used by:699
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClipUses:367Used by:369 373
Symbol 369 MovieClipUses:368Used by:374
Symbol 370 ShapeTweeningUsed by:373
Symbol 371 TextUses:272Used by:373
Symbol 372 GraphicUsed by:373
Symbol 373 MovieClipUses:370 368 371 372Used by:374
Symbol 374 MovieClip [minXBonus]Uses:369 373Used by:699 782 836
Symbol 375 BitmapUsed by:376
Symbol 376 GraphicUses:375Used by:377
Symbol 377 MovieClipUses:376Used by:699 782
Symbol 378 GraphicUsed by:379 716 719
Symbol 379 MovieClipUses:378Used by:407 421 477
Symbol 380 MovieClipUses:75 78 221 83 85 87Used by:383 390 402 407
Symbol 381 MovieClipUses:77 61 68 67 69 65Used by:382
Symbol 382 MovieClipUses:75 381 221 83 85 87Used by:407
Symbol 383 MovieClipUses:88 75 78 81 83 85 87 221 380Used by:407
Symbol 384 GraphicUsed by:387
Symbol 385 GraphicUsed by:387
Symbol 386 GraphicUsed by:387
Symbol 387 MovieClipUses:384 385 386Used by:390
Symbol 388 GraphicUsed by:390
Symbol 389 GraphicUsed by:390
Symbol 390 MovieClipUses:387 75 78 221 83 85 87 388 389 380Used by:407
Symbol 391 GraphicUsed by:392 415 417
Symbol 392 MovieClipUses:77 61 65 67 391 68 69Used by:393
Symbol 393 MovieClipUses:75 392 221 83 85 87Used by:407
Symbol 394 GraphicUsed by:395
Symbol 395 MovieClipUses:394Used by:402
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:398
Symbol 398 MovieClipUses:397Used by:401
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:401
Symbol 401 MovieClipUses:398 400 250Used by:402
Symbol 402 MovieClipUses:75 78 221 83 85 87 395 250 401 380Used by:407
Symbol 403 GraphicUsed by:404
Symbol 404 MovieClipUses:403Used by:405
Symbol 405 MovieClipUses:404 250Used by:406 420 476 696
Symbol 406 MovieClipUses:75 78 221 83 85 87 405 171 218 61 220 224 225 227 238Used by:407
Symbol 407 MovieClipUses:379 380 382 383 390 393 402 406 75 218 61 220 221 224 225 227 238Used by:478
Symbol 408 MovieClipUses:54 58 70 72 52Used by:421
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClipUses:409 61Used by:411 418
Symbol 411 MovieClipUses:410 64 68 67 69 65Used by:412
Symbol 412 MovieClipUses:54 58 411 72 52Used by:421
Symbol 413 MovieClipUses:52 54 58 70 72Used by:414
Symbol 414 MovieClipUses:52 54 58 70 72 413Used by:421
Symbol 415 MovieClipUses:62 64 65 67 391 68 69Used by:416
Symbol 416 MovieClipUses:54 58 415 72 52Used by:421
Symbol 417 MovieClipUses:62 64 391 67Used by:419
Symbol 418 MovieClipUses:410 64 68 67 69 65Used by:419
Symbol 419 MovieClipUses:52 54 58 417 72 70 418Used by:421
Symbol 420 MovieClipUses:54 58 70 72 52 405 171 241 243 64 224 225 227 238Used by:421
Symbol 421 MovieClipUses:408 379 412 414 416 419 420 54 241 243 64 52 224 227 238 225Used by:478
Symbol 422 GraphicUsed by:423
Symbol 423 MovieClipUses:422Used by:445 446 448 469 476 477  Timeline
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClipUses:424 61Used by:426 447
Symbol 426 MovieClipUses:425 65 67 68 69Used by:445 446 469 476 477  Timeline
Symbol 427 GraphicUsed by:428
Symbol 428 MovieClipUses:427Used by:445 446 477
Symbol 429 GraphicUsed by:430
Symbol 430 MovieClipUses:429Used by:445 446 448 469 476 477  Timeline
Symbol 431 GraphicUsed by:432
Symbol 432 MovieClipUses:431 61Used by:445 446 448 469 476 477  Timeline
Symbol 433 GraphicUsed by:434
Symbol 434 MovieClipUses:433Used by:445 446 448 469 476 477  Timeline
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:435Used by:445
Symbol 437 GraphicUsed by:438
Symbol 438 MovieClipUses:437Used by:445 446
Symbol 439 GraphicUsed by:440
Symbol 440 MovieClipUses:439Used by:445 446 448 469 476  Timeline
Symbol 441 GraphicUsed by:442
Symbol 442 MovieClipUses:441Used by:445 446 448 469 476 477  Timeline
Symbol 443 GraphicUsed by:444
Symbol 444 MovieClipUses:443Used by:445 446 448 469 476 477
Symbol 445 MovieClipUses:423 426 428 430 432 434 436 438 440 442 444Used by:477
Symbol 446 MovieClipUses:423 426 430 440 444 434 442 432 428 438Used by:477
Symbol 447 MovieClipUses:425 68 67 69 65Used by:448
Symbol 448 MovieClipUses:423 447 430 440 444 434 442 432Used by:477
Symbol 449 GraphicUsed by:450
Symbol 450 MovieClipUses:449 61Used by:469
Symbol 451 GraphicUsed by:452
Symbol 452 MovieClipUses:451 61Used by:469
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:453Used by:455
Symbol 455 MovieClipUses:454Used by:467 469
Symbol 456 GraphicUsed by:463
Symbol 457 GraphicUsed by:462
Symbol 458 GraphicUsed by:462
Symbol 459 GraphicUsed by:462
Symbol 460 GraphicUsed by:462
Symbol 461 GraphicUsed by:462
Symbol 462 MovieClipUses:457 458 459 460 461Used by:463
Symbol 463 MovieClipUses:456 462Used by:464 465
Symbol 464 MovieClipUses:463Used by:466
Symbol 465 MovieClipUses:463Used by:466
Symbol 466 MovieClipUses:464 465Used by:469
Symbol 467 MovieClipUses:455Used by:468
Symbol 468 MovieClipUses:467Used by:469
Symbol 469 MovieClipUses:434 442 440 444 423 426 430 432 450 452 455 466 468Used by:477
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:470Used by:476 477
Symbol 472 GraphicUsed by:473
Symbol 473 MovieClipUses:472 61Used by:476 477
Symbol 474 GraphicUsed by:475
Symbol 475 MovieClipUses:474 61Used by:476 477
Symbol 476 MovieClipUses:423 426 430 440 444 434 442 432 405 171 471 473 67 475 224 225 227 238Used by:477
Symbol 477 MovieClipUses:423 426 428 430 432 434 445 379 446 448 469 476 471 473 67 442 475 444 224 227 238 225Used by:478
Symbol 478 MovieClipUses:407 421 477Used by:699 782 836
Symbol 479 GraphicUsed by:480
Symbol 480 MovieClipUses:479Used by:487
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClipUses:481Used by:487
Symbol 483 GraphicUsed by:484 751 791
Symbol 484 MovieClipUses:483Used by:487
Symbol 485 GraphicUsed by:486
Symbol 486 MovieClipUses:485Used by:487
Symbol 487 MovieClipUses:480 482 484 486Used by:699
Symbol 488 BitmapUsed by:489
Symbol 489 GraphicUses:488Used by:490
Symbol 490 MovieClipUses:489Used by:699 782 836
Symbol 491 BitmapUsed by:492
Symbol 492 GraphicUses:491Used by:493
Symbol 493 MovieClipUses:492Used by:494
Symbol 494 MovieClipUses:493Used by:699 782 836
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:497
Symbol 497 MovieClipUses:496Used by:498
Symbol 498 MovieClipUses:497Used by:699
Symbol 499 GraphicUsed by:506
Symbol 500 GraphicUsed by:501
Symbol 501 MovieClipUses:500Used by:506
Symbol 502 GraphicUsed by:506
Symbol 503 BitmapUsed by:504 886
Symbol 504 GraphicUses:503Used by:505
Symbol 505 MovieClipUses:504Used by:506 885 894
Symbol 506 MovieClipUses:499 501 502 505Used by:699 836  Timeline
Symbol 507 BitmapUsed by:508
Symbol 508 GraphicUses:507Used by:509
Symbol 509 MovieClipUses:508Used by:510
Symbol 510 MovieClipUses:509Used by:699 782 836  Timeline
Symbol 511 BitmapUsed by:512
Symbol 512 GraphicUses:511Used by:513
Symbol 513 MovieClipUses:512Used by:699 782 836
Symbol 514 GraphicUsed by:517
Symbol 515 GraphicUsed by:516
Symbol 516 MovieClipUses:515Used by:517
Symbol 517 MovieClipUses:514 516Used by:522
Symbol 518 GraphicUsed by:522
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:521
Symbol 521 MovieClipUses:520Used by:522 528 533 537 541 775 818 827 832
Symbol 522 MovieClipUses:517 518 521Used by:699 782 836
Symbol 523 BitmapUsed by:524 526 529 531
Symbol 524 GraphicUses:523Used by:525
Symbol 525 MovieClipUses:524Used by:528
Symbol 526 GraphicUses:523Used by:527
Symbol 527 MovieClipUses:526Used by:528
Symbol 528 MovieClipUses:525 527 521Used by:699 782 836
Symbol 529 GraphicUses:523Used by:530
Symbol 530 MovieClipUses:529Used by:533
Symbol 531 GraphicUses:523Used by:532
Symbol 532 MovieClipUses:531Used by:533
Symbol 533 MovieClipUses:530 532 521Used by:699 782 836
Symbol 534 GraphicUsed by:535
Symbol 535 MovieClipUses:534Used by:537
Symbol 536 GraphicUsed by:537
Symbol 537 MovieClipUses:535 536 521Used by:699 782 836
Symbol 538 GraphicUsed by:539
Symbol 539 MovieClipUses:538Used by:541
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:539 540 521Used by:699 782 836
Symbol 542 ShapeTweeningUsed by:545
Symbol 543 ShapeTweeningUsed by:545
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClipUses:542 266 543 544Used by:549
Symbol 546 ShapeTweeningUsed by:548
Symbol 547 GraphicUsed by:548
Symbol 548 MovieClipUses:546 266 547Used by:549
Symbol 549 MovieClipUses:545 548Used by:699 782 836
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:552
Symbol 552 MovieClipUses:551Used by:699 782 836
Symbol 553 BitmapUsed by:554
Symbol 554 GraphicUses:553Used by:555
Symbol 555 MovieClipUses:554Used by:699 836
Symbol 556 GraphicUsed by:557
Symbol 557 MovieClipUses:556Used by:560
Symbol 558 GraphicUsed by:559
Symbol 559 MovieClipUses:558Used by:560
Symbol 560 MovieClipUses:557 559Used by:699 782 836
Symbol 561 BitmapUsed by:562
Symbol 562 GraphicUses:561Used by:563
Symbol 563 MovieClipUses:562Used by:699 782 836
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClipUses:564Used by:584
Symbol 566 ShapeTweeningUsed by:571
Symbol 567 ShapeTweeningUsed by:571
Symbol 568 ShapeTweeningUsed by:571
Symbol 569 ShapeTweeningUsed by:571
Symbol 570 GraphicUsed by:571
Symbol 571 MovieClipUses:566 567 173 568 569 570Used by:584
Symbol 572 GraphicUsed by:584
Symbol 573 GraphicUsed by:574
Symbol 574 MovieClipUses:573Used by:584 768 809
Symbol 575 GraphicUsed by:576 578
Symbol 576 MovieClipUses:575Used by:584 768 809
Symbol 577 GraphicUsed by:578
Symbol 578 MovieClipUses:577 575Used by:584 768 809
Symbol 579 GraphicUsed by:580 583
Symbol 580 MovieClipUses:579Used by:584 768 809
Symbol 581 GraphicUsed by:584
Symbol 582 GraphicUsed by:583
Symbol 583 MovieClipUses:582 579Used by:584 768 809
Symbol 584 MovieClipUses:565 571 572 574 576 578 580 581 583 177Used by:699
Symbol 585 GraphicUsed by:592 606
Symbol 586 GraphicUsed by:587
Symbol 587 MovieClipUses:586Used by:592 611 615 616 631 647 672
Symbol 588 ShapeTweeningUsed by:592
Symbol 589 GraphicUsed by:592
Symbol 590 ShapeTweeningUsed by:592
Symbol 591 GraphicUsed by:592
Symbol 592 MovieClipUses:585 18 43 207 587 588 32 21 29 10 214 589 590 591Used by:603 673
Symbol 593 GraphicUsed by:594
Symbol 594 MovieClipUses:593Used by:673
Symbol 595 GraphicUsed by:596
Symbol 596 MovieClipUses:595Used by:603 613
Symbol 597 GraphicUsed by:598
Symbol 598 MovieClipUses:597Used by:603 613
Symbol 599 MovieClipUses:35 34 36 32 30Used by:603 611 613 616 647 672
Symbol 600 GraphicUsed by:603 613
Symbol 601 GraphicUsed by:603 613
Symbol 602 GraphicUsed by:603 613
Symbol 603 MovieClipUses:18 43 47 10 207 39 596 21 32 598 24 26 599 600 601 49 602 592Used by:673
Symbol 604 GraphicUsed by:605
Symbol 605 MovieClipUses:604 21Used by:611 616 672
Symbol 606 MovieClipUses:585Used by:611 615 616 631
Symbol 607 GraphicUsed by:611 615 616 672
Symbol 608 GraphicUsed by:609
Symbol 609 MovieClipUses:608Used by:610 611 672
Symbol 610 MovieClipUses:39 10 207 209 43 609 45 24 26 32 214Used by:611 612 672
Symbol 611 MovieClipUses:18 10 207 605 606 587 607 599 43 32 39 209 609 45 24 26 214 610Used by:673
Symbol 612 MovieClipUses:610Used by:673
Symbol 613 MovieClipUses:8 43 10 207 39 596 21 32 598 209 24 26 599 600 601 49 602Used by:673
Symbol 614 MovieClipUses:49 215Used by:673
Symbol 615 MovieClipUses:18 43 207 606 587 22 607 32 10 214Used by:616
Symbol 616 MovieClipUses:18 10 207 605 606 587 607 599 43 32 615Used by:673
Symbol 617 GraphicUsed by:618
Symbol 618 MovieClipUses:617Used by:622 672
Symbol 619 GraphicUsed by:620
Symbol 620 MovieClipUses:619Used by:622
Symbol 621 MovieClipUses:30 32 34Used by:622 672
Symbol 622 MovieClipUses:618 43 10 207 18 211 213 24 26 32 620 621Used by:623
Symbol 623 MovieClipUses:622Used by:673
Symbol 624 GraphicUsed by:625
Symbol 625 MovieClipUses:624 21Used by:647
Symbol 626 GraphicUsed by:631 647
Symbol 627 GraphicUsed by:628
Symbol 628 MovieClipUses:627Used by:631 647
Symbol 629 GraphicUsed by:630
Symbol 630 MovieClipUses:629 21Used by:631
Symbol 631 MovieClipUses:18 628 606 587 630 626 32 10 207 214Used by:647
Symbol 632 GraphicUsed by:633
Symbol 633 MovieClipUses:632Used by:646
Symbol 634 GraphicUsed by:635
Symbol 635 MovieClipUses:634Used by:646
Symbol 636 GraphicUsed by:637
Symbol 637 MovieClipUses:636Used by:646
Symbol 638 GraphicUsed by:639
Symbol 639 MovieClipUses:638Used by:646
Symbol 640 GraphicUsed by:641
Symbol 641 MovieClipUses:640Used by:646
Symbol 642 GraphicUsed by:643
Symbol 643 MovieClipUses:642Used by:646
Symbol 644 GraphicUsed by:645
Symbol 645 MovieClipUses:644Used by:646
Symbol 646 MovieClipUses:633 635 637 639 641 643 645Used by:647
Symbol 647 MovieClipUses:18 10 207 49 625 587 626 599 628 32 39 631 646Used by:673
Symbol 648 GraphicUsed by:649
Symbol 649 MovieClipUses:648Used by:669 672
Symbol 650 MovieClipUses:248Used by:651
Symbol 651 MovieClipUses:650Used by:664
Symbol 652 GraphicUsed by:653
Symbol 653 MovieClipUses:652Used by:664
Symbol 654 GraphicUsed by:655
Symbol 655 MovieClipUses:654Used by:664
Symbol 656 GraphicUsed by:657
Symbol 657 MovieClipUses:656Used by:664
Symbol 658 GraphicUsed by:659
Symbol 659 MovieClipUses:658Used by:664
Symbol 660 GraphicUsed by:661
Symbol 661 MovieClipUses:660Used by:664
Symbol 662 GraphicUsed by:663
Symbol 663 MovieClipUses:662Used by:664
Symbol 664 MovieClipUses:651 653 655 657 659 661 663Used by:665 672
Symbol 665 MovieClipUses:664 248Used by:672
Symbol 666 GraphicUsed by:667
Symbol 667 MovieClipUses:666Used by:672
Symbol 668 GraphicUsed by:669
Symbol 669 MovieClipUses:668 649Used by:671
Symbol 670 GraphicUsed by:671
Symbol 671 MovieClipUses:669 670Used by:672
Symbol 672 MovieClipUses:18 43 207 618 587 22 32 10 607 214 599 30 34 649 24 26 605 39 209 609 45 610 49 215 665 664 667 621 671 248Used by:673
Symbol 673 MovieClipUses:592 594 50 603 611 612 613 614 616 623 647 672Used by:674
Symbol 674 MovieClipUses:673Used by:699 782 836
Symbol 675 GraphicUsed by:676
Symbol 676 MovieClipUses:675Used by:679 695
Symbol 677 GraphicUsed by:678
Symbol 678 MovieClipUses:677Used by:679 695
Symbol 679 MovieClipUses:676 678Used by:680
Symbol 680 MovieClipUses:679Used by:681
Symbol 681 MovieClipUses:680Used by:693 696
Symbol 682 MovieClipUsed by:693 696
Symbol 683 ShapeTweeningUsed by:686
Symbol 684 ShapeTweeningUsed by:686
Symbol 685 GraphicUsed by:686
Symbol 686 MovieClipUses:683 684 685Used by:687
Symbol 687 MovieClipUses:686Used by:693
Symbol 688 GraphicUsed by:689
Symbol 689 MovieClipUses:688Used by:692
Symbol 690 GraphicUsed by:691
Symbol 691 MovieClipUses:690Used by:692
Symbol 692 MovieClipUses:689 691Used by:693
Symbol 693 MovieClipUses:681 682 687 692Used by:694
Symbol 694 MovieClipUses:693Used by:698
Symbol 695 MovieClipUses:676 678Used by:696
Symbol 696 MovieClipUses:681 682 405 695Used by:697
Symbol 697 MovieClipUses:696Used by:698
Symbol 698 MovieClipUses:694 697Used by:699 782 836
Symbol 699 MovieClipUses:322 324 326 366 374 377 478 487 490 494 498 506 510 513 522 528 533 537 541 549 552 555 560 563 584 674 698Used by:Timeline
Symbol 700 BitmapUsed by:701
Symbol 701 GraphicUses:700Used by:730
Symbol 702 GraphicUsed by:705
Symbol 703 GraphicUsed by:704
Symbol 704 MovieClipUses:703Used by:705
Symbol 705 MovieClipUses:702 704Used by:730
Symbol 706 EditableTextUses:272Used by:730
Symbol 707 TextUses:120Used by:710
Symbol 708 TextUses:120Used by:710
Symbol 709 TextUses:120Used by:710
Symbol 710 ButtonUses:707 708 124 709 126Used by:730
Symbol 711 TextUses:120Used by:714
Symbol 712 TextUses:120Used by:714
Symbol 713 TextUses:120Used by:714
Symbol 714 ButtonUses:711 712 124 713 126Used by:730
Symbol 715 GraphicUsed by:716 719
Symbol 716 ButtonUses:715 378Used by:720
Symbol 717 GraphicUsed by:718
Symbol 718 MovieClipUses:717Used by:719
Symbol 719 ButtonUses:715 718 378Used by:720
Symbol 720 MovieClipUses:716 719Used by:730
Symbol 721 EditableTextUses:272Used by:730
Symbol 722 EditableTextUses:272Used by:730
Symbol 723 TextUses:272Used by:730
Symbol 724 EditableTextUses:272Used by:730
Symbol 725 EditableTextUses:272Used by:730
Symbol 726 GraphicUsed by:729
Symbol 727 GraphicUsed by:729
Symbol 728 GraphicUsed by:729
Symbol 729 ButtonUses:726 727 728 134Used by:730
Symbol 730 MovieClipUses:701 705 706 710 714 720 721 722 723 724 725 729Used by:Timeline
Symbol 731 GraphicUsed by:732
Symbol 732 ButtonUses:731Used by:Timeline
Symbol 733 GraphicUsed by:742
Symbol 734 FontUsed by:735 736 737 738 739 740
Symbol 735 TextUses:734Used by:741
Symbol 736 TextUses:734Used by:741
Symbol 737 EditableTextUses:734Used by:741
Symbol 738 TextUses:734Used by:741
Symbol 739 TextUses:734Used by:741
Symbol 740 EditableTextUses:734Used by:741
Symbol 741 MovieClipUses:735 736 737 738 739 740Used by:742
Symbol 742 MovieClipUses:733 741Used by:Timeline
Symbol 743 BitmapUsed by:744
Symbol 744 GraphicUses:743Used by:745
Symbol 745 MovieClipUses:744Used by:746
Symbol 746 MovieClipUses:745Used by:782
Symbol 747 GraphicUsed by:748
Symbol 748 MovieClipUses:747Used by:754
Symbol 749 GraphicUsed by:750
Symbol 750 MovieClipUses:749Used by:754
Symbol 751 MovieClipUses:483Used by:754
Symbol 752 GraphicUsed by:753
Symbol 753 MovieClipUses:752Used by:754
Symbol 754 MovieClipUses:748 750 751 753Used by:782
Symbol 755 GraphicUsed by:756
Symbol 756 MovieClipUses:755Used by:768
Symbol 757 ShapeTweeningUsed by:762
Symbol 758 GraphicUsed by:759
Symbol 759 MovieClipUses:181 758 172 184Used by:762 767
Symbol 760 ShapeTweeningUsed by:762
Symbol 761 GraphicUsed by:762
Symbol 762 MovieClipUses:757 759 760 761Used by:768
Symbol 763 GraphicUsed by:768 809
Symbol 764 GraphicUsed by:768 809
Symbol 765 ShapeTweeningUsed by:767
Symbol 766 GraphicUsed by:767
Symbol 767 MovieClipUses:765 759 766Used by:768
Symbol 768 MovieClipUses:756 762 763 574 578 580 764 576 583 767Used by:782
Symbol 769 BitmapUsed by:770
Symbol 770 GraphicUses:769Used by:771
Symbol 771 MovieClipUses:770Used by:782
Symbol 772 GraphicUsed by:773
Symbol 773 MovieClipUses:772Used by:775
Symbol 774 GraphicUsed by:775
Symbol 775 MovieClipUses:773 774 521Used by:782
Symbol 776 BitmapUsed by:777
Symbol 777 GraphicUses:776Used by:778
Symbol 778 MovieClipUses:777Used by:782 836
Symbol 779 BitmapUsed by:780
Symbol 780 GraphicUses:779Used by:781
Symbol 781 MovieClipUses:780Used by:782
Symbol 782 MovieClipUses:322 324 326 746 374 377 478 513 754 490 533 528 563 560 541 768 510 494 537 522 549 771 775 778 552 781 674 698Used by:Timeline
Symbol 783 BitmapUsed by:784
Symbol 784 GraphicUses:783Used by:785
Symbol 785 MovieClipUses:784Used by:786
Symbol 786 MovieClipUses:785Used by:836
Symbol 787 GraphicUsed by:788
Symbol 788 MovieClipUses:787Used by:794
Symbol 789 GraphicUsed by:790
Symbol 790 MovieClipUses:789Used by:794
Symbol 791 MovieClipUses:483Used by:794
Symbol 792 GraphicUsed by:793
Symbol 793 MovieClipUses:792Used by:794
Symbol 794 MovieClipUses:788 790 791 793Used by:836
Symbol 795 BitmapUsed by:796
Symbol 796 GraphicUses:795Used by:797
Symbol 797 MovieClipUses:796Used by:836
Symbol 798 GraphicUsed by:799
Symbol 799 MovieClipUses:798Used by:809
Symbol 800 ShapeTweeningUsed by:805
Symbol 801 GraphicUsed by:802
Symbol 802 MovieClipUses:801 171 172Used by:805 808
Symbol 803 ShapeTweeningUsed by:805
Symbol 804 GraphicUsed by:805
Symbol 805 MovieClipUses:800 802 803 804Used by:809
Symbol 806 ShapeTweeningUsed by:808
Symbol 807 GraphicUsed by:808
Symbol 808 MovieClipUses:806 802 807Used by:809
Symbol 809 MovieClipUses:799 805 763 574 578 580 764 576 583 808Used by:836
Symbol 810 BitmapUsed by:811
Symbol 811 GraphicUses:810Used by:812
Symbol 812 MovieClipUses:811Used by:836
Symbol 813 GraphicUsed by:816
Symbol 814 GraphicUsed by:815
Symbol 815 MovieClipUses:814Used by:816
Symbol 816 MovieClipUses:813 815Used by:818
Symbol 817 GraphicUsed by:818
Symbol 818 MovieClipUses:816 817 521Used by:836
Symbol 819 BitmapUsed by:820
Symbol 820 GraphicUses:819Used by:821
Symbol 821 MovieClipUses:820Used by:836
Symbol 822 BitmapUsed by:823 825 828 830
Symbol 823 GraphicUses:822Used by:824
Symbol 824 MovieClipUses:823Used by:827
Symbol 825 GraphicUses:822Used by:826
Symbol 826 MovieClipUses:825Used by:827
Symbol 827 MovieClipUses:824 826 521Used by:836
Symbol 828 GraphicUses:822Used by:829
Symbol 829 MovieClipUses:828Used by:832
Symbol 830 GraphicUses:822Used by:831
Symbol 831 MovieClipUses:830Used by:832
Symbol 832 MovieClipUses:829 831 521Used by:836
Symbol 833 BitmapUsed by:834
Symbol 834 GraphicUses:833Used by:835
Symbol 835 MovieClipUses:834Used by:836
Symbol 836 MovieClipUses:322 324 326 786 478 794 490 797 510 513 522 494 533 528 549 552 555 560 563 537 541 809 506 374 812 818 778 821 827 832 835 674 698Used by:Timeline
Symbol 837 GraphicUsed by:838
Symbol 838 MovieClipUses:837Used by:Timeline
Symbol 839 GraphicUsed by:840
Symbol 840 MovieClipUses:839Used by:Timeline
Symbol 841 MovieClipUsed by:Timeline
Symbol 842 GraphicUsed by:843
Symbol 843 MovieClipUses:842Used by:Timeline
Symbol 844 GraphicUsed by:845
Symbol 845 MovieClipUses:844Used by:Timeline
Symbol 846 GraphicUsed by:885
Symbol 847 GraphicUsed by:848
Symbol 848 MovieClipUses:847Used by:852
Symbol 849 GraphicUsed by:852
Symbol 850 GraphicUsed by:851
Symbol 851 MovieClipUses:850Used by:852
Symbol 852 MovieClipUses:848 849 851Used by:885
Symbol 853 GraphicUsed by:854
Symbol 854 MovieClipUses:853Used by:885
Symbol 855 GraphicUsed by:856
Symbol 856 MovieClipUses:855Used by:866
Symbol 857 GraphicUsed by:866
Symbol 858 GraphicUsed by:859
Symbol 859 MovieClipUses:858Used by:866
Symbol 860 GraphicUsed by:861
Symbol 861 MovieClipUses:860Used by:866
Symbol 862 GraphicUsed by:863
Symbol 863 MovieClipUses:862Used by:866
Symbol 864 GraphicUsed by:865
Symbol 865 MovieClipUses:864Used by:866
Symbol 866 MovieClipUses:856 857 859 861 863 865Used by:885
Symbol 867 GraphicUsed by:868
Symbol 868 MovieClipUses:867Used by:885
Symbol 869 GraphicUsed by:870
Symbol 870 MovieClipUses:869Used by:880
Symbol 871 GraphicUsed by:880
Symbol 872 GraphicUsed by:873
Symbol 873 MovieClipUses:872Used by:880
Symbol 874 GraphicUsed by:875
Symbol 875 MovieClipUses:874Used by:880
Symbol 876 GraphicUsed by:877
Symbol 877 MovieClipUses:876Used by:880
Symbol 878 GraphicUsed by:879
Symbol 879 MovieClipUses:878Used by:880
Symbol 880 MovieClipUses:870 871 873 875 877 879Used by:885
Symbol 881 GraphicUsed by:885
Symbol 882 GraphicUsed by:883
Symbol 883 MovieClipUses:882Used by:885
Symbol 884 GraphicUsed by:885
Symbol 885 MovieClipUses:846 852 854 866 868 880 881 883 884 505Used by:Timeline
Symbol 886 GraphicUses:503Used by:887
Symbol 887 MovieClipUses:886Used by:894
Symbol 888 GraphicUsed by:894
Symbol 889 GraphicUsed by:890
Symbol 890 MovieClipUses:889Used by:894
Symbol 891 GraphicUsed by:892
Symbol 892 MovieClipUses:891Used by:894
Symbol 893 GraphicUsed by:894
Symbol 894 MovieClipUses:887 888 890 892 893 505Used by:Timeline
Symbol 895 GraphicUsed by:896
Symbol 896 MovieClipUses:895Used by:Timeline
Symbol 897 GraphicUsed by:898
Symbol 898 MovieClipUses:897Used by:Timeline
Symbol 899 GraphicUsed by:900
Symbol 900 MovieClipUses:899Used by:Timeline
Symbol 901 GraphicUsed by:902
Symbol 902 MovieClipUses:901Used by:Timeline
Symbol 903 GraphicUsed by:904
Symbol 904 MovieClipUses:903Used by:905
Symbol 905 MovieClipUses:52 54 70 904 72Used by:Timeline
Symbol 906 MovieClipUses:75 78 221 83 85 87Used by:Timeline
Symbol 907 GraphicUsed by:908
Symbol 908 MovieClipUses:907Used by:Timeline
Symbol 909 GraphicUsed by:910
Symbol 910 MovieClipUses:909Used by:Timeline
Symbol 957 TextUses:120Used by:960
Symbol 958 TextUses:120Used by:960
Symbol 959 TextUses:120Used by:960
Symbol 960 ButtonUses:158 957 958 959 126Used by:Timeline
Symbol 915 TextUses:120Used by:918
Symbol 916 TextUses:120Used by:918
Symbol 917 TextUses:120Used by:918
Symbol 918 ButtonUses:915 124 916 917 126Used by:Timeline
Symbol 919 TextUses:120Used by:Timeline
Symbol 920 TextUses:120Used by:Timeline
Symbol 921 TextUses:272Used by:Timeline
Symbol 922 EditableTextUses:272Used by:Timeline
Symbol 923 GraphicUsed by:924
Symbol 924 MovieClipUses:923 171 172Used by:941
Symbol 925 GraphicUsed by:926
Symbol 926 MovieClipUses:925Used by:941
Symbol 927 GraphicUsed by:930
Symbol 928 GraphicUsed by:929
Symbol 929 MovieClipUses:928Used by:930
Symbol 930 MovieClipUses:927 929Used by:941
Symbol 931 GraphicUsed by:932
Symbol 932 MovieClipUses:931Used by:941
Symbol 933 GraphicUsed by:934
Symbol 934 MovieClipUses:181 933 172 184Used by:941
Symbol 935 GraphicUsed by:936
Symbol 936 MovieClipUses:935 171 172Used by:941
Symbol 937 GraphicUsed by:938
Symbol 938 MovieClipUses:937Used by:941
Symbol 939 GraphicUsed by:940
Symbol 940 MovieClipUses:939 171 172Used by:941
Symbol 941 MovieClipUses:924 926 930 932 934 936 938 940Used by:Timeline
Symbol 942 GraphicUsed by:944
Symbol 943 GraphicUsed by:944
Symbol 944 MovieClipUses:942 220 943 238Used by:Timeline
Symbol 945 GraphicUsed by:946
Symbol 946 MovieClipUses:945 61Used by:Timeline
Symbol 947 GraphicUsed by:950
Symbol 948 GraphicUsed by:949
Symbol 949 MovieClipUses:948Used by:950
Symbol 950 MovieClipUses:947 949Used by:Timeline
Symbol 951 TextUses:120Used by:Timeline
Symbol 952 EditableTextUses:272Used by:Timeline
Symbol 953 ButtonUses:162 161 60Used by:Timeline
Symbol 954 ButtonUses:162 161 60Used by:Timeline
Symbol 955 TextUses:120Used by:Timeline
Symbol 956 TextUses:272Used by:Timeline
Symbol 961 FontUsed by:962
Symbol 962 EditableTextUses:961Used by:Timeline
Symbol 963 EditableTextUses:272Used by:Timeline
Symbol 964 GraphicUsed by:967
Symbol 965 FontUsed by:966
Symbol 966 TextUses:965Used by:967
Symbol 967 MovieClipUses:964 966Used by:Timeline

Instance Names

"Loading_txtO"Frame 1Symbol 92 EditableText
"Loading_txt"Frame 1Symbol 94 EditableText
"capture"Frame 1Symbol 97 Button
"Popup"Frame 7Symbol 304 MovieClip
"Transition"Frame 7Symbol 314 MovieClip
"Game"Frame 14Symbol 699 MovieClip
"Hud"Frame 14Symbol 730 MovieClip
"FocusBtn"Frame 14Symbol 732 Button
"ShowLeft"Frame 14Symbol 742 MovieClip
"Game"Frame 19Symbol 782 MovieClip
"Game"Frame 24Symbol 836 MovieClip
"btn_viw_score"Frame 31Symbol 960 Button
"btn_submit_score"Frame 42Symbol 960 Button
"txt_highScore"Frame 42Symbol 962 EditableText
"ControlScroll"Frame 42Symbol 967 MovieClip
"Etat"Symbol 178 MovieClip Frame 10Symbol 177 MovieClip
"backBtn"Symbol 304 MovieClip Frame 2Symbol 135 MovieClip
"BackBtn"Symbol 304 MovieClip Frame 7Symbol 156 Button
"Score_txt"Symbol 304 MovieClip Frame 25Symbol 286 EditableText
"collected_txt"Symbol 304 MovieClip Frame 25Symbol 287 EditableText
"Minute"Symbol 304 MovieClip Frame 25Symbol 288 EditableText
"Seconde"Symbol 304 MovieClip Frame 25Symbol 289 EditableText
"Seconde2"Symbol 304 MovieClip Frame 25Symbol 291 EditableText
"Score_txt"Symbol 304 MovieClip Frame 38Symbol 293 EditableText
"collected_txt"Symbol 304 MovieClip Frame 38Symbol 294 EditableText
"Minute"Symbol 304 MovieClip Frame 38Symbol 295 EditableText
"Seconde"Symbol 304 MovieClip Frame 38Symbol 296 EditableText
"Seconde2"Symbol 304 MovieClip Frame 38Symbol 297 EditableText
"Score_txt"Symbol 304 MovieClip Frame 52Symbol 298 EditableText
"collected_txt"Symbol 304 MovieClip Frame 52Symbol 299 EditableText
"Minute"Symbol 304 MovieClip Frame 52Symbol 300 EditableText
"Seconde"Symbol 304 MovieClip Frame 52Symbol 301 EditableText
"Seconde2"Symbol 304 MovieClip Frame 52Symbol 302 EditableText
"mcTrans"Symbol 314 MovieClip Frame 2Symbol 312 MovieClip
"mcTrans"Symbol 314 MovieClip Frame 9Symbol 313 MovieClip
"Etat"Symbol 374 MovieClip [minXBonus] Frame 1Symbol 369 MovieClip
"Etat"Symbol 374 MovieClip [minXBonus] Frame 10Symbol 373 MovieClip
"missile"Symbol 401 MovieClip Frame 10Symbol 250 MovieClip
"missile"Symbol 402 MovieClip Frame 14Symbol 401 MovieClip
"headZone"Symbol 407 MovieClip Frame 1Symbol 379 MovieClip
"KikZone"Symbol 407 MovieClip Frame 1Symbol 379 MovieClip
"Etat"Symbol 407 MovieClip Frame 1Symbol 380 MovieClip
"Etat"Symbol 407 MovieClip Frame 6Symbol 382 MovieClip
"Etat"Symbol 407 MovieClip Frame 17Symbol 390 MovieClip
"Etat"Symbol 407 MovieClip Frame 25Symbol 393 MovieClip
"Etat"Symbol 407 MovieClip Frame 33Symbol 402 MovieClip
"Etat"Symbol 407 MovieClip Frame 49Symbol 406 MovieClip
"Etat"Symbol 421 MovieClip Frame 1Symbol 408 MovieClip
"headZone"Symbol 421 MovieClip Frame 1Symbol 379 MovieClip
"KikZone"Symbol 421 MovieClip Frame 1Symbol 379 MovieClip
"Etat"Symbol 421 MovieClip Frame 5Symbol 412 MovieClip
"Etat"Symbol 421 MovieClip Frame 9Symbol 414 MovieClip
"Etat"Symbol 421 MovieClip Frame 12Symbol 408 MovieClip
"Etat"Symbol 421 MovieClip Frame 17Symbol 416 MovieClip
"Etat"Symbol 421 MovieClip Frame 27Symbol 419 MovieClip
"Etat"Symbol 421 MovieClip Frame 44Symbol 420 MovieClip
"missile"Symbol 469 MovieClip Frame 9Symbol 466 MovieClip
"spark"Symbol 469 MovieClip Frame 9Symbol 468 MovieClip
"Etat"Symbol 477 MovieClip Frame 9Symbol 445 MovieClip
"KikZone"Symbol 477 MovieClip Frame 9Symbol 379 MovieClip
"headZone"Symbol 477 MovieClip Frame 9Symbol 379 MovieClip
"Etat"Symbol 477 MovieClip Frame 17Symbol 446 MovieClip
"Etat"Symbol 477 MovieClip Frame 22Symbol 448 MovieClip
"Etat"Symbol 477 MovieClip Frame 27Symbol 469 MovieClip
"headZone"Symbol 477 MovieClip Frame 27Symbol 379 MovieClip
"KikZone"Symbol 477 MovieClip Frame 27Symbol 379 MovieClip
"Etat"Symbol 477 MovieClip Frame 44Symbol 476 MovieClip
"Obj"Symbol 478 MovieClip Frame 1Symbol 407 MovieClip
"Obj"Symbol 478 MovieClip Frame 2Symbol 407 MovieClip
"Obj"Symbol 478 MovieClip Frame 3Symbol 421 MovieClip
"Obj"Symbol 478 MovieClip Frame 5Symbol 477 MovieClip
"Sol"Symbol 487 MovieClip Frame 1Symbol 480 MovieClip
"Wall"Symbol 487 MovieClip Frame 1Symbol 482 MovieClip
"Ceil"Symbol 487 MovieClip Frame 1Symbol 484 MovieClip
"Turn"Symbol 487 MovieClip Frame 1Symbol 486 MovieClip
"Etat"Symbol 549 MovieClip Frame 1Symbol 545 MovieClip
"Etat"Symbol 549 MovieClip Frame 10Symbol 548 MovieClip
"Etat"Symbol 584 MovieClip Frame 1Symbol 571 MovieClip
"Etat"Symbol 584 MovieClip Frame 10Symbol 177 MovieClip
"Etat"Symbol 673 MovieClip Frame 1Symbol 592 MovieClip
"HitFront"Symbol 673 MovieClip Frame 1Symbol 594 MovieClip
"HitTop"Symbol 673 MovieClip Frame 1Symbol 594 MovieClip
"HitBottomFront"Symbol 673 MovieClip Frame 1Symbol 594 MovieClip
"HitBottomBack"Symbol 673 MovieClip Frame 1Symbol 594 MovieClip
"HitBack"Symbol 673 MovieClip Frame 1Symbol 594 MovieClip
"Etat"Symbol 673 MovieClip Frame 15Symbol 50 MovieClip
"Etat"Symbol 673 MovieClip Frame 21Symbol 603 MovieClip
"HitPoint"Symbol 673 MovieClip Frame 21Symbol 594 MovieClip
"Etat"Symbol 673 MovieClip Frame 27Symbol 611 MovieClip
"Etat"Symbol 673 MovieClip Frame 34Symbol 612 MovieClip
"Etat"Symbol 673 MovieClip Frame 39Symbol 613 MovieClip
"HitPoint"Symbol 673 MovieClip Frame 39Symbol 594 MovieClip
"Etat"Symbol 673 MovieClip Frame 47Symbol 614 MovieClip
"HitBottom"Symbol 673 MovieClip Frame 47Symbol 594 MovieClip
"Etat"Symbol 673 MovieClip Frame 61Symbol 616 MovieClip
"Etat"Symbol 673 MovieClip Frame 68Symbol 623 MovieClip
"Etat"Symbol 673 MovieClip Frame 99Symbol 647 MovieClip
"HitBottom"Symbol 673 MovieClip Frame 99Symbol 594 MovieClip
"Etat"Symbol 673 MovieClip Frame 105Symbol 672 MovieClip
"Obj"Symbol 674 MovieClip Frame 1Symbol 673 MovieClip
"Etat"Symbol 693 MovieClip Frame 8Symbol 682 MovieClip
"Etat"Symbol 693 MovieClip Frame 15Symbol 687 MovieClip
"Etat"Symbol 693 MovieClip Frame 23Symbol 692 MovieClip
"Obj"Symbol 694 MovieClip Frame 1Symbol 693 MovieClip
"Etat"Symbol 696 MovieClip Frame 8Symbol 682 MovieClip
"Etat"Symbol 696 MovieClip Frame 23Symbol 405 MovieClip
"Etat"Symbol 696 MovieClip Frame 31Symbol 695 MovieClip
"Obj"Symbol 697 MovieClip Frame 1Symbol 696 MovieClip
"PersBallClone"Symbol 698 MovieClip Frame 1Symbol 694 MovieClip
"MinionBallClone"Symbol 698 MovieClip Frame 1Symbol 697 MovieClip
"Control"Symbol 699 MovieClip Frame 1Symbol 322 MovieClip
"Control"Symbol 699 MovieClip Frame 1Symbol 324 MovieClip
"ControlBall"Symbol 699 MovieClip Frame 1Symbol 326 MovieClip
"LifeBonus7"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus8"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus9"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus18"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus19"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus20"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"Minion13"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Minion14"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Collider"Symbol 699 MovieClip Frame 2Symbol 487 MovieClip
"Minion18"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"destruct14"Symbol 699 MovieClip Frame 2Symbol 522 MovieClip
"destruct13"Symbol 699 MovieClip Frame 2Symbol 522 MovieClip
"destruct12"Symbol 699 MovieClip Frame 2Symbol 522 MovieClip
"destruct34"Symbol 699 MovieClip Frame 2Symbol 528 MovieClip
"destruct1"Symbol 699 MovieClip Frame 2Symbol 533 MovieClip
"destruct2"Symbol 699 MovieClip Frame 2Symbol 528 MovieClip
"destruct3"Symbol 699 MovieClip Frame 2Symbol 537 MovieClip
"destruct5"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"destruct4"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"LifeBonus101"Symbol 699 MovieClip Frame 2Symbol 549 MovieClip
"destruct6"Symbol 699 MovieClip Frame 2Symbol 533 MovieClip
"destruct8"Symbol 699 MovieClip Frame 2Symbol 533 MovieClip
"destruct7"Symbol 699 MovieClip Frame 2Symbol 528 MovieClip
"destruct9"Symbol 699 MovieClip Frame 2Symbol 537 MovieClip
"destruct10"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"destruct21"Symbol 699 MovieClip Frame 2Symbol 560 MovieClip
"destruct22"Symbol 699 MovieClip Frame 2Symbol 560 MovieClip
"destruct23"Symbol 699 MovieClip Frame 2Symbol 560 MovieClip
"destruct11"Symbol 699 MovieClip Frame 2Symbol 528 MovieClip
"destruct15"Symbol 699 MovieClip Frame 2Symbol 537 MovieClip
"destruct17"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"destruct16"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"destruct19"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"destruct18"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"destruct20"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"LifeBonus21"Symbol 699 MovieClip Frame 2Symbol 584 MovieClip
"destruc32"Symbol 699 MovieClip Frame 2Symbol 541 MovieClip
"destruct33"Symbol 699 MovieClip Frame 2Symbol 560 MovieClip
"destruct24"Symbol 699 MovieClip Frame 2Symbol 560 MovieClip
"destruct25"Symbol 699 MovieClip Frame 2Symbol 528 MovieClip
"destruct27"Symbol 699 MovieClip Frame 2Symbol 533 MovieClip
"destruct28"Symbol 699 MovieClip Frame 2Symbol 528 MovieClip
"destruct26"Symbol 699 MovieClip Frame 2Symbol 537 MovieClip
"Minion22"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"destruct29"Symbol 699 MovieClip Frame 2Symbol 522 MovieClip
"destruct30"Symbol 699 MovieClip Frame 2Symbol 522 MovieClip
"destruct31"Symbol 699 MovieClip Frame 2Symbol 522 MovieClip
"LifeBonus1"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus2"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus3"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"Minion15"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"LifeBonus4"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus5"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus6"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus10"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus11"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus12"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus13"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus14"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus15"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus102"Symbol 699 MovieClip Frame 2Symbol 549 MovieClip
"LifeBonus16"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus17"Symbol 699 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"Minion16"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Minion17"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Minion19"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Minion20"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Minion21"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Minion11"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Minion12"Symbol 699 MovieClip Frame 2Symbol 478 MovieClip
"Pers"Symbol 699 MovieClip Frame 2Symbol 674 MovieClip
"Ball"Symbol 699 MovieClip Frame 2Symbol 698 MovieClip
"LifeBar"Symbol 730 MovieClip Frame 1Symbol 705 MovieClip
"BonusPoints"Symbol 730 MovieClip Frame 1Symbol 706 EditableText
"MuteSymbol"Symbol 730 MovieClip Frame 1Symbol 720 MovieClip
"Minute"Symbol 730 MovieClip Frame 1Symbol 721 EditableText
"Seconde"Symbol 730 MovieClip Frame 1Symbol 722 EditableText
"Seconde2"Symbol 730 MovieClip Frame 1Symbol 724 EditableText
"Sol"Symbol 754 MovieClip Frame 1Symbol 748 MovieClip
"Wall"Symbol 754 MovieClip Frame 1Symbol 750 MovieClip
"Ceil"Symbol 754 MovieClip Frame 1Symbol 751 MovieClip
"Turn"Symbol 754 MovieClip Frame 1Symbol 753 MovieClip
"Etat"Symbol 768 MovieClip Frame 1Symbol 762 MovieClip
"Etat"Symbol 768 MovieClip Frame 10Symbol 767 MovieClip
"Control"Symbol 782 MovieClip Frame 1Symbol 322 MovieClip
"Control"Symbol 782 MovieClip Frame 1Symbol 324 MovieClip
"ControlBall"Symbol 782 MovieClip Frame 1Symbol 326 MovieClip
"LifeBonus19"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus20"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus10"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus11"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus12"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus13"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus14"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus15"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus16"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus17"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus18"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus21"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"Minion13"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Collider"Symbol 782 MovieClip Frame 2Symbol 754 MovieClip
"Minion17"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"destruct2"Symbol 782 MovieClip Frame 2Symbol 533 MovieClip
"destruct3"Symbol 782 MovieClip Frame 2Symbol 528 MovieClip
"destruct22"Symbol 782 MovieClip Frame 2Symbol 560 MovieClip
"destruct23"Symbol 782 MovieClip Frame 2Symbol 560 MovieClip
"destruct15"Symbol 782 MovieClip Frame 2Symbol 541 MovieClip
"LifeBonus22"Symbol 782 MovieClip Frame 2Symbol 768 MovieClip
"destruct33"Symbol 782 MovieClip Frame 2Symbol 560 MovieClip
"destruct24"Symbol 782 MovieClip Frame 2Symbol 560 MovieClip
"destruct25"Symbol 782 MovieClip Frame 2Symbol 528 MovieClip
"destruct20"Symbol 782 MovieClip Frame 2Symbol 533 MovieClip
"destruct21"Symbol 782 MovieClip Frame 2Symbol 528 MovieClip
"destruct19"Symbol 782 MovieClip Frame 2Symbol 537 MovieClip
"destruct16"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"destruct17"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"destruct18"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"LifeBonus1"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus2"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus3"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus5"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus6"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus4"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus112"Symbol 782 MovieClip Frame 2Symbol 549 MovieClip
"destruct1"Symbol 782 MovieClip Frame 2Symbol 775 MovieClip
"Minion11"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"destruct4"Symbol 782 MovieClip Frame 2Symbol 533 MovieClip
"destruct5"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"destruct6"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"destruct7"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"destruct8"Symbol 782 MovieClip Frame 2Symbol 775 MovieClip
"destruct9"Symbol 782 MovieClip Frame 2Symbol 533 MovieClip
"destruct10"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"destruct11"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"destruct12"Symbol 782 MovieClip Frame 2Symbol 522 MovieClip
"destruct13"Symbol 782 MovieClip Frame 2Symbol 533 MovieClip
"destruct14"Symbol 782 MovieClip Frame 2Symbol 528 MovieClip
"destruct22"Symbol 782 MovieClip Frame 2Symbol 528 MovieClip
"destruct24"Symbol 782 MovieClip Frame 2Symbol 528 MovieClip
"destruct23"Symbol 782 MovieClip Frame 2Symbol 533 MovieClip
"LifeBonus7"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus8"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus9"Symbol 782 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus111"Symbol 782 MovieClip Frame 2Symbol 549 MovieClip
"Minion21"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Minion14"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Minion15"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Minion16"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Minion18"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Minion20"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Minion19"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Minion22"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Minion12"Symbol 782 MovieClip Frame 2Symbol 478 MovieClip
"Pers"Symbol 782 MovieClip Frame 2Symbol 674 MovieClip
"Ball"Symbol 782 MovieClip Frame 2Symbol 698 MovieClip
"Sol"Symbol 794 MovieClip Frame 1Symbol 788 MovieClip
"Wall"Symbol 794 MovieClip Frame 1Symbol 790 MovieClip
"Ceil"Symbol 794 MovieClip Frame 1Symbol 791 MovieClip
"Turn"Symbol 794 MovieClip Frame 1Symbol 793 MovieClip
"Etat"Symbol 809 MovieClip Frame 10Symbol 808 MovieClip
"Control"Symbol 836 MovieClip Frame 1Symbol 322 MovieClip
"Control"Symbol 836 MovieClip Frame 1Symbol 324 MovieClip
"ControlBall"Symbol 836 MovieClip Frame 1Symbol 326 MovieClip
"Minion11"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Minion14"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Collider"Symbol 836 MovieClip Frame 2Symbol 794 MovieClip
"Minion19"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"destruct8"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct7"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct6"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct1"Symbol 836 MovieClip Frame 2Symbol 533 MovieClip
"destruct2"Symbol 836 MovieClip Frame 2Symbol 528 MovieClip
"LifeBonus101"Symbol 836 MovieClip Frame 2Symbol 549 MovieClip
"destruct29"Symbol 836 MovieClip Frame 2Symbol 533 MovieClip
"destruct31"Symbol 836 MovieClip Frame 2Symbol 533 MovieClip
"destruct5"Symbol 836 MovieClip Frame 2Symbol 528 MovieClip
"destruct28"Symbol 836 MovieClip Frame 2Symbol 560 MovieClip
"destruct17"Symbol 836 MovieClip Frame 2Symbol 560 MovieClip
"destruct18"Symbol 836 MovieClip Frame 2Symbol 560 MovieClip
"destruct33"Symbol 836 MovieClip Frame 2Symbol 537 MovieClip
"destruct30"Symbol 836 MovieClip Frame 2Symbol 541 MovieClip
"LifeBonus20"Symbol 836 MovieClip Frame 2Symbol 809 MovieClip
"destruct38"Symbol 836 MovieClip Frame 2Symbol 541 MovieClip
"destruct9"Symbol 836 MovieClip Frame 2Symbol 533 MovieClip
"destruct10"Symbol 836 MovieClip Frame 2Symbol 528 MovieClip
"Minion22"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"destruct35"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct36"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct37"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"LifeBonus1"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus2"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus3"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"destruct34"Symbol 836 MovieClip Frame 2Symbol 528 MovieClip
"destruct4"Symbol 836 MovieClip Frame 2Symbol 818 MovieClip
"destruct3"Symbol 836 MovieClip Frame 2Symbol 818 MovieClip
"LifeBonus4"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus5"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus6"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus7"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus8"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"destruct14"Symbol 836 MovieClip Frame 2Symbol 827 MovieClip
"destruct11"Symbol 836 MovieClip Frame 2Symbol 832 MovieClip
"destruct13"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct12"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct16"Symbol 836 MovieClip Frame 2Symbol 832 MovieClip
"destruct15"Symbol 836 MovieClip Frame 2Symbol 827 MovieClip
"LifeBonus9"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus10"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus11"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"destruct21"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct20"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct19"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct22"Symbol 836 MovieClip Frame 2Symbol 832 MovieClip
"destruct24"Symbol 836 MovieClip Frame 2Symbol 832 MovieClip
"destruct23"Symbol 836 MovieClip Frame 2Symbol 827 MovieClip
"LifeBonus102"Symbol 836 MovieClip Frame 2Symbol 549 MovieClip
"LifeBonus14"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus15"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus16"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"destruct26"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct25"Symbol 836 MovieClip Frame 2Symbol 522 MovieClip
"destruct27"Symbol 836 MovieClip Frame 2Symbol 818 MovieClip
"destruct32"Symbol 836 MovieClip Frame 2Symbol 818 MovieClip
"LifeBonus17"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus18"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus19"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"Minion13"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Minion16"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Minion17"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Minion18"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Minion20"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Minion21"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Minion22"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"LifeBonus12"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"LifeBonus13"Symbol 836 MovieClip Frame 2Symbol 374 MovieClip [minXBonus]
"Minion12"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Minion15"Symbol 836 MovieClip Frame 2Symbol 478 MovieClip
"Pers"Symbol 836 MovieClip Frame 2Symbol 674 MovieClip
"Ball"Symbol 836 MovieClip Frame 2Symbol 698 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 2Symbol 99 as "gameMusic"
ExportAssets (56)Timeline Frame 2Symbol 100 as "packMusic"
ExportAssets (56)Timeline Frame 2Symbol 101 as "Pot"
ExportAssets (56)Timeline Frame 2Symbol 102 as "Kick"
ExportAssets (56)Timeline Frame 2Symbol 103 as "Jump"
ExportAssets (56)Timeline Frame 2Symbol 104 as "Tirroir"
ExportAssets (56)Timeline Frame 2Symbol 105 as "Objet"
ExportAssets (56)Timeline Frame 2Symbol 105 as "Objet"
ExportAssets (56)Timeline Frame 2Symbol 106 as "Ball"
ExportAssets (56)Timeline Frame 2Symbol 107 as "Lazer"
ExportAssets (56)Timeline Frame 2Symbol 108 as "Crache"
ExportAssets (56)Timeline Frame 2Symbol 109 as "Explos"
ExportAssets (56)Timeline Frame 2Symbol 110 as "Bump"
ExportAssets (56)Timeline Frame 2Symbol 111 as "electroc"
ExportAssets (56)Timeline Frame 2Symbol 112 as "Coussin"
ExportAssets (56)Timeline Frame 2Symbol 113 as "rBump"
ExportAssets (56)Timeline Frame 2Symbol 114 as "rHead"
ExportAssets (56)Timeline Frame 2Symbol 115 as "Missile"
ExportAssets (56)Timeline Frame 2Symbol 116 as "Dead"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 14Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 19Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
ExportAssets (56)Timeline Frame 24Symbol 374 as "minXBonus"
Tag 0x309 (777)Timeline Frame 13 bytes "rfx"

Labels

"TitleCard"Frame 7
"level1"Frame 14
"level2"Frame 19
"level3"Frame 24
"Lose"Frame 31
"Win"Frame 36
"HighScore"Frame 42
"Reset"Frame 50
"Idle"Symbol 178 MovieClip Frame 1
"Move"Symbol 178 MovieClip Frame 5
"Get"Symbol 178 MovieClip Frame 10
"Sleep"Symbol 178 MovieClip Frame 21
"Kill"Symbol 178 MovieClip Frame 26
"Pause"Symbol 304 MovieClip Frame 2
"Instructions"Symbol 304 MovieClip Frame 7
"1Start"Symbol 304 MovieClip Frame 18
"1END"Symbol 304 MovieClip Frame 25
"2START"Symbol 304 MovieClip Frame 31
"2END"Symbol 304 MovieClip Frame 38
"3START"Symbol 304 MovieClip Frame 45
"3END"Symbol 304 MovieClip Frame 52
"Transition"Symbol 314 MovieClip Frame 2
"NextLevel"Symbol 314 MovieClip Frame 9
"Idle"Symbol 374 MovieClip [minXBonus] Frame 1
"Move"Symbol 374 MovieClip [minXBonus] Frame 5
"Get"Symbol 374 MovieClip [minXBonus] Frame 10
"Sleep"Symbol 374 MovieClip [minXBonus] Frame 21
"Kill"Symbol 374 MovieClip [minXBonus] Frame 26
"Loop"Symbol 383 MovieClip Frame 1
"EndLoop"Symbol 383 MovieClip Frame 45
"Idle"Symbol 401 MovieClip Frame 1
"explode"Symbol 401 MovieClip Frame 10
"Idle"Symbol 407 MovieClip Frame 1
"GetHit"Symbol 407 MovieClip Frame 6
"Walk"Symbol 407 MovieClip Frame 9
"WalkFight"Symbol 407 MovieClip Frame 13
"Charge"Symbol 407 MovieClip Frame 17
"Surpris"Symbol 407 MovieClip Frame 25
"Fight"Symbol 407 MovieClip Frame 33
"Attack1"Symbol 407 MovieClip Frame 41
"Die"Symbol 407 MovieClip Frame 49
"Dead"Symbol 407 MovieClip Frame 57
"Sleep"Symbol 407 MovieClip Frame 66
"Idle"Symbol 421 MovieClip Frame 1
"GetHit"Symbol 421 MovieClip Frame 5
"Walk"Symbol 421 MovieClip Frame 9
"MoonWalk"Symbol 421 MovieClip Frame 12
"Surpris"Symbol 421 MovieClip Frame 17
"Attack3"Symbol 421 MovieClip Frame 27
"FinAttack3"Symbol 421 MovieClip Frame 35
"Die"Symbol 421 MovieClip Frame 44
"Dead"Symbol 421 MovieClip Frame 54
"Sleep"Symbol 421 MovieClip Frame 65
"Idle"Symbol 466 MovieClip Frame 1
"explode"Symbol 466 MovieClip Frame 6
"Idle"Symbol 477 MovieClip Frame 1
"Ready"Symbol 477 MovieClip Frame 9
"PopOut"Symbol 477 MovieClip Frame 17
"GetHit"Symbol 477 MovieClip Frame 22
"Attack4"Symbol 477 MovieClip Frame 27
"FinAttack4"Symbol 477 MovieClip Frame 35
"Die"Symbol 477 MovieClip Frame 44
"Dead"Symbol 477 MovieClip Frame 54
"Sleep"Symbol 477 MovieClip Frame 65
"GordonD"Symbol 478 MovieClip Frame 1
"GordonG"Symbol 478 MovieClip Frame 2
"BlikD"Symbol 478 MovieClip Frame 3
"BlikG"Symbol 478 MovieClip Frame 4
"WaffleD"Symbol 478 MovieClip Frame 5
"WaffleG"Symbol 478 MovieClip Frame 6
"Idle"Symbol 522 MovieClip Frame 1
"animplaying"Symbol 522 MovieClip Frame 2
"Dead"Symbol 522 MovieClip Frame 22
"sleep"Symbol 522 MovieClip Frame 23
"Idle"Symbol 528 MovieClip Frame 1
"animplaying"Symbol 528 MovieClip Frame 2
"Dead"Symbol 528 MovieClip Frame 22
"Sleep"Symbol 528 MovieClip Frame 23
"Idle"Symbol 533 MovieClip Frame 1
"animplaying"Symbol 533 MovieClip Frame 2
"Dead"Symbol 533 MovieClip Frame 22
"Sleep"Symbol 533 MovieClip Frame 23
"Idle"Symbol 537 MovieClip Frame 1
"animplaying"Symbol 537 MovieClip Frame 2
"Dead"Symbol 537 MovieClip Frame 21
"Sleep"Symbol 537 MovieClip Frame 22
"Idle"Symbol 541 MovieClip Frame 1
"animplaying"Symbol 541 MovieClip Frame 2
"Dead"Symbol 541 MovieClip Frame 22
"sleep"Symbol 541 MovieClip Frame 23
"Idle"Symbol 549 MovieClip Frame 1
"Move"Symbol 549 MovieClip Frame 5
"Get"Symbol 549 MovieClip Frame 10
"Sleep"Symbol 549 MovieClip Frame 21
"Kill"Symbol 549 MovieClip Frame 26
"Normal"Symbol 560 MovieClip Frame 1
"Jump"Symbol 560 MovieClip Frame 2
"sleep"Symbol 560 MovieClip Frame 13
"Idle"Symbol 584 MovieClip Frame 1
"IdleClose"Symbol 584 MovieClip Frame 4
"Move"Symbol 584 MovieClip Frame 5
"Get"Symbol 584 MovieClip Frame 10
"Sleep"Symbol 584 MovieClip Frame 21
"Kill"Symbol 584 MovieClip Frame 26
"CoupPied"Symbol 613 MovieClip Frame 1
"Idle"Symbol 673 MovieClip Frame 1
"IdleChange"Symbol 673 MovieClip Frame 7
"Walk"Symbol 673 MovieClip Frame 15
"Kick1"Symbol 673 MovieClip Frame 21
"Jump"Symbol 673 MovieClip Frame 27
"FinJump"Symbol 673 MovieClip Frame 34
"Kick2"Symbol 673 MovieClip Frame 39
"Fall"Symbol 673 MovieClip Frame 47
"FinFall"Symbol 673 MovieClip Frame 54
"Land"Symbol 673 MovieClip Frame 61
"GetHit1"Symbol 673 MovieClip Frame 68
"GetHit2"Symbol 673 MovieClip Frame 76
"GetHitLand"Symbol 673 MovieClip Frame 84
"Die"Symbol 673 MovieClip Frame 99
"EasterEgg"Symbol 673 MovieClip Frame 105
"Waffle_D"Symbol 674 MovieClip Frame 1
"Waffle_G"Symbol 674 MovieClip Frame 2
"Idle"Symbol 693 MovieClip Frame 1
"Hide"Symbol 693 MovieClip Frame 8
"Move"Symbol 693 MovieClip Frame 15
"Hit"Symbol 693 MovieClip Frame 23
"D"Symbol 694 MovieClip Frame 1
"G"Symbol 694 MovieClip Frame 2
"Idle"Symbol 696 MovieClip Frame 1
"Hide"Symbol 696 MovieClip Frame 8
"Move"Symbol 696 MovieClip Frame 15
"Hit"Symbol 696 MovieClip Frame 23
"explode"Symbol 696 MovieClip Frame 27
"detonate"Symbol 696 MovieClip Frame 31
"Sleep"Symbol 696 MovieClip Frame 41
"D"Symbol 697 MovieClip Frame 1
"G"Symbol 697 MovieClip Frame 2
"opening"Symbol 742 MovieClip Frame 2
"Idle"Symbol 768 MovieClip Frame 1
"IdleClose"Symbol 768 MovieClip Frame 4
"Move"Symbol 768 MovieClip Frame 5
"Get"Symbol 768 MovieClip Frame 10
"Sleep"Symbol 768 MovieClip Frame 21
"Kill"Symbol 768 MovieClip Frame 26
"Idle"Symbol 775 MovieClip Frame 1
"animplaying"Symbol 775 MovieClip Frame 2
"Dead"Symbol 775 MovieClip Frame 21
"Sleep"Symbol 775 MovieClip Frame 22
"Idle"Symbol 809 MovieClip Frame 1
"IdleClose"Symbol 809 MovieClip Frame 4
"Move"Symbol 809 MovieClip Frame 5
"Get"Symbol 809 MovieClip Frame 10
"Sleep"Symbol 809 MovieClip Frame 21
"Kill"Symbol 809 MovieClip Frame 26
"Idle"Symbol 818 MovieClip Frame 1
"animplaying"Symbol 818 MovieClip Frame 2
"Dead"Symbol 818 MovieClip Frame 21
"Sleep"Symbol 818 MovieClip Frame 22
"Idle"Symbol 827 MovieClip Frame 1
"animplaying"Symbol 827 MovieClip Frame 2
"Dead"Symbol 827 MovieClip Frame 22
"Sleep"Symbol 827 MovieClip Frame 23
"Idle"Symbol 832 MovieClip Frame 1
"animplaying"Symbol 832 MovieClip Frame 2
"Dead"Symbol 832 MovieClip Frame 22
"Sleep"Symbol 832 MovieClip Frame 23

Dynamic Text Variables

_global.C.LevelSymbol 725 EditableText"4"
_global.Game.G_TabShred.lengthSymbol 737 EditableText"0"
_global.Game.G_TabShred.lengthSymbol 740 EditableText"0"
_global.C.TotalScoreSymbol 922 EditableText"00000"
_global.C.TotalScoreSymbol 952 EditableText"00000"
_global.C.TotalScoreSymbol 963 EditableText"00000"




http://swfchan.com/6/26086/info.shtml
Created: 23/5 -2019 02:15:04 Last modified: 23/5 -2019 02:15:04 Server time: 23/12 -2024 00:38:27