Frame 61
stop();
Frame 85
_root.pos = sharedobject.getLocal("epicsave");
_root.epic = _root.pos.data.epic;
Frame 86
if (lang == 2) {
tellTarget ("title1") {
gotoAndStop (2);
};
tellTarget ("title2") {
gotoAndStop (2);
};
tellTarget ("title3") {
gotoAndStop (2);
};
tellTarget ("title4") {
gotoAndStop (2);
};
tellTarget ("title5") {
gotoAndStop (2);
};
tellTarget ("scoretitle") {
gotoAndStop (2);
};
tellTarget ("logo") {
gotoAndStop (2);
};
}
stop();
Frame 92
if (lang == 2) {
tellTarget ("title1") {
gotoAndStop (2);
};
tellTarget ("title2") {
gotoAndStop (2);
};
tellTarget ("title3") {
gotoAndStop (2);
};
tellTarget ("scoretitle") {
gotoAndStop (2);
};
tellTarget ("logo") {
gotoAndStop (2);
};
setProperty("yollabuton", _visible , "1");
}
stop();
Frame 97
play();
Frame 101
setProperty("arrow", _visible , 0);
if (lang == 2) {
tellTarget ("01-stats") {
gotoAndStop (2);
};
}
total = 4;
endur = 10;
power = 10;
cast = 10;
ablty = 10;
stop();
Frame 102
play();
Frame 372
if (lang == 2) {
tellTarget ("_root.balown1") {
lang = 2;
};
}
Frame 456
day = 1;
hr = 10;
mn = 30;
gold = 0;
epic = 0;
exp_crrnt = 0;
exp_limit = 100;
level = 1;
health_limit = endur * 10;
health_crrnt = health_limit;
note1 = 1;
dede = 1;
ourweapon = 0;
attack = 0;
wpnvalue = 0;
our1 = 0;
our2 = 0;
our3 = 0;
dungeonvisible = 0;
dungeoncomplete = 0;
dungeonno = 1;
ourfarm = 0;
firstnight = 1;
sulama = 0;
viktorya = 0;
points = 0;
Frame 457
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if (room1enter == 1) {
setProperty("hero", _x , "500");
setProperty("hero", _xscale , "-45");
} else if (room1enter == 2) {
setProperty("hero", _x , "270");
setProperty("hero", _xscale , "45");
}
setProperty("Wall1", _visible , "0");
setProperty("Wall2", _visible , "0");
setProperty("door", _visible , "0");
stop();
if (lang == 2) {
tellTarget ("exp.experience") {
gotoAndStop (2);
};
}
if (lang == 2) {
tellTarget ("hudd") {
gotoAndStop (2);
};
if (lang == 2) {
tellTarget ("_root.balowntext1") {
lang = 2;
};
}
if (lang == 2) {
tellTarget ("quit") {
gotoAndStop (2);
};
if (lang == 2) {
tellTarget ("food") {
gotoAndStop (2);
};
}
}
if (lang == 2) {
tellTarget ("_root.balowntext1") {
lang = 2;
};
}
}
Instance of Symbol 212 MovieClip "hero" in Frame 457
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door) & (this._xscale == 45)) {
_root.note1 = 0;
_root.room2enter = 1;
tellTarget ("_root.fade") {
going = "right";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Wall1)) {
_x = (_x + 10);
}
if (this.hitTest(_root.Wall2)) {
_x = (_x - 10);
}
}
Frame 467
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if (room2enter == 1) {
setProperty("hero", _x , "160");
setProperty("hero", _xscale , "45");
} else if (room2enter == 2) {
setProperty("hero", _x , "400");
setProperty("hero", _xscale , "-45");
}
if (dede == 0) {
setProperty("dedem", _visible , "0");
}
setProperty("Wall1", _visible , "0");
setProperty("Wall2", _visible , "0");
setProperty("door", _visible , "0");
setProperty("dedesohbet", _visible , "0");
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 467
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door) & (this._xscale == -45)) {
_root.room1enter = 1;
tellTarget ("_root.fade") {
going = "left";
play();
};
} else if (this.hitTest(_root.dedesohbet)) {
if (_root.dede == 1) {
_root.dede = 0;
_root.gotoAndPlay("dedechat");
}
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Wall1)) {
_x = (_x + 10);
}
if (this.hitTest(_root.Wall2)) {
_x = (_x - 10);
}
if (this.hitTest(_root.dedem)) {
if (_root.dede == 1) {
_x = (_x - 10);
}
}
}
Frame 477
if (lang == 2) {
tellTarget ("sohbet1") {
gotoAndStop ("tr");
};
}
stop();
Frame 478
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if (room3enter == 1) {
setProperty("hero", _x , "140");
setProperty("hero", _xscale , "45");
} else if (room3enter == 2) {
setProperty("hero", _x , "400");
setProperty("hero", _xscale , "-45");
}
setProperty("Wall1", _visible , "0");
setProperty("Wall2", _visible , "0");
setProperty("door", _visible , "0");
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 478
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door) & (this._xscale == -45)) {
tellTarget ("_root.fade") {
going = "left";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Wall1)) {
_x = (_x + 10);
}
if (this.hitTest(_root.Wall2)) {
_x = (_x - 10);
}
if (this.hitTest(_root.dedem)) {
if (_root.dede == 1) {
_x = (_x - 10);
}
}
}
Frame 488
setProperty("building1", _visible , "0");
setProperty("building2", _visible , "0");
setProperty("building3", _visible , "0");
setProperty("building4", _visible , "0");
setProperty("building5", _visible , "0");
setProperty("building6", _visible , "0");
setProperty("building7", _visible , "0");
setProperty("food", _visible , "1");
setProperty("foodbuton", _visible , "1");
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if (lang == 2) {
tellTarget ("building1.building1text") {
gotoAndStop (2);
};
}
if (lang == 2) {
tellTarget ("building2.building2text") {
gotoAndStop (2);
};
if (lang == 2) {
tellTarget ("building3.building3text") {
gotoAndStop (2);
};
}
if (lang == 2) {
tellTarget ("building4.building4text") {
gotoAndStop (2);
};
}
if (lang == 2) {
tellTarget ("building5.building5text") {
gotoAndStop (2);
};
}
if (lang == 2) {
tellTarget ("building6.building6text") {
gotoAndStop (2);
};
if (lang == 2) {
tellTarget ("building7.building7text") {
gotoAndStop (2);
};
}
}
}
stop();
Frame 498
play();
Frame 501
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 504
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 507
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 510
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 511
if (firstnight == 1) {
tellTarget ("_root.intromovie") {
nextFrame();
};
firstnight = 0;
stop();
} else {
play();
}
Frame 513
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 516
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 519
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 522
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 525
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 528
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 531
tellTarget ("clock") {
_root.hr = (Number(_root.hr) + 1) % 24;
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
};
Frame 532
epic = Number(epic) + 62;
Frame 533
_root.pos = sharedobject.getLocal("epicsave");
_root.pos.data.dede = _root.dede;
_root.pos.data.note1 = _root.note1;
_root.pos.data.health_limit = _root.health_limit;
_root.pos.data.endur = _root.endur;
_root.pos.data.power = _root.power;
_root.pos.data.ablty = _root.ablty;
_root.pos.data.cast = _root.cast;
_root.pos.data.exp_crrnt = _root.exp_crrnt;
_root.pos.data.exp_limit = _root.exp_limit;
_root.pos.data.level = _root.level;
_root.pos.data.hr = _root.hr;
_root.pos.data.mn = _root.mn;
_root.pos.data.gold = _root.gold;
_root.pos.data.epic = _root.epic;
_root.pos.data.name = _root.name;
_root.pos.data.ourweapon = _root.ourweapon;
_root.pos.data.attack = _root.attack;
_root.pos.data.wpnvalue = _root.wpnvalue;
_root.pos.data.dungeonvisible = _root.dungeonvisible;
_root.pos.data.dungeoncomplete = _root.dungeoncomplete;
_root.pos.data.dungeonno = _root.dungeonno;
_root.pos.data.dungeyonx = _root.dungeyonx;
_root.pos.data.dungeyony = _root.dungeyony;
_root.pos.data.firstnight = _root.firstnight;
_root.pos.data.ourfarm = _root.ourfarm;
_root.pos.data.our1 = _root.our1;
_root.pos.data.our2 = _root.our2;
_root.pos.data.our3 = _root.our3;
_root.pos.data.sulama = _root.sulama;
_root.pos.data.viktorya = _root.viktorya;
_root.pos.data.points = _root.points;
gotoAndPlay (535);
Frame 534
if (lang == 2) {
tellTarget ("exp.experience") {
gotoAndStop (2);
};
}
if (lang == 2) {
tellTarget ("hudd") {
gotoAndStop (2);
};
}
_root.pos = sharedobject.getLocal("epicsave");
_root.dede = _root.pos.data.dede;
_root.note1 = _root.pos.data.note1;
_root.health_limit = _root.pos.data.health_limit;
_root.endur = _root.pos.data.endur;
_root.power = _root.pos.data.power;
_root.ablty = _root.pos.data.ablty;
_root.cast = _root.pos.data.cast;
_root.exp_crrnt = _root.pos.data.exp_crrnt;
_root.exp_limit = _root.pos.data.exp_limit;
_root.level = _root.pos.data.level;
_root.hr = _root.pos.data.hr;
_root.mn = _root.pos.data.mn;
_root.gold = _root.pos.data.gold;
_root.name = _root.pos.data.name;
_root.ourweapon = _root.pos.data.ourweapon;
_root.attack = _root.pos.data.attack;
_root.wpnvalue = _root.pos.data.wpnvalue;
_root.dungeonvisible = _root.pos.data.dungeonvisible;
_root.dungeoncomplete = _root.pos.data.dungeoncomplete;
_root.dungeonno = _root.pos.data.dungeonno;
_root.dungeyonx = _root.pos.data.dungeyonx;
_root.dungeyony = _root.pos.data.dungeyony;
_root.firstnight = _root.pos.data.firstnight;
_root.ourfarm = _root.pos.data.ourfarm;
_root.our1 = _root.pos.data.our1;
_root.our2 = _root.pos.data.our2;
_root.our3 = _root.pos.data.our3;
_root.sulama = _root.pos.data.sulama;
_root.viktorya = _root.pos.data.viktorya;
_root.points = _root.pos.data.points;
play();
Frame 535
if (lang == 2) {
tellTarget ("quit") {
gotoAndStop (2);
};
if (lang == 2) {
tellTarget ("food") {
gotoAndStop (2);
};
}
}
health_crrnt = health_limit;
day = 1;
if (sulama == 1) {
domates = 1;
}
play();
Frame 595
room1enter = 2;
gotoAndStop (457);
Frame 596
if (lang == 2) {
tellTarget ("Blacksmith") {
gotoAndStop (2);
};
}
if (ourweapon == 0) {
tellTarget ("our_weapon") {
gotoAndStop (1);
};
} else if (ourweapon == 1) {
tellTarget ("our_weapon") {
gotoAndStop (2);
};
} else if (ourweapon == 2) {
tellTarget ("our_weapon") {
gotoAndStop (3);
};
} else if (ourweapon == 3) {
tellTarget ("our_weapon") {
gotoAndStop (4);
};
} else if (ourweapon == 4) {
tellTarget ("our_weapon") {
gotoAndStop (5);
};
} else if (ourweapon == 5) {
tellTarget ("our_weapon") {
gotoAndStop (6);
};
} else if (ourweapon == 6) {
tellTarget ("our_weapon") {
gotoAndStop (7);
};
} else if (ourweapon == 7) {
tellTarget ("our_weapon") {
gotoAndStop (8);
};
} else if (ourweapon == 8) {
tellTarget ("our_weapon") {
gotoAndStop (9);
};
}
stop();
Frame 606
if (lang == 2) {
tellTarget ("Blacksmith") {
gotoAndStop (2);
};
}
if (ourweapon == 0) {
tellTarget ("our_weapon") {
gotoAndStop (1);
};
} else if (ourweapon == 1) {
tellTarget ("our_weapon") {
gotoAndStop (2);
};
} else if (ourweapon == 2) {
tellTarget ("our_weapon") {
gotoAndStop (3);
};
} else if (ourweapon == 3) {
tellTarget ("our_weapon") {
gotoAndStop (4);
};
} else if (ourweapon == 4) {
tellTarget ("our_weapon") {
gotoAndStop (5);
};
} else if (ourweapon == 5) {
tellTarget ("our_weapon") {
gotoAndStop (6);
};
} else if (ourweapon == 6) {
tellTarget ("our_weapon") {
gotoAndStop (7);
};
} else if (ourweapon == 7) {
tellTarget ("our_weapon") {
gotoAndStop (8);
};
} else if (ourweapon == 8) {
tellTarget ("our_weapon") {
gotoAndStop (9);
};
}
stop();
Frame 616
if (lang == 2) {
tellTarget ("Market") {
gotoAndStop (2);
};
}
stop();
Frame 626
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if ((_root.dungeonno < 3) or (_root.viktorya == 1)) {
setProperty("sikrol", _visible , "0");
} else {
setProperty("sikrol", _visible , "1");
}
if (_root.viktorya == 0) {
setProperty("sikrol2", _visible , "0");
} else {
setProperty("sikrol2", _visible , "1");
}
stop();
Frame 636
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
stop();
Frame 646
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if (lang == 2) {
tellTarget ("farmtextuhu") {
gotoAndStop (2);
};
}
stop();
Frame 656
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if (lang == 2) {
tellTarget ("alkemitext") {
gotoAndStop (2);
};
}
stop();
Frame 666
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if (lang == 2) {
tellTarget ("tomatotext") {
gotoAndStop (2);
};
}
if (domates == 1) {
setProperty("tomatobuton", _visible , "0");
setProperty("tomatotext", _visible , "0");
setProperty("domates1", _visible , "1");
setProperty("domates2", _visible , "1");
setProperty("domates3", _visible , "1");
domates = 0;
sulama = 0;
} else {
setProperty("tomatobuton", _visible , "1");
setProperty("tomatotext", _visible , "1");
setProperty("domates1", _visible , "0");
setProperty("domates2", _visible , "0");
setProperty("domates3", _visible , "0");
}
stop();
Frame 676
if (day == 2) {
tellTarget ("room") {
gotoAndStop (50);
};
}
if (lang == 2) {
tellTarget ("lookaround") {
gotoAndStop (2);
};
}
setProperty("lookaround", _visible , "0");
setProperty("lookbuton", _visible , "0");
setProperty("beetle", _x , xofbeetle);
setProperty("beetle", _y , yofbeetle);
setProperty("area_casaba", _visible , "0");
setProperty("area_land", _visible , "0");
setProperty("area_seaside", _visible , "0");
if (dungeonvisible == 0) {
setProperty("dungeyon", _x , -50);
} else if (dungeonvisible == 1) {
setProperty("dungeyon", _x , dungeyonx);
setProperty("dungeyon", _y , dungeyony);
}
stop();
Instance of Symbol 714 MovieClip "puck" in Frame 676
onClipEvent (load) {
_x = _root.beetle._x;
_y = _root.beetle._y;
}
onClipEvent (mouseDown) {
if (((((_root._xmouse > 40) && (_root._xmouse < 600)) && (_root._ymouse < 370)) && (_root._ymouse > 90)) && (_root.beetle.clickmode)) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (_root.beetle.clickMode) {
_rotation = (_rotation + 20);
}
}
Instance of Symbol 716 MovieClip "beetle" in Frame 676
onClipEvent (load) {
clickSpot_x = _x;
clickSpot_y = _y;
speed = 5;
clickMode = true;
turnMode = false;
}
onClipEvent (mouseDown) {
if ((((clickmode && (_root._xmouse > 40)) && (_root._xmouse < 600)) && (_root._ymouse < 370)) && (_root._ymouse > 90)) {
clickSpot_x = _root._xmouse;
clickSpot_y = _root._ymouse;
}
}
onClipEvent (enterFrame) {
_root.curve._visible = turnMode;
_root.pointer._visible = !clickMode;
if (clickMode) {
gotoSpotX = clickSpot_x;
gotoSpotY = clickSpot_y;
} else {
gotoSpotX = _root._xmouse;
gotoSpotY = _root._ymouse;
}
delta_x = _x - gotoSpotX;
delta_y = _y - gotoSpotY;
targetRotation = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
if (turnMode) {
if (_rotation < targetRotation) {
_rotation = (_rotation + 10);
}
if (_rotation > targetRotation) {
_rotation = (_rotation - 10);
}
} else {
_rotation = targetRotation;
}
if (Math.sqrt((delta_x * delta_x) + (delta_y * delta_y)) > speed) {
_y = (_y - (speed * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (speed * Math.sin(_rotation * (Math.PI/180))));
}
if (_y < 90) {
stop();
}
if (_y > 370) {
stop();
}
if (_x < 40) {
stop();
}
if (_x > 600) {
stop();
}
}
Frame 686
setProperty("hero", _x , "130");
setProperty("hero", _xscale , "45");
setProperty("pouchindex", _visible , 0);
pouch1 = random(4);
if (pouch1 == 1) {
tellTarget ("balown6") {
gotoAndPlay (2);
};
setProperty("pouch", _visible , 1);
} else {
setProperty("pouch", _visible , 0);
}
tellTarget ("random") {
gotoAndStop(random(8) + 1);
};
willrain = random(5);
if (willrain == 1) {
tellTarget ("raining") {
gotoAndPlay (2);
};
}
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 686
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door)) {
tellTarget ("_root.fade") {
going = "left";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.door1) or this.hitTest(_root.door2)) {
tellTarget ("_root.fade") {
going = "leave";
play();
};
}
}
Frame 696
setProperty("hero", _x , "140");
setProperty("hero", _xscale , "45");
setProperty("door2", _visible , "0");
tellTarget ("random") {
gotoAndStop(random(3) + 1);
};
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 696
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door)) {
tellTarget ("_root.fade") {
going = "left";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.door1)) {
tellTarget ("_root.fade") {
going = "leave";
play();
};
} else if (this.hitTest(_root.door2)) {
_x = (_x - 10);
}
}
Frame 706
setProperty("hero", _x , "130");
setProperty("hero", _xscale , "45");
tellTarget ("random") {
gotoAndStop(random(8) + 1);
};
setProperty("chestindex", _visible , 0);
tellTarget ("chests") {
gotoAndStop(random(3) + 1);
};
tellTarget ("balown7") {
gotoAndPlay (2);
};
chesthardness = 4 + random(17);
chestopen = 0;
willrain = random(5);
if (willrain == 1) {
tellTarget ("raining") {
gotoAndPlay (2);
};
}
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 706
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door)) {
tellTarget ("_root.fade") {
going = "left";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.door1) or this.hitTest(_root.door2)) {
tellTarget ("_root.fade") {
going = "leave";
play();
};
}
}
Frame 716
setProperty("food", _visible , "0");
setProperty("foodbuton", _visible , "0");
if (lang == 2) {
tellTarget ("enemyhealthtext") {
gotoAndStop (2);
};
}
tellTarget ("random") {
gotoAndStop(random(8) + 1);
};
if (level < 10) {
enemyhealth = 95 + random(6);
enemypower = 5 + random(6);
} else {
enemyhealth = 140 + random(11);
enemypower = 8 + random(8);
}
willrain = random(5);
if (willrain == 1) {
tellTarget ("raining") {
gotoAndPlay (2);
};
}
tellTarget ("fightmenu") {
gotoAndStop (2);
};
stop();
Frame 726
willrain = random(5);
if (willrain == 1) {
tellTarget ("raining") {
gotoAndPlay (2);
};
}
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 726
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door)) {
tellTarget ("_root.fade") {
going = "left";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.door1) or this.hitTest(_root.door2)) {
tellTarget ("_root.fade") {
going = "leave";
play();
};
}
}
Frame 736
setProperty("hero", _x , "140");
setProperty("hero", _xscale , "45");
setProperty("door2", _visible , "0");
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 736
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door)) {
tellTarget ("_root.fade") {
going = "left";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.door1)) {
tellTarget ("_root.fade") {
going = "dungeon2";
play();
};
} else if (this.hitTest(_root.door2)) {
_x = (_x + 10);
}
}
Frame 746
setProperty("food", _visible , "0");
setProperty("foodbuton", _visible , "0");
if (lang == 2) {
tellTarget ("enemyhealthtext") {
gotoAndStop (2);
};
}
tellTarget ("random") {
gotoAndStop(random(3) + 3);
};
if (level < 10) {
enemyhealth = 120 + random(6);
enemypower = 10 + random(6);
} else {
enemyhealth = 240 + random(11);
enemypower = 15 + random(11);
}
tellTarget ("fightmenu") {
gotoAndStop (2);
};
stop();
Frame 756
setProperty("hero", _x , "170");
setProperty("hero", _xscale , "45");
setProperty("door2", _visible , "0");
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 756
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door)) {
tellTarget ("_root.fade") {
going = "left";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.door1)) {
tellTarget ("_root.fade") {
going = "dungeon3";
play();
};
} else if (this.hitTest(_root.door2)) {
_x = (_x + 10);
}
}
Frame 766
setProperty("hero", _x , "130");
setProperty("hero", _xscale , "45");
setProperty("pouchindex", _visible , 0);
pouch1 = 1;
if (pouch1 == 1) {
tellTarget ("balown6") {
gotoAndPlay (2);
};
setProperty("pouch", _visible , 1);
} else {
setProperty("pouch", _visible , 0);
}
tellTarget ("random") {
gotoAndStop(random(3) + 3);
};
stop();
Instance of Symbol 212 MovieClip "hero" in Frame 766
onClipEvent (load) {
movespeed = 9;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
play();
_xscale = 45;
_x = (_x + movespeed);
}
if (Key.isDown(37)) {
play();
_xscale = -45;
_x = (_x - movespeed);
}
if (Key.isDown(38)) {
if (this.hitTest(_root.door)) {
tellTarget ("_root.fade") {
going = "left";
play();
};
}
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.door1)) {
nolcek1 = random(3);
if (nolcek1 == 0) {
tellTarget ("_root.fade") {
going = "dungeon2";
play();
};
} else if (nolcek1 > 0) {
tellTarget ("_root.fade") {
going = "dungeon4";
play();
};
}
} else if (this.hitTest(_root.door2)) {
_x = (_x + 10);
}
}
Frame 776
setProperty("food", _visible , "0");
setProperty("foodbuton", _visible , "0");
if (lang == 2) {
tellTarget ("enemyhealthtext") {
gotoAndStop (2);
};
}
if (level < 10) {
enemyhealth = 145 + random(6);
enemypower = 15 + random(6);
} else {
enemyhealth = 240 + random(11);
enemypower = 20 + random(11);
}
tellTarget ("fightmenu") {
gotoAndStop (2);
};
stop();
Frame 870
stopAllSounds();
Frame 871
if (lang == 2) {
tellTarget ("_root.balown1") {
lang = 2;
};
}
if (viktorya == 1) {
setProperty("_root.balown1", _visible , "0");
}
Frame 922
setProperty("food", _visible , "0");
setProperty("foodbuton", _visible , "0");
if (lang == 2) {
tellTarget ("enemyhealthtext") {
gotoAndStop (2);
};
}
if (level < 25) {
enemyhealth = 950 + random(51);
enemypower = 30 + random(11);
} else {
enemyhealth = 1450 + random(51);
enemypower = 35 + random(11);
}
tellTarget ("fightmenu") {
gotoAndStop (2);
};
stop();
Frame 932
play();
Frame 976
if (_root.lang == 2) {
tellTarget ("victorytext") {
gotoAndStop (2);
};
}
added_exp = 3333;
added_gold = 999;
_root.exp_crrnt = Number(_root.exp_crrnt) + added_exp;
_root.gold = Number(_root.gold) + added_gold;
_root.epic = Number(_root.epic) + 3100;
_root.wpnvalue = (Number(_root.wpnvalue) + 90) + random(10);
stop();
Frame 1060
if (viktorya == 1) {
gotoAndPlay (488);
}
Frame 1061
if (lang == 2) {
tellTarget ("sohbet2") {
gotoAndStop ("tr");
};
}
stop();
Frame 1062
if (lang == 2) {
tellTarget ("over") {
gotoAndStop (2);
};
}
play();
stopAllSounds();
Frame 1122
gotoAndPlay (86);
Symbol 5 MovieClip [FLabelSymbol] Frame 1
#initclip 2
_global.FLabelClass = function () {
if (this.hostComponent == undefined) {
this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller));
}
if (this.customTextStyle == undefined) {
if (this.hostComponent.textStyle == undefined) {
this.hostComponent.textStyle = new TextFormat();
}
this.textStyle = this.hostComponent.textStyle;
this.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var val = this.hostComponent.styleTable.embedFonts.value;
if (val != undefined) {
this.labelField.embedFonts = val;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.text = label;
this.labelField._height = this.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
this.enable = enable;
var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value;
if (tmpColor == undefined) {
tmpColor = (enable ? 0 : 8947848);
}
this.setColor(tmpColor);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 14 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 20 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 26 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame4, "shadow");
component.registerSkinElement(frame2, "darkshadow");
component.registerSkinElement(frame3, "highlight");
component.registerSkinElement(frame1, "highlight3D");
Symbol 32 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 33 MovieClip [fpb_states] Frame 1
stop();
Symbol 33 MovieClip [fpb_states] Frame 2
stop();
Symbol 33 MovieClip [fpb_states] Frame 3
stop();
Symbol 33 MovieClip [fpb_states] Frame 4
stop();
Symbol 34 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var myColor = new Color(skinMCRef);
myColor.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 38 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 38 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 41 MovieClip [FPushButtonSymbol] Frame 1
#initclip 3
function FPushButtonClass() {
this.init();
}
FPushButtonClass.prototype = new FUIComponentClass();
Object.registerClass("FPushButtonSymbol", FPushButtonClass);
FPushButtonClass.prototype.init = function () {
super.setSize(this._width, this._height);
this.boundingBox_mc.unloadMovie();
this.attachMovie("fpb_states", "fpbState_mc", 1);
this.attachMovie("FLabelSymbol", "fLabel_mc", 2);
this.attachMovie("fpb_hitArea", "fpb_hitArea_mc", 3);
super.init();
this.btnState = false;
this.setClickHandler(this.clickHandler);
this._xscale = 100;
this._yscale = 100;
this.setSize(this.width, this.height);
if (this.label != undefined) {
this.setLabel(this.label);
}
this.ROLE_SYSTEM_PUSHBUTTON = 43;
this.STATE_SYSTEM_PRESSED = 8;
this.EVENT_OBJECT_STATECHANGE = 32778;
this.EVENT_OBJECT_NAMECHANGE = 32780;
this._accImpl.master = this;
this._accImpl.stub = false;
this._accImpl.get_accRole = this.get_accRole;
this._accImpl.get_accName = this.get_accName;
this._accImpl.get_accState = this.get_accState;
this._accImpl.get_accDefaultAction = this.get_accDefaultAction;
this._accImpl.accDoDefaultAction = this.accDoDefaultAction;
};
FPushButtonClass.prototype.setHitArea = function (w, h) {
var hit = this.fpb_hitArea_mc;
this.hitArea = hit;
hit._visible = false;
hit._width = w;
hit._height = ((arguments.length > 1) ? (h) : (hit._height));
};
FPushButtonClass.prototype.setSize = function (w, h) {
w = ((w < 6) ? 6 : (w));
if (arguments.length > 1) {
if (h < 6) {
h = 6;
}
}
super.setSize(w, h);
this.setLabel(this.getLabel());
this.arrangeLabel();
this.setHitArea(w, h);
this.boundingBox_mc._width = w;
this.boundingBox_mc._height = h;
this.drawFrame();
if (this.focused) {
super.myOnSetFocus();
}
this.initContentPos("fLabel_mc");
};
FPushButtonClass.prototype.arrangeLabel = function () {
var label = this.fLabel_mc;
var h = this.height;
var w = (this.width - 2);
var b = 1;
this.fLabel_mc.setSize(w - (b * 4));
label._x = b * 3;
label._y = (h / 2) - (label._height / 2);
};
FPushButtonClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FPushButtonClass.prototype.setLabel = function (label) {
this.fLabel_mc.setLabel(label);
this.txtFormat();
this.arrangeLabel();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE);
}
};
FPushButtonClass.prototype.getEnabled = function () {
return(this.enabled);
};
FPushButtonClass.prototype.setEnabled = function (enable) {
if (enable || (enable == undefined)) {
this.gotoFrame(1);
this.drawFrame();
this.flabel_mc.setEnabled(true);
this.enabled = true;
super.setEnabled(true);
} else {
this.gotoFrame(4);
this.drawFrame();
this.flabel_mc.setEnabled(false);
this.enabled = false;
super.setEnabled(false);
}
};
FPushButtonClass.prototype.txtFormat = function () {
var txtS = this.textStyle;
var sTbl = this.styleTable;
txtS.align = ((sTbl.textAlign.value == undefined) ? ((txtS.align = "center")) : undefined);
txtS.leftMargin = ((sTbl.textLeftMargin.value == undefined) ? ((txtS.leftMargin = 1)) : undefined);
txtS.rightMargin = ((sTbl.textRightMargin.value == undefined) ? ((txtS.rightMargin = 1)) : undefined);
if (this.fLabel_mc._height > this.height) {
super.setSize(this.width, this.fLabel_mc._height);
} else {
super.setSize(this.width, this.height);
}
this.fLabel_mc.labelField.setTextFormat(this.textStyle);
this.setEnabled(this.enable);
};
FPushButtonClass.prototype.drawFrame = function () {
var b = 1;
var x1 = 0;
var y1 = 0;
var x2 = this.width;
var y2 = this.height;
var mc_array = ["up_mc", "over_mc", "down_mc", "disabled_mc"];
var frame = mc_array[this.fpbState_mc._currentframe - 1];
var mc = "frame";
var i = 0;
while (i < 6) {
x1 = x1 + ((i % 2) * b);
y1 = y1 + ((i % 2) * b);
x2 = x2 - (((i + 1) % 2) * b);
y2 = y2 - (((i + 1) % 2) * b);
var w = (Math.abs(x1 - x2) + (2 * b));
var h = (Math.abs(y1 - y2) + (2 * b));
this.fpbState_mc[frame][mc + i]._width = w;
this.fpbState_mc[frame][mc + i]._height = h;
this.fpbState_mc[frame][mc + i]._x = x1 - b;
this.fpbState_mc[frame][mc + i]._y = y1 - b;
i++;
}
};
FPushButtonClass.prototype.setClickHandler = function (chng, obj) {
this.handlerObj = ((arguments.length < 2) ? (this._parent) : (obj));
this.clickHandler = chng;
};
FPushButtonClass.prototype.executeCallBack = function () {
this.handlerObj[this.clickHandler](this);
};
FPushButtonClass.prototype.initContentPos = function (mc) {
this.incrVal = 1;
this.initx = this[mc]._x - (this.getBtnState() * this.incrVal);
this.inity = this[mc]._y - (this.getBtnState() * this.incrVal);
this.togx = this.initx + this.incrVal;
this.togy = this.inity + this.incrVal;
};
FPushButtonClass.prototype.setBtnState = function (state) {
this.btnState = state;
if (state) {
this.fLabel_mc._x = this.togx;
this.fLabel_mc._y = this.togy;
} else {
this.fLabel_mc._x = this.initx;
this.fLabel_mc._y = this.inity;
}
};
FPushButtonClass.prototype.getBtnState = function () {
return(this.btnState);
};
FPushButtonClass.prototype.myOnSetFocus = function () {
this.focused = true;
super.myOnSetFocus();
};
FPushButtonClass.prototype.onPress = function () {
this.pressFocus();
this.fpbState_mc.gotoAndStop(3);
this.drawFrame();
this.setBtnState(true);
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FPushButtonClass.prototype.onRelease = function () {
this.fpbState_mc.gotoAndStop(2);
this.drawFrame();
this.executeCallBack();
this.setBtnState(false);
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FPushButtonClass.prototype.onRollOver = function () {
this.fpbState_mc.gotoAndStop(2);
this.drawFrame();
};
FPushButtonClass.prototype.onRollOut = function () {
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onReleaseOutside = function () {
this.setBtnState(false);
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onDragOut = function () {
this.setBtnState(false);
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onDragOver = function () {
this.setBtnState(true);
this.fpbState_mc.gotoAndStop(3);
this.drawFrame();
};
FPushButtonClass.prototype.myOnKeyDown = function () {
if ((Key.getCode() == 32) && (this.pressOnce == undefined)) {
this.onPress();
this.pressOnce = 1;
}
};
FPushButtonClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.onRelease();
this.pressOnce = undefined;
}
};
FPushButtonClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_PUSHBUTTON);
};
FPushButtonClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FPushButtonClass.prototype.get_accState = function (childId) {
if (this.pressOnce) {
return(this.master.STATE_SYSTEM_PRESSED);
}
return(this.master.STATE_SYSTEM_DEFAULT);
};
FPushButtonClass.prototype.get_accDefaultAction = function (childId) {
return("Press");
};
FPushButtonClass.prototype.accDoDefaultAction = function (childId) {
this.master.onPress();
this.master.onRelease();
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 49 Button
on (release) {
_highquality = 1;
_root.play();
}
Symbol 50 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop (3);
}
Symbol 50 MovieClip Frame 2
gotoAndPlay (1);
Symbol 60 Button
on (release) {
lang = 2;
play();
}
Symbol 61 Button
on (release) {
lang = 1;
play();
}
Symbol 69 Button
on (release) {
gotoAndPlay (97);
}
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 76 Button
on (release) {
toggleHighQuality();
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
stop();
Symbol 98 Button
on (release) {
gotoAndPlay (92);
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 102 Button
on (release) {
name = "Debugger";
endur = 33;
power = 55;
ablty = 33;
cast = 33;
day = 1;
level = 1;
gold = 99999 /* 0x01869F */;
exp_crrnt = 10;
exp_limit = 100;
health_limit = endur * 10;
health_crrnt = Number(health_limit) - 15;
note1 = 0;
dede = 0;
ourweapon = 0;
attack = 0;
wpnvalue = 0;
our1 = 999;
our2 = 999;
our3 = 999;
dungeonvisible = 0;
dungeonno = 50;
dungeoncomplete = 0;
ourfarm = 0;
firstnight = 0;
sulama = 0;
viktorya = 0;
gotoAndStop (488);
}
Symbol 106 Button
on (release) {
gotoAndStop (86);
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 137 Button
on (release) {
scoretable.filename = "scores/score.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = _root.scorename;
scoretable.winscore = _root.epic;
scoretable.loadVariables("http://www.inativa.com/tayfun/scores.php", "GET");
setProperty("_root.yollabuton", _visible , "0");
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
stop();
Symbol 148 Button
on (release) {
scoretable.filename = "scores/score.sco";
scoretable.scoresize = 10;
scoretable.action = "VIEW";
scoretable.viewtype = "FLASH";
scoretable.loadVariables("http://www.inativa.com/tayfun/scores.php", "GET");
}
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 2
stop();
Symbol 168 Button
on (release) {
if (Number(endur) > 8) {
endur = endur - 1;
total = Number(total) + 1;
} else {
stop();
}
}
Symbol 172 Button
on (release) {
if (Number(total) > 0) {
endur = Number(endur) + 1;
total = total - 1;
} else {
stop();
}
}
Symbol 175 Button
on (release) {
if (Number(power) > 8) {
power = power - 1;
total = Number(total) + 1;
} else {
stop();
}
}
Symbol 176 Button
on (release) {
if (Number(total) > 0) {
power = Number(power) + 1;
total = total - 1;
} else {
stop();
}
}
Symbol 178 Button
on (release) {
if (Number(cast) > 8) {
cast = cast - 1;
total = Number(total) + 1;
} else {
stop();
}
}
Symbol 179 Button
on (release) {
if (Number(total) > 0) {
cast = Number(cast) + 1;
total = total - 1;
} else {
stop();
}
}
Symbol 181 Button
on (release) {
if (Number(ablty) > 8) {
ablty = ablty - 1;
total = Number(total) + 1;
} else {
stop();
}
}
Symbol 182 Button
on (release) {
if (Number(total) > 0) {
ablty = Number(ablty) + 1;
total = total - 1;
} else {
stop();
}
}
Symbol 185 Button
on (release) {
if (name == null) {
setProperty("arrow", _visible , 1);
} else {
play();
}
}
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
stop();
Symbol 209 MovieClip Frame 10
if (lang == 2) {
tellTarget ("text") {
gotoAndStop (2);
};
}
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 50
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 22
gotoAndPlay (5);
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
stop();
Symbol 223 Button
on (release) {
_root.note1 = 0;
setProperty("_root.balowntext1", _visible , "0");
}
Symbol 224 MovieClip Frame 1
if (_root.note1 == 0) {
stop();
} else {
play();
}
Symbol 224 MovieClip Frame 50
if (_root.lang == 2) {
tellTarget ("balownnote1") {
gotoAndStop (2);
};
}
stop();
Symbol 232 Button
on (release, keyPress "<Up>") {
if (hero._x < 290) {
if (day == 1) {
tellTarget ("balowntext2") {
nextFrame();
};
} else if (day == 2) {
tellTarget ("fade") {
going = "sleep";
play();
};
}
}
}
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
stop();
Symbol 237 Button
on (release) {
gotoAndStop (1);
}
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
play();
Symbol 238 MovieClip Frame 10
if (_root.lang == 2) {
tellTarget ("balownnote2") {
gotoAndStop (2);
};
}
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
stop();
Symbol 249 MovieClip Frame 1
play();
Symbol 249 MovieClip Frame 10
if (_root.exp_crrnt >= _root.exp_limit) {
play();
} else {
gotoAndPlay (1);
}
Symbol 249 MovieClip Frame 11
_root.level = Number(_root.level) + 1;
_root.exp_limit = (Number(_root.exp_limit) * 2) - Math.ceil(_root.exp_limit / 2);
_root.epic = Number(_root.epic) + 310;
_root.points = Number(_root.points) + 3;
tellTarget ("_root.levelup") {
gotoAndStop (2);
};
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 1
play();
Symbol 268 MovieClip Frame 20
_root.mn = Number(_root.mn) + 1;
if (Number(_root.mn) < 10) {
_root.mn = "0" + Number(_root.mn);
}
if (Number(_root.hr) < 10) {
_root.hr = "0" + Number(_root.hr);
}
if (Number(_root.mn) == 60) {
_root.mn = "00";
_root.hr = Number(_root.hr) + 1;
if (_root.hr == 24) {
_root.hr = 0;
}
}
if ((_root.hr == 19) and (_root.mn == 59)) {
_root.day = 2;
tellTarget ("_root.room") {
gotoAndPlay (2);
};
} else if ((_root.hr == 5) and (_root.mn == 59)) {
_root.day = 1;
tellTarget ("_root.room") {
gotoAndPlay (51);
};
}
gotoAndPlay (1);
Symbol 271 Button
on (release) {
tellTarget ("balowntext0") {
nextFrame();
};
}
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 2
stop();
Symbol 275 Button
on (release) {
tellTarget ("foodfade") {
nextFrame();
};
}
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 2
stop();
Symbol 281 Button
on (release) {
if ((hr > 7) & (hr < 18)) {
hr = Number(hr) + 1;
}
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 15
if (going == "sleep") {
_root.gotoAndStop("sleep");
} else if (going == "right") {
_root.gotoAndStop("dederoom");
}
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
stop();
Symbol 288 Button
on (release) {
gotoAndStop (1);
}
Symbol 291 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("Menu", "menu");
}
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 2
play();
Symbol 292 MovieClip Frame 10
if (_root.lang == 2) {
tellTarget ("balownnote1") {
gotoAndStop (2);
};
}
stop();
Symbol 295 Button
on (release) {
_root.foodfade.gotoAndStop(1);
}
Symbol 297 Button
on (release) {
if (_root.our1 > 0) {
_root.our1 = Number(_root.our1) - 1;
_root.health_crrnt = (Number(_root.health_crrnt) + 3) + random(3);
if (_root.health_crrnt > _root.health_limit) {
_root.health_crrnt = Number(_root.health_limit);
}
tellTarget ("eat") {
play();
};
}
}
Symbol 299 Button
on (release) {
if (_root.our2 > 0) {
_root.our2 = Number(_root.our2) - 1;
_root.health_crrnt = (Number(_root.health_crrnt) + 5) + random(3);
if (_root.health_crrnt > _root.health_limit) {
_root.health_crrnt = Number(_root.health_limit);
}
tellTarget ("eat") {
play();
};
}
}
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 2
stop();
Symbol 312 Button
on (release) {
if (_root.our3 > 0) {
_root.our3 = Number(_root.our3) - 1;
_root.health_crrnt = (Number(_root.health_crrnt) + 4) + random(3);
if (_root.health_crrnt > _root.health_limit) {
_root.health_crrnt = Number(_root.health_limit);
}
tellTarget ("eat") {
play();
};
}
}
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 2
play();
Symbol 316 MovieClip Frame 4
gotoAndStop (1);
Symbol 316 MovieClip Frame 5
play();
Symbol 316 MovieClip Frame 7
gotoAndStop (1);
Symbol 317 MovieClip Frame 1
if (_root.lang == 2) {
tellTarget ("foody") {
nextFrame();
};
}
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 2
play();
Symbol 318 MovieClip Frame 15
stop();
Symbol 321 Button
on (release) {
_root.health_limit = Number(_root.health_limit) + Number(_root.endur);
_root.health_crrnt = Number(_root.health_limit);
_root.points = Number(_root.points) - 1;
if (_root.points == 0) {
gotoAndStop (1);
}
}
Symbol 322 Button
on (release) {
_root.power = Number(_root.power) + 1;
_root.points = Number(_root.points) - 1;
if (_root.points == 0) {
gotoAndStop (1);
}
}
Symbol 323 Button
on (release) {
_root.cast = Number(_root.cast) + 1;
_root.points = Number(_root.points) - 1;
if (_root.points == 0) {
gotoAndStop (1);
}
}
Symbol 324 Button
on (release) {
_root.ablty = Number(_root.ablty) + 1;
_root.points = Number(_root.points) - 1;
if (_root.points == 0) {
gotoAndStop (1);
}
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("leveluptext") {
gotoAndStop (2);
};
}
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 50
stop();
Symbol 347 Button
on (release, keyPress "<Up>") {
if ((hero._x > 420) & (hero._xscale == 45)) {
_root.room3enter = 2;
_root.room2enter = 2;
tellTarget ("fade") {
going = "right";
play();
};
}
}
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 15
if (going == "left") {
_root.gotoAndStop("ourroom");
} else if (going == "right") {
_root.gotoAndStop("home");
}
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 8
neym = _root.name + ".";
Symbol 410 MovieClip Frame 9
neym = _root.name + "...";
Symbol 410 MovieClip Frame 28
_root.ilerle1._visible = 0;
play();
Symbol 410 MovieClip Frame 42
_root.dedesohbet._x = 700;
_root.dedem._x = 700;
_root.epic = Number(_root.epic) + 124;
_root.exp_crrnt = Number(_root.exp_crrnt) + 60;
_root.gold = Number(_root.gold) + 60;
_root.gotoAndStop("dederoom");
Symbol 410 MovieClip Frame 43
stop();
Symbol 410 MovieClip Frame 50
neym = _root.name + ".";
Symbol 410 MovieClip Frame 51
neym = _root.name + "...";
Symbol 410 MovieClip Frame 70
_root.ilerle1._visible = 0;
play();
Symbol 410 MovieClip Frame 84
_root.dedesohbet._x = 700;
_root.dedem._x = 700;
_root.epic = Number(_root.epic) + 124;
_root.exp_crrnt = Number(_root.exp_crrnt) + 60;
_root.gold = Number(_root.gold) + 60;
_root.gotoAndStop("dederoom");
Symbol 411 Button
on (release) {
tellTarget ("sohbet1") {
nextFrame();
};
}
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 50
stop();
Symbol 417 Button
on (release, keyPress "<Up>") {
if ((hero._x > 380) & (hero._xscale == 45)) {
_root.room2enter = 2;
tellTarget ("fade") {
going = "right";
play();
};
}
}
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 15
if (going == "left") {
_root.gotoAndStop("map");
} else if (going == "right") {
_root.gotoAndStop("dederoom");
}
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 50
stop();
Symbol 425 Button
on (rollOver) {
setProperty("building1", _visible , "1");
}
on (rollOut) {
setProperty("building1", _visible , "0");
}
on (release) {
setProperty("building1", _visible , "0");
room3enter = 1;
tellTarget ("fade") {
going = "home";
play();
};
}
Symbol 426 Button
on (rollOver) {
setProperty("building2", _visible , "1");
}
on (rollOut) {
setProperty("building2", _visible , "0");
}
on (release) {
setProperty("building2", _visible , "0");
if (day == 2) {
tellTarget ("balowntext3") {
nextFrame();
};
} else if (day == 1) {
tellTarget ("fade") {
going = "smith";
play();
};
}
}
Symbol 427 Button
on (rollOver) {
setProperty("building4", _visible , "1");
}
on (rollOut) {
setProperty("building4", _visible , "0");
}
on (release) {
setProperty("building4", _visible , "0");
tellTarget ("fade") {
going = "board";
play();
};
}
Symbol 428 Button
on (rollOver) {
setProperty("building3", _visible , "1");
}
on (rollOut) {
setProperty("building3", _visible , "0");
}
on (release) {
setProperty("building3", _visible , "0");
if (day == 2) {
tellTarget ("balowntext3") {
nextFrame();
};
} else if (day == 1) {
tellTarget ("fade") {
going = "market";
play();
};
}
}
Symbol 429 Button
on (rollOver) {
setProperty("building5", _visible , "1");
}
on (rollOut) {
setProperty("building5", _visible , "0");
}
on (release) {
setProperty("building5", _visible , "0");
if (day == 2) {
tellTarget ("balowntext4") {
nextFrame();
};
} else if (day == 1) {
tellTarget ("fade") {
going = "leave";
play();
};
}
}
Symbol 430 Button
on (rollOver) {
setProperty("building6", _visible , "1");
}
on (rollOut) {
setProperty("building6", _visible , "0");
}
on (release) {
setProperty("building6", _visible , "0");
if (day == 2) {
tellTarget ("balowntext3") {
nextFrame();
};
} else if (day == 1) {
tellTarget ("fade") {
going = "magician";
play();
};
}
}
Symbol 431 Button
on (rollOver) {
setProperty("building7", _visible , "1");
}
on (rollOut) {
setProperty("building7", _visible , "0");
}
on (release) {
setProperty("building7", _visible , "0");
if (ourfarm == 1) {
tellTarget ("fade") {
going = "farm1";
play();
};
} else {
tellTarget ("fade") {
going = "farm0";
play();
};
}
}
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 2
stop();
Symbol 442 MovieClip Frame 1
stop();
Symbol 442 MovieClip Frame 2
stop();
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 2
stop();
Symbol 454 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 2
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 2
stop();
Symbol 464 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 2
stop();
Symbol 465 Button
on (release) {
gotoAndStop (1);
}
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 2
play();
Symbol 466 MovieClip Frame 10
if (_root.lang == 2) {
tellTarget ("balownnote4") {
gotoAndStop (2);
};
}
stop();
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 2
stop();
Symbol 470 Button
on (release) {
gotoAndStop (1);
}
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
play();
Symbol 471 MovieClip Frame 10
if (_root.lang == 2) {
tellTarget ("balownnote3") {
gotoAndStop (2);
};
}
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 482 MovieClip Frame 1
stop();
Symbol 482 MovieClip Frame 2
stop();
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 15
if (going == "home") {
_root.gotoAndStop("home");
} else if (going == "smith") {
_root.gotoAndStop("smith");
} else if (going == "market") {
_root.gotoAndStop("market");
} else if (going == "board") {
_root.gotoAndStop("board");
} else if (going == "magician") {
_root.gotoAndStop("magician");
} else if (going == "farm0") {
_root.gotoAndStop("farm0");
} else if (going == "farm1") {
_root.gotoAndStop("farm1");
} else if (going == "leave") {
_root.xofbeetle = 340;
_root.yofbeetle = 230;
_root.gotoAndStop("bigmap");
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 2
play();
Symbol 501 MovieClip Frame 451
_root.play();
Symbol 507 Button
on (release) {
if ((ourweapon != 1) & (gold > 49)) {
epic = Number(epic) + 31;
ourweapon = 1;
gold = (Number(gold) - 50) + Number(wpnvalue);
wpnvalue = 25;
power = Number(power) - Number(attack);
attack = 10;
power = Number(power) + Number(attack);
tellTarget ("our_weapon") {
gotoAndStop (2);
};
}
}
Symbol 508 Button
on (release) {
if ((ourweapon != 2) & (gold > 499)) {
epic = Number(epic) + 62;
ourweapon = 2;
gold = (Number(gold) - 500) + Number(wpnvalue);
wpnvalue = 250;
power = Number(power) - Number(attack);
attack = 20;
power = Number(power) + Number(attack);
tellTarget ("our_weapon") {
gotoAndStop (3);
};
}
}
Symbol 509 Button
on (release) {
if ((ourweapon != 3) & (gold > 2499)) {
epic = Number(epic) + 93;
ourweapon = 3;
gold = (Number(gold) - 2500) + Number(wpnvalue);
wpnvalue = 1250;
power = Number(power) - Number(attack);
attack = 30;
power = Number(power) + Number(attack);
tellTarget ("our_weapon") {
gotoAndStop (4);
};
}
}
Symbol 510 Button
on (release) {
if ((ourweapon != 4) & (gold > 4999)) {
epic = Number(epic) + 124;
ourweapon = 4;
gold = (Number(gold) - 5000) + Number(wpnvalue);
wpnvalue = 2500;
power = Number(power) - Number(attack);
attack = 40;
power = Number(power) + Number(attack);
tellTarget ("our_weapon") {
gotoAndStop (5);
};
}
}
Symbol 511 Button
on (release) {
if ((ourweapon > 0) & (ourweapon < 5)) {
epic = Number(epic) + 31;
ourweapon = 0;
tellTarget ("our_weapon") {
gotoAndStop (1);
};
gold = Number(gold) + Number(wpnvalue);
wpnvalue = 0;
power = Number(power) - Number(attack);
attack = 0;
}
}
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 2
stop();
Symbol 535 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 2
stop();
Symbol 535 MovieClip Frame 3
stop();
Symbol 535 MovieClip Frame 4
stop();
Symbol 535 MovieClip Frame 5
stop();
Symbol 535 MovieClip Frame 6
stop();
Symbol 535 MovieClip Frame 7
stop();
Symbol 535 MovieClip Frame 8
stop();
Symbol 535 MovieClip Frame 9
stop();
Symbol 536 Button
on (release) {
tellTarget ("fade") {
going = "leave";
play();
};
}
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 2
play();
Symbol 542 MovieClip Frame 15
if (going == "leave") {
_root.gotoAndStop("map");
} else if (going == "farm1") {
_root.gotoAndStop("farm1");
} else if (going == "alkemi") {
_root.gotoAndStop("alkemi");
} else if (going == "domatees") {
_root.gotoAndStop("tomatoes");
} else if (going == "portal") {
_root.gotoAndStop("portal");
}
Symbol 543 Button
on (release) {
if ((ourweapon != 5) & (gold > 49)) {
epic = Number(epic) + 31;
ourweapon = 5;
gold = (Number(gold) - 50) + Number(wpnvalue);
wpnvalue = 25;
cast = Number(cast) - Number(attack);
attack = 5;
cast = Number(cast) + Number(attack);
tellTarget ("our_weapon") {
gotoAndStop (6);
};
}
}
Symbol 544 Button
on (release) {
if ((ourweapon != 6) & (gold > 499)) {
epic = Number(epic) + 62;
ourweapon = 6;
gold = (Number(gold) - 500) + Number(wpnvalue);
wpnvalue = 250;
cast = Number(cast) - Number(attack);
attack = 10;
cast = Number(cast) + Number(attack);
tellTarget ("our_weapon") {
gotoAndStop (7);
};
}
}
Symbol 545 Button
on (release) {
if ((ourweapon != 7) & (gold > 2499)) {
epic = Number(epic) + 93;
ourweapon = 7;
gold = (Number(gold) - 2500) + Number(wpnvalue);
wpnvalue = 1250;
cast = Number(cast) - Number(attack);
attack = 15;
cast = Number(cast) + Number(attack);
tellTarget ("our_weapon") {
gotoAndStop (8);
};
}
}
Symbol 546 Button
on (release) {
if ((ourweapon != 8) & (gold > 4999)) {
epic = Number(epic) + 124;
ourweapon = 8;
gold = (Number(gold) - 5000) + Number(wpnvalue);
wpnvalue = 2500;
cast = Number(cast) - Number(attack);
attack = 20;
cast = Number(cast) + Number(attack);
tellTarget ("our_weapon") {
gotoAndStop (9);
};
}
}
Symbol 547 Button
on (release) {
if (ourweapon > 4) {
epic = Number(epic) + 31;
ourweapon = 0;
tellTarget ("our_weapon") {
gotoAndStop (1);
};
gold = Number(gold) + Number(wpnvalue);
wpnvalue = 0;
cast = Number(cast) - Number(attack);
attack = 0;
}
}
Symbol 552 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 2
stop();
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 2
stop();
Symbol 568 Button
on (release) {
if (our1 > 0) {
epic = Number(epic) + 31;
gold = Number(gold) + 6;
our1 = Number(our1) - 1;
}
}
Symbol 569 Button
on (release) {
if (our2 > 0) {
epic = Number(epic) + 31;
gold = Number(gold) + 10;
our2 = Number(our2) - 1;
}
}
Symbol 570 Button
on (release) {
if (our3 > 0) {
epic = Number(epic) + 31;
gold = Number(gold) + 8;
our3 = Number(our3) - 1;
}
}
Symbol 574 Button
on (release) {
if (gold > 9) {
gold = Number(gold) - 10;
our1 = Number(our1) + 1;
}
}
Symbol 575 Button
on (release) {
if (gold > 13) {
gold = Number(gold) - 14;
our2 = Number(our2) + 1;
}
}
Symbol 576 Button
on (release) {
if (gold > 11) {
gold = Number(gold) - 12;
our3 = Number(our3) + 1;
}
}
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 50
stop();
Symbol 596 Button
on (release) {
tellTarget ("boardmenu") {
gotoAndStop (2);
};
}
Symbol 597 Button
on (release) {
if (_root.dungeonno < 34) {
tellTarget ("boardmenu2") {
gotoAndStop (2);
};
} else {
tellTarget ("boardmenu2") {
gotoAndStop (3);
};
}
}
Symbol 598 Button
on (release) {
tellTarget ("boardmenu3") {
gotoAndStop (2);
};
}
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 2
stop();
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("boardtext") {
gotoAndStop (2);
};
}
if (_root.dungeonvisible == 0) {
_root.dungeyonx = 80 + random(500);
_root.dungeyony = 125 + random(225);
}
_root.dungeonvisible = 1;
Symbol 616 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 2
stop();
Symbol 617 Button
on (release) {
_root.gotoAndPlay("portal");
}
Symbol 620 MovieClip Frame 1
stop();
Symbol 620 MovieClip Frame 2
stop();
Symbol 621 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("boardtext2") {
gotoAndStop (2);
};
}
Symbol 621 MovieClip Frame 3
if (_root.lang == 2) {
tellTarget ("boardtext2") {
gotoAndStop (2);
};
}
Symbol 626 MovieClip Frame 1
stop();
Symbol 626 MovieClip Frame 2
stop();
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("boardtext2") {
gotoAndStop (2);
};
}
Symbol 632 MovieClip Frame 1
stop();
Symbol 632 MovieClip Frame 50
stop();
Symbol 633 Button
on (release) {
tellTarget ("farmmenu") {
gotoAndStop (2);
};
}
Symbol 636 Button
on (release) {
if (_root.gold > 1999) {
_root.ourfarm = 1;
_root.gold = Number(_root.gold) - 2000;
_root.sulama = 0;
tellTarget ("_root.fade") {
going = "farm1";
play();
};
}
}
Symbol 645 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 2
stop();
Symbol 646 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("farmtext") {
gotoAndStop (2);
};
}
Symbol 647 Button
on (release) {
tellTarget ("fade") {
going = "alkemi";
nextFrame();
};
}
Symbol 648 Button
on (release) {
tellTarget ("fade") {
going = "domatees";
nextFrame();
};
}
Symbol 653 MovieClip Frame 1
stop();
Symbol 653 MovieClip Frame 2
stop();
Symbol 656 Button
on (release) {
gotoAndStop (646);
}
Symbol 658 Button
on (release) {
if ((our1 > 65) & (our2 > 32)) {
epic = Number(epic) + 31;
our1 = Number(our1) - 66;
our2 = Number(our2) - 33;
power = Number(power) + 3;
}
}
Symbol 661 Button
on (release) {
if ((our1 > 32) & (our2 > 65)) {
epic = Number(epic) + 62;
our1 = Number(our1) - 33;
our2 = Number(our2) - 66;
cast = Number(cast) + 3;
}
}
Symbol 662 Button
on (release) {
if ((our1 > 65) & (our2 > 65)) {
epic = Number(epic) + 93;
our1 = Number(our1) - 66;
our2 = Number(our2) - 66;
exp_crrnt = (Number(exp_crrnt) + 200) + random(51);
}
}
Symbol 663 Button
on (release) {
if (((our1 > 32) & (our2 > 32)) & (our3 > 32)) {
epic = Number(epic) + 124;
our1 = Number(our1) - 33;
our2 = Number(our2) - 33;
our3 = Number(our3) - 33;
ablty = Number(ablty) + 3;
}
}
Symbol 665 Button
on (release) {
if (((our1 > 39) & (our2 > 39)) & (our3 > 39)) {
epic = Number(epic) + 155;
our1 = Number(our1) - 40;
our2 = Number(our2) - 40;
our3 = Number(our3) - 40;
gold = Number(gold) + 1111;
}
}
Symbol 667 Button
on (release) {
if (((our1 > 98) & (our2 > 98)) & (our3 > 98)) {
epic = Number(epic) + 186;
our1 = Number(our1) - 99;
our2 = Number(our2) - 99;
our3 = Number(our3) - 99;
power = Number(power) + 3;
cast = Number(cast) + 3;
ablty = Number(ablty) + 3;
}
}
Symbol 684 MovieClip Frame 1
stop();
Symbol 684 MovieClip Frame 2
stop();
Symbol 690 Button
on (release) {
tellTarget ("sulaa") {
gotoAndPlay (5);
};
sulama = 1;
}
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 2
stop();
Symbol 694 Button
on (release) {
_root.our3 = Number(_root.our3) + 1;
_root.epic = Number(_root.epic) + 31;
setProperty("_root.domates1", _visible , "0");
}
Symbol 695 Button
on (release) {
_root.our3 = Number(_root.our3) + 1;
_root.epic = Number(_root.epic) + 31;
setProperty("_root.domates3", _visible , "0");
}
Symbol 696 Button
on (release) {
_root.our3 = Number(_root.our3) + 1;
_root.epic = Number(_root.epic) + 31;
setProperty("_root.domates2", _visible , "0");
}
Symbol 702 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 50
stop();
Symbol 723 Button
on (release) {
xofbeetle = _root.beetle._x;
yofbeetle = _root.beetle._y;
if (beetle.hitTest(area_casaba)) {
tellTarget ("fade") {
going = "map";
play();
};
} else if (day == 2) {
tellTarget ("balowntext5") {
nextFrame();
};
} else if ((day == 1) & beetle.hitTest(area_land)) {
randomplace = random(5) + 1;
if (randomplace == 3) {
tellTarget ("fade") {
going = "found_chest";
play();
};
} else if (randomplace == 5) {
tellTarget ("fade") {
going = "found_enemy";
play();
};
} else {
tellTarget ("fade") {
going = "random_land";
play();
};
}
} else if ((day == 1) & beetle.hitTest(area_seaside)) {
tellTarget ("fade") {
going = "random_sea";
play();
};
}
}
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 2
stop();
Symbol 727 Button
on (release) {
setProperty("_root.lookaround", _visible , "1");
setProperty("_root.lookbuton", _visible , "1");
}
Symbol 730 Button
on (release) {
if (day == 2) {
tellTarget ("balowntext5") {
nextFrame();
};
} else {
tellTarget ("fade") {
going = "dungeon";
play();
};
}
}
Symbol 731 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 15
if (going == "map") {
_root.gotoAndStop("map");
} else if (going == "random_land") {
_root.gotoAndStop("random_land");
} else if (going == "random_sea") {
_root.gotoAndStop("random_sea");
} else if (going == "found_chest") {
_root.gotoAndStop("found_chest");
} else if (going == "found_enemy") {
_root.gotoAndStop("found_enemy");
} else if (going == "dungeon") {
_root.gotoAndStop("dungeon");
}
Symbol 734 MovieClip Frame 1
stop();
Symbol 734 MovieClip Frame 2
stop();
Symbol 735 Button
on (release) {
gotoAndStop (1);
}
Symbol 736 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 2
play();
Symbol 736 MovieClip Frame 10
if (_root.lang == 2) {
tellTarget ("balownnote5") {
gotoAndStop (2);
};
}
stop();
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 2
stop();
Symbol 741 Button
on (release) {
gotoAndStop (1);
}
Symbol 742 MovieClip Frame 1
if (_root.dungeoncomplete == 1) {
play();
} else {
stop();
}
Symbol 742 MovieClip Frame 2
play();
Symbol 742 MovieClip Frame 10
if (_root.lang == 2) {
tellTarget ("balownnote8") {
gotoAndStop (2);
};
}
_root.dungeoncomplete = 0;
_root.dungeonno = Number(_root.dungeonno) + 1;
stop();
Symbol 759 MovieClip Frame 1
stop();
Symbol 759 MovieClip Frame 2
stop();
Symbol 759 MovieClip Frame 3
stop();
Symbol 759 MovieClip Frame 4
stop();
Symbol 759 MovieClip Frame 5
stop();
Symbol 759 MovieClip Frame 6
stop();
Symbol 759 MovieClip Frame 7
stop();
Symbol 759 MovieClip Frame 8
stop();
Symbol 762 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 2
stop();
Symbol 764 Button
on (release, keyPress "<Up>") {
if ((pouch1 == 1) & ((hero._x > 270) & (hero._x < 360))) {
pouch1 = 0;
epic = Number(epic) + 31;
tellTarget ("pouch") {
nextFrame();
};
tellTarget ("balown6") {
gotoAndStop (1);
};
setProperty("pouchindex", _visible , 1);
}
}
Symbol 767 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 2
stop();
Symbol 768 Button
on (release) {
gotoAndStop (1);
}
Symbol 769 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 2
play();
Symbol 769 MovieClip Frame 10
if (_root.lang == 2) {
tellTarget ("balownnote6") {
gotoAndStop (2);
};
}
stop();
Symbol 771 Button
on (release) {
_root.our1 = Number(_root.our1) + Number(pouch01);
_root.our2 = Number(_root.our2) + Number(pouch02);
_root.gold = Number(_root.gold) + Number(pouch03);
setProperty("_root.pouchindex", _visible , 0);
}
Symbol 781 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 2
stop();
Symbol 782 MovieClip Frame 1
if (_root.lang == 2) {
tellTarget ("pouchy") {
nextFrame();
};
}
pouch01 = 1 + random(3);
pouch02 = random(3);
pouch03 = 5 + random(6);
Symbol 789 MovieClip Frame 1
stop();
Symbol 789 MovieClip Frame 2
play();
Symbol 789 MovieClip Frame 19
gotoAndPlay (3);
Symbol 790 MovieClip Frame 1
stop();
Symbol 790 MovieClip Frame 15
stopAllSounds();
if (going == "leave") {
_root.gotoAndStop("bigmap");
} else if (going == "dungeon2") {
_root.gotoAndStop("dungeon2");
} else if (going == "dungeon3") {
_root.gotoAndStop("dungeon3");
} else if (going == "dungeon4") {
_root.gotoAndStop("dungeon4");
}
Symbol 797 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 2
stop();
Symbol 797 MovieClip Frame 3
stop();
Symbol 802 MovieClip Frame 1
stop();
Symbol 802 MovieClip Frame 2
stop();
Symbol 802 MovieClip Frame 3
stop();
Symbol 803 Button
on (release, keyPress "<Up>") {
if ((hero._x > 410) & (hero._x < 540)) {
tellTarget ("balown7") {
gotoAndStop (1);
};
if (chestopen == 0) {
setProperty("chestindex", _visible , 1);
} else {
setProperty("chestindex", _visible , 0);
}
if (ablty >= chesthardness) {
tellTarget ("chestindex") {
gotoAndStop (2);
};
} else {
tellTarget ("chestindex") {
gotoAndStop (3);
};
}
}
}
Symbol 806 MovieClip Frame 1
stop();
Symbol 806 MovieClip Frame 2
stop();
Symbol 807 Button
on (release) {
gotoAndStop (1);
}
Symbol 808 MovieClip Frame 1
stop();
Symbol 808 MovieClip Frame 2
play();
Symbol 808 MovieClip Frame 10
if (_root.lang == 2) {
tellTarget ("balownnote7") {
gotoAndStop (2);
};
}
stop();
Symbol 811 Button
on (release) {
_root.gold = Number(_root.gold) + Number(pouch02);
_root.chestopen = 1;
_root.epic = Number(_root.epic) + 31;
setProperty("_root.chestindex", _visible , 0);
}
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 2
stop();
Symbol 819 Button
on (release) {
setProperty("_root.chestindex", _visible , 0);
}
Symbol 824 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 2
stop();
Symbol 825 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("chesty") {
nextFrame();
};
}
pouch02 = (Number(_root.ablty) * 2) + random(20);
Symbol 825 MovieClip Frame 3
if (_root.lang == 2) {
tellTarget ("chesty2") {
nextFrame();
};
}
pouch01 = random(5);
pouch02 = random(3);
pouch03 = random(6);
Symbol 826 MovieClip Frame 1
if (_root.ourweapon == 0) {
gotoAndStop (1);
} else if (_root.ourweapon == 1) {
gotoAndStop (2);
} else if (_root.ourweapon == 2) {
gotoAndStop (3);
} else if (_root.ourweapon == 3) {
gotoAndStop (4);
} else if (_root.ourweapon == 4) {
gotoAndStop (5);
} else if (_root.ourweapon == 5) {
gotoAndStop (6);
} else if (_root.ourweapon == 6) {
gotoAndStop (7);
} else if (_root.ourweapon == 7) {
gotoAndStop (8);
} else if (_root.ourweapon == 8) {
gotoAndStop (9);
}
stop();
Symbol 826 MovieClip Frame 2
stop();
Symbol 826 MovieClip Frame 3
stop();
Symbol 826 MovieClip Frame 4
stop();
Symbol 826 MovieClip Frame 5
stop();
Symbol 826 MovieClip Frame 6
stop();
Symbol 826 MovieClip Frame 7
stop();
Symbol 826 MovieClip Frame 8
stop();
Symbol 826 MovieClip Frame 9
stop();
Symbol 860 MovieClip Frame 1
stop();
Symbol 860 MovieClip Frame 2
tellTarget ("_root.enemy") {
type = 1;
gotoAndPlay ("gethurt");
};
play();
Symbol 860 MovieClip Frame 31
gotoAndStop (1);
Symbol 860 MovieClip Frame 32
play();
Symbol 860 MovieClip Frame 38
_root.health_crrnt = Number(_root.health_crrnt) + Number(_root.cast);
if (_root.health_crrnt > _root.health_limit) {
_root.health_crrnt = _root.health_limit;
}
Symbol 860 MovieClip Frame 61
enemydecision = random(3);
if (enemydecision == 0) {
tellTarget ("_root.enemy") {
gotoAndPlay ("castheal");
};
} else {
tellTarget ("_root.enemy") {
gotoAndPlay ("attack");
};
}
gotoAndStop (1);
Symbol 860 MovieClip Frame 62
tellTarget ("_root.enemy") {
type = 2;
gotoAndPlay ("gethurt");
};
play();
Symbol 860 MovieClip Frame 91
gotoAndStop (1);
Symbol 860 MovieClip Frame 92
tellTarget ("_root.enemy") {
type = 3;
gotoAndPlay ("gethurt");
};
play();
Symbol 860 MovieClip Frame 121
gotoAndStop (1);
Symbol 860 MovieClip Frame 122
play();
Symbol 860 MovieClip Frame 151
if (_root.health_crrnt > 0) {
gotoAndStop (1);
} else {
gotoAndPlay (152);
}
Symbol 860 MovieClip Frame 152
play();
Symbol 860 MovieClip Frame 181
_root.gotoAndPlay("gameover");
Symbol 875 MovieClip Frame 1
stop();
Symbol 875 MovieClip Frame 2
play();
tellTarget ("_root.hero") {
gotoAndPlay ("gethurt");
};
Symbol 875 MovieClip Frame 13
_root.health_crrnt = Number(_root.health_crrnt) - (Number(_root.enemypower) + random(5));
Symbol 875 MovieClip Frame 31
if (_root.health_crrnt > 0) {
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
}
gotoAndStop (1);
Symbol 875 MovieClip Frame 32
play();
Symbol 875 MovieClip Frame 43
if (type == 1) {
_root.enemyhealth = Number(_root.enemyhealth) - (Number(_root.power) + random(5));
} else if (type == 2) {
_root.enemyhealth = Number(_root.enemyhealth) - (Number(_root.cast) + random(5));
} else if (type == 3) {
_root.enemyhealth = Number(_root.enemyhealth) - (Math.ceil(_root.cast / 2) + random(4));
_root.health_crrnt = Number(_root.health_crrnt) + (Math.ceil(_root.cast / 2) + random(4));
if (_root.health_crrnt > _root.health_limit) {
_root.health_crrnt = Number(_root.health_limit);
}
}
if (_root.enemyhealth < 0) {
_root.enemyhealth = 0;
}
Symbol 875 MovieClip Frame 61
if (_root.enemyhealth > 0) {
enemydecision = random(3);
if (enemydecision == 0) {
gotoAndPlay (62);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (92);
}
Symbol 875 MovieClip Frame 62
play();
Symbol 875 MovieClip Frame 72
_root.enemyhealth = (Number(_root.enemyhealth) + 5) + random(5);
Symbol 875 MovieClip Frame 91
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 875 MovieClip Frame 92
play();
Symbol 875 MovieClip Frame 121
tellTarget ("_root.victory") {
gotoAndStop (2);
};
stop();
Symbol 879 Button
on (release) {
tellTarget ("_root.hero") {
gotoAndPlay ("attack");
};
gotoAndStop (1);
}
Symbol 880 Button
on (release) {
tellTarget ("_root.hero") {
gotoAndPlay ("castheal");
};
gotoAndStop (1);
}
Symbol 881 Button
on (release) {
tellTarget ("_root.hero") {
gotoAndPlay ("castfire");
};
gotoAndStop (1);
}
Symbol 882 Button
on (release) {
tellTarget ("_root.hero") {
gotoAndPlay ("castlight");
};
gotoAndStop (1);
}
Symbol 885 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 2
stop();
Symbol 886 MovieClip Frame 1
stop();
Symbol 886 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("fightext") {
gotoAndStop (2);
};
}
Symbol 889 Button
on (release) {
tellTarget ("_root.fade") {
going = "leave";
play();
};
gotoAndStop (1);
}
Symbol 898 MovieClip Frame 1
stop();
Symbol 898 MovieClip Frame 2
stop();
Symbol 901 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("victorytext") {
gotoAndStop (2);
};
}
if (_root.level < 10) {
added_exp = 25 + random(11);
added_gold = 35 + random(15);
} else {
added_exp = 175 + random(26);
added_gold = 65 + random(11);
}
_root.exp_crrnt = Number(_root.exp_crrnt) + added_exp;
_root.gold = Number(_root.gold) + added_gold;
_root.epic = Number(_root.epic) + 155;
_root.wpnvalue = (Number(_root.wpnvalue) + 2) + random(4);
stop();
Symbol 907 MovieClip Frame 1
stop();
Symbol 907 MovieClip Frame 2
stop();
Symbol 908 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 15
stopAllSounds();
if (going == "death") {
_root.gotoAndStop("gameover");
} else if (going == "leave") {
setProperty("_root.food", _visible , "1");
setProperty("_root.foodbuton", _visible , "1");
_root.gotoAndStop("bigmap");
}
Symbol 912 Button
on (release, keyPress "<Up>") {
if ((hero._x > 350) & (hero._x < 500)) {
tellTarget ("fade") {
going = "dungeonenter";
play();
};
}
}
Symbol 913 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 15
stopAllSounds();
if (going == "leave") {
_root.gotoAndStop("bigmap");
} else if (going == "dungeonenter") {
_root.gotoAndStop("dungeon1");
}
Symbol 924 MovieClip Frame 1
stop();
Symbol 924 MovieClip Frame 2
stop();
Symbol 924 MovieClip Frame 3
stop();
Symbol 924 MovieClip Frame 4
stop();
Symbol 924 MovieClip Frame 5
stop();
Symbol 924 MovieClip Frame 6
stop();
Symbol 942 MovieClip Frame 1
stop();
Symbol 942 MovieClip Frame 2
play();
tellTarget ("_root.hero") {
gotoAndPlay ("gethurt");
};
Symbol 942 MovieClip Frame 15
_root.health_crrnt = Number(_root.health_crrnt) - (Number(_root.enemypower) + random(5));
Symbol 942 MovieClip Frame 31
if (_root.health_crrnt > 0) {
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
}
gotoAndStop (1);
Symbol 942 MovieClip Frame 32
play();
Symbol 942 MovieClip Frame 43
if (type == 1) {
_root.enemyhealth = Number(_root.enemyhealth) - (Number(_root.power) + random(5));
} else if (type == 2) {
_root.enemyhealth = Number(_root.enemyhealth) - (Number(_root.cast) + random(5));
} else if (type == 3) {
_root.enemyhealth = Number(_root.enemyhealth) - (Math.ceil(_root.cast / 2) + random(4));
_root.health_crrnt = Number(_root.health_crrnt) + (Math.ceil(_root.cast / 2) + random(4));
if (_root.health_crrnt > _root.health_limit) {
_root.health_crrnt = Number(_root.health_limit);
}
}
if (_root.enemyhealth < 0) {
_root.enemyhealth = 0;
}
Symbol 942 MovieClip Frame 61
if (_root.enemyhealth > 0) {
enemydecision = random(3);
if (enemydecision == 0) {
gotoAndPlay (62);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (92);
}
Symbol 942 MovieClip Frame 62
play();
Symbol 942 MovieClip Frame 72
_root.enemyhealth = (Number(_root.enemyhealth) + 10) + random(5);
Symbol 942 MovieClip Frame 91
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 942 MovieClip Frame 92
play();
Symbol 942 MovieClip Frame 121
tellTarget ("_root.victory") {
gotoAndStop (2);
};
stop();
Symbol 943 Button
on (release) {
tellTarget ("_root.fade") {
going = "leave";
play();
};
gotoAndStop (1);
}
Symbol 946 MovieClip Frame 1
stop();
Symbol 946 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("victorytext") {
gotoAndStop (2);
};
}
if (_root.level < 10) {
added_exp = 70 + random(6);
added_gold = 75 + random(26);
} else if ((_root.level >= 10) & (_root.level < 15)) {
added_exp = 225 + random(26);
added_gold = 125 + random(26);
} else {
added_exp = 475 + random(26);
added_gold = 175 + random(26);
}
_root.exp_crrnt = Number(_root.exp_crrnt) + added_exp;
_root.gold = Number(_root.gold) + added_gold;
_root.epic = Number(_root.epic) + 217;
_root.wpnvalue = (Number(_root.wpnvalue) + 7) + random(4);
stop();
Symbol 948 MovieClip Frame 1
stop();
Symbol 948 MovieClip Frame 15
stopAllSounds();
if (going == "death") {
_root.gotoAndStop("gameover");
} else if (going == "leave") {
setProperty("_root.food", _visible , "1");
setProperty("_root.foodbuton", _visible , "1");
_root.gotoAndStop("dungeon2a");
}
Symbol 952 MovieClip Frame 1
if (_root.lang == 2) {
tellTarget ("pouchy") {
nextFrame();
};
}
pouch01 = 5 + random(5);
pouch02 = 3 + random(3);
pouch03 = 30 + random(21);
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 2
play();
tellTarget ("_root.hero") {
gotoAndPlay ("gethurt");
};
Symbol 960 MovieClip Frame 13
_root.health_crrnt = Number(_root.health_crrnt) - (Number(_root.enemypower) + random(5));
Symbol 960 MovieClip Frame 31
if (_root.health_crrnt > 0) {
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
}
gotoAndStop (1);
Symbol 960 MovieClip Frame 32
play();
Symbol 960 MovieClip Frame 43
if (type == 1) {
_root.enemyhealth = Number(_root.enemyhealth) - (Number(_root.power) + random(5));
} else if (type == 2) {
_root.enemyhealth = Number(_root.enemyhealth) - (Number(_root.cast) + random(5));
} else if (type == 3) {
_root.enemyhealth = Number(_root.enemyhealth) - (Math.ceil(_root.cast / 2) + random(4));
_root.health_crrnt = Number(_root.health_crrnt) + (Math.ceil(_root.cast / 2) + random(4));
if (_root.health_crrnt > _root.health_limit) {
_root.health_crrnt = Number(_root.health_limit);
}
}
if (_root.enemyhealth < 0) {
_root.enemyhealth = 0;
}
Symbol 960 MovieClip Frame 61
if (_root.enemyhealth > 0) {
enemydecision = random(3);
if (enemydecision == 0) {
gotoAndPlay (62);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (92);
}
Symbol 960 MovieClip Frame 62
play();
Symbol 960 MovieClip Frame 72
_root.enemyhealth = (Number(_root.enemyhealth) + 10) + random(10);
Symbol 960 MovieClip Frame 91
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 960 MovieClip Frame 92
play();
Symbol 960 MovieClip Frame 121
tellTarget ("_root.victory") {
gotoAndStop (2);
};
stop();
Symbol 961 Button
on (release) {
tellTarget ("_root.fade") {
going = "leave";
play();
};
gotoAndStop (1);
}
Symbol 964 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 2
if (_root.lang == 2) {
tellTarget ("victorytext") {
gotoAndStop (2);
};
}
if (_root.level < 10) {
added_exp = 125 + random(26);
added_gold = 200 + random(51);
} else if ((_root.level >= 10) & (_root.level < 15)) {
added_exp = 475 + random(26);
added_gold = 275 + random(26);
} else {
added_exp = 800 + random(201);
added_gold = 300 + random(101);
}
_root.exp_crrnt = Number(_root.exp_crrnt) + added_exp;
_root.gold = Number(_root.gold) + added_gold;
_root.epic = Number(_root.epic) + 310;
_root.wpnvalue = (Number(_root.wpnvalue) + 12) + random(4);
stop();
Symbol 966 MovieClip Frame 1
stop();
Symbol 966 MovieClip Frame 15
stopAllSounds();
if (going == "death") {
_root.gotoAndStop("gameover");
} else if (going == "leave") {
setProperty("_root.food", _visible , "1");
setProperty("_root.foodbuton", _visible , "1");
_root.dungeoncomplete = 1;
_root.dungeonvisible = 0;
_root.gotoAndStop("bigmap");
}
Symbol 972 MovieClip Frame 200
gotoAndPlay (1);
Symbol 973 MovieClip Frame 1
play();
Symbol 973 MovieClip Frame 18
gotoAndPlay (2);
Symbol 999 MovieClip Frame 1
stop();
Symbol 999 MovieClip Frame 2
stop();
Symbol 1000 MovieClip Frame 6
if (lang == 2) {
tellTarget ("text") {
gotoAndStop (2);
};
}
Symbol 1003 MovieClip Frame 1
stop();
Symbol 1003 MovieClip Frame 2
play();
tellTarget ("_root.hero") {
gotoAndPlay ("gethurt");
};
Symbol 1003 MovieClip Frame 15
_root.health_crrnt = Number(_root.health_crrnt) - (Number(_root.enemypower) + random(5));
Symbol 1003 MovieClip Frame 31
if (_root.health_crrnt > 0) {
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
}
gotoAndStop (1);
Symbol 1003 MovieClip Frame 32
play();
Symbol 1003 MovieClip Frame 38
_root.enemyhealth = (Number(_root.enemyhealth) + 20) + random(15);
Symbol 1003 MovieClip Frame 61
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 1003 MovieClip Frame 62
play();
tellTarget ("_root.hero") {
gotoAndPlay ("gethurt");
};
Symbol 1003 MovieClip Frame 74
_root.health_crrnt = Number(_root.health_crrnt) - (Number(_root.enemypower) - random(5));
Symbol 1003 MovieClip Frame 91
tellTarget ("_root.fightmenu") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 1003 MovieClip Frame 92
play();
Symbol 1003 MovieClip Frame 105
if (type == 1) {
_root.enemyhealth = Number(_root.enemyhealth) - (Number(_root.power) + random(5));
} else if (type == 2) {
_root.enemyhealth = Number(_root.enemyhealth) - (Number(_root.cast) + random(5));
} else if (type == 3) {
_root.enemyhealth = Number(_root.enemyhealth) - (Math.ceil(_root.cast / 2) + random(4));
_root.health_crrnt = Number(_root.health_crrnt) + (Math.ceil(_root.cast / 2) + random(4));
if (_root.health_crrnt > _root.health_limit) {
_root.health_crrnt = Number(_root.health_limit);
}
}
if (_root.enemyhealth < 0) {
_root.enemyhealth = 0;
}
Symbol 1003 MovieClip Frame 121
if (_root.enemyhealth > 0) {
enemydecision = random(4);
if (enemydecision == 0) {
gotoAndPlay (32);
} else if (enemydecision == 1) {
gotoAndPlay (62);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (122);
}
Symbol 1003 MovieClip Frame 122
play();
Symbol 1003 MovieClip Frame 140
_root.gotoAndPlay("finishher");
Symbol 1007 Button
on (release) {
play();
}
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1043 MovieClip Frame 1
neym = _root.name + "!";
stop();
Symbol 1043 MovieClip Frame 14
_root.ilerle1._visible = 0;
play();
Symbol 1043 MovieClip Frame 28
_root.epic = Number(_root.epic) + 124;
_root.viktorya = 1;
_root.gotoAndStop("map");
Symbol 1043 MovieClip Frame 29
neym = _root.name + "!";
stop();
Symbol 1043 MovieClip Frame 42
_root.ilerle1._visible = 0;
play();
Symbol 1043 MovieClip Frame 56
_root.epic = Number(_root.epic) + 124;
_root.viktorya = 1;
_root.gotoAndStop("map");
Symbol 1044 Button
on (release) {
tellTarget ("sohbet2") {
nextFrame();
};
}
Symbol 1045 MovieClip Frame 1
play();
Symbol 1045 MovieClip Frame 15
stop();
Symbol 1048 MovieClip Frame 1
stop();
Symbol 1048 MovieClip Frame 2
stop();