Frame 1
function chance(success_rate) {
temprate = 1 + random(100);
if ((temprate < 50) && (last_rand < 50)) {
temprate = 1 + random(100);
last_rand = temprate;
}
last_rand = temprate;
if (success_rate > temprate) {
return(true);
}
return(false);
}
stop();
var NoMenu = new ContextMenu();
NoMenu.hideBuiltInItems();
this.menu = NoMenu;
_root._quality = "LOW";
athit = new Sound(this);
athit.attachSound("athit");
boostmini = new Sound(this);
boostmini.attachSound("boostmini");
Buster = new Sound(this);
Buster.attachSound("Buster");
cn1 = new Sound(this);
cn1.attachSound("cn1");
damage = new Sound(this);
damage.attachSound("damage ");
pounce = new Sound(this);
pounce.attachSound("pounce");
turbo_run = new Sound(this);
turbo_run.attachSound("turbo_run");
silence = new Sound(this);
silence.attachSound("silence");
Frame 178
gotoAndPlay ("game");
Frame 179
_global.go_right = false;
_global.go_left = false;
_global.go_up = false;
_global.go_down = false;
_global.a_register = false;
_global.a_press = false;
_global.s_press = false;
_global.bullet_count = 0;
_global.hp = 28;
_global.enemy_hp = 28;
_root.vcam.gotoAndStop(2);
Instance of Symbol 20 MovieClip [pellet] "pellet" in Frame 179
onClipEvent (load) {
bullet_speed = 8;
timer = 20;
}
onClipEvent (enterFrame) {
if (activate) {
this._x = this._x + (bullet_speed * facing);
if (timer > 0) {
timer--;
} else {
_global.bullet_count--;
this.removeMovieClip();
}
}
}
Frame 195
stop();
Instance of Symbol 108 MovieClip "exit" in Frame 195
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_parent.play();
}
}
Instance of Symbol 102 MovieClip "hero" in Frame 195
onClipEvent (load) {
movespeed = 5;
standing = true;
size = this._xscale;
jumping = false;
jumpstr = 0;
def_jumpstr = 8;
jumpspd = 2;
jumpboost = 0;
shooting = 0;
count = 0;
hurt = false;
hurting = 0;
knockback = 2;
invincible = 0;
death = false;
}
onClipEvent (enterFrame) {
if ((hurting <= 0) && (hurt == false)) {
if (_global.a_register && (shooting <= 0)) {
shooting = 6;
_parent.Buster.start();
duplicateMovieClip (_root.pellet, ["pellet" + count], 3 + count);
_root["pellet" + count].activate = true;
_root["pellet" + count]._x = this._x + ((this._xscale * 13) / 100);
_root["pellet" + count]._y = this._y - 12.5;
_root["pellet" + count].facing = this._xscale / 100;
count++;
_global.bullet_count++;
}
if (shooting > 0) {
shooting--;
}
if (_currentframe <= 17) {
if (_global.go_right) {
if (!this.hitTest(_root.rightwall)) {
this._x = this._x + movespeed;
this._xscale = size;
}
} else if (_global.go_left) {
if (!this.hitTest(_root.leftwall)) {
this._xscale = -size;
this._x = this._x - movespeed;
}
}
}
if (standing) {
if (_global.go_up || (_global.s_press)) {
standing = false;
this.gotoAndStop("air");
jumping = true;
jumpstr = def_jumpstr;
this._y = this._y - jumpstr;
} else if (_global.go_right || (_global.go_left)) {
if (shooting > 0) {
gotoAndStop ("runshoot");
} else {
this.gotoAndStop("run");
}
} else if (shooting > 0) {
gotoAndStop ("landshoot");
} else {
this.gotoAndStop("standby");
}
}
if (jumping) {
if ((_global.go_up || (_global.s_press)) && (jumpboost < 5)) {
jumpboost++;
} else if (jumpstr > (-def_jumpstr)) {
jumpstr = jumpstr - jumpspd;
}
if (_global.a_register) {
gotoAndPlay ("airshoot");
} else if (_currentframe <= 3) {
gotoAndStop ("air");
}
if (this.hitTest(_root.platform)) {
this._y = 115;
jumpboost = 0;
jumpstr = 0;
standing = true;
jumping = false;
_parent.cn1.start();
this.gotoAndStop("standby");
}
this._y = this._y - jumpstr;
}
} else if (hurt) {
_global.hp = _global.hp - _global.damage;
if (_global.hp <= 0) {
if (death == false) {
this.gotoAndPlay("death");
invincible = 200;
death = true;
}
} else {
this.gotoAndPlay("hurt");
invincible = 24;
hurting = 6;
hurt = false;
}
}
if (hurting > 0) {
this._x = this._x - ((knockback * _xscale) / 100);
hurting--;
}
if (invincible > 0) {
if ((invincible % 2) == 0) {
var c = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
c.setTransform(trans);
} else if ((invincible % 2) == 1) {
var c = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
c.setTransform(trans);
}
invincible--;
} else {
var c = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
c.setTransform(trans);
}
}
Instance of Symbol 112 MovieClip "controller" in Frame 195
onClipEvent (load) {
presstemp = 0;
zoomcount = 0;
}
onClipEvent (enterFrame) {
_parent.silence.start();
if (Key.isDown(38)) {
_root.up_button.gotoAndStop(3);
_root.down_button.gotoAndStop(1);
_global.go_up = true;
_global.go_down = false;
} else if (Key.isDown(40)) {
_root.up_button.gotoAndStop(1);
_root.down_button.gotoAndStop(3);
_global.go_up = false;
_global.go_down = true;
} else {
_root.up_button.gotoAndStop(1);
_root.down_button.gotoAndStop(1);
_global.go_up = false;
_global.go_down = false;
}
if (Key.isDown(39)) {
_root.right_button.gotoAndStop(3);
_root.left_button.gotoAndStop(1);
_global.go_left = false;
_global.go_right = true;
} else if (Key.isDown(37)) {
_root.left_button.gotoAndStop(3);
_root.right_button.gotoAndStop(1);
_global.go_left = true;
_global.go_right = false;
} else {
_root.left_button.gotoAndStop(1);
_root.right_button.gotoAndStop(1);
_global.go_left = false;
_global.go_right = false;
}
if (Key.isDown(65)) {
_global.a_press = true;
_root.a_button.gotoAndStop(3);
if (presstemp == 0) {
_global.a_register = true;
presstemp++;
} else {
_global.a_register = false;
}
} else {
_root.a_button.gotoAndStop(1);
presstemp = 0;
_global.a_press = false;
}
if (_global.a_press == false) {
_global.a_register = false;
}
if (Key.isDown(83)) {
_root.s_button.gotoAndStop(3);
_global.s_press = true;
} else {
_root.s_button.gotoAndStop(1);
_global.s_press = false;
}
if (_global.zooming_in) {
if (zoomcount > 0) {
_root.vcam._xscale = _root.vcam._xscale - (zoomcount * 2);
_root.vcam._yscale = _root.vcam._yscale - (zoomcount * 2);
zoomcount--;
}
}
if (_global.zooming_out) {
if (zoomcount > 0) {
_root.vcam._xscale = _root.vcam._xscale + (zoomcount * 2);
_root.vcam._yscale = _root.vcam._yscale + (zoomcount * 2);
zoomcount--;
}
}
if (_global.runcd > 0) {
_global.runcd--;
}
_root.vcam.camControl();
}
Frame 343
_root.vcam.gotoAndPlay(3);
Frame 399
stop();
_global.go_right = false;
_global.go_left = false;
_global.go_up = false;
_global.go_down = false;
_global.a_register = false;
_global.a_press = false;
_global.s_press = false;
_global.bullet_count = 0;
_global.hp = 28;
_global.enemy_hp = 28;
_global.dews = 100;
_global.damage = 2;
Instance of Symbol 137 MovieClip "bg" in Frame 399
onClipEvent (load) {
shaking = 0;
shake = 4;
}
onClipEvent (enterFrame) {
if (shaking > 0) {
this._y = this._y + shake;
shake = shake * -1;
shaking--;
}
}
Instance of Symbol 108 MovieClip "leftwall" in Frame 399
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero.death == false)) {
_root.hero._x = _root.hero._x + _root.hero.movespeed;
}
if (_root.lilly.hitTest(this) && (_root.lilly.death == false)) {
_root.lilly._x = _root.lilly._x + (_root.lilly.movespeed / 2);
}
}
Instance of Symbol 108 MovieClip "rightwall" in Frame 399
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_root.hero.death == false)) {
_root.hero._x = _root.hero._x - _root.hero.movespeed;
}
if (_root.lilly.hitTest(this) && (_root.lilly.death == false)) {
_root.lilly._x = _root.lilly._x - (_root.lilly.movespeed / 2);
}
}
Instance of Symbol 102 MovieClip "hero" in Frame 399
onClipEvent (load) {
movespeed = 5;
standing = true;
size = this._xscale;
jumping = false;
jumpstr = 0;
def_jumpstr = 8;
jumpspd = 2;
jumpboost = 0;
shooting = 0;
count = 0;
hurt = false;
hurting = 0;
knockback = 2;
invincible = 0;
death = false;
}
onClipEvent (enterFrame) {
if ((hurting <= 0) && (hurt == false)) {
if (_global.a_register && (shooting <= 0)) {
shooting = 6;
_parent.Buster.start();
duplicateMovieClip (_root.pellet, ["pellet" + count], 3 + count);
_root["pellet" + count].activate = true;
_root["pellet" + count]._x = this._x + ((this._xscale * 13) / 100);
_root["pellet" + count]._y = this._y - 12.5;
_root["pellet" + count].facing = this._xscale / 100;
count++;
_global.bullet_count++;
}
if (shooting > 0) {
shooting--;
}
if (_currentframe <= 17) {
if (_global.go_right) {
if (!this.hitTest(_root.rightwall)) {
this._x = this._x + movespeed;
this._xscale = size;
}
} else if (_global.go_left) {
if (!this.hitTest(_root.leftwall)) {
this._xscale = -size;
this._x = this._x - movespeed;
}
}
}
if (standing) {
if (_global.go_up || (_global.s_press)) {
standing = false;
this.gotoAndStop("air");
jumping = true;
jumpstr = def_jumpstr;
this._y = this._y - jumpstr;
} else if (_global.go_right || (_global.go_left)) {
if (shooting > 0) {
gotoAndStop ("runshoot");
} else {
this.gotoAndStop("run");
}
} else if (shooting > 0) {
gotoAndStop ("landshoot");
} else {
this.gotoAndStop("standby");
}
}
if (jumping) {
if ((_global.go_up || (_global.s_press)) && (jumpboost < 5)) {
jumpboost++;
} else if (jumpstr > (-def_jumpstr)) {
jumpstr = jumpstr - jumpspd;
}
if (_global.a_register) {
gotoAndPlay ("airshoot");
} else if (_currentframe <= 3) {
gotoAndStop ("air");
}
if (this.hitTest(_root.platform2)) {
this._y = 196;
jumpboost = 0;
jumpstr = 0;
standing = true;
jumping = false;
_parent.cn1.start();
this.gotoAndStop("standby");
}
this._y = this._y - jumpstr;
}
} else if (hurt) {
_global.hp = _global.hp - _global.damage;
if (_global.hp <= 0) {
if (death == false) {
_parent.nextFrame();
this.gotoAndPlay("death");
invincible = 200;
death = true;
}
} else {
_parent.damage.start();
this.gotoAndPlay("hurt");
invincible = 24;
hurting = 6;
jumpboost = 5;
jumpstr = 0;
hurt = false;
}
}
if (hurting > 0) {
this._x = this._x - ((knockback * _xscale) / 100);
hurting--;
}
if (invincible > 0) {
if ((invincible % 2) == 0) {
var c = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
c.setTransform(trans);
} else if ((invincible % 2) == 1) {
var c = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
c.setTransform(trans);
}
invincible--;
} else {
var c = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
c.setTransform(trans);
}
}
Instance of Symbol 20 MovieClip [pellet] "pellet" in Frame 399
onClipEvent (load) {
bullet_speed = 8;
timer = 20;
}
onClipEvent (enterFrame) {
if (activate) {
this._x = this._x + (bullet_speed * facing);
if (this.hitTest(_root.leftwall) || (this.hitTest(_root.rightwall))) {
_global.bullet_count--;
this.removeMovieClip();
}
if (this.hitTest(_root.lilly) && (_root.lilly.death == false)) {
_global.bullet_count--;
if (_root.lilly.invincible <= 0) {
_root.lilly.hurt = true;
}
_parent.athit.start();
this.removeMovieClip();
}
}
}
Instance of Symbol 160 MovieClip "lilly" in Frame 399
onClipEvent (load) {
movespeed = 8;
jump_x = 0;
atkmode = 0;
x_lock = 0;
cooldown = 24;
def_cooldown = 24;
count = 0;
jumpspd = 0;
def_jumpspd = 24;
jumpstr = 3;
hurt = false;
invincible = 0;
death = false;
slidechance = 0;
}
onClipEvent (enterFrame) {
if (death == false) {
if ((atkmode == 0) && (cooldown <= 0)) {
if (_root.hero._x > this._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (Math.abs(_root.hero._x - this._x) > 80) {
if (_parent.chance(50 + slidechance)) {
_parent.turbo_run.start();
this.gotoAndPlay("slide");
atkmode = 2;
x_lock = _root.hero._x;
slidechance = 0;
} else {
slidechance = slidechance + 10;
this.gotoAndPlay("atk1");
atkmode = 1;
}
} else {
this.gotoAndPlay("jumpup");
jumpspd = def_jumpspd;
atkmode = 3;
x_lock = _root.hero._x;
jump_x = (this._x - x_lock) / 14;
}
} else if ((atkmode == 0) && (cooldown > 0)) {
cooldown--;
this.gotoAndStop("standby");
}
if (atkmode == 1) {
if (_currentframe == 7) {
duplicateMovieClip (_root.teacup, ["teacup" + count], 190 + count);
_root["teacup" + count].activate = true;
_root["teacup" + count]._x = this._x - ((this._xscale * 20) / 100);
_root["teacup" + count]._y = this._y;
_root["teacup" + count].facing = (-this._xscale) / 100;
count++;
}
}
if (atkmode == 2) {
if (_currentframe == 24) {
if (Math.abs(x_lock - this._x) > 10) {
this._x = this._x - ((movespeed * this._xscale) / 100);
} else {
this.gotoAndPlay("atk2");
}
}
if ((_currentframe > 24) && (_currentframe < 28)) {
this._x = this._x - ((movespeed * this._xscale) / 300);
}
}
if (atkmode == 3) {
if (jumpspd < (-def_jumpspd)) {
_parent.cn1.start();
this.gotoAndPlay("atk3");
atkmode = 4;
} else {
this._y = this._y - jumpspd;
jumpspd = jumpspd - jumpstr;
this._x = this._x - jump_x;
}
if ((jumpspd < 0) && (jumpspd >= (-def_jumpspd))) {
this.gotoAndStop("jumpdown");
}
}
if (atkmode == 4) {
if (_currentframe == 47) {
_parent.pounce.start();
_root.bg.shaking = 4;
duplicateMovieClip (_root.smashcup, ["smashcup" + count], 10 + count);
_root["smashcup" + count].activate = true;
_root["smashcup" + count]._x = this._x;
_root["smashcup" + count]._y = this._y;
_root["smashcup" + count].flyspeed = 12 + random(6);
_root["smashcup" + count].gravity = 2;
_root["smashcup" + count].movespeed = 3;
_root["smashcup" + count].facing = 1;
count++;
duplicateMovieClip (_root.smashcup, ["smashcup" + count], 10 + count);
_root["smashcup" + count].activate = true;
_root["smashcup" + count]._x = this._x;
_root["smashcup" + count]._y = this._y;
_root["smashcup" + count].flyspeed = 12 + random(7);
_root["smashcup" + count].gravity = 2;
_root["smashcup" + count].movespeed = 2 + random(2);
_root["smashcup" + count].facing = -1;
count++;
duplicateMovieClip (_root.smashcup, ["smashcup" + count], 10 + count);
_root["smashcup" + count].activate = true;
_root["smashcup" + count]._x = this._x;
_root["smashcup" + count]._y = this._y;
_root["smashcup" + count].flyspeed = 8 + random(2);
_root["smashcup" + count].gravity = 1.5;
_root["smashcup" + count].movespeed = 3 + random(1);
_root["smashcup" + count].facing = 1;
count++;
duplicateMovieClip (_root.smashcup, ["smashcup" + count], 10 + count);
_root["smashcup" + count].activate = true;
_root["smashcup" + count]._x = this._x;
_root["smashcup" + count]._y = this._y;
_root["smashcup" + count].flyspeed = 6 + random(4);
_root["smashcup" + count].gravity = 1.5;
_root["smashcup" + count].movespeed = 3;
_root["smashcup" + count].facing = -1;
count++;
duplicateMovieClip (_root.smashcup, ["smashcup" + count], 10 + count);
_root["smashcup" + count].activate = true;
_root["smashcup" + count]._x = this._x;
_root["smashcup" + count]._y = this._y;
_root["smashcup" + count].flyspeed = 12 + random(4);
_root["smashcup" + count].gravity = 1.5;
_root["smashcup" + count].movespeed = 3;
_root["smashcup" + count].facing = 1;
count++;
duplicateMovieClip (_root.smashcup, ["smashcup" + count], 10 + count);
_root["smashcup" + count].activate = true;
_root["smashcup" + count]._x = this._x;
_root["smashcup" + count]._y = this._y;
_root["smashcup" + count].flyspeed = 8 + random(4);
_root["smashcup" + count].gravity = 1;
_root["smashcup" + count].movespeed = 4;
_root["smashcup" + count].facing = -1;
count++;
}
}
if (this.hitTest(_root.hero)) {
if (_root.hero.invincible <= 0) {
_root.hero.hurt = true;
_global.damage = 3;
}
}
}
if (hurt == true) {
_global.enemy_hp = _global.enemy_hp - 1;
if (_global.enemy_hp <= 0) {
if (death == false) {
death = true;
_parent.nextFrame();
this.gotoAndPlay("death");
invincible = 200;
}
} else {
this.attachMovie("hurt_flash", "hurt_flash" + count, random(100));
invincible = 12;
hurt = false;
}
}
if (invincible > 0) {
if ((invincible % 2) == 0) {
var c = new Color(this);
var trans = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50"};
c.setTransform(trans);
} else if ((invincible % 2) == 1) {
var c = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
c.setTransform(trans);
}
invincible--;
} else {
var c = new Color(this);
var trans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
c.setTransform(trans);
}
}
Instance of Symbol 163 MovieClip "teacup" in Frame 399
onClipEvent (load) {
movespeed = 4;
}
onClipEvent (enterFrame) {
if (activate) {
this._x = this._x + (movespeed * facing);
if (this.hitTest(_root.leftwall) || (this.hitTest(_root.rightwall))) {
_parent.attachMovie("dew", "dew" + _global.dews, _global.dews);
_root["dew" + _global.dews]._x = this._x;
_root["dew" + _global.dews]._y = this._y;
_parent.boostmini.start();
this.removeMovieClip();
}
if (this.hitTest(_root.hero)) {
if (_root.hero.invincible <= 0) {
_root.hero.hurt = true;
_global.damage = 3;
}
_parent.attachMovie("dew", "dew" + _global.dews, _global.dews);
_root["dew" + _global.dews]._x = this._x;
_root["dew" + _global.dews]._y = this._y;
this.removeMovieClip();
}
}
}
Instance of Symbol 162 MovieClip "smashcup" in Frame 399
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (activate) {
this._x = this._x + (movespeed * facing);
this._y = this._y - flyspeed;
flyspeed = flyspeed - gravity;
_rotation = (_rotation + (10 * facing));
if ((this.hitTest(_root.leftwall) || (this.hitTest(_root.rightwall))) || (this.hitTest(_root.platform2))) {
_parent.attachMovie("dew", "dew" + _global.dews, _global.dews);
_root["dew" + _global.dews]._x = this._x;
_root["dew" + _global.dews]._y = this._y;
_parent.boostmini.start();
this.removeMovieClip();
}
if (this.hitTest(_root.hero)) {
if (_root.hero.invincible <= 0) {
_root.hero.hurt = true;
_global.damage = 3;
}
_parent.attachMovie("dew", "dew" + _global.dews, _global.dews);
_root["dew" + _global.dews]._x = this._x;
_root["dew" + _global.dews]._y = this._y;
this.removeMovieClip();
}
}
}
Instance of Symbol 112 MovieClip "controller" in Frame 399
onClipEvent (load) {
presstemp = 0;
zoomcount = 0;
}
onClipEvent (enterFrame) {
_parent.silence.start();
if (Key.isDown(38)) {
_root.up_button.gotoAndStop(3);
_root.down_button.gotoAndStop(1);
_global.go_up = true;
_global.go_down = false;
} else if (Key.isDown(40)) {
_root.up_button.gotoAndStop(1);
_root.down_button.gotoAndStop(3);
_global.go_up = false;
_global.go_down = true;
} else {
_root.up_button.gotoAndStop(1);
_root.down_button.gotoAndStop(1);
_global.go_up = false;
_global.go_down = false;
}
if (Key.isDown(39)) {
_root.right_button.gotoAndStop(3);
_root.left_button.gotoAndStop(1);
_global.go_left = false;
_global.go_right = true;
} else if (Key.isDown(37)) {
_root.left_button.gotoAndStop(3);
_root.right_button.gotoAndStop(1);
_global.go_left = true;
_global.go_right = false;
} else {
_root.left_button.gotoAndStop(1);
_root.right_button.gotoAndStop(1);
_global.go_left = false;
_global.go_right = false;
}
if (Key.isDown(65)) {
_global.a_press = true;
_root.a_button.gotoAndStop(3);
if (presstemp == 0) {
_global.a_register = true;
presstemp++;
} else {
_global.a_register = false;
}
} else {
_root.a_button.gotoAndStop(1);
presstemp = 0;
_global.a_press = false;
}
if (_global.a_press == false) {
_global.a_register = false;
}
if (Key.isDown(83)) {
_root.s_button.gotoAndStop(3);
_global.s_press = true;
} else {
_root.s_button.gotoAndStop(1);
_global.s_press = false;
}
if (_global.zooming_in) {
if (zoomcount > 0) {
_root.vcam._xscale = _root.vcam._xscale - (zoomcount * 2);
_root.vcam._yscale = _root.vcam._yscale - (zoomcount * 2);
zoomcount--;
}
}
if (_global.zooming_out) {
if (zoomcount > 0) {
_root.vcam._xscale = _root.vcam._xscale + (zoomcount * 2);
_root.vcam._yscale = _root.vcam._yscale + (zoomcount * 2);
zoomcount--;
}
}
if (_global.runcd > 0) {
_global.runcd--;
}
_root.vcam.camControl();
}
Frame 401
_root.vcam.gotoAndStop(1);
Symbol 16 MovieClip [dew] Frame 5
this.removeMovieClip();
Symbol 18 MovieClip [hurt_flash] Frame 4
this.removeMovieClip();
Symbol 40 Button
on (release) {
play();
}
Symbol 49 MovieClip Frame 1
stop();
function inputenemy(enemy_name, enemy_hp, enemy_maxhp, enemy_type) {
enemymenu._alpha = 100;
enemymenu.timer = 100;
enemymenu.input_enemy(enemy_name, enemy_hp, enemy_maxhp, enemy_type);
}
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_local4 = sX / this._width;
_local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = (100 + zoom) * _local4;
_parent._yscale = (100 + zoom) * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
zoom = 0;
Symbol 49 MovieClip Frame 2
stop();
Instance of Symbol 47 MovieClip in Symbol 49 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_global.hp > 0) {
this._yscale = (-((_global.hp - 28) / 28)) * 100;
} else {
this._yscale = 100;
}
}
Symbol 49 MovieClip Frame 29
stop();
Instance of Symbol 47 MovieClip in Symbol 49 MovieClip Frame 29
onClipEvent (enterFrame) {
if (_global.enemy_hp > 0) {
this._yscale = (-((_global.enemy_hp - 28) / 28)) * 100;
} else {
this._yscale = 100;
}
}
Symbol 58 MovieClip Frame 4
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 10
gotoAndStop ("run");
Symbol 102 MovieClip Frame 17
gotoAndStop ("air");
Symbol 102 MovieClip Frame 21
gotoAndStop ("standby");
Symbol 102 MovieClip Frame 28
_root.hero.hurt = false;
gotoAndStop ("standby");
Symbol 102 MovieClip Frame 76
_parent.gotoAndPlay("start");
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 21
gotoAndStop (1);
_root.lilly.atkmode = 0;
_root.lilly.cooldown = 10;
Symbol 160 MovieClip Frame 24
stop();
Symbol 160 MovieClip Frame 33
gotoAndStop (1);
_root.lilly.atkmode = 0;
_root.lilly.cooldown = 12;
Symbol 160 MovieClip Frame 37
stop();
Symbol 160 MovieClip Frame 65
gotoAndStop (1);
_root.lilly.atkmode = 0;
_root.lilly.cooldown = 12;
Symbol 160 MovieClip Frame 248
_parent.gotoAndPlay("win");