Combined Code
movieClip 2 {
}
movieClip 4 {
}
movieClip 5 {
instance of movieClip 4 {
onClipEvent (load) {
if (_root.hit_alpha == 1) {
this._alpha = 30;
} else {
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
if (_root.hit_alpha == 1) {
this._alpha = 30;
} else {
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.mc.hitarea)) {
_root.enemy_on0 = 0;
_root.enemy_RandomSummonTiming_on0 = 0;
_root.enemy_RandomSummonTiming_max0 = 0;
_root.enemy_RandomSummonTiming_count0 = 0;
_root.enemyspeed0 = 5;
_root.combo_count = 0;
_root.player.move_point = 0;
_root.player.now_mode = 'damage';
_root.player.gotoAndStop('damage');
_root.enemy_field.enemy0.mc.gotoAndPlay('kill');
} else {
if (this.hitTest(_root.player.mc.attack_hitarea) && _root.enemy_field.enemy0.mc._currentframe == 1) {
_root.enemyspeed0 = 0;
_root.combo_count += 1;
_root.enemy_field.enemy0.mc.gotoAndPlay('kill');
}
}
}
}
}
movieClip 6 {
frame 1 {
if (_root.combo_count < 3) {
_root.enemyspeed0 = 5;
this.stop();
} else {
if (_root.combo_count < 7) {
_root.enemyspeed0 = 5 + Math.floor(Math.random() * 5);
this.stop();
} else {
if (_root.combo_count < 10) {
_root.enemyspeed0 = 7 + Math.floor(Math.random() * 8);
this.stop();
} else {
if (_root.combo_count < 20) {
_root.enemyspeed0 = 3 + Math.floor(Math.random() * 5);
this.gotoAndPlay('level2');
} else {
if (_root.combo_count < 30) {
_root.enemyspeed0 = 5 + Math.floor(Math.random() * 7);
this.gotoAndPlay('level2');
} else {
if (_root.combo_count < 40) {
_root.enemyspeed0 = 3 + Math.floor(Math.random() * 5);
this.gotoAndPlay('level3');
} else {
if (_root.combo_count < 50) {
_root.enemyspeed0 = 5 + Math.floor(Math.random() * 7);
this.gotoAndPlay('level3');
} else {
_root.enemyspeed0 = 5 + Math.floor(Math.random() * 10);
this.gotoAndPlay('level4');
}
}
}
}
}
}
}
}
frame 41 {
this.gotoAndPlay('level2');
}
frame 81 {
this.gotoAndPlay('level3');
}
frame 91 {
if (_root.combo_count >= 50) {
_root.enemyspeed0 = Math.floor(Math.random() * 15);
} else {
_root.enemyspeed0 = Math.floor(Math.random() * 10);
}
}
frame 101 {
if (_root.combo_count >= 50) {
_root.enemyspeed0 = Math.floor(Math.random() * 15);
} else {
_root.enemyspeed0 = Math.floor(Math.random() * 10);
}
}
frame 111 {
if (_root.combo_count >= 50) {
_root.enemyspeed0 = Math.floor(Math.random() * 15);
} else {
_root.enemyspeed0 = Math.floor(Math.random() * 10);
}
}
frame 121 {
if (_root.combo_count >= 50) {
_root.enemyspeed0 = Math.floor(Math.random() * 15);
} else {
_root.enemyspeed0 = Math.floor(Math.random() * 10);
}
this.gotoAndPlay('level4');
}
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 14 {
}
movieClip 16 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 26 {
}
movieClip 27 {
instance of movieClip 26 {
onClipEvent (load) {
if (_root.combo_count == 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
if (_root.combo_count <= 2) {
_root.combo = _root.combo_count + ' hit!';
_root.combo_sugoi = '';
} else {
if (_root.combo_count < 5) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = '';
} else {
if (_root.combo_count < 10) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Nice!';
} else {
if (_root.combo_count < 15) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Good!';
} else {
if (_root.combo_count < 20) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Cool!';
} else {
if (_root.combo_count < 25) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Great!';
} else {
if (_root.combo_count < 30) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Excellent!';
} else {
if (_root.combo_count < 35) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Fantastic!';
} else {
if (_root.combo_count < 40) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Brilliant!';
} else {
if (_root.combo_count < 45) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Beautiful!';
} else {
if (_root.combo_count < 50) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Wonderful!';
} else {
if (_root.combo_count < 55) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Awesome!';
} else {
if (_root.combo_count < 60) {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'Unbelievable!';
} else {
_root.combo = _root.combo_count + ' Combo!!';
_root.combo_sugoi = 'ï¾ï½¼ï¾žï¾Šï¾Ÿï¾…ï½²!!';
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 28 {
frame 1 {
this.stop();
}
frame 14 {
_root.enemy_on0 = 0;
_root.enemy_RandomSummonTiming_on0 = 0;
_root.enemy_RandomSummonTiming_max0 = 0;
_root.enemy_RandomSummonTiming_count0 = 0;
_root.enemyspeed0 = 5;
_root.enemy_field.enemy0.removeMovieClip();
this.stop();
}
}
movieClip 29 test_enemy {
instance mc of movieClip 28 {
onClipEvent (load) {
enemy_number = 0;
hit_width = 30;
hit_height = 40;
}
onClipEvent (enterFrame) {
if (_root.now_pause != 1) {
if (this._x + this._parent._x <= -1000) {
_root.enemy_on0 = 0;
_root.enemy_RandomSummonTiming_on0 = 0;
_root.enemy_RandomSummonTiming_max0 = 0;
_root.enemy_RandomSummonTiming_count0 = 0;
_root.enemyspeed0 = 5;
_root.enemy_field.enemy0.removeMovieClip();
}
this._x -= _root.enemyspeed0;
}
}
}
}
frame 1 {
this.stop();
_root.key_up = 38;
_root.key_down = 40;
_root.key_left = 37;
_root.key_right = 39;
_root.key_z = 90;
_root.key_x = 88;
_root.key_c = 67;
_root.key_w = 87;
_root.key_a = 65;
_root.key_s = 83;
_root.key_d = 68;
_root.key_enter = 13;
_root.key_shift = 16;
_root.key_ctrl = 17;
}
frame 1 {
_root.enemy_on0 = 0;
_root.enemy_RandomSummonTiming_on0 = 0;
_root.enemy_RandomSummonTiming_max0 = 0;
_root.enemy_RandomSummonTiming_count0 = 0;
_root.enemyspeed0 = 5;
_root.enemy0_summon = function () {
if (_root.enemy_on0 != 1) {
if (_root.enemy_RandomSummonTiming_on0 != 1) {
_root.enemy_RandomSummonTiming_on0 = 1;
_root.enemy_RandomSummonTiming_max0 = Math.floor(Math.random() * 100) + 1;
} else {
if (_root.enemy_RandomSummonTiming_count0 == _root.enemy_RandomSummonTiming_max0) {
_root.enemy_RandomSummonTiming_on0 = 0;
_root.enemy_RandomSummonTiming_max0 = 0;
_root.enemy_RandomSummonTiming_count0 = 0;
_root.enemy_field.attachMovie('test_enemy', 'enemy0', 10);
_root.enemy_field.enemy0._x = Math.floor(Math.random() * 500) + 600;
_root.enemy_field.enemy0._y = 68;
_root.enemy_on0 = 1;
} else {
_root.enemy_RandomSummonTiming_count0 += 1;
}
}
}
};
}
movieClip 32 {
}
movieClip 34 {
}
movieClip 36 {
}
movieClip 38 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 48 {
}
movieClip 52 {
}
movieClip 54 {
}
movieClip 56 {
}
movieClip 58 {
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 65 {
frame 1 {
this.stop();
}
}
movieClip 67 {
}
movieClip 69 {
}
movieClip 71 {
}
movieClip 73 {
}
movieClip 75 {
}
movieClip 77 {
}
movieClip 79 {
}
movieClip 81 {
}
movieClip 85 {
}
movieClip 87 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 94 {
frame 1 {
this.stop();
}
}
movieClip 98 {
}
movieClip 100 {
frame 1 {
this.stop();
}
}
movieClip 102 {
}
movieClip 104 {
}
movieClip 106 {
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 113 {
instance of movieClip 112 {
onClipEvent (load) {
if (_root.hit_alpha == 1) {
this._alpha = 30;
} else {
this._alpha = 0;
}
}
}
}
movieClip 116 {
}
movieClip 120 {
frame 10 {
this._parent.move_point = 5;
}
frame 20 {
this._parent.move_point = 0;
}
frame 30 {
this.gotoAndPlay('right_move');
}
}
movieClip 124 {
frame 10 {
this._parent.move_point = -5;
}
frame 20 {
this._parent.move_point = 0;
}
frame 30 {
this.gotoAndPlay('left_move');
}
}
movieClip 127 {
}
movieClip 129 {
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 135 {
}
movieClip 137 {
}
movieClip 139 {
}
movieClip 141 {
}
movieClip 143 {
}
movieClip 146 {
}
movieClip 148 {
}
movieClip 150 {
}
movieClip 152 {
}
movieClip 154 {
}
movieClip 156 {
}
movieClip 158 {
}
movieClip 160 {
}
movieClip 162 {
}
movieClip 164 {
}
movieClip 166 {
}
movieClip 168 {
}
movieClip 170 {
}
movieClip 175 {
}
movieClip 177 {
}
movieClip 179 {
}
movieClip 181 {
}
movieClip 183 {
}
movieClip 186 {
}
movieClip 188 {
}
movieClip 189 {
}
movieClip 191 {
}
movieClip 193 {
}
movieClip 195 {
}
movieClip 198 {
}
movieClip 199 {
instance of movieClip 198 {
onClipEvent (load) {
if (_root.hit_alpha == 1) {
this._alpha = 30;
} else {
this._alpha = 0;
}
}
}
}
movieClip 203 {
frame 14 {
this._parent.now_mode = 'wait';
this._parent.gotoAndStop('wait');
}
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 210 {
}
movieClip 212 {
}
movieClip 214 {
}
movieClip 216 {
}
movieClip 218 {
}
movieClip 226 {
frame 35 {
this._parent.now_mode = 'wait';
this._parent.gotoAndStop('wait');
}
}
movieClip 227 {
frame 1 {
this.stop();
}
}
instance player of movieClip 227 {
onClipEvent (load) {
now_mode = 'wait';
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.key_w)) {
_root.combo_count += 10;
}
if (now_mode == 'attack' || now_mode == 'damage') {
} else {
if (Key.isDown(_root.key_z)) {
move_point = 0;
now_mode = 'attack';
this.gotoAndStop('attack');
} else {
if (Key.isDown(_root.key_right)) {
if (now_mode != 'go') {
move_point = 0;
now_mode = 'go';
this.gotoAndStop('go');
}
} else {
if (Key.isDown(_root.key_left)) {
if (now_mode != 'back') {
move_point = 0;
now_mode = 'back';
this.gotoAndStop('back');
}
} else {
move_point = 0;
if (now_mode != 'wait') {
now_mode = 'wait';
this.gotoAndStop('wait');
}
}
}
}
}
this._x += move_point;
if (this._x >= 220) {
this._x = 220;
} else {
if (this._x <= -220) {
this._x = -220;
}
}
}
}
movieClip 228 {
frame 2 {
this.stop();
}
}
instance enemy_field of movieClip 228 {
onClipEvent (load) {
this.gotoAndStop(2);
}
}
// unknown tag 88 length 36
movieClip 232 {
}
instance of movieClip 232 {
onClipEvent (enterFrame) {
_root.enemy0_summon();
}
}
// unknown tag 88 length 44
movieClip 235 {
}
movieClip 239 {
}
instance of movieClip 239 {
onClipEvent (load) {
_root.max_combo = 'Max Combo: 0';
_root.max_combo_count = 0;
_root.combo = '0 Combo!!';
_root.combo_count = 0;
}
onClipEvent (enterFrame) {
if (_root.combo_count > _root.max_combo_count) {
_root.max_combo_count = _root.combo_count;
}
_root.max_combo = 'Max Combo: ' + _root.max_combo_count;
_root.combo_now = 'Combo: ' + _root.combo_count;
}
}