Combined Code
frame 85 {
stop();
}
// unknown tag 88 length 68
button 10 {
on (release) {
stopAllSounds();
gotoAndStop(88);
}
}
button 12 {
on (release) {
stopAllSounds();
gotoAndStop(86);
}
}
button 22 {
on (release) {
gotoAndPlay(1);
}
}
button 29 {
on (release) {
stopAllSounds();
gotoAndPlay(1);
}
}
movieClip 41 {
}
movieClip 42 {
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
instance of movieClip 41 {
onClipEvent (load) {
var frame = random(3) + 1;
var vx = 0;
var vy = 0;
var speed = 0.2 + random(25) * 0.017;
var timer = -80 + random(80);
var patience = 25 + random(25);
var angle = Math.random() * 2 * Math.PI;
}
onClipEvent (enterFrame) {
var X = this._x + _root.map._x;
var Y = this._y + _root.map._y;
var dx = _root.renge._x - X;
var dy = _root.renge._y - Y;
var dSq = dx * dx + dy * dy;
if (dSq < 9000) {
timer = patience;
}
--timer;
if (timer > 0) {
angle = Math.atan2(dy, dx);
vx += Math.cos(angle) * speed;
vy += Math.sin(angle) * speed;
this.gotoAndStop(frame * 2);
} else {
if (timer < -100) {
vx += Math.cos(angle) * speed * 0.5;
vy += Math.sin(angle) * speed * 0.5;
if (timer < -140) {
timer = -80 + random(80);
angle = Math.random() * 2 * Math.PI;
}
}
this.gotoAndStop(frame * 2 - 1);
}
vx *= 0.85;
vy *= 0.85;
X += vx;
Y += vy;
if (_root.map.walls.hitTest(X, Y - 15, true)) {
Y += speed;
vy = speed;
}
if (_root.map.walls.hitTest(X, Y + 15, true)) {
Y -= speed;
vy = -speed;
}
if (_root.map.walls.hitTest(X - 15, Y, true)) {
X += speed;
vx = speed;
}
if (_root.map.walls.hitTest(X + 15, Y, true)) {
X -= speed;
vx = -speed;
}
if (_root.dynamite.hitTest(X, Y, true)) {
X = 100000;
Y = 100000;
}
this._x = X - _root.map._x;
this._y = Y - _root.map._y;
}
}
}
movieClip 49 {
frame 1 {
stop();
}
}
movieClip 52 {
}
movieClip 55 {
frame 1 {
stop();
}
}
movieClip 57 {
frame 28 {
gotoAndPlay(1);
}
}
movieClip 60 {
}
movieClip 63 {
}
movieClip 64 {
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(2);
_root.renge.nyanpassu += 1;
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(2);
_root.renge.nyanpassu += 1;
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(2);
_root.renge.nyanpassu += 1;
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(2);
_root.renge.nyanpassu += 1;
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(2);
_root.renge.nyanpassu += 1;
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(2);
_root.renge.nyanpassu += 1;
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(2);
_root.renge.nyanpassu += 1;
}
}
}
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
instance of movieClip 57 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(29);
_root.map.walls.nextFrame();
}
}
}
instance of movieClip 57 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(29);
_root.map.walls.nextFrame();
}
}
}
instance of movieClip 57 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
this._x += 10000;
this.gotoAndStop(29);
_root.map.walls.nextFrame();
}
}
}
instance of movieClip 60 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
_root.nextFrame();
}
}
}
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
instance of movieClip 63 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.gotoAndPlay(135);
_root.renge.gotoAndStop(4);
this._x += 100000;
}
}
}
}
instance of movieClip 63 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.gotoAndPlay(135);
_root.renge.gotoAndStop(4);
this._x += 100000;
}
}
}
}
instance of movieClip 63 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.gotoAndPlay(135);
_root.renge.gotoAndStop(4);
this._x += 100000;
}
}
}
}
}
instance map of movieClip 64 {
onClipEvent (load) {
var vx = 0;
var vy = 0;
var speed = 1.35;
var weapon = 0;
var spaceDown = false;
var timer = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
speed = 8;
--timer;
} else {
speed = 1.35;
}
if (Key.isDown(87)) {
vy += speed;
} else {
if (Key.isDown(83)) {
vy -= speed;
}
}
if (Key.isDown(65)) {
vx += speed;
} else {
if (Key.isDown(68)) {
vx -= speed;
}
}
if (Key.isDown(32)) {
if (!spaceDown) {
spaceDown = true;
if (_root.renge.dynamite == true) {
_root.dynamite.play();
_root.renge.dynamite = false;
} else {
if (_root.dynamite._currentframe == 161) {
_root.dynamite.gotoAndPlay(162);
_root.renge.gotoAndStop(1);
timer = 200;
}
}
}
} else {
spaceDown = false;
}
if (timer > 0) {
vx *= 0.5;
vy *= 0.5;
} else {
vx *= 0.75;
vy *= 0.75;
}
this._x += vx;
this._y += vy;
if (this.walls.hitTest(_root.renge._x, _root.renge._y + 15, true)) {
this._y += speed;
vy = speed;
}
if (this.walls.hitTest(_root.renge._x, _root.renge._y - 15, true)) {
this._y -= speed;
vy = -speed;
}
if (this.walls.hitTest(_root.renge._x + 15, _root.renge._y, true)) {
this._x += speed;
vx = speed;
}
if (this.walls.hitTest(_root.renge._x - 15, _root.renge._y, true)) {
this._x -= speed;
vx = -speed;
}
if (this.enemy.hitTest(_root.renge._x, _root.renge._y, true)) {
_root.gotoAndStop(87);
}
}
}
movieClip 70 {
frame 1 {
stop();
}
}
instance renge of movieClip 70 {
onClipEvent (load) {
var nyanpassu = 0;
var dynamite = false;
var alternate = false;
}
}
movieClip 109 {
frame 1 {
stop();
}
frame 2 {
_root.renge.gotoAndStop(2);
}
frame 56 {
_root.renge.dynamite = true;
stop();
}
frame 57 {
_root.renge.gotoAndStop(3);
}
frame 118 {
_root.renge.gotoAndStop(1);
}
frame 134 {
gotoAndStop(1);
}
frame 161 {
stop();
}
frame 162 {
gotoAndStop(1);
}
}
movieClip 114 {
frame 1 {
stop();
}
}
movieClip 117 {
}
movieClip 119 {
}
movieClip 122 {
}
movieClip 123 {
}
movieClip 126 {
}
movieClip 129 {
frame 366 {
gotoAndPlay(84);
}
}
movieClip 130 {
frame 1 {
stop();
}
frame 4 {
_root.renge.alternate = true;
_root.map.walls.nextFrame();
}
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 134 {
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
instance of movieClip 133 {
onClipEvent (enterFrame) {
if (_root.dynamite.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
_root.map.enemy.boss.nextFrame();
this._x += 10000;
}
}
}
instance of movieClip 133 {
onClipEvent (enterFrame) {
if (_root.dynamite.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
_root.map.enemy.boss.nextFrame();
this._x += 10000;
}
}
}
instance of movieClip 133 {
onClipEvent (enterFrame) {
if (_root.dynamite.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
_root.map.enemy.boss.nextFrame();
this._x += 10000;
}
}
}
instance of movieClip 52 {
onClipEvent (enterFrame) {
if (_root.renge.hitTest(_root.map._x + this._x, _root.map._y + this._y, true)) {
if (!_root.renge.dynamite and _root.dynamite._currentframe == 1) {
_root.dynamite.play();
this._x += 100000;
}
}
}
}
}
instance map of movieClip 134 {
onClipEvent (load) {
var vx = 0;
var vy = 0;
var speed = 1.35;
var weapon = 0;
var spaceDown = false;
var timer = 0;
}
onClipEvent (enterFrame) {
if (timer > 0) {
speed = 8;
--timer;
} else {
speed = 1.35;
}
if (Key.isDown(87)) {
vy += speed;
} else {
if (Key.isDown(83)) {
vy -= speed;
}
}
if (Key.isDown(65)) {
vx += speed;
} else {
if (Key.isDown(68)) {
vx -= speed;
}
}
if (Key.isDown(32)) {
if (!spaceDown) {
spaceDown = true;
if (_root.renge.dynamite == true) {
_root.dynamite.play();
_root.renge.dynamite = false;
} else {
if (_root.dynamite._currentframe == 161) {
_root.dynamite.gotoAndPlay(162);
_root.renge.gotoAndStop(1);
timer = 200;
}
}
}
} else {
spaceDown = false;
}
if (timer > 0) {
vx *= 0.5;
vy *= 0.5;
} else {
vx *= 0.75;
vy *= 0.75;
}
this._x += vx;
this._y += vy;
if (this.walls.hitTest(_root.renge._x, _root.renge._y + 15, true)) {
this._y += speed;
vy = speed;
}
if (this.walls.hitTest(_root.renge._x, _root.renge._y - 15, true)) {
this._y -= speed;
vy = -speed;
}
if (this.walls.hitTest(_root.renge._x + 15, _root.renge._y, true)) {
this._x += speed;
vx = speed;
}
if (this.walls.hitTest(_root.renge._x - 15, _root.renge._y, true)) {
this._x -= speed;
vx = -speed;
}
if (this.enemy.hitTest(_root.renge._x, _root.renge._y, true)) {
if (_root.renge.alternate) {
_root.gotoAndPlay(90);
} else {
_root.gotoAndStop(87);
}
}
}
}
movieClip 138 {
}
// unknown tag 88 length 63