Frame 1
MochiAd.showPreloaderAd({id:"ce4b39e01b4b9625", res:"600x580"});
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
fscommand ("showmenu", "fasle");
Frame 3
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
} else {
stop();
}
Instance of Symbol 132 MovieClip in Frame 12
//component parameters
onClipEvent (construct) {
_game_name = "little_fat_ninja";
score_var = "_root.total_score_n";
}
Frame 36
Frame 120
function init_load() {
game_difficulty_s = "NORMAL";
_quality = "MEDIUM";
stage_width_n = 600;
stage_height_n = 580;
music_on_bo = true;
sound_on_bo = true;
}
function turn_to(direction_s) {
_root.gotoAndStop(direction_s);
}
function load_music() {
if (!main_music_mc) {
var _local3 = _root.getNextHighestDepth();
this.createEmptyMovieClip("main_music_mc", _local3);
this.createEmptyMovieClip("game_over_music_mc", _local3 + 1);
main_music = new Sound(main_music_mc);
main_music.attachSound("main_music_sd");
game_over_music = new Sound(game_over_music_mc);
game_over_music.attachSound("game_over_sd");
}
game_over_music.stop();
main_music.stop();
main_music.start(0, 999);
main_music.setVolume(60);
}
function load_sound() {
if (!sound_mc) {
var _local3 = _root.getNextHighestDepth();
this.createEmptyMovieClip("sound_mc", _local3);
boom_sd = new Sound(sound_mc);
boom_sd.attachSound("boom_sd");
button_sd = new Sound(sound_mc);
button_sd.attachSound("button_sd");
jump_sd = new Sound(sound_mc);
jump_sd.attachSound("jump_sd");
power_up_sd = new Sound(sound_mc);
power_up_sd.attachSound("power_up_sd");
throw_sd = new Sound(sound_mc);
throw_sd.attachSound("throw_sd");
hit_boss_sd = new Sound(sound_mc);
hit_boss_sd.attachSound("hit_boss_sd");
hit_role_sd = new Sound(sound_mc);
hit_role_sd.attachSound("hit_role_sd");
electricity_sd = new Sound(sound_mc);
electricity_sd.attachSound("electricity_sd");
}
}
function init_main_music() {
game_over_music.stop();
main_music.stop();
main_music.start(0, 999);
if (!music_on_bo) {
main_music.setVolume(0);
} else {
main_music.setVolume(60);
}
}
function init_game_over_music() {
if (music_on_bo) {
main_music.stop();
game_over_music.stop();
game_over_music.start(0, 999);
game_over_music.setVolume(60);
}
}
function init_sound() {
if (!sound_on_bo) {
boom_sd.setVolume(0);
button_sd.setVolume(0);
jump_sd.setVolume(0);
power_up_sd.setVolume(0);
throw_sd.setVolume(0);
hit_boss_sd.setVolume(0);
hit_role_sd.setVolume(0);
electricity_sd.setVolume(0);
} else {
boom_sd.setVolume(100);
button_sd.setVolume(100);
jump_sd.setVolume(100);
power_up_sd.setVolume(100);
throw_sd.setVolume(100);
hit_boss_sd.setVolume(100);
hit_role_sd.setVolume(100);
electricity_sd.setVolume(100);
}
}
init_load();
turn_to("start_menu");
load_music();
load_sound();
Frame 129
function clear_scene() {
level_mc.removeMovieClip();
game_menu_mc.removeMovieClip();
game_layout_mc.removeMovieClip();
game_pause_mc.removeMovieClip();
game_pass_mc.removeMovieClip();
game_over_mc.removeMovieClip();
game_end_mc.removeMovieClip();
}
function init_scene() {
play_type_s = "level";
game_start_bo = false;
game_pause_bo = true;
game_pass_bo = false;
game_over_bo = false;
game_end_bo = false;
score_counted_bo = false;
noted_bo = false;
total_score_n = 0;
role_life_num_n = 10;
unattack_num_n = 5;
undrop_num_n = 5;
bounce_num_n = 5;
through_num_n = 5;
game_level_a = new Array("", "level1", "level2", "level3", "level4", "level5");
level_label_a = new Array("", "Level 1", "Level 2", "Level 3", "Level 4", "Level 5");
var _local2 = this.getNextHighestDepth();
scene_masker.removeMovieClip();
var scene_masker = this.attachMovie("scene_masker", "scene_masker", _local2);
}
function init_bt() {
play_bt.onPress = function () {
level_num_n = 1;
gotoAndPlay ("demo");
};
retry_bt.onPress = function () {
gotoAndPlay ("game_scene");
};
view_highscores.onPress = function () {
viewHighscore();
};
more_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/", "_blank");
};
download_bt.onPress = function () {
getURL ("http://www.ifungames.com", "_blank");
};
setting_bt.onPress = function () {
};
add_game_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
};
main_menu_bt.onPress = function () {
gotoAndPlay ("start_menu");
};
}
stop();
clear_scene();
init_main_music();
init_sound();
init_scene();
init_bt();
Instance of Symbol 1032 MovieClip in Frame 129
on (release) {
getURL ("http://www.freeworldgroup.com/", _blank);
}
Frame 140
stop();
Frame 141
gotoAndStop ("game_scene");
Frame 144
function init_game() {
if (play_type_s == "floor") {
game_start_bo = true;
game_pause_bo = false;
return(undefined);
}
floor_num_n = 1;
pass_allow_bo = false;
game_start_bo = false;
game_pause_bo = true;
hit_layout_bo = false;
line_type_s = "NORMAL";
key_num_n = 0;
draw_num_n = 0;
kill_enemy_num_n = 0;
meney_num_n = 0;
food_num_n = 0;
level_score_n = 0;
used_time_n = 0;
prev_time_n = 0;
powerup_type_s = "NONE";
unattack_bo = false;
undrop_bo = false;
bounce_bo = false;
bounce_time_n = 5000;
check_bounce = function () {
if (!bounce_bo) {
return(undefined);
}
if (!old_bounce_time_n) {
old_bounce_time_n = getTimer();
}
new_bounce_time_n = getTimer();
pass_bounce_time_n = new_bounce_time_n - old_bounce_time_n;
if (pass_bounce_time_n < bounce_time_n) {
return(undefined);
}
bounce_bo = false;
old_bounce_time_n = null;
};
}
function load_game_level() {
var _local2 = this.getNextHighestDepth();
var _local4 = this.attachMovie(game_level_a[level_num_n], "level_mc", _local2);
var _local3 = this.attachMovie("game_layout_mc", "game_layout_mc", _local2 + 1);
_local3._y = 0;
scene_masker.removeMovieClip();
var scene_masker = this.attachMovie("scene_masker", "scene_masker", _local2 + 2);
}
function check_game_over() {
if (role_life_num_n == 0) {
game_over_bo = true;
}
if (game_over_bo) {
var _local2 = this.getNextHighestDepth();
var _local3 = this.attachMovie("game_over_mc", "game_over_mc", _local2);
dis_over_score();
init_game_over_music();
game_pause_bo = true;
delete onEnterFrame;
}
}
function check_game_end() {
if (game_over_bo) {
return(undefined);
}
if (game_end_bo) {
var _local2 = this.getNextHighestDepth();
var _local3 = this.attachMovie("game_end_mc", "game_end_mc", _local2);
turn_to("game_end");
delete onEnterFrame;
}
}
function check_game_pass() {
if (game_over_bo) {
return(undefined);
}
if (game_end_bo) {
return(undefined);
}
if (game_pass_bo) {
var _local2 = this.getNextHighestDepth();
var _local3 = this.attachMovie("game_pass_mc", "game_pass_mc", _local2);
turn_to("game_pass");
delete onEnterFrame;
}
}
function start_game_pass() {
}
function check_game_pause() {
if (!game_start_bo) {
return(undefined);
}
if (game_pass_bo) {
return(undefined);
}
if (game_over_bo) {
return(undefined);
}
if (game_end_bo) {
return(undefined);
}
game_pause_bo = !game_pause_bo;
if (game_pause_bo) {
var _local2 = this.getNextHighestDepth();
var _local3 = this.attachMovie("game_pause_mc", "game_pause_mc", _local2);
} else {
game_pause_mc.removeMovieClip();
}
}
function update_score() {
}
function dis_game_score() {
with (game_layout_mc) {
if (!pass_minute_n) {
pass_minute_n = 0;
}
if (!pass_second_n) {
pass_second_n = 0;
}
if (!game_start_bo) {
pass_minute_n = 0;
pass_second_n = 0;
}
level_txt.text = level_num_n;
floor_txt.text = floor_num_n;
minute_txt.text = pass_minute_n;
second_txt.text = pass_second_n;
score_txt.text = Math.floor(total_score_n);
life_num_txt.text = role_life_num_n;
unattack_num_txt.text = unattack_num_n;
undrop_num_txt.text = undrop_num_n;
bounce_num_txt.text = bounce_num_n;
through_num_txt.text = through_num_n;
}
}
function dis_pass_score() {
if (score_counted_bo) {
return(undefined);
}
score_counted_bo = true;
var time_bonus_score_n = 1000;
var life_bonus_score_n = 0;
var draw_bonus_score_n = 1000;
var draw_score_n = 50;
var time_score_n = 5;
var life_score_n = 100;
draw_bonus_score_n = draw_bonus_score_n - (draw_score_n * draw_num_n);
draw_bonus_score_n = Math.floor(draw_bonus_score_n);
time_bonus_score_n = time_bonus_score_n - ((time_score_n * used_time_n) / 1000);
time_bonus_score_n = Math.floor(time_bonus_score_n);
if (draw_bonus_score_n < 0) {
draw_bonus_score_n = 0;
}
if (time_bonus_score_n < 0) {
time_bonus_score_n = 0;
}
life_bonus_score_n = life_bonus_score_n + (life_score_n * role_life_num_n);
temp_high_score_n = (draw_bonus_score_n + time_bonus_score_n) + life_bonus_score_n;
temp_high_score_n = Math.floor(temp_high_score_n);
level_score_n = level_score_n + temp_high_score_n;
total_score_n = total_score_n + temp_high_score_n;
total_score_n = Math.floor(total_score_n);
with (game_pass_mc) {
minute_txt.text = pass_minute_n;
second_txt.text = pass_second_n;
life_num_txt.text = role_life_num_n;
draw_num_txt.text = draw_num_n;
time_bonus_num_txt.text = time_bonus_score_n;
life_bonus_num_txt.text = life_bonus_score_n;
draw_bonus_num_txt.text = draw_bonus_score_n;
level_score_txt.text = level_score_n;
total_score_txt.text = total_score_n;
}
}
function dis_over_score() {
if (score_counted_bo) {
return(undefined);
}
score_counted_bo = true;
total_score_n = Math.floor(total_score_n);
}
function get_game_time() {
if (game_pause_bo) {
prev_time_n = getTimer();
return(undefined);
}
if (!game_start_bo) {
return(undefined);
}
if (game_pass_bo) {
return(undefined);
}
if (game_over_bo) {
return(undefined);
}
if (game_end_bo) {
return(undefined);
}
current_time_n = getTimer();
if (!prev_time_n) {
prev_time_n = current_time_n;
}
used_time_n = used_time_n + (current_time_n - prev_time_n);
prev_time_n = getTimer();
pass_minute_n = Math.floor((used_time_n / 1000) / 60);
pass_second_n = Math.floor((used_time_n / 1000) % 60);
}
function detect_layout() {
hit_layout_bo = game_layout_mc.hitTest(_xmouse, _ymouse, true);
}
function onEnterFrame() {
detect_layout();
get_game_time();
update_score();
dis_game_score();
check_game_over();
check_game_end();
check_game_pass();
check_through();
check_bounce();
}
function check_power_up() {
if ((line_type_s == "LENGTH") && (line_length_num_n <= 0)) {
line_type_s = "NORMAL";
}
if ((line_type_s == "TIME") && (line_time_num_n <= 0)) {
line_type_s = "NORMAL";
}
if ((line_type_s == "BOUNCE") && (line_bounce_num_n <= 0)) {
line_type_s = "NORMAL";
}
}
function set_hot_key() {
key_down_bo = false;
role_mc = level_mc.role_mc;
hot_key_listener = new Object();
hot_key_listener.onKeyDown = function () {
if (key_down_bo) {
return(undefined);
}
if (Key.isDown(49) && (Key.getCode() == 49)) {
if (unattack_num_n > 0) {
powerup_type_s = "UNATTACK";
unattack_num_n = unattack_num_n - 1;
unattack_bo = true;
var _local1 = level_mc.role_mc;
_local1.unattack_control_mc.gotoAndPlay(1);
_local1.gotoAndPlay("unattack");
}
}
if (Key.isDown(50) && (Key.getCode() == 50)) {
if (undrop_num_n > 0) {
powerup_type_s = "UNDROP";
undrop_num_n = undrop_num_n - 1;
undrop_bo = true;
var _local1 = level_mc.role_mc;
_local1.undrop_control_mc.gotoAndPlay(1);
_local1.gotoAndPlay("undrop");
}
}
if (Key.isDown(51) && (Key.getCode() == 51)) {
if (bounce_num_n > 0) {
powerup_type_s = "BOUNCE";
bounce_num_n = bounce_num_n - 1;
bounce_bo = true;
}
}
if (Key.isDown(80) && (Key.getCode() == 80)) {
check_game_pause();
}
key_down_bo = true;
};
hot_key_listener.onKeyUp = function () {
key_down_bo = false;
};
Key.addListener(hot_key_listener);
}
stop();
clear_scene();
init_main_music();
init_sound();
init_bo();
game_pass_bo = false;
game_over_bo = false;
game_end_bo = false;
init_bo();
init_game();
load_game_level();
set_hot_key();
Frame 145
turn_to("game_scene");
Frame 159
stop();
dis_pass_score();
Frame 174
stop();
dis_over_score();
init_game_over_music();
Frame 189
stop();
dis_pass_score();
init_game_over_music();
Frame 190
turn_to("start_menu");
Frame 204
stop();
Symbol 47 MovieClip Frame 1
stop();
_visible = false;
Symbol 70 MovieClip Frame 6
sword._visible = false;
Symbol 71 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 1
stop();
_visible = false;
Symbol 75 MovieClip Frame 1
stop();
_visible = false;
Symbol 76 MovieClip [Swordman] Frame 1
#initclip 21
Object.registerClass("Swordman", Swordman);
#endinitclip
Symbol 76 MovieClip [Swordman] Frame 2
stop();
Symbol 80 MovieClip [sword] Frame 1
#initclip 19
Object.registerClass("sword", Sword);
#endinitclip
Symbol 80 MovieClip [sword] Frame 2
stop();
Symbol 84 MovieClip [hit_effect2] Frame 1
_root.hit_boss_sd.start();
Symbol 84 MovieClip [hit_effect2] Frame 6
_root.hit_role_sd.start();
this.removeMovieClip();
Symbol 92 MovieClip [hit_effect] Frame 1
_root.hit_boss_sd.start();
Symbol 92 MovieClip [hit_effect] Frame 8
stop();
_root.hit_role_sd.start();
this.removeMovieClip();
Symbol 97 MovieClip Frame 1
stop();
_visible = false;
Symbol 98 MovieClip [fly_ax] Frame 1
#initclip 20
Object.registerClass("fly_ax", Fly_ax);
#endinitclip
Symbol 98 MovieClip [fly_ax] Frame 2
stop();
Symbol 1130 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function showPreloaderAd(options) {
var _local29 = {clip:_root, ad_msec:11000, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812};
options = _parseOptions(options, _local29);
var _local15 = options.clip;
var _local25 = options.ad_msec;
delete options.ad_msec;
var _local28 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
return(null);
}
_local15.stop();
var mc = _local15._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var _local16 = _getRes(options);
var _local5 = _local16[0];
var _local14 = _local16[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local8 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local8._x = 10;
_local8._y = _local14 - 20;
var _local24 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local26 = options.outline;
delete options.outline;
var _local6 = _local8.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local8.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local24);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local7 = _local8.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local26, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local5 - 20, 0);
_local7.lineTo(_local5 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local25;
chk.ad_timeout = _local28;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
var _local15 = {clip:_root, ad_msec:11000, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"};
options = _parseOptions(options, _local15);
var _local6 = options.clip;
var _local12 = options.ad_msec;
delete options.ad_msec;
var _local14 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
return(null);
}
_local6.stop();
var mc = _local6._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var _local7 = _getRes(options);
var _local16 = _local7[0];
var _local13 = _local7[1];
mc._x = _local16 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local12;
chk.ad_timeout = _local14;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function load(options) {
var _local14 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local14);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = "1.3";
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(false);
}
if (_local7._mochiad_loaded) {
return(false);
}
var _local13 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local13);
var _local12 = _getRes(options);
options.res = (_local12[0] + "x") + _local12[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
if (_local7._url.indexOf("http") != 0) {
options.no_page = true;
}
var _local11 = _local4.server;
delete _local4.server;
var _local10 = _local11.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local10);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local10);
}
}
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local10;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local11 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}
}
Symbol 1131 MovieClip [__Packages.Sword] Frame 0
class Sword extends MovieClip
{
var THIS, _name, _parent, LEVEL, start_move_bo, role_blood_lost_bo, hit_weapon_effected_bo, speed_n, _x, _y, angle_n, vx_n, vy_n, _visible, removeMovieClip;
function Sword () {
super();
THIS = _parent[_name];
LEVEL = _root.level_mc;
this_init();
}
function onEnterFrame() {
check_hit();
this_move();
this_unload();
}
function this_init() {
start_move_bo = false;
role_blood_lost_bo = false;
hit_weapon_effected_bo = false;
speed_n = 15;
}
function get_coord() {
var _local2 = ExtMath.to_global(_parent, _x, _y);
return(_local2);
}
function start_move(angle_n_flg) {
start_move_bo = true;
angle_n = angle_n_flg;
}
function this_move() {
if (!start_move_bo) {
return(undefined);
}
vx_n = speed_n * ExtMath.cosD(angle_n);
vy_n = speed_n * ExtMath.sinD(angle_n);
_x = _x + vx_n;
_y = _y + vy_n;
}
function check_hit() {
if (!_visible) {
return(undefined);
}
var _local2 = LEVEL.role_mc;
var _local3 = THIS.hit_area.hitTest(_local2.anim.hit_area);
if (_local3) {
role_loss_blood();
hit_weapon_effect();
return(undefined);
}
role_blood_lost_bo = false;
hit_weapon_effected_bo = false;
}
function hit_weapon_effect() {
if (hit_weapon_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect2", "hit_effect2" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_weapon_effected_bo = true;
}
function role_loss_blood() {
if (role_blood_lost_bo) {
return(undefined);
}
if (_root.unattack_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
if (_local3.blood_num_n > 0) {
_local3.blood_num_n = _local3.blood_num_n - 20;
LEVEL.role_mc.play();
} else {
_local3.blood_num_n = 0;
}
role_blood_lost_bo = true;
}
function this_unload() {
var _local5 = get_coord();
var _local4 = _local5.x;
var _local6 = _local5.y;
var _local3 = false;
if (_local4 < 0) {
_local3 = true;
}
if (_local6 < 0) {
_local3 = true;
}
if (_local4 > _root.stage_width_n) {
_local3 = true;
}
if (_local4 > _root.stage_height_n) {
_local3 = true;
}
if (_local3) {
removeMovieClip();
}
}
}
Symbol 1132 MovieClip [__Packages.ExtMath] Frame 0
class ExtMath extends Math
{
function ExtMath () {
super();
}
static function distance(x1, y1, x2, y2) {
var _local2 = x2 - x1;
var _local1 = y2 - y1;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
}
static function distance2(length1, length3) {
return(Math.sqrt((length3 * length3) - (length1 * length1)));
}
static function distance3(length1, length2) {
return(Math.sqrt((length1 * length1) + (length2 * length2)));
}
static function degreesToRadians(angle) {
return(angle * 0.017453);
}
static function radiansToDegrees(radian) {
return(radian * 57.29578);
}
static function sinD(angle) {
return(Math.sin((angle * 3.141593) / 180));
}
static function asinD(ratio) {
return(Math.asin(ratio) * 57.29578);
}
static function cosD(angle) {
return(Math.cos((angle * 3.141593) / 180));
}
static function acosD(ratio) {
return(Math.acos(ratio) * 57.29578);
}
static function tanD(angle) {
return(Math.tan((angle * 3.141593) / 180));
}
static function atan2D(y, x) {
return(Math.atan2(y, x) * 57.29578);
}
static function angleOfLine(x1, y1, x2, y2) {
return(atan2D(y2 - y1, x2 - x1));
}
static function fixAngle(angle) {
var _local1 = angle % 360;
return((((_local1 % 360) < 0) ? (_local1 + 360) : (_local1)));
}
static function to_global(target, target_x, target_y) {
var _local1 = {x:target_x, y:target_y};
target.localToGlobal(_local1);
return(_local1);
}
static function to_local(target, target_x, target_y) {
var _local1 = {x:target_x, y:target_y};
target.globalToLocal(_local1);
return(_local1);
}
}
Symbol 1133 MovieClip [__Packages.Fly_ax] Frame 0
class Fly_ax extends MovieClip
{
var THIS, _name, _parent, LEVEL, interval_time_n, speed_n, original_x_n, original_y_n, _y, aim_x_n, _x, _visible;
function Fly_ax () {
super();
THIS = _parent[_name];
LEVEL = _root.level_mc;
this_init();
check_hit();
}
function onEnterFrame() {
check_hit();
this_move();
}
function this_init() {
interval_time_n = 5000;
speed_n = 10;
var _local3 = get_coord();
original_x_n = _local3.x;
original_y_n = _y;
if (original_x_n > _root.stage_width_n) {
aim_x_n = -200;
speed_n = speed_n * -1;
} else {
aim_x_n = _root.stage_width_n + 200;
}
set_random_y();
}
function get_coord() {
var _local2 = ExtMath.to_global(_parent, _x, _y);
return(_local2);
}
function get_random_y() {
var _local3 = 150;
var _local1 = Math.random() * 2;
if (_local1 < 1) {
_local1 = 1;
} else {
_local1 = -1;
}
var _local2 = (Math.random() * _local3) * _local1;
return(_local2);
}
function set_random_y() {
var _local2 = get_random_y();
_y = original_y_n + _local2;
}
function this_move() {
_x = _x + speed_n;
var _local4 = get_coord();
var _local3 = _local4.x;
var _local5 = _local4.y;
if (original_x_n > _root.stage_width_n) {
if (_local3 > original_x_n) {
speed_n = speed_n * -1;
set_random_y();
}
if (_local3 < aim_x_n) {
speed_n = speed_n * -1;
set_random_y();
}
} else {
if (_local3 < original_x_n) {
speed_n = speed_n * -1;
set_random_y();
}
if (_local3 > aim_x_n) {
speed_n = speed_n * -1;
set_random_y();
}
}
}
function check_hit() {
if (!_visible) {
return(undefined);
}
if (_root.unattack_bo) {
return(undefined);
}
var _local3 = LEVEL.role_mc;
var _local4 = THIS.hit_area.hitTest(_local3.anim.hit_area);
if (_local4) {
_local3.die_bo = true;
return(undefined);
}
}
}
Symbol 1134 MovieClip [__Packages.Enemy] Frame 0
class Enemy extends MovieClip
{
var THIS, _name, _parent, LEVEL, die_bo, score_added_bo, _x, _y, score_n;
function Enemy () {
super();
THIS = _parent[_name];
LEVEL = _root.level_mc;
die_bo = false;
score_added_bo = false;
}
function get_coord() {
var _local2 = ExtMath.to_global(_parent, _x, _y);
return(_local2);
}
function add_score() {
if (!die_bo) {
return(undefined);
}
if (score_added_bo) {
return(undefined);
}
_root.level_score_n = _root.level_score_n + score_n;
_root.total_score_n = _root.total_score_n + score_n;
score_added_bo = true;
}
}
Symbol 1135 MovieClip [__Packages.Swordman] Frame 0
class Swordman extends Enemy
{
var onEnterFrame, role_mc, old_x_n, _x, old_y_n, _y, start_attack_bo, hit_role_bo, aim_x_n, area_n, speed_n, score_n, _xscale, get_coord, THIS, die_bo, _alpha, swapDepths, removeMovieClip;
function Swordman () {
super();
this_init();
}
function init_onEnterFrame() {
onEnterFrame = function () {
this.disappear();
if (this.die_bo) {
return(undefined);
}
this.check_role();
this.this_move();
this.check_attack();
this.start_attack();
};
}
function this_init() {
role_mc = _root.level_mc.role_mc;
old_x_n = _x;
old_y_n = _y;
start_attack_bo = false;
hit_role_bo = false;
aim_x_n = old_x_n + area_n;
speed_n = 2;
score_n = 50;
}
function this_move() {
if (start_attack_bo) {
return(undefined);
}
_x = _x + speed_n;
if (_x >= aim_x_n) {
speed_n = speed_n * -1;
} else if (_x <= old_x_n) {
speed_n = speed_n * -1;
}
if (speed_n < 0) {
_xscale = -100;
} else {
_xscale = 100;
}
}
function check_attack() {
var _local3 = _root.level_mc.role_mc;
if (hit_role_bo) {
if (_local3.on_platform_bo) {
start_attack_bo = true;
} else {
start_attack_bo = false;
}
} else {
start_attack_bo = false;
}
}
function start_attack() {
var _local3 = _root.level_mc.role_mc;
if (start_attack_bo) {
var _local6 = _local3.get_coord();
var _local4 = get_coord();
if (_local6.x > _local4.x) {
_xscale = 100;
} else {
_xscale = -100;
}
THIS.anim.gotoAndStop("attack");
var _local7 = THIS.anim.attack.sword;
var _local5 = _local7.hitTest(_local3);
if (_local5) {
_local3.die_bo = true;
}
} else {
THIS.anim.gotoAndStop("move");
}
}
function check_role() {
var _local3 = _root.level_mc.role_mc;
var _local4 = _local3.get_coord();
var _local5 = THIS.hit_area.hitTest(_local4.x, _local4.y, true);
if (_local5) {
if (!hit_role_bo) {
hit_role_bo = true;
}
} else {
hit_role_bo = false;
}
var _local6 = THIS.body.hitTest(_local3.anim.attack.sword);
if ((_local6 && (!_local3.on_platform_bo)) && (!die_bo)) {
die_bo = true;
}
}
function disappear() {
if (!die_bo) {
return(undefined);
}
_alpha = _alpha - 10;
if (_alpha <= 10) {
swapDepths(0);
removeMovieClip();
}
}
}
Symbol 1136 MovieClip [__Packages.Bonus] Frame 0
class Bonus extends MovieClip
{
var THIS, _name, _parent, LEVEL, onEnterFrame, score_n, hited_bo, disappeared_bo, score_added_bo, action_inited_bo, type_s, fire_old_x_n, _x, fire_old_y_n, _y, fire_direction_s, fire_aim_x_n, fire_area_n, fire_aim_y_n, _rotation, fire_speed_n, _xscale, gotoAndStop, button_down_bo;
function Bonus () {
super();
THIS = _parent[_name];
LEVEL = _root.level_mc;
this_init();
init_fire();
}
function init_onEnterFrame() {
onEnterFrame = function () {
var _local3 = _root.game_pause_bo;
if (_local3) {
return(undefined);
}
this.check_hit();
this.fire_move();
};
}
function this_init() {
score_n = 50;
hited_bo = false;
disappeared_bo = false;
score_added_bo = false;
action_inited_bo = false;
if (type_s == "AX") {
init_onEnterFrame();
}
}
function init_fire() {
if (type_s != "FIRE") {
return(undefined);
}
fire_old_x_n = _x;
fire_old_y_n = _y;
if (fire_direction_s == "H") {
fire_aim_x_n = fire_old_x_n + fire_area_n;
} else {
fire_aim_y_n = fire_old_y_n + fire_area_n;
_rotation = 90;
}
}
function fire_move() {
if (type_s != "FIRE") {
return(undefined);
}
if (fire_direction_s == "H") {
_x = _x + fire_speed_n;
if (_x >= fire_aim_x_n) {
fire_speed_n = fire_speed_n * -1;
_xscale = -100;
}
if (_x <= fire_old_x_n) {
fire_speed_n = fire_speed_n * -1;
_xscale = 100;
}
} else {
_y = _y + fire_speed_n;
if (_y >= fire_aim_y_n) {
fire_speed_n = fire_speed_n * -1;
_rotation = -90;
}
if (_y <= fire_old_y_n) {
fire_speed_n = fire_speed_n * -1;
_rotation = 90;
}
}
}
function get_global_coord() {
var _local2 = ExtMath.to_global(_parent, _x, _y);
return(_local2);
}
function check_hit() {
var _local2 = LEVEL.role_mc;
var _local3 = THIS.hit_area.hitTest(_local2.anim.hit_area);
if (_local3) {
disappear();
init_action();
return(undefined);
}
action_inited_bo = false;
}
function disappear() {
if (disappeared_bo) {
return(undefined);
}
gotoAndStop("disappear");
disappeared_bo = true;
}
function add_score() {
if (score_added_bo) {
return(undefined);
}
_root.level_score_n = _root.level_score_n + score_n;
_root.total_score_n = _root.total_score_n + score_n;
score_added_bo = true;
}
function check_button_down() {
if (button_down_bo) {
return(undefined);
}
var _local2 = Math.abs(LEVEL.role_mc.vx_n);
if (_local2 >= 10) {
LEVEL.role_mc.vx_n = LEVEL.role_mc.vx_n * -1;
_x = _x + 15;
button_down_bo = true;
} else {
LEVEL.role_mc.vx_n = LEVEL.role_mc.vx_n * -1;
}
}
function init_action() {
if (action_inited_bo) {
return(undefined);
}
switch (type_s) {
case "MONEY" :
add_score();
_root.power_up_sd.start();
break;
case "LENGTH" :
add_score();
_root.line_length_num_n = _root.line_length_num_n + 5;
_root.power_up_sd.start();
break;
case "TIME" :
add_score();
_root.line_time_num_n = _root.line_time_num_n + 5;
_root.power_up_sd.start();
break;
case "BOUNCE" :
add_score();
_root.bounce_num_n = _root.bounce_num_n + 1;
_root.power_up_sd.start();
break;
case "THROUGH" :
add_score();
_root.through_num_n = _root.through_num_n + 1;
_root.power_up_sd.start();
break;
case "UNATTACK" :
add_score();
_root.unattack_num_n = _root.unattack_num_n + 1;
_root.power_up_sd.start();
break;
case "UNDROP" :
add_score();
_root.undrop_num_n = _root.undrop_num_n + 1;
_root.power_up_sd.start();
break;
case "LIFE" :
add_score();
_root.role_life_num_n = _root.role_life_num_n + 1;
_root.power_up_sd.start();
break;
case "KEY" :
add_score();
_root.pass_allow_bo = true;
LEVEL.platform_mc["key_platform" + _root.floor_num_n]._visible = true;
LEVEL["door" + _root.floor_num_n].play();
LEVEL["door" + _root.floor_num_n].light.gotoAndStop(2);
LEVEL.bonus_mc["key_laser" + _root.floor_num_n].hit_area._visible = false;
_root.power_up_sd.start();
break;
case "FOOD" :
add_score();
LEVEL.role_mc.blood_num_n = LEVEL.role_mc.blood_num_n + 50;
if (LEVEL.role_mc.blood_num_n > 100) {
LEVEL.role_mc.blood_num_n = 100;
}
_root.power_up_sd.start();
break;
case "DART" :
add_score();
_root.dart_num_n = _root.dart_num_n + 10;
_root.power_up_sd.start();
break;
case "BOMB" :
_root.boom_sd.start();
if (_root.unattack_bo) {
return(undefined);
}
LEVEL.role_mc.anim.gotoAndStop("die");
LEVEL.role_mc.blood_num_n = LEVEL.role_mc.blood_num_n - 100;
break;
case "GRAVITY" :
add_score();
_root.line_gravity_num_n = _root.line_gravity_num_n + 1;
_root.power_up_sd.start();
break;
case "FIRE" :
if (_root.unattack_bo) {
return(undefined);
}
LEVEL.role_mc.blood_num_n = LEVEL.role_mc.blood_num_n - 50;
LEVEL.role_mc.play();
LEVEL.role_mc.anim.gotoAndStop("die");
break;
case "STING" :
if (_root.unattack_bo) {
return(undefined);
}
LEVEL.role_mc.blood_num_n = LEVEL.role_mc.blood_num_n - 100;
LEVEL.role_mc.anim.gotoAndStop("die");
break;
case "AX" :
if (_root.unattack_bo) {
return(undefined);
}
LEVEL.role_mc.anim.gotoAndStop("die");
LEVEL.role_mc.blood_num_n = LEVEL.role_mc.blood_num_n - 100;
}
action_inited_bo = true;
}
}
Symbol 1137 MovieClip [__Packages.Laser] Frame 0
class Laser extends MovieClip
{
var THIS, _name, _parent, LEVEL, laser_on_bo, type_s, laser_interval_n, interval_time_n, last_time_n, start_time_n;
function Laser () {
super();
THIS = _parent[_name];
LEVEL = _root.level_mc;
this_init();
check_type();
check_hit();
}
function onEnterFrame() {
check_hit();
}
function this_init() {
laser_on_bo = true;
if (type_s == "INTERVAL") {
THIS.hit_area._visible = false;
}
}
function laser_off() {
if (type_s != "FOG") {
THIS.hit_area._visible = false;
} else {
THIS.hit_area.gotoAndPlay("end");
}
}
function laser_on() {
if (type_s != "FOG") {
THIS.hit_area._visible = true;
} else {
THIS.hit_area.gotoAndPlay("start");
}
}
function check_time() {
clearInterval(laser_interval_n);
var _local2;
laser_on_bo = !laser_on_bo;
if (laser_on_bo) {
laser_off();
_local2 = interval_time_n;
} else {
laser_on();
_local2 = last_time_n;
}
laser_interval_n = setInterval(this, "check_time", _local2);
}
function check_type() {
if ((type_s == "INTERVAL") || (type_s == "FOG")) {
laser_interval_n = setInterval(this, "check_time", start_time_n);
}
}
function check_hit() {
if (!THIS.hit_area._visible) {
return(undefined);
}
if (_root.unattack_bo) {
return(undefined);
}
var _local3 = LEVEL.role_mc;
var _local4 = THIS.hit_area.hitTest(_local3.anim.hit_area);
if (_local4) {
if (type_s == "FOG") {
_local3.blood_num_n = _local3.blood_num_n - 100;
} else {
_local3.blood_num_n = _local3.blood_num_n - 50;
}
return(undefined);
}
}
}
Symbol 1138 MovieClip [__Packages.Boss1] Frame 0
class Boss1 extends Enemy
{
var blood_num_n, speed_n, move_area_n, stop_time_n, throw_time_n, original_coord_geted_bo, action_changed_bo, stop_bo, attack_randomed_bo, start_attack_bo, throw_start_bo, role_blood_lost_bo, blood_lost_bo, hit_body_effected_bo, hit_weapon_effected_bo, start_rebounce_bo, direction_s, action_type_s, get_coord, LEVEL, original_x_n, original_y_n, left_bound_n, right_bound_n, action_control_n, die_bo, _xscale, THIS, throw_interval_n, stop_interval_n, _x;
function Boss1 () {
super();
this_init();
}
function this_init() {
blood_num_n = 100;
speed_n = 4;
move_area_n = 200;
stop_time_n = 3000;
throw_time_n = 3000;
original_coord_geted_bo = false;
action_changed_bo = false;
stop_bo = true;
attack_randomed_bo = false;
start_attack_bo = false;
throw_start_bo = false;
role_blood_lost_bo = false;
blood_lost_bo = false;
hit_body_effected_bo = false;
hit_weapon_effected_bo = false;
start_rebounce_bo = false;
direction_s = "FRONT";
action_type_s = "STOP";
}
function get_original_coord() {
if (original_coord_geted_bo) {
return(undefined);
}
var _local3 = get_coord();
var _local6 = _root.floor_num_n;
var _local5 = LEVEL.floor_coord_x_a[_local6 - 1];
var _local4 = LEVEL.floor_coord_y_a[_local6 - 1];
if ((LEVEL._x != _local5) || (LEVEL._y != _local4)) {
return(undefined);
}
original_x_n = _local3.x;
original_y_n = _local3.y;
left_bound_n = original_x_n - move_area_n;
right_bound_n = original_x_n + move_area_n;
original_coord_geted_bo = true;
LEVEL.jump_boss_note.play();
action_control_n = setInterval(this, "action_control", 1000);
}
function onEnterFrame() {
var _local4 = _root.game_pause_bo;
if (_local4) {
return(undefined);
}
var _local5 = _root.floor_num_n;
if (_local5 != 4) {
return(undefined);
}
check_blood();
get_original_coord();
var _local3 = _root.level_mc.role_mc;
if (_local3.die_bo) {
change_direction("STOP");
return(undefined);
}
check_die();
if (die_bo) {
return(undefined);
}
check_hit();
check_role();
this_move();
head_rotate();
}
function check_blood() {
var _local4 = _root.game_layout_mc;
var _local3 = _local4.boss_blood.blood_bar_mc;
var _local5 = _local3.bar_mc;
if (blood_num_n < 0) {
blood_num_n = 0;
}
_local5._xscale = blood_num_n;
}
function change_direction(direction_s_flg) {
action_changed_bo = false;
direction_s = direction_s_flg;
if (direction_s == "LEFT") {
change_action("WALK");
_xscale = -100;
} else if (direction_s == "RIGHT") {
change_action("WALK");
_xscale = 100;
} else {
change_action("STOP");
_xscale = 100;
}
}
function detect_bound() {
var _local3 = get_coord();
var _local2 = _local3.x;
if ((_local2 > right_bound_n) || (_local2 < left_bound_n)) {
change_direction("STOP");
}
}
function change_action(type_s_flg) {
if (action_changed_bo) {
return(undefined);
}
if ((type_s_flg != "CHOP") && (type_s_flg != "THROW")) {
start_attack_bo = false;
} else {
start_attack_bo = true;
}
switch (type_s_flg) {
case "STOP" :
THIS.anim.gotoAndStop("stop");
stop_bo = true;
action_type_s = "STOP";
break;
case "WALK" :
THIS.anim.gotoAndStop("walk");
action_type_s = "WALK";
break;
case "CHOP" :
THIS.anim.gotoAndStop("chop");
action_type_s = "CHOP";
break;
case "THROW" :
THIS.anim.gotoAndStop("throw");
action_type_s = "THROW";
break;
case "DIE" :
THIS.anim.gotoAndStop("die");
action_type_s = "DIE";
}
action_changed_bo = true;
}
function head_rotate() {
var _local4 = THIS.anim.body.head;
var _local6 = ExtMath.to_global(_local4._parent, _local4._x, _local4._y);
var _local10 = _local6.x;
var _local11 = _local6.y;
var _local8 = _root.level_mc.role_mc;
var _local7 = _local8.get_coord();
var _local14 = _local7.x;
var _local9 = _local7.y;
var _local13 = _local14 - _local10;
var _local12 = _local9 - _local11;
var _local3 = (Math.atan2(_local12, _local13) * 180) / Math.PI;
_local3 = ExtMath.fixAngle(_local3);
var _local5 = 30;
if ((_local3 >= (270 - _local5)) && (_local3 <= (270 + _local5))) {
} else {
_local4.gotoAndStop("side");
}
if ((_local3 > 180) && (_local3 < (270 - _local5))) {
_local4._xscale = -100;
_local3 = _local3 - 180;
_local4._rotation = _local3;
} else if ((_local3 > (270 + _local5)) && (_local3 < 360)) {
_local4._xscale = 100;
_local4._rotation = _local3;
} else if ((_local3 >= (270 - _local5)) && (_local3 < 270)) {
} else if ((_local3 <= (270 + _local5)) && (_local3 >= 270)) {
} else if ((_local3 > 0) && (_local3 <= 180)) {
_local4._xscale = 100;
_local3 = 0;
_local4._rotation = _local3;
}
}
function check_role() {
var _local9 = get_coord();
var _local5 = _local9.x;
var _local4 = _root.level_mc.role_mc;
var _local10 = _local4.get_coord();
var _local6 = _local10.x;
var _local3 = _local4.on_boss_platform_bo;
if (_local3) {
clearInterval(throw_interval_n);
clearInterval(stop_interval_n);
attack_randomed_bo = false;
if (!start_attack_bo) {
if (_local5 > _local6) {
stop_bo = false;
change_direction("LEFT");
} else if (_local5 < _local6) {
stop_bo = false;
change_direction("RIGHT");
}
}
}
var _local7 = get_distance();
var _local8 = 45;
if ((_local7 <= _local8) && (_local3)) {
stop_bo = true;
start_chop();
} else if (_local3) {
stop_bo = false;
start_attack_bo = false;
}
}
function this_move() {
if (stop_bo) {
return(undefined);
}
if (direction_s == "LEFT") {
_x = _x - speed_n;
} else if (direction_s == "RIGHT") {
_x = _x + speed_n;
}
detect_bound();
}
function action_control() {
var _local6 = get_coord();
var _local8 = _local6.x;
var _local3 = _root.level_mc.role_mc;
var _local7 = _local3.get_coord();
var _local9 = _local7.x;
var _local4 = _local3.on_boss_platform_bo;
var _local5 = Math.random();
if (!_local4) {
if (_local5 < 0.5) {
start_throw();
} else {
start_stop();
}
}
clearInterval(action_control_n);
action_control_n = setInterval(this, "action_control", 1000);
}
function start_stop() {
action_changed_bo = false;
stop_bo = true;
change_action("STOP");
}
function start_throw() {
if (start_attack_bo) {
return(undefined);
}
action_changed_bo = false;
stop_bo = true;
var _local6 = get_coord();
var _local3 = _local6.x;
var _local5 = _root.level_mc.role_mc;
var _local7 = _local5.get_coord();
var _local4 = _local7.x;
if (_local3 > _local4) {
direction_s = "LEFT";
} else if (_local3 < _local4) {
direction_s = "RIGHT";
}
if (direction_s == "LEFT") {
change_action("THROW");
_xscale = -100;
} else if (direction_s == "RIGHT") {
change_action("THROW");
_xscale = 100;
}
}
function start_add_sword() {
add_sword();
}
function add_sword() {
var _local6 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("sword", "sword" + _local6, _local6);
var _local3 = get_coord();
var _local7 = 35;
_local4._x = _local3.x - LEVEL._x;
_local4._y = (_local3.y - LEVEL._y) - _local7;
var _local11 = _local3.x;
var _local12 = _local3.y - _local7;
var _local8 = _root.level_mc.role_mc;
var _local5 = _local8.get_coord();
var _local13 = _local5.x;
var _local9 = _local5.y;
var _local10 = ExtMath.angleOfLine(_local11, _local12, _local13, _local9);
_local4.start_move(_local10);
}
function get_distance() {
var _local3 = get_coord();
var _local8 = _local3.x;
var _local9 = _local3.y;
var _local5 = _root.level_mc.role_mc;
var _local4 = _local5.get_coord();
var _local10 = _local4.x;
var _local6 = _local4.y;
var _local7 = ExtMath.distance(_local8, _local9, _local10, _local6);
return(_local7);
}
function start_chop() {
if (start_attack_bo) {
return(undefined);
}
action_changed_bo = false;
if (direction_s == "LEFT") {
change_action("CHOP");
_xscale = -100;
} else if (direction_s == "RIGHT") {
change_action("CHOP");
_xscale = 100;
}
}
function check_hit() {
var _local10 = THIS.anim.body.head_hit_area;
var _local13 = THIS.anim.body.body_hit_area;
var _local12 = THIS.anim.body.weapon_hit_area1;
var _local11 = THIS.anim.body.weapon_hit_area2;
var _local4 = _root.level_mc.role_mc;
var _local14 = _local4.get_coord();
var _local3 = _local4.anim.hit_area;
var _local5 = _local4.on_boss_platform_bo;
var _local9 = _local10.hitTest(_local3);
var _local7 = _local13.hitTest(_local3);
var _local8 = _local12.hitTest(_local3);
var _local6 = _local11.hitTest(_local3);
if ((!_local9) && (!_local7)) {
blood_lost_bo = false;
start_rebounce_bo = false;
hit_body_effected_bo = false;
}
if ((!_local8) && (!_local6)) {
role_blood_lost_bo = false;
hit_weapon_effected_bo = false;
}
if (_local8) {
hit_weapon_effect();
role_loss_blood();
return(undefined);
}
if (_local6) {
hit_weapon_effect();
role_loss_blood();
return(undefined);
}
if (_local9) {
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
if (_local7) {
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
}
function role_loss_blood() {
if (role_blood_lost_bo) {
return(undefined);
}
if (_root.unattack_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
if (_root.game_difficulty_s == "EASY") {
var _local4 = 15;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local4 = 20;
} else if (_root.game_difficulty_s == "HARD") {
var _local4 = 25;
}
if (_local3.blood_num_n > 0) {
_local3.blood_num_n = _local3.blood_num_n - _local4;
} else {
_local3.blood_num_n = 0;
}
role_blood_lost_bo = true;
}
function loss_blood() {
if (blood_lost_bo) {
return(undefined);
}
if (_root.game_difficulty_s == "EASY") {
var _local3 = 15;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local3 = 10;
} else if (_root.game_difficulty_s == "HARD") {
var _local3 = 8;
}
if (blood_num_n > 0) {
blood_num_n = blood_num_n - _local3;
} else {
blood_num_n = 0;
}
blood_lost_bo = true;
}
function check_die() {
if (die_bo) {
return(undefined);
}
if (blood_num_n == 0) {
die_bo = true;
_root.game_pass_bo = true;
THIS.anim.gotoAndStop("die");
}
}
function rebounce_role() {
if (start_rebounce_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
_local3.vx_n = _local3.vx_n * -1;
_local3._xscale = _local3._xscale * -1;
_local3.vy_n = -16;
var _local4 = 3;
if ((_local3.vx_n <= _local4) && (_local3.vx_n >= 0)) {
_local3.vx_n = _local4;
}
if ((_local3.vx_n >= (-1 * _local4)) && (_local3.vx_n <= 0)) {
_local3.vx_n = -1 * _local4;
}
start_rebounce_bo = true;
}
function hit_body_effect() {
if (hit_body_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect", "hit_effect" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_body_effected_bo = true;
}
function hit_weapon_effect() {
if (hit_weapon_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect2", "hit_effect2" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
LEVEL.role_mc.play();
hit_weapon_effected_bo = true;
}
}
Symbol 1139 MovieClip [__Packages.Boss2] Frame 0
class Boss2 extends Enemy
{
var blood_num_n, speed_n, move_area_n, stop_time_n, throw_time_n, original_coord_geted_bo, action_changed_bo, stop_bo, attack_randomed_bo, start_attack_bo, throw_start_bo, role_blood_lost_bo, blood_lost_bo, hit_body_effected_bo, hit_weapon_effected_bo, start_rebounce_bo, direction_s, action_type_s, stop_interval_n, get_coord, LEVEL, original_x_n, original_y_n, left_bound_n, right_bound_n, action_control_n, die_bo, _xscale, THIS, _x;
function Boss2 () {
super();
this_init();
}
function this_init() {
blood_num_n = 100;
speed_n = 5;
move_area_n = 200;
stop_time_n = 3000;
throw_time_n = 3000;
original_coord_geted_bo = false;
action_changed_bo = false;
stop_bo = true;
attack_randomed_bo = false;
start_attack_bo = false;
throw_start_bo = false;
role_blood_lost_bo = false;
blood_lost_bo = false;
hit_body_effected_bo = false;
hit_weapon_effected_bo = false;
start_rebounce_bo = false;
direction_s = "FRONT";
action_type_s = "STOP";
stop_interval_n = setInterval(this, "end_stop", stop_time_n);
}
function get_original_coord() {
if (original_coord_geted_bo) {
return(undefined);
}
var _local3 = get_coord();
var _local4 = _root.floor_num_n;
var _local6 = LEVEL.floor_coord_x_a[_local4 - 1];
var _local5 = LEVEL.floor_coord_y_a[_local4 - 1];
if ((LEVEL._x != _local6) || (LEVEL._y != _local5)) {
return(undefined);
}
original_x_n = _local3.x;
original_y_n = _local3.y;
left_bound_n = original_x_n - move_area_n;
right_bound_n = original_x_n + move_area_n;
original_coord_geted_bo = true;
action_control_n = setInterval(this, "action_control", 1000);
}
function onEnterFrame() {
var _local4 = _root.game_pause_bo;
if (_local4) {
return(undefined);
}
var _local5 = _root.floor_num_n;
if (_local5 != 4) {
return(undefined);
}
check_blood();
get_original_coord();
var _local3 = _root.level_mc.role_mc;
if (_local3.die_bo) {
change_direction("STOP");
return(undefined);
}
check_die();
if (die_bo) {
return(undefined);
}
check_hit();
check_role();
this_move();
}
function check_blood() {
var _local4 = _root.game_layout_mc;
var _local3 = _local4.boss_blood.blood_bar_mc;
var _local5 = _local3.bar_mc;
if (blood_num_n < 0) {
blood_num_n = 0;
}
_local5._xscale = blood_num_n;
}
function select_direction() {
var _local2 = Math.random() * 2;
if (_local2 < 1) {
change_direction("LEFT");
} else {
change_direction("RIGHT");
}
}
function change_direction(direction_s_flg) {
action_changed_bo = false;
direction_s = direction_s_flg;
if (direction_s == "LEFT") {
change_action("WALK");
_xscale = -100;
} else if (direction_s == "RIGHT") {
change_action("WALK");
_xscale = 100;
} else {
change_action("STOP");
_xscale = 100;
}
}
function detect_bound() {
var _local3 = get_coord();
var _local2 = _local3.x;
if (_local2 > right_bound_n) {
change_direction("LEFT");
_xscale = 100;
} else if (_local2 < left_bound_n) {
change_direction("RIGHT");
_xscale = -100;
}
}
function change_action(type_s_flg) {
if (action_changed_bo) {
return(undefined);
}
if ((type_s_flg != "CHOP") && (type_s_flg != "HOOK")) {
start_attack_bo = false;
} else {
start_attack_bo = true;
}
switch (type_s_flg) {
case "STOP" :
THIS.anim.gotoAndStop("stop");
stop_bo = true;
stop_interval_n = setInterval(this, "end_stop", stop_time_n);
action_type_s = "STOP";
break;
case "WALK" :
THIS.anim.gotoAndStop("walk");
action_type_s = "WALK";
break;
case "CHOP" :
THIS.anim.gotoAndStop("chop");
action_type_s = "CHOP";
break;
case "HOOK" :
THIS.anim.gotoAndStop("hook");
action_type_s = "HOOK";
break;
case "DIE" :
THIS.anim.gotoAndStop("die");
action_type_s = "DIE";
}
action_changed_bo = true;
}
function get_distance() {
var _local3 = get_coord();
var _local8 = _local3.x;
var _local9 = _local3.y;
var _local5 = _root.level_mc.role_mc;
var _local4 = _local5.get_coord();
var _local10 = _local4.x;
var _local6 = _local4.y;
var _local7 = ExtMath.distance(_local8, _local9, _local10, _local6);
return(_local7);
}
function check_role() {
var _local9 = get_coord();
var _local5 = _local9.x;
var _local3 = _root.level_mc.role_mc;
var _local10 = _local3.get_coord();
var _local6 = _local10.x;
var _local4 = _local3.on_boss_platform_bo;
if (_local4) {
attack_randomed_bo = false;
if (!start_attack_bo) {
if (_local5 > _local6) {
stop_bo = false;
change_direction("LEFT");
} else if (_local5 < _local6) {
stop_bo = false;
change_direction("RIGHT");
}
}
}
var _local7 = get_distance();
var _local8 = 60;
if (_local7 <= _local8) {
stop_bo = true;
random_attack();
} else if (_local4 && (!start_attack_bo)) {
stop_bo = false;
start_attack_bo = false;
change_action("WALK");
}
}
function this_move() {
if (stop_bo) {
return(undefined);
}
if (direction_s == "LEFT") {
_x = _x - speed_n;
} else if (direction_s == "RIGHT") {
_x = _x + speed_n;
}
detect_bound();
}
function random_attack() {
if (attack_randomed_bo) {
return(undefined);
}
var _local2 = Math.random() * 2;
if (_local2 < 1) {
start_chop();
} else {
start_hook();
}
attack_randomed_bo = true;
}
function action_control() {
var _local6 = get_coord();
var _local8 = _local6.x;
var _local3 = _root.level_mc.role_mc;
var _local7 = _local3.get_coord();
var _local9 = _local7.x;
var _local4 = _local3.on_boss_platform_bo;
var _local5 = Math.random();
if (!_local4) {
if (_local5 < 0.7) {
start_chop();
} else {
change_direction("STOP");
}
}
clearInterval(action_control_n);
action_control_n = setInterval(this, "action_control", 2000);
}
function end_stop() {
clearInterval(stop_interval_n);
stop_bo = false;
var _local3 = get_coord();
var _local2 = _local3.x;
if (_local2 > right_bound_n) {
change_direction("LEFT");
} else {
change_direction("RIGHT");
}
}
function start_chop() {
if (start_attack_bo) {
return(undefined);
}
action_changed_bo = false;
stop_bo = true;
if (direction_s == "LEFT") {
change_action("CHOP");
_xscale = -100;
} else if (direction_s == "RIGHT") {
change_action("CHOP");
_xscale = 100;
}
}
function start_hook() {
if (start_attack_bo) {
return(undefined);
}
action_changed_bo = false;
if (direction_s == "LEFT") {
change_action("HOOK");
_xscale = -100;
} else if (direction_s == "RIGHT") {
change_action("HOOK");
_xscale = 100;
}
}
function check_hit() {
var _local9 = THIS.anim.body.head_hit_area;
var _local11 = THIS.anim.body.body_hit_area;
var _local10 = THIS.anim.body.weapon_hit_area1;
var _local3 = _root.level_mc.role_mc;
var _local12 = _local3.get_coord();
var _local4 = _local3.anim.hit_area;
var _local5 = _local3.on_boss_platform_bo;
var _local8 = _local9.hitTest(_local4);
var _local6 = _local11.hitTest(_local4);
var _local7 = _local10.hitTest(_local4);
if ((!_local8) && (!_local6)) {
blood_lost_bo = false;
start_rebounce_bo = false;
hit_body_effected_bo = false;
}
if (!_local7) {
role_blood_lost_bo = false;
hit_weapon_effected_bo = false;
}
if (_local7) {
hit_weapon_effect();
role_loss_blood();
return(undefined);
}
if (_local8) {
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
if (_local6) {
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
}
function role_loss_blood() {
if (role_blood_lost_bo) {
return(undefined);
}
if (_root.unattack_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
if (_root.game_difficulty_s == "EASY") {
var _local4 = 15;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local4 = 20;
} else if (_root.game_difficulty_s == "HARD") {
var _local4 = 25;
}
if (_local3.blood_num_n > 0) {
_local3.blood_num_n = _local3.blood_num_n - _local4;
} else {
_local3.blood_num_n = 0;
}
role_blood_lost_bo = true;
}
function loss_blood() {
if (blood_lost_bo) {
return(undefined);
}
if (_root.game_difficulty_s == "EASY") {
var _local3 = 15;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local3 = 10;
} else if (_root.game_difficulty_s == "HARD") {
var _local3 = 8;
}
if (blood_num_n > 0) {
blood_num_n = blood_num_n - _local3;
} else {
blood_num_n = 0;
}
blood_lost_bo = true;
}
function check_die() {
if (die_bo) {
return(undefined);
}
if (blood_num_n == 0) {
die_bo = true;
_root.game_pass_bo = true;
THIS.anim.gotoAndStop("die");
}
}
function rebounce_role() {
if (start_rebounce_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
_local3.vx_n = _local3.vx_n * -1;
_local3.vy_n = -16;
var _local4 = 3;
if ((_local3.vx_n <= _local4) && (_local3.vx_n >= 0)) {
_local3.vx_n = _local4;
}
if ((_local3.vx_n >= (-1 * _local4)) && (_local3.vx_n <= 0)) {
_local3.vx_n = -1 * _local4;
}
start_rebounce_bo = true;
}
function hit_body_effect() {
if (hit_body_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect", "hit_effect" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_body_effected_bo = true;
}
function hit_weapon_effect() {
if (hit_weapon_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect2", "hit_effect2" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_weapon_effected_bo = true;
}
}
Symbol 1140 MovieClip [__Packages.Boss3] Frame 0
class Boss3 extends Enemy
{
var blood_num_n, action_type_s, original_coord_geted_bo, attack_randomed_bo, attacked_bo, attack_returned_bo, aim_coord_geted_bo, aim_angle_geted_bo, start_shake_bo, start_shake_decay_bo, start_return_decay_bo, role_near_bo, get_coord, LEVEL, original_x_n, _x, original_y_n, _y, die_bo, action_changed_bo, start_attack_bo, THIS, stop_bo, stop_interval_n, stop_time_n, shake_time_n, attack_time_n, shake_interval_n, attack_interval_n, rotate_speed_n, speed_step_n, max_rotation_n, _rotation, aim_x_n, aim_y_n, aim_angle_n, final_angle_n, return_decay_speed_n, blood_lost_bo, start_rebounce_bo, hit_body_effected_bo, role_blood_lost_bo, hit_weapon_effected_bo;
function Boss3 () {
super();
this_init();
}
function this_init() {
blood_num_n = 100;
action_type_s = "STOP";
original_coord_geted_bo = false;
attack_randomed_bo = false;
attacked_bo = false;
attack_returned_bo = false;
aim_coord_geted_bo = false;
aim_angle_geted_bo = false;
start_shake_bo = false;
start_shake_decay_bo = false;
start_return_decay_bo = false;
role_near_bo = false;
}
function get_original_coord() {
if (original_coord_geted_bo) {
return(undefined);
}
var _local6 = get_coord();
var _local3 = _root.floor_num_n;
var _local5 = LEVEL.floor_coord_x_a[_local3 - 1];
var _local4 = LEVEL.floor_coord_y_a[_local3 - 1];
if ((LEVEL._x != _local5) || (LEVEL._y != _local4)) {
return(undefined);
}
original_x_n = _x;
original_y_n = _y;
original_coord_geted_bo = true;
}
function onEnterFrame() {
var _local4 = _root.game_pause_bo;
if (_local4) {
return(undefined);
}
var _local5 = _root.floor_num_n;
if (_local5 != 4) {
return(undefined);
}
check_blood();
get_original_coord();
var _local3 = _root.level_mc.role_mc;
if (_local3.die_bo) {
return(undefined);
}
check_die();
if (die_bo) {
return(undefined);
}
shake();
shake_decay();
return_attack_decay();
attack_control();
attack();
check_hit();
check_role();
}
function check_blood() {
var _local4 = _root.game_layout_mc;
var _local3 = _local4.boss_blood.blood_bar_mc;
var _local5 = _local3.bar_mc;
if (blood_num_n < 0) {
blood_num_n = 0;
}
_local5._xscale = blood_num_n;
}
function change_action(type_s_flg) {
if (action_changed_bo) {
return(undefined);
}
if (type_s_flg != "SHAKE") {
start_shake_bo = false;
start_attack_bo = false;
} else {
start_shake_bo = true;
start_attack_bo = true;
}
switch (type_s_flg) {
case "STOP" :
THIS.anim.gotoAndStop("stop");
stop_bo = true;
stop_interval_n = setInterval(this, "end_stop", stop_time_n);
action_type_s = "STOP";
break;
case "SHAKE" :
THIS.anim.gotoAndStop("shake");
action_type_s = "SHAKE";
break;
case "ATTACK" :
THIS.anim.gotoAndStop("attack");
action_type_s = "ATTACK";
break;
case "DIE" :
THIS.anim.gotoAndStop("die");
action_type_s = "DIE";
}
action_changed_bo = true;
}
function start_change_action(type_s_flg) {
action_changed_bo = false;
change_action(type_s_flg);
}
function check_role() {
var _local3 = 200;
var _local2 = get_distance();
if (_local2 < _local3) {
if (role_near_bo) {
return(undefined);
}
var _local4 = Math.random();
if ((action_type_s == "STOP") && (_local4 <= 0.6)) {
start_shake();
}
role_near_bo = true;
} else {
role_near_bo = false;
}
}
function get_distance() {
var _local3 = get_coord();
var _local8 = _local3.x;
var _local9 = _local3.y;
var _local5 = _root.level_mc.role_mc;
var _local4 = _local5.get_coord();
var _local10 = _local4.x;
var _local6 = _local4.y;
var _local7 = ExtMath.distance(_local8, _local9, _local10, _local6);
return(_local7);
}
function attack_control() {
if (attack_randomed_bo) {
return(undefined);
}
stop_time_n = 500 + (Math.random() * 1000);
shake_time_n = 2000;
attack_time_n = 2500;
if (action_type_s == "STOP") {
var _local2 = Math.random();
if (_local2 <= 0.1) {
stop_interval_n = setInterval(this, "start_shake", stop_time_n);
} else {
stop_interval_n = setInterval(this, "start_attack", stop_time_n);
}
} else if (action_type_s == "SHAKE") {
shake_interval_n = setInterval(this, "start_shake_decay", shake_time_n);
} else if (action_type_s == "ATTACK") {
attack_interval_n = setInterval(this, "start_stop", attack_time_n);
}
attack_randomed_bo = true;
}
function clear_interval() {
clearInterval(stop_interval_n);
clearInterval(shake_interval_n);
clearInterval(attack_interval_n);
attack_randomed_bo = false;
}
function start_stop() {
clear_interval();
start_change_action("STOP");
}
function start_shake() {
clear_interval();
rotate_speed_n = 0;
speed_step_n = 5;
max_rotation_n = 60;
start_change_action("SHAKE");
}
function shake() {
if (!start_shake_bo) {
return(undefined);
}
rotate_speed_n = rotate_speed_n + speed_step_n;
_rotation = ExtMath.sinD(rotate_speed_n) * max_rotation_n;
}
function shake_decay() {
if (!start_shake_decay_bo) {
return(undefined);
}
var _local2 = 0.9;
speed_step_n = speed_step_n + 1;
max_rotation_n = max_rotation_n * _local2;
if (max_rotation_n <= 0.1) {
max_rotation_n = 0;
start_shake_decay_bo = false;
start_stop();
}
}
function start_shake_decay() {
clearInterval(stop_interval_n);
clearInterval(shake_interval_n);
clearInterval(attack_interval_n);
start_shake_decay_bo = true;
}
function start_attack() {
clear_interval();
start_change_action("ATTACK");
get_aim_coord();
get_aim_angle();
attacked_bo = false;
}
function attack() {
if (action_type_s != "ATTACK") {
return(undefined);
}
if (!attacked_bo) {
goto_attack();
} else {
attack_return();
}
}
function get_aim_coord() {
var _local4 = _root.level_mc.role_mc;
var _local3 = _local4.get_coord();
var _local6 = _local3.x;
var _local5 = _local3.y;
aim_x_n = _local6;
aim_y_n = _local5;
aim_coord_geted_bo = true;
}
function goto_attack() {
var _local4 = get_coord();
var _local7 = _local4.x;
var _local8 = _local4.y;
var _local5 = 15;
var _local3 = 5;
var _local13 = 5;
var _local11 = 230;
var _local2 = _rotation + 90;
var _local9 = Math.abs(_local2 - aim_angle_n);
final_angle_n = aim_angle_n - 90;
if (_local9 > _local13) {
if (_local2 > aim_angle_n) {
_rotation = _rotation - _local3;
} else if (_local2 < aim_angle_n) {
_rotation = _rotation + _local3;
}
} else {
_rotation = final_angle_n;
}
if (_rotation == final_angle_n) {
var _local6 = ExtMath.distance(_local7, _local8, aim_x_n, aim_y_n);
if (_local6 > _local11) {
var _local10 = _local5 * ExtMath.cosD(final_angle_n + 90);
var _local12 = _local5 * ExtMath.sinD(final_angle_n + 90);
_x = _x + _local10;
_y = _y + _local12;
} else {
attacked_bo = true;
attack_returned_bo = false;
}
}
}
function attack_return() {
if (attack_returned_bo) {
return(undefined);
}
var _local4 = ExtMath.distance(_x, _y, original_x_n, original_y_n);
var _local3 = 15;
var _local2 = 5;
var _local9 = 5;
var _local5 = 15;
if (_local4 > _local5) {
var _local6 = _local3 * ExtMath.cosD(final_angle_n + 90);
var _local8 = _local3 * ExtMath.sinD(final_angle_n + 90);
_x = _x - _local6;
_y = _y - _local8;
} else {
_x = original_x_n;
_y = original_y_n;
}
if ((_x == original_x_n) && (_y == original_y_n)) {
if (_rotation == 0) {
aim_coord_geted_bo = false;
aim_angle_geted_bo = false;
start_return_decay_bo = true;
return_decay_speed_n = 15;
speed_step_n = 0;
attack_returned_bo = true;
return(undefined);
}
var _local7 = Math.abs(_rotation);
if (_local7 > _local9) {
if (_rotation > 0) {
_rotation = _rotation - _local2;
} else if (_rotation < 0) {
_rotation = _rotation + _local2;
}
} else {
_rotation = 0;
}
}
}
function return_attack_decay() {
if (!start_return_decay_bo) {
return(undefined);
}
var _local3 = 0.9;
return_decay_speed_n = return_decay_speed_n * _local3;
speed_step_n = speed_step_n + 15;
var _local2 = ExtMath.sinD(speed_step_n) * return_decay_speed_n;
_y = original_y_n + _local2;
if (_local2 < 0.1) {
_y = original_y_n;
start_return_decay_bo = false;
}
}
function get_aim_angle() {
aim_angle_geted_bo = true;
var _local3 = get_coord();
var _local7 = _local3.x;
var _local8 = _local3.y;
var _local5 = _root.level_mc.role_mc;
var _local4 = _local5.get_coord();
var _local9 = _local4.x;
var _local6 = _local4.y;
aim_angle_n = ExtMath.angleOfLine(_local7, _local8, _local9, _local6);
aim_angle_n = ExtMath.fixAngle(aim_angle_n);
}
function check_hit() {
var _local9 = THIS.anim.body.head_hit_area;
var _local11 = THIS.anim.body.body_hit_area;
var _local10 = THIS.anim.body.weapon_hit_area1;
var _local3 = _root.level_mc.role_mc;
var _local12 = _local3.get_coord();
var _local4 = _local3.anim.hit_area;
var _local5 = _local3.on_boss_platform_bo;
var _local8 = _local9.hitTest(_local4);
var _local6 = _local11.hitTest(_local4);
var _local7 = _local10.hitTest(_local4);
if ((!_local8) && (!_local6)) {
blood_lost_bo = false;
start_rebounce_bo = false;
hit_body_effected_bo = false;
}
if (!_local7) {
role_blood_lost_bo = false;
hit_weapon_effected_bo = false;
}
if (_local7) {
hit_weapon_effect();
role_loss_blood();
return(undefined);
}
if (_local8) {
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
if (_local6) {
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
}
function role_loss_blood() {
if (role_blood_lost_bo) {
return(undefined);
}
if (_root.unattack_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
if (_root.game_difficulty_s == "EASY") {
var _local4 = 15;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local4 = 20;
} else if (_root.game_difficulty_s == "HARD") {
var _local4 = 25;
}
if (_local3.blood_num_n > 0) {
_local3.blood_num_n = _local3.blood_num_n - _local4;
} else {
_local3.blood_num_n = 0;
}
role_blood_lost_bo = true;
}
function loss_blood() {
if (blood_lost_bo) {
return(undefined);
}
if (_root.game_difficulty_s == "EASY") {
var _local3 = 10;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local3 = 7;
} else if (_root.game_difficulty_s == "HARD") {
var _local3 = 6;
}
if (blood_num_n > 0) {
blood_num_n = blood_num_n - _local3;
} else {
blood_num_n = 0;
}
blood_lost_bo = true;
}
function check_die() {
if (die_bo) {
return(undefined);
}
if (blood_num_n == 0) {
die_bo = true;
_root.game_pass_bo = true;
THIS.anim.gotoAndStop("die");
}
}
function rebounce_role() {
if (start_rebounce_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
_local3.vx_n = _local3.vx_n * -1;
_local3.vy_n = -16;
var _local4 = 3;
if ((_local3.vx_n <= _local4) && (_local3.vx_n >= 0)) {
_local3.vx_n = _local4;
}
if ((_local3.vx_n >= (-1 * _local4)) && (_local3.vx_n <= 0)) {
_local3.vx_n = -1 * _local4;
}
start_rebounce_bo = true;
}
function hit_body_effect() {
if (hit_body_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect", "hit_effect" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_body_effected_bo = true;
}
function hit_weapon_effect() {
if (hit_weapon_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect2", "hit_effect2" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_weapon_effected_bo = true;
}
}
Symbol 1141 MovieClip [__Packages.Boss4] Frame 0
class Boss4 extends Enemy
{
var blood_num_n, speed_n, bump_speed_n, vx_n, move_area_n, stop_time_n, jump_time_n, get_coord, original_coord_geted_bo, action_changed_bo, stop_bo, attack_randomed_bo, start_attack_bo, jump_randomed_bo, jumping_bo, bumping_bo, role_blood_lost_bo, blood_lost_bo, hit_body_effected_bo, hit_weapon_effected_bo, start_rebounce_bo, action_type_s, jump_interval_n, LEVEL, original_x_n, original_y_n, local_x_n, _x, local_y_n, _y, left_bound_n, right_bound_n, die_bo, direction_s, _xscale, THIS, stop_interval_n, vy_n, this_x_n;
function Boss4 () {
super();
this_init();
}
function this_init() {
blood_num_n = 100;
speed_n = 5;
bump_speed_n = 12;
vx_n = speed_n;
move_area_n = 200;
stop_time_n = 3000;
jump_time_n = 3000;
var _local2 = get_coord();
original_coord_geted_bo = false;
action_changed_bo = false;
stop_bo = false;
attack_randomed_bo = false;
start_attack_bo = false;
jump_randomed_bo = false;
jumping_bo = false;
bumping_bo = false;
role_blood_lost_bo = false;
blood_lost_bo = false;
hit_body_effected_bo = false;
hit_weapon_effected_bo = false;
start_rebounce_bo = false;
change_direction("LEFT");
action_type_s = "WALK";
jump_interval_n = setInterval(this, "random_jump", jump_time_n);
}
function get_original_coord() {
if (original_coord_geted_bo) {
return(undefined);
}
var _local3 = get_coord();
var _local4 = _root.floor_num_n;
var _local6 = LEVEL.floor_coord_x_a[_local4 - 1];
var _local5 = LEVEL.floor_coord_y_a[_local4 - 1];
if ((LEVEL._x != _local6) || (LEVEL._y != _local5)) {
return(undefined);
}
original_x_n = _local3.x;
original_y_n = _local3.y;
local_x_n = _x;
local_y_n = _y;
left_bound_n = original_x_n - move_area_n;
right_bound_n = original_x_n + move_area_n;
original_coord_geted_bo = true;
}
function onEnterFrame() {
var _local4 = _root.game_pause_bo;
if (_local4) {
return(undefined);
}
var _local5 = _root.floor_num_n;
if (_local5 != 4) {
return(undefined);
}
check_blood();
get_original_coord();
var _local3 = _root.level_mc.role_mc;
if (_local3.die_bo) {
change_direction("STOP");
return(undefined);
}
check_die();
if (die_bo) {
return(undefined);
}
check_hit();
check_role();
this_move();
jump();
}
function check_blood() {
var _local4 = _root.game_layout_mc;
var _local3 = _local4.boss_blood.blood_bar_mc;
var _local5 = _local3.bar_mc;
if (blood_num_n < 0) {
blood_num_n = 0;
}
_local5._xscale = blood_num_n;
}
function select_direction() {
if (jumping_bo) {
return(undefined);
}
if (bumping_bo) {
return(undefined);
}
var _local2 = Math.random() * 2;
if (_local2 < 1) {
change_direction("LEFT");
} else {
change_direction("RIGHT");
}
}
function change_direction(direction_s_flg) {
action_changed_bo = false;
direction_s = direction_s_flg;
if (direction_s == "LEFT") {
change_action("WALK");
_xscale = 100;
} else if (direction_s == "RIGHT") {
change_action("WALK");
_xscale = -100;
} else {
change_action("STOP");
_xscale = -100;
}
}
function detect_bound() {
if (jumping_bo) {
return(undefined);
}
var _local3 = get_coord();
var _local2 = _local3.x;
if (_local2 > right_bound_n) {
change_direction("LEFT");
_xscale = 100;
} else if (_local2 < left_bound_n) {
change_direction("RIGHT");
_xscale = -100;
}
}
function change_action(type_s_flg) {
if (action_changed_bo) {
return(undefined);
}
if ((type_s_flg != "FIST") && (type_s_flg != "BUMP")) {
start_attack_bo = false;
} else {
start_attack_bo = true;
}
switch (type_s_flg) {
case "STOP" :
THIS.anim.gotoAndStop("stop");
stop_bo = true;
stop_interval_n = setInterval(this, "end_stop", stop_time_n);
action_type_s = "STOP";
break;
case "WALK" :
THIS.anim.gotoAndStop("walk");
action_type_s = "WALK";
break;
case "FIST" :
THIS.anim.gotoAndStop("fist");
action_type_s = "FIST";
break;
case "JUMP" :
THIS.anim.gotoAndStop("jump");
action_type_s = "JUMP";
break;
case "BUMP" :
THIS.anim.gotoAndStop("bump");
action_type_s = "BUMP";
break;
case "DIE" :
THIS.anim.gotoAndStop("die");
action_type_s = "DIE";
}
action_changed_bo = true;
}
function random_jump() {
clearInterval(jump_interval_n);
var _local2 = jump_time_n + (Math.random() * 3000);
jump_interval_n = setInterval(this, "random_jump", _local2);
jumping_bo = true;
vy_n = -30;
if (_x > local_x_n) {
direction_s = "LEFT";
_xscale = 100;
action_changed_bo = false;
change_action("JUMP");
} else {
direction_s = "RIGHT";
_xscale = -100;
action_changed_bo = false;
change_action("JUMP");
}
}
function jump() {
if (!jumping_bo) {
return(undefined);
}
if (bumping_bo) {
return(undefined);
}
var _local2 = 1.8;
vy_n = vy_n + _local2;
_y = _y + vy_n;
if (_y > local_y_n) {
_y = local_y_n;
jumping_bo = false;
action_changed_bo = false;
change_action("WALK");
}
if (Math.abs(vy_n) < 4) {
THIS.anim.body.gotoAndStop("flying");
} else if (vy_n < -4) {
THIS.anim.body.gotoAndStop("start_jump");
} else if (vy_n > 4) {
THIS.anim.body.gotoAndStop("start_land");
}
}
function get_distance() {
var _local3 = get_coord();
var _local8 = _local3.x;
var _local9 = _local3.y;
var _local5 = _root.level_mc.role_mc;
var _local4 = _local5.get_coord();
var _local10 = _local4.x;
var _local6 = _local4.y;
var _local7 = ExtMath.distance(_local8, _local9, _local10, _local6);
return(_local7);
}
function check_role() {
if (jumping_bo) {
return(undefined);
}
var _local7 = get_coord();
var _local9 = _local7.x;
var _local3 = _root.level_mc.role_mc;
var _local8 = _local3.get_coord();
var _local10 = _local8.x;
var _local5 = _local3.on_boss_platform_bo;
if (_local5) {
random_attack();
} else {
attack_randomed_bo = false;
bumping_bo = false;
}
var _local4 = get_distance();
var _local6 = 60;
if (_local4 < bump_speed_n) {
attack_randomed_bo = false;
bumping_bo = false;
vx_n = speed_n;
}
if (bumping_bo) {
return(undefined);
}
if (_local4 <= _local6) {
stop_bo = true;
start_fist();
} else if (start_attack_bo) {
stop_bo = false;
start_attack_bo = false;
select_direction();
}
}
function this_move() {
if (stop_bo) {
return(undefined);
}
detect_bound();
if (direction_s == "LEFT") {
_x = _x - vx_n;
} else if (direction_s == "RIGHT") {
_x = _x + vx_n;
}
}
function random_attack() {
if (attack_randomed_bo) {
return(undefined);
}
var _local2 = Math.random();
if (_local2 < 0.7) {
start_bump();
} else {
walk_near();
}
attack_randomed_bo = true;
}
function start_bump() {
if (bumping_bo) {
return(undefined);
}
bumping_bo = true;
var _local8 = get_coord();
var _local3 = _local8.x;
var _local5 = _root.level_mc.role_mc;
var _local9 = _local5.get_coord();
var _local4 = _local9.x;
var _local6 = get_distance();
var _local7 = 100;
if (_local6 < _local7) {
walk_near();
return(undefined);
}
vx_n = bump_speed_n;
action_changed_bo = false;
change_action("BUMP");
if (_local3 > _local4) {
stop_bo = false;
_xscale = 100;
direction_s = "LEFT";
} else if (_local3 < _local4) {
stop_bo = false;
_xscale = -100;
direction_s = "RIGHT";
}
}
function walk_near() {
bumping_bo = false;
vx_n = speed_n;
var _local4 = _root.level_mc.role_mc;
var _local5 = _local4.get_coord();
var _local3 = _local5.x;
if (!start_attack_bo) {
if (this_x_n > _local3) {
stop_bo = false;
change_direction("LEFT");
} else if (this_x_n < _local3) {
stop_bo = false;
change_direction("RIGHT");
}
}
}
function end_stop() {
clearInterval(stop_interval_n);
stop_bo = false;
select_direction();
var _local3 = get_coord();
var _local2 = _local3.x;
if (_local2 > right_bound_n) {
change_direction("LEFT");
} else {
change_direction("RIGHT");
}
}
function start_fist() {
if (start_attack_bo) {
return(undefined);
}
action_changed_bo = false;
if (direction_s == "LEFT") {
change_action("FIST");
_xscale = 100;
} else if (direction_s == "RIGHT") {
change_action("FIST");
_xscale = -100;
}
}
function check_hit() {
var _local9 = THIS.anim.body.head_hit_area;
var _local11 = THIS.anim.body.body_hit_area;
var _local10 = THIS.anim.body.weapon_hit_area1;
var _local3 = _root.level_mc.role_mc;
var _local12 = _local3.get_coord();
var _local4 = _local3.anim.hit_area;
var _local5 = _local3.on_boss_platform_bo;
var _local8 = _local9.hitTest(_local4);
var _local6 = _local11.hitTest(_local4);
var _local7 = _local10.hitTest(_local4);
if ((!_local8) && (!_local6)) {
blood_lost_bo = false;
start_rebounce_bo = false;
hit_body_effected_bo = false;
}
if (!_local7) {
role_blood_lost_bo = false;
hit_weapon_effected_bo = false;
}
if (_local7) {
hit_weapon_effect();
role_loss_blood();
return(undefined);
}
if (_local8) {
if (_local3.vy_n <= 0) {
return(undefined);
}
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
if (_local6) {
if (_local3.vy_n <= 0) {
return(undefined);
}
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
}
function role_loss_blood() {
if (role_blood_lost_bo) {
return(undefined);
}
if (_root.unattack_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
if (_root.game_difficulty_s == "EASY") {
var _local4 = 15;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local4 = 20;
} else if (_root.game_difficulty_s == "HARD") {
var _local4 = 25;
}
if (_local3.blood_num_n > 0) {
_local3.blood_num_n = _local3.blood_num_n - _local4;
} else {
_local3.blood_num_n = 0;
}
role_blood_lost_bo = true;
}
function loss_blood() {
if (blood_lost_bo) {
return(undefined);
}
if (_root.game_difficulty_s == "EASY") {
var _local3 = 20;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local3 = 15;
} else if (_root.game_difficulty_s == "HARD") {
var _local3 = 10;
}
if (blood_num_n > 0) {
blood_num_n = blood_num_n - _local3;
} else {
blood_num_n = 0;
}
blood_lost_bo = true;
}
function check_die() {
if (die_bo) {
return(undefined);
}
if (blood_num_n == 0) {
die_bo = true;
_root.game_end_bo = true;
THIS.anim.gotoAndStop("die");
}
}
function rebounce_role() {
if (start_rebounce_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
_local3.vx_n = _local3.vx_n * -1;
_local3.vy_n = -16;
var _local4 = 3;
if ((_local3.vx_n <= _local4) && (_local3.vx_n >= 0)) {
_local3.vx_n = _local4;
}
if ((_local3.vx_n >= (-1 * _local4)) && (_local3.vx_n <= 0)) {
_local3.vx_n = -1 * _local4;
}
start_rebounce_bo = true;
}
function hit_body_effect() {
if (hit_body_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect", "hit_effect" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_body_effected_bo = true;
}
function hit_weapon_effect() {
if (hit_weapon_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect2", "hit_effect2" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_weapon_effected_bo = true;
}
}
Symbol 1142 MovieClip [__Packages.Boss5] Frame 0
class Boss5 extends Enemy
{
var blood_num_n, normal_speed_n, high_speed_n, original_coord_geted_bo, action_changed_bo, stop_bo, flying_bo, aimed_bo, attack_randomed_bo, attacking_bo, role_blood_lost_bo, blood_lost_bo, hit_body_effected_bo, hit_weapon_effected_bo, start_rebounce_bo, action_type_s, get_coord, LEVEL, original_x_n, original_y_n, local_x_n, _x, local_y_n, _y, die_bo, _xscale, direction_s, THIS, aim_x_n, speed_n, offset_angle_n, aim_distance_n, vx_n, vy_n, _parent, stop_interval_n, fly_interval_n;
function Boss5 () {
super();
this_init();
}
function this_init() {
blood_num_n = 100;
normal_speed_n = 6;
high_speed_n = 15;
original_coord_geted_bo = false;
action_changed_bo = false;
stop_bo = false;
flying_bo = false;
aimed_bo = false;
attack_randomed_bo = false;
attacking_bo = false;
role_blood_lost_bo = false;
blood_lost_bo = false;
hit_body_effected_bo = false;
hit_weapon_effected_bo = false;
start_rebounce_bo = false;
change_direction("LEFT");
action_type_s = "STOP";
}
function get_original_coord() {
if (original_coord_geted_bo) {
return(undefined);
}
var _local3 = get_coord();
var _local4 = _root.floor_num_n;
var _local6 = LEVEL.floor_coord_x_a[_local4 - 1];
var _local5 = LEVEL.floor_coord_y_a[_local4 - 1];
if ((LEVEL._x != _local6) || (LEVEL._y != _local5)) {
return(undefined);
}
original_x_n = _local3.x;
original_y_n = _local3.y;
local_x_n = _x;
local_y_n = _y;
original_coord_geted_bo = true;
}
function onEnterFrame() {
var _local4 = _root.game_pause_bo;
if (_local4) {
return(undefined);
}
var _local5 = _root.floor_num_n;
if (_local5 != 4) {
return(undefined);
}
check_blood();
get_original_coord();
var _local3 = _root.level_mc.role_mc;
if (_local3.die_bo) {
change_direction("STOP");
return(undefined);
}
check_die();
if (die_bo) {
return(undefined);
}
check_direction();
check_role();
attack_control();
check_hit();
this_move();
}
function check_blood() {
var _local4 = _root.game_layout_mc;
var _local3 = _local4.boss_blood.blood_bar_mc;
var _local5 = _local3.bar_mc;
if (blood_num_n < 0) {
blood_num_n = 0;
}
_local5._xscale = blood_num_n;
}
function check_direction() {
var _local3 = get_coord();
var _local6 = _local3.x;
var _local9 = _local3.y;
var _local5 = _root.level_mc.role_mc;
var _local4 = _local5.get_coord();
var _local7 = _local4.x;
var _local8 = _local4.y;
if (_local6 > _local7) {
_xscale = 100;
} else {
_xscale = -100;
}
}
function change_direction(direction_s_flg) {
action_changed_bo = false;
direction_s = direction_s_flg;
if (direction_s == "LEFT") {
change_action("STOP");
_xscale = 100;
} else if (direction_s == "RIGHT") {
change_action("STOP");
_xscale = -100;
}
}
function change_action(type_s_flg) {
if (action_changed_bo) {
return(undefined);
}
if (type_s_flg != "CHOP") {
attacking_bo = false;
} else {
attacking_bo = true;
}
switch (type_s_flg) {
case "STOP" :
THIS.anim.gotoAndStop("stop");
action_type_s = "STOP";
break;
case "FLYING" :
THIS.anim.gotoAndStop("stop");
action_type_s = "FLYING";
break;
case "CHOP" :
THIS.anim.gotoAndStop("chop");
action_type_s = "CHOP";
break;
case "DIE" :
THIS.anim.gotoAndStop("die");
action_type_s = "DIE";
}
action_changed_bo = true;
}
function detect_aim() {
if (aimed_bo) {
return(undefined);
}
attack_randomed_bo = false;
aimed_bo = true;
flying_bo = true;
action_changed_bo = false;
change_action("FLYING");
var _local4 = get_coord();
var _local8 = _local4.x;
var _local11 = _local4.y;
var _local6 = _root.level_mc.role_mc;
var _local5 = _local6.get_coord();
var _local9 = _local5.x;
var _local10 = _local5.y;
var _local3 = 30;
if (_local8 > _local9) {
aim_x_n = aim_x_n + _local3;
} else {
aim_x_n = aim_x_n - _local3;
}
var _local7 = Math.random();
if (_local7 < 0.6) {
speed_n = normal_speed_n;
} else {
speed_n = high_speed_n;
}
offset_angle_n = 0;
aim_distance_n = get_distance();
}
function check_bound() {
}
function this_move() {
if (!aimed_bo) {
return(undefined);
}
var _local6 = 120;
var _local7 = _local6;
var _local16 = _root.stage_width_n - _local6;
var _local17 = _local6;
var _local11 = _root.stage_height_n - _local6;
var _local13 = get_coord();
var _local3 = _local13.x;
var _local4 = _local13.y;
var _local18 = _root.level_mc.role_mc;
var _local15 = _local18.get_coord();
var _local22 = _local15.x;
var _local19 = _local15.y;
var _local23 = get_role_angle();
var _local20 = get_distance();
var _local21 = _local20 / aim_distance_n;
offset_angle_n = offset_angle_n * _local21;
var _local14 = _local23 + offset_angle_n;
vx_n = speed_n * ExtMath.cosD(_local14);
vy_n = speed_n * ExtMath.sinD(_local14);
var _local10 = 100;
var _local12 = 15;
var _local9 = Math.abs(_local3 - _local22);
var _local8 = Math.abs(_local4 - _local19);
if ((_local9 <= _local10) && (_local8 <= _local12)) {
start_chop();
} else if ((_local9 <= _local10) && (_local8 > _local12)) {
_y = _y + vy_n;
} else {
_x = _x + vx_n;
_y = _y + vy_n;
}
var _local5 = ExtMath.to_local(_parent, 0, 0);
if (_local3 < _local7) {
_local3 = _local5 + _local7;
}
if (_local3 > _local16) {
_local3 = _local5 + _local16;
}
if (_local4 < _local17) {
_local4 = _local5 + _local17;
}
if (_local4 > _local11) {
_local4 = _local5 + _local11;
}
}
function attack_control() {
if (attack_randomed_bo) {
return(undefined);
}
attack_randomed_bo = true;
clear_interval();
var _local2 = 1000;
var _local3 = 3000;
if (action_type_s == "STOP") {
stop_interval_n = setInterval(this, "detect_aim", _local2);
} else if (action_type_s == "FLYING") {
fly_interval_n = setInterval(this, "start_stop", _local3);
}
}
function clear_interval() {
clearInterval(fly_interval_n);
clearInterval(stop_interval_n);
}
function start_stop() {
attack_randomed_bo = false;
aimed_bo = false;
flying_bo = false;
stop_bo = true;
action_changed_bo = false;
change_action("STOP");
}
function start_chop() {
aimed_bo = false;
flying_bo = false;
stop_bo = false;
action_changed_bo = false;
change_action("CHOP");
}
function check_role() {
var _local4 = get_coord();
var _local7 = _local4.x;
var _local3 = _root.level_mc.role_mc;
var _local5 = _local3.get_coord();
var _local9 = _local5.x;
var _local8 = 100;
var _local6 = get_distance();
}
function get_role_angle() {
var _local4 = get_coord();
var _local8 = _local4.x;
var _local9 = _local4.y;
var _local6 = _root.level_mc.role_mc;
var _local5 = _local6.get_coord();
var _local10 = _local5.x;
var _local7 = _local5.y;
var _local3 = ExtMath.angleOfLine(_local8, _local9, _local10, _local7);
_local3 = ExtMath.fixAngle(_local3);
return(_local3);
}
function get_distance() {
var _local3 = get_coord();
var _local8 = _local3.x;
var _local9 = _local3.y;
var _local5 = _root.level_mc.role_mc;
var _local4 = _local5.get_coord();
var _local10 = _local4.x;
var _local6 = _local4.y;
var _local7 = ExtMath.distance(_local8, _local9, _local10, _local6);
return(_local7);
}
function check_hit() {
var _local9 = THIS.anim.body.head_hit_area;
var _local11 = THIS.anim.body.body_hit_area;
var _local10 = THIS.anim.body.weapon_hit_area1;
var _local3 = _root.level_mc.role_mc;
var _local12 = _local3.get_coord();
var _local4 = _local3.anim.hit_area;
var _local5 = _local3.on_boss_platform_bo;
var _local8 = _local9.hitTest(_local4);
var _local6 = _local11.hitTest(_local4);
var _local7 = _local10.hitTest(_local4);
if ((!_local8) && (!_local6)) {
blood_lost_bo = false;
start_rebounce_bo = false;
hit_body_effected_bo = false;
}
if (!_local7) {
role_blood_lost_bo = false;
hit_weapon_effected_bo = false;
}
if (_local7) {
hit_weapon_effect();
role_loss_blood();
return(undefined);
}
if (_local8) {
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
if (_local6) {
if (_local5) {
return(undefined);
}
rebounce_role();
hit_body_effect();
loss_blood();
}
}
function role_loss_blood() {
if (role_blood_lost_bo) {
return(undefined);
}
if (_root.unattack_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
if (_root.game_difficulty_s == "EASY") {
var _local4 = 15;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local4 = 20;
} else if (_root.game_difficulty_s == "HARD") {
var _local4 = 25;
}
if (_local3.blood_num_n > 0) {
_local3.blood_num_n = _local3.blood_num_n - _local4;
} else {
_local3.blood_num_n = 0;
}
role_blood_lost_bo = true;
}
function loss_blood() {
if (blood_lost_bo) {
return(undefined);
}
if (_root.game_difficulty_s == "EASY") {
var _local3 = 15;
} else if (_root.game_difficulty_s == "NORMAL") {
var _local3 = 10;
} else if (_root.game_difficulty_s == "HARD") {
var _local3 = 8;
}
if (blood_num_n > 0) {
blood_num_n = blood_num_n - _local3;
} else {
blood_num_n = 0;
}
blood_lost_bo = true;
}
function check_die() {
if (die_bo) {
return(undefined);
}
if (blood_num_n == 0) {
die_bo = true;
_root.game_pass_bo = true;
THIS.anim.gotoAndStop("die");
}
}
function rebounce_role() {
if (start_rebounce_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
_local3.vx_n = _local3.vx_n * -1;
_local3.vy_n = -16;
var _local4 = 3;
if ((_local3.vx_n <= _local4) && (_local3.vx_n >= 0)) {
_local3.vx_n = _local4;
}
if ((_local3.vx_n >= (-1 * _local4)) && (_local3.vx_n <= 0)) {
_local3.vx_n = -1 * _local4;
}
start_rebounce_bo = true;
}
function hit_body_effect() {
if (hit_body_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect", "hit_effect" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_body_effected_bo = true;
}
function hit_weapon_effect() {
if (hit_weapon_effected_bo) {
return(undefined);
}
var _local3 = _root.level_mc.role_mc;
var _local5 = LEVEL.getNextHighestDepth();
var _local4 = LEVEL.attachMovie("hit_effect2", "hit_effect2" + _local5, _local5);
_local4._x = _local3._x;
_local4._y = _local3._y;
hit_weapon_effected_bo = true;
}
}
Symbol 1143 MovieClip [__Packages.Platform] Frame 0
class Platform extends MovieClip
{
var THIS, _name, _parent, type_changed_bo, used_bo, type_s, old_x_n, _x, old_y_n, _y, direction_s, pole_s, aim_x_n, move_area_n, aim_y_n, onLoad, speed_n, this_x_n, this_y_n, top_n, left_n, right_n, instance, bottom_n;
function Platform () {
super();
this_init();
init_type();
}
function onEnterFrame() {
this_move();
}
function this_init() {
THIS = _parent[_name];
type_changed_bo = false;
used_bo = false;
}
function init_type() {
if (type_changed_bo) {
return(undefined);
}
switch (type_s) {
case "NORMAL" :
break;
case "TRAP" :
break;
case "MOVE" :
init_move();
break;
case "BAFFLE" :
break;
case "ICE" :
break;
case "SPRING" :
}
type_changed_bo = true;
}
function init_move() {
old_x_n = _x;
old_y_n = _y;
if (direction_s == "H") {
if (pole_s == "POSITIVE") {
aim_x_n = old_x_n + move_area_n;
} else {
aim_x_n = old_x_n - move_area_n;
}
} else if (pole_s == "POSITIVE") {
aim_y_n = old_y_n - move_area_n;
} else {
aim_y_n = old_y_n + move_area_n;
}
onLoad = function () {
if (this.pole_s != "POSITIVE") {
this.speed_n = this.speed_n * -1;
}
};
}
function this_move() {
if (type_s != "MOVE") {
return(undefined);
}
if (direction_s == "H") {
if (pole_s == "POSITIVE") {
_x = _x + speed_n;
if (_x >= aim_x_n) {
speed_n = speed_n * -1;
}
if (_x <= old_x_n) {
speed_n = speed_n * -1;
}
} else {
_x = _x + speed_n;
if (_x <= aim_x_n) {
speed_n = speed_n * -1;
}
if (_x >= old_x_n) {
speed_n = speed_n * -1;
}
}
} else if (pole_s == "POSITIVE") {
_y = _y - speed_n;
if (_y <= aim_y_n) {
speed_n = speed_n * -1;
}
if (_y >= old_y_n) {
speed_n = speed_n * -1;
}
} else {
_y = _y - speed_n;
if (_y >= aim_y_n) {
speed_n = speed_n * -1;
}
if (_y <= old_y_n) {
speed_n = speed_n * -1;
}
}
}
function get_coord() {
var _local2 = ExtMath.to_global(_parent, _x, _y);
return(_local2);
}
function get_boundary() {
var _local2 = get_coord();
this_x_n = _local2.x;
this_y_n = _local2.y;
top_n = _local2.y;
left_n = _local2.x;
right_n = _local2.x + instance._width;
bottom_n = _local2.y + instance._height;
}
}
Symbol 1144 MovieClip [__Packages.Level] Frame 0
class Level extends MovieClip
{
var THIS, _name, _parent, active_mc_a, init_floor_bo, active_obj_bo, clear_prev_floor_bo, game_difficulty_s, level_num_n, role_init_speed_n, role_speed_up_n, role_max_speed_n, role_min_speed_n, role_init_g_n, role_g_up_n, role_speed_rate_n, role_drag_index_n, getNextHighestDepth, attachMovie, _x, _y, floor_coord_x_a, floor_coord_y_a, screen_direction_a;
function Level () {
super();
THIS = _parent[_name];
this_init();
}
function onLoad() {
load_mc();
clear_prev_floor();
init_active_floor();
active_obj();
}
function this_init() {
active_mc_a = new Array();
active_mc_a[0] = THIS.bonus_mc;
active_mc_a[1] = THIS.enemy_mc;
active_mc_a[2] = THIS.platform_mc;
active_mc_a[3] = THIS.baffle_mc;
init_floor_bo = false;
active_obj_bo = false;
clear_prev_floor_bo = false;
THIS["door" + (_root.floor_num_n - 1)].gotoAndStop("opened");
THIS["door" + (_root.floor_num_n - 1)].light.gotoAndStop(1);
game_difficulty_s = _root.game_difficulty_s;
level_num_n = _root.level_num_n;
role_init_speed_n = 22;
role_speed_up_n = 4;
role_max_speed_n = 30;
role_min_speed_n = 15;
role_init_g_n = 1;
role_g_up_n = 0.5;
role_speed_rate_n = 1;
role_drag_index_n = 1;
init_level();
init_floor();
}
function load_mc() {
var _local2 = getNextHighestDepth();
var _local3 = attachMovie("draw_mc", "draw_mc", _local2);
load_role();
}
function load_role() {
THIS.role_mc.removeMovieClip();
var _local6 = getNextHighestDepth();
var _local4 = attachMovie("role_mc", "role_mc", _local6);
var _local3 = THIS.platform_mc["key_platform" + (_root.floor_num_n - 1)];
_local3._visible = true;
_local3.used_bo = true;
if (!_local3) {
_local3 = THIS.platform_mc.start_platform;
}
var _local5 = _local3.get_coord();
_local4._x = (_local5.x + 60) - _x;
_local4._y = (_local5.y - 2) - _y;
}
function init_active_floor() {
if (init_floor_bo) {
return(undefined);
}
var _local10 = _root.floor_num_n;
var _local7 = THIS["hit_area" + _local10];
for (var _local9 in active_mc_a) {
for (var _local8 in active_mc_a[_local9]) {
var _local3 = active_mc_a[_local9][_local8];
var _local5 = (_x + active_mc_a[_local9]._x) + _local3._x;
var _local6 = (_y + active_mc_a[_local9]._y) + _local3._y;
var _local4 = _local7.hitTest(_local5, _local6, true);
if (!_local4) {
if ((active_mc_a[_local9] == THIS.platform_mc) && (_local3.active_bo)) {
continue;
}
if (_local3.type_s == "STING") {
continue;
}
if (_local3.type_s == "FIRE") {
continue;
}
if (_local3.type_s == "BOMB") {
continue;
}
_local3.gotoAndStop("null");
delete _local3.onEnterFrame;
}
}
}
init_floor_bo = true;
}
function active_obj() {
if (active_obj_bo) {
return(undefined);
}
var _local10 = _root.floor_num_n;
var _local7 = THIS["hit_area" + _local10];
for (var _local9 in active_mc_a) {
for (var _local8 in active_mc_a[_local9]) {
var _local3 = active_mc_a[_local9][_local8];
var _local5 = (_x + active_mc_a[_local9]._x) + _local3._x;
var _local6 = (_y + active_mc_a[_local9]._y) + _local3._y;
var _local4 = _local7.hitTest(_local5, _local6, true);
if (_local4) {
_local3.gotoAndStop("normal");
_local3.init_onEnterFrame();
}
}
}
active_obj_bo = true;
}
function clear_prev_floor() {
if (clear_prev_floor_bo) {
return(undefined);
}
var _local10 = _root.floor_num_n;
var _local7 = THIS["hit_area" + (_local10 - 1)];
for (var _local9 in active_mc_a) {
for (var _local8 in active_mc_a[_local9]) {
var _local3 = active_mc_a[_local9][_local8];
var _local5 = (_x + active_mc_a[_local9]._x) + _local3._x;
var _local6 = (_y + active_mc_a[_local9]._y) + _local3._y;
var _local4 = _local7.hitTest(_local5, _local6, true);
if (_local4) {
if ((active_mc_a[_local9] == THIS.platform_mc) && (_local3.active_bo)) {
continue;
}
if (_local3.type_s == "STING") {
continue;
}
if (_local3.type_s == "FIRE") {
continue;
}
if (_local3.type_s == "BOMB") {
continue;
}
_local3.gotoAndStop("null");
delete _local3.onEnterFrame;
}
}
}
clear_prev_floor_bo = true;
}
function init_floor() {
var _local3 = _root.floor_num_n;
_x = floor_coord_x_a[_local3 - 1];
_y = floor_coord_y_a[_local3 - 1];
}
function init_level() {
var _local3 = _root.level_num_n;
switch (_local3) {
case 1 :
screen_direction_a = new Array("", "", "RIGHT", "RIGHT", "RIGHT");
floor_coord_x_a = new Array(0, -500, -1000, -1500);
floor_coord_y_a = new Array(0, 0, 0, 0);
break;
case 2 :
screen_direction_a = new Array("", "", "UP", "RIGHT", "UP");
floor_coord_x_a = new Array(0, 0, -500, -500);
floor_coord_y_a = new Array(0, 480, 480, 960);
break;
case 3 :
screen_direction_a = new Array("", "", "UP", "UP", "UP");
floor_coord_x_a = new Array(0, 0, 0, 0);
floor_coord_y_a = new Array(0, 480, 960, 1440);
break;
case 4 :
screen_direction_a = new Array("", "", "DOWN", "RIGHT", "RIGHT");
floor_coord_x_a = new Array(0, 0, -500, -1000);
floor_coord_y_a = new Array(0, -480, -480, -480);
break;
case 5 :
screen_direction_a = new Array("", "", "DOWN", "DOWN", "RIGHT");
floor_coord_x_a = new Array(0, 0, 0, -500);
floor_coord_y_a = new Array(0, -480, -960, -960);
break;
case 6 :
screen_direction_a = new Array("", "", "RIGHT", "RIGHT", "UP");
floor_coord_x_a = new Array(0, -500, -1000, -1000);
floor_coord_y_a = new Array(0, 0, 0, 480);
break;
case 7 :
screen_direction_a = new Array("", "", "UP", "UP", "UP");
floor_coord_x_a = new Array(0, 0, 0, 0);
floor_coord_y_a = new Array(0, 480, 960, 1440);
}
}
}
Symbol 1145 MovieClip [__Packages.Dart] Frame 0
class Dart extends MovieClip
{
var inited_bo, THIS, _name, _parent, direction_s, speed_n, onEnterFrame, _x, _y, hitTest, removeMovieClip;
function Dart () {
super();
inited_bo = false;
}
function this_init(direction_s_flg) {
if (inited_bo) {
return(undefined);
}
THIS = _parent[_name];
direction_s = direction_s_flg;
speed_n = 15;
onEnterFrame = function () {
this.this_move();
this.check_enemy();
this.check_bound();
};
inited_bo = true;
}
function get_global_coord() {
var _local2 = ExtMath.to_global(_parent, _x, _y);
return(_local2);
}
function this_move() {
if (direction_s == "RIGHT") {
_x = _x + speed_n;
} else {
_x = _x - speed_n;
}
}
function check_enemy() {
var _local5 = _root.level_mc.enemy_mc;
var _local7 = hitTest(_local5);
if (_local7) {
for (var _local6 in _local5) {
var _local3 = _local5[_local6];
var _local4 = hitTest(_local3.body);
if (_local4) {
_local3.die_bo = true;
}
}
}
}
function check_bound() {
var _local3 = get_global_coord();
var _local2 = _local3.x;
var _local4 = _local3.y;
if (_local2 > 620) {
removeMovieClip();
} else if (_local2 < -20) {
removeMovieClip();
}
}
}
Symbol 1146 MovieClip [__Packages.Role] Frame 0
class Role extends MovieClip
{
var THIS, _name, _parent, LEVEL, stage_width_n, stage_height_n, action_type_s, direction_s, current_platform_mc, life_lost_bo, screen_start_change_bo, on_boss_platform_bo, drop_bo, allow_shift_bo, key_down_bo, dart_attack_bo, first_position_bo, in_air_bo, floor_pass_bo, start_scroll_bo, hit_enemy_bo, die_bo, disappeared_bo, land_pause_bo, action_changed_bo, start_shift_bo, on_line_bo, on_platform_bo, on_bound_bo, on_baffle_bo, scroll_aim_y_n, scroll_aim_x_n, floor_height_n, floor_width_n, blood_num_n, init_speed_n, speed_n, speed_up_n, shift_speed_n, max_speed_n, min_speed_n, init_g_n, g_n, g_up_n, speed_rate_n, drag_index_n, angle_n, default_land_pause_time_n, land_pause_time_n, vx_n, vy_n, this_y_n, _y, _xscale, _rotation, _x, this_x_n, next_x_n, next_y_n, gotoAndStop, screen_direction_a, onKeyDown, onKeyUp, out_angle_n, current_line_mc, current_baffle_mc;
function Role () {
super();
THIS = _parent[_name];
LEVEL = _root.level_mc;
this_init();
}
function this_init() {
stage_width_n = _root.stage_width_n;
stage_height_n = _root.stage_height_n;
action_type_s = "STOP";
THIS.start_change_action("STOP");
check_action_type();
direction_s = "RIGHT";
current_platform_mc = LEVEL.platform_mc.start_platform;
life_lost_bo = false;
screen_start_change_bo = false;
on_boss_platform_bo = false;
drop_bo = false;
allow_shift_bo = true;
key_down_bo = false;
dart_attack_bo = false;
first_position_bo = true;
in_air_bo = false;
floor_pass_bo = false;
start_scroll_bo = false;
hit_enemy_bo = false;
die_bo = false;
disappeared_bo = false;
land_pause_bo = false;
action_changed_bo = false;
start_shift_bo = false;
on_line_bo = false;
on_platform_bo = true;
on_bound_bo = false;
on_baffle_bo = false;
scroll_aim_y_n = null;
scroll_aim_x_n = null;
floor_height_n = 480;
floor_width_n = 500;
blood_num_n = 100;
init_speed_n = LEVEL.role_init_speed_n;
speed_n = init_speed_n;
speed_up_n = LEVEL.role_speed_up_n;
shift_speed_n = 5;
max_speed_n = LEVEL.role_max_speed_n;
min_speed_n = LEVEL.role_min_speed_n;
init_g_n = LEVEL.role_init_g_n;
g_n = init_g_n;
g_up_n = LEVEL.role_g_up_n;
speed_rate_n = LEVEL.role_speed_rate_n;
drag_index_n = LEVEL.role_drag_index_n;
angle_n = -90;
default_land_pause_time_n = 3;
land_pause_time_n = default_land_pause_time_n;
vx_n = 0;
vy_n = 0;
key_control();
}
function onEnterFrame() {
scroll_screen();
var _local3 = _root.game_pause_bo;
if (_local3) {
return(undefined);
}
check_blood();
check_direction();
get_coord();
check_die();
disappear();
if (die_bo) {
return(undefined);
}
check_undrop();
check_anemy();
check_laser();
role_rotate();
check_action_type();
get_coord();
check_boundary();
check_baffle();
check_platform();
check_platform_fun();
check_air_fun();
}
function just_test() {
if (this_y_n > 600) {
_y = get_local_y(0);
vx_n = vx_n * 0;
vy_n = vy_n * 0;
}
}
function check_undrop() {
if (_root.undrop_bo && (this_y_n > (stage_height_n - 30))) {
vx_n = 0;
vy_n = -22;
_xscale = 100;
}
}
function check_platform_fun() {
if (in_air_bo) {
return(undefined);
}
platform_move();
check_ice();
this_shift();
this_stop();
check_drop();
}
function check_air_fun() {
land_pause();
if (land_pause_bo) {
return(undefined);
}
if (!in_air_bo) {
return(undefined);
}
allow_shift_bo = false;
this_move();
check_line();
}
function check_blood() {
var _local4 = _root.game_layout_mc;
var _local3 = _local4.blood_bar_mc;
var _local5 = _local3.bar_mc;
if (blood_num_n < 0) {
blood_num_n = 0;
}
_local5._xscale = blood_num_n;
}
function check_die() {
if (die_bo) {
return(undefined);
}
if ((blood_num_n <= 0) || (this_y_n > stage_height_n)) {
die_bo = true;
speed_n = -10;
loss_life();
}
if (this_y_n > stage_height_n) {
LEVEL.load_role();
}
}
function loss_life() {
if (life_lost_bo) {
return(undefined);
}
_root.role_life_num_n = _root.role_life_num_n - 1;
life_lost_bo = true;
}
function disappear() {
if (!die_bo) {
return(undefined);
}
if (disappeared_bo) {
return(undefined);
}
_rotation = 0;
speed_n = speed_n + g_n;
_y = _y + speed_n;
if (direction_s == "RIGHT") {
_x = _x - 5;
} else {
_x = _x + 5;
}
if (this_y_n >= stage_height_n) {
disappeared_bo = true;
LEVEL.load_role();
}
}
function check_direction() {
if (vx_n > 0) {
direction_s = "RIGHT";
}
if (vx_n < 0) {
direction_s = "LEFT";
}
}
function get_coord() {
var _local2 = ExtMath.to_global(_parent, _x, _y);
this_x_n = _local2.x;
this_y_n = _local2.y;
next_x_n = _local2.x + vx_n;
next_y_n = _local2.y + vy_n;
return(_local2);
}
function get_local_coord(x_n, y_n) {
var _local2 = ExtMath.to_local(_parent, x_n, y_n);
return(_local2);
}
function get_local_x(x_n) {
var _local2 = ExtMath.to_local(_parent, x_n, 0);
return(_local2.x);
}
function get_local_y(y_n) {
var _local2 = ExtMath.to_local(_parent, 0, y_n);
return(_local2.y);
}
function check_laser() {
var _local3 = _root.level_mc.bonus_mc.laser_mc;
var _local6 = _local3.hitTest(this);
if (!_local6) {
return(undefined);
}
for (var _local5 in _local3) {
var _local4 = _local3[_local5].light.hitTest(this);
if ((_local4 && (_local3[_local5].laser_on_bo)) && (!die_bo)) {
die_bo = true;
gotoAndStop("laser_die");
}
}
}
function floor_pass() {
if (!floor_pass_bo) {
return(undefined);
}
screen_direction_a = LEVEL.screen_direction_a;
_root.floor_num_n = _root.floor_num_n + 1;
var _local3 = screen_direction_a[_root.floor_num_n];
if (_local3 == "UP") {
scroll_aim_y_n = LEVEL._y + floor_height_n;
} else if (_local3 == "DOWN") {
scroll_aim_y_n = LEVEL._y - floor_height_n;
} else if (_local3 == "RIGHT") {
scroll_aim_x_n = LEVEL._x - floor_width_n;
}
start_scroll_bo = true;
floor_pass_bo = false;
_root.game_pause_bo = true;
active_obj();
}
function active_obj() {
LEVEL.active_obj_bo = false;
LEVEL.active_obj();
}
function clear_prev_floor() {
LEVEL.clear_prev_floor_bo = false;
LEVEL.clear_prev_floor();
}
function scroll_screen() {
if (!start_scroll_bo) {
return(undefined);
}
if (!_root.screen_change) {
var _local4 = _root.getNextHighestDepth();
var _local3 = _root.attachMovie("screen_change", "screen_change", _local4);
_local3._alpha = 0;
}
if (!screen_start_change_bo) {
_root.screen_change._alpha = _root.screen_change._alpha + 10;
} else if (screen_start_change_bo) {
_root.screen_change._alpha = _root.screen_change._alpha - 10;
}
if (_root.screen_change._alpha >= 100) {
_root.screen_change._alpha = 100;
LEVEL._x = scroll_aim_x_n;
LEVEL._y = scroll_aim_y_n;
screen_start_change_bo = true;
if (_root.floor_num_n != 4) {
_root.game_layout_mc.boss_blood._visible = false;
} else {
_root.game_layout_mc.boss_blood._visible = true;
}
}
if ((_root.screen_change._alpha <= 0) && (screen_start_change_bo)) {
_root.screen_change.removeMovieClip();
clear_prev_floor();
start_scroll_bo = false;
screen_start_change_bo = false;
_root.game_pause_bo = false;
LEVEL["door" + (_root.floor_num_n - 1)].light.gotoAndStop(1);
}
}
function scroll_screen1() {
if (!start_scroll_bo) {
return(undefined);
}
screen_direction_a = LEVEL.screen_direction_a;
var _local3 = screen_direction_a[_root.floor_num_n];
if (_local3 == "UP") {
LEVEL._y = LEVEL._y + ((scroll_aim_y_n - LEVEL._y) * 0.12);
var _local4 = Math.abs(scroll_aim_y_n - LEVEL._y);
if (_local4 <= 1) {
LEVEL._y = scroll_aim_y_n;
start_scroll_bo = false;
clear_prev_floor();
}
} else if (_local3 == "DOWN") {
LEVEL._y = LEVEL._y + ((scroll_aim_y_n - LEVEL._y) * 0.12);
var _local4 = Math.abs(scroll_aim_y_n - LEVEL._y);
if (_local4 <= 1) {
LEVEL._y = scroll_aim_y_n;
start_scroll_bo = false;
clear_prev_floor();
}
} else if (_local3 == "RIGHT") {
LEVEL._x = LEVEL._x + ((scroll_aim_x_n - LEVEL._x) * 0.12);
var _local4 = Math.abs(scroll_aim_x_n - LEVEL._x);
if (_local4 <= 1) {
LEVEL._x = scroll_aim_x_n;
start_scroll_bo = false;
clear_prev_floor();
}
}
}
function check_anemy() {
var _local4 = _root.level_mc.enemy_mc;
var _local3 = _local4.hitTest(this_x_n, this_y_n, true);
if (_local3) {
hit_enemy_bo = true;
} else {
hit_enemy_bo = false;
}
}
function key_control() {
onKeyDown = dart_attack;
onKeyUp = function () {
this.key_down_bo = false;
this.dart_attack_bo = false;
};
Key.addListener(this);
}
function dart_attack() {
var _local5 = _root.game_pause_bo;
if (_local5) {
return(undefined);
}
if ((Key.isDown(65) && (Key.isDown(87))) && (!on_baffle_bo)) {
vx_n = -1.2 * shift_speed_n;
if (in_air_bo) {
return(undefined);
}
in_air_bo = true;
on_platform_bo = false;
_xscale = 100;
vy_n = -15;
_y = _y + vy_n;
start_change_action("FLY");
key_down_bo = true;
} else if ((Key.isDown(68) && (Key.isDown(87))) && (!on_baffle_bo)) {
vx_n = 1.2 * shift_speed_n;
if (in_air_bo) {
return(undefined);
}
in_air_bo = true;
on_platform_bo = false;
_xscale = -100;
vy_n = -15;
_y = _y + vy_n;
start_change_action("FLY");
key_down_bo = true;
} else if (Key.isDown(87)) {
if (in_air_bo) {
return(undefined);
}
in_air_bo = true;
on_platform_bo = false;
if (_xscale == -100) {
_xscale = 100;
vx_n = -0.1;
} else {
_xscale = -100;
vx_n = 0.1;
}
vy_n = -15;
_y = _y + vy_n;
start_change_action("FLY");
key_down_bo = true;
}
if (Key.isDown(83) && (Key.getCode() == 83)) {
return(undefined);
}
}
function this_shift() {
if (!allow_shift_bo) {
return(undefined);
}
if (Key.isDown(65)) {
direction_s = "LEFT";
start_shift_bo = true;
_rotation = 0;
_x = _x - shift_speed_n;
_xscale = -100;
angle_n = 180;
start_change_action("RUN");
}
if (Key.isDown(68)) {
direction_s = "RIGHT";
start_shift_bo = true;
_rotation = 0;
_x = _x + shift_speed_n;
_xscale = 100;
angle_n = 0;
start_change_action("RUN");
}
if (_x <= (15 - LEVEL._x)) {
_x = 15 - LEVEL._x;
return(undefined);
}
if (_x >= ((stage_width_n - 15) - LEVEL._x)) {
_x = (stage_width_n - 15) - LEVEL._x;
return(undefined);
}
if (on_baffle_bo && (on_platform_bo)) {
}
}
function this_stop() {
if (((Key.isDown(65) || (Key.isDown(68))) || (Key.isDown(87))) || (Key.isDown(83))) {
return(undefined);
}
if (!start_shift_bo) {
return(undefined);
}
start_shift_bo = false;
start_change_action("STOP");
}
function check_drop() {
get_coord();
current_platform_mc.get_boundary();
var _local3 = current_platform_mc.left_n;
var _local2 = current_platform_mc.right_n;
if (on_baffle_bo) {
if (this_x_n <= _local3) {
_x = (_local3 + 5) - LEVEL._x;
}
if (this_x_n >= _local2) {
_x = (_local2 - 5) - LEVEL._x;
}
return(undefined);
}
if ((this_x_n <= (_local3 - 15)) || (this_x_n >= (_local2 + 15))) {
if (on_platform_bo) {
return(undefined);
}
in_air_bo = true;
if (_xscale == -100) {
if (start_shift_bo) {
vx_n = -1 * shift_speed_n;
}
} else if (start_shift_bo) {
vx_n = shift_speed_n;
}
vy_n = 1;
if (_xscale == -100) {
out_angle_n = -120;
_xscale = 100;
} else {
out_angle_n = -80;
_xscale = -100;
}
drop_bo = true;
start_change_action("FLY");
}
}
function init_normal_rebounce() {
var _local2 = init_speed_n;
vx_n = _local2 * ExtMath.cosD(out_angle_n);
vy_n = _local2 * ExtMath.sinD(out_angle_n);
}
function speed_limt() {
if (vx_n > 12) {
vx_n = 12;
}
if (vy_n > 30) {
vy_n = 30;
}
}
function this_move() {
vy_n = vy_n + g_n;
if (_root.gravity_up_bo) {
vy_n = vy_n + g_up_n;
}
vx_n = vx_n * drag_index_n;
vy_n = vy_n * drag_index_n;
speed_limt();
_x = _x + vx_n;
_y = _y + vy_n;
}
function get_angle() {
var _local2 = ExtMath.atan2D(vy_n, vx_n);
return(_local2);
}
function get_speed() {
var _local2 = ExtMath.distance3(vx_n, vy_n);
return(_local2);
}
function get_out_angle(obj_mc) {
var _local7 = obj_mc._rotation;
var _local4 = get_angle();
var _local5 = _local4 - _local7;
var _local3 = Math.abs(_local5);
var _local6 = Math.abs(_local5) / _local5;
var _local2 = 30;
var _local10 = 180 - _local2;
var _local9 = 180 + _local2;
if (_local3 <= _local2) {
_local4 = _local4 + (_local2 * _local6);
}
if ((_local3 > _local10) && (_local3 <= 180)) {
_local4 = _local4 + ((-1 * _local2) * _local6);
}
if ((_local3 < _local9) && (_local3 >= 180)) {
_local4 = _local4 + ((-1 * _local2) * _local6);
}
var _local8 = (_local7 * 2) - _local4;
return(_local8);
}
function init_rebounce() {
var _local4 = _root.line_type_s;
if (_root.bounce_bo) {
var _local3 = init_speed_n + speed_up_n;
} else {
var _local3 = init_speed_n;
}
if (_local3 > max_speed_n) {
var _local3 = max_speed_n;
}
if (_local3 < min_speed_n) {
var _local3 = min_speed_n;
}
vx_n = _local3 * ExtMath.cosD(out_angle_n);
vy_n = _local3 * ExtMath.sinD(out_angle_n);
}
function start_land() {
land_pause_bo = true;
start_change_action("LAND");
}
function check_line() {
if ((on_platform_bo || (on_bound_bo)) || (on_baffle_bo)) {
return(undefined);
}
var _local6 = get_coord();
var _local2 = LEVEL.draw_mc.line_mc;
var _local4 = LEVEL.draw_mc;
var _local7 = _local2.hitTest(_local6.x, _local6.y, true);
if (_local7) {
for (var _local5 in _local2) {
var _local3 = _local2[_local5].hitTest(this);
if (_local3 && (!on_line_bo)) {
if (on_bound_bo) {
return(undefined);
}
current_line_mc = _local2[_local5];
out_angle_n = get_out_angle(_local2[_local5]);
init_rebounce();
start_land();
_local4.start_disappear();
on_line_bo = true;
drop_bo = false;
break;
}
}
} else {
on_line_bo = false;
}
}
function land_pause() {
if (land_pause_bo) {
land_pause_time_n = land_pause_time_n - 1;
if (land_pause_time_n <= 0) {
in_air_bo = true;
land_pause_time_n = default_land_pause_time_n;
start_change_action("FLY");
land_pause_bo = false;
}
}
}
function role_rotate() {
switch (action_type_s) {
case "LAND" :
if (!current_line_mc) {
return(undefined);
}
THIS.anim.gotoAndStop("land");
if (!on_line_bo) {
return(undefined);
}
if (vx_n > 0) {
_rotation = current_line_mc._rotation;
_xscale = -100;
} else {
_rotation = current_line_mc._rotation;
_xscale = 100;
}
if ((_rotation >= 90) && (_rotation <= 180)) {
_rotation = _rotation + 180;
}
if ((_rotation >= -180) && (_rotation <= -90)) {
_rotation = _rotation + 180;
}
break;
case "FLY" :
var _local4 = get_angle();
if (hit_enemy_bo) {
THIS.anim.gotoAndStop("attack");
_rotation = 0;
return(undefined);
}
if (drop_bo) {
THIS.anim.gotoAndStop("drop");
return(undefined);
}
if (vx_n > 0) {
_rotation = _local4;
} else {
_rotation = _local4;
_rotation = _rotation + 180;
}
var _local2 = 5;
var _local3 = Math.abs(vy_n);
if ((_local3 >= 0) && (_local3 <= _local2)) {
THIS.anim.gotoAndStop("flying");
}
if (vy_n > _local2) {
THIS.anim.gotoAndStop("start_land");
}
if (vy_n >= (-1 * _local2)) {
break;
}
THIS.anim.gotoAndStop("start_fly");
}
}
function check_blood_num() {
}
function check_action_type() {
if (action_changed_bo) {
return(undefined);
}
switch (action_type_s) {
case "STOP" :
THIS.anim.gotoAndStop("land");
_rotation = 0;
if ((vx_n > 0) || (direction_s == "RIGHT")) {
_xscale = 100;
}
if ((vx_n < 0) || (direction_s == "LEFT")) {
_xscale = -100;
}
allow_shift_bo = true;
break;
case "RUN" :
THIS.anim.gotoAndStop("run");
break;
case "ATTACK" :
THIS.anim.gotoAndStop("attack");
break;
case "ATTACKED" :
THIS.anim.gotoAndStop("attacked");
break;
case "DART_ATTACK" :
THIS.anim.gotoAndStop("dart_attack");
break;
case "LAND" :
THIS.anim.gotoAndStop("start_land");
break;
case "FLY" :
THIS.anim.gotoAndStop("start_fly");
}
action_changed_bo = true;
}
function start_change_action(this_action_type_s) {
action_changed_bo = false;
action_type_s = this_action_type_s;
}
function check_boundary() {
if ((this_x_n >= 0) && ((this_x_n + vx_n) <= 0)) {
if (on_bound_bo) {
return(undefined);
}
on_bound_bo = true;
_x = -LEVEL._x;
vx_n = vx_n * -1;
_rotation = 90;
_xscale = -100;
} else if ((this_x_n <= stage_width_n) && ((this_x_n + vx_n) >= stage_width_n)) {
if (on_bound_bo) {
return(undefined);
}
on_bound_bo = true;
_x = stage_width_n - LEVEL._x;
vx_n = vx_n * -1;
_rotation = -90;
_xscale = 100;
} else {
on_bound_bo = false;
}
}
function check_platform() {
var _local2 = LEVEL.platform_mc;
var _local5 = _local2.hitTest(this_x_n, this_y_n, true);
if (!_local5) {
on_platform_bo = false;
on_boss_platform_bo = false;
}
if (!_local5) {
return(undefined);
}
for (var _local4 in _local2) {
var _local3 = _local2[_local4].hitTest(this_x_n, this_y_n, true);
if (_local3) {
current_platform_mc = _local2[_local4];
if (_local2[_local4].type_s == "TRAP") {
if (!_local2[_local4].used_bo) {
if (on_platform_bo) {
return(undefined);
}
_local2[_local4].trap_anim.play();
init_land(_local2[_local4]);
} else {
in_air_bo = true;
on_platform_bo = false;
return(undefined);
}
}
}
if (_local3 && (!on_platform_bo)) {
init_land(_local2[_local4]);
drop_bo = false;
}
}
}
function init_land(obj_mc) {
if (!obj_mc._visible) {
return(undefined);
}
current_platform_mc.get_boundary();
var _local4 = 0;
var _local6 = current_platform_mc.left_n + _local4;
var _local3 = current_platform_mc.right_n - _local4;
var _local9 = current_platform_mc.top_n;
var _local10 = current_platform_mc.bottom_n;
if (((vy_n > 0) && (this_x_n >= _local6)) && (this_x_n <= _local3)) {
in_air_bo = false;
on_platform_bo = true;
if (current_platform_mc == LEVEL.platform_mc.boss_platform) {
on_boss_platform_bo = true;
}
start_change_action("STOP");
vx_n = 0;
vy_n = 0;
_x = this_x_n - LEVEL._x;
var _local7 = get_local_y(_local9);
_y = _local7 - 2;
if ((obj_mc.key_bo && (!obj_mc.used_bo)) && (_root.pass_allow_bo)) {
floor_pass_bo = true;
obj_mc.used_bo = true;
_root.pass_allow_bo = false;
floor_pass();
}
check_spring();
if (current_platform_mc.type_s == "BUTTON") {
current_platform_mc.gotoAndStop("down");
_y = _local7 + 30;
LEVEL.bonus_mc["key_laser" + _root.floor_num_n].hit_area._visible = false;
_root.button_sd.start();
}
} else if (((vy_n < 0) && (this_x_n >= _local6)) && (this_x_n <= _local3)) {
if (current_platform_mc.type_s == "SPRING") {
return(undefined);
}
if (current_platform_mc.type_s == "BUTTON") {
return(undefined);
}
if (_root.through_bo) {
return(undefined);
}
var _local8 = get_local_y(_local10);
_y = _local8 + 30;
_rotation = 180;
vy_n = vy_n * -1;
}
}
function platform_move() {
if (current_platform_mc.type_s != "MOVE") {
return(undefined);
}
var _local3 = current_platform_mc.direction_s;
var _local2 = current_platform_mc.speed_n;
if (_local3 == "H") {
_x = _x + _local2;
} else {
_y = _y - _local2;
}
}
function check_ice() {
if (current_platform_mc.type_s != "ICE") {
return(undefined);
}
var _local2 = 5;
if (direction_s == "RIGHT") {
_x = _x + _local2;
} else {
_x = _x - _local2;
}
}
function check_spring() {
if (current_platform_mc.type_s != "SPRING") {
return(undefined);
}
vy_n = -25;
if (direction_s == "RIGHT") {
vx_n = 0.1;
} else {
vx_n = -0.1;
}
in_air_bo = true;
on_platform_bo = false;
start_change_action("FLY");
_root.button_sd.start();
}
function check_baffle() {
var _local2 = LEVEL.baffle_mc;
var _local5 = _local2.hitTest(this_x_n, this_y_n, true);
if (!_local5) {
on_baffle_bo = false;
}
if (!_local5) {
return(undefined);
}
for (var _local4 in _local2) {
var _local3 = _local2[_local4].hitTest(this_x_n, this_y_n, true);
if (_local3) {
current_baffle_mc = _local2[_local4];
land_baffle(_local2[_local4]);
}
}
}
function land_baffle(obj_mc_flg) {
if (_root.through_bo) {
return(undefined);
}
if (on_baffle_bo) {
return(undefined);
}
on_baffle_bo = true;
if (on_platform_bo) {
return(undefined);
}
var _local3 = obj_mc_flg;
_local3.get_boundary();
var _local5 = _local3.left_n;
var _local4 = _local3.right_n;
var _local6 = _local3.top_n;
var _local8 = _local3.bottom_n;
if ((this_y_n >= _local6) && (this_y_n <= _local8)) {
if (vx_n >= 0) {
_rotation = -90;
_x = (_local5 - 20) - LEVEL._x;
} else {
_rotation = 90;
_x = (_local4 + 10) - LEVEL._x;
}
var _local7 = vx_n / Math.abs(vx_n);
vx_n = (init_speed_n * speed_rate_n) * 0.6;
vx_n = vx_n * (-1 * _local7);
if (vx_n > 0) {
_xscale = -100;
} else if (vx_n < 0) {
_xscale = 100;
}
} else if ((this_x_n >= _local5) && (this_x_n <= _local4)) {
vy_n = vy_n * -1;
}
}
}
Symbol 1147 MovieClip [__Packages.Draw] Frame 0
class Draw extends MovieClip
{
var THIS, _name, _parent, LEVEL, disappear_start_bo, energy_num_n, line_length_n, dot_max_num_n, draw_time_n, energy_loss_num_n, line_time_n, draw_start_bo, hited_bo, draw_allow_bo, line_color_s, hit_layout_bo, game_pause_bo, line_time_interval, dot_num_n, line_mc, createEmptyMovieClip, light_mc, prev_x_n, _xmouse, prev_y_n, _ymouse, line_angle_n;
function Draw () {
super();
THIS = _parent[_name];
LEVEL = _root.level_mc;
this_init();
init_color();
}
function onEnterFrame() {
detect_layout();
if (disappear_start_bo) {
disappear();
}
}
function this_init() {
energy_num_n = 100;
line_length_n = 20;
dot_max_num_n = 6;
draw_time_n = 1500;
if (_root.game_difficulty_s == "EASY") {
energy_loss_num_n = 10;
line_time_n = 1500;
} else if (_root.game_difficulty_s == "NORMAL") {
energy_loss_num_n = 15;
line_time_n = 1000;
} else if (_root.game_difficulty_s == "HARD") {
energy_loss_num_n = 20;
line_time_n = 800;
}
draw_start_bo = false;
hited_bo = false;
disappear_start_bo = false;
draw_allow_bo = true;
}
function init_color() {
color_normal_obj = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
color_white_obj = {ra:100, rb:50, ga:100, gb:50, ba:100, bb:50, aa:100, ab:0};
color_red_obj = {ra:100, rb:100, ga:100, gb:-100, ba:100, bb:-50, aa:100, ab:0};
color_yellow_obj = {ra:100, rb:100, ga:100, gb:150, ba:100, bb:-50, aa:100, ab:0};
color_blue_obj = {ra:100, rb:-50, ga:100, gb:-100, ba:100, bb:150, aa:100, ab:0};
}
function check_type() {
var _local3 = _root.line_type_s;
switch (_local3) {
case "NORMAL" :
dot_max_num_n = 6;
line_time_n = 800;
line_color_s = "NORMAL";
break;
case "LENGTH" :
dot_max_num_n = 9;
line_time_n = 800;
line_color_s = "YELLOW";
break;
case "TIME" :
dot_max_num_n = 6;
line_time_n = 2000;
line_color_s = "BLUE";
break;
case "BOUNCE" :
dot_max_num_n = 6;
line_time_n = 800;
line_color_s = "RED";
}
}
function detect_layout() {
hit_layout_bo = _root.hit_layout_bo;
game_pause_bo = _root.game_pause_bo;
if (hit_layout_bo || (game_pause_bo)) {
}
}
function onMouseDown() {
disappear_start_bo = false;
clearInterval(line_time_interval);
hit_layout_bo = _root.hit_layout_bo;
game_pause_bo = _root.game_pause_bo;
if (hit_layout_bo) {
stop_draw();
return(undefined);
}
if (game_pause_bo) {
return(undefined);
}
if (!draw_allow_bo) {
return(undefined);
}
check_type();
disappear_start_bo = false;
draw_start_bo = true;
dot_num_n = 0;
clear_scene();
var _local3 = 100;
line_mc = createEmptyMovieClip("line_mc", _local3);
light_mc = createEmptyMovieClip("effect_mc", _local3 + 1);
line_mc._visible = false;
change_color(light_mc, line_color_s);
prev_x_n = _xmouse;
prev_y_n = _ymouse;
if (energy_num_n > energy_loss_num_n) {
energy_num_n = energy_num_n - energy_loss_num_n;
}
if ((_root.line_type_s == "LENGTH") && (_root.line_length_num_n > 0)) {
_root.line_length_num_n = _root.line_length_num_n - 1;
} else if ((_root.line_type_s == "TIME") && (_root.line_time_num_n > 0)) {
_root.line_time_num_n = _root.line_time_num_n - 1;
} else if ((_root.line_type_s == "BOUNCE") && (_root.line_bounce_num_n > 0)) {
_root.line_bounce_num_n = _root.line_bounce_num_n - 1;
}
}
function onMouseMove() {
if (dot_num_n >= dot_max_num_n) {
return(undefined);
}
if (draw_start_bo) {
var _local10 = _xmouse;
var _local11 = _ymouse;
line_angle_n = ExtMath.angleOfLine(prev_x_n, prev_y_n, _local10, _local11);
var _local12 = ExtMath.distance(prev_x_n, prev_y_n, _local10, _local11);
var _local9 = Math.floor(_local12 / line_length_n);
if (_local9 == 0) {
return(undefined);
}
if (_local9 > 0) {
var _local6 = 1;
while (_local6 <= _local9) {
var _local4 = light_mc.getNextHighestDepth();
var _local3 = light_mc.attachMovie("light", "light" + _local4, _local4);
_local3._x = prev_x_n;
_local3._y = prev_y_n;
_local3._rotation = line_angle_n;
var _local5 = line_mc.getNextHighestDepth();
var _local2 = line_mc.attachMovie("line", "line" + _local5, _local5);
_local2._x = prev_x_n;
_local2._y = prev_y_n;
_local2._rotation = line_angle_n;
_local2.angle_n = line_angle_n;
var _local7 = prev_x_n + (line_length_n * ExtMath.cosD(line_angle_n));
var _local8 = prev_y_n + (line_length_n * ExtMath.sinD(line_angle_n));
prev_x_n = _local7;
prev_y_n = _local8;
dot_num_n = dot_num_n + 1;
if (_local9 == dot_max_num_n) {
break;
}
_local6++;
}
}
}
updateAfterEvent();
}
function onMouseUp() {
if (!draw_start_bo) {
return(undefined);
}
hit_layout_bo = _root.hit_layout_bo;
game_pause_bo = _root.game_pause_bo;
if (hit_layout_bo) {
return(undefined);
}
if (game_pause_bo) {
return(undefined);
}
draw_start_bo = false;
_root.draw_num_n = _root.draw_num_n + 1;
clearInterval(line_time_interval);
THIS.line_time_mc.gotoAndPlay("start");
}
function stop_draw() {
if (!draw_start_bo) {
return(undefined);
}
disappear_start_bo = false;
draw_start_bo = false;
clearInterval(line_time_interval);
THIS.line_time_mc.gotoAndPlay("start");
}
function start_disappear() {
clearInterval(line_time_interval);
disappear_start_bo = true;
}
function disappear() {
light_mc._alpha = light_mc._alpha - 5;
if (light_mc._alpha <= 40) {
clear_scene();
disappear_start_bo = false;
return(undefined);
}
}
function clear_scene() {
clearInterval(line_time_interval);
line_mc.removeMovieClip();
light_mc.removeMovieClip();
}
function change_color(obj_mc, type_s) {
var _local2 = new Color(obj_mc);
switch (type_s) {
case "WHITE" :
_local2.setTransform(color_white_obj);
break;
case "RED" :
_local2.setTransform(color_red_obj);
break;
case "YELLOW" :
_local2.setTransform(color_yellow_obj);
break;
case "BLUE" :
_local2.setTransform(color_blue_obj);
break;
case "NORMAL" :
_local2.setTransform(color_normal_obj);
}
}
function check_energy() {
var _local3 = _root.game_layout_mc.energy_bar_mc;
var _local5 = _local3.bar_mc;
if (energy_num_n < 100) {
energy_num_n = energy_num_n + 0.2;
}
var _local4 = Math.floor(energy_num_n / energy_loss_num_n);
if (_local4 < 1) {
draw_allow_bo = false;
} else {
draw_allow_bo = true;
}
_local5._xscale = energy_num_n;
}
var color_normal_obj = {};
var color_white_obj = {};
var color_red_obj = {};
var color_yellow_obj = {};
var color_blue_obj = {};
}
Symbol 106 MovieClip Frame 26
stop();
Symbol 112 Button
on (release) {
gotoAndStop ("submit");
}
Symbol 116 Button
on (release) {
gotoAndStop (1);
}
Symbol 126 Button
on (release) {
gotoAndStop ("submited");
}
Symbol 131 Button
on (release) {
viewHighscore();
}
Symbol 132 MovieClip Frame 1
stop();
_global.game_name = _game_name;
var highscore = eval (score_var);
_global.viewHighscore = function () {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=" + game_name, "_blank");
};
if (highscore <= 0) {
this._visible = false;
}
Symbol 132 MovieClip Frame 3
function sendData() {
send_var.game = game_name;
send_var.score = highscore;
send_var.name = name_txt.text;
if (send_var.name == "") {
send_var.name = "guest" + int(Math.random() * 1000);
}
send_var.sendAndLoad("http://www.freeworldgroup.com/score/score.asp", load_var, "POST");
gotoAndStop ("sending");
}
stop();
gold_txt.text = highscore;
send_var = new LoadVars();
load_var = new LoadVars();
ok_btn.onRelease = sendData;
load_var.onLoad = function () {
gotoAndStop ("done");
};
Instance of Symbol 114 MovieClip in Symbol 132 MovieClip Frame 3
on (release) {
}
Symbol 135 MovieClip Frame 1
stop();
_visible = false;
Symbol 135 MovieClip Frame 90
gotoAndStop ("start");
_parent.start_disappear();
Symbol 136 MovieClip [draw_mc] Frame 1
#initclip 64
Object.registerClass("draw_mc", Draw);
#endinitclip
Symbol 146 MovieClip Frame 1540
stop();
Symbol 195 MovieClip Frame 130
stop();
Symbol 200 MovieClip Frame 129
stop();
Instance of Symbol 132 MovieClip in Symbol 228 MovieClip Frame 40
//component parameters
onClipEvent (construct) {
_game_name = "little_fat_ninja";
score_var = "_root.total_score_n";
}
Symbol 228 MovieClip Frame 50
function init_bt() {
view_highscores.onPress = function () {
viewHighscore();
};
more_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/", "_blank");
};
download_bt.onPress = function () {
getURL ("http://www.ifungames.com", "_blank");
};
add_game_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
};
main_menu_bt.onPress = function () {
_root.turn_to("start_menu");
};
}
stop();
init_bt();
Symbol 229 MovieClip [game_end_mc] Frame 94
stop();
_root.game_pause_bo = true;
_root.clear_scene();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 2
stop();
Symbol 253 Button
on (press) {
play();
}
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 2
stop();
Symbol 291 MovieClip Frame 1
if (!_parent.flash_start) {
gotoAndStop (10);
}
Symbol 291 MovieClip Frame 10
stop();
Symbol 292 MovieClip Frame 9
stop();
_parent.flash_start = true;
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 10
function quality_init() {
switch (_quality) {
case "LOW" :
bt4.gotoAndStop(2);
return;
case "MEDIUM" :
bt3.gotoAndStop(2);
return;
case "HIGH" :
bt2.gotoAndStop(2);
return;
case "BEST" :
bt1.gotoAndStop(2);
}
}
function bt_init() {
bt1.gotoAndStop(1);
bt2.gotoAndStop(1);
bt3.gotoAndStop(1);
bt4.gotoAndStop(1);
}
stop();
quality_init();
bt1.bt.onPress = function () {
bt_init();
_quality = "BEST";
quality_init();
bt1.gotoAndStop(2);
};
bt2.bt.onPress = function () {
bt_init();
_quality = "HIGH";
quality_init();
bt2.gotoAndStop(2);
};
bt3.bt.onPress = function () {
bt_init();
_quality = "MEDIUM";
quality_init();
bt3.gotoAndStop(2);
};
bt4.bt.onPress = function () {
bt_init();
_quality = "LOW";
quality_init();
bt4.gotoAndStop(2);
};
Symbol 323 MovieClip [game_layout_mc] Frame 1
next_level_bt.onPress = function () {
if (_root.level_num_n == 5) {
return(undefined);
}
_root.level_num_n = _root.level_num_n + 1;
_root.play_type_s = "level";
_root.turn_to("retry");
};
prev_level_bt.onPress = function () {
if (_root.level_num_n == 1) {
return(undefined);
}
_root.level_num_n = _root.level_num_n - 1;
_root.play_type_s = "level";
_root.turn_to("retry");
};
next_room_bt.onPress = function () {
var _local2 = _root.level_mc.floor_coord_x_a.length;
if (_root.floor_num_n == _local2) {
return(undefined);
}
_root.floor_num_n = _root.floor_num_n + 1;
_root.play_type_s = "floor";
_root.turn_to("retry");
};
prev_room_bt.onPress = function () {
if (_root.floor_num_n == 1) {
return(undefined);
}
_root.floor_num_n = _root.floor_num_n - 1;
_root.play_type_s = "floor";
_root.turn_to("retry");
};
rest_bt.onPress = function () {
_root.play_type_s = "floor";
_root.turn_to("retry");
};
menu_bt.onPress = function () {
if (!_root.game_start_bo) {
return(undefined);
}
if (_root.game_pause_bo) {
return(undefined);
}
_root.game_pause_bo = true;
depth_n = _root.getNextHighestDepth();
var _local2 = _root.attachMovie("game_menu_mc", "game_menu_mc", depth_n);
};
if (_root.floor_num_n != 4) {
boss_blood._visible = false;
} else {
boss_blood._visible = true;
}
hit = false;
opend = false;
onEnterFrame = function () {
if (!_root.game_start_bo) {
return(undefined);
}
if (_root.game_pause_bo) {
return(undefined);
}
check_hit_menu();
check_menu();
};
check_hit_menu = function () {
var _local2 = quality_bt.hitTest(_root._xmouse, _root._ymouse, false);
if (_local2) {
hit = true;
} else {
hit = false;
}
};
check_menu = function () {
if (hit && (!opend)) {
quality_menu.gotoAndPlay(1);
quality_bt.gotoAndStop(2);
opend = true;
}
if (!hit) {
if (opend) {
quality_menu.gotoAndPlay(11);
opend = false;
}
quality_bt.gotoAndStop(1);
}
};
if (!_root.music_on_bo) {
music_bt.gotoAndStop(2);
}
music_bt.onPress = function () {
if (!_root.game_start_bo) {
return(undefined);
}
if (_root.game_pause_bo) {
return(undefined);
}
music_bt.play();
_root.music_on_bo = !_root.music_on_bo;
_root.init_main_music();
};
if (!_root.sound_on_bo) {
sound_bt.gotoAndStop(2);
}
sound_bt.onPress = function () {
if (!_root.game_start_bo) {
return(undefined);
}
if (_root.game_pause_bo) {
return(undefined);
}
sound_bt.play();
_root.sound_on_bo = !_root.sound_on_bo;
_root.init_sound();
};
unattack_bt.onPress = function () {
if (_root.unattack_num_n > 0) {
_root.powerup_type_s = "UNATTACK";
_root.unattack_num_n = _root.unattack_num_n - 1;
_root.unattack_bo = true;
var _local2 = _root.level_mc.role_mc;
_local2.unattack_control_mc.gotoAndPlay(1);
_local2.gotoAndPlay("unattack");
}
};
undrop_bt.onPress = function () {
if (_root.undrop_num_n > 0) {
_root.powerup_type_s = "UNDROP";
_root.undrop_num_n = _root.undrop_num_n - 1;
_root.undrop_bo = true;
var _local2 = _root.level_mc.role_mc;
_local2.undrop_control_mc.gotoAndPlay(1);
_local2.gotoAndPlay("undrop");
}
};
bounce_bt.onPress = function () {
if (_root.bounce_num_n > 0) {
_root.powerup_type_s = "BOUNCE";
_root.bounce_num_n = _root.bounce_num_n - 1;
_root.bounce_bo = true;
}
};
through_bt.onPress = function () {
if (_root.through_num_n > 0) {
_root.powerup_type_s = "THROUGH";
_root.through_num_n = _root.through_num_n - 1;
_root.through_bo = true;
}
};
Instance of Symbol 250 MovieClip "music_bt" in Symbol 323 MovieClip [game_layout_mc] Frame 1
on (release) {
_root.setMusic(this);
}
Instance of Symbol 254 MovieClip "sound_bt" in Symbol 323 MovieClip [game_layout_mc] Frame 1
on (release) {
_root.setSound(this);
}
Symbol 329 MovieClip [game_menu_mc] Frame 1
function init_bt() {
return_bt.onPress = function () {
_root.game_pause_bo = false;
this._parent.removeMovieClip();
};
retry_bt.onPress = function () {
_root.play_type_s = "LEVEL";
_root.level_score_n = 0;
_root.total_score_n = _root.total_score_n * 0.7;
_root.total_score_n = Math.floor(_root.total_score_n);
_root.level_score_n = Math.floor(_root.level_score_n);
_root.used_time_n = 0;
_root.role_life_num_n = 10;
_root.unattack_num_n = 5;
_root.undrop_num_n = 5;
_root.bounce_num_n = 5;
_root.through_num_n = 5;
_root.score_counted_bo = false;
_root.turn_to("retry");
this._parent.removeMovieClip();
};
view_highscores.onPress = function () {
viewHighscore();
};
more_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/", "_blank");
};
download_bt.onPress = function () {
getURL ("http://www.ifungames.com", "_blank");
};
add_game_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
};
main_menu_bt.onPress = function () {
_root.turn_to("start_menu");
};
}
init_bt();
Symbol 340 MovieClip Frame 8
stop();
Symbol 344 MovieClip Frame 5
stop();
Symbol 346 MovieClip [game_over_mc] Frame 25
function init_bt() {
retry_bt.onPress = function () {
_root.play_type_s = "LEVEL";
_root.level_score_n = 0;
_root.total_score_n = _root.total_score_n * 0.7;
_root.total_score_n = Math.floor(_root.total_score_n);
_root.level_score_n = Math.floor(_root.level_score_n);
_root.used_time_n = 0;
_root.role_life_num_n = 10;
_root.unattack_num_n = 5;
_root.undrop_num_n = 5;
_root.bounce_num_n = 5;
_root.through_num_n = 5;
_root.score_counted_bo = false;
_root.turn_to("retry");
this._parent.removeMovieClip();
};
view_highscores.onPress = function () {
viewHighscore();
};
more_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/", "_blank");
};
download_bt.onPress = function () {
getURL ("http://www.ifungames.com", "_blank");
};
add_game_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
};
main_menu_bt.onPress = function () {
_root.turn_to("start_menu");
};
}
stop();
init_bt();
Instance of Symbol 132 MovieClip in Symbol 346 MovieClip [game_over_mc] Frame 25
//component parameters
onClipEvent (construct) {
_game_name = "little_fat_ninja";
score_var = "_root.total_score_n";
}
Symbol 369 MovieClip [game_pass_mc] Frame 1
_visible = false;
Symbol 369 MovieClip [game_pass_mc] Frame 25
_visible = true;
Symbol 369 MovieClip [game_pass_mc] Frame 35
function init_bt() {
next_level_bt.onPress = function () {
if (_root.level_num_n == 5) {
return(undefined);
}
_root.level_num_n = _root.level_num_n + 1;
_root.play_type_s = "level";
_root.turn_to("retry");
_root.score_counted_bo = false;
_root.game_pause_bo = false;
this._parent.removeMovieClip();
};
main_menu_bt.onPress = function () {
_root.turn_to("start_menu");
};
}
stop();
_root.game_pause_bo = true;
init_bt();
Symbol 372 MovieClip [game_pause_mc] Frame 1
function init_bt() {
return_bt.onPress = function () {
this.removeMovieClip();
};
retry_bt.onPress = function () {
gotoAndPlay ("game_scene");
};
view_highscores.onPress = function () {
viewHighscore();
};
more_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/", "_blank");
};
download_bt.onPress = function () {
getURL ("http://www.ifungames.com", "_blank");
};
add_game_bt.onPress = function () {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
};
main_menu_bt.onPress = function () {
gotoAndPlay ("start_menu");
};
}
init_bt();
Symbol 391 MovieClip Frame 11
stop();
obj_mc = _parent;
obj_mc.swapDepths(0);
obj_mc.removeMovieClip();
Symbol 392 MovieClip [key] Frame 1
#initclip 22
Object.registerClass("key", Bonus);
#endinitclip
Symbol 392 MovieClip [key] Frame 2
stop();
Symbol 392 MovieClip [key] Frame 10
Symbol 395 Button
on (release) {
gotoAndPlay ("diffficulty");
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 2
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 2
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 2
stop();
Symbol 410 MovieClip Frame 1
_visible = true;
Instance of Symbol 392 MovieClip [key] in Symbol 410 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Symbol 410 MovieClip Frame 60
stop();
Symbol 411 MovieClip Frame 1
if ((_root.level_num_n != 1) || (_root.noted_bo)) {
gotoAndPlay ("start");
}
if (_root.floor_num_n == 1) {
_root.game_start_bo = false;
_root.game_pause_bo = true;
}
_root.noted_bo = true;
Symbol 411 MovieClip Frame 2
stop();
next_bt.onPress = function () {
gotoAndStop ("control");
};
Symbol 411 MovieClip Frame 10
stop();
next_bt.onPress = function () {
gotoAndStop ("difficulty");
};
Instance of Symbol 392 MovieClip [key] in Symbol 411 MovieClip Frame 10
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Symbol 411 MovieClip Frame 20
stop();
Symbol 411 MovieClip Frame 30
function init_difficulty_bt() {
easy_bt.gotoAndStop(1);
normal_bt.gotoAndStop(1);
hard_bt.gotoAndStop(1);
}
function set_difficulty() {
if (_root.game_difficulty_s == "EASY") {
easy_bt.gotoAndStop(2);
}
if (_root.game_difficulty_s == "NORMAL") {
normal_bt.gotoAndStop(2);
}
if (_root.game_difficulty_s == "HARD") {
hard_bt.gotoAndStop(2);
}
}
stop();
next_bt.onPress = function () {
gotoAndPlay ("start");
};
game_difficulty_s = _root.game_difficulty_s;
init_difficulty_bt();
set_difficulty();
easy_bt.onPress = function () {
init_difficulty_bt();
_root.game_difficulty_s = "EASY";
easy_bt.gotoAndStop(2);
};
normal_bt.onPress = function () {
init_difficulty_bt();
_root.game_difficulty_s = "NORMAL";
normal_bt.gotoAndStop(2);
};
hard_bt.onPress = function () {
init_difficulty_bt();
_root.game_difficulty_s = "HARD";
hard_bt.gotoAndStop(3);
};
Symbol 411 MovieClip Frame 40
_root.game_start_bo = true;
_root.game_pause_bo = false;
Symbol 411 MovieClip Frame 67
if (_root.level_num_n == 1) {
play();
} else {
stop();
}
Symbol 411 MovieClip Frame 80
stop();
Symbol 421 MovieClip [add_life] Frame 1
#initclip 23
Object.registerClass("add_life", Bonus);
#endinitclip
Symbol 421 MovieClip [add_life] Frame 2
stop();
Symbol 421 MovieClip [add_life] Frame 10
Symbol 425 MovieClip [food] Frame 1
#initclip 24
Object.registerClass("food", Bonus);
#endinitclip
Symbol 425 MovieClip [food] Frame 2
stop();
Symbol 425 MovieClip [food] Frame 10
Symbol 426 MovieClip [line_bounce] Frame 1
#initclip 25
Object.registerClass("line_bounce", Bonus);
#endinitclip
Symbol 426 MovieClip [line_bounce] Frame 2
stop();
Symbol 426 MovieClip [line_bounce] Frame 10
Symbol 430 MovieClip Frame 1
stop();
_visible = false;
Symbol 430 MovieClip Frame 2
stop();
Symbol 431 MovieClip [sting_small] Frame 1
#initclip 26
Object.registerClass("sting_small", Bonus);
#endinitclip
Symbol 431 MovieClip [sting_small] Frame 2
stop();
Symbol 432 MovieClip [powerup4] Frame 1
#initclip 27
Object.registerClass("powerup4", Bonus);
#endinitclip
Symbol 432 MovieClip [powerup4] Frame 2
stop();
Symbol 432 MovieClip [powerup4] Frame 10
Symbol 433 MovieClip [unattack] Frame 1
#initclip 28
Object.registerClass("unattack", Bonus);
#endinitclip
Symbol 433 MovieClip [unattack] Frame 2
stop();
Symbol 433 MovieClip [unattack] Frame 10
Symbol 434 MovieClip [undrop] Frame 1
#initclip 29
Object.registerClass("undrop", Bonus);
#endinitclip
Symbol 434 MovieClip [undrop] Frame 2
stop();
Symbol 434 MovieClip [undrop] Frame 10
Symbol 436 MovieClip Frame 1
stop();
_visible = false;
Symbol 440 MovieClip [ax_s] Frame 1
#initclip 30
Object.registerClass("ax_s", Bonus);
#endinitclip
Symbol 499 MovieClip Frame 28
stop();
Symbol 500 MovieClip [bomb] Frame 1
#initclip 31
Object.registerClass("bomb", Bonus);
#endinitclip
Symbol 500 MovieClip [bomb] Frame 2
stop();
Symbol 509 MovieClip [fire] Frame 1
#initclip 32
Object.registerClass("fire", Bonus);
#endinitclip
Symbol 509 MovieClip [fire] Frame 2
stop();
Symbol 535 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 13
stop();
Symbol 538 MovieClip [fog] Frame 1
#initclip 33
Object.registerClass("fog", Laser);
#endinitclip
Symbol 538 MovieClip [fog] Frame 2
stop();
Symbol 540 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 1
stop();
Symbol 547 MovieClip [light_long] Frame 1
#initclip 34
Object.registerClass("light_long", Laser);
#endinitclip
Symbol 548 MovieClip [light_short] Frame 1
#initclip 35
Object.registerClass("light_short", Laser);
#endinitclip
function onLoad() {
type_s = _parent.type_s;
interval_time_n = _parent.interval_time_n;
last_time_n = _parent.last_time_n;
start_time_n = _parent.start_time_n;
}
Symbol 550 MovieClip [sting] Frame 1
#initclip 36
Object.registerClass("sting", Bonus);
#endinitclip
Symbol 550 MovieClip [sting] Frame 2
stop();
Symbol 552 MovieClip Frame 1
_parent.hit_area.gotoAndStop(2);
Symbol 552 MovieClip Frame 10
_parent.hit_area.gotoAndStop(1);
Symbol 552 MovieClip Frame 50
_parent.hit_area.gotoAndStop(2);
Symbol 553 MovieClip [sting_active] Frame 1
#initclip 37
Object.registerClass("sting_active", Bonus);
#endinitclip
Symbol 553 MovieClip [sting_active] Frame 2
stop();
Instance of Symbol 440 MovieClip [ax_s] "anim" in Symbol 554 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "AX";
}
Instance of Symbol 440 MovieClip [ax_s] "anim" in Symbol 554 MovieClip Frame 120
//component parameters
onClipEvent (construct) {
type_s = "AX";
}
Symbol 557 MovieClip [dart] Frame 1
#initclip 38
Object.registerClass("dart", Bonus);
#endinitclip
Symbol 557 MovieClip [dart] Frame 2
stop();
Symbol 557 MovieClip [dart] Frame 10
this.swapDepths(0);
this.removeMovieClip();
Symbol 560 MovieClip [gravity] Frame 1
#initclip 39
Object.registerClass("gravity", Bonus);
#endinitclip
Symbol 560 MovieClip [gravity] Frame 2
stop();
Symbol 560 MovieClip [gravity] Frame 10
Symbol 613 MovieClip Frame 11
stop();
Symbol 614 MovieClip [money] Frame 1
#initclip 40
Object.registerClass("money", Bonus);
#endinitclip
Symbol 614 MovieClip [money] Frame 2
stop();
Symbol 614 MovieClip [money] Frame 10
Symbol 615 MovieClip Frame 1
stop();
_visible = false;
Symbol 640 MovieClip Frame 8
_root.throw_sd.start();
Symbol 642 MovieClip Frame 12
boss_mc = _parent._parent;
boss_mc.start_add_sword();
Symbol 646 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 10
stop();
Symbol 646 MovieClip Frame 20
stop();
Symbol 646 MovieClip Frame 41
stop();
Symbol 646 MovieClip Frame 70
var boss_mc = _parent;
boss_mc.swapDepths(0);
boss_mc.removeMovieClip();
Symbol 647 MovieClip [boss1] Frame 1
#initclip 41
Object.registerClass("boss1", Boss1);
#endinitclip
Symbol 668 MovieClip Frame 11
_root.throw_sd.start();
Symbol 673 MovieClip Frame 11
_root.throw_sd.start();
Symbol 674 MovieClip Frame 1
stop();
Symbol 674 MovieClip Frame 10
stop();
Symbol 674 MovieClip Frame 20
stop();
Symbol 674 MovieClip Frame 30
stop();
Symbol 674 MovieClip Frame 40
var boss_mc = _parent;
boss_mc.swapDepths(0);
boss_mc.removeMovieClip();
Symbol 675 MovieClip [boss2] Frame 1
#initclip 42
Object.registerClass("boss2", Boss2);
#endinitclip
Symbol 688 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 10
stop();
Symbol 690 MovieClip Frame 20
stop();
Symbol 690 MovieClip Frame 30
var boss_mc = _parent;
boss_mc.swapDepths(0);
boss_mc.removeMovieClip();
Symbol 691 MovieClip [boss3] Frame 1
#initclip 43
Object.registerClass("boss3", Boss3);
#endinitclip
Symbol 711 MovieClip Frame 6
_root.throw_sd.start();
Symbol 712 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 10
stop();
Symbol 712 MovieClip Frame 20
stop();
Symbol 712 MovieClip Frame 30
stop();
Symbol 712 MovieClip Frame 40
stop();
Symbol 712 MovieClip Frame 50
var boss_mc = _parent;
boss_mc.swapDepths(0);
boss_mc.removeMovieClip();
Symbol 713 MovieClip [boss4] Frame 1
#initclip 44
Object.registerClass("boss4", Boss4);
#endinitclip
Symbol 744 MovieClip Frame 30
_root.throw_sd.start();
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 10
stop();
Symbol 745 MovieClip Frame 20
var boss_mc = _parent;
boss_mc.swapDepths(0);
boss_mc.removeMovieClip();
Symbol 746 MovieClip [boss5] Frame 1
#initclip 45
Object.registerClass("boss5", Boss5);
#endinitclip
Symbol 758 MovieClip Frame 1
stop();
_visible = false;
Symbol 759 MovieClip [platform] Frame 1
#initclip 46
Object.registerClass("platform", Platform);
#endinitclip
Symbol 759 MovieClip [platform] Frame 2
stop();
Symbol 764 MovieClip Frame 1
stop();
Symbol 765 MovieClip [key_button] Frame 1
#initclip 47
Object.registerClass("key_button", Platform);
#endinitclip
Symbol 765 MovieClip [key_button] Frame 2
stop();
Symbol 767 MovieClip [platform_long1] Frame 1
#initclip 48
Object.registerClass("platform_long1", Platform);
#endinitclip
Symbol 767 MovieClip [platform_long1] Frame 2
stop();
Instance of Symbol 759 MovieClip [platform] "start_platform" in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform1" in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform3" in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 765 MovieClip [key_button] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BUTTON";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 767 MovieClip [platform_long1] "boss_platform" in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform4" in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 768 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Symbol 781 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 2
stop();
Symbol 782 MovieClip Frame 1
stop();
Symbol 782 MovieClip Frame 20
stop();
Symbol 789 MovieClip Frame 1
stop();
_visible = false;
Symbol 790 MovieClip [platform_baffle] Frame 1
#initclip 49
Object.registerClass("platform_baffle", Platform);
#endinitclip
Symbol 790 MovieClip [platform_baffle] Frame 2
stop();
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 791 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 392 MovieClip [key] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 392 MovieClip [key] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 425 MovieClip [food] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 547 MovieClip [light_long] "key_laser3" in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LAST";
interval_time_n = 3000;
last_time_n = 2000;
start_time_n = 1;
}
Instance of Symbol 392 MovieClip [key] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 434 MovieClip [undrop] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNDROP";
}
Instance of Symbol 425 MovieClip [food] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 433 MovieClip [unattack] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNATTACK";
}
Instance of Symbol 434 MovieClip [undrop] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNDROP";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 509 MovieClip [fire] in Symbol 793 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FIRE";
fire_direction_s = "H";
fire_speed_n = 5;
fire_area_n = 200;
}
Symbol 796 MovieClip Frame 1
this._visible = false;
Symbol 798 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 60
stop();
Symbol 799 MovieClip [level1] Frame 1
#initclip 50
Object.registerClass("level1", Level);
#endinitclip
Symbol 803 MovieClip [platform_move] Frame 1
#initclip 51
Object.registerClass("platform_move", Platform);
#endinitclip
Symbol 803 MovieClip [platform_move] Frame 2
stop();
Instance of Symbol 759 MovieClip [platform] "start_platform" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform1" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform4" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "H";
move_area_n = 150;
speed_n = 4;
pole_s = "POSITIVE";
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 767 MovieClip [platform_long1] "boss_platform" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
active_bo = false;
}
Instance of Symbol 767 MovieClip [platform_long1] "key_platform3" in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 804 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 805 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 805 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 805 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 392 MovieClip [key] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 392 MovieClip [key] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 392 MovieClip [key] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 548 MovieClip [light_short] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "INTERVAL";
interval_time_n = 3000;
last_time_n = 2000;
start_time_n = 1;
}
Instance of Symbol 433 MovieClip [unattack] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNATTACK";
}
Instance of Symbol 425 MovieClip [food] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 434 MovieClip [undrop] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNDROP";
}
Instance of Symbol 425 MovieClip [food] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 433 MovieClip [unattack] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNATTACK";
}
Instance of Symbol 425 MovieClip [food] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 509 MovieClip [fire] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FIRE";
fire_direction_s = "H";
fire_speed_n = 5;
fire_area_n = 200;
}
Instance of Symbol 509 MovieClip [fire] in Symbol 815 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FIRE";
fire_direction_s = "V";
fire_speed_n = 5;
fire_area_n = 200;
}
Symbol 816 MovieClip [level2] Frame 1
#initclip 52
Object.registerClass("level2", Level);
#endinitclip
Symbol 821 MovieClip [platform_ice] Frame 1
#initclip 53
Object.registerClass("platform_ice", Platform);
#endinitclip
Symbol 821 MovieClip [platform_ice] Frame 2
stop();
Symbol 824 MovieClip [spring] Frame 1
#initclip 54
Object.registerClass("spring", Platform);
#endinitclip
Symbol 824 MovieClip [spring] Frame 2
stop();
Instance of Symbol 759 MovieClip [platform] "start_platform" in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform1" in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform3" in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform4" in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 824 MovieClip [spring] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "SPRING";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "V";
move_area_n = 200;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "H";
move_area_n = 200;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 767 MovieClip [platform_long1] "boss_platform" in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "V";
move_area_n = 150;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 825 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 835 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 835 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 392 MovieClip [key] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 392 MovieClip [key] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 392 MovieClip [key] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 547 MovieClip [light_long] "key_laser3" in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LAST";
interval_time_n = 3000;
last_time_n = 2000;
start_time_n = 1;
}
Instance of Symbol 550 MovieClip [sting] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 425 MovieClip [food] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 509 MovieClip [fire] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FIRE";
fire_direction_s = "H";
fire_speed_n = 5;
fire_area_n = 200;
}
Instance of Symbol 509 MovieClip [fire] in Symbol 837 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FIRE";
fire_direction_s = "V";
fire_speed_n = 5;
fire_area_n = 200;
}
Symbol 838 MovieClip [level3] Frame 1
#initclip 55
Object.registerClass("level3", Level);
#endinitclip
Symbol 862 MovieClip Frame 1
stop();
Symbol 862 MovieClip Frame 14
_parent.used_bo = true;
Symbol 862 MovieClip Frame 26
stop();
Symbol 863 MovieClip [platform_trap] Frame 1
#initclip 56
Object.registerClass("platform_trap", Platform);
#endinitclip
Symbol 863 MovieClip [platform_trap] Frame 2
stop();
Instance of Symbol 759 MovieClip [platform] "start_platform" in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform1" in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform3" in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "V";
move_area_n = 200;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "V";
move_area_n = 150;
speed_n = 6;
pole_s = "NEGATIVE";
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "H";
move_area_n = 150;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "V";
move_area_n = 180;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "H";
move_area_n = 200;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = true;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 863 MovieClip [platform_trap] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "TRAP";
_visible = true;
key_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 767 MovieClip [platform_long1] "boss_platform" in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 864 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 865 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 865 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 865 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 865 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 550 MovieClip [sting] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 392 MovieClip [key] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 548 MovieClip [light_short] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "INTERVAL";
interval_time_n = 3000;
last_time_n = 2000;
start_time_n = 1;
}
Instance of Symbol 392 MovieClip [key] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 538 MovieClip [fog] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOG";
interval_time_n = 1500;
last_time_n = 1000;
start_time_n = 1;
}
Instance of Symbol 538 MovieClip [fog] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOG";
interval_time_n = 1500;
last_time_n = 1000;
start_time_n = 600;
}
Instance of Symbol 538 MovieClip [fog] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOG";
interval_time_n = 1500;
last_time_n = 1000;
start_time_n = 300;
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 392 MovieClip [key] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 433 MovieClip [unattack] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNATTACK";
}
Instance of Symbol 425 MovieClip [food] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 433 MovieClip [unattack] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNATTACK";
}
Instance of Symbol 425 MovieClip [food] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 434 MovieClip [undrop] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNDROP";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 509 MovieClip [fire] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FIRE";
fire_direction_s = "V";
fire_speed_n = 5;
fire_area_n = 200;
}
Instance of Symbol 509 MovieClip [fire] in Symbol 867 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FIRE";
fire_direction_s = "V";
fire_speed_n = 5;
fire_area_n = 200;
}
Symbol 869 MovieClip [level4] Frame 1
#initclip 57
Object.registerClass("level4", Level);
#endinitclip
Instance of Symbol 759 MovieClip [platform] "start_platform" in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform1" in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform3" in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "key_platform4" in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = true;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] "end_platform" in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "H";
move_area_n = 150;
speed_n = 6;
pole_s = "NEGATIVE";
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "V";
move_area_n = 150;
speed_n = 6;
pole_s = "NEGATIVE";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 824 MovieClip [spring] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "SPRING";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 765 MovieClip [key_button] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BUTTON";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "H";
move_area_n = 150;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 767 MovieClip [platform_long1] "boss_platform" in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = true;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 873 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 876 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 392 MovieClip [key] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 538 MovieClip [fog] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOG";
interval_time_n = 3000;
last_time_n = 1000;
start_time_n = 1;
}
Instance of Symbol 538 MovieClip [fog] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOG";
interval_time_n = 3000;
last_time_n = 1000;
start_time_n = 300;
}
Instance of Symbol 538 MovieClip [fog] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOG";
interval_time_n = 3000;
last_time_n = 1000;
start_time_n = 600;
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 392 MovieClip [key] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 547 MovieClip [light_long] "key_laser3" in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LAST";
interval_time_n = 3000;
last_time_n = 2000;
start_time_n = 1;
}
Instance of Symbol 392 MovieClip [key] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 550 MovieClip [sting] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 548 MovieClip [light_short] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "INTERVAL";
interval_time_n = 3000;
last_time_n = 2000;
start_time_n = 1;
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 434 MovieClip [undrop] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNDROP";
}
Instance of Symbol 425 MovieClip [food] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 425 MovieClip [food] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 433 MovieClip [unattack] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "UNATTACK";
}
Instance of Symbol 426 MovieClip [line_bounce] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "BOUNCE";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 421 MovieClip [add_life] in Symbol 877 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Symbol 879 MovieClip [level5] Frame 1
#initclip 58
Object.registerClass("level5", Level);
#endinitclip
Instance of Symbol 759 MovieClip [platform] "start_platform" in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform1" in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform3" in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform4" in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "end_platform" in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 886 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Symbol 890 MovieClip [level6] Frame 1
#initclip 59
Object.registerClass("level6", Level);
#endinitclip
Instance of Symbol 759 MovieClip [platform] "start_platform" in Symbol 896 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform1" in Symbol 896 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] in Symbol 896 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform2" in Symbol 896 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "key_platform3" in Symbol 896 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Instance of Symbol 759 MovieClip [platform] "end_platform" in Symbol 896 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = false;
key_bo = true;
used_bo = false;
active_bo = false;
}
Symbol 900 MovieClip [level7] Frame 1
#initclip 60
Object.registerClass("level7", Level);
#endinitclip
Symbol 901 MovieClip [platform_long] Frame 1
#initclip 61
Object.registerClass("platform_long", Platform);
#endinitclip
Symbol 901 MovieClip [platform_long] Frame 2
stop();
Symbol 905 MovieClip [dart_rotate] Frame 1
#initclip 62
Object.registerClass("dart_rotate", Dart);
#endinitclip
Symbol 922 MovieClip Frame 4
sword._visible = false;
Symbol 922 MovieClip Frame 5
stop();
Symbol 923 MovieClip Frame 6
stop();
Symbol 926 MovieClip Frame 1
stop();
var role_mc = _root.level_mc.role_mc;
if (!role_mc.action_changed_bo) {
play();
}
Symbol 929 MovieClip Frame 1
stop();
Symbol 929 MovieClip Frame 16
stop();
Symbol 929 MovieClip Frame 26
_root.jump_sd.start();
Symbol 929 MovieClip Frame 29
stop();
Symbol 929 MovieClip Frame 44
stop();
Symbol 929 MovieClip Frame 54
stop();
Symbol 929 MovieClip Frame 65
stop();
Symbol 931 MovieClip Frame 1
_visible = false;
stop();
Symbol 931 MovieClip Frame 120
_parent.gotoAndStop("normal");
_root.unattack_bo = false;
Symbol 933 MovieClip Frame 1
_visible = false;
stop();
Symbol 933 MovieClip Frame 120
_parent.gotoAndStop("normal");
_root.undrop_bo = false;
Symbol 934 MovieClip [role_mc] Frame 1
#initclip 63
Object.registerClass("role_mc", Role);
#endinitclip
stop();
_root.unattack_bo = false;
_root.undrop_bo = false;
Symbol 934 MovieClip [role_mc] Frame 5
gotoAndStop ("normal");
Symbol 934 MovieClip [role_mc] Frame 22
gotoAndPlay ("unattack");
Symbol 934 MovieClip [role_mc] Frame 42
gotoAndPlay ("undrop");
Instance of Symbol 421 MovieClip [add_life] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "LIFE";
}
Instance of Symbol 425 MovieClip [food] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "FOOD";
score_n = 100;
}
Instance of Symbol 392 MovieClip [key] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Instance of Symbol 426 MovieClip [line_bounce] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "BOUNCE";
}
Instance of Symbol 431 MovieClip [sting_small] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 432 MovieClip [powerup4] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "THROUGH";
}
Instance of Symbol 433 MovieClip [unattack] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "UNATTACK";
}
Instance of Symbol 434 MovieClip [undrop] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "UNDROP";
}
Instance of Symbol 440 MovieClip [ax_s] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "AX";
}
Instance of Symbol 500 MovieClip [bomb] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "BOMB";
}
Instance of Symbol 509 MovieClip [fire] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "FIRE";
fire_direction_s = "H";
fire_speed_n = 5;
fire_area_n = 200;
}
Instance of Symbol 538 MovieClip [fog] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "FOG";
interval_time_n = 3000;
last_time_n = 1000;
start_time_n = 1;
}
Instance of Symbol 547 MovieClip [light_long] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "LAST";
interval_time_n = 3000;
last_time_n = 2000;
start_time_n = 1;
}
Instance of Symbol 548 MovieClip [light_short] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "INTERVAL";
interval_time_n = 3000;
last_time_n = 2000;
start_time_n = 1;
}
Instance of Symbol 550 MovieClip [sting] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 553 MovieClip [sting_active] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "STING";
}
Instance of Symbol 557 MovieClip [dart] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "DART";
}
Instance of Symbol 560 MovieClip [gravity] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "GRAVITY";
}
Instance of Symbol 614 MovieClip [money] in Symbol 945 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
type_s = "MONEY";
score_n = 50;
}
Instance of Symbol 765 MovieClip [key_button] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "BUTTON";
}
Instance of Symbol 790 MovieClip [platform_baffle] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "BAFFLE";
_visible = true;
key_bo = false;
}
Instance of Symbol 821 MovieClip [platform_ice] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "ICE";
_visible = true;
key_bo = false;
}
Instance of Symbol 901 MovieClip [platform_long] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
active_bo = false;
}
Instance of Symbol 767 MovieClip [platform_long1] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
active_bo = false;
}
Instance of Symbol 803 MovieClip [platform_move] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "MOVE";
_visible = true;
key_bo = false;
direction_s = "H";
move_area_n = 150;
speed_n = 6;
pole_s = "POSITIVE";
}
Instance of Symbol 759 MovieClip [platform] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "NORMAL";
_visible = true;
key_bo = false;
used_bo = false;
active_bo = false;
}
Instance of Symbol 863 MovieClip [platform_trap] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "TRAP";
_visible = true;
key_bo = false;
}
Instance of Symbol 824 MovieClip [spring] in Symbol 945 MovieClip Frame 16
//component parameters
onClipEvent (construct) {
type_s = "SPRING";
}
Symbol 946 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", _blank);
}
Symbol 1029 MovieClip Frame 130
stop();
Symbol 1030 MovieClip Frame 217
stop();
Symbol 1034 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", _blank);
}
Symbol 1039 Button
on (release) {
gotoAndPlay ("credits_frame");
}
Symbol 1050 MovieClip Frame 16
stop();
Symbol 1051 MovieClip Frame 20
stop();
Symbol 1072 MovieClip Frame 1
stop();
_visible = false;
Symbol 1074 MovieClip Frame 11
stop();
obj_mc = _parent;
obj_mc.swapDepths(0);
obj_mc.removeMovieClip();
Symbol 1075 MovieClip Frame 2
stop();
Symbol 1075 MovieClip Frame 10
Instance of Symbol 1075 MovieClip in Symbol 1107 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
type_s = "KEY";
}
Symbol 1108 Button
on (release) {
nextFrame();
}
Symbol 1124 MovieClip Frame 1
stop();
Symbol 1124 MovieClip Frame 2
stop();
Symbol 1124 MovieClip Frame 3
_root.play();
Symbol 1129 Button
on (release) {
_root.gotoAndPlay("start_menu");
}