Combined Code
movieClip 36 {
}
movieClip 42 apuff {
}
movieClip 44 {
frame 1 {
fadeSpeed = 2;
floatUpSpeed = 5;
this.onEnterFrame = function () {
var v1 = this;
d = v1.getNextHighestDepth();
aPuff = attachMovie('aPuff', 'aPuff' + d, d);
aPuff._yscale = 10;
aPuff._xscale = 10;
aPuff._x = Math.random() * 5;
aPuff.gotoAndPlay(Math.round(Math.random() * 20));
aPuff.onEnterFrame = function () {
var v1 = this;
v1._yscale += fadeSpeed;
v1._xscale = v1._yscale;
v1._alpha -= fadeSpeed;
v1._y -= floatUpSpeed;
if (v1._xscale >= 100) {
v1.removeMovieClip();
}
};
};
}
}
button 46 {
on (release) {
getURL('http://pacthesis.deviantart.com', '_blank');
}
}
frame 101 {
stop();
}
button 64 {
on (release) {
_root.gotoAndPlay('start');
}
}
button 70 {
on (press) {
tellTarget ('../') {
gotoAndPlay('go111');
getURL('http://pacthesis.deviantart.com', '');
}
}
}
button 75 {
on (release) {
_root.gotoAndPlay('credits');
}
}
button 79 {
on (release) {
_root.gotoAndPlay('info');
}
}
frame 102 {
stop();
}
button 86 {
on (release) {
_root.gotoAndPlay('kai destiny');
}
}
button 90 {
on (release) {
_root.gotoAndPlay('retry quiz');
}
}
frame 103 {
stop();
}
button 93 {
on (release) {
nextFrame();
}
}
frame 104 {
stop();
}
frame 105 {
stop();
}
frame 106 {
stop();
}
frame 107 {
stop();
}
frame 108 {
stop();
}
button 111 {
on (release) {
_root.gotoAndPlay('kai suburn');
}
}
button 112 {
on (release) {
gotoAndPlay('amy3');
}
}
frame 109 {
stop();
}
button 119 {
on (release) {
nextFrame();
}
}
button 123 {
on (release) {
nextFrame();
}
}
frame 110 {
stop();
}
frame 111 {
stop();
}
button 130 {
on (release) {
_root.gotoAndPlay('rules');
}
}
button 134 {
on (release) {
_root.gotoAndPlay('who are you');
}
}
button 138 {
on (release) {
_root.gotoAndPlay('boy date');
}
}
button 142 {
on (release) {
_root.gotoAndPlay('ask play');
}
}
button 146 {
on (release) {
_root.gotoAndPlay('ask reset');
}
}
button 150 {
on (release) {
_root.gotoAndPlay('stairs3');
}
}
frame 112 {
stop();
}
button 153 {
on (release) {
_root.gotoAndPlay('kai school front');
}
}
button 154 {
on (release) {
_root.gotoAndPlay('stairs3');
}
}
button 155 {
on (release) {
_root.gotoAndPlay('kai city');
}
}
button 156 {
on (release) {
_root.gotoAndPlay('kai park');
}
}
frame 113 {
stop();
}
button 159 {
on (release) {
_root.gotoAndPlay('kai suburn');
}
}
button 160 {
on (release) {
_root.gotoAndPlay('kai sakura');
}
}
frame 114 {
stop();
}
button 165 {
on (release) {
_root.gotoAndPlay('kai park');
}
}
frame 115 {
stop();
}
button 168 {
on (release) {
_root.gotoAndPlay('kai classroom');
}
}
frame 116 {
stop();
}
frame 117 {
stop();
}
button 180 {
on (release) {
nextFrame();
}
}
button 185 {
on (release) {
_root.gotoAndPlay('kai suburn');
}
}
frame 118 {
stop();
}
button 192 {
on (release) {
nextFrame();
}
}
button 196 {
on (release) {
nextFrame();
}
}
frame 119 {
stop();
}
button 203 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
button 207 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
button 211 {
on (release) {
_root.gotoAndPlay('kai downtown?');
}
}
frame 120 {
stop();
}
button 213 {
on (release) {
_root.gotoAndPlay('kai game over');
}
}
frame 121 {
stop();
}
button 221 {
on (release) {
_root.gotoAndPlay('play');
}
}
frame 122 {
stop();
}
button 228 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
button 232 {
on (release) {
nextFrame();
}
}
frame 123 {
stop();
}
button 237 {
on (release) {
nextFrame();
}
}
button 241 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
frame 124 {
stop();
}
button 248 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
button 251 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
button 255 {
on (release) {
nextFrame();
}
}
frame 125 {
stop();
}
button 262 {
on (release) {
nextFrame();
}
}
button 266 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
frame 126 {
stop();
}
button 271 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
button 275 {
on (release) {
nextFrame();
}
}
button 279 {
on (release) {
_root.gotoAndPlay('kai bad');
}
}
frame 127 {
stop();
}
button 284 {
on (release) {
nextFrame();
}
}
button 288 {
on (release) {
_root.gotoAndPlay('kai go to sushi');
}
}
button 292 {
on (release) {
nextFrame();
}
}
button 295 {
on (release) {
nextFrame();
}
}
frame 128 {
stop();
}
frame 129 {
stop();
}
button 298 {
on (release) {
_root.gotoAndPlay('kai no go');
}
}
button 299 {
on (release) {
_root.gotoAndPlay('kai no go');
}
}
button 300 {
on (release) {
_root.gotoAndPlay('kai no go');
}
}
frame 130 {
stop();
}
frame 131 {
stop();
}
button 310 {
on (release) {
nextFrame();
}
}
button 314 {
on (release) {
nextFrame();
}
}
frame 132 {
stop();
}
button 321 {
on (release) {
nextFrame();
}
}
button 325 {
on (release) {
_root.gotoAndPlay('kai skip quiz');
}
}
frame 133 {
stop();
}
frame 134 {
stop();
}
button 333 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 337 {
on (release) {
_root.gotoAndPlay('kai sushi 2');
}
}
frame 135 {
stop();
}
button 341 {
on (release) {
_root.gotoAndPlay('kai eat');
}
}
frame 136 {
stop();
}
button 348 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 352 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 356 {
on (release) {
nextFrame();
}
}
button 360 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
frame 137 {
stop();
}
button 365 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 369 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 373 {
on (release) {
nextFrame();
}
}
frame 138 {
stop();
}
button 378 {
on (release) {
nextFrame();
}
}
button 382 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 386 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 390 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
frame 139 {
stop();
}
button 397 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 401 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 405 {
on (release) {
nextFrame();
}
}
button 409 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
frame 140 {
stop();
}
button 416 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 420 {
on (release) {
_root.gotoAndPlay('kai win quiz');
}
}
button 424 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
button 428 {
on (release) {
_root.gotoAndPlay('kai wrong');
}
}
frame 141 {
stop();
}
frame 142 {
stop();
}
frame 143 {
stop();
}
frame 144 {
stop();
}
frame 145 {
stop();
}
frame 146 {
stop();
}
frame 147 {
stop();
}
button 449 {
on (release) {
nextFrame();
}
}
button 453 {
on (release) {
nextFrame();
}
}
frame 148 {
stop();
}
frame 149 {
stop();
}
frame 150 {
stop();
}
button 460 {
on (release) {
_root.gotoAndPlay('kai inter');
}
}
button 464 {
on (release) {
_root.gotoAndPlay('kai bad 2');
}
}
frame 151 {
stop();
}
button 468 {
on (release) {
_root.gotoAndPlay('kai game over 2');
}
}
frame 152 {
stop();
}
frame 153 {
stop();
}
button 476 {
on (release) {
_root.gotoAndPlay('kai sakura 1');
}
}
frame 154 {
stop();
}
button 483 {
on (release) {
_root.gotoAndPlay('kai bad 3');
}
}
button 487 {
on (release) {
_root.gotoAndPlay('kai sakura 2');
}
}
frame 155 {
stop();
}
frame 156 {
stop();
}
button 497 {
on (release) {
_root.gotoAndPlay('kai bad 3');
}
}
button 501 {
on (release) {
nextFrame();
}
}
frame 157 {
stop();
}
button 508 {
on (release) {
_root.gotoAndPlay('kai bad money');
}
}
button 512 {
on (release) {
_root.gotoAndPlay('kai reward');
}
}
frame 158 {
stop();
}
button 519 {
on (release) {
_root.gotoAndPlay('kai bad 3');
}
}
button 523 {
on (release) {
nextFrame();
}
}
frame 159 {
stop();
}
button 532 {
on (press) {
tellTarget ('../') {
gotoAndPlay('go111');
getURL('http://pacthesis.deviantart.com', '');
}
}
}
button 535 {
on (release) {
_root.gotoAndPlay('kai code');
}
}
frame 160 {
stop();
}
frame 161 {
stop();
}
button 544 {
on (release) {
_root.gotoAndPlay('kai phony code');
}
}
button 545 {
on (release) {
_root.gotoAndPlay('kai secret ending');
}
}
button 555 {
on (release) {
_root.gotoAndPlay('play');
}
}
frame 162 {
stop();
}
button 564 {
on (press) {
tellTarget ('../') {
gotoAndPlay('go111');
getURL('http://www.google.com/', '');
}
}
}
frame 163 {
stop();
}
frame 164 {
stop();
}
frame 165 {
stop();
}
frame 166 {
stop();
}
frame 166 {
stop();
}
frame 167 {
stop();
}
frame 168 {
stop();
}
frame 169 {
stop();
}
frame 170 {
stop();
}
button 602 {
on (press) {
tellTarget ('../') {
gotoAndPlay('go111');
getURL('http://www.youtube.com/watch?v=47ginr8gXhQ', '');
}
}
}
frame 171 {
stop();
}
button 606 {
on (release) {
_root.gotoAndPlay('play');
}
}
frame 172 {
stop();
}
button 611 {
on (release) {
nextFrame();
}
}
frame 173 {
stop();
}
frame 174 {
stop();
}
frame 175 {
stop();
}
frame 176 {
stop();
}
frame 178 {
stop();
}
frame 179 {
stop();
}
frame 180 {
stop();
}
button 642 {
on (release) {
nextFrame();
}
}
button 646 {
on (release) {
nextFrame();
}
}
button 650 {
on (release) {
nextFrame();
}
}
frame 181 {
stop();
}
button 657 {
on (release) {
nextFrame();
}
}
button 661 {
on (release) {
nextFrame();
}
}
button 665 {
on (release) {
nextFrame();
}
}
frame 182 {
stop();
}
button 670 {
on (release) {
_root.gotoAndPlay('haru mode');
}
}
button 674 {
on (release) {
_root.gotoAndPlay('daichi mode');
}
}
button 678 {
on (release) {
_root.gotoAndPlay('kai mode');
}
}
frame 183 {
stop();
}
button 680 {
on (release) {
_root.gotoAndPlay('haru destiny');
}
}
button 681 {
on (release) {
_root.gotoAndPlay('retry quiz');
}
}
frame 184 {
stop();
}
button 682 {
on (release) {
_root.gotoAndPlay('reset');
}
}
frame 185 {
stop();
}
frame 186 {
stop();
}
frame 187 {
stop();
}
frame 188 {
stop();
}
frame 189 {
stop();
}
frame 190 {
stop();
}
button 687 {
on (release) {
_root.gotoAndPlay('haru suburn');
}
}
button 688 {
on (release) {
gotoAndPlay('amy');
}
}
frame 191 {
stop();
}
button 689 {
on (release) {
nextFrame();
}
}
button 690 {
on (release) {
nextFrame();
}
}
frame 192 {
stop();
}
frame 193 {
stop();
}
button 691 {
on (release) {
_root.gotoAndPlay('rules');
}
}
button 692 {
on (release) {
_root.gotoAndPlay('who are you');
}
}
button 693 {
on (release) {
_root.gotoAndPlay('boy date');
}
}
button 694 {
on (release) {
_root.gotoAndPlay('ask play');
}
}
button 695 {
on (release) {
_root.gotoAndPlay('ask reset');
}
}
button 696 {
on (release) {
_root.gotoAndPlay('stairs');
}
}
frame 194 {
stop();
}
button 701 {
on (release) {
_root.gotoAndPlay('reset');
}
}
button 705 {
on (release) {
_root.gotoAndPlay('amy menu');
}
}
button 709 {
on (release) {
_root.gotoAndPlay('reset');
}
}
frame 195 {
stop();
}
button 714 {
on (release) {
_root.gotoAndPlay('suck play');
}
}
button 718 {
on (release) {
_root.gotoAndPlay('amy menu');
}
}
frame 196 {
stop();
}
button 720 {
on (release) {
_root.gotoAndPlay('play');
}
}
frame 197 {
stop();
}
button 722 {
on (release) {
_root.gotoAndPlay('rules 2');
}
}
frame 198 {
stop();
}
button 724 {
on (release) {
_root.gotoAndPlay('rules 3');
}
}
frame 199 {
stop();
}
button 726 {
on (release) {
_root.gotoAndPlay('amy menu');
}
}
frame 200 {
stop();
}
frame 201 {
stop();
}
button 729 {
on (release) {
_root.gotoAndPlay('amy menu');
}
}
button 733 {
on (press) {
tellTarget ('../') {
gotoAndPlay('go111');
getURL('http://pacthesis.deviantart.com/art/Anime-Dating-Sim-1-0-91406624', '');
}
}
}
frame 202 {
stop();
}
button 736 {
on (release) {
_root.gotoAndPlay('haru school front');
}
}
button 737 {
on (release) {
_root.gotoAndPlay('stairs');
}
}
button 738 {
on (release) {
_root.gotoAndPlay('haru city');
}
}
button 739 {
on (release) {
_root.gotoAndPlay('haru park');
}
}
frame 203 {
stop();
}
button 742 {
on (release) {
_root.gotoAndPlay('haru suburn');
}
}
button 743 {
on (release) {
_root.gotoAndPlay('haru sakura');
}
}
frame 204 {
stop();
}
button 747 {
on (release) {
_root.gotoAndPlay('haru park');
}
}
frame 205 {
stop();
}
button 750 {
on (release) {
_root.gotoAndPlay('haru suburn');
}
}
button 751 {
on (release) {
_root.gotoAndPlay('haru sushi bar entrance');
}
}
frame 206 {
stop();
}
button 754 {
on (release) {
_root.gotoAndPlay('haru city');
}
}
button 755 {
on (release) {
_root.gotoAndPlay('haru sushi bar');
}
}
frame 207 {
stop();
}
button 756 {
on (release) {
gotoAndPlay('haru sushi bar entrance');
}
}
frame 208 {
stop();
}
button 763 {
on (release) {
_root.gotoAndPlay('haru classroom');
}
}
frame 209 {
stop();
}
button 770 {
on (release) {
nextFrame();
}
}
button 771 {
on (release) {
_root.gotoAndPlay('haru school front');
}
}
frame 210 {
stop();
}
button 778 {
on (release) {
_root.gotoAndPlay('haru bad');
}
}
button 782 {
on (release) {
nextFrame();
}
}
button 786 {
on (release) {
_root.gotoAndPlay('haru bad');
}
}
frame 211 {
stop();
}
button 793 {
on (release) {
_root.gotoAndPlay('haru bad');
}
}
button 797 {
on (release) {
_root.gotoAndPlay('haru bad');
}
}
button 801 {
on (release) {
nextFrame();
}
}
frame 212 {
stop();
}
button 806 {
on (release) {
_root.gotoAndPlay('haru bad');
}
}
button 810 {
on (release) {
nextFrame();
}
}
frame 213 {
stop();
}
button 817 {
on (release) {
nextFrame();
}
}
button 822 {
on (release) {
_root.gotoAndPlay('haru bad');
}
}
frame 214 {
stop();
}
button 827 {
on (release) {
nextFrame();
}
}
button 831 {
on (release) {
_root.gotoAndPlay('haru bad');
}
}
frame 215 {
stop();
}
button 836 {
on (release) {
_root.gotoAndPlay('haru bad');
}
}
button 840 {
on (release) {
nextFrame();
}
}
frame 216 {
stop();
}
frame 217 {
stop();
}
frame 218 {
}
frame 218 {
stop();
}
button 850 {
on (release) {
nextFrame();
}
}
frame 219 {
stop();
}
frame 220 {
stop();
}
button 867 {
on (release) {
nextFrame();
}
}
button 871 {
on (release) {
nextFrame();
}
}
frame 221 {
stop();
}
frame 222 {
stop();
}
button 879 {
on (release) {
_root.gotoAndPlay('haru bad 2');
}
}
button 883 {
on (release) {
_root.gotoAndPlay('haru date');
}
}
frame 223 {
stop();
}
frame 224 {
stop();
}
button 888 {
on (release) {
_root.gotoAndPlay('play');
}
}
frame 225 {
stop();
}
frame 226 {
stop();
}
frame 227 {
stop();
}
frame 228 {
stop();
}
button 894 {
on (release) {
_root.gotoAndPlay('haru school front 2');
}
}
frame 229 {
stop();
}
button 895 {
on (release) {
nextFrame();
}
}
button 896 {
on (release) {
prevFrame();
}
}
frame 230 {
stop();
}
button 897 {
on (release) {
prevFrame();
}
}
button 898 {
on (release) {
_root.gotoAndPlay('stairs 2');
}
}
button 899 {
on (release) {
_root.gotoAndPlay('haru city 2');
}
}
button 900 {
on (release) {
_root.gotoAndPlay('haru park 2');
}
}
frame 231 {
stop();
}
button 901 {
on (release) {
_root.gotoAndPlay('haru suburn 2');
}
}
button 902 {
on (release) {
nextFrame();
}
}
frame 232 {
stop();
}
button 903 {
on (release) {
prevFrame();
}
}
button 904 {
on (release) {
nextFrame();
}
}
frame 233 {
stop();
}
button 905 {
on (release) {
gotoAndPlay('haru sushi bar entrance');
}
}
frame 234 {
stop();
}
button 906 {
on (release) {
_root.gotoAndPlay('haru suburn 2');
}
}
button 907 {
on (release) {
gotoAndPlay('bed 2');
}
}
frame 235 {
stop();
}
button 908 {
on (release) {
prevFrame();
}
}
frame 236 {
stop();
}
button 909 {
on (release) {
_root.gotoAndPlay('haru suburn 2');
}
}
button 910 {
on (release) {
_root.gotoAndPlay('haru sakura final');
}
}
frame 237 {
stop();
}
frame 238 {
stop();
}
frame 239 {
stop();
}
frame 240 {
stop();
}
frame 241 {
stop();
}
frame 242 {
stop();
}
frame 243 {
stop();
}
frame 244 {
stop();
}
frame 245 {
stop();
}
frame 246 {
stop();
}
button 936 {
on (release) {
_root.gotoAndPlay('haru bad sakura');
}
}
button 940 {
on (release) {
nextFrame();
}
}
frame 247 {
stop();
}
frame 248 {
stop();
}
button 951 {
on (press) {
tellTarget ('../') {
gotoAndPlay('go111');
getURL('http://pacthesis.deviantart.com', '');
}
}
}
button 952 {
on (release) {
_root.gotoAndPlay('play');
}
}
frame 249 {
stop();
}
button 953 {
on (release) {
_root.gotoAndPlay('haru game over love');
}
}
frame 250 {
stop();
}
button 956 {
on (release) {
_root.gotoAndPlay('daichi destiny');
}
}
frame 251 {
stop();
}
frame 252 {
stop();
}
frame 253 {
stop();
}
frame 254 {
stop();
}
frame 256 {
stop();
}
button 957 {
on (release) {
_root.gotoAndPlay('daichi suburn');
}
}
button 958 {
on (release) {
gotoAndPlay('amy2');
}
}
frame 257 {
stop();
}
frame 258 {
stop();
}
frame 259 {
stop();
}
button 959 {
on (release) {
_root.gotoAndPlay('stairs2');
}
}
frame 260 {
stop();
}
button 960 {
on (release) {
_root.gotoAndPlay('daichi school front');
}
}
button 961 {
on (release) {
_root.gotoAndPlay('stairs2');
}
}
button 962 {
on (release) {
_root.gotoAndPlay('daichi city');
}
}
button 963 {
on (release) {
_root.gotoAndPlay('daichi park');
}
}
frame 261 {
stop();
}
button 964 {
on (release) {
_root.gotoAndPlay('daichi suburn');
}
}
button 965 {
on (release) {
_root.gotoAndPlay('daichi sushi bar entrance');
}
}
frame 262 {
stop();
}
button 966 {
on (release) {
_root.gotoAndPlay('daichi city');
}
}
button 967 {
on (release) {
_root.gotoAndPlay('daichi sushi bar');
}
}
frame 263 {
stop();
}
button 968 {
on (release) {
gotoAndPlay('haru sushi bar entrance');
}
}
frame 264 {
stop();
}
button 969 {
on (release) {
_root.gotoAndPlay('daichi suburn');
}
}
button 970 {
on (release) {
_root.gotoAndPlay('daichi classroom');
}
}
frame 265 {
stop();
}
frame 266 {
stop();
}
button 979 {
on (release) {
nextFrame();
}
}
button 980 {
on (release) {
_root.gotoAndPlay('daichi suburn');
}
}
frame 267 {
stop();
}
button 987 {
on (release) {
_root.gotoAndPlay('daichi weather');
}
}
button 991 {
on (release) {
_root.gotoAndPlay('daichi bad');
}
}
button 995 {
on (release) {
_root.gotoAndPlay('daichi weather');
}
}
frame 268 {
stop();
}
frame 269 {
stop();
}
frame 270 {
stop();
}
button 1006 {
on (release) {
_root.gotoAndPlay('daichi bad');
}
}
button 1010 {
on (release) {
nextFrame();
}
}
frame 271 {
stop();
}
button 1017 {
on (release) {
nextFrame();
}
}
button 1021 {
on (release) {
_root.gotoAndPlay('daichi bad');
}
}
frame 272 {
stop();
}
frame 273 {
stop();
}
button 1029 {
on (release) {
_root.gotoAndPlay('daichi wrong riddle');
}
}
button 1033 {
on (release) {
nextFrame();
}
}
button 1037 {
on (release) {
_root.gotoAndPlay('daichi wrong riddle');
}
}
frame 274 {
stop();
}
button 1041 {
on (release) {
_root.gotoAndPlay('daichi riddle 2');
}
}
frame 275 {
stop();
}
button 1045 {
on (release) {
_root.gotoAndPlay('daichi game over');
}
}
frame 276 {
stop();
}
button 1052 {
on (release) {
nextFrame();
}
}
button 1056 {
on (release) {
_root.gotoAndPlay('daichi wrong riddle');
}
}
button 1060 {
on (release) {
_root.gotoAndPlay('daichi wrong riddle');
}
}
button 1064 {
on (release) {
_root.gotoAndPlay('daichi wrong riddle');
}
}
button 1068 {
on (release) {
_root.gotoAndPlay('daichi wrong riddle');
}
}
button 1072 {
on (release) {
_root.gotoAndPlay('daichi wrong riddle');
}
}
frame 277 {
stop();
}
button 1079 {
on (release) {
nextFrame();
}
}
button 1083 {
on (release) {
nextFrame();
}
}
frame 278 {
stop();
}
frame 279 {
stop();
}
button 1093 {
on (release) {
nextFrame();
}
}
button 1097 {
on (release) {
_root.gotoAndPlay('daichi bad');
}
}
frame 280 {
stop();
}
button 1108 {
on (release) {
_root.gotoAndPlay('daichi game');
}
}
frame 281 {
numEnemy = 10;
i = 2;
while (i <= numEnemy) {
enemy1.duplicateMovieClip('enemy' + i, i + 100);
++i;
}
score = 0;
}
movieClip 1113 {
}
movieClip 1114 {
}
instance mainGround of movieClip 1114 {
onClipEvent (load) {
ground.duplicateMovieClip('ground2', 100);
ground2._x = ground._x + ground._width;
groundStartx = this._x;
groundSpeed = 10;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x -= groundSpeed;
if (this._x <= groundStartx - ground._width) {
this._x = groundStartx - groundSpeed;
}
}
}
}
instance mainGround of movieClip 1114 {
onClipEvent (load) {
ground.duplicateMovieClip('ground2', 100);
ground2._x = ground._x + ground._width;
groundStartx = this._x;
groundSpeed = 10;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x -= groundSpeed;
if (this._x <= groundStartx - ground._width) {
this._x = groundStartx - groundSpeed;
}
}
}
}
instance mainGround of movieClip 1114 {
onClipEvent (load) {
ground.duplicateMovieClip('ground2', 100);
ground2._x = ground._x + ground._width;
groundStartx = this._x;
groundSpeed = 10;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x -= groundSpeed;
if (this._x <= groundStartx - ground._width) {
this._x = groundStartx - groundSpeed;
}
}
}
}
movieClip 1116 {
}
movieClip 1117 {
}
instance mainStars of movieClip 1117 {
onClipEvent (load) {
stars.duplicateMovieClip('stars2', 1000);
stars2._x = stars._x + stars._width;
starsStartx = this._x;
starsSpeed = 4;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x -= starsSpeed;
if (this._x <= starsStartx - stars._width) {
this._x = starsStartx - starsSpeed;
}
}
}
}
movieClip 1119 {
}
instance laser of movieClip 1119 {
onClipEvent (load) {
laserMoveSpeed = 20;
this._x = _root.spaceship._x + 90;
this._y = _root.spaceship._y;
}
onClipEvent (enterFrame) {
if (this._name != 'laser') {
this._x += laserMoveSpeed;
if (this._x > 600) {
this.removeMovieClip();
}
i = 1;
while (i <= _root.numEnemy) {
if (this.hitTest(_root['enemy' + i])) {
_root.score += 100;
_root['enemy' + i].gotoAndPlay(2);
}
++i;
}
}
}
}
movieClip 1121 {
}
instance spaceship of movieClip 1121 {
onClipEvent (load) {
moveSpeed = 20;
_root.laser._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 3;
scrollStart = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(17)) {
++laserCounter;
_root.laser.duplicateMovieClip('laser' + laserCounter, laserCounter);
_root['laser' + laserCounter]._visible = true;
}
if (Key.isDown(39)) {
if (this._x < scrollx) {
this._x += moveSpeed;
} else {
scrollStart = true;
}
} else {
if (Key.isDown(37)) {
this._x -= moveSpeed;
}
}
if (Key.isDown(40)) {
this._y += moveSpeed;
} else {
if (Key.isDown(38)) {
this._y -= moveSpeed;
}
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
scrollStart = false;
}
}
}
movieClip 1127 {
frame 1 {
stop();
}
frame 6 {
stop();
}
frame 6 {
stop();
}
}
instance enemy1 of movieClip 1127 {
onClipEvent (load) {
function reset() {
var v1 = this;
v1._x = 600;
v1._y = random(200) + 100;
enemySpeed = random(4) + 1;
v1.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x -= enemySpeed + _root.mainGround.groundSpeed;
} else {
this._x -= enemySpeed;
}
if (this._x < -10) {
reset();
}
if (this.hitTest(_root.spaceship)) {
_root.gotoAndStop('gameOver');
}
}
}
frame 282 {
stop();
}
button 1135 {
on (release) {
_root.gotoAndPlay('daichi game end');
}
}
frame 285 {
stop();
}
button 1142 {
on (release) {
nextFrame();
}
}
button 1146 {
on (release) {
_root.gotoAndPlay('daichi bad');
}
}
button 1150 {
on (release) {
_root.gotoAndPlay('daichi bad');
}
}
frame 286 {
stop();
}
button 1159 {
on (release) {
nextFrame();
}
}
button 1163 {
on (release) {
_root.gotoAndPlay('daichi bad');
}
}
frame 287 {
stop();
}
frame 288 {
stop();
}
button 1173 {
on (release) {
_root.gotoAndPlay('daichi riddle 3');
}
}
button 1177 {
on (release) {
_root.gotoAndPlay('daichi bad 2');
}
}
frame 289 {
stop();
}
button 1180 {
on (release) {
_root.gotoAndPlay('daichi game over 2');
}
}
frame 290 {
stop();
}
frame 291 {
stop();
}
frame 292 {
stop();
}
button 1192 {
on (release) {
nextFrame();
}
}
button 1196 {
on (release) {
_root.gotoAndPlay('daichi bad 2');
}
}
button 1200 {
on (release) {
_root.gotoAndPlay('daichi bad 2');
}
}
frame 293 {
stop();
}
button 1208 {
on (release) {
nextFrame();
}
}
button 1212 {
on (release) {
nextFrame();
}
}
frame 294 {
stop();
}
frame 295 {
stop();
}
button 1222 {
on (release) {
nextFrame();
}
}
button 1226 {
on (release) {
_root.gotoAndPlay('daichi bad 2');
}
}
frame 296 {
stop();
}
button 1229 {
on (press) {
tellTarget ('../') {
gotoAndPlay('go111');
getURL('http://pacthesis.deviantart.com', '');
}
}
}