Frame 2
stop();
Instance of Symbol 65 MovieClip in Frame 2
onClipEvent (enterFrame) {
var l_nPc = (_parent.getBytesLoaded() / _parent.getBytesTotal());
var l_sPc = (Math.floor(l_nPc * 100) + " %");
this.Progress.gotoAndStop(Math.ceil(l_nPc * 1000));
if (l_nPc == 1) {
_parent.gotoAndStop("init");
}
}
Frame 10
_global.ROOT = this;
nextFrame();
Frame 11
gotoAndStop ("game");
Symbol 64 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 51
stop();
Symbol 96 MovieClip Frame 34
_parent.gotoAndStop("Idle");
Symbol 98 MovieClip Frame 16
_parent.gotoAndStop("Idle");
Symbol 99 MovieClip Frame 29
_parent.gotoAndStop("Hide");
Symbol 100 MovieClip Frame 1
stop();
Controller.getInstance().oCurrentSequence.oRover.setUmbrella(this);
Symbol 100 MovieClip Frame 2
Controller.getInstance().oCurrentSequence.oRover.setUmbrellaState("Hide");
Symbol 100 MovieClip Frame 7
Controller.getInstance().oCurrentSequence.oRover.setUmbrellaState("Deploy");
Symbol 100 MovieClip Frame 14
Controller.getInstance().oCurrentSequence.oRover.setUmbrellaState("Idle");
Symbol 100 MovieClip Frame 22
Controller.getInstance().oCurrentSequence.oRover.setUmbrellaState("Bounce");
Symbol 100 MovieClip Frame 31
Controller.getInstance().oCurrentSequence.oRover.setUmbrellaState("Remove");
Symbol 126 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
sarbakan.sound.VoiceOverManager.setCharacterMouth("austin", this);
Symbol 181 MovieClip Frame 1
sarbakan.sound.VoiceOverManager.setCharacterMouth("uniqua", this);
Symbol 198 MovieClip Frame 1
sarbakan.sound.VoiceOverManager.setCharacterMouth("pablo", this);
Symbol 213 MovieClip Frame 1
this._visible = false;
Symbol 220 MovieClip Frame 8
stop();
Symbol 221 MovieClip Frame 8
stop();
Symbol 226 MovieClip Frame 15
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 10
stop();
Symbol 231 MovieClip Frame 6
stop();
Symbol 241 MovieClip Frame 30
stop();
Symbol 248 MovieClip Frame 47
stop();
Symbol 249 MovieClip Frame 47
stop();
Symbol 258 MovieClip Frame 1
Controller.getInstance().oCurrentSequence.oRover.setGetOutPers(1, this);
Symbol 258 MovieClip Frame 50
stop();
Controller.getInstance().oCurrentSequence.oRover.getOutComplete(1);
Symbol 262 MovieClip Frame 1
Controller.getInstance().oCurrentSequence.oRover.setGetOutPers(2, this);
Symbol 262 MovieClip Frame 50
stop();
Controller.getInstance().oCurrentSequence.oRover.getOutComplete(2);
Symbol 265 MovieClip Frame 1
Controller.getInstance().oCurrentSequence.oRover.setGetOutPers(0, this);
Symbol 265 MovieClip Frame 50
stop();
Controller.getInstance().oCurrentSequence.oRover.getOutComplete(0);
Symbol 275 MovieClip Frame 8
stop();
Symbol 276 MovieClip Frame 8
stop();
Symbol 277 MovieClip Frame 10
stop();
Symbol 279 MovieClip Frame 8
stop();
Symbol 282 MovieClip Frame 24
stop();
Symbol 283 MovieClip Frame 8
stop();
Symbol 292 MovieClip Frame 47
stop();
Symbol 293 MovieClip Frame 47
stop();
Symbol 349 MovieClip Frame 15
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 129
sarbakan.sound.SoundManager.play("Stop.wav", 50);
Symbol 353 MovieClip Frame 180
stop();
Symbol 362 Button
on (rollOver) {
sarbakan.sound.SoundManager.play("Rollover.wav", 60);
}
Symbol 389 MovieClip Frame 51
stop();
Symbol 421 MovieClip Frame 3
stop();
Symbol 457 MovieClip Frame 157
stop();
Symbol 495 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 12
stop();
Symbol 510 MovieClip Frame 55
CSVOM.Play("U1");
Symbol 510 MovieClip Frame 229
CSVOM.Play("All1");
CSVOM.createTyrone(_parent._parent._parent.mcTyrone);
CSVOM.popTyrone();
Symbol 510 MovieClip Frame 280
CSVOM.Play("T19");
CSVOM.Play("T2");
Symbol 510 MovieClip Frame 739
CSVOM.Play("A4");
Symbol 510 MovieClip Frame 926
CSVOM.Play("RoverBarksAgree");
Symbol 510 MovieClip Frame 988
CSVOM.Play("RoverHappy");
Symbol 510 MovieClip Frame 1026
CSVOM.Play("RoverBarksAgree");
Symbol 510 MovieClip Frame 1096
CSVOM.Play("RoverBarksAgree");
Symbol 510 MovieClip Frame 1171
CSVOM.Play("RoverHappy");
Symbol 510 MovieClip Frame 1233
CSVOM.Play("RoverHappy");
Symbol 510 MovieClip Frame 1286
CSVOM.Play("RoverBarksAgree");
Symbol 510 MovieClip Frame 1310
CSVOM.Play("RoverHappy");
Symbol 510 MovieClip Frame 1336
CSVOM.Play("A5");
CSVOM.Play("U4");
CSVOM.Play("P4");
Symbol 510 MovieClip Frame 1551
CSVOM.Play("T21");
Symbol 510 MovieClip Frame 1810
CSVOM.Play("RoverBarkExcitement");
Symbol 510 MovieClip Frame 1987
CSVOM.Play("T16");
Clavier.Clavier.Clavier.Right.play();
Symbol 510 MovieClip Frame 2098
CSVOM.Play("T17");
Clavier.Clavier.Clavier.Left.play();
Symbol 510 MovieClip Frame 2223
CSVOM.Play("T18");
Clavier.Clavier.Clavier.Space.play();
Symbol 510 MovieClip Frame 2317
CSVOM.Play("U5");
CSVOM.Play("T22");
Symbol 510 MovieClip Frame 2759
CSVOM.Play("All2");
Symbol 510 MovieClip Frame 2782
CSVOM.outTyrone();
CSVOM.Play("RoverBarkExcitement");
Symbol 510 MovieClip Frame 2817
stop();
Symbol 511 MovieClip [cutscene_intro] Frame 2999
stop();
Symbol 525 MovieClip Frame 51
stop();
Symbol 548 MovieClip Frame 1
gotoAndStop (3);
Symbol 595 MovieClip Frame 20
CSVOM.createTyrone(_parent._parent._parent.mcTyrone);
CSVOM.popTyrone();
Symbol 595 MovieClip Frame 30
CSVOM.Play("T59");
CSVOM.Play("T60");
Symbol 595 MovieClip Frame 264
CSVOM.Play("A21");
CSVOM.Play("P21");
CSVOM.Play("U24");
Symbol 595 MovieClip Frame 362
CSVOM.Play("T61");
CSVOM.Play("T62");
Symbol 595 MovieClip Frame 491
CSVOM.Play("A24");
CSVOM.Play("A25");
Symbol 595 MovieClip Frame 641
CSVOM.Play("T63");
Symbol 595 MovieClip Frame 776
CSVOM.popOutTyrone();
Symbol 639 MovieClip Frame 1
if (!this.bScaleRocket) {
gotoAndStop (50);
}
Symbol 639 MovieClip Frame 50
stop();
Instance of Symbol 639 MovieClip in Symbol 641 MovieClip Frame 1
onClipEvent (load) {
bScaleRocket = true;
}
Symbol 641 MovieClip Frame 7
CSVOM.Play("A26");
CSVOM.Play("P25");
CSVOM.Play("U27");
Instance of Symbol 639 MovieClip in Symbol 641 MovieClip Frame 141
onClipEvent (load) {
bScaleRocket = false;
}
Symbol 641 MovieClip Frame 219
stop();
Symbol 659 MovieClip [cutscene_outro] Frame 1228
CSVOM.Play("T14");
stop();
Symbol 671 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 5
sarbakan.sound.SoundManager.play("SecretBoing1.wav", 50);
Symbol 683 MovieClip Frame 11
Controller.getInstance().oCurrentSequence.jumpComplete();
Symbol 683 MovieClip Frame 19
_parent.gotoAndStop("Idle");
Symbol 684 MovieClip Frame 1
stop();
Symbol 684 MovieClip Frame 13
stop();
Instance of Symbol 683 MovieClip "jump" in Symbol 684 MovieClip Frame 13
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.addPausable(this);
}
Symbol 688 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 5
sarbakan.sound.SoundManager.play("SecretBoing2.wav", 50);
Symbol 694 MovieClip Frame 11
Controller.getInstance().oCurrentSequence.jumpComplete();
Symbol 694 MovieClip Frame 19
_parent.gotoAndStop("Idle");
Symbol 695 MovieClip Frame 1
stop();
Symbol 695 MovieClip Frame 10
stop();
Instance of Symbol 694 MovieClip "jump" in Symbol 695 MovieClip Frame 10
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.addPausable(this);
}
Symbol 700 MovieClip Frame 1
stop();
Symbol 704 MovieClip Frame 5
sarbakan.sound.SoundManager.play("SecretBoing3.wav", 50);
Symbol 704 MovieClip Frame 11
Controller.getInstance().oCurrentSequence.jumpComplete();
Symbol 704 MovieClip Frame 19
_parent.gotoAndStop("Idle");
Symbol 705 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 10
stop();
Instance of Symbol 704 MovieClip "jump" in Symbol 705 MovieClip Frame 10
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.addPausable(this);
}
Symbol 711 MovieClip Frame 35
this.gotoAndStop(1);
Controller.getInstance().oCurrentSequence.tellSequence();
_parent.gotoAndStop(1);
Symbol 712 MovieClip Frame 1
this._name = "red";
stop();
Instance of Symbol 711 MovieClip "blink" in Symbol 712 MovieClip Frame 3
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.addPausable(this);
}
Symbol 713 MovieClip Frame 35
this.gotoAndStop(1);
Controller.getInstance().oCurrentSequence.tellSequence();
_parent.gotoAndStop(1);
Symbol 714 MovieClip Frame 1
this._name = "blue";
stop();
Instance of Symbol 713 MovieClip "blink" in Symbol 714 MovieClip Frame 3
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.addPausable(this);
}
Symbol 715 MovieClip Frame 35
this.gotoAndStop(1);
Controller.getInstance().oCurrentSequence.tellSequence();
_parent.gotoAndStop(1);
Symbol 716 MovieClip Frame 1
this._name = "yellow";
stop();
Instance of Symbol 715 MovieClip "blink" in Symbol 716 MovieClip Frame 3
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.addPausable(this);
}
Symbol 718 MovieClip Frame 1
stop();
Controller.getInstance().oCurrentSequence.setHud(this);
Symbol 718 MovieClip Frame 10
nextFrame();
Symbol 718 MovieClip Frame 11
stop();
Controller.getInstance().oCurrentSequence.hudIn();
Symbol 718 MovieClip Frame 29
stop();
Symbol 748 MovieClip Frame 10
stop();
Symbol 748 MovieClip Frame 69
Controller.getInstance().oCurrentSequence.endingComplete();
stop();
Symbol 749 MovieClip [fg1_bg] Frame 1
stop();
Symbol 749 MovieClip [fg1_bg] Frame 11
stop();
Instance of Symbol 748 MovieClip "fg1End" in Symbol 749 MovieClip [fg1_bg] Frame 11
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.addPausable(this);
}
Symbol 768 MovieClip Frame 2
sarbakan.sound.SoundManager.play("DoorOpen.wav", 80);
Symbol 768 MovieClip Frame 74
Controller.getInstance().oCurrentSequence.endingComplete();
stop();
Symbol 769 MovieClip Frame 1
stop();
Instance of Symbol 768 MovieClip in Symbol 769 MovieClip Frame 11
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.addPausable(this);
}
Symbol 770 MovieClip [fg2_bg] Frame 1
stop();
Symbol 770 MovieClip [fg2_bg] Frame 11
stop();
Porte.gotoAndPlay("Open");
Symbol 814 MovieClip Frame 30
stop();
Symbol 817 MovieClip Frame 47
Controller.getInstance().oCurrentSequence.endingComplete();
stop();
Symbol 819 MovieClip [fg3_bg] Frame 1
stop();
Symbol 819 MovieClip [fg3_bg] Frame 11
stop();
Porte.gotoAndPlay("Open");
Symbol 829 MovieClip Frame 20
stop();
Symbol 830 MovieClip Frame 1
stop();
Symbol 830 MovieClip Frame 17
stop();
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 28
stop();
Symbol 835 MovieClip Frame 16
sarbakan.sound.SoundManager.play(("pop-" + (random(5) + 1)) + ".wav", 50, 1, true);
Symbol 835 MovieClip Frame 19
stop();
Symbol 843 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 4
stop();
Symbol 843 MovieClip Frame 10
gotoAndStop (1);
Symbol 866 MovieClip Frame 2
Controller.getInstance().oCurrentSequence.CreateBubble(mcBRef, 52);
Instance of Symbol 865 MovieClip "mcBRef" in Symbol 866 MovieClip Frame 2
onClipEvent (load) {
this._visible = false;
}
Symbol 866 MovieClip Frame 3
Controller.getInstance().oCurrentSequence.CreateBubble(mcBRef, 48);
Symbol 866 MovieClip Frame 7
Controller.getInstance().oCurrentSequence.CreateBubble(mcBRef, 58);
Instance of Symbol 865 MovieClip "mcBRef" in Symbol 866 MovieClip Frame 7
onClipEvent (load) {
this._visible = false;
}
Symbol 866 MovieClip Frame 12
Controller.getInstance().oCurrentSequence.CreateBubble(mcBRef, 54);
Instance of Symbol 865 MovieClip "mcBRef" in Symbol 866 MovieClip Frame 12
onClipEvent (load) {
this._visible = false;
}
Symbol 866 MovieClip Frame 13
Controller.getInstance().oCurrentSequence.CreateBubble(mcBRef, 70);
Symbol 866 MovieClip Frame 19
Controller.getInstance().oCurrentSequence.CreateBubble(mcBRef, 64);
Instance of Symbol 865 MovieClip "mcBRef" in Symbol 866 MovieClip Frame 19
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 863 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 867 MovieClip Frame 5
stop();
Symbol 867 MovieClip Frame 10
this._visible = false;
gotoAndStop (1);
Symbol 870 MovieClip [mg1_bg] Frame 1
stop();
Instance of Symbol 836 MovieClip "mcBubble" in Symbol 870 MovieClip [mg1_bg] Frame 1
onClipEvent (load) {
if (this._name == mcBubble) {
this._visible = false;
}
stop();
}
Instance of Symbol 867 MovieClip "mcSpawnPoint" in Symbol 870 MovieClip [mg1_bg] Frame 1
onClipEvent (load) {
this._visible = false;
stop();
}
Symbol 885 MovieClip Frame 10
_parent.gotoAndStop("Idle");
Symbol 906 MovieClip Frame 12
stop();
Symbol 911 MovieClip Frame 7
stop();
Symbol 912 MovieClip Frame 1
stop();
Symbol 915 MovieClip Frame 12
stop();
Symbol 916 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 1
stop();
Symbol 918 MovieClip Frame 1
stop();
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 5
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 1, 0);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 5
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 2, 0);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 5
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 3, 0);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 5
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 0, 0);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 5
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 1, 1);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 5
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 2, 1);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 5
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 1, 2);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 13
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 3, 1);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 13
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 0, 1);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 13
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 3, 2);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 13
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 0, 2);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 24
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 1, 2);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 24
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 2, 2);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 24
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 3, 2);
}
Instance of Symbol 917 MovieClip in Symbol 918 MovieClip Frame 24
onClipEvent (load) {
Controller.getInstance().oCurrentSequence.createBlock(this, 0, 2);
}
Symbol 919 MovieClip [mg2_bg] Frame 1
stop();
Instance of Symbol 918 MovieClip "mcRockPile" in Symbol 919 MovieClip [mg2_bg] Frame 1
onClipEvent (load) {
this.lastClickOn = "";
}
Symbol 928 MovieClip Frame 1
stop();
Symbol 928 MovieClip Frame 2
sarbakan.sound.SoundManager.play("DoorOpen.wav", 50, 1);
Symbol 928 MovieClip Frame 22
stop();
Symbol 937 MovieClip Frame 1
stop();
Symbol 957 MovieClip Frame 1
stop();
this._name = "mcRemote";
Symbol 1005 MovieClip Frame 19
stop();
Symbol 1010 MovieClip [mg3_bg] Frame 1
stop();
Symbol 1018 MovieClip [_event] Frame 1
var l_oManager = helpers.ScrollerEventManager.getInstance();
l_oManager.register(_x + _parent._x, _name);
this.swapDepths(100);
this.removeMovieClip();
this.txtEvent.text = this._name;
Symbol 1039 MovieClip Frame 26
stop();
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 5
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 9
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 9
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 10
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 10
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 11
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 11
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 12
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 13
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 15
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 15
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 19
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 19
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 23
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 23
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 26
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 27
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 29
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 33
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 33
onClipEvent (load) {
_parent._parent.playSound();
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 37
onClipEvent (load) {
_parent._parent.playSound();
}
Symbol 1040 MovieClip Frame 40
if (this.bLoop) {
gotoAndPlay ("Loop");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 47
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Instance of Symbol 1039 MovieClip in Symbol 1040 MovieClip Frame 51
onClipEvent (load) {
this.gotoAndPlay("Ecrase");
}
Symbol 1040 MovieClip Frame 62
stop();
Symbol 1041 MovieClip Frame 1
var ctrl = Controller.getInstance();
ctrl.oCurrentSequence.oLayerLevel.addDynamicElement(new elements.sidescroller.Meteor(this));
stop();
Symbol 1111 MovieClip Frame 11
if (this.bLoop) {
gotoAndPlay ("Loop");
}
Symbol 1111 MovieClip Frame 18
stop();
Symbol 1112 MovieClip Frame 1
var ctrl = Controller.getInstance();
ctrl.oCurrentSequence.oLayerLevel.addDynamicElement(new elements.sidescroller.Geser(this));
stop();
Symbol 1139 MovieClip Frame 1
var ctrl = Controller.getInstance();
ctrl.oCurrentSequence.oLayerLevel.addDynamicElement(new elements.sidescroller.Boinga(this));
nextFrame();
Symbol 1139 MovieClip Frame 2
stop();
Symbol 1139 MovieClip Frame 10
stop();
Symbol 1151 MovieClip Frame 73
if (this.bLoop) {
gotoAndPlay ("Loop");
}
Symbol 1151 MovieClip Frame 74
_parent.playEndSound();
Symbol 1151 MovieClip Frame 92
stop();
Symbol 1153 MovieClip Frame 1
var ctrl = Controller.getInstance();
ctrl.oCurrentSequence.oLayerLevel.addDynamicElement(new elements.sidescroller.Trap(this));
gotoAndStop ("wait");
Symbol 1153 MovieClip Frame 2
stop();
Symbol 1218 MovieClip Frame 1
if (_parent._parent._parent.bShowSmoke != undefined) {
gotoAndStop (3);
} else {
stop();
}
Instance of Symbol 1255 MovieClip in Symbol 1264 MovieClip Frame 38
onClipEvent (load) {
bShowSmoke = true;
}
Instance of Symbol 1263 MovieClip in Symbol 1264 MovieClip Frame 134
onClipEvent (load) {
bShowSmoke = true;
}
Symbol 1264 MovieClip Frame 157
CSVOM.Play("U2");
Symbol 1264 MovieClip Frame 188
stop();
Instance of Symbol 1267 MovieClip in Symbol 1268 MovieClip Frame 36
onClipEvent (load) {
bShowSmoke = true;
}
Instance of Symbol 1278 MovieClip in Symbol 1279 MovieClip Frame 35
onClipEvent (load) {
bShowSmoke = true;
}
Symbol 1279 MovieClip Frame 66
stop();
Symbol 1280 MovieClip [cutscene_level2Intro] Frame 1
this.giveCrystal = true;
Symbol 1280 MovieClip [cutscene_level2Intro] Frame 20
CSVOM.Play("U09");
Symbol 1280 MovieClip [cutscene_level2Intro] Frame 78
CSVOM.Play("P07");
Symbol 1280 MovieClip [cutscene_level2Intro] Frame 103
CSVOM.Play("A07");
Symbol 1480 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);
}
on (keyPress "p") {
return(undefined);
}
on (keyPress "P") {
return(undefined);
}
Symbol 1482 MovieClip Frame 1
function SwitchToMusic(WhatMusic) {
if (musicIn != WhatMusic) {
musicIn = WhatMusic;
this[musicIn].start(0, 999999);
}
}
function onEnterFrame() {
for (var _local2 in musicsAvailable) {
if (musicsAvailable[_local2] == musicIn) {
if (this[musicIn].getVolume() < globalVolume) {
this[musicIn].setVolume(this[musicIn].getVolume() + 5);
} else {
this[musicIn].setVolume(globalVolume);
}
} else if (this[musicsAvailable[_local2]].getVolume() > 0) {
this[musicsAvailable[_local2]].setVolume(this[musicsAvailable[_local2]].getVolume() - 5);
} else {
this[musicsAvailable[_local2]].stop();
}
}
}
function PlayASound(WitchSound, nloop, nVolume) {
if (nloop == undefined) {
nloop = 1;
}
if (nVolume == undefined) {
nVolume = 100;
}
if (!_global.Muted) {
if ((((WitchSound != "Bobos_Laugh") && (WitchSound != "Otter_Cry")) && (WitchSound != "Otter_Help")) && (WitchSound != "G12_Bark")) {
eval (WitchSound).start(0, nloop);
eval (WitchSound).setVolume(nVolume);
return(eval (WitchSound));
}
myNum = random(eval (WitchSound + "Nb")) + 1;
eval (WitchSound + myNum).start(0, nloop);
eval (WitchSound + myNum).setVolume(nVolume);
return(eval (WitchSound + myNum));
}
eval (WitchSound).oldSound = nVolume;
eval (WitchSound).start(0, nloop);
eval (WitchSound).setVolume(0);
return(eval (WitchSound));
}
function StopASound(WitchSound) {
eval (WitchSound).stop();
return(eval (WitchSound));
}
function fGetVolume(WitchSound) {
return(eval (WitchSound).getVolume());
}
function fSetVolume(WitchSound, _num) {
if (!_global.Muted) {
eval (WitchSound).setVolume(_num);
}
}
_global.S = this;
_global.Muted = false;
var globalVolume;
var musicIn;
var WhatMovie;
var OldMusic;
this.createEmptyMovieClip("packMusic", 1);
packMusic = new Sound("packMusic");
packMusic.attachSound("packMusic");
this.createEmptyMovieClip("gameMusic", 2);
gameMusic = new Sound("gameMusic");
gameMusic.attachSound("gameMusic");
this.createEmptyMovieClip("endingMusic", 3);
endingMusic = new Sound("endingMusic");
endingMusic.attachSound("endingMusic");
this.createEmptyMovieClip("musicSciFi", 4);
musicSciFi = new Sound("musicSciFi");
musicSciFi.attachSound("musicSciFi");
var musicsAvailable = ["packMusic", "gameMusic", "endingMusic", "musicSciFi"];
packMusic.start(0, 1000000);
globalVolume = 35;
musicIn = "packMusic";
packMusic.setVolume(globalVolume);
soundList = new Array("RoverRoll", "Geser", "RoverWaterRoll");
for (i in soundList) {
this.createEmptyMovieClip(soundList[i], i + 8);
this[soundList[i]] = new Sound(soundList[i]);
this[soundList[i]].attachSound(soundList[i]);
}
Symbol 1763 MovieClip [__Packages.Controller] Frame 0
class Controller
{
static var oInstance, oEnterFrameListener;
var mc, oTransitionManager, oKey, bPaused, nCurrentLevel, menuOldMusic, oCurrentSequence, fPopUp, aLevelData;
function Controller (l_mcGame) {
oInstance = this;
mc = l_mcGame;
mc.stop();
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = sarbakan.utils.Delegate.create(this, update);
MovieClip.addListener(oEnterFrameListener);
oTransitionManager = new sarbakan.packaging.TransitionManager(mc.mcTransitions);
oKey = sarbakan.input.KeyManager.getInstance();
oKey.addKeyListener(36, "HOME");
oKey.addKeyListener(45, "INSERT");
bPaused = false;
sarbakan.sound.SoundManager.init(l_mcGame.createEmptyMovieClip("snd", -9999));
sarbakan.sound.VoiceOverManager.init();
}
function getLevel() {
return(nCurrentLevel);
}
static function getInstance() {
return(oInstance);
}
static function getContainer() {
return(oInstance.mc.mcContainer);
}
function backInstructions() {
sarbakan.sound.VoiceOverManager.clearAll();
mc.INSTR.gotoAndStop(1);
mc.TITLE.gotoAndStop(2);
}
function showInstructions() {
sarbakan.sound.VoiceOverManager.clearAll();
mc.INSTR.gotoAndStop(2);
mc.TITLE.gotoAndStop(1);
}
function showTitle() {
sarbakan.sound.VoiceOverManager.clearAll();
mc.gotoAndStop("titleScreen");
mc.TITLE.gotoAndStop(2);
}
function startGame() {
_global.S.SwitchToMusic("musicSciFi");
var _local3 = new Array("Red", "Blue", "Yellow");
getInstance().mc.mcHUD[_local3[1]].gotoAndStop(2);
getInstance().mc.mcHUD[_local3[2]].gotoAndStop(2);
getInstance().mc.mcHUD[_local3[3]].gotoAndStop(2);
sarbakan.sound.VoiceOverManager.clearAll();
mc.gotoAndStop("content");
mc.TITLE.gotoAndStop(1);
initCutScene("intro", sarbakan.utils.Delegate.create(this, onIntroCutsceneDone));
}
function showMenu() {
menuOldMusic = _global.S.musicIn;
_global.S.SwitchToMusic("packMusic");
bPaused = true;
mc.mcMenu.gotoAndStop(2);
oCurrentSequence.pause();
sarbakan.sound.VoiceOverManager.pause();
}
function resumeMenu() {
_global.S.SwitchToMusic(menuOldMusic);
bPaused = false;
oCurrentSequence.resume();
sarbakan.sound.VoiceOverManager.resume();
mc.mcMenu.gotoAndStop(1);
}
function menuDone() {
fPopUp = function () {
this.oCurrentSequence.oTyrone.popOut();
this.oCurrentSequence.destroy();
this.bPaused = false;
_global.S.StopASound("RoverRoll");
sarbakan.sound.VoiceOverManager.resume();
sarbakan.sound.VoiceOverManager.clearAll();
this.mc.mcMenu.gotoAndStop(1);
_global.S.SwitchToMusic("packMusic");
_global.ROOT.gotoAndStop("init");
};
mc.mcPopUp.gotoAndStop(2);
mc.mcPopUp.text.multiline = true;
mc.mcPopUp.text.wordWrap = true;
mc.mcPopUp.text.text = "Do you want to quit this mission?";
sarbakan.sound.SoundManager.play("bymm_t_11.wav", 100, 1, true);
}
function menuNewGame() {
fPopUp = function () {
this.oCurrentSequence.oTyrone.popOut();
this.oCurrentSequence.destroy();
this.bPaused = false;
this.mc.mcMenu.gotoAndStop(1);
sarbakan.sound.VoiceOverManager.resume();
sarbakan.sound.VoiceOverManager.clearAll();
_global.S.StopASound("RoverRoll");
this.startGame();
};
mc.mcPopUp.gotoAndStop(2);
mc.mcPopUp.text.multiline = true;
mc.mcPopUp.text.wordWrap = true;
mc.mcPopUp.text.text = "Do you want to start over this mission?";
sarbakan.sound.SoundManager.play("bymm_t_09.wav", 100, 1, true);
}
function menuAnswerYes() {
mc.mcPopUp.gotoAndStop(1);
fPopUp();
}
function menuAnswerNo() {
mc.mcPopUp.gotoAndStop(1);
}
function inGameInstructions() {
mc.INSTR_INGAME.gotoAndPlay(2);
}
function update() {
if (ALLOW_CHEAT) {
nCheatDisable--;
if ((oKey.HOME && (oKey.INSERT)) && (nCheatDisable < 0)) {
nCheatDisable = 30;
sarbakan.sound.VoiceOverManager.clearAll();
onGameNextSequence();
}
}
if (!bPaused) {
oCurrentSequence.update();
}
}
function transitionTo(l_sTransitionID, l_fMiddleListener, l_fEndListener) {
oTransitionManager.startTransition({middleListener:l_fMiddleListener, endListener:l_fEndListener, inID:l_sTransitionID + "In", outID:l_sTransitionID + "Out"});
if (l_sTransitionID.toUpperCase() == "DOORS") {
sarbakan.sound.SoundManager.play("Doors.wav");
} else if (((l_sTransitionID.toUpperCase() == "CRYSTALR") || (l_sTransitionID.toUpperCase() == "CRYSTALB")) || (l_sTransitionID.toUpperCase() == "CRYSTALY")) {
sarbakan.sound.SoundManager.play("Crystal.wav");
}
}
function initCutScene(l_sCutSceneID, l_fEndListener) {
if (l_sCutSceneID == "outro") {
_global.S.SwitchToMusic("endingMusic");
} else if (l_sCutSceneID == "intro") {
_global.S.PlayASound("RoverRoll", 9999, 15);
_global.S.SwitchToMusic("musicSciFi");
}
oCurrentSequence = new sequences.Cutscene(l_sCutSceneID, l_fEndListener);
}
function initGame(l_nLevel) {
_global.S.StopASound("RoverRoll");
_global.S.SwitchToMusic("gameMusic");
nCurrentLevel = l_nLevel;
if (!_global.BYPASS_ALL) {
aLevelData = sarbakan.utils.Tools.CopyArray(data.GameData.LEVEL_SEQUENCES[nCurrentLevel - 1]);
} else {
aLevelData = sarbakan.utils.Tools.CopyArray(data.GameData.BYPASS_SEQUENCES[nCurrentLevel - 1]);
}
onGameNextSequence();
}
function showWinScreen() {
mc.gotoAndStop("lastScreen");
}
function initGameSequence(l_aData) {
switch (l_aData[0]) {
case data.GameData.SEQUENCE_CUTSCENE :
oCurrentSequence = new sequences.Cutscene(l_aData[1], sarbakan.utils.Delegate.create(this, onGameNextSequence));
break;
case data.GameData.SEQUENCE_TRANSITION :
transitionTo(l_aData[1], sarbakan.utils.Delegate.create(this, onGameNextSequence), null);
break;
case data.GameData.SEQUENCE_SIDESCROLLER :
oCurrentSequence = new sequences.SideScroller(l_aData[1], l_aData[2], data.GameData.getLevelEventHandler(nCurrentLevel));
var _local3;
if (nCurrentLevel == 2) {
if (l_aData[1] == data.GameData.DIFFICULTY_EASY) {
_local3 = "Ground-";
} else {
_local3 = "Water-";
}
} else {
_local3 = "Ground-";
}
oCurrentSequence.oRover.setMapPrefix(_local3);
oCurrentSequence.oRover.init();
break;
case data.GameData.SEQUENCE_MINIGAME :
switch (nCurrentLevel) {
case 1 :
oCurrentSequence = new sequences.MiniGame1(l_aData[1], data.GameData.getMGEventHandler(nCurrentLevel));
break;
case 2 :
oCurrentSequence = new sequences.MiniGame2(l_aData[1], data.GameData.getMGEventHandler(nCurrentLevel));
break;
case 3 :
oCurrentSequence = new sequences.MiniGame3(l_aData[1], data.GameData.getMGEventHandler(nCurrentLevel));
}
break;
case data.GameData.SEQUENCE_FINALGAME :
oCurrentSequence = new sequences.FinalGame(l_aData[1], data.GameData.getFGEventHandler());
}
oCurrentSequence.init();
}
function onIntroCutsceneDone() {
transitionTo("doors", sarbakan.utils.Delegate.create(this, initGame, 1), null);
}
function onOutroCutsceneDone() {
transitionTo("doors", sarbakan.utils.Delegate.create(this, showWinScreen), null);
}
function onGameNextSequence() {
if (aLevelData[0][0] != data.GameData.SEQUENCE_TRANSITION) {
oCurrentSequence.destroy();
}
if (aLevelData.length < 1) {
nextLevel();
} else {
initGameSequence(aLevelData.shift());
}
}
function nextLevel() {
nCurrentLevel++;
if (data.GameData.LEVEL_SEQUENCES.length >= nCurrentLevel) {
if (!_global.BYPASS_ALL) {
aLevelData = sarbakan.utils.Tools.CopyArray(data.GameData.LEVEL_SEQUENCES[nCurrentLevel - 1]);
} else {
aLevelData = sarbakan.utils.Tools.CopyArray(data.GameData.BYPASS_SEQUENCES[nCurrentLevel - 1]);
}
onGameNextSequence();
} else {
oCurrentSequence.destroy();
initCutScene("outro", sarbakan.utils.Delegate.create(this, onOutroCutsceneDone));
}
}
static var ALLOW_CHEAT = false;
var nCheatDisable = 0;
}
Symbol 1764 MovieClip [__Packages.sarbakan.packaging.TransitionManager] Frame 0
class sarbakan.packaging.TransitionManager
{
var mc, oEnterFrameListener, oCurrentTransition, sState;
function TransitionManager (l_mc) {
mc = l_mc;
mc.gotoAndStop("inactive");
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = sarbakan.utils.Delegate.create(this, update);
}
function startTransition(l_oTransition) {
oCurrentTransition = l_oTransition;
sState = "Out";
mc.gotoAndStop(oCurrentTransition.outID);
mc.state.gotoAndPlay(1);
MovieClip.addListener(oEnterFrameListener);
}
function endTransition() {
MovieClip.removeListener(oEnterFrameListener);
if (typeof(oCurrentTransition.endListener) != "function") {
for (var _local2 in oCurrentTransition.endListener) {
oCurrentTransition.endListener[_local2];
}
} else {
oCurrentTransition.endListener();
}
delete oCurrentTransition;
sState = "";
mc.gotoAndStop("inactive");
}
function update() {
if (sState == "Out") {
if (stateFinished()) {
mc.gotoAndStop(oCurrentTransition.inID);
mc.state.gotoAndPlay(1);
sState = "In";
if (typeof(oCurrentTransition.middleListener) != "function") {
for (var _local2 in oCurrentTransition.middleListener) {
oCurrentTransition.middleListener[_local2]();
}
} else {
oCurrentTransition.middleListener();
}
}
} else if (sState == "In") {
if (stateFinished()) {
endTransition();
}
}
}
function stateStarting() {
return(mc.state._currentframe == 1);
}
function stateFinished() {
return(mc.state._currentframe == mc.state._totalframes);
}
}
Symbol 1765 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 1766 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 1767 MovieClip [__Packages.sarbakan.utils.Delegate] Frame 0
class sarbakan.utils.Delegate extends Object
{
var func;
function Delegate () {
super();
}
function DelegateArgs(f) {
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local3 = arguments.callee.target;
var _local4 = arguments.callee.func;
var _local2 = arguments.callee.arg;
_local2 = _local2.concat(arguments);
return(_local4.apply(_local3, _local2));
};
_local2.target = obj;
_local2.func = func;
_local2.arg = arguments.slice(2);
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 1768 MovieClip [__Packages.sarbakan.input.KeyManager] Frame 0
class sarbakan.input.KeyManager
{
static var oInstance;
var oKeyList;
function KeyManager () {
oKeyList = new Object();
}
static function getInstance() {
if (!oInstance) {
oInstance = new sarbakan.input.KeyManager();
}
initEnterFrame();
return(oInstance);
}
function addKeyListener(l_nKeyCode, l_sKeyName) {
oKeyList[l_sKeyName] = new Object();
oKeyList[l_sKeyName].nKeyCode = l_nKeyCode;
this[l_sKeyName] = false;
}
function onEnterFrame() {
setKey();
}
function setKey() {
var _local2;
for (_local2 in oKeyList) {
if (Key.isDown(oKeyList[_local2].nKeyCode)) {
this[_local2] = true;
} else {
this[_local2] = false;
}
}
}
static function initEnterFrame() {
mx.transitions.OnEnterFrameBeacon.init();
MovieClip.removeListener(oInstance);
MovieClip.addListener(oInstance);
}
}
Symbol 1769 MovieClip [__Packages.sarbakan.sound.SoundManager] Frame 0
class sarbakan.sound.SoundManager
{
static var mc, aSounds, oRootSound, oEnterFrameListener, bMuted;
function SoundManager () {
}
static function init(l_mc) {
mc = l_mc;
aSounds = [];
oRootSound = new Sound(mc);
if (!oEnterFrameListener) {
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = sarbakan.utils.Delegate.create(sarbakan.sound.SoundManager, update);
MovieClip.addListener(oEnterFrameListener);
}
}
static function play(l_sLinkage, l_nVolume, l_nLoop, l_bUnique) {
if (!mc) {
}
if (l_nVolume == undefined) {
l_nVolume = 100;
}
if (l_nLoop == undefined) {
l_nLoop = 1;
}
if (l_bUnique == undefined) {
l_bUnique = false;
}
var _local4 = canPlaySound(l_sLinkage);
if (_local4 == true) {
var _local1 = {};
_local1.mc = mc.createEmptyMovieClip(String(MOVIECLIP_BASE_NAME) + mc.getNextHighestDepth(), mc.getNextHighestDepth());
_local1.sLinkage = l_sLinkage;
_local1.bUnique = l_bUnique;
_local1.aFade = [];
_local1.nFullVolume = l_nVolume;
_local1.oSound = new Sound(_local1.mc);
_local1.oSound.attachSound(l_sLinkage);
_local1.oSound.onSoundComplete = sarbakan.utils.Delegate.create(sarbakan.sound.SoundManager, remove, _local1.oSound);
_local1.oSound.start(0, l_nLoop);
_local1.oSound.setVolume(l_nVolume);
aSounds.push(_local1);
return(_local1.oSound);
}
return(_local4);
}
static function stop(l_oSound) {
l_oSound.stop();
remove(l_oSound);
}
static function mute() {
bMuted = true;
oRootSound.setVolume(0);
}
static function unmute() {
bMuted = false;
oRootSound.setVolume(100);
}
static function fade(l_oSound, l_nFadeType, l_nDestination, l_nSpeed) {
var _local3;
var _local4;
switch (l_nFadeType) {
case FADE_VOLUME :
_local3 = sarbakan.utils.Delegate.create(l_oSound, l_oSound.getVolume);
_local4 = sarbakan.utils.Delegate.create(l_oSound, l_oSound.setVolume);
break;
case FADE_PAN :
_local3 = sarbakan.utils.Delegate.create(l_oSound, l_oSound.getPan);
_local4 = sarbakan.utils.Delegate.create(l_oSound, l_oSound.setPan);
}
var _local2 = getSoundData(l_oSound);
if (l_nDestination < _local3()) {
l_nSpeed = l_nSpeed * -1;
}
if (((l_nFadeType == FADE_VOLUME) && (l_nSpeed > 0)) && (l_nDestination > _local2.oData.nFullVolume)) {
l_nDestination = _local2.oData.nFullVolume;
}
aSounds[_local2.nPosition].aFade[l_nFadeType] = {nDest:l_nDestination, nSpeed:l_nSpeed, fSet:_local4, fGet:_local3};
}
static function fadeInAll(l_nSpeed) {
if (!l_nSpeed) {
l_nSpeed = FADE_DEFAULT_SPEED;
}
fadeAll(FADE_VOLUME, 100, l_nSpeed);
}
static function fadeOutAll(l_nSpeed) {
if (!l_nSpeed) {
l_nSpeed = FADE_DEFAULT_SPEED;
}
fadeAll(FADE_VOLUME, 0, l_nSpeed);
}
static function getLinkage(l_oSound) {
return(getSoundData(l_oSound).oData.sLinkage);
}
static function isSoundPlaying(l_oSound) {
var _local1 = false;
if ((l_oSound.position != undefined) && (l_oSound.duration != undefined)) {
if (l_oSound.position < l_oSound.duration) {
_local1 = true;
}
}
return(_local1);
}
static function isMuted() {
return(bMuted);
}
static function remove(l_oSound) {
var _local1 = getSoundData(l_oSound);
_local1.oData.mc.removeMovieClip();
delete aSounds[_local1.nPosition].oSound;
delete aSounds[_local1.nPosition];
aSounds.splice(_local1.nPosition, 1);
}
static function update() {
for (var _local2 in aSounds) {
for (var _local1 in aSounds[_local2].aFade) {
if (aSounds[_local2].aFade[_local1]) {
aSounds[_local2].aFade[_local1].fSet(aSounds[_local2].aFade[_local1].fGet() + aSounds[_local2].aFade[_local1].nSpeed);
if (((aSounds[_local2].aFade[_local1].nSpeed > 0) && (aSounds[_local2].aFade[_local1].fGet() >= aSounds[_local2].aFade[_local1].nDest)) or ((aSounds[_local2].aFade[_local1].nSpeed < 0) && (aSounds[_local2].aFade[_local1].fGet() <= aSounds[_local2].aFade[_local1].nDest))) {
aSounds[_local2].aFade[_local1].fSet(aSounds[_local2].aFade[_local1].nDest);
delete aSounds[_local2].aFade[_local1];
}
}
}
}
}
static function canPlaySound(l_sLinkage) {
for (var _local2 in aSounds) {
if (aSounds[_local2].bUnique && (aSounds[_local2].sLinkage == l_sLinkage)) {
return(aSounds[_local2].oSound);
}
}
return(true);
}
static function getSoundData(l_oSound) {
var _local3;
for (var _local4 in aSounds) {
if (aSounds[_local4].oSound == l_oSound) {
_local3 = {oData:aSounds[_local4], nPosition:_local4};
}
}
return(_local3);
}
static function fadeAll(l_nFadeType, l_nDestination, l_nSpeed) {
for (var _local3 in aSounds) {
fade(aSounds[_local3].oSound, l_nFadeType, l_nDestination, l_nSpeed);
}
}
static var MOVIECLIP_BASE_NAME = "mcSounds";
static var FADE_DEFAULT_SPEED = 10;
static var FADE_VOLUME = 0;
static var FADE_PAN = 1;
}
Symbol 1770 MovieClip [__Packages.sarbakan.sound.VoiceOverManager] Frame 0
class sarbakan.sound.VoiceOverManager
{
static var oEnterFrameListener, aVoiceQueue, oCharacters, bPaused, fListener, mcDebug, nStoppedAt, oVoiceSound, nCurrentVoiceStartAt, oCurrentVoice, bSynched, nManualFrame, bDummy, nDummyStartAt, sPhoneme, nDummyDoneAt;
function VoiceOverManager () {
}
static function init(l_fListener) {
if (!oEnterFrameListener) {
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = sarbakan.utils.Delegate.create(sarbakan.sound.VoiceOverManager, update);
MovieClip.addListener(oEnterFrameListener);
}
setListener(l_fListener);
aVoiceQueue = [];
oCharacters = {};
bPaused = false;
}
static function setListener(l_fListener) {
fListener = l_fListener;
fListener("meh");
}
static function addCharacter(l_sCharacterID) {
oCharacters[l_sCharacterID] = 1;
}
static function removeCharacter(l_sCharacterID) {
delete oCharacters[l_sCharacterID];
}
static function setCharacterMouth(l_sCharacterID, l_mcMouth) {
oCharacters[l_sCharacterID] = l_mcMouth;
updateMouth(l_sCharacterID);
}
static function queue(l_sCharacterID, l_sVoiceLinkage, l_nVolume, l_oLipsyncData, l_nDelay, l_sDebugString) {
queueVoice(l_sCharacterID, l_sVoiceLinkage, l_nVolume, l_nDelay, l_sDebugString, LIPSYNC_AUTOMATED, l_oLipsyncData);
}
static function queueManual(l_sCharacterID, l_sVoiceLinkage, l_nVolume, l_nDelay, l_sDebugString) {
queueVoice(l_sCharacterID, l_sVoiceLinkage, l_nVolume, l_nDelay, l_sDebugString, LIPSYNC_MANUAL);
}
static function startDebug(l_mcTimeline) {
mcDebug = l_mcTimeline.createEmptyMovieClip("VoiceOverManagerDebug", DEBUG_DEPTH);
mcDebug._x = 0;
mcDebug._y = Stage.height - DEBUG_HEIGHT;
mcDebug.createTextField("field", 2, 0, 0, Stage.width, DEBUG_HEIGHT);
var _local1 = new TextFormat();
_local1.font = DEBUG_FONT;
_local1.bold = DEBUG_FONT_BOLD;
_local1.size = DEBUG_FONT_SIZE;
_local1.color = DEBUG_FONT_COLOR;
_local1.align = "center";
mcDebug.field.setNewTextFormat(_local1);
mcDebug.field.selectable = false;
mcDebug.field.multiline = true;
mcDebug.field.wordWrap = true;
mcDebug.createTextField("fieldShadow", 1, 1, 1, Stage.width, DEBUG_HEIGHT);
var _local2 = new TextFormat();
_local2.font = DEBUG_FONT;
_local2.bold = DEBUG_FONT_BOLD;
_local2.size = DEBUG_FONT_SIZE;
_local2.color = DEBUG_FONT_SHADOW_COLOR;
_local2.align = "center";
mcDebug.fieldShadow.setNewTextFormat(_local2);
mcDebug.fieldShadow.selectable = false;
mcDebug.fieldShadow.multiline = true;
mcDebug.fieldShadow.wordWrap = true;
}
static function pause() {
nStoppedAt = oVoiceSound.position;
oVoiceSound.stop();
bPaused = true;
}
static function resume() {
oVoiceSound.start(nStoppedAt / 1000);
bPaused = false;
}
static function stopDebug() {
if (mcDebug != undefined) {
mcDebug.removeMovieClip();
}
}
static function isDialogComplete() {
return(((aVoiceQueue.length == 0) && (isVoiceDone())) && (!nCurrentVoiceStartAt));
}
static function clearAll() {
oVoiceSound.stop();
sarbakan.sound.SoundManager.remove(oVoiceSound);
delete oVoiceSound;
aVoiceQueue = new Array();
updateMouth(oCurrentVoice.character);
delete oCurrentVoice;
updateDebug();
}
static function update() {
if (!bPaused) {
if ((!oCurrentVoice) && (aVoiceQueue.length > 0)) {
oCurrentVoice = aVoiceQueue.shift();
if (oCurrentVoice.delay > 0) {
nCurrentVoiceStartAt = oCurrentVoice.delay + getTimer();
} else {
nCurrentVoiceStartAt = getTimer();
}
} else if (nCurrentVoiceStartAt && (getTimer() > nCurrentVoiceStartAt)) {
startCurrentVoice();
updateDebug();
delete nCurrentVoiceStartAt;
} else if (oCurrentVoice && (!nCurrentVoiceStartAt)) {
if (isVoiceDone()) {
fListener(oCurrentVoice.linkage);
delete oVoiceSound;
updateMouth(oCurrentVoice.character);
delete oCurrentVoice;
updateDebug();
} else if (bSynched) {
updateSyncAutomatic();
} else {
updateSyncManual();
}
}
}
}
static function updateSyncManual() {
nManualFrame = Math.round((data.GameData.GAME_FRAMERATE / 1000) * oVoiceSound.position);
oCharacters[oCurrentVoice.character].mc.mcSynch.gotoAndStop(nManualFrame);
}
static function updateSyncAutomatic() {
var _local1;
if (bDummy) {
_local1 = getTimer() - nDummyStartAt;
} else {
_local1 = oVoiceSound.position;
}
while ((oCurrentVoice.syncData.timingArray[0] <= _local1) && (oCurrentVoice.syncData.timingArray.length > 0)) {
oCurrentVoice.syncData.timingArray.shift();
sPhoneme = String(oCurrentVoice.syncData.lipsArray.shift());
}
oCharacters[oCurrentVoice.character].mc.gotoAndStop(phonemeToFrame(sPhoneme));
}
static function updateDebug() {
if (mcDebug != undefined) {
var _local1;
if (oCurrentVoice.text) {
_local1 = oCurrentVoice.text;
} else {
_local1 = "";
}
mcDebug.field.text = _local1;
mcDebug.fieldShadow.text = _local1;
}
}
static function updateMouth(l_sCharacterID) {
if (oVoiceSound && (oCurrentVoice.character == l_sCharacterID)) {
if (oCurrentVoice.syncType == LIPSYNC_AUTOMATED) {
oCharacters[l_sCharacterID].gotoAndStop("automated");
oCharacters[l_sCharacterID].mc.gotoAndStop(phonemeToFrame(sPhoneme));
} else {
oCharacters[l_sCharacterID].gotoAndStop("manual");
oCharacters[l_sCharacterID].mc.gotoAndStop(oCurrentVoice.linkage);
oCharacters[l_sCharacterID].mc.mcSynch.gotoAndStop(nManualFrame);
}
} else {
oCharacters[l_sCharacterID].gotoAndStop("automated");
oCharacters[l_sCharacterID].mc.gotoAndStop(1);
}
}
static function isVoiceDone() {
if (bDummy) {
return(getTimer() > nDummyDoneAt);
}
return(!sarbakan.sound.SoundManager.isSoundPlaying(oVoiceSound));
}
static function startCurrentVoice() {
if (oCurrentVoice.syncData.bDummy) {
bDummy = true;
nDummyStartAt = getTimer();
nDummyDoneAt = nDummyStartAt + oCurrentVoice.syncData.nDuration;
} else {
bDummy = false;
oVoiceSound = sarbakan.sound.SoundManager.play(oCurrentVoice.linkage, oCurrentVoice.volume, 1, true);
}
if (oCurrentVoice.syncType == LIPSYNC_AUTOMATED) {
oCharacters[oCurrentVoice.character].gotoAndStop("automated");
bSynched = true;
} else {
nManualFrame = 0;
oCharacters[oCurrentVoice.character].gotoAndStop("manual");
oCharacters[oCurrentVoice.character].mc.gotoAndStop(oCurrentVoice.linkage);
bSynched = false;
}
delete sPhoneme;
}
static function queueVoice(l_sCharacterID, l_sVoiceLinkage, l_nVolume, l_nDelay, l_sDebugString, l_nSyncType, l_oLipsyncData) {
if (oCharacters[l_sCharacterID]) {
if (!l_nDelay) {
l_nDelay = 0;
}
if (!l_sDebugString) {
l_sDebugString = "";
}
aVoiceQueue.push({character:l_sCharacterID, linkage:l_sVoiceLinkage, volume:l_nVolume, syncType:l_nSyncType, syncData:l_oLipsyncData, delay:(l_nDelay * 1000) + 100, text:l_sDebugString});
}
}
static function phonemeToFrame(l_sPhoneme) {
switch (l_sPhoneme) {
case "x" :
default :
case "m" :
case "p" :
case "b" :
return(1);
case "ZH" :
case "CH" :
case "j" :
case "SH" :
case "s" :
case "z" :
case "DH" :
case "TH" :
case "t" :
case "NG" :
case "g" :
case "k" :
case "h" :
case "n" :
case "d" :
return(7);
case "IY" :
case "y" :
case "IH" :
case "w" :
return(2);
case "AE" :
case "AY" :
case "EY" :
case "EH" :
return(3);
case "l" :
case "el" :
return(4);
case "AA" :
case "AH" :
case "AO" :
case "OW" :
case "AW" :
case "r" :
case "ER" :
case "OY" :
case "UH" :
case "UW" :
return(5);
case "v" :
case "f" :
}
return(6);
}
static var LIPSYNC_AUTOMATED = 0;
static var LIPSYNC_MANUAL = 1;
static var DEBUG_DEPTH = 123455;
static var DEBUG_HEIGHT = 70;
static var DEBUG_FONT = "Verdana";
static var DEBUG_FONT_BOLD = true;
static var DEBUG_FONT_SIZE = 14;
static var DEBUG_FONT_COLOR = 16777215;
static var DEBUG_FONT_SHADOW_COLOR = 0;
}
Symbol 1771 MovieClip [__Packages.sarbakan.sound.LipsyncData] Frame 0
class sarbakan.sound.LipsyncData
{
function LipsyncData () {
}
}
Symbol 1772 MovieClip [__Packages.data.GameData] Frame 0
class data.GameData
{
function GameData () {
}
static function getFGEventHandler() {
return(new eventHandlers.FGEventHandler());
}
static function getMGEventHandler(l_nLevel) {
switch (l_nLevel) {
case 1 :
return(new eventHandlers.MGEventHandler_level1());
case 2 :
return(new eventHandlers.MGEventHandler_level2());
case 3 :
return(new eventHandlers.MGEventHandler_level3());
}
}
static function getLevelEventHandler(l_nLevel) {
switch (l_nLevel) {
case 1 :
return(new eventHandlers.LevelEventHandler_level1());
case 2 :
return(new eventHandlers.LevelEventHandler_level2());
case 3 :
return(new eventHandlers.LevelEventHandler_level3());
}
}
static var GAME_FRAMERATE = 35;
static var SEQUENCE_TRANSITION = 0;
static var SEQUENCE_CUTSCENE = 1;
static var SEQUENCE_SIDESCROLLER = 2;
static var SEQUENCE_MINIGAME = 3;
static var SEQUENCE_FINALGAME = 4;
static var DIFFICULTY_EASY = 0;
static var DIFFICULTY_MEDIUM = 1;
static var DIFFICULTY_HARD = 2;
static var SCREEN_WIDTH = 1800;
static var SCREEN_HEIGHT = 340;
static var STAGE_WIDTH = 600;
static var STAGE_HEIGHT = 340;
static var SIDESCROLLER_DEPTH_BACKGROUND = 1000;
static var SIDESCROLLER_DEPTH_LEVEL = 1001;
static var DEPTH_SCREEN = 1000;
static var DEPTH_ROVER = 1000;
static var LEVEL_SEQUENCES = [[[SEQUENCE_SIDESCROLLER, 1, ["ss1_A", "ss1_C", "ss1_E"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_EASY], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 2, ["ss1_F", "ss1_B", "ss1_G"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_MEDIUM], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 3, ["ss1_F", "ss1_H"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_HARD], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 4, ["ss1_F", "ss1_B", "ss1_C", "ss1_I"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_FINALGAME, 1], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_CUTSCENE, "level2Intro"], [SEQUENCE_TRANSITION, "crystalR"]], [[SEQUENCE_SIDESCROLLER, 1, ["ss2_A", "ss2_C"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_EASY], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 2, ["ss2_D", "ss2_B", "ss2_E"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_MEDIUM], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 3, ["ss2_D", "ss2_F", "ss2_G", "ss2_E"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_HARD], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 4, ["ss2_D", "ss2_B", "ss2_G", "ss2_H"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_FINALGAME, 2], [SEQUENCE_TRANSITION, "crystalB"]], [[SEQUENCE_SIDESCROLLER, 1, ["ss3_A", "ss3_B", "ss3_C"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_EASY], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 2, ["ss3_D", "ss3_B", "ss3_E", "ss3_G"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_MEDIUM], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 3, ["ss3_D", "ss3_B", "ss3_B", "ss3_H"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_HARD], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_SIDESCROLLER, 4, ["ss3_D", "ss3_B", "ss3_E", "ss3_I", "ss3_J"]], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_FINALGAME, 3], [SEQUENCE_TRANSITION, "crystalY"]]];
static var BYPASS_SEQUENCES = [[[SEQUENCE_TRANSITION, "doors"]], [[SEQUENCE_TRANSITION, "doors"]], [[SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_EASY], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_MEDIUM], [SEQUENCE_TRANSITION, "doors"], [SEQUENCE_MINIGAME, DIFFICULTY_HARD], [SEQUENCE_TRANSITION, "doors"]]];
}
Symbol 1773 MovieClip [__Packages.eventHandlers.LevelEventHandler] Frame 0
interface eventHandlers.LevelEventHandler
{
}
Symbol 1774 MovieClip [__Packages.eventHandlers.FGEventHandler] Frame 0
class eventHandlers.FGEventHandler implements eventHandlers.LevelEventHandler
{
var oController, oTyrone, bStartOver, nLevel;
function FGEventHandler () {
}
function init() {
oController = Controller.getInstance();
oTyrone = oController.oCurrentSequence.oTyrone;
bStartOver = false;
}
function setLevel(l_nLevel) {
nLevel = l_nLevel;
}
function onScrollerEvent(l_sEvent) {
}
function onActionSequenceDone(l_sAction) {
switch (l_sAction) {
case "startGame" :
switch (nLevel) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_41.wav", 100, new data.lipsync.bymm_t_41(), 0, "There\u2019s a Boinga crystal all the way at the bottom of this cliff.");
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_42.wav", 100, new data.lipsync.bymm_t_42(), 0, "To get down there, you\u2019ll have to enter the secret code on the buttons over there.");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_48.wav", 100, new data.lipsync.bymm_t_48(), 0, "Shuttle Crew, the crystal is right behind that big door.");
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_49.wav", 100, new data.lipsync.bymm_t_49(), 0, "To open it, you\u2019ll have to enter the secret code on the buttons over there.");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_53.wav", 100, new data.lipsync.bymm_t_53(), 0, "The crystal is right behind those fountains.");
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_54.wav", 100, new data.lipsync.bymm_t_54(), 0, "You\u2019ll have to enter the secret code on the buttons over there.");
}
break;
case "repeatPop" :
onVoiceDone("bymm_t_54.wav");
break;
case "gameEnded" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_56.wav", 100, new data.lipsync.bymm_t_56(), 0, "Yes! You entered the secret code!");
var _local3 = new Array(1, 2, 3);
var _local4 = function (_a, _b) {
if (Math.random() < 0.5) {
return(1);
}
return(-1);
};
_local3.sort(_local4);
var _local2 = 0;
while (_local2 < 3) {
switch (_local3[_local2]) {
case 1 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_07.wav", 100, new data.lipsync.bymm_a_07(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_08.wav", 100, new data.lipsync.bymm_a_08(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_09.wav", 100, new data.lipsync.bymm_a_09(), 0, "");
}
break;
case 2 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_07.wav", 100, new data.lipsync.bymm_p_07(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_08.wav", 100, new data.lipsync.bymm_p_08(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_06.wav", 100, new data.lipsync.bymm_p_06(), 0, "");
}
break;
case 3 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_07.wav", 100, new data.lipsync.bymm_u_07(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_08.wav", 100, new data.lipsync.bymm_u_08(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_09.wav", 100, new data.lipsync.bymm_u_09(), 0, "");
}
}
_local2++;
}
switch (nLevel) {
case 1 :
case 2 :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_57.wav", 100, new data.lipsync.bymm_t_57(), 0, "Let\u2019s get the crystal and find the next one!");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_58.wav", 100, new data.lipsync.bymm_t_58(), 0, "Let\u2019s get the crystal and head back to the space ship.");
}
}
}
function onVoiceDone(l_sLinkage) {
switch (l_sLinkage) {
case "bymm_t_42.wav" :
case "bymm_t_49.wav" :
case "bymm_t_54.wav" :
oController.oCurrentSequence.glowButtons();
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_43.wav", 100, new data.lipsync.bymm_t_43(), 0, "Use your mouse to click on the buttons.");
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_44.wav", 100, new data.lipsync.bymm_t_44(), 0, "Repeat the same order that I\u2019ll show you.");
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_45.wav", 100, new data.lipsync.bymm_t_45(), 0, "The secret code is\u2026");
break;
case "bymm_t_44.wav" :
if (!bStartOver) {
oController.oCurrentSequence.showHud();
}
break;
case "bymm_t_55.wav" :
bStartOver = true;
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_44.wav", 100, new data.lipsync.bymm_t_44(), 0, "Repeat the same order that I\u2019ll show you.");
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_45.wav", 100, new data.lipsync.bymm_t_45(), 0, "The secret code is\u2026");
break;
case "bymm_t_47.wav" :
case "bymm_t_51.wav" :
oController.oCurrentSequence.tellSequence();
break;
case "bymm_t_45.wav" :
if (!bStartOver) {
oController.oCurrentSequence.firstRun();
} else {
bStartOver = false;
oController.oCurrentSequence.startOver();
}
break;
case "bymm_t_57.wav" :
case "bymm_t_58.wav" :
if (nLevel == 1) {
Controller.getInstance().oCurrentSequence.fg1EndPlay();
} else {
Controller.getInstance().onGameNextSequence();
}
}
}
}
Symbol 1775 MovieClip [__Packages.sarbakan.visual.element.BaseElement] Frame 0
class sarbakan.visual.element.BaseElement
{
static var nNextID;
var id, oOwner, mc;
function BaseElement (l_sID) {
id = l_sID;
}
function setOwner(l_oOwner) {
oOwner = l_oOwner;
}
function setMC(l_mc) {
mc = l_mc;
}
function getMC() {
return(mc);
}
function attachMC() {
}
function toString() {
return(("[Element " + id) + "]");
}
static function resetID() {
nNextID = undefined;
}
static function getNextID() {
if (!nNextID) {
nNextID = 0;
}
return(nNextID++);
}
}
Symbol 1776 MovieClip [__Packages.sarbakan.visual.layer.Layer] Frame 0
class sarbakan.visual.layer.Layer
{
var mc, oDynamicElements, oStaticElements, oCollisionMaps, oActivationManager, nStageWHalf, nStageHHalf;
function Layer (l_mc, l_oActivationManager) {
mc = l_mc;
oDynamicElements = {};
oStaticElements = [];
oCollisionMaps = {};
oActivationManager = l_oActivationManager;
}
function init(l_nStageW, l_nStageH) {
nStageWHalf = l_nStageW / 2;
nStageHHalf = l_nStageH / 2;
oActivationManager.init(l_nStageW, l_nStageH);
}
function addDynamicElement(l_oElement) {
oDynamicElements[l_oElement.id] = l_oElement;
l_oElement.setOwner(this);
if (!l_oElement.bAlwaysActive) {
var _local3 = l_oElement.getGlobalPos(l_oElement.mc);
oActivationManager.addDynamicElement(l_oElement, _local3.x, _local3.y, l_oElement.mc._width, l_oElement.mc._height);
} else {
oActivationManager.addAlwaysActiveElement(l_oElement);
}
}
function changeDynamicElementID(l_oElement, l_sNewID) {
delete oDynamicElements[l_oElement.id];
l_oElement.id = l_sNewID;
oDynamicElements[l_oElement.id] = l_oElement;
}
function removeDynamicElement(l_oElement) {
oActivationManager.removeDynamicElement(l_oElement);
delete oDynamicElements[l_oElement.id];
}
function addStaticElement(l_oElement) {
l_oElement.mc._visible = false;
l_oElement.setOwner(this);
oActivationManager.addStaticElement(l_oElement.mc, l_oElement.mc._x, l_oElement.mc._y, l_oElement.mc._width, l_oElement.mc._height);
oStaticElements.push(l_oElement.mc);
}
function addCollisionMap(l_oCollisionMap) {
oCollisionMaps[l_oCollisionMap.id] = l_oCollisionMap;
}
function update() {
oActivationManager.updateActivation((mc._x - nStageWHalf) * -1, (mc._y - nStageHHalf) * -1);
var _local2;
_local2 = oActivationManager.getActiveElements();
for (var _local3 in _local2) {
_local2[_local3].update();
}
}
function reset() {
for (var _local2 in oDynamicElements) {
oDynamicElements[_local2].reset();
}
}
function pause() {
var _local2;
_local2 = oActivationManager.getActiveElements();
for (var _local3 in _local2) {
_local2[_local3].pause();
}
}
function unpause() {
var _local2;
_local2 = oActivationManager.getActiveElements();
for (var _local3 in _local2) {
_local2[_local3].unpause();
}
}
function destroy() {
for (var _local2 in oDynamicElements) {
oDynamicElements[_local2].remove();
}
for (var _local2 in oStaticElements) {
oStaticElements[_local2].removeMovieClip();
}
for (var _local2 in oCollisionMaps) {
oCollisionMaps[_local2].remove();
}
}
}
Symbol 1777 MovieClip [__Packages.sarbakan.visual.activation.ActivationManager] Frame 0
class sarbakan.visual.activation.ActivationManager
{
var nZoneWidth, nZoneHeight;
function ActivationManager () {
}
function init(l_nZoneWidth, l_nZoneHeight) {
nZoneWidth = l_nZoneWidth;
nZoneHeight = l_nZoneHeight;
}
function addDynamicElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
}
function addAlwaysActiveElement(l_oElement) {
}
function removeDynamicElement(l_oElement) {
}
function addStaticElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
}
function removeStaticElement(l_oElement) {
}
function updateActivation(l_nX, l_nY) {
}
function getActiveElements() {
return([]);
}
}
Symbol 1778 MovieClip [__Packages.sarbakan.visual.element.StaticElement] Frame 0
class sarbakan.visual.element.StaticElement extends sarbakan.visual.element.BaseElement
{
function StaticElement (l_sID) {
super(l_sID);
}
}
Symbol 1779 MovieClip [__Packages.sarbakan.visual.layer.CollisionMap] Frame 0
class sarbakan.visual.layer.CollisionMap
{
static var nDepth;
var id, oLayer, mc, nColor;
function CollisionMap (l_sID, l_oLayer, l_nColor) {
if (!nDepth) {
nDepth = BASE_DEPTH;
}
id = l_sID;
oLayer = l_oLayer;
mc = oLayer.mc.createEmptyMovieClip(id, nDepth++);
mc._visible = false;
if (!l_nColor) {
nColor = 16711935 /* 0xFF00FF */;
} else {
nColor = l_nColor;
}
}
function show(l_nAlpha) {
mc._visible = true;
if (l_nAlpha) {
mc._alpha = l_nAlpha;
} else {
mc._alpha = 100;
}
}
function hide() {
mc._visible = false;
mc._alpha = 100;
}
function drawRect(l_nX, l_nY, l_nWidth, l_nHeight) {
mc.moveTo(l_nX, l_nY);
mc.beginFill(nColor);
mc.lineTo(l_nX + l_nWidth, l_nY);
mc.lineTo(l_nX + l_nWidth, l_nY + l_nHeight);
mc.lineTo(l_nX, l_nY + l_nHeight);
mc.lineTo(l_nX, l_nY);
}
function setNewSource(l_mcSource) {
remove();
mc = l_mcSource;
mc._visible = false;
}
function attachMC(l_sLinkage, l_nX, l_nY, l_sName) {
if (!l_sName) {
l_sName = String(mc.getNextHighestDepth());
}
return(mc.attachMovie(l_sLinkage, l_sName, mc.getNextHighestDepth(), {_x:l_nX, _y:l_nY}));
}
function remove() {
mc.removeMovieClip();
}
static var BASE_DEPTH = 64000;
}
Symbol 1780 MovieClip [__Packages.sarbakan.visual.element.DynamicElement] Frame 0
class sarbakan.visual.element.DynamicElement extends sarbakan.visual.element.BaseElement
{
var nSpeedX, nSpeedXLast, nSpeedY, nSpeedYLast, sStateAnimPrefix, bAlwaysActive, bStaticMovieClip, mc, oOwner, sNextState, sState;
function DynamicElement (l_sID) {
super(l_sID);
nSpeedX = 0;
nSpeedXLast = 0;
nSpeedY = 0;
nSpeedYLast = 0;
sStateAnimPrefix = "";
bAlwaysActive = false;
bStaticMovieClip = false;
}
function update() {
updateState();
updateMove();
}
function enable() {
setState(DEFAULT_STATE);
updateState();
}
function isActive() {
if (getState() == "inactive") {
return(false);
}
return(true);
}
function disable() {
setState("inactive");
updateState();
}
function pause() {
mc.state.stop();
}
function unpause() {
mc.state.play();
}
function remove() {
disable();
if (!bStaticMovieClip) {
mc.removeMovieClip();
}
oOwner.removeDynamicElement(this);
}
function reset() {
}
function setState(l_sState) {
sNextState = l_sState;
}
function getState() {
return(sState);
}
function getCoord() {
var _local2 = new Object();
_local2.x = mc._x;
_local2.y = mc._y;
return(_local2);
}
function setCoord(l_oPos) {
mc._x = l_oPos.x;
mc._y = l_oPos.y;
}
function collideWithMap(l_sCollisionMapID) {
var _local3;
if (typeof(arguments[1]) == "movieclip") {
_local3 = getGlobalPos(arguments[1]);
} else if (typeof(arguments[1]) == "object") {
_local3 = arguments[1];
} else {
_local3 = getGlobalPos(mc);
}
return(oOwner.oCollisionMaps[l_sCollisionMapID].mc.hitTest(_local3.x, _local3.y, true));
}
function collideWithElement(l_sElementID) {
var _local3;
if (arguments[1]) {
_local3 = getGlobalPos(arguments[1]);
} else {
_local3 = getGlobalPos(mc);
}
return(oOwner.oDynamicElements[l_sElementID].mc.hitTest(_local3.x, _local3.y, false));
}
function collideWithElementBox(l_sElementID) {
var _local3;
if (arguments[1]) {
_local3 = arguments[1];
} else {
_local3 = mc;
}
return(oOwner.oDynamicElements[l_sElementID].mc.hitTest(_local3));
}
function setMC(l_mc) {
super.setMC(l_mc);
sNextState = sState;
updateState();
}
function getElement(l_sElementID) {
return(oOwner.oDynamicElements[l_sElementID]);
}
function stateStarting() {
return(mc.state._currentframe == 1);
}
function stateFinished() {
return(mc.state._currentframe == mc.state._totalframes);
}
function stateCurrentFrame() {
return(mc.state._currentframe);
}
function getGlobalPos(l_mc) {
var _local1 = new Object();
_local1.x = 0;
_local1.y = 0;
_local1.x = l_mc._x;
_local1.y = l_mc._y;
l_mc._parent.localToGlobal(_local1);
return(_local1);
}
function updateState() {
if (sNextState != undefined) {
sState = sNextState;
sNextState = undefined;
mc.gotoAndStop(String(sStateAnimPrefix + sState));
}
this[sState]();
}
function updateMove() {
mc._x = nSpeedX + mc._x;
mc._y = nSpeedY + mc._y;
}
var DEFAULT_STATE = "idle";
}
Symbol 1781 MovieClip [__Packages.elements.Tyrone] Frame 0
class elements.Tyrone extends sarbakan.visual.element.DynamicElement
{
var setMC, bAlwaysActive, enable, setState, mc, getState, stateFinished;
function Tyrone (l_mc) {
super("tyrone");
setMC(l_mc);
bAlwaysActive = true;
enable();
setState("inactive");
mc._visible = false;
}
function alreadyInscreen() {
mc._visible = true;
setState("idle");
actionDoneAppear();
}
function popIn() {
if ((getState() == "inactive") || (getState() == "disappear")) {
setState("appear");
} else {
actionDoneAppear();
}
}
function popOut() {
if ((getState() == "idle") || (getState() == "appear")) {
setState("disappear");
} else {
actionDoneDisappear();
}
}
function appear() {
mc._visible = true;
if (stateFinished()) {
setState("idle");
actionDoneAppear();
}
}
function disappear() {
if (stateFinished()) {
setState("inactive");
mc._visible = false;
actionDoneDisappear();
}
}
function actionDoneDisappear() {
sarbakan.utils.ActionSequencer.onActionDone("miniGamePopOut");
sarbakan.utils.ActionSequencer.onActionDone("miniGameEndPopOut");
}
function actionDoneAppear() {
sarbakan.utils.ActionSequencer.onActionDone("watchOutPop");
sarbakan.utils.ActionSequencer.onActionDone("miniGamePop");
sarbakan.utils.ActionSequencer.onActionDone("finalGamePop");
sarbakan.utils.ActionSequencer.onActionDone("miniGameEndPopIn");
sarbakan.utils.ActionSequencer.onActionDone("miniGameComplete");
sarbakan.utils.ActionSequencer.onActionDone("startGame");
sarbakan.utils.ActionSequencer.onActionDone("repeatPop");
}
var DEFAULT_STATE = "inactive";
}
Symbol 1782 MovieClip [__Packages.sarbakan.utils.ActionSequencer] Frame 0
class sarbakan.utils.ActionSequencer
{
static var aActionQueue, aListeners, oCurrentAction, nCurrentActionStartAt;
function ActionSequencer () {
}
static function init() {
aActionQueue = [];
aListeners = [];
delete oCurrentAction;
delete nCurrentActionStartAt;
}
static function addListener(l_fListener) {
aListeners.push(l_fListener);
}
static function queue(l_sActionID, l_oActionObjet, l_sMethod, l_nDelay) {
if (!l_nDelay) {
l_nDelay = 0;
}
aActionQueue.push({id:l_sActionID, obj:l_oActionObjet, method:l_sMethod, delay:l_nDelay * 1000});
}
static function update() {
if ((!oCurrentAction) && (aActionQueue.length > 0)) {
oCurrentAction = aActionQueue.shift();
if (oCurrentAction.delay > 0) {
nCurrentActionStartAt = oCurrentAction.delay + getTimer();
} else {
nCurrentActionStartAt = getTimer();
}
} else if (nCurrentActionStartAt && (getTimer() > nCurrentActionStartAt)) {
oCurrentAction.obj[oCurrentAction.method]();
delete nCurrentActionStartAt;
}
}
static function onActionDone(l_sActionID) {
if (l_sActionID == oCurrentAction.id) {
notify(oCurrentAction.id);
delete oCurrentAction;
}
}
static function notify(l_sActionID) {
for (var _local2 in aListeners) {
aListeners[_local2](l_sActionID);
}
}
}
Symbol 1783 MovieClip [__Packages.data.lipsync.bymm_t_41] Frame 0
class data.lipsync.bymm_t_41 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_41 () {
super();
lipsArray = new Array("b", "IH", "n", "AH", "m", "b", "AH", "m", "IH", "h", "IH", "z", "b", "l", "h", "IH", "x", "AH", "n", "AH", "ER", "m", "AH", "m", "IH", "z", "g", "l", "OW", "n", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 667, 750, 833, 1000, 1083, 1167, 1250, 1333, 1417, 1500, 1583, 1750, 1917, 2000, 2167, 2333, 2417, 2500, 2667, 2750, 2833, 3000, 3083, 3250, 3333);
}
}
Symbol 1784 MovieClip [__Packages.data.lipsync.bymm_t_42] Frame 0
class data.lipsync.bymm_t_42 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_42 () {
super();
lipsArray = new Array("x", "IY", "b", "IY", "n", "AE", "OW", "n", "IH", "n", "y", "m", "UW", "n", "t", "IH", "g", "IH", "n", "IH", "n", "IH", "z", "IY", "g", "IH", "NG", "g", "l", "x", "x", "b", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 333, 417, 583, 667, 750, 1000, 1083, 1250, 1333, 1417, 1500, 1583, 1667, 1750, 1833, 1917, 2000, 2083, 2250, 2333, 2500, 2583, 2667, 2750, 2833, 3083, 3167, 3250, 3500, 3583);
}
}
Symbol 1785 MovieClip [__Packages.data.lipsync.bymm_t_48] Frame 0
class data.lipsync.bymm_t_48 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_48 () {
super();
lipsArray = new Array("x", "j", "AE", "l", "g", "m", "x", "DH", "n", "g", "IH", "z", "l", "UW", "v", "IY", "NG", "n", "AH", "h", "EY", "m", "AE", "b", "IY", "n", "b", "l", "AO", "ER", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 500, 833, 917, 1000, 1083, 1167, 1250, 1417, 1500, 1667, 1833, 1917, 2000, 2083, 2167, 2333, 2500, 2667, 2833, 2917, 3083, 3167, 3250, 3500, 3583, 3667, 3833, 3917);
}
}
Symbol 1786 MovieClip [__Packages.data.lipsync.bymm_t_49] Frame 0
class data.lipsync.bymm_t_49 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_49 () {
super();
lipsArray = new Array("x", "AH", "l", "l", "l", "m", "IY", "NG", "x", "y", "OW", "h", "AE", "x", "DH", "IY", "n", "n", "DH", "IH", "n", "DH", "IH", "h", "IY", "n", "g", "IH", "NG", "k", "l", "n", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 417, 500, 583, 750, 833, 1167, 1250, 1333, 1417, 1500, 1583, 1667, 1750, 1833, 1917, 2000, 2083, 2167, 2250, 2333, 2417, 2500, 2583, 2667, 2750, 2833, 2917, 3250, 3333, 3417, 3583);
}
}
Symbol 1787 MovieClip [__Packages.data.lipsync.bymm_t_53] Frame 0
class data.lipsync.bymm_t_53 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_53 () {
super();
lipsArray = new Array("DH", "n", "f", "UW", "s", "l", "AH", "v", "m", "EY", "n", "d", "OW", "h", "AY", "IH", "m", "l", "AH", "DH", "AH", "UW", "v", "IH", "m", "v", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 417, 583, 667, 750, 833, 917, 1000, 1083, 1167, 1333, 1417, 1500, 1667, 1750, 1833, 1917, 2000, 2167, 2250, 2333, 2500, 2667, 2833);
}
}
Symbol 1788 MovieClip [__Packages.data.lipsync.bymm_t_54] Frame 0
class data.lipsync.bymm_t_54 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_54 () {
super();
lipsArray = new Array("m", "OW", "l", "AH", "n", "IH", "h", "IH", "t", "n", "n", "UW", "z", "h", "IY", "g", "IH", "n", "g", "OW", "l", "b", "x", "x");
timingArray = new Array(-83, 83, 167, 333, 417, 500, 667, 750, 833, 917, 1000, 1167, 1250, 1333, 1417, 1500, 1583, 1667, 1750, 1833, 1917, 2167, 2333, 2417);
}
}
Symbol 1789 MovieClip [__Packages.data.lipsync.bymm_t_56] Frame 0
class data.lipsync.bymm_t_56 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_56 () {
super();
lipsArray = new Array("y", "l", "AE", "n", "v", "x", "y", "m", "IH", "IH", "k", "NG", "IH", "s", "IY", "g", "NG", "g", "OW", "l", "n", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 500, 667, 750, 833, 917, 1083, 1167, 1333, 1417, 1583, 1667, 1833, 2000, 2083, 2167, 2417, 2500, 2667);
}
}
Symbol 1790 MovieClip [__Packages.data.lipsync.bymm_a_07] Frame 0
class data.lipsync.bymm_a_07 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_07 () {
super();
lipsArray = new Array("y", "ER", "l", "h", "ER", "OW", "l", "m", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 500, 583, 833, 1000);
}
}
Symbol 1791 MovieClip [__Packages.data.lipsync.bymm_a_08] Frame 0
class data.lipsync.bymm_a_08 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_08 () {
super();
lipsArray = new Array("x", "AE", "h", "AE", "h", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 667);
}
}
Symbol 1792 MovieClip [__Packages.data.lipsync.bymm_a_09] Frame 0
class data.lipsync.bymm_a_09 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_09 () {
super();
lipsArray = new Array("IH", "n", "IY", "UW", "y", "x", "x");
timingArray = new Array(-83, 83, 167, 583, 750, 917, 1083);
}
}
Symbol 1793 MovieClip [__Packages.data.lipsync.bymm_p_07] Frame 0
class data.lipsync.bymm_p_07 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_07 () {
super();
lipsArray = new Array("AH", "l", "h", "AE", "NG", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 583, 667);
}
}
Symbol 1794 MovieClip [__Packages.data.lipsync.bymm_p_08] Frame 0
class data.lipsync.bymm_p_08 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_08 () {
super();
lipsArray = new Array("l", "AH", "g", "EY", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 750, 833);
}
}
Symbol 1795 MovieClip [__Packages.data.lipsync.bymm_p_06] Frame 0
class data.lipsync.bymm_p_06 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_06 () {
super();
lipsArray = new Array("l", "h", "AH", "l", "ER", "l", "x", "x");
timingArray = new Array(-83, 83, 417, 583, 667, 917, 1250, 1333);
}
}
Symbol 1796 MovieClip [__Packages.data.lipsync.bymm_u_07] Frame 0
class data.lipsync.bymm_u_07 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_07 () {
super();
lipsArray = new Array("y", "IY", "l", "h", "l", "l", "m", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 667, 833, 1167, 1250, 1333);
}
}
Symbol 1797 MovieClip [__Packages.data.lipsync.bymm_u_08] Frame 0
class data.lipsync.bymm_u_08 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_08 () {
super();
lipsArray = new Array("y", "h", "AE", "n", "x", "x");
timingArray = new Array(-83, 250, 583, 667, 750, 833);
}
}
Symbol 1798 MovieClip [__Packages.data.lipsync.bymm_u_09] Frame 0
class data.lipsync.bymm_u_09 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_09 () {
super();
lipsArray = new Array("v", "l", "AE", "x", "h", "IY", "y", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 750, 1000, 1250, 1417);
}
}
Symbol 1799 MovieClip [__Packages.data.lipsync.bymm_t_57] Frame 0
class data.lipsync.bymm_t_57 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_57 () {
super();
lipsArray = new Array("x", "m", "ER", "l", "AH", "n", "x", "x", "d", "y", "n", "NG", "k", "IH", "j", "AH", "l", "AH", "IH", "NG", "l", "b", "AY", "n", "n", "IH", "x", "s", "f", "l", "m", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 583, 667, 750, 917, 1000, 1083, 1250, 1417, 1500, 1583, 1667, 1750, 1917, 2167, 2250, 2417, 2583, 2750, 2833, 2917, 3000, 3083, 3167, 3250, 3583);
}
}
Symbol 1800 MovieClip [__Packages.data.lipsync.bymm_t_58] Frame 0
class data.lipsync.bymm_t_58 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_58 () {
super();
lipsArray = new Array("x", "AH", "TH", "p", "IH", "n", "IH", "k", "l", "UW", "s", "DH", "AH", "l", "m", "g", "IH", "n", "h", "IH", "n", "IH", "n", "t", "m", "IH", "z", "DH", "IH", "NG", "SH", "IH", "x", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 417, 500, 583, 667, 750, 833, 917, 1000, 1083, 1167, 1250, 1333, 1417, 1500, 1583, 1667, 1833, 2000, 2083, 2167, 2417, 2500, 2583, 2667, 2750, 2833, 3000, 3083, 3250, 3333, 3417);
}
}
Symbol 1801 MovieClip [__Packages.data.lipsync.bymm_t_43] Frame 0
class data.lipsync.bymm_t_43 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_43 () {
super();
lipsArray = new Array("m", "y", "m", "h", "UW", "m", "AE", "l", "z", "x", "t", "g", "l", "NG", "g", "AH", "m", "AH", "l", "AY", "UW", "m", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 500, 583, 750, 917, 1000, 1083, 1167, 1333, 1417, 1500, 1667, 1833, 1917, 2000, 2083, 2250, 2417, 2500, 2667, 2833);
}
}
Symbol 1802 MovieClip [__Packages.data.lipsync.bymm_t_44] Frame 0
class data.lipsync.bymm_t_44 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_44 () {
super();
lipsArray = new Array("x", "IY", "n", "IY", "x", "DH", "IH", "v", "DH", "IH", "NG", "l", "d", "ER", "m", "b", "v", "AE", "AA", "l", "j", "OW", "l", "y", "UW", "m", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 500, 583, 667, 750, 833, 917, 1000, 1167, 1333, 1417, 1500, 1583, 1667, 1750, 1917, 2083, 2167, 2333, 2417, 2500, 2583, 2667, 2833, 3000);
}
}
Symbol 1803 MovieClip [__Packages.data.lipsync.bymm_t_45] Frame 0
class data.lipsync.bymm_t_45 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_45 () {
super();
lipsArray = new Array("x", "m", "z", "IY", "g", "IH", "k", "l", "IY", "x", "y", "UW", "m", "x", "x", "x");
timingArray = new Array(-83, 0, 167, 333, 417, 500, 667, 833, 1083, 1167, 1250, 1500, 1583, 1667, 1750, 2000);
}
}
Symbol 1804 MovieClip [__Packages.eventHandlers.MGEventHandler_level1] Frame 0
class eventHandlers.MGEventHandler_level1 implements eventHandlers.LevelEventHandler
{
var oController, oTyrone, nDiff;
function MGEventHandler_level1 () {
}
function init() {
oController = Controller.getInstance();
oTyrone = oController.oCurrentSequence.oTyrone;
}
function setDifficulty(l_nDiff) {
nDiff = l_nDiff;
}
function onScrollerEvent(l_sEvent) {
}
function onActionSequenceDone(l_sAction) {
switch (l_sAction) {
case "repeatPop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_28.wav", 100, new data.lipsync.bymm_t_28(), 0, "Use your mouse and click over a hole to fill it up.");
break;
case "miniGamePop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_27.wav", 100, new data.lipsync.bymm_t_27(), 0, "Fill up these holes with your molecul-o-tron.");
if (nDiff == 0) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_28.wav", 100, new data.lipsync.bymm_t_28(), 0, "Use your mouse and click over a hole to fill it up.");
}
break;
case "miniGameEndPopIn" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_37.wav", 100, new data.lipsync.bymm_t_37(), 0, "Good job!");
break;
case "endOfGame" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_20.wav", 100, new data.lipsync.bymm_u_20(), 0, "Mission accomplished!");
}
}
function onVoiceDone(l_sLinkage) {
switch (l_sLinkage) {
case "bymm_t_27.wav" :
if (nDiff == 0) {
break;
}
case "bymm_t_28.wav" :
sarbakan.utils.ActionSequencer.queue("miniGamePopOut", oTyrone, "popOut", 0.3);
oController.oCurrentSequence.StartGame();
break;
case "bymm_u_20.wav" :
sarbakan.utils.ActionSequencer.queue("miniGameEndPopIn", oTyrone, "popIn", 0.3);
break;
case "bymm_t_37.wav" :
oController.onGameNextSequence();
}
}
}
Symbol 1805 MovieClip [__Packages.data.lipsync.bymm_t_28] Frame 0
class data.lipsync.bymm_t_28 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_28 () {
super();
lipsArray = new Array("x", "y", "UW", "ZH", "m", "AE", "l", "v", "AH", "IH", "NG", "l", "IH", "g", "l", "w", "IH", "l", "OW", "l", "x", "IH", "NG", "p", "l", "IH", "AH", "AW", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 500, 583, 750, 833, 917, 1000, 1167, 1250, 1333, 1500, 1667, 1833, 1917, 2083, 2167, 2333, 2417, 2500, 2583, 2667, 2833, 2917, 3000, 3250, 3417);
}
}
Symbol 1806 MovieClip [__Packages.data.lipsync.bymm_t_27] Frame 0
class data.lipsync.bymm_t_27 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_27 () {
super();
lipsArray = new Array("x", "OW", "l", "AH", "l", "IY", "NG", "n", "s", "l", "OW", "l", "h", "IH", "n", "UW", "m", "AH", "l", "n", "x", "j", "h", "l", "m", "t", "m", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 583, 667, 750, 917, 1000, 1083, 1167, 1250, 1333, 1417, 1500, 1667, 1750, 1833, 1917, 2000, 2250, 2333, 2417, 2667, 2917);
}
}
Symbol 1807 MovieClip [__Packages.data.lipsync.bymm_t_37] Frame 0
class data.lipsync.bymm_t_37 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_37 () {
super();
lipsArray = new Array("IH", "n", "z", "y", "AA", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 333, 667, 833);
}
}
Symbol 1808 MovieClip [__Packages.data.lipsync.bymm_u_20] Frame 0
class data.lipsync.bymm_u_20 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_20 () {
super();
lipsArray = new Array("m", "y", "UW", "z", "IY", "AE", "h", "AE", "k", "h", "AH", "x", "l", "IY", "s", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 583, 667, 833, 1000, 1083, 1167, 1250, 1333, 1500, 1667, 1750, 1833);
}
}
Symbol 1809 MovieClip [__Packages.eventHandlers.MGEventHandler_level2] Frame 0
class eventHandlers.MGEventHandler_level2 implements eventHandlers.LevelEventHandler
{
var oController, oTyrone, nDiff;
function MGEventHandler_level2 () {
}
function init() {
oController = Controller.getInstance();
oTyrone = oController.oCurrentSequence.oTyrone;
}
function setDifficulty(l_nDiff) {
nDiff = l_nDiff;
}
function onScrollerEvent(l_sEvent) {
}
function onActionSequenceDone(l_sAction) {
switch (l_sAction) {
case "repeatPop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_31.wav", 100, new data.lipsync.bymm_t_31(), 0, "Use your mouse and click on a rock to remove it.");
break;
case "miniGamePop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_30.wav", 100, new data.lipsync.bymm_t_30(), 0, "Remove the rocks with your Zero gravity laser.");
if (nDiff == 0) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_31.wav", 100, new data.lipsync.bymm_t_31(), 0, "Use your mouse and click on a rock to remove it.");
}
break;
case "endOfGame" :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_19.wav", 100, new data.lipsync.bymm_p_19(), 0, "Mission accomplished!");
break;
case "miniGameEndPopIn" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_37.wav", 100, new data.lipsync.bymm_t_37(), 0, "Good job!");
break;
case "miniGameEndPopOut" :
}
}
function onVoiceDone(l_sLinkage) {
switch (l_sLinkage) {
case "bymm_t_30.wav" :
oController.oCurrentSequence.GlowRocks();
if (nDiff == 0) {
break;
}
case "bymm_t_31.wav" :
sarbakan.utils.ActionSequencer.queue("miniGamePopOut", oTyrone, "popOut", 0.3);
oController.oCurrentSequence.StartGame();
break;
case "bymm_t_37.wav" :
oController.onGameNextSequence();
break;
case "bymm_p_19.wav" :
sarbakan.utils.ActionSequencer.queue("miniGameEndPopIn", oTyrone, "popIn", 0.3);
}
}
}
Symbol 1810 MovieClip [__Packages.data.lipsync.bymm_t_31] Frame 0
class data.lipsync.bymm_t_31 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_31 () {
super();
lipsArray = new Array("x", "y", "UW", "IH", "m", "AH", "z", "IH", "NG", "k", "h", "IH", "NG", "g", "l", "AH", "IY", "m", "AA", "x", "UW", "m", "IY", "m", "IH", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 417, 500, 667, 833, 917, 1000, 1083, 1167, 1250, 1333, 1417, 1500, 1583, 1750, 1833, 2000, 2167, 2250, 2333, 2417, 2750, 2833, 3000);
}
}
Symbol 1811 MovieClip [__Packages.data.lipsync.bymm_t_30] Frame 0
class data.lipsync.bymm_t_30 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_30 () {
super();
lipsArray = new Array("m", "UW", "l", "n", "TH", "UW", "l", "AA", "h", "m", "IY", "UW", "d", "z", "IH", "AH", "r", "EH", "v", "y", "n", "l", "IY", "z", "m", "x", "x");
timingArray = new Array(-83, 167, 333, 417, 500, 583, 667, 750, 917, 1083, 1167, 1250, 1417, 1500, 1583, 1667, 1833, 1917, 2083, 2167, 2250, 2333, 2417, 2583, 2667, 2833, 3083);
}
}
Symbol 1812 MovieClip [__Packages.data.lipsync.bymm_p_19] Frame 0
class data.lipsync.bymm_p_19 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_19 () {
super();
lipsArray = new Array("m", "z", "SH", "IH", "n", "p", "x", "k", "l", "OW", "NG", "l", "h", "x", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 333, 417, 583, 667, 750, 833, 917, 1000, 1167, 1417, 1500, 1667);
}
}
Symbol 1813 MovieClip [__Packages.eventHandlers.MGEventHandler_level3] Frame 0
class eventHandlers.MGEventHandler_level3 implements eventHandlers.LevelEventHandler
{
var oController, oTyrone, nDiff;
function MGEventHandler_level3 () {
}
function init() {
oController = Controller.getInstance();
oTyrone = oController.oCurrentSequence.oTyrone;
}
function setDifficulty(l_nDiff) {
nDiff = l_nDiff;
}
function onScrollerEvent(l_sEvent) {
}
function onActionSequenceDone(l_sAction) {
switch (l_sAction) {
case "repeatPop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_35.wav", 100, new data.lipsync.bymm_t_35(), 0, "Use your mouse and click on the Robotot to make it fly.");
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_36.wav", 100, new data.lipsync.bymm_t_36(), 0, "Guide the Rotobot up to every switch. Rotobot will then activate the switch!");
break;
case "miniGamePop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_34.wav", 100, new data.lipsync.bymm_t_34(), 0, "Activate the switches with your Robotot. When the switches are activated, the door will open.");
if (nDiff == 0) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_35.wav", 100, new data.lipsync.bymm_t_35(), 0, "Use your mouse and click on the Robotot to make it fly.");
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_36.wav", 100, new data.lipsync.bymm_t_36(), 0, "Guide the Rotobot up to every switch. Rotobot will then activate the switch!");
}
break;
case "endOfGame" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_20.wav", 100, new data.lipsync.bymm_a_20(), 0, "Mission accomplished!");
break;
case "miniGameEndPopIn" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_37.wav", 100, new data.lipsync.bymm_t_37(), 0, "Good job!");
break;
case "miniGameEndPopOut" :
}
}
function onVoiceDone(l_sLinkage) {
switch (l_sLinkage) {
case "bymm_t_34.wav" :
oController.oCurrentSequence.GlowSwitches();
if (nDiff == 0) {
break;
}
case "bymm_t_36.wav" :
sarbakan.utils.ActionSequencer.queue("miniGamePopOut", oTyrone, "popOut", 0.3);
oController.oCurrentSequence.StartGame();
break;
case "bymm_t_37.wav" :
oController.onGameNextSequence();
break;
case "bymm_a_20.wav" :
sarbakan.utils.ActionSequencer.queue("miniGameEndPopIn", oTyrone, "popIn", 0.3);
}
}
}
Symbol 1814 MovieClip [__Packages.data.lipsync.bymm_t_35] Frame 0
class data.lipsync.bymm_t_35 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_35 () {
super();
lipsArray = new Array("k", "l", "IH", "k", "l", "m", "UW", "v", "AH", "l", "AH", "l", "AY", "n", "s", "m", "IY", "g", "v", "x", "l", "OW", "AH", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 583, 667, 833, 917, 1000, 1083, 1167, 1250, 1333, 1500, 1583, 1667, 1750, 1833, 2000, 2083, 2417);
}
}
Symbol 1815 MovieClip [__Packages.data.lipsync.bymm_t_36] Frame 0
class data.lipsync.bymm_t_36 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_36 () {
super();
lipsArray = new Array("x", "AE", "x", "UW", "v", "m", "AH", "UW", "l", "b", "AY", "x", "g", "AH", "l", "x", "t", "AH", "EH", "v", "IY", "d", "z", "x", "w", "IY", "x", "j", "x", "m", "l", "AH", "l", "AA", "l", "l", "b", "AE", "n", "x", "d", "h", "AE", "x", "b", "EY", "IH", "s", "l", "IH", "NG", "s", "x", "x");
timingArray = new Array(-83, 0, 250, 333, 417, 500, 583, 667, 750, 833, 917, 1083, 1167, 1250, 1333, 1417, 1583, 1667, 1750, 1917, 2000, 2083, 2167, 2250, 2333, 2417, 2583, 2667, 2833, 3083, 3167, 3333, 3417, 3500, 3583, 3667, 3833, 3917, 4083, 4167, 4250, 4333, 4417, 4500, 4583, 4750, 5000, 5083, 5167, 5250, 5417, 5500, 5667, 5833);
}
}
Symbol 1816 MovieClip [__Packages.data.lipsync.bymm_t_34] Frame 0
class data.lipsync.bymm_t_34 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_34 () {
super();
lipsArray = new Array("x", "EH", "IH", "n", "IH", "n", "EY", "UW", "TH", "l", "IY", "j", "UW", "z", "v", "IH", "NG", "g", "m", "r", "AH", "l", "z", "AH", "l", "b", "AH", "x", "x", "x", "m", "IH", "z", "k", "l", "UW", "z", "IH", "z", "AE", "h", "AE", "IH", "v", "IY", "y", "UW", "n", "x", "IH", "n", "OW", "w", "l", "l", "g", "IY", "m", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 667, 750, 917, 1000, 1083, 1250, 1417, 1500, 1583, 1667, 1750, 1833, 1917, 2000, 2083, 2167, 2250, 2333, 2417, 2500, 2667, 2833, 3000, 3083, 3250, 3333, 3417, 3500, 3583, 3667, 3750, 3833, 3917, 4083, 4167, 4333, 4417, 4500, 4667, 4750, 4833, 4917, 5083, 5167, 5333, 5583, 5750, 5917, 6083, 6167, 6250, 6417, 6583);
}
}
Symbol 1817 MovieClip [__Packages.data.lipsync.bymm_a_20] Frame 0
class data.lipsync.bymm_a_20 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_20 () {
super();
lipsArray = new Array("m", "IH", "SH", "IH", "IH", "n", "k", "OW", "m", "l", "n", "h", "x", "x", "x");
timingArray = new Array(-83, 83, 167, 333, 417, 500, 667, 750, 917, 1083, 1167, 1250, 1500, 1667, 1750);
}
}
Symbol 1818 MovieClip [__Packages.eventHandlers.LevelEventHandler_level1] Frame 0
class eventHandlers.LevelEventHandler_level1 implements eventHandlers.LevelEventHandler
{
var oController, oRover, oTyrone, nShoutedWarning, bActive, nLevel, bRepeting;
function LevelEventHandler_level1 () {
}
function init() {
oController = Controller.getInstance();
oRover = oController.oCurrentSequence.oRover;
oTyrone = oController.oCurrentSequence.oTyrone;
nShoutedWarning = 0;
bActive = true;
}
function destroy() {
delete onScrollerEvent;
delete onActionSequenceDone;
delete onVoiceDone;
bActive = false;
}
function setLevel(l_nLevel) {
nLevel = l_nLevel;
}
function onScrollerEvent(l_sEvent) {
if (bActive) {
switch (l_sEvent) {
case "repeatInstr" :
sarbakan.utils.ActionSequencer.queue("repeatPop", oTyrone, "popIn");
break;
case "startLevel" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
switch (random(3) + 1) {
case 1 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_16.wav", 100, new data.lipsync.bymm_a_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_17.wav", 100, new data.lipsync.bymm_a_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_18.wav", 100, new data.lipsync.bymm_a_18(), 0, "");
}
break;
case 2 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_16.wav", 100, new data.lipsync.bymm_p_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_17.wav", 100, new data.lipsync.bymm_p_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_15.wav", 100, new data.lipsync.bymm_p_15(), 0, "");
}
break;
case 3 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_16.wav", 100, new data.lipsync.bymm_u_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_17.wav", 100, new data.lipsync.bymm_u_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_18.wav", 100, new data.lipsync.bymm_u_18(), 0, "");
}
}
}
break;
case "exitedMG" :
sarbakan.utils.ActionSequencer.queue("miniGameComplete", oTyrone, "alreadyInscreen", 0);
break;
case "rejectJumpUse" :
oRover.onDisableJump();
break;
case "watchOutRocks" :
if (((++nShoutedWarning) <= 2) && (nLevel == 1)) {
sarbakan.utils.ActionSequencer.queue("watchOutPop", oTyrone, "popIn");
}
oRover.onDeployUmbrella();
break;
case "rocksComplete" :
oRover.onRemoveUmbrella();
break;
case "miniGameIntro" :
sarbakan.sound.VoiceOverManager.clearAll();
sarbakan.utils.ActionSequencer.queue("miniGameStop", oRover, "onStopRover");
break;
case "finalGameIntro" :
sarbakan.sound.VoiceOverManager.clearAll();
sarbakan.utils.ActionSequencer.queue("finalGameStop", oRover, "onStopRover");
}
}
}
function onActionSequenceDone(l_sAction) {
if (bActive) {
switch (l_sAction) {
case "repeatPop" :
bRepeting = true;
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_39.wav", 100, new data.lipsync.bymm_t_39(), 0, "Don\u2019t forget to use the right and left arrows and spacebar to guide Rover.");
break;
case "miniGameComplete" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_38.wav", 100, new data.lipsync.bymm_t_38(), 0, "Now Rover can pass through.");
if (nLevel == 2) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_39.wav", 100, new data.lipsync.bymm_t_39(), 0, "Don\u2019t forget to use the right and left arrows and spacebar to guide Rover.");
}
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_40.wav", 100, new data.lipsync.bymm_t_40(), 0, "Keep going! There\u2019s a crystal nearby.");
break;
case "watchOutPop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_23.wav", 100, new data.lipsync.bymm_t_23(), 0, "Wait until the meteors shower stops to go on.");
break;
case "miniGameStop" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_19.wav", 100, new data.lipsync.bymm_u_19(), 0, "Uh-oh! We\u2019re blocked!");
break;
case "finalGameStop" :
sarbakan.utils.ActionSequencer.queue("finalGamePop", oTyrone, "popIn", 0.8);
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_21.wav", 100, new data.lipsync.bymm_u_21(), 0, "Mission Control, we\u2019re ready for further instructions.");
break;
case "miniGamePop" :
sarbakan.utils.ActionSequencer.queue("uniquaOut", oRover, "onGetUniquaOut", 0.5);
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_26.wav", 100, new data.lipsync.bymm_t_26(), 0, "Commander Uniqua, your instructions are:");
break;
case "uniquaOut" :
break;
case "allOut" :
oController.onGameNextSequence();
}
}
}
function onVoiceDone(l_sLinkage) {
if (bActive) {
switch (l_sLinkage) {
case "bymm_u_21.wav" :
sarbakan.utils.ActionSequencer.queue("allOut", oRover, "onGetAllOut", 0.5);
break;
case "bymm_t_26.wav" :
oController.onGameNextSequence();
break;
case "bymm_u_19.wav" :
sarbakan.utils.ActionSequencer.queue("miniGamePop", oTyrone, "popIn", 0.3);
break;
case "bymm_t_39.wav" :
if (!bRepeting) {
break;
}
bRepeting = false;
case "bymm_t_40.wav" :
case "bymm_t_23.wav" :
oTyrone.popOut();
}
}
}
}
Symbol 1819 MovieClip [__Packages.sarbakan.visual.element.basicElement.Character] Frame 0
class sarbakan.visual.element.basicElement.Character extends sarbakan.visual.element.DynamicElement
{
var sFloorColliderID, sWallColliderID, sFrontColliderName, sBackColliderName, sBottomColliderName, nMoveSpeedX, nAirSpeedX, nDirection, mc, nSpeedX, nSpeedY, stateStarting, stateFinished, setState, getGlobalPos, collideWithMap;
function Character (l_sID) {
super(l_sID);
sFloorColliderID = "floor";
sWallColliderID = "wall";
sFrontColliderName = "front";
sBackColliderName = "back";
sBottomColliderName = "bottom";
nMoveSpeedX = SPEED_RUN;
nAirSpeedX = SPEED_AIR_MOVEX;
}
function setDirection(l_nDirection) {
if ((l_nDirection >= -1) && (l_nDirection <= 1)) {
nDirection = l_nDirection;
mc._xscale = Math.abs(mc._xscale) * nDirection;
}
}
function getDirection() {
return(nDirection);
}
function idle() {
nSpeedX = 0;
nSpeedY = 0;
checkFall();
setPositionOutFloor();
}
function run() {
nSpeedX = nMoveSpeedX * nDirection;
nSpeedY = 0;
checkFall();
setPositionOutFloor();
checkWall();
}
function fallStart() {
if (stateStarting()) {
nSpeedY = 1;
} else if (stateFinished()) {
setState("fall");
} else {
fall();
}
}
function fall() {
if (stateFinished()) {
mc.state.stop();
}
nSpeedY = nSpeedY + (nSpeedY * GRAVITY);
if (nSpeedY > SPEED_FALL) {
nSpeedY = SPEED_FALL;
}
if (isOnGround()) {
setPositionOutFloor();
setState("land");
} else if (nSpeedX > nAirSpeedX) {
nSpeedX = nSpeedX - 0.05;
}
checkWall();
}
function land() {
nSpeedX = 0;
nSpeedY = 0;
if (stateFinished()) {
setState("idle");
}
}
function jump() {
if (stateStarting()) {
nSpeedY = JUMP_FORCE;
} else {
nSpeedY = nSpeedY - (nSpeedY * GRAVITY);
if (nSpeedX < nAirSpeedX) {
nSpeedX = nSpeedX + SPEED_AIR_ACCEL;
}
if (nSpeedY > -1) {
setState("fallStart");
}
}
checkWall();
}
function checkFall() {
var _local2 = mc._y;
while (!isOnGround()) {
mc._y = mc._y + ADJUST_FLOOR;
if ((mc._y - _local2) > DISTANCE_FALL) {
setState("fallStart");
break;
}
nSpeedY = mc._y - _local2;
}
if (mc._y != _local2) {
mc._y = _local2;
return(false);
}
return(true);
}
function checkWall() {
if (isHittingWall()) {
setPositionOutWall();
}
}
function isOnGround() {
var _local2 = getGlobalPos(mc[sBottomColliderName]);
return(collideWithMap(sFloorColliderID, {x:_local2.x + nSpeedX, y:_local2.y + nSpeedY}));
}
function isHittingWall() {
var _local2;
_local2 = getGlobalPos(mc[sFrontColliderName]);
if (collideWithMap(sWallColliderID, {x:_local2.x + nSpeedX, y:_local2.y + nSpeedY})) {
return(-1);
}
_local2 = getGlobalPos(mc[sBackColliderName]);
if (collideWithMap(sWallColliderID, {x:_local2.x + nSpeedX, y:_local2.y + nSpeedY})) {
return(1);
}
}
function setPositionOutFloor() {
while (isOnGround()) {
nSpeedY--;
}
}
function setPositionInFloor() {
while (!isOnGround()) {
nSpeedY++;
}
}
function setPositionOutWall() {
var _local2;
var _local3 = 0;
while (_local2 = isHittingWall() && (_local3 < 10) , _local2) {
_local2 = isHittingWall();
nSpeedX = nSpeedX + (_local2 * (mc._xscale / Math.abs(mc._xscale)));
_local3++;
}
}
var ADJUST_FLOOR = 1;
var DISTANCE_FALL = 8;
var JUMP_FORCE = -20;
var GRAVITY = 0.2;
var SPEED_RUN = 3;
var SPEED_FALL = 10;
var SPEED_AIR_MOVEX = 3;
var SPEED_AIR_ACCEL = 0.5;
}
Symbol 1820 MovieClip [__Packages.elements.sidescroller.Rover] Frame 0
class elements.sidescroller.Rover extends sarbakan.visual.element.basicElement.Character
{
var bAlwaysActive, setDirection, mc, nSpeedX, oKey, sFloorColliderID, sWallColliderID, sFrontColliderName, sBottomColliderName, firstKeyPressed, bJumpAllowed, sUmbrellaState, nUmbrellaStateFrame, bPlayingWaterSound, setCoord, enable, updateState, nIdleTimer, oOwner, nBoingaBounceDelay, mcUmbrella, getState, sStateAnimPrefix, sNextState, bMustStop, aGetOutPersList, stateFinished, nSpeedY, checkFall, checkWall, bBouncing, nAirSpeedX, bPressingJump, stateStarting, sStateAfterStop, getGlobalPos, collideWithMap, nSpeedBeforeStop;
function Rover (l_oLayer) {
super("rover");
bAlwaysActive = true;
setDirection(1);
var _local3 = l_oLayer.mc;
mc = _local3.attachMovie("rover", "rover", data.GameData.DEPTH_ROVER);
nSpeedX = SPEED_MIN;
oKey = sarbakan.input.KeyManager.getInstance();
oKey.addKeyListener(37, "LEFT");
oKey.addKeyListener(39, "RIGHT");
oKey.addKeyListener(32, "SPACE");
sFloorColliderID = "floor";
sWallColliderID = "floor";
sFrontColliderName = "mcFront";
sBottomColliderName = "mcBottom";
firstKeyPressed = false;
bJumpAllowed = true;
sUmbrellaState = "Hide";
nUmbrellaStateFrame = 1;
bPlayingWaterSound = false;
setCoord({x:50, y:280});
setState("idle");
enable();
}
function getCoord() {
return({x:mc._x + BASE_CAMERA_X, y:mc._y + BASE_CAMERA_Y});
}
function init() {
updateState();
nIdleTimer = 1225;
}
function boingaBounce(_mcBoinga) {
var _local3 = _mcBoinga.getBounds(oOwner.mc);
var _local2 = mc.getBounds(oOwner.mc);
if ((_local2.yMax < (_local3.yMin + 20)) && (((_local2.xMax + _local2.xMin) / 2) < _local3.xMax)) {
setState("jump");
} else if (((_local2.xMin + _local2.xMin) / 2) < ((_local3.xMin + _local3.xMin) / 2)) {
nBoingaBounceDelay = 3;
}
}
function setUmbrellaState(_sState) {
sUmbrellaState = _sState;
}
function setUmbrella(_mcUmbrella) {
mcUmbrella = _mcUmbrella;
mcUmbrella.gotoAndStop(sUmbrellaState);
mcUmbrella.state.gotoAndPlay(nUmbrellaStateFrame);
}
function update() {
if (getState() == "idle") {
nIdleTimer--;
if (nIdleTimer <= 0) {
nIdleTimer = 1575;
Controller.getInstance().oCurrentSequence.oEventHandler.onScrollerEvent("repeatInstr");
}
} else {
nIdleTimer = 1050;
}
nBoingaBounceDelay--;
if (Controller.getInstance().getLevel() == 2) {
if (mc._y > WATER_LEVEL) {
if (!bPlayingWaterSound) {
bPlayingWaterSound = true;
}
sStateAnimPrefix = "Water-";
} else {
bPlayingWaterSound = false;
sStateAnimPrefix = "Ground-";
}
}
super.update();
if (mcUmbrella.state._currentframe) {
nUmbrellaStateFrame = mcUmbrella.state._currentframe;
}
}
function setState(l_sState) {
if (((sNextState != "hurt") && (sNextState != "stop")) && (sNextState != "stopped")) {
if (bMustStop && (l_sState == "idle")) {
sNextState = "stop";
} else if (bMustStop && (l_sState == "speed1")) {
sNextState = "stop";
} else if (bMustStop && (l_sState == "speed2")) {
sNextState = "stop";
} else {
sNextState = l_sState;
}
} else if ((sNextState != "stop") && (l_sState == "stopped")) {
sNextState = "stopped";
}
}
function setMapPrefix(_sPrefix) {
sStateAnimPrefix = _sPrefix;
}
function setGetOutPers(_sPers, _mcPers) {
aGetOutPersList[_sPers].mc = _mcPers;
if (aGetOutPersList[_sPers].goesOut) {
_mcPers.play();
} else {
_mcPers.stop();
}
}
function getOutComplete(_sPers) {
aGetOutPersList[_sPers].goesOut = false;
}
function idle() {
move();
}
function hurt() {
if (stateFinished()) {
setState("idle");
}
move();
}
function speed1() {
move();
}
function speed2() {
move();
}
function move() {
nSpeedY = 0;
checkFall();
checkWall();
if (!bBouncing) {
if (oKey.LEFT) {
speedDecelerate();
} else if (oKey.RIGHT) {
speedAccelerate();
} else {
speedAutomatic();
}
} else {
speedAutomatic();
}
if (oKey.SPACE) {
if (nSpeedX < SPEED_AIR_MOVEX) {
nAirSpeedX = SPEED_AIR_MOVEX;
}
if ((!bPressingJump) && (bJumpAllowed)) {
setState("jump");
bPressingJump = true;
doVo("Jump");
}
} else {
bPressingJump = false;
}
}
function land() {
if (stateStarting()) {
if (Controller.getInstance().getLevel() == 2) {
if (mc._y > WATER_LEVEL) {
sarbakan.sound.SoundManager.play("RoverWaterLand.wav", 30);
} else {
sarbakan.sound.SoundManager.play("RoverLand.wav");
}
} else {
sarbakan.sound.SoundManager.play("RoverLand.wav");
}
}
nSpeedY = 0;
if (stateFinished()) {
if (nSpeedX == 0) {
setState("idle");
} else {
move();
}
}
}
function stopped() {
nSpeedX = 0;
nSpeedY = 0;
}
function stop() {
nSpeedY = 0;
speedStop();
if (nSpeedX == 0) {
setState(sStateAfterStop);
sarbakan.utils.ActionSequencer.onActionDone("miniGameStop");
sarbakan.utils.ActionSequencer.onActionDone("finalGameStop");
}
}
function getOut() {
var _local2 = true;
for (var _local3 in aGetOutPersList) {
if (aGetOutPersList[_local3].goesOut) {
_local2 = false;
}
}
if (_local2) {
sarbakan.utils.ActionSequencer.onActionDone("pabloOut");
sarbakan.utils.ActionSequencer.onActionDone("uniquaOut");
sarbakan.utils.ActionSequencer.onActionDone("austinOut");
sarbakan.utils.ActionSequencer.onActionDone("allOut");
}
}
function onDisableJump() {
bJumpAllowed = false;
}
function onStopRover() {
sarbakan.sound.SoundManager.play("RoverStops.wav");
stopRover("stopped");
}
function onGetAllOut() {
getPersOut();
aGetOutPersList[0].goesOut = true;
aGetOutPersList[1].goesOut = true;
aGetOutPersList[2].goesOut = true;
bJumpAllowed = true;
}
function onGetPabloOut() {
getPersOut();
aGetOutPersList[0].goesOut = true;
bJumpAllowed = true;
}
function onGetAustinOut() {
getPersOut();
aGetOutPersList[1].goesOut = true;
bJumpAllowed = true;
}
function onGetUniquaOut() {
getPersOut();
aGetOutPersList[2].goesOut = true;
bJumpAllowed = true;
}
function onDeployUmbrella() {
mcUmbrella.gotoAndStop("Deploy");
mcUmbrella.state.gotoAndPlay(1);
}
function onRemoveUmbrella() {
if (sUmbrellaState == "Idle") {
mcUmbrella.gotoAndStop("Remove");
}
}
function isOnGround() {
var _local2 = getGlobalPos(mc.mcBottomBack);
var _local4 = getGlobalPos(mc.mcBottomMiddle);
var _local3 = getGlobalPos(mc.mcBottomFront);
if ((collideWithMap(sFloorColliderID, {x:_local3.x + nSpeedX, y:_local3.y + nSpeedY}) or collideWithMap(sFloorColliderID, {x:_local4.x + nSpeedX, y:_local4.y + nSpeedY})) or collideWithMap(sFloorColliderID, {x:_local2.x + nSpeedX, y:_local2.y + nSpeedY})) {
return(true);
}
return(false);
}
function isHittingWall() {
var _local3 = getGlobalPos(mc.mcFrontTop);
var _local4 = getGlobalPos(mc.mcFrontMiddle);
var _local2 = getGlobalPos(mc.mcFrontBottom);
if ((collideWithMap(sFloorColliderID, {x:_local4.x + nSpeedX, y:_local4.y + nSpeedY}) or collideWithMap(sFloorColliderID, {x:_local2.x + nSpeedX, y:_local2.y + nSpeedY})) or collideWithMap(sFloorColliderID, {x:_local3.x + nSpeedX, y:_local3.y + nSpeedY})) {
return(-1);
}
}
function setPositionOutWall(_mcItem) {
if (_mcItem != undefined) {
collideWithObject(_mcItem);
doVo("HitObstacle");
} else {
collideWithEnvironement();
doVo("HitEnv");
}
}
function getPersOut() {
if (!aGetOutPersList) {
aGetOutPersList = new Array();
aGetOutPersList[0] = new Object();
aGetOutPersList[0].mc = undefined;
aGetOutPersList[0].goesOut = false;
aGetOutPersList[1] = new Object();
aGetOutPersList[1].mc = undefined;
aGetOutPersList[1].goesOut = false;
aGetOutPersList[2] = new Object();
aGetOutPersList[2].mc = undefined;
aGetOutPersList[2].goesOut = false;
}
setState("getOut");
}
function collideWithEnvironement() {
nSpeedX = -8;
if (nBoingaBounceDelay > 0) {
nBoingaBounceDelay = -1;
nSpeedX = -12;
}
bBouncing = true;
setState("hurt");
}
function collideWithObject(_mcItem) {
var _local3 = _mcItem.getBounds(oOwner.mc);
var _local2 = mc.getBounds(oOwner.mc);
var _local5 = (_local3.xMin + _local3.xMax) / 2;
var _local4 = (_local2.xMin + _local2.xMax) / 2;
if (_local5 > _local4) {
nSpeedX = -8;
setState("hurt");
} else {
nSpeedX = 5;
}
if (Controller.getInstance().getLevel() == 1) {
mcUmbrella.gotoAndStop("Bounce");
}
bBouncing = true;
}
function speedAccelerate() {
if (getState() != "hurt") {
setState("speed2");
}
if (nSpeedX < SPEED_MAX) {
nSpeedX = nSpeedX + SPEED_ACCELERATION;
}
if (nSpeedX > SPEED_MAX) {
nSpeedX = SPEED_MAX;
}
}
function speedDecelerate() {
if ((getState() != "idle") && (getState() != "hurt")) {
setState("speed1");
}
if (nSpeedX > SPEED_MIN) {
nSpeedX = nSpeedX - SPEED_BRAKING;
}
if (nSpeedX < SPEED_MIN) {
nSpeedX = SPEED_MIN;
if (SPEED_MIN == 0) {
setState("idle");
}
}
}
function speedStop() {
if (nSpeedBeforeStop == undefined) {
nSpeedBeforeStop = nSpeedX;
}
if (nSpeedX > 0) {
nSpeedX = nSpeedX - (nSpeedBeforeStop / STOP_SPEED_FRAMES);
}
if (nSpeedX < 0) {
nSpeedX = 0;
nSpeedBeforeStop = undefined;
}
}
function speedAutomatic() {
if ((getState() != "idle") && (getState() != "hurt")) {
setState("speed1");
}
if (!bBouncing) {
if (nSpeedX > SPEED_MIN) {
nSpeedX = nSpeedX - SPEED_DECELERATION;
}
if (nSpeedX < SPEED_MIN) {
nSpeedX = SPEED_MIN;
if (SPEED_MIN == 0) {
setState("idle");
}
}
} else {
nSpeedX = nSpeedX * 0.95;
if (nSpeedX > -2) {
nSpeedX = nSpeedX + 0.1;
} else if (nSpeedX < -4) {
nSpeedX = nSpeedX + 0.3;
}
if (nSpeedX > 0) {
bBouncing = false;
setState("speed1");
}
}
}
function stopRover(l_sStateAfterStop, n, s) {
if ((((getState() != "jump") && (getState() != "fallStart")) && (getState() != "fall")) && (getState() != "land")) {
setState("stop");
} else {
bMustStop = true;
}
sStateAfterStop = l_sStateAfterStop;
}
function doVo(_sVO) {
switch (_sVO) {
case "Jump" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
switch (random(3) + 1) {
case 1 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_07.wav", 100, new data.lipsync.bymm_a_07(), 0.2, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_08.wav", 100, new data.lipsync.bymm_a_08(), 0.2, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_09.wav", 100, new data.lipsync.bymm_a_09(), 0.2, "");
}
break;
case 2 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_07.wav", 100, new data.lipsync.bymm_p_07(), 0.2, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_08.wav", 100, new data.lipsync.bymm_p_08(), 0.2, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_06.wav", 100, new data.lipsync.bymm_p_06(), 0.2, "");
}
break;
case 3 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_07.wav", 100, new data.lipsync.bymm_u_07(), 0.2, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_08.wav", 100, new data.lipsync.bymm_u_08(), 0.2, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_09.wav", 100, new data.lipsync.bymm_u_09(), 0.2, "");
}
}
if (Math.random() < 0.333333333333333) {
if (Math.random() < 0.5) {
sarbakan.sound.SoundManager.play("Rover_Bark1");
} else {
sarbakan.sound.SoundManager.play("Rover_Bark2");
}
}
}
break;
case "HitEnv" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
switch (random(3) + 1) {
case 1 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_10.wav", 100, new data.lipsync.bymm_a_10(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_11.wav", 100, new data.lipsync.bymm_a_11(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_12.wav", 100, new data.lipsync.bymm_a_12(), 0, "");
}
break;
case 2 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_10.wav", 100, new data.lipsync.bymm_p_10(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_11.wav", 100, new data.lipsync.bymm_p_11(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_09.wav", 100, new data.lipsync.bymm_p_09(), 0, "");
}
break;
case 3 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_10.wav", 100, new data.lipsync.bymm_u_10(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_11.wav", 100, new data.lipsync.bymm_u_11(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_12.wav", 100, new data.lipsync.bymm_u_12(), 0, "");
}
}
}
if (Math.random() < 0.5) {
sarbakan.sound.SoundManager.play("Rover_Bark3", 100, 1, true);
}
break;
case "HitObstacle" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
switch (random(3) + 1) {
case 1 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_13.wav", 100, new data.lipsync.bymm_a_13(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_14.wav", 100, new data.lipsync.bymm_a_14(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_15.wav", 100, new data.lipsync.bymm_a_15(), 0, "");
}
break;
case 2 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_13.wav", 100, new data.lipsync.bymm_p_13(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_14.wav", 100, new data.lipsync.bymm_p_14(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_12.wav", 100, new data.lipsync.bymm_p_12(), 0, "");
}
break;
case 3 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_13.wav", 100, new data.lipsync.bymm_u_13(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_14.wav", 100, new data.lipsync.bymm_u_14(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_15.wav", 100, new data.lipsync.bymm_u_15(), 0, "");
}
}
}
if (Math.random() >= 0.5) {
break;
}
sarbakan.sound.SoundManager.play("Rover_Whine", 100, 1, true);
}
}
static var BASE_CAMERA_X = -25;
static var BASE_CAMERA_Y = 0;
static var SPEED_MIN = 0;
static var SPEED_MEDIUM = 4;
static var SPEED_MAX = 8;
static var SPEED_ACCELERATION = 0.3;
static var SPEED_DECELERATION = 0.05;
static var SPEED_BRAKING = 0.45;
var JUMP_FORCE = -16;
var GRAVITY = 0.12;
var SPEED_FALL = 10;
var SPEED_AIR_MOVEX = 4.5;
var STOP_SPEED_FRAMES = 11;
var WATER_LEVEL = 290;
}
Symbol 1821 MovieClip [__Packages.data.lipsync.bymm_a_10] Frame 0
class data.lipsync.bymm_a_10 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_10 () {
super();
lipsArray = new Array("OW", "l", "b", "z", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 417, 500);
}
}
Symbol 1822 MovieClip [__Packages.data.lipsync.bymm_a_11] Frame 0
class data.lipsync.bymm_a_11 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_11 () {
super();
lipsArray = new Array("k", "AE", "x", "AH", "l", "n", "x");
timingArray = new Array(-83, 0, 83, 167, 583, 750, 917);
}
}
Symbol 1823 MovieClip [__Packages.data.lipsync.bymm_a_12] Frame 0
class data.lipsync.bymm_a_12 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_12 () {
super();
lipsArray = new Array("g", "OW", "n", "ER", "OW", "OW", "l", "m", "x", "x");
timingArray = new Array(-83, 0, 167, 417, 583, 667, 750, 917, 1083, 1167);
}
}
Symbol 1824 MovieClip [__Packages.data.lipsync.bymm_p_10] Frame 0
class data.lipsync.bymm_p_10 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_10 () {
super();
lipsArray = new Array("k", "x", "l", "x", "x");
timingArray = new Array(-83, 0, 167, 667, 750);
}
}
Symbol 1825 MovieClip [__Packages.data.lipsync.bymm_p_11] Frame 0
class data.lipsync.bymm_p_11 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_11 () {
super();
lipsArray = new Array("ER", "OW", "n", "w", "l", "x");
timingArray = new Array(-83, 83, 167, 333, 583, 833);
}
}
Symbol 1826 MovieClip [__Packages.data.lipsync.bymm_p_09] Frame 0
class data.lipsync.bymm_p_09 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_09 () {
super();
lipsArray = new Array("l", "m", "p", "s", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 333, 417);
}
}
Symbol 1827 MovieClip [__Packages.data.lipsync.bymm_u_10] Frame 0
class data.lipsync.bymm_u_10 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_10 () {
super();
lipsArray = new Array("l", "d", "x", "x");
timingArray = new Array(-83, 250, 333, 750);
}
}
Symbol 1828 MovieClip [__Packages.data.lipsync.bymm_u_11] Frame 0
class data.lipsync.bymm_u_11 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_11 () {
super();
lipsArray = new Array("AH", "x", "k", "OW", "l", "x", "x");
timingArray = new Array(-83, 83, 250, 333, 667, 750, 917);
}
}
Symbol 1829 MovieClip [__Packages.data.lipsync.bymm_u_12] Frame 0
class data.lipsync.bymm_u_12 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_12 () {
super();
lipsArray = new Array("g", "ER", "IH", "g", "h", "l", "j", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 667, 833, 1083);
}
}
Symbol 1830 MovieClip [__Packages.data.lipsync.bymm_a_13] Frame 0
class data.lipsync.bymm_a_13 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_13 () {
super();
lipsArray = new Array("m", "UW", "g", "h", "AE", "l", "w", "x");
timingArray = new Array(-83, 0, 83, 167, 333, 417, 583, 667);
}
}
Symbol 1831 MovieClip [__Packages.data.lipsync.bymm_a_14] Frame 0
class data.lipsync.bymm_a_14 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_14 () {
super();
lipsArray = new Array("IY", "n", "h", "AE", "x", "UH", "NG", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 417, 583, 917, 1000, 1083);
}
}
Symbol 1832 MovieClip [__Packages.data.lipsync.bymm_a_15] Frame 0
class data.lipsync.bymm_a_15 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_15 () {
super();
lipsArray = new Array("w", "OW", "SH", "AE", "h", "OW", "l", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 333, 500, 583, 833, 917);
}
}
Symbol 1833 MovieClip [__Packages.data.lipsync.bymm_p_13] Frame 0
class data.lipsync.bymm_p_13 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_13 () {
super();
lipsArray = new Array("l", "g", "AE", "x", "l", "OW", "l", "x", "x", "x");
timingArray = new Array(-83, 83, 167, 417, 500, 583, 667, 750, 833, 917);
}
}
Symbol 1834 MovieClip [__Packages.data.lipsync.bymm_p_14] Frame 0
class data.lipsync.bymm_p_14 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_14 () {
super();
lipsArray = new Array("l", "AH", "g", "AE", "h", "OW", "l", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 500, 583, 750);
}
}
Symbol 1835 MovieClip [__Packages.data.lipsync.bymm_p_12] Frame 0
class data.lipsync.bymm_p_12 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_12 () {
super();
lipsArray = new Array("l", "g", "h", "OW", "x", "x");
timingArray = new Array(-83, 0, 167, 333, 500, 667);
}
}
Symbol 1836 MovieClip [__Packages.data.lipsync.bymm_u_13] Frame 0
class data.lipsync.bymm_u_13 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_13 () {
super();
lipsArray = new Array("m", "AH", "p", "l", "x", "x", "x");
timingArray = new Array(-83, 83, 167, 583, 750, 833, 917);
}
}
Symbol 1837 MovieClip [__Packages.data.lipsync.bymm_u_14] Frame 0
class data.lipsync.bymm_u_14 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_14 () {
super();
lipsArray = new Array("IY", "h", "IY", "h", "AE", "x", "l", "m", "x");
timingArray = new Array(-83, 167, 250, 333, 417, 500, 583, 917, 1083);
}
}
Symbol 1838 MovieClip [__Packages.data.lipsync.bymm_u_15] Frame 0
class data.lipsync.bymm_u_15 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_15 () {
super();
lipsArray = new Array("w", "AE", "z", "l", "h", "l", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 583, 750, 917);
}
}
Symbol 1839 MovieClip [__Packages.data.lipsync.bymm_a_16] Frame 0
class data.lipsync.bymm_a_16 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_16 () {
super();
lipsArray = new Array("l", "IH", "s", "x", "NG", "k", "OW", "h", "OW", "IY", "m", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 417, 500, 583, 667, 833, 1000, 1167, 1250);
}
}
Symbol 1840 MovieClip [__Packages.data.lipsync.bymm_a_17] Frame 0
class data.lipsync.bymm_a_17 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_17 () {
super();
lipsArray = new Array("h", "OW", "w", "OW", "n", "x", "x");
timingArray = new Array(-83, 0, 83, 333, 417, 667, 750);
}
}
Symbol 1841 MovieClip [__Packages.data.lipsync.bymm_a_18] Frame 0
class data.lipsync.bymm_a_18 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_18 () {
super();
lipsArray = new Array("m", "h", "n", "z", "x", "ER", "l", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 667, 1000, 1083);
}
}
Symbol 1842 MovieClip [__Packages.data.lipsync.bymm_p_16] Frame 0
class data.lipsync.bymm_p_16 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_16 () {
super();
lipsArray = new Array("x", "n", "OW", "h", "AE", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 333, 500, 583, 667);
}
}
Symbol 1843 MovieClip [__Packages.data.lipsync.bymm_p_17] Frame 0
class data.lipsync.bymm_p_17 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_17 () {
super();
lipsArray = new Array("l", "h", "AE", "TH", "n", "g", "h", "l", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 333, 417, 500, 667, 917, 1000);
}
}
Symbol 1844 MovieClip [__Packages.data.lipsync.bymm_p_15] Frame 0
class data.lipsync.bymm_p_15 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_15 () {
super();
lipsArray = new Array("l", "TH", "IH", "n", "b", "OW", "l", "n", "x", "x");
timingArray = new Array(-83, 83, 167, 333, 417, 500, 583, 667, 750, 917);
}
}
Symbol 1845 MovieClip [__Packages.data.lipsync.bymm_u_16] Frame 0
class data.lipsync.bymm_u_16 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_16 () {
super();
lipsArray = new Array("m", "AE", "s", "x", "IY", "g", "l", "m", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 583, 667, 917, 1167);
}
}
Symbol 1846 MovieClip [__Packages.data.lipsync.bymm_u_17] Frame 0
class data.lipsync.bymm_u_17 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_17 () {
super();
lipsArray = new Array("x", "l", "h", "AE", "NG", "x");
timingArray = new Array(-83, 0, 167, 417, 583, 833);
}
}
Symbol 1847 MovieClip [__Packages.data.lipsync.bymm_u_18] Frame 0
class data.lipsync.bymm_u_18 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_18 () {
super();
lipsArray = new Array("m", "h", "x", "z", "x", "k", "h", "AW", "l", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 500, 583, 750, 917, 1000, 1167);
}
}
Symbol 1848 MovieClip [__Packages.data.lipsync.bymm_t_39] Frame 0
class data.lipsync.bymm_t_39 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_39 () {
super();
lipsArray = new Array("x", "m", "y", "m", "AH", "n", "UW", "n", "l", "EY", "NG", "AH", "n", "x", "k", "AE", "r", "l", "v", "IH", "v", "b", "IY", "TH", "b", "AA", "r", "m", "t", "n", "y", "AE", "v", "r", "l", "w", "ER", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 583, 667, 833, 1000, 1083, 1167, 1250, 1333, 1417, 1583, 1750, 1833, 2000, 2083, 2250, 2333, 2500, 2583, 2667, 2750, 2833, 2917, 3000, 3083, 3250, 3417, 3500, 3583, 3750, 3833, 4083);
}
}
Symbol 1849 MovieClip [__Packages.data.lipsync.bymm_t_38] Frame 0
class data.lipsync.bymm_t_38 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_38 () {
super();
lipsArray = new Array("m", "IY", "AE", "l", "m", "w", "l", "IH", "r", "v", "UW", "k", "m", "AE", "z", "v", "IH", "r", "m", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 417, 500, 667, 750, 833, 917, 1000, 1083, 1167, 1333, 1500, 1583, 1667, 1750, 2000, 2167);
}
}
Symbol 1850 MovieClip [__Packages.data.lipsync.bymm_t_40] Frame 0
class data.lipsync.bymm_t_40 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_40 () {
super();
lipsArray = new Array("k", "IY", "n", "OW", "IH", "NG", "m", "v", "IH", "n", "v", "n", "f", "IH", "TH", "x", "l", "AH", "m", "EH", "l", "b", "l", "AY", "n", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 500, 583, 667, 750, 917, 1000, 1083, 1167, 1250, 1333, 1417, 1500, 1583, 1667, 1750, 1833, 1917, 2000, 2083, 2167, 2333, 2417, 2667);
}
}
Symbol 1851 MovieClip [__Packages.data.lipsync.bymm_t_23] Frame 0
class data.lipsync.bymm_t_23 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_23 () {
super();
lipsArray = new Array("w", "IY", "y", "n", "IH", "b", "UW", "m", "IY", "IY", "IH", "j", "AE", "l", "IH", "z", "b", "OW", "AH", "d", "TH", "p", "IH", "n", "UW", "IH", "m", "x", "x");
timingArray = new Array(-83, 83, 250, 333, 500, 583, 667, 750, 833, 1000, 1167, 1250, 1417, 1500, 1667, 1750, 1833, 1917, 2083, 2250, 2333, 2417, 2500, 2583, 2667, 3083, 3250, 3333, 3583);
}
}
Symbol 1852 MovieClip [__Packages.data.lipsync.bymm_u_19] Frame 0
class data.lipsync.bymm_u_19 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_19 () {
super();
lipsArray = new Array("AH", "n", "x", "OW", "l", "x", "x", "x", "w", "UW", "m", "p", "l", "h", "AH", "x", "x", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 583, 667, 750, 833, 1083, 1250, 1333, 1417, 1500, 1583, 1833, 2000, 2083, 2167, 2333);
}
}
Symbol 1853 MovieClip [__Packages.data.lipsync.bymm_u_21] Frame 0
class data.lipsync.bymm_u_21 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_21 () {
super();
lipsArray = new Array("m", "IY", "z", "h", "p", "IH", "z", "l", "AE", "l", "x", "l", "UW", "v", "w", "AE", "v", "AH", "v", "AE", "IH", "x", "h", "IH", "z", "j", "AE", "SH", "n", "z", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 583, 750, 833, 1000, 1083, 1167, 1250, 1333, 1500, 1667, 1750, 1833, 2083, 2167, 2250, 2333, 2417, 2583, 2667, 2833, 3000, 3250, 3417, 3583);
}
}
Symbol 1854 MovieClip [__Packages.data.lipsync.bymm_t_26] Frame 0
class data.lipsync.bymm_t_26 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_26 () {
super();
lipsArray = new Array("k", "m", "IY", "IH", "NG", "IH", "UW", "NG", "l", "k", "l", "AH", "m", "b", "UW", "ZH", "j", "AE", "n", "SH", "UW", "n", "TH", "g", "AA", "r", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 333, 417, 500, 667, 750, 917, 1000, 1083, 1167, 1333, 1417, 1667, 1750, 1917, 2000, 2083, 2250, 2417, 2500, 2583, 2667, 2917, 3000, 3333);
}
}
Symbol 1855 MovieClip [__Packages.eventHandlers.LevelEventHandler_level2] Frame 0
class eventHandlers.LevelEventHandler_level2 implements eventHandlers.LevelEventHandler
{
var oController, oRover, oTyrone, nShoutedWarning, bActive, nLevel;
function LevelEventHandler_level2 () {
}
function init() {
oController = Controller.getInstance();
oRover = oController.oCurrentSequence.oRover;
oTyrone = oController.oCurrentSequence.oTyrone;
nShoutedWarning = 0;
bActive = true;
}
function destroy() {
delete onScrollerEvent;
delete onActionSequenceDone;
delete onVoiceDone;
}
function setLevel(l_nLevel) {
nLevel = l_nLevel;
}
function onScrollerEvent(l_sEvent) {
if (bActive) {
switch (l_sEvent) {
case "startLevel" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
switch (random(3) + 1) {
case 1 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_16.wav", 100, new data.lipsync.bymm_a_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_17.wav", 100, new data.lipsync.bymm_a_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_18.wav", 100, new data.lipsync.bymm_a_18(), 0, "");
}
break;
case 2 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_16.wav", 100, new data.lipsync.bymm_p_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_17.wav", 100, new data.lipsync.bymm_p_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_15.wav", 100, new data.lipsync.bymm_p_15(), 0, "");
}
break;
case 3 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_16.wav", 100, new data.lipsync.bymm_u_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_17.wav", 100, new data.lipsync.bymm_u_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_18.wav", 100, new data.lipsync.bymm_u_18(), 0, "");
}
}
}
break;
case "exitedMG" :
sarbakan.utils.ActionSequencer.queue("miniGameComplete", oTyrone, "alreadyInscreen", 0);
break;
case "rejectJumpUse" :
oRover.onDisableJump();
break;
case "watchOutGeser" :
if (((++nShoutedWarning) <= 2) && (nLevel == 1)) {
sarbakan.utils.ActionSequencer.queue("watchOutPop", oTyrone, "popIn");
}
break;
case "rocksComplete" :
oRover.onRemoveUmbrella();
break;
case "miniGameIntro" :
sarbakan.sound.VoiceOverManager.clearAll();
sarbakan.utils.ActionSequencer.queue("miniGameStop", oRover, "onStopRover");
break;
case "finalGameIntro" :
sarbakan.sound.VoiceOverManager.clearAll();
sarbakan.utils.ActionSequencer.queue("finalGameStop", oRover, "onStopRover");
}
}
}
function onActionSequenceDone(l_sAction) {
if (bActive) {
switch (l_sAction) {
case "miniGameComplete" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_38.wav", 100, new data.lipsync.bymm_t_38(), 0, "Now Rover can pass through.");
if (nLevel == 2) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_39.wav", 100, new data.lipsync.bymm_t_39(), 0, "Don\u2019t forget to use the right and left arrows and spacebar to guide Rover.");
}
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_40.wav", 100, new data.lipsync.bymm_t_40(), 0, "Keep going! There\u2019s a crystal nearby.");
break;
case "watchOutPop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_24.wav", 100, new data.lipsync.bymm_t_24(), 0, "Wait until the geyser stops to go on.");
break;
case "miniGameStop" :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_18.wav", 100, new data.lipsync.bymm_p_18(), 0, "Uh-oh! We\u2019re blocked!");
break;
case "finalGameStop" :
sarbakan.utils.ActionSequencer.queue("finalGamePop", oTyrone, "popIn", 0.8);
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_21.wav", 100, new data.lipsync.bymm_u_21(), 0, "Mission Control, we\u2019re ready for further instructions.");
break;
case "miniGamePop" :
sarbakan.utils.ActionSequencer.queue("pabloOut", oRover, "onGetPabloOut", 0.5);
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_29.wav", 100, new data.lipsync.bymm_t_29(), 0, "Science Officer Pablo, your instructions are:");
break;
case "pabloOut" :
break;
case "allOut" :
oController.onGameNextSequence();
}
}
}
function onVoiceDone(l_sLinkage) {
if (bActive) {
switch (l_sLinkage) {
case "bymm_t_40.wav" :
case "bymm_t_24.wav" :
oTyrone.popOut();
break;
case "bymm_p_18.wav" :
sarbakan.utils.ActionSequencer.queue("miniGamePop", oTyrone, "popIn", 0.3);
break;
case "bymm_u_21.wav" :
sarbakan.utils.ActionSequencer.queue("allOut", oRover, "onGetAllOut", 0.5);
break;
case "bymm_t_29.wav" :
oController.onGameNextSequence();
}
}
}
}
Symbol 1856 MovieClip [__Packages.data.lipsync.bymm_t_24] Frame 0
class data.lipsync.bymm_t_24 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_24 () {
super();
lipsArray = new Array("w", "IY", "g", "IH", "n", "h", "l", "v", "n", "g", "AE", "NG", "z", "UW", "z", "d", "AH", "m", "z", "x", "DH", "NG", "l", "m", "l", "IH", "x", "x");
timingArray = new Array(-83, 83, 250, 333, 417, 500, 583, 667, 750, 917, 1000, 1167, 1250, 1333, 1417, 1500, 1583, 1833, 1917, 2083, 2167, 2250, 2333, 2500, 2667, 2750, 2917, 3167);
}
}
Symbol 1857 MovieClip [__Packages.data.lipsync.bymm_p_18] Frame 0
class data.lipsync.bymm_p_18 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_18 () {
super();
lipsArray = new Array("k", "g", "AA", "l", "x", "l", "AH", "p", "l", "ER", "x", "x", "x", "x");
timingArray = new Array(-83, 83, 167, 333, 417, 833, 917, 1000, 1083, 1167, 1500, 1667, 1833, 2000);
}
}
Symbol 1858 MovieClip [__Packages.data.lipsync.bymm_t_29] Frame 0
class data.lipsync.bymm_t_29 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_29 () {
super();
lipsArray = new Array("x", "z", "AY", "IH", "v", "k", "l", "v", "z", "AH", "v", "h", "AA", "m", "AH", "n", "IH", "NG", "j", "t", "y", "OW", "x", "j", "m", "AH", "AA", "r", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 417, 500, 583, 667, 833, 917, 1000, 1083, 1250, 1333, 1500, 1667, 1833, 1917, 2000, 2083, 2167, 2250, 2333, 2417, 2667, 2833, 3000, 3083, 3250);
}
}
Symbol 1859 MovieClip [__Packages.eventHandlers.LevelEventHandler_level3] Frame 0
class eventHandlers.LevelEventHandler_level3 implements eventHandlers.LevelEventHandler
{
var oController, oRover, oTyrone, nShoutedWarning, bActive, nLevel;
function LevelEventHandler_level3 () {
}
function init() {
oController = Controller.getInstance();
oRover = oController.oCurrentSequence.oRover;
oTyrone = oController.oCurrentSequence.oTyrone;
nShoutedWarning = 0;
bActive = true;
}
function destroy() {
delete onScrollerEvent;
delete onActionSequenceDone;
delete onVoiceDone;
}
function setLevel(l_nLevel) {
nLevel = l_nLevel;
}
function onScrollerEvent(l_sEvent) {
if (bActive) {
switch (l_sEvent) {
case "startLevel" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
switch (random(3) + 1) {
case 1 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_16.wav", 100, new data.lipsync.bymm_a_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_17.wav", 100, new data.lipsync.bymm_a_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_18.wav", 100, new data.lipsync.bymm_a_18(), 0, "");
}
break;
case 2 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_16.wav", 100, new data.lipsync.bymm_p_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_17.wav", 100, new data.lipsync.bymm_p_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_15.wav", 100, new data.lipsync.bymm_p_15(), 0, "");
}
break;
case 3 :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_16.wav", 100, new data.lipsync.bymm_u_16(), 0, "");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_17.wav", 100, new data.lipsync.bymm_u_17(), 0, "");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_18.wav", 100, new data.lipsync.bymm_u_18(), 0, "");
}
}
}
break;
case "exitedMG" :
sarbakan.utils.ActionSequencer.queue("miniGameComplete", oTyrone, "alreadyInscreen", 0);
break;
case "rejectJumpUse" :
oRover.onDisableJump();
break;
case "watchOutTrap" :
if (((++nShoutedWarning) <= 2) && (nLevel == 1)) {
sarbakan.utils.ActionSequencer.queue("watchOutPop", oTyrone, "popIn");
}
break;
case "rocksComplete" :
oRover.onRemoveUmbrella();
break;
case "miniGameIntro" :
sarbakan.sound.VoiceOverManager.clearAll();
sarbakan.utils.ActionSequencer.queue("miniGameStop", oRover, "onStopRover");
break;
case "finalGameIntro" :
sarbakan.sound.VoiceOverManager.clearAll();
sarbakan.utils.ActionSequencer.queue("finalGameStop", oRover, "onStopRover");
}
}
}
function onActionSequenceDone(l_sAction) {
if (bActive) {
switch (l_sAction) {
case "miniGameComplete" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_38.wav", 100, new data.lipsync.bymm_t_38(), 0, "Now Rover can pass through.");
if (nLevel == 2) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_39.wav", 100, new data.lipsync.bymm_t_39(), 0, "Don\u2019t forget to use the right and left arrows and spacebar to guide Rover.");
}
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_40.wav", 100, new data.lipsync.bymm_t_40(), 0, "Keep going! There\u2019s a crystal nearby.");
break;
case "watchOutPop" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_25.wav", 100, new data.lipsync.bymm_t_25(), 0, "Wait until the bridge lowers to go on.");
break;
case "miniGameStop" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_19.wav", 100, new data.lipsync.bymm_a_19(), 0, "Uh-oh! We\u2019re blocked!");
break;
case "finalGameStop" :
sarbakan.utils.ActionSequencer.queue("finalGamePop", oTyrone, "popIn", 0.8);
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_21.wav", 100, new data.lipsync.bymm_u_21(), 0, "Mission Control, we\u2019re ready for further instructions.");
break;
case "miniGamePop" :
sarbakan.utils.ActionSequencer.queue("austinOut", oRover, "onGetAustinOut", 0.5);
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_33.wav", 100, new data.lipsync.bymm_t_33(), 0, "Lieutenant Austin, your instructions are:");
break;
case "allOut" :
oController.onGameNextSequence();
break;
case "austinOut" :
}
}
}
function onVoiceDone(l_sLinkage) {
if (bActive) {
switch (l_sLinkage) {
case "bymm_a_19.wav" :
sarbakan.utils.ActionSequencer.queue("miniGamePop", oTyrone, "popIn", 0.3);
break;
case "bymm_t_40.wav" :
case "bymm_t_25.wav" :
oTyrone.popOut();
break;
case "bymm_u_21.wav" :
sarbakan.utils.ActionSequencer.queue("allOut", oRover, "onGetAllOut", 0.5);
break;
case "bymm_t_33.wav" :
oController.onGameNextSequence();
}
}
}
}
Symbol 1860 MovieClip [__Packages.data.lipsync.bymm_t_25] Frame 0
class data.lipsync.bymm_t_25 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_25 () {
super();
lipsArray = new Array("x", "w", "IY", "n", "h", "m", "l", "NG", "r", "IY", "n", "j", "n", "OW", "l", "UW", "j", "t", "UW", "n", "l", "m", "UW", "m", "x", "x");
timingArray = new Array(-83, 0, 83, 333, 417, 500, 583, 667, 833, 917, 1000, 1083, 1167, 1250, 1333, 1583, 1750, 1833, 1917, 2000, 2083, 2250, 2417, 2583, 2667, 2917);
}
}
Symbol 1861 MovieClip [__Packages.data.lipsync.bymm_a_19] Frame 0
class data.lipsync.bymm_a_19 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_19 () {
super();
lipsArray = new Array("OW", "h", "AE", "l", "x", "x", "l", "r", "AH", "l", "w", "AA", "h", "x", "g", "x", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 583, 667, 750, 833, 917, 1000, 1083, 1250, 1417, 1583, 1667, 1750, 1833, 2000);
}
}
Symbol 1862 MovieClip [__Packages.data.lipsync.bymm_t_33] Frame 0
class data.lipsync.bymm_t_33 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_33 () {
super();
lipsArray = new Array("x", "m", "AE", "m", "IY", "k", "g", "l", "TH", "x", "y", "UW", "m", "y", "UW", "IY", "NG", "v", "d", "OW", "n", "SH", "IH", "n", "AH", "x", "x");
timingArray = new Array(-83, 0, 333, 417, 500, 583, 667, 750, 917, 1000, 1083, 1167, 1250, 1333, 1417, 1500, 1583, 1667, 1750, 1833, 2000, 2083, 2167, 2250, 2417, 2750, 3000);
}
}
Symbol 1863 MovieClip [__Packages.sequences.Sequence] Frame 0
interface sequences.Sequence
{
}
Symbol 1864 MovieClip [__Packages.sequences.Cutscene] Frame 0
class sequences.Cutscene implements sequences.Sequence
{
var fEndListener, mc, bDestroyed, bEnded;
function Cutscene (l_sCutSceneID, l_fEndListener) {
fEndListener = l_fEndListener;
var _local2 = Controller.getContainer();
mc = _local2.attachMovie("cutscene_" + l_sCutSceneID, "mcContent", _local2.getNextHighestDepth());
mc.btSkip.onRelease = sarbakan.utils.Delegate.create(this, skip);
bDestroyed = false;
bEnded = false;
CSVOM.enable();
}
function init() {
}
function pause() {
mc.stop();
for (var _local4 in mc) {
mc[_local4].stop();
for (var _local3 in mc[_local4]) {
mc[_local4][_local3].stop();
for (var _local2 in mc[_local4][_local3]) {
mc[_local4][_local3][_local2].stop();
}
}
}
}
function resume() {
mc.play();
for (var _local4 in mc) {
mc[_local4].play();
for (var _local3 in mc[_local4]) {
mc[_local4][_local3].play();
for (var _local2 in mc[_local4][_local3]) {
mc[_local4][_local3][_local2].play();
}
}
}
}
function update() {
if (!bEnded) {
if (mc && (mc._currentframe == mc._totalframes)) {
end();
}
}
CSVOM.update();
}
function skip() {
sarbakan.sound.SoundManager.play("Click.wav", 60);
end();
}
function end() {
if (mc.giveCrystal) {
Controller.getInstance().mc.mcHUD.Red.gotoAndStop(1);
}
if (!bEnded) {
CSVOM.disable();
sarbakan.sound.VoiceOverManager.clearAll();
fEndListener();
bEnded = true;
}
}
function destroy() {
CSVOM.enable();
if (!bDestroyed) {
bDestroyed = true;
bEnded = true;
mc.removeMovieClip();
delete mc;
}
}
}
Symbol 1865 MovieClip [__Packages.CSVOM] Frame 0
class CSVOM
{
static var oTyrone;
function CSVOM () {
}
static function createTyrone(_mcTyrone) {
oTyrone = new elements.Tyrone(_mcTyrone);
}
static function update() {
oTyrone.update();
}
static function popTyrone() {
oTyrone.popIn();
}
static function popOutTyrone() {
oTyrone.popOut();
}
static function outTyrone() {
oTyrone.popOut();
}
static function enable() {
bEnabled = true;
}
static function disable() {
bEnabled = false;
}
static function Play(_sVo) {
if (bEnabled) {
switch (_sVo) {
case "T1" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_01.wav", 100, new data.lipsync.bymm_t_01(), 0, "Shuttle Crew, come in Shuttle Crew. This is Mission Control. We have a special mission for you.");
break;
case "T2" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_02.wav", 100, new data.lipsync.bymm_t_02(), 0, "Our friend Boinga has hidden three Boinga Crystals on Mars! One crystal is red, one is blue, and the other is yellow. Boinga wants us to find these crystals.");
break;
case "T3" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_03.wav", 100, new data.lipsync.bymm_t_03(), 0, "Are you ready?");
break;
case "T4" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_04.wav", 100, new data.lipsync.bymm_t_04(), 0, "Go.");
}
break;
case "T5" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_05.wav", 100, new data.lipsync.bymm_t_05(), 0, "Help.");
}
break;
case "T15" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_15.wav", 100, new data.lipsync.bymm_t_15(), 0, "Drive Rover across Mars to find all three crystals.");
break;
case "T16" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_16.wav", 100, new data.lipsync.bymm_t_16(), 0, "Use the RIGHT arrow to speed up.");
break;
case "T17" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_17.wav", 100, new data.lipsync.bymm_t_17(), 0, "Use the LEFT arrow to slow down or stop.");
break;
case "T18" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_18.wav", 100, new data.lipsync.bymm_t_18(), 0, "And use the SPACEBAR to jump.");
break;
case "T59" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_59.wav", 100, new data.lipsync.bymm_t_59(), 0, "This is Mission Control");
break;
case "T60" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_60.wav", 100, new data.lipsync.bymm_t_60(), 0, "Boinga wants to take the three crystals to earth! They're her gift to us.");
break;
case "T61" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_61.wav", 100, new data.lipsync.bymm_t_61(), 0, "Mission complete!");
break;
case "T62" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_62.wav", 100, new data.lipsync.bymm_t_62(), 0, "It's now time to return to Earth!");
break;
case "T63" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_63.wav", 100, new data.lipsync.bymm_t_63(), 0, "Come back anytime you want to help up in another space adventure!");
break;
case "T14" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_14.wav", 100, new data.lipsync.bymm_t_14(), 0, "Play Again?");
break;
case "T6" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_06.wav", 100, new data.lipsync.bymm_t_06(), 0, "Back.");
}
break;
case "T7" :
if (sarbakan.sound.VoiceOverManager.isDialogComplete()) {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_07.wav", 100, new data.lipsync.bymm_t_07(), 0, "Play.");
}
break;
case "U1" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_01.wav", 100, new data.lipsync.bymm_u_01(), 0, "Mission Control, this is Commander Uniqua.");
break;
case "U2" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_02.wav", 100, new data.lipsync.bymm_u_02(), 0, "Wow! ");
break;
case "U24" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_24.wav", 100, new data.lipsync.bymm_u_24(), 0, "Pretty!");
break;
case "U27" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_27.wav", 100, new data.lipsync.bymm_u_27(), 0, "Good Bye!");
break;
case "U09" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_09.wav", 100, new data.lipsync.bymm_u_09(), 0, "YeePee!");
break;
case "All1" :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_07.wav", 100, new data.lipsync.bymm_u_07(), 0, "Wow!");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_07.wav", 100, new data.lipsync.bymm_a_07(), 0, "Wow!");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_06.wav", 100, new data.lipsync.bymm_p_06(), 0, "Wow!");
}
break;
case "T19" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_19.wav", 100, new data.lipsync.bymm_t_19(), 0, "Good work astronauts!");
break;
case "T20" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_20.wav", 100, new data.lipsync.bymm_t_20(), 0, "Now let\u2019s find those Boinga crystals!");
break;
case "A4" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_04.wav", 100, new data.lipsync.bymm_a_04(), 0, "C\u2019mon Rover! I bet you can track where those Boinga crystals are. Now go find \u2018em!");
break;
case "RoverBarksAgree" :
sarbakan.sound.SoundManager.play("Rover_Bark1");
break;
case "RoverHappy" :
sarbakan.sound.SoundManager.play("Rover_Bark2");
break;
case "A5" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_05.wav", 100, new data.lipsync.bymm_a_05(), 0, "Aww, boy, that\u2019s not a Boinga crystal.");
break;
case "U4" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_04.wav", 100, new data.lipsync.bymm_u_04(), 0, "I don\u2019t think Rover knows what a Boinga crystal looks like.");
break;
case "P4" :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_04.wav", 100, new data.lipsync.bymm_p_04(), 0, "Does anyone know what a Boinga crystal looks like?");
break;
case "T21" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_21.wav", 100, new data.lipsync.bymm_t_21(), 0, "[...]");
break;
case "RoverBarkExcitement" :
sarbakan.sound.SoundManager.play("Rover_Panting");
break;
case "T14" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_14.wav", 100, new data.lipsync.bymm_t_14(), 0, "Play Again ?");
break;
case "T16" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_16.wav", 100, new data.lipsync.bymm_t_16(), 0, "Press the RIGHT arrow to speed up.");
break;
case "T17" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_17.wav", 100, new data.lipsync.bymm_t_17(), 0, "Press the LEFT arrow to slow down or stop.");
break;
case "T18" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_18.wav", 100, new data.lipsync.bymm_t_18(), 0, "Press the SPACEBAR to jump.");
break;
case "U5" :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_05.wav", 100, new data.lipsync.bymm_u_05(), 0, "Roger that!");
break;
case "T22" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_22.wav", 100, new data.lipsync.bymm_t_22(), 0, "[...]");
break;
case "All2" :
switch (random(3) + 1) {
case 1 :
sarbakan.sound.VoiceOverManager.queue("uniqua", "bymm_u_06.wav", 100, new data.lipsync.bymm_u_06(), 0, "Let's go!");
break;
case 2 :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_06.wav", 100, new data.lipsync.bymm_a_06(), 0, "Let's go!");
break;
case 3 :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_05.wav", 100, new data.lipsync.bymm_p_05(), 0, "Let's go!");
}
break;
case "P21" :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_21.wav", 100, new data.lipsync.bymm_p_21(), 0, "Neat!");
break;
case "P25" :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_25.wav", 100, new data.lipsync.bymm_p_25(), 0, "Good Bye!");
break;
case "P07" :
sarbakan.sound.VoiceOverManager.queue("pablo", "bymm_p_07.wav", 100, new data.lipsync.bymm_p_07(), 0, "Yeah!");
break;
case "A21" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_21.wav", 100, new data.lipsync.bymm_a_21(), 0, "Cool!");
break;
case "A24" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_24.wav", 100, new data.lipsync.bymm_a_24(), 0, "Whoopee!");
break;
case "A25" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_25.wav", 100, new data.lipsync.bymm_a_25(), 0, "He He!");
break;
case "A26" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_26.wav", 100, new data.lipsync.bymm_a_26(), 0, "Good Bye!");
break;
case "A07" :
sarbakan.sound.VoiceOverManager.queue("austin", "bymm_a_07.wav", 100, new data.lipsync.bymm_a_07(), 0, "YaHoo!");
}
}
}
static var bEnabled = true;
}
Symbol 1866 MovieClip [__Packages.data.lipsync.bymm_t_01] Frame 0
class data.lipsync.bymm_t_01 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_01 () {
super();
lipsArray = new Array("j", "AE", "l", "UW", "k", "l", "b", "x", "AH", "n", "IY", "IH", "NG", "j", "AE", "l", "k", "r", "UW", "m", "x", "DH", "IH", "s", "m", "v", "l", "IH", "s", "IY", "TH", "NG", "AH", "l", "IY", "AE", "m", "AH", "z", "b", "AY", "n", "SH", "OW", "l", "IY", "h", "IY", "b", "v", "l", "y", "UW", "x", "x");
timingArray = new Array(-83, 83, 250, 333, 417, 583, 750, 1000, 1083, 1167, 1250, 1333, 1417, 1583, 1750, 1833, 2000, 2083, 2167, 2250, 2417, 2667, 2750, 2833, 2917, 3000, 3083, 3167, 3250, 3333, 3417, 3500, 3667, 3750, 4167, 4250, 4333, 4417, 4500, 4583, 4667, 4750, 4833, 4917, 5083, 5167, 5250, 5333, 5417, 5500, 5583, 5667, 5750, 5833, 6000);
}
}
Symbol 1867 MovieClip [__Packages.data.lipsync.bymm_t_02] Frame 0
class data.lipsync.bymm_t_02 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_02 () {
super();
lipsArray = new Array("x", "AY", "x", "AE", "NG", "l", "IH", "NG", "AE", "h", "IH", "n", "h", "IH", "n", "IH", "NG", "n", "UW", "n", "l", "IH", "NG", "OW", "k", "UW", "z", "l", "OW", "NG", "l", "AW", "ER", "n", "x", "x", "x", "x", "x", "w", "OW", "l", "k", "IH", "z", "t", "UW", "v", "IH", "n", "w", "IH", "m", "UW", "v", "x", "l", "m", "l", "n", "h", "m", "AE", "AH", "n", "m", "UW", "v", "d", "AE", "AW", "l", "x", "p", "l", "IH", "NG", "IH", "l", "n", "s", "AH", "h", "z", "x", "AH", "x", "AY", "n", "y", "UW", "TH", "IH", "s", "DH", "l", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 417, 500, 667, 750, 833, 1000, 1083, 1167, 1250, 1333, 1417, 1500, 1583, 1750, 1833, 1917, 2000, 2083, 2167, 2250, 2333, 2500, 2583, 2750, 3000, 3083, 3167, 3250, 3500, 3583, 3667, 3750, 3833, 4167, 4250, 4333, 4417, 4500, 4667, 4750, 4833, 4917, 5000, 5250, 5333, 5583, 5667, 5917, 6000, 6083, 6167, 6250, 6333, 6417, 6583, 6667, 6750, 6833, 6917, 7083, 7250, 7333, 7500, 7583, 7750, 7833, 8000, 8167, 8250, 8750, 8833, 8917, 9000, 9083, 9167, 9417, 9500, 9583, 9667, 9833, 9917, 10000, 10083, 10250, 10417, 10500, 10583, 10750, 10917, 11000, 11167, 11250, 11417, 11750);
}
}
Symbol 1868 MovieClip [__Packages.data.lipsync.bymm_t_03] Frame 0
class data.lipsync.bymm_t_03 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_03 () {
super();
lipsArray = new Array("g", "OW", "m", "w", "AE", "EY", "x", "x");
timingArray = new Array(-83, 0, 83, 333, 417, 583, 833, 1083);
}
}
Symbol 1869 MovieClip [__Packages.data.lipsync.bymm_t_04] Frame 0
class data.lipsync.bymm_t_04 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_04 () {
super();
lipsArray = new Array("l", "AA", "l", "m", "x");
timingArray = new Array(-83, 0, 167, 417, 583);
}
}
Symbol 1870 MovieClip [__Packages.data.lipsync.bymm_t_05] Frame 0
class data.lipsync.bymm_t_05 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_05 () {
super();
lipsArray = new Array("h", "AE", "l", "x", "x");
timingArray = new Array(-83, 83, 167, 417, 500);
}
}
Symbol 1871 MovieClip [__Packages.data.lipsync.bymm_t_15] Frame 0
class data.lipsync.bymm_t_15 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_15 () {
super();
lipsArray = new Array("x", "AH", "AY", "m", "r", "AH", "NG", "w", "ER", "AH", "x", "f", "AH", "z", "m", "OW", "AH", "x", "m", "f", "AY", "n", "g", "OW", "l", "DH", "m", "IY", "k", "OW", "TH", "x", "l", "m", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 417, 500, 667, 750, 917, 1000, 1083, 1167, 1333, 1417, 1583, 1750, 1917, 2000, 2083, 2167, 2333, 2500, 2583, 2667, 2833, 2917, 3000, 3167, 3333, 3417, 3500, 3583, 3750, 3833, 4083);
}
}
Symbol 1872 MovieClip [__Packages.data.lipsync.bymm_t_16] Frame 0
class data.lipsync.bymm_t_16 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_16 () {
super();
lipsArray = new Array("m", "l", "UW", "z", "AH", "b", "r", "EY", "n", "AE", "AA", "l", "z", "IH", "z", "t", "y", "n", "AH", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 667, 750, 833, 1000, 1083, 1167, 1250, 1333, 1417, 1583, 1667, 2000, 2250);
}
}
Symbol 1873 MovieClip [__Packages.data.lipsync.bymm_t_17] Frame 0
class data.lipsync.bymm_t_17 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_17 () {
super();
lipsArray = new Array("y", "UW", "AH", "TH", "l", "l", "AH", "v", "h", "EH", "r", "l", "b", "AH", "z", "h", "AH", "l", "n", "IH", "AE", "n", "g", "l", "z", "b", "OW", "AH", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 583, 667, 750, 917, 1000, 1167, 1250, 1333, 1417, 1500, 1583, 1667, 1750, 1833, 2000, 2083, 2167, 2250, 2417, 2500, 2583, 2750, 2833, 3000);
}
}
Symbol 1874 MovieClip [__Packages.data.lipsync.bymm_t_18] Frame 0
class data.lipsync.bymm_t_18 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_18 () {
super();
lipsArray = new Array("p", "UW", "y", "z", "DH", "IH", "z", "IY", "z", "g", "AO", "r", "n", "IH", "j", "y", "UW", "x", "p", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 417, 500, 667, 917, 1000, 1083, 1250, 1333, 1417, 1500, 1583, 1667, 1833, 1917, 2000, 2083);
}
}
Symbol 1875 MovieClip [__Packages.data.lipsync.bymm_t_59] Frame 0
class data.lipsync.bymm_t_59 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_59 () {
super();
lipsArray = new Array("x", "IH", "TH", "IH", "NG", "m", "IY", "z", "NG", "g", "IH", "j", "h", "OW", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 417, 583, 667, 750, 833, 917, 1000, 1083, 1167, 1417, 1500);
}
}
Symbol 1876 MovieClip [__Packages.data.lipsync.bymm_t_60] Frame 0
class data.lipsync.bymm_t_60 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_60 () {
super();
lipsArray = new Array("x", "p", "l", "IH", "NG", "AH", "l", "m", "n", "h", "y", "UW", "n", "IH", "b", "m", "p", "r", "IY", "h", "IH", "z", "x", "l", "AH", "DH", "AH", "ER", "m", "x", "x", "x", "DH", "g", "p", "ER", "x", "p", "UW", "z", "n", "g", "AH", "h", "ER", "d", "UW", "v", "x", "t", "UW", "l", "OW", "x", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 667, 833, 917, 1000, 1250, 1333, 1417, 1500, 1833, 1917, 2000, 2167, 2333, 2417, 2500, 2583, 2750, 2833, 2917, 3000, 3167, 3333, 3417, 3500, 3667, 3750, 3833, 3917, 4083, 4167, 4250, 4417, 4500, 4583, 4667, 4833, 4917, 5167, 5250, 5333, 5500, 5583, 5667, 5750, 5833, 6000, 6250, 6333, 6500);
}
}
Symbol 1877 MovieClip [__Packages.data.lipsync.bymm_t_61] Frame 0
class data.lipsync.bymm_t_61 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_61 () {
super();
lipsArray = new Array("m", "IY", "SH", "IY", "NG", "IH", "NG", "g", "l", "IY", "n", "x");
timingArray = new Array(-83, 83, 167, 250, 333, 500, 583, 667, 750, 833, 917, 1083);
}
}
Symbol 1878 MovieClip [__Packages.data.lipsync.bymm_t_62] Frame 0
class data.lipsync.bymm_t_62 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_62 () {
super();
lipsArray = new Array("IY", "z", "n", "AE", "OW", "x", "h", "AH", "m", "t", "UW", "IY", "n", "t", "UW", "v", "z", "n", "AH", "r", "IH", "m", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 417, 500, 583, 750, 917, 1000, 1083, 1167, 1250, 1333, 1500, 1583, 1667, 1750, 1833, 1917, 2000, 2083, 2333);
}
}
Symbol 1879 MovieClip [__Packages.data.lipsync.bymm_t_63] Frame 0
class data.lipsync.bymm_t_63 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_63 () {
super();
lipsArray = new Array("p", "m", "IH", "n", "EY", "k", "IH", "IY", "n", "d", "ER", "n", "x", "f", "w", "IH", "n", "AH", "m", "IH", "z", "t", "IH", "d", "IH", "n", "IH", "NG", "h", "IH", "x", "x");
timingArray = new Array(-83, 83, 250, 417, 500, 583, 667, 750, 833, 917, 1000, 1167, 1333, 1417, 1500, 1583, 1750, 1833, 2000, 2083, 2167, 2250, 2333, 2500, 2583, 2750, 2833, 2917, 3083, 3167, 3250, 3417);
}
}
Symbol 1880 MovieClip [__Packages.data.lipsync.bymm_t_14] Frame 0
class data.lipsync.bymm_t_14 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_14 () {
super();
lipsArray = new Array("p", "UW", "y", "UW", "n", "x");
timingArray = new Array(-83, 0, 250, 333, 583, 667);
}
}
Symbol 1881 MovieClip [__Packages.data.lipsync.bymm_t_06] Frame 0
class data.lipsync.bymm_t_06 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_06 () {
super();
lipsArray = new Array("h", "AH", "d", "x", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 333, 417);
}
}
Symbol 1882 MovieClip [__Packages.data.lipsync.bymm_t_07] Frame 0
class data.lipsync.bymm_t_07 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_07 () {
super();
lipsArray = new Array("l", "NG", "EY", "j", "x");
timingArray = new Array(-83, 0, 167, 250, 333);
}
}
Symbol 1883 MovieClip [__Packages.data.lipsync.bymm_u_01] Frame 0
class data.lipsync.bymm_u_01 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_01 () {
super();
lipsArray = new Array("x", "m", "IH", "z", "IY", "p", "IH", "v", "AE", "l", "x", "v", "IY", "v", "IH", "z", "g", "l", "m", "AE", "n", "IY", "y", "IH", "NG", "y", "n", "w", "AH", "x", "w", "IY", "AE", "m", "IY", "n", "IY", "AH", "l", "OW", "m", "AA", "AY", "TH", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 583, 750, 1000, 1083, 1167, 1250, 1333, 1417, 1500, 1583, 1667, 1833, 1917, 2000, 2083, 2167, 2250, 2333, 2417, 2500, 2583, 2750, 3000, 3083, 3167, 3333, 3500, 3583, 3667, 3750, 3833, 4000, 4083, 4250, 4417, 4583, 4667, 4833, 4917);
}
}
Symbol 1884 MovieClip [__Packages.data.lipsync.bymm_u_02] Frame 0
class data.lipsync.bymm_u_02 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_02 () {
super();
lipsArray = new Array("m", "l", "h", "AA", "l", "x", "x");
timingArray = new Array(-83, 83, 250, 417, 750, 917, 1000);
}
}
Symbol 1885 MovieClip [__Packages.data.lipsync.bymm_u_24] Frame 0
class data.lipsync.bymm_u_24 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_24 () {
super();
lipsArray = new Array("p", "IY", "h", "IH", "IY", "x", "x");
timingArray = new Array(-83, 83, 250, 333, 417, 667, 833);
}
}
Symbol 1886 MovieClip [__Packages.data.lipsync.bymm_u_27] Frame 0
class data.lipsync.bymm_u_27 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_27 () {
super();
lipsArray = new Array("k", "AH", "n", "h", "EY", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 750, 833, 1000);
}
}
Symbol 1887 MovieClip [__Packages.data.lipsync.bymm_t_19] Frame 0
class data.lipsync.bymm_t_19 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_19 () {
super();
lipsArray = new Array("m", "l", "IH", "k", "AE", "AH", "j", "g", "IH", "AH", "x", "x", "x");
timingArray = new Array(-83, 0, 417, 500, 583, 667, 750, 833, 917, 1000, 1250, 1333, 1500);
}
}
Symbol 1888 MovieClip [__Packages.data.lipsync.bymm_t_20] Frame 0
class data.lipsync.bymm_t_20 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_20 () {
super();
lipsArray = new Array("p", "AH", "l", "AE", "s", "x", "AY", "n", "AH", "NG", "l", "UW", "n", "AH", "n", "k", "IH", "NG", "z", "x", "l", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 417, 500, 583, 750, 833, 917, 1250, 1417, 1500, 1583, 1667, 1750, 1833, 1917, 2000, 2083, 2167, 2333, 2500);
}
}
Symbol 1889 MovieClip [__Packages.data.lipsync.bymm_a_04] Frame 0
class data.lipsync.bymm_a_04 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_04 () {
super();
lipsArray = new Array("x", "IY", "n", "IH", "NG", "SH", "n", "g", "n", "v", "l", "IH", "n", "w", "ER", "UW", "x", "l", "IY", "IH", "n", "g", "IH", "z", "l", "z", "l", "ER", "x", "x", "x", "w", "OW", "n", "ER", "x", "x", "b", "OW", "n", "m", "l", "IH", "NG", "IH", "g", "UW", "TH", "AH", "m", "z", "x", "k", "OW", "m", "l", "NG", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 583, 667, 750, 833, 917, 1000, 1083, 1167, 1333, 1500, 1583, 1750, 1833, 1917, 2000, 2083, 2250, 2333, 2417, 2583, 2750, 2917, 3000, 3250, 3333, 3417, 3500, 3667, 3750, 4000, 4083, 4167, 4333, 4417, 4500, 4583, 4667, 4750, 4917, 5000, 5083, 5167, 5250, 5333, 5583, 5667, 5833, 6000, 6167, 6250, 6417);
}
}
Symbol 1890 MovieClip [__Packages.data.lipsync.bymm_a_05] Frame 0
class data.lipsync.bymm_a_05 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_05 () {
super();
lipsArray = new Array("AH", "v", "TH", "AH", "AH", "j", "w", "IH", "NG", "IH", "g", "r", "IH", "z", "DH", "OW", "n", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 417, 500, 583, 667, 750, 833, 917, 1000, 1083, 1167, 1250, 1333, 1500, 1583, 1667);
}
}
Symbol 1891 MovieClip [__Packages.data.lipsync.bymm_u_04] Frame 0
class data.lipsync.bymm_u_04 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_04 () {
super();
lipsArray = new Array("k", "AY", "n", "AH", "d", "h", "IH", "n", "w", "l", "IH", "n", "l", "w", "AH", "AH", "m", "b", "w", "IY", "n", "OW", "k", "IH", "j", "t", "UW", "l", "m", "z", "l", "AY", "NG", "x", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 500, 583, 667, 917, 1000, 1083, 1333, 1417, 1500, 1583, 1667, 1750, 1833, 1917, 2000, 2083, 2250, 2333, 2417, 2500, 2583, 2750, 2833, 2917, 3000, 3167, 3250, 3333, 3500);
}
}
Symbol 1892 MovieClip [__Packages.data.lipsync.bymm_p_04] Frame 0
class data.lipsync.bymm_p_04 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_04 () {
super();
lipsArray = new Array("x", "z", "x", "d", "AE", "l", "NG", "OW", "l", "r", "m", "w", "AE", "IH", "n", "g", "IH", "z", "AH", "l", "OW", "v", "f", "l", "IH", "x", "k", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 583, 667, 833, 1000, 1083, 1167, 1333, 1417, 1500, 1583, 1667, 1750, 1833, 1917, 2083, 2167, 2250, 2333, 2417, 2583, 2667, 2750, 2833);
}
}
Symbol 1893 MovieClip [__Packages.data.lipsync.bymm_t_21] Frame 0
class data.lipsync.bymm_t_21 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_21 () {
super();
lipsArray = new Array("j", "AE", "AH", "x", "g", "ER", "m", "b", "IY", "z", "g", "m", "IH", "h", "NG", "h", "n", "t", "UW", "OW", "NG", "x", "x", "w", "IY", "l", "m", "UW", "m", "IH", "n", "x", "y", "UW", "b", "z", "w", "IH", "n", "IH", "NG", "l", "m", "AH", "n", "g", "m", "UW", "z", "g", "l", "AH", "EY", "AE", "n", "IY", "m", "x", "x", "g", "IY", "h", "UW", "AE", "k", "NG", "b", "l", "w", "ER", "m", "UW", "l", "v", "w", "v", "w", "NG", "k", "IH", "v", "g", "m", "r", "n", "f", "r", "y", "n", "l", "m", "x", "x");
timingArray = new Array(-83, 83, 250, 333, 417, 500, 583, 667, 917, 1000, 1083, 1250, 1333, 1417, 1583, 1667, 1750, 1833, 1917, 2000, 2167, 2250, 2333, 2500, 2583, 2750, 3000, 3083, 3167, 3250, 3417, 3500, 3583, 3667, 3833, 3917, 4000, 4167, 4250, 4333, 4417, 4500, 4583, 4750, 4833, 4917, 5000, 5083, 5167, 5250, 5333, 5417, 5583, 5667, 5750, 5833, 5917, 6083, 6167, 6333, 6500, 6667, 6750, 6917, 7083, 7167, 7333, 7417, 7500, 7583, 7750, 7833, 7917, 8083, 8167, 8250, 8417, 8500, 8583, 8750, 8833, 8917, 9000, 9083, 9167, 9250, 9333, 9417, 9500, 9583, 9750, 9833, 10000);
}
}
Symbol 1894 MovieClip [__Packages.data.lipsync.bymm_u_05] Frame 0
class data.lipsync.bymm_u_05 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_05 () {
super();
lipsArray = new Array("m", "AH", "n", "UW", "k", "h", "AH", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 417, 583, 667, 833);
}
}
Symbol 1895 MovieClip [__Packages.data.lipsync.bymm_t_22] Frame 0
class data.lipsync.bymm_t_22 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_22 () {
super();
lipsArray = new Array("x", "y", "IY", "h", "AE", "x", "w", "l", "x", "x", "DH", "AH", "l", "IY", "m", "IH", "l", "IY", "h", "AA", "AH", "TH", "IH", "g", "l", "v", "m", "IH", "w", "AY", "n", "x", "y", "NG", "NG", "n", "l", "b", "l", "IY", "n", "DH", "IH", "m", "l", "x", "x", "x", "g", "AA", "l", "z", "IY", "n", "h", "AH", "n", "AE", "n", "w", "n", "x", "y", "UW", "g", "m", "h", "AH", "l", "m", "y", "UW", "n", "DH", "IH", "m", "y", "m", "IY", "h", "x", "m", "x", "x", "g", "IH", "OW", "n", "l", "h", "AH", "x", "x", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 333, 583, 667, 750, 917, 1000, 1250, 1333, 1500, 1583, 1667, 1833, 1917, 2000, 2083, 2167, 2250, 2333, 2417, 2500, 2583, 2750, 2917, 3083, 3167, 3333, 3500, 3583, 3917, 4000, 4250, 4417, 4500, 4750, 4833, 5000, 5083, 5167, 5250, 5333, 5417, 5833, 6000, 6083, 6250, 6333, 6417, 6500, 6583, 6833, 6917, 7000, 7167, 7250, 7417, 7500, 7583, 7667, 7750, 7917, 8083, 8167, 8250, 8333, 8417, 8500, 8583, 8667, 8750, 8833, 8917, 9000, 9083, 9250, 9417, 9500, 9583, 9750, 9833, 9917, 10167, 10333, 10417, 10500, 10583, 10750, 10833, 10917, 11000, 11083, 11333);
}
}
Symbol 1896 MovieClip [__Packages.data.lipsync.bymm_u_06] Frame 0
class data.lipsync.bymm_u_06 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_u_06 () {
super();
lipsArray = new Array("m", "IY", "h", "EY", "f", "x", "p", "h", "l", "x", "x");
timingArray = new Array(-83, 0, 83, 250, 333, 417, 583, 667, 1083, 1333, 1583);
}
}
Symbol 1897 MovieClip [__Packages.data.lipsync.bymm_a_06] Frame 0
class data.lipsync.bymm_a_06 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_06 () {
super();
lipsArray = new Array("w", "IH", "s", "x", "t", "ER", "r", "l", "m", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 333, 417, 583, 667, 833, 1000, 1083);
}
}
Symbol 1898 MovieClip [__Packages.data.lipsync.bymm_p_05] Frame 0
class data.lipsync.bymm_p_05 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_05 () {
super();
lipsArray = new Array("l", "AE", "AH", "n", "ER", "OW", "l", "x", "x");
timingArray = new Array(-83, 83, 167, 250, 333, 583, 667, 833, 1000);
}
}
Symbol 1899 MovieClip [__Packages.data.lipsync.bymm_p_21] Frame 0
class data.lipsync.bymm_p_21 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_21 () {
super();
lipsArray = new Array("n", "l", "x", "x");
timingArray = new Array(-83, 83, 417, 500);
}
}
Symbol 1900 MovieClip [__Packages.data.lipsync.bymm_p_25] Frame 0
class data.lipsync.bymm_p_25 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_p_25 () {
super();
lipsArray = new Array("AH", "n", "h", "AE", "n", "x", "x");
timingArray = new Array(-83, 0, 83, 333, 417, 500, 583);
}
}
Symbol 1901 MovieClip [__Packages.data.lipsync.bymm_a_21] Frame 0
class data.lipsync.bymm_a_21 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_21 () {
super();
lipsArray = new Array("h", "OW", "l", "m", "x", "x");
timingArray = new Array(-83, 0, 83, 500, 583, 667);
}
}
Symbol 1902 MovieClip [__Packages.data.lipsync.bymm_a_24] Frame 0
class data.lipsync.bymm_a_24 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_24 () {
super();
lipsArray = new Array("x", "UH", "l", "EY", "IY", "x");
timingArray = new Array(-83, 0, 83, 167, 417, 1083);
}
}
Symbol 1903 MovieClip [__Packages.data.lipsync.bymm_a_25] Frame 0
class data.lipsync.bymm_a_25 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_25 () {
super();
lipsArray = new Array("x", "AE", "AH", "x", "x");
timingArray = new Array(-83, 0, 167, 250, 417);
}
}
Symbol 1904 MovieClip [__Packages.data.lipsync.bymm_a_26] Frame 0
class data.lipsync.bymm_a_26 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_a_26 () {
super();
lipsArray = new Array("IH", "NG", "l", "AA", "IH", "NG", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 500, 667, 750, 917);
}
}
Symbol 1905 MovieClip [__Packages.sarbakan.utils.Tools] Frame 0
class sarbakan.utils.Tools
{
function Tools () {
}
static function CopyArray(_aArraySource) {
var _local3 = new Array();
var _local1 = 0;
_local1 = 0;
while (_local1 < _aArraySource.length) {
if (_aArraySource[_local1] instanceof Array) {
_local3.push(CopyArray(_aArraySource[_local1]));
} else {
_local3.push(_aArraySource[_local1]);
}
_local1++;
}
return(_local3);
}
}
Symbol 1906 MovieClip [__Packages.sequences.SideScroller] Frame 0
class sequences.SideScroller implements sequences.Sequence
{
var mc, nDiff, oView, oCam, oLayerBackground, oLayerLevel, oEventHandler, oEvents, oRover, oTyrone;
function SideScroller (l_nDiff, l_aLevelScreens, l_oEventHandler) {
mc = Controller.getContainer();
nDiff = l_nDiff;
oView = new sarbakan.visual.layer.LayerManager(data.GameData.SCREEN_WIDTH * l_aLevelScreens.length, data.GameData.SCREEN_HEIGHT, data.GameData.STAGE_WIDTH, data.GameData.STAGE_HEIGHT);
oCam = oView.getCamera();
mc.createEmptyMovieClip("mcBackground", data.GameData.SIDESCROLLER_DEPTH_BACKGROUND);
oLayerBackground = new sarbakan.visual.layer.Layer(mc.mcBackground, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerBackground, 1, 1);
mc.createEmptyMovieClip("mcLevel", data.GameData.SIDESCROLLER_DEPTH_LEVEL);
oLayerLevel = new sarbakan.visual.layer.Layer(mc.mcLevel, new sarbakan.visual.activation.GridActivation());
oView.addLayer(oLayerLevel, 1, 1);
oLayerLevel.addCollisionMap(new sarbakan.visual.layer.CollisionMap("floor", oLayerLevel, 12632256));
oEventHandler = l_oEventHandler;
oEvents = new helpers.ScrollerEventManager(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onScrollerEvent));
sarbakan.sound.VoiceOverManager.setListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onVoiceDone));
sarbakan.utils.ActionSequencer.init();
sarbakan.utils.ActionSequencer.addListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onActionSequenceDone));
loadScreens(l_aLevelScreens);
oRover = new elements.sidescroller.Rover(oLayerLevel);
oLayerLevel.addDynamicElement(oRover);
oCam.lockOn(sarbakan.utils.Delegate.create(oRover, oRover.getCoord), true);
oTyrone = new elements.Tyrone(mc._parent.mcTyrone);
oLayerLevel.addDynamicElement(oTyrone);
}
function init() {
oEventHandler.init();
oEventHandler.setLevel(nDiff);
_global.S.PlayASound("RoverRoll", 9999, 35);
}
function update() {
oView.update();
oEvents.update(oRover.mc._x);
sarbakan.utils.ActionSequencer.update();
}
function destroy() {
oEventHandler.destroy();
delete oRover;
_global.S.StopASound("RoverRoll");
_global.S.StopASound("RoverWaterRoll");
oView.destroy();
}
function get Diff() {
return(nDiff);
}
function loadScreens(l_aLevelScreens) {
var _local3 = 0;
while (l_aLevelScreens.length > 0) {
oLayerBackground.addStaticElement(new elements.sidescroller.Screen(oLayerBackground, oLayerLevel.oCollisionMaps.floor, l_aLevelScreens.shift(), _local3++));
}
}
}
Symbol 1907 MovieClip [__Packages.sarbakan.visual.layer.LayerManager] Frame 0
class sarbakan.visual.layer.LayerManager
{
var nStageW, nStageH, oCam, aLayers, bPaused, bWillPause;
function LayerManager (l_nViewZoneW, l_nViewZoneH, l_nStageW, l_nStageH) {
nStageW = l_nStageW;
nStageH = l_nStageH;
oCam = new sarbakan.visual.Camera(l_nViewZoneW, l_nViewZoneH, nStageW, nStageH);
aLayers = [];
bPaused = false;
bWillPause = false;
}
function addLayer(l_oLayer, l_parallaxRatioX, l_parallaxRatioY) {
aLayers.push({layer:l_oLayer, mc:l_oLayer.mc, ratioX:l_parallaxRatioX, ratioY:l_parallaxRatioY});
l_oLayer.init(nStageW, nStageH);
}
function getCamera() {
return(oCam);
}
function destroy() {
var _local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].layer.destroy();
_local2++;
}
oCam.destroy();
}
function pause() {
bWillPause = true;
}
function unpause() {
if (bPaused) {
var _local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].layer.unpause();
_local2++;
}
sarbakan.visual.PauseManager.unpause();
}
bPaused = false;
bWillPause = false;
}
function togglePause() {
if (!bPaused) {
pause();
} else {
unpause();
}
}
function update() {
if (bWillPause) {
bPaused = true;
bWillPause = false;
var _local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].layer.pause();
_local2++;
}
sarbakan.visual.PauseManager.pause();
}
if (!bPaused) {
var _local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].layer.update();
_local2++;
}
var _local4 = oCam.getX();
var _local3 = oCam.getY();
_local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].mc._x = _local4 * aLayers[_local2].ratioX;
aLayers[_local2].mc._y = _local3 * aLayers[_local2].ratioY;
_local2++;
}
}
}
}
Symbol 1908 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 1909 MovieClip [__Packages.sarbakan.visual.Camera] Frame 0
class sarbakan.visual.Camera
{
static var oEnterFrameListener;
var nX, nY, nViewZoneW, nViewZoneH, nStageW, nStageH, bLockedOn, nSpeed, bTravelling, oTweenX, fEasing, oTweenY, nTravelDestX, nTravelDestY, fEndListener, fLockedFunction, __get__x, __get__y;
function Camera (l_viewZoneW, l_viewZoneH, l_nStageW, l_nStageH) {
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = mx.utils.Delegate.create(this, update);
MovieClip.addListener(oEnterFrameListener);
nX = 0;
nY = 0;
nViewZoneW = l_viewZoneW;
nViewZoneH = l_viewZoneH;
nStageW = l_nStageW;
nStageH = l_nStageH;
setSpeed(DEFAULT_SPEED);
setEasing(DEFAULT_EASING);
bLockedOn = false;
}
function travelTo(l_nDestX, l_nDestY, l_fListener) {
var _local2 = Math.round(sarbakan.utils.MoreMath.getDistance(nX * -1, nY * -1, l_nDestX, l_nDestY) / nSpeed);
if (!bTravelling) {
oTweenX = new mx.transitions.Tween(this, "x", fEasing, nX * -1, l_nDestX, _local2, false);
oTweenY = new mx.transitions.Tween(this, "y", fEasing, nY * -1, l_nDestY, _local2, false);
oTweenX.onMotionFinished = mx.utils.Delegate.create(this, onTravelFinished);
} else {
oTweenX.continueTo(l_nDestX, _local2);
oTweenY.continueTo(l_nDestY, _local2);
}
nTravelDestX = l_nDestX;
nTravelDestY = l_nDestY;
if (l_fListener) {
fEndListener = l_fListener;
}
bTravelling = true;
}
function moveTo(l_nDestX, l_nDestY) {
x = (l_nDestX);
y = (l_nDestY);
}
function lockOn(l_fLockFunction, l_bInstant) {
bLockedOn = true;
fLockedFunction = l_fLockFunction;
var _local2 = fLockedFunction();
if ((_local2.x != nX) || (_local2.y != nY)) {
if (l_bInstant) {
moveTo(_local2.x, _local2.y);
} else {
travelTo(_local2.x, _local2.y);
}
}
}
function unlock() {
bLockedOn = false;
fLockedFunction = undefined;
}
function setSpeed(l_nSpeed) {
if (l_nSpeed) {
nSpeed = l_nSpeed;
} else {
setSpeed(DEFAULT_SPEED);
}
}
function setEasing(l_fEasing) {
if (l_fEasing) {
fEasing = l_fEasing;
} else {
setEasing(DEFAULT_EASING);
}
}
function set x(l_nX) {
nX = l_nX;
if (nX < 0) {
nX = 0;
}
if (nX > (nViewZoneW - nStageW)) {
nX = Math.round(nViewZoneW - nStageW);
}
nX = nX * -1;
//return(__get__x());
}
function set y(l_nY) {
nY = l_nY;
if (nY < 0) {
nY = 0;
}
if (nY > (nViewZoneH - nStageH)) {
nY = Math.round(nViewZoneH - nStageH);
}
nY = nY * -1;
//return(__get__y());
}
function getX() {
return(nX);
}
function getY() {
return(nY);
}
function destroy() {
MovieClip.removeListener(oEnterFrameListener);
}
function update() {
if (bLockedOn) {
var _local2;
if ((!bTravelling) && (bLockedOn)) {
_local2 = fLockedFunction();
moveTo(_local2.x, _local2.y);
} else if ((_local2.x != nTravelDestX) || (_local2.y != nTravelDestY)) {
}
}
}
function onTravelFinished() {
bTravelling = false;
if (fEndListener) {
fEndListener();
fEndListener = undefined;
}
}
static var DEFAULT_SPEED = 5;
static var DEFAULT_EASING = mx.transitions.easing.Regular.easeOut;
}
Symbol 1910 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 1911 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 1912 MovieClip [__Packages.sarbakan.utils.MoreMath] Frame 0
class sarbakan.utils.MoreMath
{
function MoreMath () {
}
static function random(l_nMin, l_nMax) {
return(Math.floor(Math.random() * l_nMax) + l_nMin);
}
static function getDistance(l_x1, l_y1, l_x2, l_y2) {
return(Math.sqrt(Math.pow(Math.abs(l_x2 - l_x1), 2) + Math.pow(Math.abs(l_y2 - l_y1), 2)));
}
static function getManhattanDistance(l_x1, l_y1, l_x2, l_y2) {
return(Math.abs(l_x1 - l_x2) + Math.abs(l_y1 - l_y2));
}
static function getAngle(l_oPt1, l_oPt2) {
var _local2 = 0;
var _local3 = 0;
var _local1 = 0;
var _local4 = 0;
_local2 = (l_oPt1.x - l_oPt2.x) * -1;
_local3 = (l_oPt1.y - l_oPt2.y) * -1;
_local1 = Math.atan2(_local3, _local2);
_local1 = (_local1 * 180) / Math.PI;
if (_local1 < 0) {
_local1 = _local1 * -1;
_local4 = 180 - _local1;
_local1 = 180 + _local4;
}
if (_local1 < 0) {
_local1 = _local1 + 360;
}
return(_local1);
}
static function getRadian(l_oPt1, l_oPt2) {
var _local1 = 0;
var _local2 = 0;
var _local3 = 0;
_local1 = (l_oPt1.x - l_oPt2.x) * -1;
_local2 = (l_oPt1.y - l_oPt2.y) * -1;
_local3 = Math.atan2(_local2, _local1);
return(_local3);
}
}
Symbol 1913 MovieClip [__Packages.sarbakan.visual.PauseManager] Frame 0
class sarbakan.visual.PauseManager extends MovieClip
{
static var oPausableList, bPaused;
var _parent, _visible, swapDepths, removeMovieClip;
function PauseManager () {
super();
if (!oPausableList) {
reset();
}
register(_parent);
_visible = false;
swapDepths(999999);
removeMovieClip();
bPaused = false;
}
static function register(l_mc) {
oPausableList[l_mc] = l_mc;
l_mc.onUnload = function () {
sarbakan.visual.PauseManager.remove(this);
};
}
static function remove(l_mc) {
delete oPausableList[l_mc];
}
static function reset() {
oPausableList = {};
}
static function pause() {
for (var _local1 in oPausableList) {
oPausableList[_local1].stop();
}
bPaused = true;
}
static function unpause() {
for (var _local1 in oPausableList) {
oPausableList[_local1].play();
}
bPaused = false;
}
}
Symbol 1914 MovieClip [__Packages.helpers.ScrollerEventManager] Frame 0
class helpers.ScrollerEventManager
{
static var oInstance;
var aEvents, fListener, oNextEvent;
function ScrollerEventManager (l_fListener) {
oInstance = this;
aEvents = [];
fListener = l_fListener;
}
static function getInstance() {
return(oInstance);
}
function register(l_nPosX, l_sEvent) {
aEvents.push({posX:Math.round(l_nPosX), event:l_sEvent});
aEvents.sortOn("posX", Array.NUMERIC);
}
function update(l_nPlayerX) {
if (!oNextEvent) {
oNextEvent = aEvents.shift();
}
if (l_nPlayerX >= oNextEvent.posX) {
fListener(oNextEvent.event);
oNextEvent = aEvents.shift();
}
}
}
Symbol 1915 MovieClip [__Packages.sarbakan.visual.activation.NoActivation] Frame 0
class sarbakan.visual.activation.NoActivation extends sarbakan.visual.activation.ActivationManager
{
var aDynamicElements;
function NoActivation () {
super();
aDynamicElements = [];
}
function addDynamicElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
l_oElement.enable();
aDynamicElements.push(l_oElement);
}
function addAlwaysActiveElement(l_oElement) {
l_oElement.enable();
aDynamicElements.push(l_oElement);
}
function removeDynamicElement(l_oElement) {
for (var _local3 in aDynamicElements) {
if (aDynamicElements[_local3] == l_oElement) {
aDynamicElements.splice(_local3, 1);
break;
}
}
}
function addStaticElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
l_oElement._visible = true;
}
function getActiveElements() {
return(aDynamicElements);
}
}
Symbol 1916 MovieClip [__Packages.sarbakan.visual.activation.GridActivation] Frame 0
class sarbakan.visual.activation.GridActivation extends sarbakan.visual.activation.ActivationManager
{
var nZoneWidth, nZoneHeight, oDynamicElementsZone, oAlwaysActive, oStaticElementsZone, oCurrentZone, nCurrentX, nCurrentY, aVisibleZones;
function GridActivation () {
super();
}
function init(l_nZoneWidth, l_nZoneHeight) {
super.init();
nZoneWidth = l_nZoneWidth;
nZoneHeight = l_nZoneHeight;
oDynamicElementsZone = [];
oAlwaysActive = [];
oStaticElementsZone = [];
oCurrentZone = {};
oCurrentZone = {x:-999999, y:-999999};
}
function getActiveElements() {
var _local3 = [];
_local3 = _local3.concat(oAlwaysActive);
var _local2 = getSurroundingZones(oCurrentZone);
_local2.push(oCurrentZone);
for (var _local4 in _local2) {
_local3 = _local3.concat(oDynamicElementsZone[_local2[_local4].x][_local2[_local4].y]);
}
return(_local3);
}
function addDynamicElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
addToActivationZones(oDynamicElementsZone, l_oElement, l_nX, l_nY, l_nWidth, l_nHeight);
}
function removeDynamicElement(l_oElement) {
for (var _local5 in oDynamicElementsZone) {
for (var _local4 in oDynamicElementsZone[_local5]) {
if (oDynamicElementsZone[_local5][_local4]) {
for (var _local3 in oDynamicElementsZone[_local5][_local4]) {
if (oDynamicElementsZone[_local5][_local4][_local3]) {
if (l_oElement == oDynamicElementsZone[_local5][_local4][_local3]) {
delete oDynamicElementsZone[_local5][_local4][_local3];
}
}
}
}
}
}
}
function addStaticElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
addToActivationZones(oStaticElementsZone, l_oElement, l_nX, l_nY, l_nWidth, l_nHeight);
}
function removeStaticElement(l_oElement) {
}
function addAlwaysActiveElement(l_oElement) {
oAlwaysActive.push(l_oElement);
}
function updateActivation(l_nX, l_nY) {
nCurrentX = l_nX;
nCurrentY = l_nY;
var _local5 = getCurrentZone();
var _local3 = getSurroundingZones(_local5);
_local3.push(_local5);
if (((_local5.x != oCurrentZone.x) || (_local5.y != oCurrentZone.y)) || (zoneChanged(_local3))) {
var _local2 = getSurroundingZones(oCurrentZone);
_local2.push(oCurrentZone);
for (var _local6 in _local2) {
for (var _local4 in _local3) {
if (_local3[_local4] != _local2[_local6]) {
disableDynamicZone(_local2[_local6].x, _local2[_local6].y);
disableStaticZone(_local2[_local6].x, _local2[_local6].y);
}
}
}
for (var _local6 in _local3) {
enableDynamicZone(_local3[_local6].x, _local3[_local6].y);
enableStaticZone(_local3[_local6].x, _local3[_local6].y);
}
}
getVisibleZones(_local5);
oCurrentZone = _local5;
aVisibleZones = _local3;
}
function addToActivationZones(l_aZoneTable, l_oElementToRegister, l_nPosX, l_nPosY, l_nWidth, l_nHeight) {
var _local8;
var _local7;
_local8 = l_nWidth / nZoneWidth;
if (_local8 < 1) {
_local8 = 1;
}
_local8 = Math.round(_local8);
_local7 = l_nHeight / nZoneHeight;
if (_local7 < 1) {
_local7 = 1;
}
_local7 = Math.round(_local7);
addToZone(l_aZoneTable, l_oElementToRegister, l_nPosX, l_nPosY);
var _local2 = 1;
while (_local2 <= _local8) {
addToZone(l_aZoneTable, l_oElementToRegister, l_nPosX + (nZoneWidth * _local2), l_nPosY);
_local2++;
}
_local2 = 1;
while (_local2 <= _local7) {
addToZone(l_aZoneTable, l_oElementToRegister, l_nPosX, l_nPosY + (nZoneHeight * _local2));
_local2++;
}
}
function addToZone(l_aZoneTable, l_oElementToRegister, l_nPosX, l_nPosY) {
var _local2 = getZone(l_nPosX, l_nPosY);
if (!l_aZoneTable[_local2.x]) {
l_aZoneTable[_local2.x] = [];
}
if (!l_aZoneTable[_local2.x][_local2.y]) {
l_aZoneTable[_local2.x][_local2.y] = [];
}
l_aZoneTable[_local2.x][_local2.y].push(l_oElementToRegister);
}
function getZone(l_nPosX, l_nPosY) {
var _local3 = Math.floor(l_nPosX / nZoneWidth) * nZoneWidth;
var _local2 = Math.floor(l_nPosY / nZoneHeight) * nZoneHeight;
return({x:_local3, y:_local2});
}
function getSurroundingZones(l_oZone) {
var _local3 = [];
_local3.push({x:l_oZone.x - nZoneWidth, y:l_oZone.y - nZoneHeight});
_local3.push({x:l_oZone.x, y:l_oZone.y - nZoneHeight});
_local3.push({x:l_oZone.x + nZoneWidth, y:l_oZone.y - nZoneHeight});
_local3.push({x:l_oZone.x - nZoneWidth, y:l_oZone.y});
_local3.push({x:l_oZone.x + nZoneWidth, y:l_oZone.y});
_local3.push({x:l_oZone.x - nZoneWidth, y:l_oZone.y + nZoneHeight});
_local3.push({x:l_oZone.x, y:l_oZone.y + nZoneHeight});
_local3.push({x:l_oZone.x + nZoneWidth, y:l_oZone.y + nZoneHeight});
return(_local3);
}
function getVisibleZones(l_oZone) {
var _local3 = [];
var _local5 = Math.abs(Math.floor(nCurrentX / nZoneWidth) - (nCurrentX / nZoneWidth));
var _local4 = Math.abs(Math.floor(nCurrentY / nZoneHeight) - (nCurrentY / nZoneHeight));
if (_local5 < 0.5) {
_local3.push({x:l_oZone.x - nZoneWidth, y:l_oZone.y});
if (_local4 < 0.5) {
_local3.push({x:l_oZone.x - nZoneWidth, y:l_oZone.y - nZoneHeight});
}
if (_local4 > 0.5) {
_local3.push({x:l_oZone.x - nZoneWidth, y:l_oZone.y + nZoneHeight});
}
} else if (_local5 > 0.5) {
_local3.push({x:l_oZone.x + nZoneWidth, y:l_oZone.y});
if (_local4 < 0.5) {
_local3.push({x:l_oZone.x + nZoneWidth, y:l_oZone.y - nZoneHeight});
}
if (_local4 > 0.5) {
_local3.push({x:l_oZone.x + nZoneWidth, y:l_oZone.y + nZoneHeight});
}
}
if (_local4 < 0.5) {
_local3.push({x:l_oZone.x, y:l_oZone.y - nZoneHeight});
}
if (_local4 > 0.5) {
_local3.push({x:l_oZone.x, y:l_oZone.y + nZoneHeight});
}
return(_local3);
}
function getCurrentZone() {
return(getZone(nCurrentX, nCurrentY));
}
function zoneChanged(l_oVisibleZones) {
for (var _local3 in aVisibleZones) {
if ((aVisibleZones[_local3].x != l_oVisibleZones[_local3].x) || (aVisibleZones[_local3].y != l_oVisibleZones[_local3].y)) {
return(true);
}
}
return(false);
}
function enableDynamicZone(l_nZoneX, l_nZoneY) {
for (var _local4 in oDynamicElementsZone[l_nZoneX][l_nZoneY]) {
if (!oDynamicElementsZone[l_nZoneX][l_nZoneY][_local4].isActive()) {
oDynamicElementsZone[l_nZoneX][l_nZoneY][_local4].enable();
}
}
}
function disableDynamicZone(l_nZoneX, l_nZoneY) {
for (var _local4 in oDynamicElementsZone[l_nZoneX][l_nZoneY]) {
if (oDynamicElementsZone[l_nZoneX][l_nZoneY][_local4].isActive()) {
oDynamicElementsZone[l_nZoneX][l_nZoneY][_local4].disable();
}
}
}
function enableStaticZone(l_nZoneX, l_nZoneY) {
for (var _local4 in oStaticElementsZone[l_nZoneX][l_nZoneY]) {
if (!oStaticElementsZone[l_nZoneX][l_nZoneY][_local4].isActive()) {
oStaticElementsZone[l_nZoneX][l_nZoneY][_local4]._visible = true;
}
}
}
function disableStaticZone(l_nZoneX, l_nZoneY) {
for (var _local4 in oStaticElementsZone[l_nZoneX][l_nZoneY]) {
if (oStaticElementsZone[l_nZoneX][l_nZoneY][_local4].isActive()) {
oStaticElementsZone[l_nZoneX][l_nZoneY][_local4]._visible = false;
}
}
}
}
Symbol 1917 MovieClip [__Packages.elements.sidescroller.Screen] Frame 0
class elements.sidescroller.Screen extends sarbakan.visual.element.StaticElement
{
var mc;
function Screen (l_oLayer, l_oCollisionMap, l_sID, l_nFloorNumber) {
super("screen" + sarbakan.visual.element.BaseElement.getNextID());
var _local3 = l_oLayer.mc;
mc = _local3.attachMovie(l_sID, "screen" + sarbakan.visual.element.BaseElement.nNextID, data.GameData.DEPTH_SCREEN + sarbakan.visual.element.BaseElement.nNextID);
mc._x = l_nFloorNumber * data.GameData.SCREEN_WIDTH;
l_oCollisionMap.attachMC(l_sID + "_collisions", mc._x + mc.mcCollisions._x, mc.mcCollisions._y);
mc.mcCollisions.swapDepths(1000500);
mc.mcCollisions.removeMovieClip();
}
}
Symbol 1918 MovieClip [__Packages.sequences.MiniGame1] Frame 0
class sequences.MiniGame1 implements sequences.Sequence
{
var mc, oView, oLayerBackground, oLayerLevel, oEventHandler, oBackground, oUniqua, oUniquaArm, oUniquaLaser, oSpawnPoint, oHoles, aHoleArray, iUniquaArmGlobalX, iUniquaArmGlobalY, bGameStarted, bAllDone, bCanFire, bMouseBtnPressed, bMouseOutOfRange, oMouseListener, iCurDelayBeforeClosingLaser, iCurDelayAfterLaserClosed, iCurBubbleIndex, aBubbleArray, aBubbleToRemoveArray, oTyrone, nInstrucTimer, iXMouse, iYMouse;
function MiniGame1 (l_nDifficultyLevel, l_oEventHandler) {
mc = Controller.getContainer();
oView = new sarbakan.visual.layer.LayerManager(data.GameData.SCREEN_WIDTH, data.GameData.SCREEN_HEIGHT, data.GameData.SCREEN_WIDTH, data.GameData.SCREEN_HEIGHT);
mc.createEmptyMovieClip("mcBackground", data.GameData.SIDESCROLLER_DEPTH_BACKGROUND);
oLayerBackground = new sarbakan.visual.layer.Layer(mc.mcBackground, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerBackground, 1, 1);
mc.createEmptyMovieClip("mcLevel", data.GameData.SIDESCROLLER_DEPTH_LEVEL);
oLayerLevel = new sarbakan.visual.layer.Layer(mc.mcLevel, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerLevel, 1, 1);
oEventHandler = l_oEventHandler;
oEventHandler.setDifficulty(l_nDifficultyLevel);
sarbakan.sound.VoiceOverManager.setListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onVoiceDone));
oBackground = mc.mcBackground.attachMovie("mg1_bg", "bg", mc.mcBackground.getNextHighestDepth());
oUniqua = oBackground.mc_Uniqua;
oUniquaArm = oUniqua.Uniqua_Arm;
oUniquaLaser = oUniquaArm.Uniqua_Laser;
oSpawnPoint = oBackground.mcSpawnPoint;
oHoles = oBackground.mcHoles;
switch (l_nDifficultyLevel) {
case 0 :
oHoles.gotoAndStop(1);
aHoleArray = new Array();
aHoleArray[0] = new Array();
aHoleArray[0][0] = oHoles.mcHole0;
aHoleArray[0][1] = "S";
aHoleArray[0][2] = false;
aHoleArray[0][3] = 0;
aHoleArray[1] = new Array();
aHoleArray[1][0] = oHoles.mcHole1;
aHoleArray[1][1] = "S";
aHoleArray[1][2] = false;
aHoleArray[1][3] = 0;
break;
case 1 :
oHoles.gotoAndStop(2);
aHoleArray = new Array();
aHoleArray[0] = new Array();
aHoleArray[0][0] = oHoles.mcHole0;
aHoleArray[0][1] = "S";
aHoleArray[0][2] = false;
aHoleArray[0][3] = 0;
aHoleArray[1] = new Array();
aHoleArray[1][0] = oHoles.mcHole1;
aHoleArray[1][1] = "M";
aHoleArray[1][2] = false;
aHoleArray[1][3] = 0;
aHoleArray[2] = new Array();
aHoleArray[2][0] = oHoles.mcHole2;
aHoleArray[2][1] = "M";
aHoleArray[2][2] = false;
aHoleArray[2][3] = 0;
break;
case 2 :
oHoles.gotoAndStop(3);
aHoleArray = new Array();
aHoleArray[0] = new Array();
aHoleArray[0][0] = oHoles.mcHole0;
aHoleArray[0][1] = "M";
aHoleArray[0][2] = false;
aHoleArray[0][3] = 0;
aHoleArray[1] = new Array();
aHoleArray[1][0] = oHoles.mcHole1;
aHoleArray[1][1] = "M";
aHoleArray[1][2] = false;
aHoleArray[1][3] = 0;
aHoleArray[2] = new Array();
aHoleArray[2][0] = oHoles.mcHole2;
aHoleArray[2][1] = "M";
aHoleArray[2][2] = false;
aHoleArray[2][3] = 0;
}
var _local2 = new Object();
_local2.x = 0;
_local2.y = 0;
_local2.x = oUniquaArm._x;
_local2.y = oUniquaArm._y;
oUniqua.localToGlobal(_local2);
iUniquaArmGlobalX = _local2.x;
iUniquaArmGlobalY = _local2.y;
bGameStarted = false;
bAllDone = false;
bCanFire = true;
bMouseBtnPressed = false;
bMouseOutOfRange = false;
oMouseListener.bPress = false;
oMouseListener = new Object();
oMouseListener.owner = this;
oBackground.Hit.useHandCursor = false;
oBackground.Hit.onPress = sarbakan.utils.Delegate.create(this, FakePress);
oBackground.Hit.onRelease = sarbakan.utils.Delegate.create(this, FakeRelease);
oBackground.Hit.onReleaseOutside = sarbakan.utils.Delegate.create(this, FakeRelease);
Mouse.addListener(oMouseListener);
iCurDelayBeforeClosingLaser = -1;
iCurDelayAfterLaserClosed = -1;
iCurBubbleIndex = 0;
aBubbleArray = new Array();
aBubbleToRemoveArray = new Array();
oTyrone = new elements.Tyrone(mc._parent.mcTyrone);
oLayerLevel.addDynamicElement(oTyrone);
sarbakan.utils.ActionSequencer.init();
sarbakan.utils.ActionSequencer.addListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onActionSequenceDone));
sarbakan.utils.ActionSequencer.queue("miniGamePop", oTyrone, "alreadyInscreen", 0);
RotateArm();
nInstrucTimer = 0;
}
function FakeRelease() {
oMouseListener.bPress = false;
nInstrucTimer = 0;
}
function FakePress() {
oMouseListener.bPress = true;
nInstrucTimer = 0;
}
function init() {
oEventHandler.init();
}
function update() {
oView.update();
sarbakan.utils.ActionSequencer.update();
if ((!bAllDone) && (bGameStarted)) {
nInstrucTimer++;
if (nInstrucTimer >= INSTRUC_TIMEOUT) {
sarbakan.utils.ActionSequencer.queue("repeatPop", oTyrone, "popIn", 0);
nInstrucTimer = 0;
}
RotateArm();
if (!bCanFire) {
UpdateLaser();
}
if (oMouseListener.bPress) {
if (!bMouseBtnPressed) {
if (bCanFire) {
bMouseBtnPressed = true;
SetLaser();
}
}
} else if (bMouseBtnPressed) {
if (iCurDelayBeforeClosingLaser == -1) {
bMouseBtnPressed = false;
StopLaser();
}
if (!bMouseBtnPressed) {
}
}
AdjustDelay();
}
MoveBubbles();
RemoveBubbles();
}
function destroy() {
Mouse.removeListener(oMouseListener);
oView.destroy();
}
function CreateBubble(l_posRef, l_scale) {
var _local3;
iCurBubbleIndex++;
var _local2 = new Object();
_local2.x = 0;
_local2.y = 0;
_local2.x = l_posRef._x;
_local2.y = l_posRef._y;
l_posRef._parent.localToGlobal(_local2);
duplicateMovieClip (oBackground.mcBubble, "mcBubble" + iCurBubbleIndex, iCurBubbleIndex + BUBBLES_START_DEPTH);
_local3 = oBackground["mcBubble" + iCurBubbleIndex];
_local3._xscale = (_local3._yscale = l_scale);
_local3._x = _local2.x;
_local3._y = _local2.y;
_local3._visible = true;
aBubbleArray.push(_local3);
}
function GlowHoles() {
oBackground.play();
}
function StartGame() {
bGameStarted = true;
GlowHoles();
}
function RotateArm() {
var _local2;
iXMouse = oBackground._xmouse;
iYMouse = oBackground._ymouse;
if (iYMouse > MIN_YMOUSE_TO_FIRE) {
_local2 = true;
iYMouse = MIN_YMOUSE_TO_FIRE;
}
if (iXMouse < MIN_XMOUSE_TO_FIRE) {
_local2 = true;
iXMouse = MIN_XMOUSE_TO_FIRE;
}
if (iYMouse < MAX_YMOUSE_TO_FIRE) {
_local2 = true;
iYMouse = MAX_YMOUSE_TO_FIRE;
}
if (iXMouse > MAX_XMOUSE_TO_FIRE) {
_local2 = true;
iXMouse = MAX_XMOUSE_TO_FIRE;
}
var _local4 = iUniquaArmGlobalY - iYMouse;
var _local5 = Math.sqrt(Math.pow(iYMouse - iUniquaArmGlobalY, 2) + Math.pow(iXMouse - iUniquaArmGlobalX, 2));
var _local3 = (Math.acos(_local4 / _local5) * 180) / 3.1416;
_local2 = false;
if (iXMouse < iUniquaArmGlobalX) {
_local3 = 360 - _local3;
}
if (_local2) {
bMouseOutOfRange = true;
oUniquaArm._rotation = _local3;
} else {
oUniquaArm._rotation = _local3;
bMouseOutOfRange = false;
}
}
function SetLaser() {
sarbakan.sound.SoundManager.play("MoleculStart.wav", 50, 1, true);
bCanFire = false;
var _local3 = iUniquaArmGlobalY - iYMouse;
var _local2 = Math.sqrt(Math.pow(iYMouse - iUniquaArmGlobalY, 2) + Math.pow(iXMouse - iUniquaArmGlobalX, 2));
oUniquaLaser._xscale = (_local2 / LASER_START_LENGTH) * 100;
oUniquaLaser.play();
SetBubbleSpawnPoint(iXMouse, iYMouse);
iCurDelayBeforeClosingLaser = MIN_DELAY_BEFORE_CLOSING_LASER;
}
function UpdateLaser() {
var _local3 = iUniquaArmGlobalY - iYMouse;
var _local2 = Math.sqrt(Math.pow(iYMouse - iUniquaArmGlobalY, 2) + Math.pow(iXMouse - iUniquaArmGlobalX, 2));
oUniquaLaser._xscale = (_local2 / LASER_START_LENGTH) * 100;
UpdateBubbleSpawnPoint(iXMouse, iYMouse);
}
function AdjustDelay() {
if (iCurDelayBeforeClosingLaser != -1) {
iCurDelayBeforeClosingLaser--;
if (iCurDelayBeforeClosingLaser == 0) {
iCurDelayBeforeClosingLaser = -1;
}
}
if (iCurDelayAfterLaserClosed != -1) {
iCurDelayAfterLaserClosed--;
if (iCurDelayAfterLaserClosed == 0) {
bCanFire = true;
iCurDelayAfterLaserClosed = -1;
}
}
}
function StopLaser() {
oUniquaLaser.play();
StopBubbleSpawnPoint();
iCurDelayAfterLaserClosed = MIN_DELAY_AFTER_LASER_CLOSED;
}
function SetBubbleSpawnPoint(p_XPos, p_YPos) {
oSpawnPoint._x = p_XPos;
oSpawnPoint._y = p_YPos;
oSpawnPoint._visible = true;
oSpawnPoint.play();
}
function UpdateBubbleSpawnPoint(p_XPos, p_YPos) {
oSpawnPoint._x = p_XPos;
oSpawnPoint._y = p_YPos;
}
function StopBubbleSpawnPoint() {
oSpawnPoint.play();
}
function MoveBubbles() {
var _local2 = 0;
while (_local2 < aBubbleArray.length) {
aBubbleArray[_local2]._y = aBubbleArray[_local2]._y + BUBBLES_SPEED;
CheckBubbleColls(aBubbleArray[_local2]);
_local2++;
}
}
function CheckBubbleColls(p_BubbleRef) {
nInstrucTimer = 0;
var _local4;
_local4 = p_BubbleRef._y + (p_BubbleRef._height / 2);
if (_local4 > FLOOR_Y_POS) {
var _local5 = false;
var _local2 = 0;
while (_local2 < aHoleArray.length) {
if (!aHoleArray[_local2][2]) {
if (aHoleArray[_local2][0].hitTest(p_BubbleRef._x, _local4, true)) {
_local5 = true;
if (_local4 >= HOLE_MIDDLE_Y_POS) {
p_BubbleRef._name = "mcBubbleToDelete";
aBubbleToRemoveArray.push(p_BubbleRef);
AddBubbleInHole(_local2);
}
}
}
_local2++;
}
if (!_local5) {
p_BubbleRef.gotoAndStop(2);
aBubbleToRemoveArray.push(p_BubbleRef);
}
}
}
function RemoveBubbles() {
if (aBubbleToRemoveArray.length > 0) {
var _local4 = false;
var _local5 = new Array();
var _local3 = 0;
while (_local3 < aBubbleArray.length) {
_local4 = false;
var _local2 = 0;
while (_local2 < aBubbleToRemoveArray.length) {
if (aBubbleToRemoveArray[_local2]._name == aBubbleArray[_local3]._name) {
if (aBubbleToRemoveArray[_local2]._name == "mcBubbleToDelete") {
aBubbleToRemoveArray[_local2].removeMovieClip();
}
_local4 = true;
}
_local2++;
}
if (!_local4) {
_local5.push(aBubbleArray[_local3]);
}
_local3++;
}
aBubbleArray = new Array();
_local3 = 0;
while (_local3 < _local5.length) {
aBubbleArray.push(_local5[_local3]);
_local3++;
}
}
}
function AddBubbleInHole(l_iIndex) {
aHoleArray[l_iIndex][3]++;
var _local2 = 0;
switch (aHoleArray[l_iIndex][1]) {
case "S" :
_local2 = aHoleArray[l_iIndex][3];
if (_local2 > NB_BUBBLE_HOLE_FRAMES_S) {
_local2 = NB_BUBBLE_HOLE_FRAMES_S;
} else {
sarbakan.sound.SoundManager.play(("squeak-" + (random(6) + 1)) + ".wav", 50, 1, true);
}
if (_local2 < 2) {
_local2 = 2;
}
aHoleArray[l_iIndex][0].gotoAndStop(_local2);
if (aHoleArray[l_iIndex][3] >= NB_BUBBLE_TO_FILL_S) {
aHoleArray[l_iIndex][2] = true;
}
break;
case "M" :
_local2 = aHoleArray[l_iIndex][3];
if (_local2 > NB_BUBBLE_HOLE_FRAMES_M) {
_local2 = NB_BUBBLE_HOLE_FRAMES_M;
} else {
sarbakan.sound.SoundManager.play(("squeak-" + (random(6) + 1)) + ".wav", 50, 1, true);
}
if (_local2 < 2) {
_local2 = 2;
}
aHoleArray[l_iIndex][0].gotoAndStop(_local2);
if (aHoleArray[l_iIndex][3] >= NB_BUBBLE_TO_FILL_M) {
aHoleArray[l_iIndex][2] = true;
}
break;
case "L" :
_local2 = aHoleArray[l_iIndex][3];
if (_local2 > NB_BUBBLE_HOLE_FRAMES_L) {
_local2 = NB_BUBBLE_HOLE_FRAMES_L;
} else {
sarbakan.sound.SoundManager.play(("squeak-" + (random(6) + 1)) + ".wav", 50, 1, true);
}
if (_local2 < 2) {
_local2 = 2;
}
aHoleArray[l_iIndex][0].gotoAndStop(_local2);
if (aHoleArray[l_iIndex][3] < NB_BUBBLE_TO_FILL_L) {
break;
}
aHoleArray[l_iIndex][2] = true;
}
CheckEndOfGame();
}
function CheckEndOfGame() {
var _local3 = true;
var _local2 = 0;
while (_local2 < aHoleArray.length) {
if (!aHoleArray[_local2][2]) {
_local3 = false;
}
_local2++;
}
if (_local3) {
EndGame();
}
}
function EndGame() {
StopLaser();
bAllDone = true;
sarbakan.sound.VoiceOverManager.clearAll();
oEventHandler.onActionSequenceDone("endOfGame");
}
var INSTRUC_TIMEOUT = 900;
static var MAX_ARM_ROTATION = 90;
static var MIN_ARM_ROTATION = 29;
static var MIN_XMOUSE_TO_FIRE = 130;
static var MIN_YMOUSE_TO_FIRE = 200;
static var MAX_XMOUSE_TO_FIRE = 575;
static var MAX_YMOUSE_TO_FIRE = 23;
static var LASER_START_LENGTH = 10;
static var MIN_DELAY_BEFORE_CLOSING_LASER = 6;
static var MIN_DELAY_AFTER_LASER_CLOSED = 10;
static var BUBBLES_START_DEPTH = 1000;
static var BUBBLES_SPEED = 14;
static var FLOOR_Y_POS = 250;
static var HOLE_MIDDLE_Y_POS = 270;
static var NB_BUBBLE_HOLE_FRAMES_S = 17;
static var NB_BUBBLE_HOLE_FRAMES_M = 28;
static var NB_BUBBLE_HOLE_FRAMES_L = 42;
static var NB_BUBBLE_TO_FILL_S = 17;
static var NB_BUBBLE_TO_FILL_M = 28;
static var NB_BUBBLE_TO_FILL_L = 42;
}
Symbol 1919 MovieClip [__Packages.sequences.MiniGame2] Frame 0
class sequences.MiniGame2 implements sequences.Sequence
{
var mc, oView, oLayerBackground, oLayerLevel, oEventHandler, oEvents, oBackgroundRef, oPablo, oRockPile, bGameStarted, bMouseBtnPressed, oMouseListener, oTyrone, nNbRocks, nInstrucTimer, oRockInAction, aRocksArray;
function MiniGame2 (l_nDifficultyLevel, l_oEventHandler) {
mc = Controller.getContainer();
oView = new sarbakan.visual.layer.LayerManager(data.GameData.SCREEN_WIDTH, data.GameData.SCREEN_HEIGHT, data.GameData.SCREEN_WIDTH, data.GameData.SCREEN_HEIGHT);
mc.createEmptyMovieClip("mcBackground", data.GameData.SIDESCROLLER_DEPTH_BACKGROUND);
oLayerBackground = new sarbakan.visual.layer.Layer(mc.mcBackground, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerBackground, 1, 1);
mc.createEmptyMovieClip("mcLevel", data.GameData.SIDESCROLLER_DEPTH_LEVEL);
oLayerLevel = new sarbakan.visual.layer.Layer(mc.mcLevel, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerLevel, 1, 1);
oEventHandler = l_oEventHandler;
oEventHandler.setDifficulty(l_nDifficultyLevel);
oEvents = new helpers.ScrollerEventManager(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onScrollerEvent));
sarbakan.sound.VoiceOverManager.setListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onVoiceDone));
sarbakan.utils.ActionSequencer.init();
sarbakan.utils.ActionSequencer.addListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onActionSequenceDone));
oBackgroundRef = mc.mcBackground.attachMovie("mg2_bg", "bg", mc.mcBackground.getNextHighestDepth());
oPablo = oBackgroundRef.mcPablo;
oPablo.gotoAndStop("Idle");
oRockPile = oBackgroundRef.mcRockPile;
bGameStarted = false;
bMouseBtnPressed = false;
oMouseListener.bPress = false;
oMouseListener = new Object();
oMouseListener.onMouseDown = function () {
this.bPress = true;
};
oMouseListener.onMouseUp = function () {
this.bPress = false;
};
Mouse.addListener(oMouseListener);
oTyrone = new elements.Tyrone(mc._parent.mcTyrone);
oLayerLevel.addDynamicElement(oTyrone);
sarbakan.utils.ActionSequencer.queue("miniGamePop", oTyrone, "alreadyInscreen", 0);
switch (l_nDifficultyLevel) {
case 0 :
oRockPile.gotoAndStop("Easy");
break;
case 1 :
oRockPile.gotoAndStop("Medium");
break;
case 2 :
oRockPile.gotoAndStop("Hard");
}
nNbRocks = 0;
nInstrucTimer = 0;
oRockInAction = null;
}
function init() {
oEventHandler.init();
}
function createBlock(_mcRock, _nColumn, _nRow) {
if (aRocksArray == undefined) {
aRocksArray = new Array();
var _local3 = 0;
while (_local3 < 4) {
aRocksArray[_local3] = new Array();
var _local2 = 0;
while (_local2 < 3) {
aRocksArray[_local3][_local2] = null;
_local2++;
}
_local3++;
}
}
if (aRocksArray[_nColumn][_nRow] == null) {
if (_nRow == 0) {
_mcRock.gotoAndStop("Half");
}
aRocksArray[_nColumn][_nRow] = new elements.MiniGame2.Rock(_mcRock);
oLayerLevel.addDynamicElement(aRocksArray[_nColumn][_nRow]);
nNbRocks++;
}
}
function rockClicked(_oRock) {
nInstrucTimer = 0;
if ((oRockInAction == null) && (bGameStarted)) {
oRockInAction = _oRock;
var _local3 = getRockCoord(oRockInAction);
oRockInAction.setState("explode");
var _local4 = new String();
var _local2 = _local3.y + 1;
while (_local2 < aRocksArray[_local3.x].length) {
if (aRocksArray[_local3.x][_local2].getName() != oRockInAction.getName()) {
_local4 = "shake" + (Math.floor(Math.random() * 2) + 1);
aRocksArray[_local3.x][_local2].setState(_local4);
}
_local2++;
}
}
}
function update() {
oView.update();
sarbakan.utils.ActionSequencer.update();
if (bGameStarted) {
nInstrucTimer++;
if (nInstrucTimer >= INSTRUC_TIMEOUT) {
sarbakan.utils.ActionSequencer.queue("repeatPop", oTyrone, "popIn", 0);
nInstrucTimer = 0;
bGameStarted = false;
}
if (oRockInAction != null) {
switch (oRockInAction.getState()) {
case "explode" :
if (oRockInAction.stateFinished()) {
oRockInAction.setState("nv");
var _local2 = getRockCoord(oRockInAction);
var _local3 = _local2.y + 1;
while (_local3 < aRocksArray[_local2.x].length) {
if (aRocksArray[_local2.x][_local3].getName() != oRockInAction.getName()) {
aRocksArray[_local2.x][_local3].startCollapse();
}
_local3++;
}
}
break;
case "nv" :
var _local2 = getRockCoord(oRockInAction);
var _local4 = true;
var _local3 = _local2.y + 1;
while (_local3 < aRocksArray[_local2.x].length) {
if (aRocksArray[_local2.x][_local3].getName() != oRockInAction.getName()) {
if (aRocksArray[_local2.x][_local3].bIsMoving) {
_local4 = false;
_local3 = aRocksArray[_local2.x].length;
}
}
_local3++;
}
if (!_local4) {
break;
}
oRockInAction.deleteMe();
nNbRocks--;
if (nNbRocks == 0) {
EndGame();
} else {
oRockInAction = null;
_local3 = _local2.y;
while (_local3 < aRocksArray[_local2.x].length) {
aRocksArray[_local2.x][_local3] = aRocksArray[_local2.x][_local3 + 1];
_local3++;
}
if (_local2.y != 0) {
break;
}
aRocksArray[_local2.x][0].setState("splashInWater");
}
}
}
if (nNbRocks > 0) {
if (oMouseListener.bPress) {
if (!bMouseBtnPressed) {
bMouseBtnPressed = true;
oPablo.gotoAndStop("Click");
}
} else if (bMouseBtnPressed) {
sarbakan.sound.SoundManager.play("remote_click.wav", 40, 1);
bMouseBtnPressed = false;
}
}
}
}
function destroy() {
oView.destroy();
}
function GlowRocks() {
oBackgroundRef.play();
}
function StartGame() {
bGameStarted = true;
}
function getRockColumn(_oRock) {
var _local4 = null;
var _local2 = 0;
while (_local2 < aRocksArray.length) {
var _local3 = 0;
while (_local3 < aRocksArray[_local2].length) {
if (aRocksArray[_local2][_local3].getName() == _oRock.getName()) {
_local4 = _local2;
_local3 = aRocksArray[_local2].length;
_local2 = aRocksArray.length;
}
_local3++;
}
_local2++;
}
return(_local4);
}
function getRockCoord(_oRock) {
var _local4 = new Object();
var _local3 = 0;
while (_local3 < aRocksArray.length) {
var _local2 = 0;
while (_local2 < aRocksArray[_local3].length) {
if (aRocksArray[_local3][_local2].getName() == _oRock.getName()) {
_local4.x = _local3;
_local4.y = _local2;
_local2 = aRocksArray[_local3].length;
_local3 = aRocksArray.length;
}
_local2++;
}
_local3++;
}
return(_local4);
}
function EndGame() {
oPablo.gotoAndStop("Idle");
sarbakan.sound.VoiceOverManager.clearAll();
oEventHandler.onActionSequenceDone("endOfGame");
}
var INSTRUC_TIMEOUT = 900;
}
Symbol 1920 MovieClip [__Packages.elements.MiniGame2.Rock] Frame 0
class elements.MiniGame2.Rock extends sarbakan.visual.element.DynamicElement
{
var setMC, oCtrl, nNextPos, bIsMoving, mc, getGlobalPos, setState, sNextState, sState, sStateAnimPrefix, remove;
function Rock (_mcRef) {
super(_mcRef._name);
setMC(_mcRef);
oCtrl = Controller.getInstance().oCurrentSequence;
nNextPos = null;
bIsMoving = false;
mc.onRelease = sarbakan.utils.Delegate.create(this, onUserClick);
mc.useHandCursor = false;
}
function getName() {
return(mc._name);
}
function stateStarting() {
return(mc.Obj.State._currentframe == 1);
}
function stateFinished() {
return(mc.Obj.State._currentframe == mc.Obj.State._totalframes);
}
function stateCurrentFrame() {
return(mc.Obj.State._currentframe);
}
function startCollapse() {
if (nNextPos == null) {
nNextPos = getGlobalPos(mc).y;
}
nNextPos = nNextPos + mc._height;
bIsMoving = true;
setState("collapse");
}
function isMoving() {
return(bIsMoving);
}
function onUserClick() {
oCtrl.rockClicked(this);
}
function updateState() {
if (sNextState != undefined) {
sState = sNextState;
sNextState = undefined;
mc.Obj.gotoAndStop(String(sStateAnimPrefix + sState));
}
this[sState]();
}
function deleteMe() {
mc.swapDepths(666);
mc.removeMovieClip();
remove();
}
function collapse() {
if ((getGlobalPos(mc).y + COLLAPSE_SPEED) > nNextPos) {
mc._y = mc._y + ((getGlobalPos(mc).y + COLLAPSE_SPEED) - nNextPos);
bIsMoving = false;
setState("idle");
} else {
mc._y = mc._y + COLLAPSE_SPEED;
}
}
function splashInWater() {
if (stateStarting()) {
sarbakan.sound.SoundManager.play("rock_splash.wav", 70, 1);
} else if (stateFinished()) {
mc.gotoAndStop("Half");
setState("idle");
}
}
function explode() {
if (stateStarting()) {
if (mc._currentframe != 1) {
sarbakan.sound.SoundManager.play("rock_splash.wav", 70, 1);
}
sarbakan.sound.SoundManager.play("rock_explosion.wav", 70, 1);
}
}
var COLLAPSE_SPEED = 5;
}
Symbol 1921 MovieClip [__Packages.sequences.MiniGame3] Frame 0
class sequences.MiniGame3 implements sequences.Sequence
{
var mc, oView, oLayerBackground, oLayerLevel, oEventHandler, oEvents, bMouseBtnPressed, oBackgroundRef, oAustin, oDoor, oDoorLights, oPumpContainer, oRoboto, iRefY, bRotobotFly, bScaleOutDone, bClosingPumpInit, bGameStarted, bAllDone, bDoorIsOpening, bLastPumpDone, bPlayerCanClick, bBumpDone, bRobotoFalling, iTotalPumps, oTyrone, nInstrucTimer, bRobotoIsAtRightHeight, bDoFallAnims, iCurDownSpeed;
function MiniGame3 (l_nDifficultyLevel, l_oEventHandler) {
mc = Controller.getContainer();
oView = new sarbakan.visual.layer.LayerManager(data.GameData.SCREEN_WIDTH, data.GameData.SCREEN_HEIGHT, data.GameData.SCREEN_WIDTH, data.GameData.SCREEN_HEIGHT);
mc.createEmptyMovieClip("mcBackground", data.GameData.SIDESCROLLER_DEPTH_BACKGROUND);
oLayerBackground = new sarbakan.visual.layer.Layer(mc.mcBackground, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerBackground, 1, 1);
mc.createEmptyMovieClip("mcLevel", data.GameData.SIDESCROLLER_DEPTH_LEVEL);
oLayerLevel = new sarbakan.visual.layer.Layer(mc.mcLevel, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerLevel, 1, 1);
oEventHandler = l_oEventHandler;
oEventHandler.setDifficulty(l_nDifficultyLevel);
oEvents = new helpers.ScrollerEventManager(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onScrollerEvent));
sarbakan.sound.VoiceOverManager.setListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onVoiceDone));
sarbakan.utils.ActionSequencer.init();
sarbakan.utils.ActionSequencer.addListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onActionSequenceDone));
bMouseBtnPressed = false;
oBackgroundRef = mc.mcBackground.attachMovie("mg3_bg", "bg", mc.mcBackground.getNextHighestDepth());
oAustin = oBackgroundRef.Austin;
oDoor = oBackgroundRef.mcDoor;
oDoorLights = oBackgroundRef.mcDoorLights;
oDoorLights.gotoAndStop(l_nDifficultyLevel + 1);
oPumpContainer = oBackgroundRef.mcPumpContainer;
oPumpContainer.gotoAndStop(l_nDifficultyLevel + 1);
oRoboto = oBackgroundRef.Roboto;
oRoboto.gotoAndStop("Idle");
oRoboto._x = oPumpContainer["Pump" + iCurPump]._x + ROBOTO_X_OFFSET_FROM_PUMP;
oRoboto._y = ROBOTO_MIN_Y;
oRoboto._xscale = (oRoboto._yscale = ROBOTO_START_SCALE);
iRefY = ROBOTO_MIN_Y;
oRoboto.onRelease = sarbakan.utils.Delegate.create(this, TakeRotobot);
oRoboto.useHandCursor = false;
bRotobotFly = false;
bScaleOutDone = false;
bClosingPumpInit = false;
bGameStarted = false;
bAllDone = false;
bDoorIsOpening = false;
bLastPumpDone = false;
bPlayerCanClick = true;
bBumpDone = true;
bRobotoFalling = false;
switch (l_nDifficultyLevel) {
case 0 :
iTotalPumps = 2;
oPumpContainer.Pump0.Pump_Handle._y = LOW_PUMP_START_Y;
oPumpContainer.Pump0.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_LOW_PUMP;
oPumpContainer.Pump0.bPumpDone = false;
oPumpContainer.Pump0.bPumpComplete = false;
oPumpContainer.Pump0.Pump_Bottom.Pump_Light.gotoAndStop(2);
oPumpContainer.Pump1.Pump_Handle._y = LOW_PUMP_START_Y;
oPumpContainer.Pump1.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_LOW_PUMP;
oPumpContainer.Pump1.bPumpDone = false;
oPumpContainer.Pump1.bPumpComplete = false;
oPumpContainer.Pump1.Pump_Bottom.Pump_Light.gotoAndStop(2);
break;
case 1 :
iTotalPumps = 3;
oPumpContainer.Pump0.Pump_Handle._y = LOW_PUMP_START_Y;
oPumpContainer.Pump0.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_LOW_PUMP;
oPumpContainer.Pump0.bPumpDone = false;
oPumpContainer.Pump0.bPumpComplete = false;
oPumpContainer.Pump0.Pump_Bottom.Pump_Light.gotoAndStop(2);
oPumpContainer.Pump1.Pump_Handle._y = MEDIUM_PUMP_START_Y;
oPumpContainer.Pump1.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_MEDIUM_PUMP;
oPumpContainer.Pump1.bPumpDone = false;
oPumpContainer.Pump1.bPumpComplete = false;
oPumpContainer.Pump1.Pump_Bottom.Pump_Light.gotoAndStop(2);
oPumpContainer.Pump2.Pump_Handle._y = MEDIUM_PUMP_START_Y;
oPumpContainer.Pump2.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_MEDIUM_PUMP;
oPumpContainer.Pump2.bPumpDone = false;
oPumpContainer.Pump2.bPumpComplete = false;
oPumpContainer.Pump2.Pump_Bottom.Pump_Light.gotoAndStop(2);
break;
case 2 :
iTotalPumps = 4;
oPumpContainer.Pump0.Pump_Handle._y = LOW_PUMP_START_Y;
oPumpContainer.Pump0.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_LOW_PUMP;
oPumpContainer.Pump0.bPumpDone = false;
oPumpContainer.Pump0.bPumpComplete = false;
oPumpContainer.Pump0.Pump_Bottom.Pump_Light.gotoAndStop(2);
oPumpContainer.Pump1.Pump_Handle._y = MEDIUM_PUMP_START_Y;
oPumpContainer.Pump1.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_MEDIUM_PUMP;
oPumpContainer.Pump1.bPumpDone = false;
oPumpContainer.Pump1.bPumpComplete = false;
oPumpContainer.Pump1.Pump_Bottom.Pump_Light.gotoAndStop(2);
oPumpContainer.Pump2.Pump_Handle._y = MEDIUM_PUMP_START_Y;
oPumpContainer.Pump2.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_MEDIUM_PUMP;
oPumpContainer.Pump2.bPumpDone = false;
oPumpContainer.Pump2.bPumpComplete = false;
oPumpContainer.Pump2.Pump_Bottom.Pump_Light.gotoAndStop(2);
oPumpContainer.Pump3.Pump_Handle._y = HIGH_PUMP_START_Y;
oPumpContainer.Pump3.iY_To_Reach = ROBOTO_Y_POS_ACTIVATE_HIGH_PUMP;
oPumpContainer.Pump3.bPumpDone = false;
oPumpContainer.Pump3.bPumpComplete = false;
oPumpContainer.Pump3.Pump_Bottom.Pump_Light.gotoAndStop(2);
}
oTyrone = new elements.Tyrone(mc._parent.mcTyrone);
oLayerLevel.addDynamicElement(oTyrone);
nInstrucTimer = 0;
sarbakan.utils.ActionSequencer.queue("miniGamePop", oTyrone, "alreadyInscreen", 0);
}
function init() {
oEventHandler.init();
}
function ReleaseRotobot() {
if (bRotobotFly) {
bRotobotFly = false;
bPlayerCanClick = false;
oRoboto.onRelease = sarbakan.utils.Delegate.create(this, TakeRotobot);
}
}
function TakeRotobot() {
if (((!bAllDone) && (bGameStarted)) && (bPlayerCanClick)) {
nInstrucTimer = 0;
bRotobotFly = true;
}
}
function update() {
oView.update();
sarbakan.utils.ActionSequencer.update();
if ((!bAllDone) && (bGameStarted)) {
if (bPlayerCanClick) {
nInstrucTimer++;
if (nInstrucTimer >= INSTRUC_TIMEOUT) {
sarbakan.utils.ActionSequencer.queue("repeatPop", oTyrone, "popIn", 0);
nInstrucTimer = 0;
bGameStarted = false;
}
if (bRotobotFly) {
RobotoGoUP();
nInstrucTimer = 0;
oAustin.mcRemote.gotoAndStop(FRAMEPOS_REMOTE_CLICK);
} else {
RobotoGoDown();
oAustin.mcRemote.gotoAndStop(FRAMEPOS_REMOTE_UNCLICK);
}
AdjustPhysicalRobot();
} else {
RobotoClosingPump();
oAustin.mcRemote.gotoAndStop(FRAMEPOS_REMOTE_UNCLICK);
}
}
}
function destroy() {
oView.destroy();
}
function GlowSwitches() {
oBackgroundRef.play();
}
function StartGame() {
bGameStarted = true;
oRoboto.useHandCursor = true;
}
function MoveRotobot_XY_FollowMouse() {
var _local3 = oPumpContainer["Pump" + iCurPump]._x + ROBOTO_X_OFFSET_FROM_PUMP;
var _local5 = oRoboto._parent._xmouse;
var _local2 = (_local3 + _local5) / 2;
while (Math.abs(_local2 - _local3) > 15) {
_local2 = (_local2 + _local3) / 2;
}
MoveRotobot_XAxis(_local2);
var _local4 = oRoboto._parent._ymouse;
if (_local4 > ROBOTO_MIN_Y) {
_local4 = ROBOTO_MIN_Y;
}
if (oRoboto._y < (_local4 - ROTOBOT_FOLLOW_Y_ACCEL)) {
oRoboto._y = oRoboto._y + ROTOBOT_FOLLOW_Y_ACCEL;
} else if (oRoboto._y > (_local4 + ROTOBOT_FOLLOW_Y_ACCEL)) {
oRoboto._y = oRoboto._y - ROTOBOT_FOLLOW_Y_ACCEL;
} else {
oRoboto._y = _local4;
}
iRefY = oRoboto._y;
}
function MoveRotobot_XAxis(_nOptionalTarget) {
if (_nOptionalTarget != undefined) {
var _local2 = _nOptionalTarget;
} else {
var _local2 = oPumpContainer["Pump" + iCurPump]._x + ROBOTO_X_OFFSET_FROM_PUMP;
}
if (oRoboto._x < (_local2 - ROTOBOT_FOLLOW_X_ACCEL)) {
oRoboto._x = oRoboto._x + ROTOBOT_FOLLOW_X_ACCEL;
} else if (oRoboto._x > (_local2 + ROTOBOT_FOLLOW_X_ACCEL)) {
oRoboto._x = oRoboto._x - ROTOBOT_FOLLOW_X_ACCEL;
} else {
oRoboto._x = _local2;
}
}
function RobotoGoUP() {
iCurFallAnimDelay = FRAME_DELAY_BEFORE_FALL_ANIM;
bRobotoFalling = false;
MoveRotobot_XY_FollowMouse();
}
function RobotoGoDown() {
if (oRoboto._y < ROBOTO_MIN_Y) {
bBumpDone = false;
if (!bRobotoFalling) {
if (bRobotoIsAtRightHeight) {
iCurFallAnimDelay--;
if (iCurFallAnimDelay < 0) {
if (oRoboto._y < MIN_Y_TO_ACTIVATE_FALL_ANIMS) {
bDoFallAnims = true;
oRoboto.gotoAndStop(FRAMEPOS_ROBOTO_FALL);
} else {
bDoFallAnims = false;
}
iCurDownSpeed = Y_DOWN_PER_FRAME;
bRobotoFalling = true;
}
}
} else {
iCurDownSpeed = iCurDownSpeed + Y_DOWN_ACCEL;
oRoboto._y = oRoboto._y + iCurDownSpeed;
}
} else if (!bBumpDone) {
if (bDoFallAnims) {
if (oRoboto._currentframe != FRAMEPOS_ROBOTO_BUMP) {
oRoboto.gotoAndStop(FRAMEPOS_ROBOTO_BUMP);
} else if (oRoboto.etat._currentframe == oRoboto.etat._totalframes) {
bBumpDone = true;
oRoboto.gotoAndStop(FRAMEPOS_ROBOTO_IDLE);
}
} else {
bBumpDone = true;
oRoboto.gotoAndStop(FRAMEPOS_ROBOTO_IDLE);
}
} else if (!bPlayerCanClick) {
if (!bLastPumpDone) {
RobotoGoNextPump();
} else if (oDoor._currentframe == oDoor._totalframes) {
EndGame();
}
}
}
function AdjustPhysicalRobot() {
if (bRobotoFalling) {
iRefY = oRoboto._y;
} else {
bRobotoIsAtRightHeight = true;
if (oRoboto._y <= oPumpContainer["Pump" + iCurPump].iY_To_Reach) {
PumpDone();
}
}
}
function RobotoClosingPump() {
bDoFallAnims = false;
if ((oRoboto._xscale > ROBOTO_ATPUMP_SCALE) && (!bScaleOutDone)) {
oRoboto._xscale--;
oRoboto._yscale--;
} else {
bScaleOutDone = true;
if (!bClosingPumpInit) {
oPumpContainer["Pump" + (iCurPump - 1)].bPumpDone = true;
bClosingPumpInit = true;
}
if (oRoboto._y < ROBOTO_MIN_Y) {
oRoboto._y = oRoboto._y + CLOSE_PUMP_SPEED;
} else if (!bLastPumpDone) {
RobotoGoNextPump();
} else if (oDoor._currentframe == oDoor._totalframes) {
EndGame();
}
}
if (!oPumpContainer["Pump" + (iCurPump - 1)].bPumpComplete) {
if (oPumpContainer["Pump" + (iCurPump - 1)].bPumpDone) {
oPumpContainer["Pump" + (iCurPump - 1)].Pump_Handle._y = oPumpContainer["Pump" + (iCurPump - 1)].Pump_Handle._y + CLOSE_PUMP_SPEED;
if (oPumpContainer["Pump" + (iCurPump - 1)].Pump_Handle._y >= CLOSE_PUMP_Y) {
oPumpContainer["Pump" + (iCurPump - 1)].bPumpDone = false;
oPumpContainer["Pump" + (iCurPump - 1)].bPumpComplete = true;
sarbakan.sound.SoundManager.play("Switch.wav", 50, 1);
oPumpContainer["Pump" + (iCurPump - 1)].Pump_Bottom.Pump_Light.gotoAndStop(1);
oDoorLights["DoorLights" + (iCurPump - 1)].gotoAndStop(2);
if (bLastPumpDone) {
oDoor.play();
bDoorIsOpening = true;
}
}
}
}
}
function RescaleToDefault() {
if (oRoboto._xscale < ROBOTO_START_SCALE) {
oRoboto._xscale++;
oRoboto._yscale++;
return(false);
}
return(true);
}
function EndGame() {
if (RescaleToDefault()) {
bAllDone = true;
sarbakan.sound.VoiceOverManager.clearAll();
oEventHandler.onActionSequenceDone("endOfGame");
}
}
function RobotoGoNextPump() {
if (RescaleToDefault()) {
oRoboto._x = oRoboto._x + ROBOTO_X_SPEED_TO_NEXT_PUMP;
if (oRoboto._x >= (oPumpContainer["Pump" + iCurPump]._x + ROBOTO_X_OFFSET_FROM_PUMP)) {
bScaleOutDone = false;
bClosingPumpInit = false;
bPlayerCanClick = true;
}
}
}
function PumpDone() {
iRefY = ROBOTO_MIN_Y;
ReleaseRotobot();
bPlayerCanClick = false;
iCurPump++;
if (iCurPump == iTotalPumps) {
bLastPumpDone = true;
}
}
var INSTRUC_TIMEOUT = 900;
static var Y_UP_PER_CLICK = 30;
static var Y_DOWN_PER_FRAME = 2;
static var Y_DOWN_ACCEL = 0.5;
static var MIN_Y_TO_ACTIVATE_FALL_ANIMS = 210;
static var ROBOTO_X_SPEED_TO_NEXT_PUMP = 2;
static var ROBOTO_MIN_Y = 240;
static var ROBOTO_X_OFFSET_FROM_PUMP = 5;
static var ROBOTO_Y_POS_ACTIVATE_HIGH_PUMP = 60;
static var ROBOTO_Y_POS_ACTIVATE_MEDIUM_PUMP = 85;
static var ROBOTO_Y_POS_ACTIVATE_LOW_PUMP = 110;
static var ROBOTO_START_SCALE = 80;
static var ROBOTO_ATPUMP_SCALE = 80;
static var HIGH_PUMP_START_Y = -69.3;
static var MEDIUM_PUMP_START_Y = -43.3;
static var LOW_PUMP_START_Y = -23.3;
static var CLOSE_PUMP_Y = -7;
static var CLOSE_PUMP_SPEED = 2;
static var FRAME_DELAY_BEFORE_FALL_ANIM = 0;
static var FRAMEPOS_REMOTE_UNCLICK = 1;
static var FRAMEPOS_REMOTE_CLICK = 9;
static var FRAMEPOS_ROBOTO_IDLE = 1;
static var FRAMEPOS_ROBOTO_FALL = 8;
static var FRAMEPOS_ROBOTO_BUMP = 16;
static var ROTOBOT_FOLLOW_X_ACCEL = 1;
static var ROTOBOT_FOLLOW_Y_ACCEL = 5;
var iCurFallAnimDelay = FRAME_DELAY_BEFORE_FALL_ANIM;
var iCurPump = 0;
}
Symbol 1922 MovieClip [__Packages.sequences.FinalGame] Frame 0
class sequences.FinalGame implements sequences.Sequence
{
var nDiff, mc, oView, oLayerBackground, oLayerLevel, oEventHandler, aPausableElements, nInstrucTimer, mcBg, i, bCanPlay, oTyrone, mcHud, nSeq, nTellSeq, nFoundSeq, sClickedOn;
function FinalGame (l_nDifficultyLevel, l_oEventHandler) {
nDiff = l_nDifficultyLevel - 1;
mc = Controller.getContainer();
oView = new sarbakan.visual.layer.LayerManager(data.GameData.SCREEN_WIDTH, data.GameData.SCREEN_HEIGHT, data.GameData.SCREEN_WIDTH, data.GameData.SCREEN_HEIGHT);
mc.createEmptyMovieClip("mcBackground", data.GameData.SIDESCROLLER_DEPTH_BACKGROUND);
oLayerBackground = new sarbakan.visual.layer.Layer(mc.mcBackground, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerBackground, 1, 1);
mc.createEmptyMovieClip("mcLevel", data.GameData.SIDESCROLLER_DEPTH_LEVEL);
oLayerLevel = new sarbakan.visual.layer.Layer(mc.mcLevel, new sarbakan.visual.activation.NoActivation());
oView.addLayer(oLayerLevel, 1, 1);
oEventHandler = l_oEventHandler;
aPausableElements = new Array();
nInstrucTimer = 0;
mcBg = mc.mcBackground.attachMovie(("fg" + l_nDifficultyLevel) + "_bg", "bg", mc.mcBackground.getNextHighestDepth());
i = 0;
bCanPlay = false;
disableButtons();
oTyrone = new elements.Tyrone(mc._parent.mcTyrone);
oLayerLevel.addDynamicElement(oTyrone);
sarbakan.utils.ActionSequencer.init();
sarbakan.utils.ActionSequencer.addListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onActionSequenceDone));
sarbakan.sound.VoiceOverManager.setListener(sarbakan.utils.Delegate.create(oEventHandler, oEventHandler.onVoiceDone));
oEventHandler.setLevel(l_nDifficultyLevel);
sarbakan.utils.ActionSequencer.queue("startGame", oTyrone, "alreadyInscreen", 0);
}
function addPausable(_mc) {
aPausableElements.push(_mc);
}
function pause() {
for (var _local2 in aPausableElements) {
aPausableElements[_local2].stop();
}
}
function resume() {
for (var _local2 in aPausableElements) {
aPausableElements[_local2].play();
}
}
function init() {
oEventHandler.init();
}
function fg1EndPlay() {
mcBg.fg1End.play();
}
function glowButtons() {
mcBg.red.state.button.play();
mcBg.yellow.state.button.play();
mcBg.blue.state.button.play();
}
function endingComplete() {
if (nDiff == 0) {
Controller.getInstance().onGameNextSequence();
}
}
function setHud(_mcHud) {
mcHud = _mcHud;
}
function update() {
oView.update();
sarbakan.utils.ActionSequencer.update();
if (bCanPlay) {
nInstrucTimer++;
if (nInstrucTimer >= INSTRUC_TIMEOUT) {
sarbakan.utils.ActionSequencer.queue("repeatPop", oTyrone, "popIn", 0);
nInstrucTimer = 0;
}
}
}
function destroy() {
oView.destroy();
}
function tellSequence() {
if (nTellSeq < SEQUENCES[nDiff][nSeq].length) {
mcHud.hud[SEQUENCES[nDiff][nSeq][nTellSeq]].gotoAndStop("Blink");
mcHud.hud[SEQUENCES[nDiff][nSeq][nTellSeq]].blink.gotoAndPlay(1);
tellWord(SEQUENCES[nDiff][nSeq][nTellSeq]);
nTellSeq++;
} else {
bCanPlay = true;
enableButtons();
}
}
function jumpComplete() {
if (sClickedOn == SEQUENCES[nDiff][nSeq][nFoundSeq]) {
nFoundSeq++;
if (nFoundSeq < SEQUENCES[nDiff][nSeq].length) {
bCanPlay = true;
enableButtons();
} else {
bCanPlay = false;
disableButtons();
nFoundSeq = 0;
nTellSeq = 0;
nSeq++;
if (nSeq < SEQUENCES[nDiff].length) {
if (nSeq == (SEQUENCES[nDiff].length - 1)) {
tellWord("andFinally");
} else {
tellWord("then");
}
} else {
oEventHandler.onActionSequenceDone("gameEnded");
addJem();
mcHud.gotoAndPlay("Out");
mcBg.gotoAndStop("End");
}
}
} else {
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_55.wav", 100, new data.lipsync.bymm_t_55(), 0, "Hmm... Try Again.");
}
}
function startOver() {
nFoundSeq = 0;
nTellSeq = 0;
nSeq = 0;
initiateSequence();
}
function releaseBtn(_sBtn) {
nInstrucTimer = 0;
if (bCanPlay) {
mcBg[_sBtn].gotoAndStop("Jump");
mcBg[_sBtn].jump.gotoAndPlay(1);
bCanPlay = false;
disableButtons();
sClickedOn = _sBtn;
}
}
function showHud() {
if (mcHud._currentframe == 1) {
mcHud.play();
}
}
function firstRun() {
nSeq = 0;
enableButtons();
initiateSequence();
}
function addJem() {
if (nDiff != 0) {
var _local2 = new Array("Red", "Blue", "Yellow");
Controller.getInstance().mc.mcHUD[_local2[nDiff]].gotoAndStop(1);
}
}
function initiateSequence() {
nTellSeq = 0;
nFoundSeq = 0;
tellSequence();
}
function enableButtons() {
mcBg.yellow.onRelease = sarbakan.utils.Delegate.create(this, releaseBtn, "yellow");
mcBg.red.onRelease = sarbakan.utils.Delegate.create(this, releaseBtn, "red");
mcBg.blue.onRelease = sarbakan.utils.Delegate.create(this, releaseBtn, "blue");
}
function disableButtons() {
delete mcBg.yellow.onRelease;
delete mcBg.red.onRelease;
delete mcBg.blue.onRelease;
}
function tellWord(_sColor) {
switch (_sColor) {
case "red" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_52.wav", 100, new data.lipsync.bymm_t_52(), 0, "Red.");
break;
case "blue" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_46.wav", 100, new data.lipsync.bymm_t_46(), 0, "Blue.");
break;
case "yellow" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_50.wav", 100, new data.lipsync.bymm_t_50(), 0, "Yellow.");
break;
case "then" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_51.wav", 100, new data.lipsync.bymm_t_51(), 0, "Then.");
break;
case "andFinally" :
sarbakan.sound.VoiceOverManager.queue("tyrone", "bymm_t_47.wav", 100, new data.lipsync.bymm_t_47(), 0, "And finally.");
}
}
var INSTRUC_TIMEOUT = 900;
static var SEQUENCES = [[["blue"], ["blue", "red"], ["blue", "red", "yellow"]], [["yellow"], ["yellow", "red"], ["yellow", "red", "blue"]], [["blue"], ["blue", "yellow"], ["blue", "yellow", "red"], ["blue", "yellow", "red", "yellow"]]];
}
Symbol 1923 MovieClip [__Packages.data.lipsync.bymm_t_55] Frame 0
class data.lipsync.bymm_t_55 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_55 () {
super();
lipsArray = new Array("x", "h", "m", "x", "j", "AH", "EY", "l", "AE", "n", "x", "x");
timingArray = new Array(-83, 0, 83, 417, 833, 917, 1083, 1333, 1417, 1583, 1750, 1917);
}
}
Symbol 1924 MovieClip [__Packages.data.lipsync.bymm_t_52] Frame 0
class data.lipsync.bymm_t_52 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_52 () {
super();
lipsArray = new Array("x", "r", "AE", "h", "IH", "n", "x", "x");
timingArray = new Array(-83, 0, 83, 167, 250, 333, 417, 583);
}
}
Symbol 1925 MovieClip [__Packages.data.lipsync.bymm_t_46] Frame 0
class data.lipsync.bymm_t_46 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_46 () {
super();
lipsArray = new Array("l", "l", "m", "x");
timingArray = new Array(-83, 167, 333, 583);
}
}
Symbol 1926 MovieClip [__Packages.data.lipsync.bymm_t_50] Frame 0
class data.lipsync.bymm_t_50 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_50 () {
super();
lipsArray = new Array("x", "y", "AE", "AH", "x", "x");
timingArray = new Array(-83, 0, 167, 333, 583, 833);
}
}
Symbol 1927 MovieClip [__Packages.data.lipsync.bymm_t_51] Frame 0
class data.lipsync.bymm_t_51 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_51 () {
super();
lipsArray = new Array("DH", "EH", "n", "x", "x");
timingArray = new Array(-83, 0, 167, 417, 500);
}
}
Symbol 1928 MovieClip [__Packages.data.lipsync.bymm_t_47] Frame 0
class data.lipsync.bymm_t_47 extends sarbakan.sound.LipsyncData
{
var lipsArray, timingArray;
function bymm_t_47 () {
super();
lipsArray = new Array("UW", "NG", "AY", "IH", "NG", "m", "y", "m", "x", "x");
timingArray = new Array(-83, 167, 250, 333, 417, 500, 667, 833, 917, 1167);
}
}
Symbol 1929 MovieClip [__Packages.elements.sidescroller.Meteor] Frame 0
class elements.sidescroller.Meteor extends sarbakan.visual.element.DynamicElement
{
var setMC, oHit, bAlwaysActive, setState, bEnabledOnce, nDiff, nWaitCount, mc, oOwner, stateFinished;
function Meteor (l_mc) {
super("meteor" + sarbakan.visual.element.BaseElement.getNextID());
setMC(l_mc);
l_mc.playSound = sarbakan.utils.Delegate.create(this, playSound);
oHit = new sarbakan.visual.element.DynamicElement("meteorHit" + sarbakan.visual.element.BaseElement.getNextID());
oHit.setMC(l_mc.hit);
Controller.getInstance().oCurrentSequence.oLayerLevel.addDynamicElement(oHit);
l_mc.hit._visible = false;
bAlwaysActive = true;
setState("wait");
bEnabledOnce = false;
nDiff = Controller.getInstance().oCurrentSequence.Diff;
nWaitCount = sarbakan.utils.MoreMath.random(0, WAIT_DELAY[nDiff - 1]);
}
function playSound() {
if ((mc.getBounds(Controller.getInstance().mc).xMin < 600) && (mc.getBounds(Controller.getInstance().mc).xMax > 0)) {
sarbakan.sound.SoundManager.play("Meteor.wav", 40);
}
}
function wait() {
nWaitCount++;
if (nWaitCount == WAIT_DELAY[nDiff - 1]) {
setState("fall");
nWaitCount = 0;
}
}
function beginFall() {
if (!bEnabledOnce) {
bEnabledOnce = true;
nWaitCount = 0;
setState("fall");
DEFAULT_STATE = "wait";
}
}
function fall() {
if (oHit.collideWithElementBox("rover")) {
oOwner.oDynamicElements.rover.setPositionOutWall(mc);
}
if (stateFinished()) {
nWaitCount = 0;
setState("wait");
} else {
nWaitCount++;
if (nWaitCount >= FALL_TIME[nDiff - 1]) {
mc.state.bLoop = false;
} else {
mc.state.bLoop = true;
}
}
}
static var WAIT_DELAY = [130, 115, 95, 75];
static var FALL_TIME = [10, 12, 14, 16];
var DEFAULT_STATE = "wait";
}
Symbol 1930 MovieClip [__Packages.elements.sidescroller.Geser] Frame 0
class elements.sidescroller.Geser extends sarbakan.visual.element.DynamicElement
{
var setMC, oHit, bAlwaysActive, bPlayingSound, setState, nDiff, nWaitCount, mc, oOwner, stateFinished;
function Geser (l_mc) {
super("geser" + sarbakan.visual.element.BaseElement.getNextID());
setMC(l_mc);
oHit = new sarbakan.visual.element.DynamicElement("geserHit" + sarbakan.visual.element.BaseElement.getNextID());
oHit.setMC(l_mc.hit);
Controller.getInstance().oCurrentSequence.oLayerLevel.addDynamicElement(oHit);
l_mc.hit._visible = false;
bAlwaysActive = true;
bPlayingSound = false;
setState("wait");
nDiff = Controller.getInstance().oCurrentSequence.Diff;
nWaitCount = sarbakan.utils.MoreMath.random(30, WAIT_DELAY[nDiff - 1]);
}
function wait() {
nWaitCount++;
if (nWaitCount >= WAIT_DELAY[nDiff - 1]) {
setState("burst");
nWaitCount = 0;
}
}
function burst() {
if ((mc.getBounds(Controller.getInstance().mc).xMin < 600) && (mc.getBounds(Controller.getInstance().mc).xMax > 0)) {
if (!bPlayingSound) {
_global.S.PlayASound("Geser", 9999, 50);
bPlayingSound = true;
}
} else if (bPlayingSound) {
_global.S.StopASound("Geser");
bPlayingSound = false;
}
if (oHit.collideWithElementBox("rover")) {
oOwner.oDynamicElements.rover.setPositionOutWall(mc);
}
if (stateFinished()) {
if (bPlayingSound) {
_global.S.StopASound("Geser");
bPlayingSound = false;
}
setState("wait");
nWaitCount = 0;
} else {
nWaitCount++;
if (nWaitCount >= FALL_TIME[nDiff - 1]) {
mc.state.bLoop = false;
} else {
mc.state.bLoop = true;
}
}
}
static var WAIT_DELAY = [120, 100, 80, 60];
static var FALL_TIME = [30, 55, 70, 90];
var DEFAULT_STATE = "wait";
}
Symbol 1931 MovieClip [__Packages.elements.sidescroller.Boinga] Frame 0
class elements.sidescroller.Boinga extends sarbakan.visual.element.DynamicElement
{
var setMC, setState, collideWithElementBox, oOwner, mc, stateStarting, stateFinished;
function Boinga (l_mc) {
super("boinga" + sarbakan.visual.element.BaseElement.getNextID());
setMC(l_mc);
setState("idle");
}
function idle() {
if (collideWithElementBox("rover")) {
oOwner.oDynamicElements.rover.boingaBounce(mc);
setState("bounce");
}
}
function bounce() {
if (stateStarting()) {
sarbakan.sound.SoundManager.play("Boinga.wav", 70, 1, true);
}
if (stateFinished()) {
setState("idle");
} else if (collideWithElementBox("rover")) {
oOwner.oDynamicElements.rover.boingaBounce(mc);
mc.state.gotoAndPlay(1);
}
}
var DEFAULT_STATE = "idle";
}
Symbol 1932 MovieClip [__Packages.elements.sidescroller.Trap] Frame 0
class elements.sidescroller.Trap extends sarbakan.visual.element.DynamicElement
{
var setMC, oHit, bAlwaysActive, setState, nDiff, mc, nWaitCount, oOwner, stateStarting, stateFinished;
function Trap (l_mc) {
super("trap" + sarbakan.visual.element.BaseElement.getNextID());
setMC(l_mc);
oHit = new sarbakan.visual.element.DynamicElement("trapHit" + sarbakan.visual.element.BaseElement.getNextID());
oHit.setMC(l_mc.hit);
Controller.getInstance().oCurrentSequence.oLayerLevel.addDynamicElement(oHit);
l_mc.hit._visible = false;
bAlwaysActive = true;
setState("wait");
nDiff = Controller.getInstance().oCurrentSequence.Diff;
mc.playEndSound = sarbakan.utils.Delegate.create(this, playEnd);
nWaitCount = sarbakan.utils.MoreMath.random(60, WAIT_DELAY[nDiff - 1]);
}
function wait() {
nWaitCount++;
if (nWaitCount >= WAIT_DELAY[nDiff - 1]) {
if (!oHit.collideWithElementBox("rover")) {
setState("lift");
nWaitCount = 0;
}
}
}
function playEnd() {
if ((mc.getBounds(Controller.getInstance().mc).xMin < 600) && (mc.getBounds(Controller.getInstance().mc).xMax > 0)) {
sarbakan.sound.SoundManager.play("TrapDown.wav", 80);
}
}
function lift() {
if (oHit.collideWithElementBox("rover")) {
oOwner.oDynamicElements.rover.setPositionOutWall(mc);
}
if (stateStarting()) {
if ((mc.getBounds(Controller.getInstance().mc).xMin < 600) && (mc.getBounds(Controller.getInstance().mc).xMax > 0)) {
sarbakan.sound.SoundManager.play("Trap.wav", 80);
}
}
if (stateFinished()) {
setState("wait");
nWaitCount = 0;
} else {
nWaitCount++;
if (nWaitCount >= FALL_TIME[nDiff - 1]) {
mc.state.bLoop = false;
} else {
mc.state.bLoop = true;
}
}
}
static var WAIT_DELAY = [90, 75, 60, 45];
static var FALL_TIME = [30, 45, 60, 80];
var DEFAULT_STATE = "wait";
}
Symbol 1572 Button
on (release) {
sarbakan.sound.SoundManager.play("Click.wav", 60);
Controller.getInstance().startGame();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("Rollover.wav", 60);
CSVOM.Play("T4");
}
Symbol 1580 Button
on (release) {
sarbakan.sound.SoundManager.play("Click.wav", 60);
Controller.getInstance().showInstructions();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("Rollover.wav", 60);
CSVOM.Play("T5");
}
Symbol 1633 MovieClip Frame 1
sarbakan.sound.VoiceOverManager.setCharacterMouth("tyrone", this);
Symbol 1643 MovieClip Frame 1
stop();
Symbol 1651 Button
on (release) {
sarbakan.sound.SoundManager.play("Click.wav", 60);
Controller.getInstance().backInstructions();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("Rollover.wav", 60);
CSVOM.Play("T6");
}
Symbol 1665 MovieClip Frame 1
stop();
Symbol 1667 MovieClip Frame 1
stop();
Symbol 1668 MovieClip Frame 1
stop();
Symbol 1669 MovieClip Frame 1
stop();
Symbol 1669 MovieClip Frame 2
function onVoiceDone(l_sLinkage) {
switch (l_sLinkage) {
case "bymm_t_15.wav" :
this.R.play();
break;
case "bymm_t_16.wav" :
this.L.play();
break;
case "bymm_t_17.wav" :
this.S.play();
}
}
function initInstr() {
var _local2 = new Object();
_local2.owner = this;
_local2.onVoiceDone = sarbakan.utils.Delegate.create(this, onVoiceDone);
sarbakan.sound.VoiceOverManager.init(_local2.onVoiceDone);
sarbakan.sound.VoiceOverManager.addCharacter("tyrone");
CSVOM.enable();
CSVOM.Play("T15");
CSVOM.Play("T16");
CSVOM.Play("T17");
CSVOM.Play("T18");
}
this.initInstr();
Symbol 1679 Button
on (release) {
sarbakan.sound.SoundManager.play("Click.wav", 60);
_global.S.SwitchToMusic("packMusic");
_global.ROOT.gotoAndStop("init");
}
on (rollOver) {
sarbakan.sound.SoundManager.play("Rollover.wav", 60);
CSVOM.Play("T14");
}
Symbol 1695 MovieClip Frame 1
gotoAndPlay(random(45) + 1);
Symbol 1698 MovieClip Frame 1
stop();
Symbol 1710 Button
on (release) {
sarbakan.sound.SoundManager.play("Click.wav", 60);
Controller.getInstance().showMenu();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("Rollover.wav", 60);
}
Symbol 1715 MovieClip Frame 1
stop();
Symbol 1717 MovieClip Frame 1
stop();
Symbol 1719 MovieClip Frame 1
stop();
Symbol 1720 MovieClip Frame 1
Red.gotoAndStop(2);
Blue.gotoAndStop(2);
Yellow.gotoAndStop(2);
Symbol 1725 Button
on (release) {
Controller.getInstance().menuDone();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("bymm_t_10.wav", 100, 1, true);
}
Symbol 1728 Button
on (release) {
Controller.getInstance().resumeMenu();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("bymm_t_07.wav", 100, 1, true);
}
Symbol 1738 Button
on (release) {
Controller.getInstance().menuNewGame();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("bymm_t_08.wav", 100, 1, true);
}
Symbol 1739 Button
on (release) {
Controller.getInstance().inGameInstructions();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("bymm_t_05.wav", 100, 1, true);
}
Symbol 1740 MovieClip Frame 1
stop();
Symbol 1740 MovieClip Frame 2
BB.useHandCursor = false;
Symbol 1744 Button
on (release) {
sarbakan.sound.SoundManager.stop(this.snd1);
sarbakan.sound.SoundManager.stop(this.snd2);
sarbakan.sound.SoundManager.stop(this.snd3);
sarbakan.sound.SoundManager.stop(this.snd4);
this.gotoAndStop(1);
}
on (rollOver) {
sarbakan.sound.SoundManager.play("bymm_t_06.wav", 100, 1, true);
}
Symbol 1745 MovieClip Frame 1
stop();
Symbol 1745 MovieClip Frame 2
bb.useHandCursor = false;
Symbol 1745 MovieClip Frame 13
this.snd1 = sarbakan.sound.SoundManager.play("bymm_t_15.wav");
Symbol 1745 MovieClip Frame 169
R.play();
this.snd2 = sarbakan.sound.SoundManager.play("bymm_t_16.wav");
Symbol 1745 MovieClip Frame 293
L.play();
this.snd3 = sarbakan.sound.SoundManager.play("bymm_t_17.wav");
Symbol 1745 MovieClip Frame 402
S.play();
this.snd4 = sarbakan.sound.SoundManager.play("bymm_t_18.wav");
Symbol 1745 MovieClip Frame 423
stop();
Symbol 1753 Button
on (release) {
Controller.getInstance().menuAnswerNo();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("bymm_t_13.wav", 60, 1, true);
}
Symbol 1760 Button
on (release) {
Controller.getInstance().menuAnswerYes();
}
on (rollOver) {
sarbakan.sound.SoundManager.play("bymm_t_12.wav", 60, 1, true);
}
Symbol 1761 MovieClip Frame 1
stop();
Symbol 1761 MovieClip Frame 2
bb.useHandCursor = false;
Symbol 1762 MovieClip Frame 1
Controller = new Controller(this);
nextFrame();
Symbol 1762 MovieClip Frame 2
stop();
TITLE.gotoAndStop(2);
this.delay = 5;
this.onEnterFrame = function () {
this.delay--;
if (this.delay == 0) {
delete this.delay;
delete this.onEnterFrame;
nextFrame();
}
};
Symbol 1762 MovieClip Frame 3
stop();
VoiceOverManager.clearAll();
CSVOM.Play("T1");
CSVOM.Play("T3");
Symbol 1762 MovieClip Frame 25