Frame 1
Stage.showMenu = false;
stop();
Frame 2
stop();
_root.frogger._x = 294;
_root.frogger._y = 633;
_root.badspeed = 3;
_root.frogdead = false;
_root.onlog = false;
_root.death = false;
_root.deathplay = false;
_root.win = false;
_root.win2 = false;
_root.fatso = false;
Instance of Symbol 21 MovieClip "water" in Frame 2
onClipEvent (enterFrame) {
if (((this.hitTest(_root.frogger.froghit) and (_root.frogdead == false)) and (_root.onlog == false)) || ((this.hitTest(_root.frogger2.froghit) and (_root.frogdead == false)) and (_root.onlog == false))) {
if (_root.win == false) {
_root.frogger.gotoAndPlay("sploosh");
} else {
_root.frogger2.gotoAndPlay("sploosh");
}
_root.frogdead = true;
_root.message = "Missionaries aren't supposed to swim!";
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
function moveleft(rot) {
if (_root.win == false) {
_root.frogger._rotation = rot;
_root.frogger._x = _root.frogger._x - speed;
_root.frogger.gotoAndPlay("moveleft");
} else {
_root.frogger2._rotation = rot;
_root.frogger2._x = _root.frogger2._x - speed;
_root.frogger2.gotoAndPlay("moveleft");
}
}
function moveright(rot) {
if (_root.win == false) {
_root.frogger._rotation = rot;
_root.frogger._x = _root.frogger._x + speed;
_root.frogger.gotoAndPlay("moveright");
} else {
_root.frogger2._rotation = rot;
_root.frogger2._x = _root.frogger2._x + speed;
_root.frogger2.gotoAndPlay("moveright");
}
}
function moveup(rot) {
if (_root.win == false) {
_root.frogger._rotation = rot;
_root.frogger._y = _root.frogger._y - speed;
_root.frogger.gotoAndPlay("moveup");
} else {
_root.frogger2._rotation = rot;
_root.frogger2._y = _root.frogger2._y - speed;
_root.frogger2.gotoAndPlay("moveup");
}
}
function movedown(rot) {
if (_root.win == false) {
_root.frogger._rotation = rot;
_root.frogger._y = _root.frogger._y + speed;
_root.frogger.gotoAndPlay("movedown");
} else {
_root.frogger2._rotation = rot;
_root.frogger2._y = _root.frogger2._y + speed;
_root.frogger2.gotoAndPlay("movedown");
}
}
var speed = 42;
}
on (keyPress "<Left>") {
if (_root.death == false) {
moveleft(0);
_root.onlog = false;
_root.facingleft = true;
_root.facingright = false;
_root.facingdown = false;
_root.facingup = false;
if (_root.win == false) {
_root.frogger._xscale = 22;
_root.frogger._yscale = 22;
} else {
_root.frogger2._xscale = 22;
_root.frogger2._yscale = 22;
}
}
}
on (keyPress "<Right>") {
if (_root.death == false) {
moveright(0);
_root.onlog = false;
_root.facingleft = false;
_root.facingright = true;
_root.facingdown = false;
_root.facingup = false;
if (_root.win == false) {
_root.frogger._xscale = 22;
_root.frogger._yscale = 22;
} else {
_root.frogger2._xscale = 22;
_root.frogger2._yscale = 22;
}
}
}
on (keyPress "<Up>") {
if (_root.death == false) {
moveup(0);
_root.onlog = false;
_root.facingleft = false;
_root.facingright = false;
_root.facingdown = false;
_root.facingup = true;
if (_root.win == false) {
_root.frogger._xscale = 22;
_root.frogger._yscale = 22;
} else {
_root.frogger2._xscale = 22;
_root.frogger2._yscale = 22;
}
}
}
on (keyPress "<Down>") {
if (_root.death == false) {
movedown(0);
_root.onlog = false;
_root.facingleft = false;
_root.facingright = false;
_root.facingdown = true;
_root.facingup = false;
if (_root.win == false) {
_root.frogger._xscale = 22;
_root.frogger._yscale = 22;
} else {
_root.frogger2._xscale = 22;
_root.frogger2._yscale = 22;
}
}
}
onClipEvent (enterFrame) {
if ((_root.death == true) and (_root.deathplay == false)) {
_root.prompt.gotoAndPlay(2);
_root.deathplay = true;
}
}
Instance of Symbol 36 MovieClip in Frame 2
/* no clip actions */
Instance of Symbol 36 MovieClip in Frame 2
/* no clip actions */
Instance of Symbol 48 MovieClip in Frame 2
onClipEvent (load) {
var onturtle = false;
}
onClipEvent (enterFrame) {
trace("onturtle?:" + onturtle);
if (onturtle == true) {
if (this._xscale > 80) {
this._xscale = this._xscale - 1;
this._yscale = this._yscale - 1;
this._alpha = this._alpha - 5;
if (_root.win == false) {
_root.frogger._xscale = _root.frogger._xscale - 0.2;
_root.frogger._yscale = _root.frogger._yscale - 0.2;
} else {
_root.frogger2._xscale = _root.frogger2._xscale - 0.2;
_root.frogger2._yscale = _root.frogger2._yscale - 0.2;
}
}
}
if ((this._xscale <= 80) and (_root.death == false)) {
if (_root.win == false) {
_root.frogger.gotoAndPlay("sploosh");
} else {
_root.frogger2.gotoAndPlay("sploosh");
}
_root.death = true;
_root.message = "Turtles Sink! You drown.";
}
if (this.hitTest(_root.frogger.froghit)) {
onturtle = true;
}
if (this.hitTest(_root.frogger2.froghit)) {
onturtle = true;
}
if ((!this.hitTest(_root.frogger.froghit)) and (_root.win == false)) {
onturtle = false;
}
if ((!this.hitTest(_root.frogger2.froghit)) and (_root.win == true)) {
onturtle = false;
}
if (onturtle == false) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
this._yscale = this._yscale + 1;
this._alpha = this._alpha + 5;
}
}
}
Instance of Symbol 48 MovieClip in Frame 2
onClipEvent (load) {
var onturtle = false;
}
onClipEvent (enterFrame) {
trace("onturtle?:" + onturtle);
if (onturtle == true) {
if (this._xscale > 80) {
this._xscale = this._xscale - 1;
this._yscale = this._yscale - 1;
this._alpha = this._alpha - 5;
if (_root.win == false) {
_root.frogger._xscale = _root.frogger._xscale - 0.2;
_root.frogger._yscale = _root.frogger._yscale - 0.2;
} else {
_root.frogger2._xscale = _root.frogger2._xscale - 0.2;
_root.frogger2._yscale = _root.frogger2._yscale - 0.2;
}
}
}
if ((this._xscale <= 80) and (_root.death == false)) {
if (_root.win == false) {
_root.frogger.gotoAndPlay("sploosh");
} else {
_root.frogger2.gotoAndPlay("sploosh");
}
_root.death = true;
_root.message = "Turtles Sink! You drown.";
}
if (this.hitTest(_root.frogger.froghit)) {
onturtle = true;
}
if (this.hitTest(_root.frogger2.froghit)) {
onturtle = true;
}
if ((!this.hitTest(_root.frogger.froghit)) and (_root.win == false)) {
onturtle = false;
}
if ((!this.hitTest(_root.frogger2.froghit)) and (_root.win == true)) {
onturtle = false;
}
if (onturtle == false) {
if (this._xscale < 100) {
this._xscale = this._xscale + 1;
this._yscale = this._yscale + 1;
this._alpha = this._alpha + 5;
}
}
}
Instance of Symbol 56 MovieClip "goal1" in Frame 2
onClipEvent (load) {
var donewon = false;
var donewon2 = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.frogger.froghit) and (donewon == false)) {
_root.win = true;
_root.prompt.gotoAndPlay(12);
_root.message = "Good Job! Now get your greenie across!";
donewon = true;
}
if (this.hitTest(_root.frogger2.froghit) and (donewon2 == false)) {
_root.win2 = true;
_root.prompt.gotoAndPlay(12);
_root.message = "Awesome! Let's knock on the door!";
donewon2 = true;
}
}
Instance of Symbol 164 MovieClip "timer" in Frame 2
onClipEvent (enterFrame) {
if (((this._xscale > 0) and (_root.death == false)) and (_root.win == false)) {
this._xscale = this._xscale - 0.5;
}
if (this._xscale <= 0) {
_root.death = true;
_root.message = "Time Up! Put your shoulder to the wheel!";
}
}
Instance of Symbol 167 MovieClip "greenytimer" in Frame 2
onClipEvent (enterFrame) {
if (_root.fatso == false) {
this._visible = false;
}
if (_root.fatso == true) {
this._visible = true;
}
if ((((this._xscale > 0) and (_root.death == false)) and (_root.fatso == true)) and (_root.win2 == false)) {
this._xscale = this._xscale - 0.5;
}
if (this._xscale <= 0) {
_root.death = true;
_root.message = "Time Up! Put your shoulder to the wheel!";
}
}
Frame 3
stop();
Symbol 6 Button
on (release) {
gotoAndStop (2);
}
Symbol 12 MovieClip Frame 54
stop();
Instance of Symbol 24 MovieClip in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
var boing = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.frogger.froghit) and (boing == false)) || (this.hitTest(_root.frogger2.froghit) and (boing == false))) {
_root.thornmessage = true;
if (_root.win == false) {
_root.frogger.gotoAndPlay("dead");
} else {
_root.frogger2.gotoAndPlay("dead");
}
boing = true;
_root.death = true;
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
var randomizer = random(3);
if (randomizer == 0) {
this.green._visible = true;
this.red._visible = false;
this.mustang._visible = false;
}
if (randomizer == 1) {
this.green._visible = false;
this.red._visible = true;
this.mustang._visible = false;
}
if (randomizer == 2) {
this.green._visible = false;
this.red._visible = false;
this.mustang._visible = true;
}
}
onClipEvent (enterFrame) {
this._parent._x = this._parent._x + _root.badspeed;
if (this._parent._x >= Stage.width) {
this._parent._x = -this._width;
}
if (((this.hitTest(_root.frogger.froghit) and (_root.frogdead == false)) and (_root.onlog == false)) || ((this.hitTest(_root.frogger2.froghit) and (_root.frogdead == false)) and (_root.onlog == false))) {
if (_root.win == false) {
_root.frogger.gotoAndPlay("dead");
} else {
_root.frogger2.gotoAndPlay("dead");
}
_root.frogdead = true;
}
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
var thisspeed = (_root.badspeed + 1);
}
onClipEvent (enterFrame) {
this._parent._x = this._parent._x - thisspeed;
if (this._parent._x <= (-this._width)) {
this._parent._x = Stage.width + this._width;
}
if (this.hitTest(_root.frogger.froghit) || (this.hitTest(_root.frogger2.froghit))) {
if (_root.win == false) {
_root.frogger._x = _root.frogger._x - thisspeed;
} else {
_root.frogger2._x = _root.frogger2._x - thisspeed;
}
_root.onlog = true;
_root.onturtle = true;
}
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip Frame 1
onClipEvent (load) {
thisspeed = (_root.badspeed * 3) - (_root.badspeed / 15);
}
onClipEvent (enterFrame) {
this._parent._x = this._parent._x + thisspeed;
if (this._parent._x >= Stage.width) {
this._parent._x = -this._width;
}
if (this.hitTest(_root.frogger.froghit) || (this.hitTest(_root.frogger2.froghit))) {
if (_root.win == false) {
_root.frogger._x = _root.frogger._x + thisspeed;
} else {
_root.frogger2._x = _root.frogger2._x + thisspeed;
}
_root.onlog = true;
}
}
Instance of Symbol 53 MovieClip in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
thisspeed = (_root.badspeed * 2) - (_root.badspeed / 15);
}
onClipEvent (enterFrame) {
this._parent._x = this._parent._x + thisspeed;
if (this._parent._x >= Stage.width) {
this._parent._x = -this._width;
}
if (this.hitTest(_root.frogger.froghit) || (this.hitTest(_root.frogger2.froghit))) {
if (_root.win == false) {
_root.frogger._x = _root.frogger._x + thisspeed;
} else {
_root.frogger2._x = _root.frogger2._x + thisspeed;
}
_root.onlog = true;
}
}
Symbol 89 MovieClip Frame 23
gotoAndPlay ("restup");
Symbol 89 MovieClip Frame 64
gotoAndPlay ("restdown");
Symbol 89 MovieClip Frame 99
gotoAndPlay ("restleft");
Symbol 89 MovieClip Frame 122
gotoAndPlay ("restright");
Symbol 89 MovieClip Frame 129
gotoAndPlay ("restup");
Symbol 89 MovieClip Frame 141
gotoAndPlay ("restdown");
Symbol 89 MovieClip Frame 152
gotoAndPlay ("restleft");
Symbol 89 MovieClip Frame 162
gotoAndPlay ("restright");
Symbol 89 MovieClip Frame 188
_root.death = true;
Symbol 89 MovieClip Frame 207
if (_root.thornmessage == true) {
_root.message = "Roses have thorns. Yowch!";
} else {
_root.message = "game over";
}
stop();
Symbol 89 MovieClip Frame 208
_root.death = true;
Symbol 89 MovieClip Frame 231
stop();
Symbol 154 MovieClip Frame 23
gotoAndPlay ("restup");
Symbol 154 MovieClip Frame 64
gotoAndPlay ("restdown");
Symbol 154 MovieClip Frame 99
gotoAndPlay ("restleft");
Symbol 154 MovieClip Frame 122
gotoAndPlay ("restright");
Symbol 154 MovieClip Frame 129
gotoAndPlay ("restup");
Symbol 154 MovieClip Frame 141
gotoAndPlay ("restdown");
Symbol 154 MovieClip Frame 152
gotoAndPlay ("restright");
Symbol 154 MovieClip Frame 162
gotoAndPlay ("restleft");
Symbol 154 MovieClip Frame 188
_root.death = true;
Symbol 154 MovieClip Frame 207
if (_root.thornmessage == true) {
_root.message = "Roses have thorns. Yowch!";
} else {
_root.message = "game over";
}
stop();
Symbol 154 MovieClip Frame 208
_root.death = true;
Symbol 154 MovieClip Frame 231
stop();
Instance of Symbol 161 MovieClip in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
var randomizer = random(2);
if (randomizer == 0) {
this._parent.thing.semi._visible = true;
this._parent.thing.stang._visible = false;
}
if (randomizer == 1) {
this._parent.thing.semi._visible = false;
this._parent.thing.stang._visible = true;
}
}
onClipEvent (enterFrame) {
this._parent._x = this._parent._x - _root.badspeed;
if (this._parent._x <= (-this._width)) {
this._parent._x = Stage.width + this._width;
}
if (((this.hitTest(_root.frogger.froghit) and (_root.frogdead == false)) and (_root.onlog == false)) || ((this.hitTest(_root.frogger2.froghit) and (_root.frogdead == false)) and (_root.onlog == false))) {
if (_root.win == false) {
_root.frogger.gotoAndPlay("dead");
} else {
_root.frogger2.gotoAndPlay("dead");
}
_root.frogdead = true;
}
}
Symbol 180 Button
on (release) {
if (_root.win == false) {
_root.frogger._x = 294;
_root.frogger._y = 633;
_root.badspeed = 3;
_root.frogdead = false;
_root.onlog = false;
_root.death = false;
_root.deathplay = false;
_root.frogger.gotoAndPlay(1);
_root.timer._xscale = 100;
gotoAndStop (1);
} else {
if (_root.win2 == true) {
_root.gotoAndPlay(3);
}
if (_root.win2 == false) {
_root.fatso = true;
_root.frogger2._x = 294;
_root.frogger2._y = 633;
_root.badspeed = 3;
_root.frogdead = false;
_root.onlog = false;
_root.death = false;
_root.deathplay = false;
_root.frogger2.gotoAndPlay(1);
_root.timer._xscale = 100;
_root.greenytimer._xscale = 100;
gotoAndStop (1);
}
}
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
if (_root.timer._xscale <= 0) {
gotoAndPlay (23);
}
Symbol 181 MovieClip Frame 15
if (_root.win == true) {
_root.buttontxt = "Go!";
} else {
_root.buttontxt = "Play Again";
}
Symbol 181 MovieClip Frame 40
stop();
Symbol 225 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 226 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(1);
}
Symbol 227 MovieClip Frame 1
stopAllSounds();
Symbol 227 MovieClip Frame 343
stop();