Frame 1
function itemHandler1(obj, item) {
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("Created for the Robot day 2011 (V1.2)", itemHandler1);
item1.enabled = true;
myMenu.customItems.push(item1, item1);
_root.menu = myMenu;
Instance of Symbol 141 MovieClip [Preloader Bar (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
AUTO_PLAY = false;
}
Instance of Symbol 109 MovieClip [Flash Ad (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
show_background = true;
}
Instance of Symbol 73 MovieClip [API Connector (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
api_id = "19000:tS244xNM";
encryption_key = "oeAdyFDv7SzAaOl0Xyx1FSS2bD6Qi5mm";
version = "";
fake_session = true;
debug = true;
error_screens = true;
medal_popups = true;
}
Frame 3
var snd = new Sound();
snd.attachSound("55548_newgrounds_unamed");
_root.snd.start(0, 1);
snd.setVolume(117);
Frame 6
stop();
Frame 14
stop();
Frame 19
stop();
Frame 24
stop();
Instance of Symbol 109 MovieClip [Flash Ad (NewgroundsAPI)] in Frame 24
//component parameters
onClipEvent (construct) {
show_background = true;
}
Frame 30
play();
Frame 34
var snd = new Sound();
snd.attachSound("396128_Second_Chance");
_root.snd.start(0, 1);
snd.setVolume(270);
Frame 44
var snd = new Sound();
snd.attachSound("52444_newgrounds_cool");
_root.snd.start(0, 1);
snd.setVolume(90);
Frame 46
stop();
Frame 47
stop();
Frame 48
stop();
Frame 49
stop();
Instance of Symbol 209 MovieClip in Frame 49
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: Your mechanisms work well , now crosses the right screen to go to the next place.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.primpass)) {
_root.gotoAndStop(55);
} else {
_root.stop();
}
}
Frame 55
stop();
Instance of Symbol 209 MovieClip in Frame 55
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: My robotic sensors indicate the presence of an obstacle, press the up arrow to jump.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lol)) {
_root.gotoAndStop(60);
} else {
_root.stop();
}
}
Frame 60
stop();
Frame 61
stop();
Frame 62
stop();
Frame 63
stop();
Frame 64
stop();
Instance of Symbol 209 MovieClip in Frame 64
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: Of who was that voice?, I must hurry to find these items.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lil)) {
_root.gotoAndStop(70);
} else {
_root.stop();
}
}
Frame 70
stop();
Instance of Symbol 209 MovieClip in Frame 70
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: Look!, that is a portal that leads into another world, reach out and press SPACE to activate it.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
if (Key.isDown(32)) {
_root.gotoAndStop(75);
}
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
Frame 75
stop();
Instance of Symbol 209 MovieClip in Frame 75
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: This is the world of the wind, my sensors indicate that the first keeper is near! ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laila)) {
_root.gotoAndStop(80);
} else {
_root.stop();
}
}
Frame 80
stop();
Instance of Symbol 209 MovieClip in Frame 80
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.lai)) {
_root.gotoAndStop(85);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: Your mechanisms work well , now crosses the right screen to go to the next place.";
} else {
_root.pertesto._visible = false;
}
}
Frame 85
stop();
Instance of Symbol 209 MovieClip in Frame 85
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I found the keeper of the wind!, I go talk to him.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laie)) {
_root.gotoAndStop(90);
} else {
_root.stop();
}
}
Frame 90
stop();
Frame 91
stop();
Frame 92
stop();
Frame 93
stop();
Frame 94
stop();
Frame 95
stop();
Frame 96
stop();
Frame 97
stop();
Frame 98
stop();
Instance of Symbol 209 MovieClip in Frame 98
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I finally got the first item, now I have to find a portal to reach the next world.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.anna)) {
_root.gotoAndStop(100);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
Frame 100
stop();
Frame 101
stop();
Frame 102
stop();
Frame 103
stop();
Instance of Symbol 209 MovieClip in Frame 103
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: Yet that voice? Who is it?, now I have to use the portal to go to another world. ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
if (Key.isDown(32)) {
_root.gotoAndStop(110);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
Frame 110
stop();
Frame 111
stop();
Instance of Symbol 209 MovieClip in Frame 111
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: The world of fire, this is an insidious and dangerous world so I have to quickly find the second keeper.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.luis)) {
_root.gotoAndStop(112);
} else {
_root.stop();
}
}
Frame 112
stop();
Instance of Symbol 209 MovieClip in Frame 112
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: The world of fire, this is an insidious and dangerous world so I have to quickly find the second keeper.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.luis)) {
_root.gotoAndStop(115);
} else {
_root.stop();
}
}
Frame 115
stop();
Instance of Symbol 306 MovieClip "enemy" in Frame 115
/* no clip actions */
Frame 116
stop();
Frame 117
stop();
Frame 118
stop();
Frame 119
stop();
Frame 120
stop();
Instance of Symbol 209 MovieClip "player" in Frame 120
onClipEvent (load) {
var grav = 0;
var speed = 6;
var jumpHeight = 19;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I reached the platform, these new powers are great! ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 6;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 6;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 6;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.luis)) {
_root.gotoAndStop(125);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.enemy)) {
_root.gotoAndStop(111);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.enemy2)) {
_root.gotoAndStop(111);
} else {
_root.stop();
}
}
Instance of Symbol 306 MovieClip "enemy" in Frame 120
onClipEvent (load) {
espeed = 2;
}
onClipEvent (enterFrame) {
distance = 200;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
}
if (tx > sx) {
this._x = this._x - espeed;
}
}
}
onClipEvent (enterFrame) {
if (_root.loll.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 2;
}
if (_root.loll.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 2;
}
if (_root.loll.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 2;
}
if (_root.loll.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 2;
}
}
Instance of Symbol 306 MovieClip "enemy2" in Frame 120
onClipEvent (load) {
espeed = 3;
}
onClipEvent (enterFrame) {
distance = 200;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt(((sx - tx) * (sx - tx)) + ((sy - ty) * (sy - ty))) < distance) {
if (tx < sx) {
this._x = this._x + espeed;
}
if (tx > sx) {
this._x = this._x - espeed;
}
}
}
onClipEvent (enterFrame) {
if (_root.lol.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lol.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lol.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lol.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
Frame 125
stop();
Instance of Symbol 209 MovieClip "player" in Frame 125
onClipEvent (load) {
var grav = 0;
var speed = 6;
var jumpHeight = 19;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I'm really fast!";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 6;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 6;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 6;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.luis)) {
_root.gotoAndStop(130);
} else {
_root.stop();
}
}
Frame 130
function onMedalUnlocked(event) {
if (event.__get__success()) {
var _local1 = event.data.medal;
trace(((("You unlocked '" + _local1.__get__name()) + "'! (value: ") + 25) + " points)");
}
}
stop();
misses = 0;
com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.UNLOCK_MEDAL, onMedalUnlocked, this);
var unlocked = false;
onEnterFrame = function () {
if ((_root.misses > 29) && (!unlocked)) {
com.newgrounds.API.unlockMedal("acid solution");
unlocked = true;
}
};
Instance of Symbol 209 MovieClip "player" in Frame 130
onClipEvent (load) {
var grav = 0;
var speed = 6;
var jumpHeight = 19;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: This is acid, it is better not fall into this pool.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 6;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 6;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 6;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 6;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.luis)) {
_root.gotoAndStop(135);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (_root.acido.hitTest(this)) {
_root.misses = _root.misses + 1;
unloadMovie (_root.tre);
_root.needle._x = _root.needle._x - speed;
}
}
Instance of Symbol 339 MovieClip "acido" in Frame 130
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 60);
_root.player._y = (charY = 340);
}
}
Frame 135
stop();
Instance of Symbol 209 MovieClip "player" in Frame 135
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: It seems that my special powers are exhausted, my sensors indicate that the second keeper is very close.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.luis)) {
_root.gotoAndStop(140);
} else {
_root.stop();
}
}
Frame 140
stop();
Instance of Symbol 209 MovieClip "player" in Frame 140
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: Here is the second keeper, wait, this is not the keeper of the fire, what's going on? ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laie)) {
_root.gotoAndStop(145);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
Frame 145
stop();
Frame 146
stop();
Frame 147
stop();
Frame 148
stop();
Frame 149
stop();
Frame 150
stop();
Frame 151
stop();
Frame 152
stop();
Frame 153
stop();
Frame 154
stop();
Frame 155
stop();
Instance of Symbol 209 MovieClip "player" in Frame 155
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.laie)) {
_root.gotoAndStop(145);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
if (Key.isDown(32)) {
_root.gotoAndStop(160);
}
}
}
Frame 160
stop();
Instance of Symbol 209 MovieClip in Frame 160
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I feel the presence of a third item, then I believe that the remains of the keeper of the fire are close.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mela)) {
_root.gotoAndStop(165);
} else {
_root.stop();
}
}
Frame 165
stop();
Instance of Symbol 209 MovieClip in Frame 165
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I found the remains. ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mela)) {
_root.gotoAndStop(170);
} else {
_root.stop();
}
}
Frame 170
stop();
Frame 171
stop();
Frame 172
stop();
Frame 173
stop();
Frame 174
stop();
Frame 175
stop();
Frame 176
stop();
Instance of Symbol 209 MovieClip in Frame 176
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mela)) {
_root.gotoAndStop(180);
} else {
_root.stop();
}
}
Frame 180
stop();
Instance of Symbol 209 MovieClip in Frame 180
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mela)) {
_root.gotoAndStop(185);
} else {
_root.stop();
}
}
Frame 185
stop();
Instance of Symbol 209 MovieClip in Frame 185
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I have to find the last item that belongs to the keeper of water, but where can it be? ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mela)) {
_root.gotoAndStop(190);
} else {
_root.stop();
}
}
Frame 190
stop();
Instance of Symbol 209 MovieClip in Frame 190
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: A elevator?, maybe I will lead to the fourth keeper.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mela)) {
_root.gotoAndStop(190);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
if (Key.isDown(32)) {
_root.gotoAndStop(195);
}
}
}
Frame 195
stop();
Instance of Symbol 432 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 434 MovieClip "player" in Frame 195
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 3;
} else if (Key.isDown(40)) {
this._y = this._y + 3;
}
if (Key.isDown(37)) {
this._x = this._x - 3;
} else if (Key.isDown(39)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lollo.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lollo.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ciao)) {
_root.gotoAndStop(196);
} else {
_root.stop();
}
}
Frame 196
stop();
Instance of Symbol 434 MovieClip "player" in Frame 196
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 3;
} else if (Key.isDown(40)) {
this._y = this._y + 3;
}
if (Key.isDown(37)) {
this._x = this._x - 3;
} else if (Key.isDown(39)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lollo.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lollo.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ciao)) {
_root.gotoAndStop(197);
} else {
_root.stop();
}
}
Instance of Symbol 439 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Frame 197
stop();
Instance of Symbol 434 MovieClip "player" in Frame 197
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 3;
} else if (Key.isDown(40)) {
this._y = this._y + 3;
}
if (Key.isDown(37)) {
this._x = this._x - 3;
} else if (Key.isDown(39)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lollo.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lollo.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ciao)) {
_root.gotoAndStop(198);
} else {
_root.stop();
}
}
Instance of Symbol 432 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 439 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Frame 198
stop();
Instance of Symbol 434 MovieClip "player" in Frame 198
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 3;
} else if (Key.isDown(40)) {
this._y = this._y + 3;
}
if (Key.isDown(37)) {
this._x = this._x - 3;
} else if (Key.isDown(39)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lollo.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lollo.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ciao)) {
_root.gotoAndStop(199);
} else {
_root.stop();
}
}
Instance of Symbol 432 MovieClip in Frame 198
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 432 MovieClip in Frame 198
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Frame 199
stop();
Instance of Symbol 434 MovieClip "player" in Frame 199
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 3;
} else if (Key.isDown(40)) {
this._y = this._y + 3;
}
if (Key.isDown(37)) {
this._x = this._x - 3;
} else if (Key.isDown(39)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lollo.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lollo.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ciao)) {
_root.gotoAndStop(200);
} else {
_root.stop();
}
}
Instance of Symbol 443 MovieClip in Frame 199
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 443 MovieClip in Frame 199
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 443 MovieClip in Frame 199
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Frame 200
stop();
Instance of Symbol 434 MovieClip "player" in Frame 200
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 3;
} else if (Key.isDown(40)) {
this._y = this._y + 3;
}
if (Key.isDown(37)) {
this._x = this._x - 3;
} else if (Key.isDown(39)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lollo.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lollo.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ciao)) {
_root.gotoAndStop(201);
} else {
_root.stop();
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Instance of Symbol 445 MovieClip in Frame 200
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Frame 201
stop();
Instance of Symbol 434 MovieClip "player" in Frame 201
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 3;
} else if (Key.isDown(40)) {
this._y = this._y + 3;
}
if (Key.isDown(37)) {
this._x = this._x - 3;
} else if (Key.isDown(39)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lollo.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lollo.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ciao)) {
_root.gotoAndStop(205);
} else {
_root.stop();
}
}
Instance of Symbol 445 MovieClip in Frame 201
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 3;
} else if (Key.isDown(40)) {
this._y = this._y + 3;
}
if (Key.isDown(39)) {
this._x = this._x - 3;
} else if (Key.isDown(37)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.lollo.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.lollo.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.lollo.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = (charX = 87.5);
_root.player._y = (charY = 192.5);
}
}
Frame 205
function onMedalUnlocked(event) {
if (event.__get__success()) {
var _local2 = event.data.medal;
trace(((("You unlocked '" + My_Medal) + "'! (value: ") + 10) + " points)");
}
}
stop();
_currentframe;
com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.UNLOCK_MEDAL, onMedalUnlocked, this);
com.newgrounds.API.unlockMedal("activation key");
Instance of Symbol 455 MovieClip in Frame 205
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(215);
}
}
Frame 215
stop();
Frame 220
stop();
Frame 225
stop();
Frame 230
stop();
Instance of Symbol 209 MovieClip in Frame 230
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says:";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.gotoAndStop(235);
} else {
_root.stop();
}
}
Frame 235
stop();
Instance of Symbol 209 MovieClip in Frame 235
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: This is an underground passage, I hope will lead to the keeper of the water.";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.gotoAndStop(240);
} else {
_root.stop();
}
}
Frame 240
stop();
Instance of Symbol 209 MovieClip in Frame 240
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I sense the presence of the keeper of water, is in the next room!";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.gotoAndStop(245);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
Frame 245
stop();
Instance of Symbol 209 MovieClip in Frame 245
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I sense the presence of the keeper of water, is in the next room!";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.gotoAndStop(250);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
Frame 250
stop();
Frame 251
stop();
Frame 252
stop();
Frame 253
stop();
Frame 254
stop();
Frame 255
stop();
Frame 256
stop();
Instance of Symbol 209 MovieClip in Frame 256
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I sense the presence of the keeper of water, is in the next room!";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.gotoAndStop(260);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
Frame 260
stop();
Instance of Symbol 209 MovieClip in Frame 260
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arancia)) {
_root.gotoAndStop(265);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
if (Key.isDown(32)) {
_root.gotoAndStop(265);
}
}
}
Frame 265
stop();
Instance of Symbol 209 MovieClip in Frame 265
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: I have to find the last item that belongs to the keeper of water, but where can it be? ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pesca)) {
_root.gotoAndStop(270);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
if (Key.isDown(32)) {
_root.gotoAndStop(265);
}
}
}
Frame 270
stop();
Frame 271
stop();
Frame 272
stop();
Frame 273
stop();
Frame 274
stop();
Frame 275
stop();
Instance of Symbol 209 MovieClip in Frame 275
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says:";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pesca)) {
_root.gotoAndStop(280);
} else {
_root.stop();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
_root.piccoletto._visible = true;
} else {
_root.piccoletto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.piccolo)) {
if (Key.isDown(32)) {
_root.gotoAndPlay(280);
}
}
}
Frame 280
play();
stopAllSounds();
Frame 300
var snd = new Sound();
snd.attachSound("238007_LEAF_X_MD__Boss_Battle_");
_root.snd.start(0, 1);
snd.setVolume(80);
Frame 302
stop();
Frame 303
stop();
Frame 304
stop();
Frame 305
stop();
Instance of Symbol 209 MovieClip "player" in Frame 305
onClipEvent (load) {
var grav = 0;
var speed = 3;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 3;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 3;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 3;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 3;
}
}
Instance of Symbol 557 MovieClip in Frame 305
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.hp.nextFrame();
}
}
Frame 306
stop();
Frame 307
stop();
Frame 308
stop();
Frame 309
stop();
Frame 310
stop();
Instance of Symbol 209 MovieClip "player" in Frame 310
onClipEvent (load) {
var grav = 0;
var speed = 6;
var jumpHeight = 20;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(38))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.blocco)) {
_root.pertesto._visible = true;
_root.pertesto.txt.text = "Unit 0757 says: ";
} else {
_root.pertesto._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.maze.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 6;
}
if (_root.maze.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 6;
}
if (_root.maze.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 6;
}
if (_root.maze.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 6;
}
}
onClipEvent (enterFrame) {
if (_root.mazee.hitTest(_x + (_width / 2), _y, true)) {
this._x = this._x - 6;
}
if (_root.mazee.hitTest(_x - (_width / 2), _y, true)) {
this._x = this._x + 6;
}
if (_root.mazee.hitTest(_x, _y + (_height / 2), true)) {
this._y = this._y - 6;
}
if (_root.mazee.hitTest(_x, _y - (_height / 2), true)) {
this._y = this._y + 6;
}
}
Instance of Symbol 568 MovieClip in Frame 310
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.hp.nextFrame();
}
}
Frame 311
stop();
Frame 312
stop();
Frame 313
stop();
Instance of Symbol 578 MovieClip in Frame 313
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.hp.nextFrame();
}
}
Instance of Symbol 578 MovieClip in Frame 313
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.hp.nextFrame();
}
}
Instance of Symbol 580 MovieClip in Frame 313
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.hp.nextFrame();
}
}
Frame 314
stop();
Frame 315
stop();
Frame 316
stop();
Frame 317
function onMedalUnlocked(event) {
if (event.__get__success()) {
var _local1 = event.data.medal;
trace(((("You unlocked '" + _local1.__get__name()) + "'! (value: ") + 100) + " points)");
}
}
stop();
com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.UNLOCK_MEDAL, onMedalUnlocked, this);
var unlocked = false;
this.onEnterFrame = function () {
if (hp.hitTest(_root.fine) && (!unlocked)) {
com.newgrounds.API.unlockMedal("true hero");
unlocked = true;
}
};
Frame 318
stop();
Frame 319
function onMedalUnlocked(event) {
if (event.__get__success()) {
var _local2 = event.data.medal;
trace(((("You unlocked '" + My_Medal) + "'! (value: ") + 25) + " points)");
}
}
stop();
_currentframe;
com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.UNLOCK_MEDAL, onMedalUnlocked, this);
com.newgrounds.API.unlockMedal("terminator is back");
Frame 320
stop();
Frame 330
play();
Frame 345
stop();
Frame 350
function onMedalUnlocked(event) {
if (event.__get__success()) {
var _local2 = event.data.medal;
trace(((("You unlocked '" + My_Medal) + "'! (value: ") + 5) + " points)");
}
}
stop();
_currentframe;
com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.UNLOCK_MEDAL, onMedalUnlocked, this);
com.newgrounds.API.unlockMedal("the earth is my home");
Frame 360
function onMedalUnlocked(event) {
if (event.__get__success()) {
var _local2 = event.data.medal;
trace(((("You unlocked '" + My_Medal) + "'! (value: ") + 5) + " points)");
}
}
stop();
_currentframe;
com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.UNLOCK_MEDAL, onMedalUnlocked, this);
com.newgrounds.API.unlockMedal("the cry of a robot");
Symbol 9 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2892 % 511) * true);
return(\x03);
}
var \x01 = (-160 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 11 MovieClip Frame 10
stop();
Symbol 13 MovieClip Frame 37
_parent.setGotoFrame("done");
stop();
Symbol 25 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (737 % 511) * true);
return(\x03);
}
var \x01 = (9 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 25 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 2
medal.attachIcon(icon);
Symbol 25 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 10
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2142 % 511) * true);
return(\x03);
}
var \x01 = (78 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 25 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 31 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2309 % 511) * true);
return(\x03);
}
var \x01 = (253 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 31 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 10
stop();
Symbol 31 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 34 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 1
!!!ERROR
Symbol 34 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 10
stop();
Symbol 34 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 55 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1
!!!ERROR
Symbol 59 Button
on (release) {
!!!ERROR
Symbol 65 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 67 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1
!!!ERROR
Symbol 68 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 72 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1
!!!ERROR
Symbol 73 MovieClip [API Connector (NewgroundsAPI)] Frame 1
#initclip 24
Object.registerClass("API Connector (NewgroundsAPI)", com.newgrounds.components.APIConnector);
#endinitclip
Symbol 73 MovieClip [API Connector (NewgroundsAPI)] Frame 20
_visible = false;
Symbol 102 Button
on (release) {
com.newgrounds.API.loadNewgrounds();
}
Symbol 107 MovieClip Frame 1
!!!ERROR
Symbol 108 MovieClip Frame 11
gotoAndPlay (1);
Symbol 109 MovieClip [Flash Ad (NewgroundsAPI)] Frame 1
#initclip 25
Object.registerClass("Flash Ad (NewgroundsAPI)", com.newgrounds.components.FlashAd);
#endinitclip
Symbol 133 MovieClip Frame 40
stop();
Symbol 140 Button
on (release) {
startMovie();
}
Symbol 141 MovieClip [Preloader Bar (NewgroundsAPI)] Frame 1
#initclip 26
Object.registerClass("Preloader Bar (NewgroundsAPI)", com.newgrounds.components.PreloaderBar);
#endinitclip
Symbol 147 Button
on (release) {
getURL ("http://www.newgrounds.com/collection/robotday2011", "_blank");
}
Symbol 75 MovieClip [__Packages.com.newgrounds.API] Frame 0
!!!ERROR
Symbol 76 MovieClip [__Packages.com.newgrounds.Bridge] Frame 0
!!!ERROR
Symbol 77 MovieClip [__Packages.com.newgrounds.SaveFile] Frame 0
!!!ERROR
Symbol 78 MovieClip [__Packages.com.newgrounds.SaveGroup] Frame 0
!!!ERROR
Symbol 81 MovieClip [__Packages.com.newgrounds.SaveGroupQuery] Frame 0
!!!ERROR
Symbol 83 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner] Frame 0
!!!ERROR
Symbol 82 MovieClip [__Packages.com.newgrounds.encoders.BaseN] Frame 0
!!!ERROR
Symbol 92 MovieClip [__Packages.com.newgrounds.APIEventDispatcher] Frame 0
!!!ERROR
Symbol 80 MovieClip [__Packages.com.newgrounds.APIEvent] Frame 0
!!!ERROR
Symbol 74 MovieClip [__Packages.com.newgrounds.APIError] Frame 0
!!!ERROR
Symbol 87 MovieClip [__Packages.com.newgrounds.Medal] Frame 0
!!!ERROR
Symbol 1 MovieClip [__Packages.com.newgrounds.components.APIConnector] Frame 0
!!!ERROR
Symbol 79 MovieClip [__Packages.com.newgrounds.ValidationTools] Frame 0
!!!ERROR
Symbol 84 MovieClip [__Packages.com.newgrounds.encoders.SerialXML] Frame 0
!!!ERROR
Symbol 85 MovieClip [__Packages.com.newgrounds.encoders.LZW2] Frame 0
!!!ERROR
Symbol 86 MovieClip [__Packages.com.newgrounds.encoders.LZW] Frame 0
!!!ERROR
Symbol 88 MovieClip [__Packages.com.newgrounds.ScoreBoard] Frame 0
!!!ERROR
Symbol 89 MovieClip [__Packages.com.newgrounds.Score] Frame 0
!!!ERROR
Symbol 90 MovieClip [__Packages.com.newgrounds.encoders.RC4] Frame 0
!!!ERROR
Symbol 91 MovieClip [__Packages.com.newgrounds.encoders.JSON] Frame 0
!!!ERROR
Symbol 93 MovieClip [__Packages.com.newgrounds.encoders.MD5] Frame 0
!!!ERROR
Symbol 97 MovieClip [__Packages.com.newgrounds.components.FlashAd] Frame 0
!!!ERROR
Symbol 110 MovieClip [__Packages.com.newgrounds.components.PreloaderBar] Frame 0
!!!ERROR
Symbol 155 MovieClip Frame 265
_root.gotoAndPlay(7);
Symbol 161 MovieClip Frame 265
_root.gotoAndPlay(15);
Symbol 163 Button
on (press) {
getURL ("http://ugolegend94.newgrounds.com/", "_blank");
}
Symbol 170 MovieClip Frame 265
_root.gotoAndPlay(19);
Symbol 175 Button
on (press) {
gotoAndPlay (30);
}
on (press) {
stopAllSounds();
}
Symbol 188 Button
on (press) {
nextFrame();
}
Symbol 244 MovieClip Frame 2001
stop();
Symbol 246 MovieClip Frame 2001
stop();
Symbol 327 Button
on (press) {
nextFrame();
}
Symbol 461 MovieClip Frame 135
_root.gotoAndStop(220);
Symbol 466 MovieClip Frame 245
_root.gotoAndStop(225);
Symbol 471 MovieClip Frame 161
_root.gotoAndStop(230);
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 164
_root.gotoAndStop(360);
Symbol 557 MovieClip Frame 628
_root.gotoAndPlay(306);
Symbol 568 MovieClip Frame 776
_root.gotoAndPlay(311);
Symbol 578 MovieClip Frame 15
stop();
Symbol 580 MovieClip Frame 841
_root.gotoAndPlay(314);
Symbol 594 MovieClip Frame 30
stop();
Symbol 598 Button
on (press) {
gotoAndStop (330);
}
Symbol 600 MovieClip Frame 1060
stop();
Symbol 607 MovieClip Frame 493
_root.gotoAndStop(350);
Symbol 611 Button
on (press) {
gotoAndStop (1);
}
on (press) {
stopAllSounds();
}
Symbol 614 Button
on (press) {
gotoAndPlay (301);
}
Symbol 616 Button
on (press) {
gotoAndStop (303);
}