Combined Code
frame 1 {
var cgg = new Array(50);
hexie = 0;
Stage.showMenu = false;
Stage.displayState = 'fullScreen';
}
frame 1 {
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
text = percent + '%';
loading.gotoAndStop(percent);
}
movieClip 5 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
frame 68 {
stop();
}
frame 69 {
stop();
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
frame 74 {
stop();
}
frame 75 {
stop();
}
frame 76 {
stop();
}
frame 77 {
stop();
}
frame 78 {
stop();
}
frame 79 {
stop();
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
frame 85 {
stop();
}
frame 86 {
stop();
}
frame 87 {
stop();
}
frame 88 {
stop();
}
frame 89 {
stop();
}
frame 90 {
stop();
}
frame 91 {
stop();
}
frame 92 {
stop();
}
frame 93 {
stop();
}
frame 94 {
stop();
}
frame 95 {
stop();
}
frame 96 {
stop();
}
frame 97 {
stop();
}
frame 98 {
stop();
}
frame 99 {
stop();
}
frame 100 {
stop();
}
}
frame 5 {
if (loaded == total) {
gotoAndPlay(6);
} else {
gotoAndPlay(1);
}
}
frame 6 {
placemax = 15;
var item = new Array(50);
var item2 = new Array(50);
var item3 = new Array(100);
var item4 = new Array(100);
j = 1;
while (j <= 50) {
item2[j] = 0;
++j;
}
j = 1;
while (j <= 100) {
item3[j] = '';
++j;
}
item[1] = 'Notebook';
item[2] = 'Pencil';
item2[1] = 3;
item2[2] = 6;
item[20] = 'Comb';
item2[20] = 1;
item[30] = 'ID Card';
item2[30] = 1;
item[4] = 'Used Battery';
item[6] = 'Pet Snake';
item[8] = 'Rotten Bone';
item[13] = 'Hunk\'s Sperm';
item[17] = 'Dragon\'s Eye';
item[25] = 'Love Letter';
item[43] = 'Water of Youth';
item[3] = 'Battery';
item[10] = 'Wine of Flame';
item[22] = 'Witch\'s Oil';
item[33] = 'Thunderbird Meat';
item[47] = 'Spring Water';
item[48] = 'Rubbish';
item[15] = 'Fiery';
item[46] = 'Ancient Beer';
}
frame 9 {
stop();
}
frame 9 {
myLSO = SharedObject.getLocal('cg');
if (myLSO.data.save2 == undefined) {
cga1 = 0;
cga2 = 0;
myLSO = SharedObject.getLocal('cg');
save2 = {};
save2.cga1 = cga1;
save2.cga2 = cga2;
myLSO.data.save2 = save2;
} else {
cga1 = myLSO.data.save2.cga1;
cga2 = myLSO.data.save2.cga2;
}
}
movieClip 15 {
}
button 23 {
on (release) {
gotoAndPlay(13);
}
}
button 24 {
on (release) {
stopAllSounds();
gotoAndPlay(20);
}
}
button 25 {
on (release) {
gotoAndPlay(14);
}
}
button 26 {
on (release) {
gotoAndPlay(259);
}
}
frame 10 {
stop();
}
button 29 {
on (release) {
stopAllSounds();
play();
}
}
button 30 {
on (release) {
gotoAndPlay(9);
}
}
frame 11 {
stop();
}
frame 12 {
stop();
}
button 35 {
on (release) {
stopAllSounds();
gotoAndPlay(15);
}
}
frame 13 {
stop();
}
movieClip 46 {
frame 10 {
stop();
}
}
button 48 {
on (release) {
gotoAndPlay(9);
}
}
frame 14 {
stop();
myLSO2 = SharedObject.getLocal('foo');
if (myLSO2.data.save2 == undefined) {
ss1 = 'æ— ';
} else {
nam1 = myLSO2.data.save2.nam;
a11 = myLSO2.data.save2.a1;
zzs1 = myLSO2.data.save2.zs;
ss1 = nam1 + ' Alfa:' + a11 + '/7 ' + zzs1;
}
myLSO3 = SharedObject.getLocal('foo2');
if (myLSO3.data.save2 == undefined) {
ss2 = 'æ— ';
} else {
nam2 = myLSO3.data.save2.nam;
a12 = myLSO3.data.save2.a1;
zzs2 = myLSO3.data.save2.zs;
ss2 = nam2 + ' Alfa:' + a12 + '/7 ' + zzs2;
}
myLSO4 = SharedObject.getLocal('foo3');
if (myLSO4.data.save2 == undefined) {
ss3 = 'æ— ';
} else {
nam3 = myLSO4.data.save2.nam;
a13 = myLSO4.data.save2.a1;
zzs3 = myLSO4.data.save2.zs;
ss3 = nam3 + ' Alfa:' + a13 + '/7 ' + zzs3;
}
myLSO5 = SharedObject.getLocal('foo4');
if (myLSO5.data.save2 == undefined) {
ss4 = 'æ— ';
} else {
nam4 = myLSO5.data.save2.nam;
a14 = myLSO5.data.save2.a1;
zzs4 = myLSO5.data.save2.zs;
ss4 = nam4 + ' Alfa:' + a14 + '/7 ' + zzs4;
}
}
button 57 {
on (release) {
myLSO = SharedObject.getLocal('foo');
if (myLSO.data.save2 == undefined) {
} else {
a1 = myLSO.data.save2.a1;
a2 = myLSO.data.save2.a2;
snake = myLSO.data.save2.snake;
garb = myLSO.data.save2.garb;
sor = myLSO.data.save2.sor;
sor2 = myLSO.data.save2.sor2;
pow = myLSO.data.save2.pow2;
bone1 = myLSO.data.save2.bone1;
bone2 = myLSO.data.save2.bone2;
bone3 = myLSO.data.save2.bone3;
bone4 = myLSO.data.save2.bone4;
bone5 = myLSO.data.save2.bone5;
bone6 = myLSO.data.save2.bone6;
bone7 = myLSO.data.save2.bone7;
bone8 = myLSO.data.save2.bone8;
dru = myLSO.data.save2.dru;
lao = myLSO.data.save2.lao;
pen1 = myLSO.data.save2.pen1;
pen2 = myLSO.data.save2.pen2;
fei1 = myLSO.data.save2.fei1;
fei2 = myLSO.data.save2.fei2;
fei3 = myLSO.data.save2.fei3;
fei4 = myLSO.data.save2.fei4;
fei5 = myLSO.data.save2.fei5;
lei = myLSO.data.save2.lei;
bar = myLSO.data.save2.bar;
fit = myLSO.data.save2.fit;
score = myLSO.data.save2.score;
music = myLSO.data.save2.music;
qing = myLSO.data.save2.qing;
ju1 = myLSO.data.save2.ju1;
ju2 = myLSO.data.save2.ju2;
ju3 = myLSO.data.save2.ju3;
nam = myLSO.data.save2.nam;
j = 1;
while (j <= 50) {
item2[j] = myLSO.data.save2.item2[j];
++j;
}
stopAllSounds();
if (music == 1) {
gotoAndPlay(73);
} else {
if (music == 2) {
gotoAndPlay(74);
} else {
if (music == 3) {
gotoAndPlay(75);
} else {
gotoAndPlay(76);
}
}
}
}
}
}
button 60 {
on (release) {
myLSO = SharedObject.getLocal('foo2');
if (myLSO.data.save2 == undefined) {
} else {
a1 = myLSO.data.save2.a1;
a2 = myLSO.data.save2.a2;
snake = myLSO.data.save2.snake;
garb = myLSO.data.save2.garb;
sor = myLSO.data.save2.sor;
sor2 = myLSO.data.save2.sor2;
pow = myLSO.data.save2.pow2;
bone1 = myLSO.data.save2.bone1;
bone2 = myLSO.data.save2.bone2;
bone3 = myLSO.data.save2.bone3;
bone4 = myLSO.data.save2.bone4;
bone5 = myLSO.data.save2.bone5;
bone6 = myLSO.data.save2.bone6;
bone7 = myLSO.data.save2.bone7;
bone8 = myLSO.data.save2.bone8;
dru = myLSO.data.save2.dru;
lao = myLSO.data.save2.lao;
pen1 = myLSO.data.save2.pen1;
pen2 = myLSO.data.save2.pen2;
fei1 = myLSO.data.save2.fei1;
fei2 = myLSO.data.save2.fei2;
fei3 = myLSO.data.save2.fei3;
fei4 = myLSO.data.save2.fei4;
fei5 = myLSO.data.save2.fei5;
lei = myLSO.data.save2.lei;
bar = myLSO.data.save2.bar;
fit = myLSO.data.save2.fit;
score = myLSO.data.save2.score;
music = myLSO.data.save2.music;
qing = myLSO.data.save2.qing;
ju1 = myLSO.data.save2.ju1;
ju2 = myLSO.data.save2.ju2;
ju3 = myLSO.data.save2.ju3;
nam = myLSO.data.save2.nam;
j = 1;
while (j <= 50) {
item2[j] = myLSO.data.save2.item2[j];
++j;
}
stopAllSounds();
if (music == 1) {
gotoAndPlay(73);
} else {
if (music == 2) {
gotoAndPlay(74);
} else {
if (music == 3) {
gotoAndPlay(75);
} else {
gotoAndPlay(76);
}
}
}
}
}
}
button 63 {
on (release) {
myLSO = SharedObject.getLocal('foo3');
if (myLSO.data.save2 == undefined) {
} else {
a1 = myLSO.data.save2.a1;
a2 = myLSO.data.save2.a2;
snake = myLSO.data.save2.snake;
garb = myLSO.data.save2.garb;
sor = myLSO.data.save2.sor;
sor2 = myLSO.data.save2.sor2;
pow = myLSO.data.save2.pow2;
bone1 = myLSO.data.save2.bone1;
bone2 = myLSO.data.save2.bone2;
bone3 = myLSO.data.save2.bone3;
bone4 = myLSO.data.save2.bone4;
bone5 = myLSO.data.save2.bone5;
bone6 = myLSO.data.save2.bone6;
bone7 = myLSO.data.save2.bone7;
bone8 = myLSO.data.save2.bone8;
dru = myLSO.data.save2.dru;
lao = myLSO.data.save2.lao;
pen1 = myLSO.data.save2.pen1;
pen2 = myLSO.data.save2.pen2;
fei1 = myLSO.data.save2.fei1;
fei2 = myLSO.data.save2.fei2;
fei3 = myLSO.data.save2.fei3;
fei4 = myLSO.data.save2.fei4;
fei5 = myLSO.data.save2.fei5;
lei = myLSO.data.save2.lei;
bar = myLSO.data.save2.bar;
fit = myLSO.data.save2.fit;
score = myLSO.data.save2.score;
music = myLSO.data.save2.music;
qing = myLSO.data.save2.qing;
ju1 = myLSO.data.save2.ju1;
ju2 = myLSO.data.save2.ju2;
ju3 = myLSO.data.save2.ju3;
nam = myLSO.data.save2.nam;
j = 1;
while (j <= 50) {
item2[j] = myLSO.data.save2.item2[j];
++j;
}
stopAllSounds();
if (music == 1) {
gotoAndPlay(73);
} else {
if (music == 2) {
gotoAndPlay(74);
} else {
if (music == 3) {
gotoAndPlay(75);
} else {
gotoAndPlay(76);
}
}
}
}
}
}
button 66 {
on (release) {
myLSO = SharedObject.getLocal('foo4');
if (myLSO.data.save2 == undefined) {
} else {
a1 = myLSO.data.save2.a1;
a2 = myLSO.data.save2.a2;
snake = myLSO.data.save2.snake;
garb = myLSO.data.save2.garb;
sor = myLSO.data.save2.sor;
sor2 = myLSO.data.save2.sor2;
pow = myLSO.data.save2.pow2;
bone1 = myLSO.data.save2.bone1;
bone2 = myLSO.data.save2.bone2;
bone3 = myLSO.data.save2.bone3;
bone4 = myLSO.data.save2.bone4;
bone5 = myLSO.data.save2.bone5;
bone6 = myLSO.data.save2.bone6;
bone7 = myLSO.data.save2.bone7;
bone8 = myLSO.data.save2.bone8;
dru = myLSO.data.save2.dru;
lao = myLSO.data.save2.lao;
pen1 = myLSO.data.save2.pen1;
pen2 = myLSO.data.save2.pen2;
fei1 = myLSO.data.save2.fei1;
fei2 = myLSO.data.save2.fei2;
fei3 = myLSO.data.save2.fei3;
fei4 = myLSO.data.save2.fei4;
fei5 = myLSO.data.save2.fei5;
lei = myLSO.data.save2.lei;
bar = myLSO.data.save2.bar;
fit = myLSO.data.save2.fit;
score = myLSO.data.save2.score;
music = myLSO.data.save2.music;
qing = myLSO.data.save2.qing;
ju1 = myLSO.data.save2.ju1;
ju2 = myLSO.data.save2.ju2;
ju3 = myLSO.data.save2.ju3;
nam = myLSO.data.save2.nam;
j = 1;
while (j <= 50) {
item2[j] = myLSO.data.save2.item2[j];
++j;
}
stopAllSounds();
if (music == 1) {
gotoAndPlay(73);
} else {
if (music == 2) {
gotoAndPlay(74);
} else {
if (music == 3) {
gotoAndPlay(75);
} else {
gotoAndPlay(76);
}
}
}
}
}
}
frame 15 {
stop();
}
button 68 {
on (release) {
stopAllSounds();
gotoAndPlay(16);
}
}
frame 16 {
stop();
}
button 70 {
on (release) {
stopAllSounds();
gotoAndPlay(17);
}
}
frame 17 {
stop();
}
button 73 {
on (release) {
stopAllSounds();
gotoAndPlay(10);
}
}
frame 19 {
myLSO = SharedObject.getLocal('cg');
if (myLSO.data.save2 == undefined) {
cga1 = 0;
cga2 = 0;
myLSO = SharedObject.getLocal('cg');
save2 = {};
save2.cga1 = cga1;
save2.cga2 = cga2;
myLSO.data.save2 = save2;
} else {
cga1 = myLSO.data.save2.cga1;
cga2 = myLSO.data.save2.cga2;
}
}
frame 20 {
a1 = 0;
a2 = 0;
snake = 0;
garb = 2;
pow = 0;
sor = 0;
sor2 = 0;
}
frame 20 {
bone1 = 0;
bone2 = 0;
bone3 = 0;
bone4 = 0;
bone5 = 0;
bone6 = 0;
bone7 = 0;
bone8 = 0;
dru = 0;
lao = 0;
fei1 = 0;
fei2 = 0;
fei3 = 0;
fei4 = 0;
fei5 = 0;
pen1 = 0;
pen2 = 0;
lei = 0;
bar = 0;
fit = 0;
music = 1;
score = 60;
ju1 = 0;
ju2 = 0;
ju3 = 0;
qing = 0;
}
frame 20 {
stop();
}
button 83 {
on (release) {
nam = name1.text + name2.text + name3.text + name4.text + name5.text;
play();
}
}
frame 21 {
text = 'Your name is ' + nam + ', right?';
stop();
}
button 86 {
on (release) {
play();
}
}
button 88 {
on (release) {
gotoAndPlay(20);
}
}
frame 22 {
stop();
}
movieClip 94 {
frame 25 {
stop();
}
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 27 {
text = nam + ':In fact...';
}
frame 28 {
stop();
}
frame 28 {
text = nam + ':I\'m an alchemistï¼I don\'t have a boyfriend, but I can make oneï¼Ahahahaï¼';
}
frame 29 {
stop();
}
frame 29 {
text = nam + ':I\'ve just sold everything worthful in my house and bought a formula to make a simple boyfriend! ';
}
frame 30 {
stop();
}
frame 30 {
text = nam + ':However, it\'s hard to collect the ingredients I need since I\'m nearly bankrupt now...';
}
frame 31 {
stop();
}
frame 31 {
text = nam + ':Fortunately, I have a witch friend who can surely help me find what I need!';
}
frame 32 {
stop();
}
button 116 {
on (release) {
play();
}
}
frame 33 {
stop();
}
button 144 {
on (release) {
gotoAndPlay(34);
}
}
button 145 {
on (release) {
gotoAndPlay(32);
}
}
frame 34 {
stop();
}
frame 34 {
got.text = a1 + '/7';
}
button 149 {
on (release) {
gotoAndPlay(36);
}
}
frame 35 {
stop();
}
button 151 {
on (release) {
play();
}
}
button 154 {
on (release) {
gotoAndPlay(38);
}
}
frame 36 {
stop();
}
frame 37 {
item2[48] += 1;
}
frame 37 {
stop();
}
button 157 {
on (release) {
gotoAndPlay(35);
}
}
frame 38 {
placemax = 15;
}
frame 40 {
stop();
}
frame 40 {
place = 3;
}
button 160 {
on (release) {
gotoAndPlay(56);
}
}
button 163 {
on (release) {
place += 1;
re = 1;
if (place > placemax) {
place = 3;
}
gotoAndStop(place);
}
}
button 164 {
on (release) {
place -= 1;
re = 2;
if (place < 3) {
place = placemax;
}
gotoAndStop(place);
}
}
frame 41 {
stop();
}
button 168 {
on (release) {
gotoAndPlay(98);
lj = nam + ':I can\'t afford anything now!';
}
}
frame 42 {
stop();
}
button 172 {
on (release) {
if (dru == 0 or dru == 3) {
gotoAndPlay(159);
}
if (dru == 1) {
gotoAndPlay(161);
}
if (dru == 2) {
gotoAndPlay(166);
}
}
}
frame 43 {
stop();
}
button 176 {
on (release) {
if (pow == 0) {
gotoAndPlay(101);
pow = 1;
} else {
lj = 'Is there anything I could use?';
gotoAndPlay(106);
}
}
}
frame 44 {
stop();
}
button 180 {
on (release) {
gotoAndPlay(97);
lj = nam + ':It\'s so smelly here!';
}
}
frame 45 {
stop();
}
button 184 {
on (release) {
if (snake == 0) {
gotoAndPlay(94);
} else {
lj = '这好åƒæ²¡ä»€ä¹ˆä¸œè¥¿ã€‚';
gotoAndPlay(96);
}
}
}
frame 46 {
stop();
}
button 188 {
on (release) {
gotoAndPlay(213);
}
}
frame 47 {
stop();
}
button 192 {
on (release) {
if (fit == 0) {
gotoAndPlay(170);
} else {
gotoAndPlay(176);
}
}
}
frame 48 {
if (qing == 0) {
if (re == 1) {
gotoAndPlay(49);
place = 12;
} else {
gotoAndPlay(47);
place = 10;
}
} else {
stop();
}
}
button 196 {
on (release) {
if (qing == 1) {
gotoAndPlay(138);
}
if (qing == 2 or qing == 3) {
gotoAndPlay(144);
}
if (qing == 4) {
gotoAndPlay(145);
}
if (qing == 5) {
gotoAndPlay(157);
}
if (qing == 6) {
gotoAndPlay(158);
}
}
}
frame 49 {
stop();
}
button 200 {
on (release) {
if (sor == 0) {
gotoAndPlay(108);
sor = 1;
} else {
if (bar == 1) {
gotoAndPlay(132);
} else {
gotoAndPlay(123);
}
}
}
}
frame 50 {
if (lei == 0) {
if (re == 1) {
gotoAndPlay(51);
place = 14;
} else {
gotoAndPlay(49);
place = 12;
}
} else {
stop();
}
}
button 204 {
on (release) {
if (lei == 1) {
gotoAndPlay(202);
}
if (lei >= 2) {
gotoAndPlay(211);
}
}
}
frame 51 {
stop();
}
button 208 {
on (release) {
if (lei == 0) {
gotoAndPlay(180);
}
if (lei == 1) {
gotoAndPlay(194);
}
if (lei == 3) {
gotoAndPlay(195);
}
if (lei == 4) {
gotoAndPlay(198);
}
if (lei == 5) {
gotoAndPlay(201);
}
}
}
frame 52 {
stop();
}
button 212 {
on (release) {
gotoAndPlay(223);
}
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
a1 = 0;
if (item2[8] > 0) {
a1 += 1;
}
if (item2[10] > 0) {
a1 += 1;
}
if (item2[13] > 0) {
a1 += 1;
}
if (item2[33] > 0) {
a1 += 1;
}
if (item2[43] > 0) {
a1 += 1;
}
if (item2[17] > 0) {
a1 += 1;
}
if (item2[3] > 0) {
a1 += 1;
}
if (music == 1 and a1 >= 3 and a1 <= 4) {
stopAllSounds();
gotoAndPlay(66);
} else {
if (music < 3 and a1 >= 5 and a1 <= 6) {
stopAllSounds();
gotoAndPlay(69);
} else {
if (music < 4 and a1 == 7) {
stopAllSounds();
gotoAndPlay(77);
} else {
stop();
}
}
}
}
button 213 {
on (release) {
gotoAndPlay(59);
}
}
button 214 {
on (release) {
gotoAndPlay(71);
}
}
button 215 {
on (release) {
gotoAndPlay(72);
}
}
button 216 {
on (release) {
lj = 'Put things into the pot by clicking them!';
lj2 = new Array();
lj4 = new Array();
lj3 = 1;
ll2 = 1;
gotoAndPlay(60);
}
}
button 217 {
on (release) {
gotoAndStop(65);
}
}
button 218 {
on (release) {
gotoAndStop(40);
}
}
frame 57 {
stop();
}
button 219 {
on (release) {
gotoAndPlay(58);
}
}
button 220 {
on (release) {
gotoAndPlay(56);
}
}
frame 58 {
stop();
}
frame 58 {
a1 = 0;
if (item2[8] > 0) {
a1 += 1;
}
if (item2[10] > 0) {
a1 += 1;
}
if (item2[13] > 0) {
a1 += 1;
}
if (item2[33] > 0) {
a1 += 1;
}
if (item2[43] > 0) {
a1 += 1;
}
if (item2[17] > 0) {
a1 += 1;
}
if (item2[3] > 0) {
a1 += 1;
}
got.text = a1 + '/7';
}
button 222 {
on (release) {
gotoAndPlay(57);
}
}
frame 59 {
stop();
i = 1;
k = 1;
j = 1;
while (j <= 100) {
item4[j] = 0;
++j;
}
while (i <= 50) {
if (item2[i] > 0) {
item3[k] = item[i];
item4[k] = i;
k += 1;
item3[k] = item2[i];
k += 1;
i += 1;
} else {
i += 1;
}
}
while (k <= 100) {
item3[k] = 0;
k += 1;
}
k = 1;
while (k <= 100) {
if (item3[k + 1] == 0) {
_root['i' + (k + 1) / 2].text = '';
k += 2;
} else {
_root['i' + (k + 1) / 2].text = item4[k] + ' ' + item3[k] + ' *' + item3[k + 1];
k += 2;
}
}
}
frame 60 {
stop();
ll.gotoAndStop(ll2);
i = 1;
k = 1;
j = 1;
while (j <= 100) {
item4[j] = 0;
++j;
}
while (i <= 50) {
if (item2[i] > 0) {
item3[k] = item[i];
item4[(k + 1) / 2] = i;
k += 1;
item3[k] = item2[i];
k += 1;
i += 1;
} else {
i += 1;
}
}
while (k <= 100) {
item3[k] = 0;
k += 1;
}
k = 1;
while (k <= 100) {
if (item3[k + 1] == 0) {
_root['i' + (k + 1) / 2].text = '';
k += 2;
} else {
_root['i' + (k + 1) / 2].text = item4[(k + 1) / 2] + ' ' + item3[k] + ' *' + item3[k + 1];
k += 2;
}
}
}
movieClip 337 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
}
button 338 {
on (release) {
n = item4[1];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 339 {
on (release) {
n = item4[2];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 340 {
on (release) {
n = item4[3];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 341 {
on (release) {
n = item4[4];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 342 {
on (release) {
n = item4[5];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 343 {
on (release) {
n = item4[6];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 344 {
on (release) {
n = item4[7];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 345 {
on (release) {
n = item4[8];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 346 {
on (release) {
n = item4[9];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 347 {
on (release) {
n = item4[10];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 348 {
on (release) {
n = item4[11];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 349 {
on (release) {
n = item4[12];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 350 {
on (release) {
n = item4[13];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 351 {
on (release) {
n = item4[14];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 352 {
on (release) {
n = item4[15];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 353 {
on (release) {
n = item4[16];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 354 {
on (release) {
n = item4[17];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 355 {
on (release) {
n = item4[18];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 356 {
on (release) {
n = item4[19];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 357 {
on (release) {
n = item4[20];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 358 {
on (release) {
n = item4[21];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 359 {
on (release) {
n = item4[22];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 360 {
on (release) {
n = item4[23];
if (n > 0) {
gotoAndPlay(61);
}
}
}
button 361 {
on (release) {
n = item4[24];
if (n > 0) {
gotoAndPlay(61);
}
}
}
frame 61 {
item2[n] -= 1;
ll2 = Math.ceil(n / 4);
if (lj2[lj3 - 1] == n) {
lj4[lj3 - 1] += 1;
lj = 'You\'ve put in' + lj4[lj3 - 1] + ' ' + item[n] + ' in a rowï¼';
} else {
lj2[lj3] = n;
lj4[lj3] = 1;
lj3 += 1;
lj = 'You\'ve put in ' + item[n] + 'ï¼';
}
if (lj2[1] == 4 and lj2[2] == 2 and lj2[3] == 47 and lj4[1] == 1 and lj4[2] == 1 and lj4[3] == 1) {
item2[3] += 1;
gotoAndPlay(68);
}
if (lj2[1] == 8 and lj2[2] == 43 and lj2[3] == 17 and lj2[4] == 33 and lj2[5] == 10 and lj2[6] == 3 and lj2[7] == 13) {
stopAllSounds();
gotoAndPlay(79);
}
if (lj2[1] == 2 and lj2[2] == 1 and lj2[3] == 2) {
stopAllSounds();
gotoAndPlay(63);
}
if (n == 15) {
stopAllSounds();
gotoAndPlay(63);
}
}
frame 62 {
gotoAndPlay(60);
}
button 364 {
on (release) {
stopAllSounds();
gotoAndPlay(6);
}
}
frame 64 {
stop();
}
frame 65 {
stop();
}
button 368 {
on (release) {
gotoAndPlay(56);
}
}
frame 67 {
stop();
music = 2;
}
button 371 {
on (release) {
gotoAndPlay(57);
}
}
frame 68 {
stop();
}
frame 70 {
stop();
music = 3;
}
frame 71 {
stop();
}
frame 71 {
myLSO2 = SharedObject.getLocal('foo');
if (myLSO2.data.save2 == undefined) {
ss1 = 'æ— ';
} else {
nam1 = myLSO2.data.save2.nam;
a11 = myLSO2.data.save2.a1;
zzs1 = myLSO2.data.save2.zs;
ss1 = nam1 + ' Alfa:' + a11 + '/7 ' + zzs1;
}
myLSO2 = SharedObject.getLocal('foo2');
if (myLSO2.data.save2 == undefined) {
ss2 = 'æ— ';
} else {
nam2 = myLSO2.data.save2.nam;
a12 = myLSO2.data.save2.a1;
zzs2 = myLSO2.data.save2.zs;
ss2 = nam2 + ' Alfa:' + a12 + '/7 ' + zzs2;
}
myLSO2 = SharedObject.getLocal('foo3');
if (myLSO2.data.save2 == undefined) {
ss3 = 'æ— ';
} else {
nam3 = myLSO2.data.save2.nam;
a13 = myLSO2.data.save2.a1;
zzs3 = myLSO2.data.save2.zs;
ss3 = nam3 + ' Alfa:' + a13 + '/7 ' + zzs3;
}
myLSO2 = SharedObject.getLocal('foo4');
if (myLSO2.data.save2 == undefined) {
ss4 = 'æ— ';
} else {
nam4 = myLSO2.data.save2.nam;
a14 = myLSO2.data.save2.a1;
zzs4 = myLSO2.data.save2.zs;
ss4 = nam4 + ' Alfa:' + a14 + '/7 ' + zzs4;
}
}
button 381 {
on (release) {
myLSO = SharedObject.getLocal('foo3');
save2 = {};
save2.a1 = a1;
save2.a2 = a2;
save2.snake = snake;
save2.garb = garb;
save2.pow2 = pow;
save2.bone1 = bone1;
save2.bone2 = bone2;
save2.bone3 = bone3;
save2.bone4 = bone4;
save2.bone5 = bone5;
save2.bone6 = bone6;
save2.bone7 = bone7;
save2.bone8 = bone8;
save2.dru = dru;
save2.lao = lao;
save2.fei1 = fei1;
save2.fei2 = fei2;
save2.fei3 = fei3;
save2.fei4 = fei4;
save2.fei5 = fei5;
save2.pen1 = pen1;
save2.pen2 = pen2;
save2.lei = lei;
save2.bar = bar;
save2.fit = fit;
save2.score = score;
save2.music = music;
save2.qing = qing;
save2.ju1 = ju1;
save2.ju2 = ju2;
save2.ju3 = ju3;
save2.sor = sor;
save2.sor2 = sor2;
save2.nam = nam;
save2.zs = zs1.text;
save2.item2 = new Array();
j = 1;
while (j <= 50) {
save2.item2[j] = item2[j];
++j;
}
myLSO.data.save2 = save2;
gotoAndPlay(56);
}
}
button 383 {
on (release) {
myLSO = SharedObject.getLocal('foo4');
save2 = {};
save2.a1 = a1;
save2.a2 = a2;
save2.snake = snake;
save2.garb = garb;
save2.pow2 = pow;
save2.bone1 = bone1;
save2.bone2 = bone2;
save2.bone3 = bone3;
save2.bone4 = bone4;
save2.bone5 = bone5;
save2.bone6 = bone6;
save2.bone7 = bone7;
save2.bone8 = bone8;
save2.dru = dru;
save2.lao = lao;
save2.fei1 = fei1;
save2.fei2 = fei2;
save2.fei3 = fei3;
save2.fei4 = fei4;
save2.fei5 = fei5;
save2.pen1 = pen1;
save2.pen2 = pen2;
save2.lei = lei;
save2.bar = bar;
save2.fit = fit;
save2.score = score;
save2.music = music;
save2.qing = qing;
save2.ju1 = ju1;
save2.ju2 = ju2;
save2.ju3 = ju3;
save2.sor = sor;
save2.sor2 = sor2;
save2.nam = nam;
save2.zs = zs1.text;
save2.item2 = new Array();
j = 1;
while (j <= 50) {
save2.item2[j] = item2[j];
++j;
}
myLSO.data.save2 = save2;
gotoAndPlay(56);
}
}
button 384 {
on (release) {
myLSO = SharedObject.getLocal('foo');
save2 = {};
save2.a1 = a1;
save2.a2 = a2;
save2.snake = snake;
save2.garb = garb;
save2.pow2 = pow;
save2.bone1 = bone1;
save2.bone2 = bone2;
save2.bone3 = bone3;
save2.bone4 = bone4;
save2.bone5 = bone5;
save2.bone6 = bone6;
save2.bone7 = bone7;
save2.bone8 = bone8;
save2.dru = dru;
save2.lao = lao;
save2.fei1 = fei1;
save2.fei2 = fei2;
save2.fei3 = fei3;
save2.fei4 = fei4;
save2.fei5 = fei5;
save2.pen1 = pen1;
save2.pen2 = pen2;
save2.lei = lei;
save2.bar = bar;
save2.fit = fit;
save2.score = score;
save2.music = music;
save2.qing = qing;
save2.ju1 = ju1;
save2.ju2 = ju2;
save2.ju3 = ju3;
save2.sor = sor;
save2.sor2 = sor2;
save2.nam = nam;
save2.zs = zs1.text;
save2.item2 = new Array();
j = 1;
while (j <= 50) {
save2.item2[j] = item2[j];
++j;
}
myLSO.data.save2 = save2;
gotoAndPlay(56);
}
}
button 386 {
on (release) {
myLSO = SharedObject.getLocal('foo2');
save2 = {};
save2.a1 = a1;
save2.a2 = a2;
save2.snake = snake;
save2.garb = garb;
save2.pow2 = pow;
save2.bone1 = bone1;
save2.bone2 = bone2;
save2.bone3 = bone3;
save2.bone4 = bone4;
save2.bone5 = bone5;
save2.bone6 = bone6;
save2.bone7 = bone7;
save2.bone8 = bone8;
save2.dru = dru;
save2.lao = lao;
save2.fei1 = fei1;
save2.fei2 = fei2;
save2.fei3 = fei3;
save2.fei4 = fei4;
save2.fei5 = fei5;
save2.pen1 = pen1;
save2.pen2 = pen2;
save2.lei = lei;
save2.bar = bar;
save2.fit = fit;
save2.score = score;
save2.music = music;
save2.qing = qing;
save2.ju1 = ju1;
save2.ju2 = ju2;
save2.ju3 = ju3;
save2.sor = sor;
save2.sor2 = sor2;
save2.nam = nam;
save2.zs = zs1.text;
save2.item2 = new Array();
j = 1;
while (j <= 50) {
save2.item2[j] = item2[j];
++j;
}
myLSO.data.save2 = save2;
gotoAndPlay(56);
}
}
frame 72 {
stop();
}
button 387 {
on (release) {
gotoAndPlay(14);
}
}
frame 73 {
gotoAndPlay(56);
}
frame 74 {
gotoAndPlay(56);
}
frame 75 {
gotoAndPlay(56);
}
frame 76 {
gotoAndPlay(56);
}
frame 78 {
stop();
music = 4;
}
frame 79 {
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 81 {
w1 = 'I1:' + lj4[1] + '/8';
w2 = 'I2:' + lj4[2] + '/4';
w3 = 'I3:' + lj4[3] + '/1';
w4 = 'I4:' + lj4[4] + '/2';
w5 = 'I5:' + lj4[5] + '/1';
w6 = 'I6:' + lj4[6] + '/8';
w7 = 'I7:' + lj4[7] + '/1';
fscore = lj4[1] / 8 + lj4[2] / 4 + lj4[3] / 1 + lj4[4] / 2 + lj4[5] / 1 + lj4[6] / 8 + lj4[7] / 1;
if (fscore < 5) {
pingjia = 'C';
} else {
if (fscore < 6) {
pingjia = 'B';
} else {
if (fscore < 7) {
pingjia = 'A';
} else {
pingjia = 'A+';
}
}
}
w8 = 'Your Score:' + fscore + '/7 ' + pingjia;
}
button 391 {
on (release) {
if (pingjia == 'C') {
play();
}
if (pingjia == 'B') {
gotoAndPlay(86);
}
if (pingjia == 'A' or pingjia == 'A+') {
gotoAndPlay(90);
}
}
}
frame 82 {
stop();
}
frame 82 {
text = nam + ':The time has comeï¼My boyfriend...';
}
frame 83 {
stop();
}
frame 83 {
text = nam + ':What the HELL???ï¼ï¼ï¼';
}
frame 84 {
stop();
}
frame 84 {
text = nam + ':Shit! I didn\'t put in enough ingredients!';
}
frame 85 {
stop();
}
frame 85 {
text = nam + ':Anyway, I can use your genital...';
}
button 411 {
on (release) {
gotoAndPlay(224);
}
}
frame 86 {
stop();
}
frame 86 {
text = nam + ':The time has comeï¼My boyfriend..';
}
frame 87 {
stop();
}
frame 87 {
text = nam + ':A little strange...';
}
frame 88 {
stop();
}
frame 88 {
text = nam + ':Maybe I didn\'t put in enough ingredients. No...';
}
frame 89 {
stop();
}
frame 89 {
text = nam + ':Anyway, I can use your genital...';
}
frame 90 {
stop();
}
frame 90 {
text = nam + ':The time has comeï¼My boyfriend..';
}
frame 91 {
stop();
}
frame 91 {
text = nam + ':Looks like it\'s done!';
}
frame 92 {
stop();
}
frame 92 {
text = 'Alfa:I want to make love to you...';
}
frame 93 {
stop();
}
frame 93 {
text = nam + ':OKï¼Come on!';
}
frame 94 {
stop();
lj = 'I think I heard something...';
}
button 425 {
on (release) {
gotoAndStop(place);
}
}
button 428 {
on (release) {
if (garb == 1) {
lj = 'Trash!';
garb = 0;
item2[48] += 1;
} else {
if (garb == 2) {
lj = 'Trash!';
garb = 1;
item2[48] += 1;
} else {
lj = 'Nothing left.';
}
}
}
}
button 429 {
on (release) {
if (pen1 == 0) {
pen1 = 1;
item2[2] += 1;
lj = 'You\'ve found a pencil!';
} else {
lj = 'There\'s nothing useful.';
}
}
}
frame 95 {
stop();
lj = 'Wow! A pet snake!';
snake = 1;
item2[6] = 1;
}
frame 96 {
stop();
}
frame 97 {
stop();
}
button 432 {
on (release) {
if (bone1 == 0) {
bone1 = 1;
item2[8] += 1;
lj = 'You\'ve digged out a rotten bone!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 433 {
on (release) {
if (bone2 == 0) {
bone2 = 1;
item2[8] += 1;
lj = 'You\'ve digged out a rotten bone!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 434 {
on (release) {
if (bone3 == 0) {
bone3 = 1;
item2[8] += 1;
lj = 'You\'ve digged out a rotten bone!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 435 {
on (release) {
if (bone4 == 0) {
bone4 = 1;
item2[8] += 1;
lj = 'You\'ve digged out a rotten bone!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 436 {
on (release) {
if (bone5 == 0) {
bone5 = 1;
item2[8] += 1;
lj = 'You\'ve digged out a rotten bone!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 437 {
on (release) {
if (bone6 == 0) {
bone6 = 1;
item2[8] += 1;
lj = 'You\'ve digged out a rotten bone!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 438 {
on (release) {
if (bone7 == 0) {
bone7 = 1;
item2[8] += 1;
lj = 'You\'ve digged out a rotten bone!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 439 {
on (release) {
if (bone8 == 0) {
bone8 = 1;
item2[8] += 1;
lj = 'You\'ve digged out a rotten bone!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 440 {
on (release) {
if (ju2 == 0) {
ju2 = 1;
item2[15] += 1;
lj = 'You\'ve digged out a Fiery!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 441 {
on (release) {
if (fei1 == 0) {
fei1 = 1;
item2[4] += 2;
lj = 'You\'ve digged out two used batteries!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 442 {
on (release) {
if (fei2 == 0) {
fei2 = 1;
item2[4] += 2;
lj = 'You\'ve digged out two used batteries!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 443 {
on (release) {
if (fei3 == 0) {
fei3 = 1;
item2[4] += 2;
lj = 'You\'ve digged out two used batteries!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 444 {
on (release) {
if (fei4 == 0) {
fei4 = 1;
item2[4] += 1;
lj = 'You\'ve digged out a used battery!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
button 445 {
on (release) {
if (fei5 == 0) {
fei5 = 1;
item2[4] += 1;
lj = 'You\'ve digged out a used battery!';
} else {
lj = 'Can\'t dig out anything useful here.';
}
}
}
frame 98 {
stop();
}
button 447 {
on (release) {
stopAllSounds();
play();
}
}
button 448 {
on (release) {
if (ju1 == 0) {
ju1 = 1;
item2[15] += 1;
lj = 'You\'ve found a Fiery!';
} else {
lj = 'Nothing useful.';
}
}
}
button 449 {
on (release) {
if (pen2 == 0) {
pen2 = 1;
item2[2] += 1;
lj = 'You\'ve found a pencil!';
} else {
lj = 'There\'s nothing useful.';
}
}
}
frame 99 {
}
frame 100 {
stop();
}
frame 102 {
stop();
}
frame 102 {
text = nam + ':Why do I come here?';
}
button 452 {
on (release) {
gotoAndStop(103);
}
}
button 454 {
on (release) {
gotoAndStop(104);
}
}
button 456 {
on (release) {
gotoAndStop(105);
}
}
frame 103 {
stop();
}
frame 103 {
text = nam + ':No, they won\'t give me...';
}
button 459 {
on (release) {
gotoAndPlay(place);
}
}
frame 104 {
stop();
}
frame 104 {
text = nam + ':No way!';
}
frame 105 {
stop();
}
frame 105 {
text = nam + ':Well, maybe a lot of batteries may work!';
}
frame 106 {
stop();
}
button 464 {
on (release) {
play();
}
}
frame 107 {
lj = 'You\'ve found something! ';
stop();
}
frame 108 {
stop();
}
frame 108 {
text = nam + ':Nice to meet you.';
}
button 470 {
on (release) {
play();
}
}
movieClip 472 {
}
frame 109 {
stop();
}
frame 109 {
text = 'Mei:' + nam + ',what brings you here?';
}
frame 110 {
stop();
}
frame 110 {
text = nam + ':I need your help! I\'m looking for...';
}
frame 111 {
stop();
}
frame 111 {
text = 'Mei:If you\'ve run out of ingredients, you should buy them yourself.';
}
frame 112 {
stop();
}
frame 112 {
text = nam + ':Please help me! I have little money now! It\'s so important!';
}
frame 113 {
stop();
}
frame 113 {
text = 'Mei:What are you going to do with them?';
}
frame 114 {
stop();
}
frame 114 {
text = nam + ':Hmm...';
}
button 478 {
on (release) {
gotoAndStop(115);
}
}
button 480 {
on (release) {
gotoAndStop(117);
}
}
button 482 {
on (release) {
gotoAndStop(116);
}
}
frame 115 {
stop();
}
frame 115 {
text = 'Mei:You lied. Well, I\'ll give you two chances. What are you looking for?';
sor2 = 2;
}
button 485 {
on (release) {
gotoAndPlay(118);
}
}
frame 116 {
stop();
}
frame 116 {
text = 'Mei:I\'ll give you one chance. Now ask.';
sor2 = 1;
}
frame 117 {
stop();
}
frame 117 {
text = 'Mei:Ridiculous. You are so poor. I\'ll give you three chances.';
sor2 = 3;
}
frame 118 {
stop();
lj = 'You have ' + sor2 + ' chance(s) leftï¼';
}
button 506 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(119);
}
}
}
button 507 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
if (dru == 0) {
dru = 1;
gotoAndStop(128);
}
}
}
}
button 508 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(121);
}
}
}
button 509 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(135);
}
}
}
button 510 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(120);
}
}
}
button 511 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(130);
}
}
}
button 512 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(136);
}
}
}
button 513 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(122);
}
}
}
button 514 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(131);
}
}
}
button 515 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(129);
}
}
}
button 516 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
if (qing == 0) {
qing = 1;
}
gotoAndStop(127);
}
}
}
button 517 {
on (release) {
if (sor2 > 0) {
sor2 -= 1;
gotoAndStop(137);
}
}
}
button 518 {
on (release) {
gotoAndPlay(123);
}
}
frame 119 {
stop();
}
frame 120 {
stop();
}
frame 121 {
stop();
}
frame 122 {
stop();
}
frame 123 {
stop();
}
frame 123 {
text = 'Mei:' + nam + ',what do you want?';
}
button 526 {
on (release) {
play();
}
}
frame 124 {
stop();
}
frame 124 {
text = nam + ':Well...';
}
button 528 {
on (release) {
gotoAndStop(118);
}
}
button 530 {
on (release) {
gotoAndStop(125);
}
}
frame 125 {
stop();
}
frame 125 {
text = 'Mei:Good question. I\'m collecting a kind of flowers named Fiery which immunes to my searching magic. Do you want to trade with me?';
}
frame 126 {
stop();
}
frame 126 {
text = nam + ':...';
}
button 535 {
on (release) {
sor2 += item2[15];
item2[15] = 0;
gotoAndPlay(118);
}
}
button 537 {
on (release) {
gotoAndStop(123);
}
}
frame 127 {
stop();
}
frame 128 {
stop();
}
frame 129 {
stop();
}
frame 130 {
stop();
}
frame 131 {
stop();
}
frame 132 {
stop();
}
frame 132 {
text = 'Mei:' + nam + ',what?';
}
frame 133 {
stop();
}
frame 133 {
text = nam + ':...';
}
frame 134 {
stop();
}
frame 134 {
text = 'Mei:Alright. You owe me.';
}
button 550 {
on (release) {
bar = 3;
item2[22] += 1;
gotoAndPlay(123);
}
}
frame 135 {
stop();
}
frame 136 {
stop();
}
frame 137 {
stop();
}
frame 138 {
stop();
}
frame 138 {
text = nam + ':Hello!';
}
frame 139 {
stop();
}
frame 139 {
text = 'Stranger:What?';
}
frame 140 {
stop();
}
frame 140 {
text = nam + ':I want to borrow some water of youth...';
}
frame 141 {
stop();
}
frame 141 {
text = 'Stranger:I\'ve never heard of that thing! Get out!';
}
frame 142 {
stop();
}
frame 142 {
text = nam + ':I know you have it! Please help me!';
}
frame 143 {
stop();
}
frame 143 {
text = 'Stranger:Get out! Or I\'ll call the police!';
}
button 562 {
on (release) {
qing = 2;
gotoAndPlay(place);
}
}
frame 144 {
stop();
}
frame 144 {
text = 'Stranger:Get out.';
}
button 565 {
on (release) {
qing += 1;
gotoAndPlay(place);
}
}
frame 145 {
stop();
}
frame 145 {
text = nam + ':Hi.';
}
frame 146 {
stop();
}
frame 146 {
text = 'Strange Girl:You come again! My brother is not here now.';
}
frame 147 {
stop();
}
frame 147 {
text = nam + ':Lend me some water of youth please! It\'s urgent!';
}
frame 148 {
stop();
}
frame 148 {
text = 'Strange Girl:I\'ll steal some for you if you help me with my homework, ok?';
}
frame 149 {
stop();
}
frame 149 {
text = nam + ':Great.';
}
frame 150 {
stop();
}
frame 150 {
text = 'Strange Girl:Tell me the answer! A fisherman has got 6 carps without heads, 9 carps without tails and 8 with only half the body. How many carps has he actually got?';
}
frame 151 {
stop();
}
frame 151 {
text = nam + ':I guess...';
}
button 578 {
on (release) {
if (ans.text == '0') {
score += 10;
}
play();
}
}
frame 152 {
stop();
}
frame 152 {
text = 'Strange Girl:公的å义è¯æ˜¯ä»€ä¹ˆï¼Ÿ(The answer is a, just type a.)';
}
frame 153 {
stop();
}
frame 153 {
text = nam + ':...';
}
button 583 {
on (release) {
if (ans.text == 'a') {
score += 10;
}
play();
}
}
frame 154 {
stop();
}
frame 154 {
text = 'Strange Girl:4 is 1; 83 is 2; 789 is 3; 3105 is 1; 9996 is 4; 87624 is 4. Then what is 123456?';
}
frame 155 {
stop();
}
frame 155 {
text = nam + ':...';
}
button 587 {
on (release) {
if (ans.text == '2') {
score += 10;
}
play();
}
}
frame 156 {
stop();
}
frame 156 {
text = 'Strange Girl:Thank you so much! Come next time and I\'ll give you water!';
}
button 589 {
on (release) {
qing = 5;
gotoAndPlay(place);
}
}
frame 157 {
stop();
}
frame 157 {
text = 'Strange Girl:My homework got ' + score + ' scores! Thanks! It\'s your water.';
qing = 6;
if (score == 60) {
item2[43] = 1;
}
if (score == 70) {
item2[43] = 2;
}
if (score == 80) {
item2[43] = 3;
}
if (score == 90) {
item2[43] = 4;
}
}
button 591 {
on (release) {
q = 5;
gotoAndPlay(place);
}
}
frame 158 {
stop();
}
frame 158 {
text = 'Stranger:Get out, asshole.';
}
button 593 {
on (release) {
gotoAndPlay(place);
}
}
frame 159 {
stop();
}
frame 159 {
text = 'Strange Salesclerk:What do you need?';
}
frame 160 {
stop();
}
frame 160 {
text = nam + ':Well...';
}
frame 161 {
stop();
}
frame 161 {
text = 'Strange Salesclerk:What can I do for you?';
}
frame 162 {
stop();
}
frame 162 {
text = nam + ':...';
}
button 602 {
on (release) {
dru = 2;
play();
}
}
frame 163 {
stop();
}
frame 163 {
text = 'Strange Salesclerk:How did you know that? It\'s not for sale.';
}
frame 164 {
stop();
}
frame 164 {
text = nam + ':Please! I REALLY NEED it!';
}
frame 165 {
stop();
}
frame 165 {
text = 'Strange Salesclerk:Alright. If you find my lost pet snake, I\'ll give you the eye.';
}
frame 166 {
stop();
}
frame 166 {
text = 'Strange Salesclerk:Have you found it?';
}
button 607 {
on (release) {
if (item2[6] == 0) {
play();
} else {
gotoAndPlay(168);
}
}
}
frame 167 {
stop();
}
frame 167 {
text = nam + ':...';
}
frame 168 {
stop();
}
frame 168 {
text = nam + ':...';
}
frame 169 {
stop();
dru = 3;
item2[6] = 0;
item2[17] = 1;
}
frame 169 {
text = 'Strange Salesclerk:Wonderful. I\'ll fetch you the eye.';
}
button 613 {
on (release) {
gotoAndPlay(place);
}
}
frame 170 {
stop();
}
frame 170 {
text = 'Stranger:...';
}
movieClip 616 {
frame 1 {
stop();
}
}
button 617 {
on (release) {
play();
}
}
frame 171 {
stop();
}
frame 171 {
text = nam + ':Hehe...';
}
button 619 {
on (release) {
fit = 1;
play();
}
}
frame 172 {
stop();
}
frame 172 {
text = 'Stranger:You are so lustful! But I don\'t like you.';
}
frame 173 {
stop();
}
frame 173 {
text = nam + ':As expected... But why?...';
}
frame 174 {
stop();
}
frame 174 {
text = 'Stranger:You are too ugly. I have to go now, bye!';
}
frame 175 {
stop();
}
frame 175 {
text = nam + ':No...';
}
frame 176 {
stop();
}
frame 176 {
text = nam + ':Why do I come here?';
}
button 627 {
on (release) {
if (fit == 1) {
fit = 2;
play();
} else {
if (fit == 3) {
play();
} else {
gotoAndPlay(178);
}
}
}
}
button 630 {
on (release) {
gotoAndPlay(place);
}
}
frame 177 {
stop();
lj = '?';
}
frame 178 {
stop();
lj = 'Oh my godï¼';
}
button 638 {
on (release) {
fit = 3;
play();
}
}
frame 179 {
stop();
lj = 'You\'ve found sperm!';
item2[13] = 1;
}
frame 180 {
stop();
}
frame 180 {
text = 'Strange Waiter:Welcome. Here\'s the menu.';
}
movieClip 641 {
}
frame 181 {
stop();
}
frame 181 {
text = nam + ':No... I can\'t afford this thunderbird meat...';
}
frame 182 {
stop();
}
frame 182 {
text = 'Strange Waiter:It\'s expensive because it\'s rare. You could order something cheap.';
}
frame 183 {
stop();
}
frame 183 {
text = nam + ':But I REALLY need it! I\'m not going to eat it. I have to use it!';
}
frame 184 {
stop();
}
frame 184 {
text = 'Strange Waiter:Sorry, we can\'t...';
}
frame 185 {
stop();
}
frame 185 {
text = nam + ':What about this? When you find some customers leaving without finishing their dish, you can pack the rest for me!';
}
frame 186 {
stop();
}
frame 186 {
text = 'Strange Waiter:Sorry, it will disobey the rules.';
}
frame 187 {
stop();
}
frame 187 {
text = nam + ':No... I see you are frowning so you must have a problem. I\'ll help you solve it, then you help me. OK?';
}
frame 188 {
stop();
}
frame 188 {
text = 'Strange Waiter:But I can\'t...';
}
frame 189 {
stop();
}
frame 189 {
text = nam + ':I beg you! I REALLY need that meat! I have to save my sick mother!';
}
frame 190 {
stop();
}
frame 190 {
text = 'Strange Waiter:Alright... If you could do one thing for me...';
}
frame 191 {
stop();
}
frame 191 {
text = nam + ':Speak it out!';
}
frame 192 {
stop();
}
frame 192 {
text = 'Strange Waiter:I had a crush on someone but I haven\'t told that person. Can you deliver my letter to that person?';
}
frame 193 {
stop();
}
frame 193 {
text = nam + ':No problem.';
}
button 655 {
on (release) {
lei = 1;
item2[25] = 1;
gotoAndPlay(place);
}
}
frame 194 {
stop();
}
frame 194 {
text = 'Strange Waiter:That person lives in a mansion. I\'ll show it to you on the map.';
}
frame 195 {
stop();
}
frame 195 {
text = 'Strange Waiter:Thank you! But I forgot to sign my name in that letter...';
}
frame 196 {
stop();
}
frame 196 {
text = nam + ':It\'ll be fine! Where is my thunderbird meat?';
}
frame 197 {
stop();
lei = 5;
item2[33] = 1;
}
frame 197 {
text = 'Strange Waiter:Here you are.';
}
frame 198 {
stop();
}
frame 198 {
text = 'Strange Waiter:Thank you so much. You even added my identification.';
}
frame 199 {
stop();
}
frame 199 {
text = nam + ':Oh! Sorry I looked at your letter...';
}
frame 200 {
stop();
lei = 5;
item2[33] = 2;
}
frame 200 {
text = 'Strange Waiter:It\'s alright. You\'ve done a lot to me. Here\'s your thunderbird meat.';
}
frame 201 {
stop();
}
frame 201 {
text = nam + ':I don\'t have enough money to eat here! And I can\'t steal things!';
}
frame 202 {
stop();
}
frame 202 {
text = 'Strange Butler:Please wait a moment. I\'ll call my master!';
}
frame 203 {
stop();
}
frame 203 {
text = nam + ':Since he\'s gone...';
}
frame 204 {
stop();
}
frame 204 {
text = nam + ':Hehe...';
}
button 669 {
on (release) {
lei = 4;
gotoAndStop(208);
}
}
button 672 {
on (release) {
lei = 3;
gotoAndStop(210);
}
}
frame 205 {
stop();
}
frame 205 {
text = 'Strange Butler:Ahh! WHAT ARE YOU DOING???!!!';
stopAllSounds();
}
frame 206 {
}
frame 207 {
stop();
}
frame 208 {
stop();
}
frame 208 {
text = nam + ':Holy crap! That guy didn\'t put his name in the letter! I have to do it for him!';
}
frame 209 {
stop();
}
frame 209 {
text = nam + ':But I have no idea what his name is... Well, I\'ll just write a waiter in the restaurant.';
}
frame 210 {
stop();
}
frame 210 {
text = 'Strange Butler:Sorry for letting you wait so long! My master is out, so just give the letter to me.';
}
button 679 {
on (release) {
item2[25] = 0;
gotoAndPlay(place);
}
}
frame 211 {
stop();
lj = 'Take care. Stealth may be caught.';
}
button 681 {
on (release) {
gotoAndPlay(205);
}
}
button 682 {
on (release) {
if (lao == 0) {
lao = 1;
play();
} else {
gotoAndPlay(205);
}
}
}
frame 212 {
stop();
item2[46] += 1;
lj = 'You\'ve stolen some ancient beer!';
}
frame 213 {
stop();
}
frame 213 {
text = 'Bartender:Want some drink?';
}
frame 214 {
stop();
}
frame 214 {
text = nam + ':Hehe...';
}
button 688 {
on (release) {
gotoAndPlay(218);
}
}
frame 215 {
stop();
}
frame 215 {
text = 'Bartender:Really? You\'ve chosen the wrong time...';
}
frame 216 {
stop();
ll.gotoAndStop(ll2);
i = 1;
k = 1;
j = 1;
while (j <= 100) {
item4[j] = 0;
++j;
}
while (i <= 50) {
if (item2[i] > 0) {
item3[k] = item[i];
item4[(k + 1) / 2] = i;
k += 1;
item3[k] = item2[i];
k += 1;
i += 1;
} else {
i += 1;
}
}
while (k <= 100) {
item3[k] = 0;
k += 1;
}
k = 1;
while (k <= 100) {
if (item3[k + 1] == 0) {
_root['i' + (k + 1) / 2].text = '';
k += 2;
} else {
_root['i' + (k + 1) / 2].text = item4[(k + 1) / 2] + ' ' + item3[k] + ' *' + item3[k + 1];
k += 2;
}
}
}
frame 216 {
gotoAndPlay(217);
}
frame 217 {
stop();
}
frame 218 {
stop();
}
frame 218 {
text = 'Bartender:Have you got plenty of money?';
}
frame 219 {
stop();
}
frame 219 {
text = nam + ':No...';
}
frame 220 {
stop();
}
frame 220 {
text = 'Bartender:I\'d like to offer a deal. If you give me some witch\'s oil and ancient beer, I\'ll give you the wine. OK?';
if (bar == 0) {
bar = 1;
}
}
frame 221 {
stop();
}
frame 221 {
text = nam + ':Hmm...';
}
button 696 {
on (release) {
if (item2[46] > 0 and item2[22] > 0) {
item2[22] -= 1;
item2[46] -= 1;
item2[10] += 1;
play();
}
}
}
button 699 {
on (release) {
gotoAndPlay(213);
}
}
frame 222 {
stop();
}
frame 222 {
text = 'Bartender:Thanks for your patronage.';
}
frame 223 {
stop();
lj = 'You hear the sound of water...';
}
button 701 {
on (release) {
if (item2[47] <= 19) {
item2[47] += 1;
lj = 'You\'ve got some water.';
} else {
lj = 'You can\'t carry more water with you!';
}
}
}
button 702 {
on (release) {
if (ju3 == 0) {
ju3 = 1;
item2[15] += 1;
lj = 'You\'ve found a Fiery!';
} else {
lj = 'Nothing useful.';
}
}
}
movieClip 704 {
}
frame 224 {
stop();
}
frame 225 {
stop();
}
frame 225 {
lj = 'In the CELLAR';
}
frame 226 {
stop();
}
frame 226 {
if (pingjia == 'A+' or pingjia == 'A') {
ma.gotoAndStop(2);
} else {
ma.gotoAndStop(1);
}
}
movieClip 711 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 227 {
stop();
}
frame 227 {
lj = nam + ':@#!#%#@%^$&%$&$$^*^&^%&$。。。';
}
frame 229 {
stop();
}
frame 230 {
stop();
}
frame 230 {
lj = nam + ':&*%^$%^#$^&^!@!$。。。';
}
frame 231 {
stop();
}
frame 231 {
lj = 'Alfa:&*()!#^@&#@*(!!#!(#*@$^@#%。。。';
}
frame 232 {
stop();
}
frame 232 {
}
frame 233 {
stop();
}
frame 233 {
if (pingjia == 'A+' or pingjia == 'A') {
ma.gotoAndStop(2);
} else {
ma.gotoAndStop(1);
}
}
frame 236 {
stop();
}
frame 237 {
stop();
}
frame 237 {
}
frame 238 {
stop();
}
frame 238 {
if (pingjia == 'A+' or pingjia == 'A') {
myLSO = SharedObject.getLocal('cg');
save2 = {};
cga1 = 1;
save2.cga1 = cga1;
save2.cga2 = cga2;
myLSO.data.save2 = save2;
ma.gotoAndStop(2);
} else {
ma.gotoAndStop(1);
}
}
frame 238 {
}
frame 241 {
stop();
}
frame 242 {
stop();
}
frame 243 {
stop();
}
frame 243 {
lj = nam + ':Alfaï¼What happend to you??ï¼ï¼ï¼';
}
frame 244 {
stop();
}
frame 244 {
lj = nam + ':Alfa,don\'t die!!!';
}
frame 245 {
stop();
}
frame 245 {
text = nam + ':How could it happen... He died...';
}
frame 246 {
stop();
}
frame 246 {
text = 'Mei:You didn\'t put in the right ingredients, did you?';
}
frame 247 {
stop();
}
frame 247 {
text = nam + ':Oh! I used batteries to replace the mini generator!';
}
frame 248 {
stop();
}
frame 248 {
text = 'Mei:No wonder he died. You shouldn\'t have done that.';
}
frame 249 {
stop();
}
frame 249 {
text = nam + ':What do I do now? Where can I get that?';
}
frame 250 {
stop();
}
frame 250 {
text = 'Mei:It\'s worthless to search for that, since your boyfriend can only be a toy. You\'d better spend your time in something worthwile.';
}
frame 251 {
stop();
}
frame 251 {
text = nam + ':Well, then...';
}
button 743 {
on (release) {
if (pingjia == 'A+') {
gotoAndPlay(255);
} else {
play();
}
}
}
frame 252 {
stop();
}
frame 252 {
stopAllSounds();
text = nam + ':I\'ll collect ingredients again and make a new boyfriend to play with!';
}
frame 253 {
stop();
}
frame 253 {
text = 'Mei:' + nam + ',you are helpless now.';
}
frame 254 {
stop();
}
frame 254 {
lj = 'From then on, ' + nam + ' became a thief, plundering things to make his low-quality boyfriends and sinking in a world of sex and sin... BAD END';
}
button 749 {
on (release) {
gotoAndPlay(9);
}
}
frame 255 {
stop();
}
frame 255 {
stopAllSounds();
text = nam + ':I\'ll have to work hard to earn enough money! I will make a better boyfriend!';
}
frame 256 {
stop();
}
frame 256 {
text = 'Mei:Whatever.';
}
frame 257 {
stop();
}
frame 257 {
lj = 'From then on, ' + nam + ' worked hard to make money, believing he will get what he needs to make a perfect boyfriend someday.';
}
frame 258 {
stop();
}
frame 258 {
myLSO = SharedObject.getLocal('cg');
save2 = {};
cga2 = 1;
save2.cga1 = cga1;
save2.cga2 = cga2;
myLSO.data.save2 = save2;
}
frame 258 {
}
frame 259 {
cgmax = 13;
}
frame 261 {
stop();
}
frame 261 {
cg = 3;
}
button 758 {
on (release) {
gotoAndPlay(9);
}
}
button 759 {
on (release) {
cg += 1;
re = 1;
if (cg > cgmax) {
cg = 3;
}
gotoAndStop(cg);
}
}
button 760 {
on (release) {
cg -= 1;
re = 2;
if (cg < 3) {
cg = cgmax;
}
gotoAndStop(cg);
}
}
frame 262 {
stop();
}
frame 262 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
movieClip 762 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 263 {
stop();
}
frame 263 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 264 {
stop();
}
frame 264 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 265 {
stop();
}
frame 265 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 266 {
stop();
}
frame 266 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 267 {
stop();
}
frame 267 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 268 {
stop();
}
frame 268 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 269 {
stop();
}
frame 269 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 270 {
stop();
}
frame 270 {
if (cga1 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 271 {
stop();
}
frame 271 {
if (cga2 == 1) {
dang.gotoAndStop(2);
} else {
dang.gotoAndStop(1);
}
}
frame 272 {
stop();
}
frame 273 {
stop();
}
frame 274 {
stop();
}
frame 275 {
if (lei == 0) {
if (re == 1) {
gotoAndPlay(272);
place = 14;
} else {
gotoAndPlay(270);
place = 12;
}
} else {
stop();
}
}
frame 276 {
stop();
}