Frame 1
System.security.allowDomain("*");
if (_root.controller == undefined) {
var playList = new Array("idle", "walk");
var playListIndex = 0;
var targetClip = enemy;
targetClip.stop();
recenterEnemy = function (targ, blendf) {
if (blendf == undefined) {
blendf = 0.1;
}
var _local3 = targ.getBounds(_root);
var _local7 = _local3.xMax - _local3.xMin;
var _local6 = _local3.yMax - _local3.yMin;
if ((((_local7 != undefined) && (_local7 > 0)) && (_local6 != undefined)) && (_local6 > 0)) {
var _local14 = targ._xscale / 100;
var _local13 = targ._yscale / 100;
var _local5 = Stage.width / _local7;
var _local4 = Stage.height / _local6;
if (_local5 <= _local4) {
_local4 = _local5;
} else {
_local5 = _local4;
}
var _local9 = (Stage.width - (_local7 * _local5)) / 2;
var _local11 = (Stage.height - (_local6 * _local4)) / 2;
var _local12 = _local9 - (_local3.xMin - targ._x);
var _local10 = _local11 - (_local3.yMin - targ._y);
targ._x = targ._x + ((_local12 - targ._x) * blendf);
targ._y = targ._y + ((_local10 - targ._y) * blendf);
targ._xscale = targ._xscale + ((((100 * _local5) * _local14) - targ._xscale) * blendf);
targ._yscale = targ._yscale + ((((100 * _local4) * _local13) - targ._yscale) * blendf);
return(1);
}
return(0);
};
recenterEnemy(targetClip);
targetClip.G = new Object();
targetClip.G.goPlay = function (targ, aname) {
targ.gotoAndPlay(aname);
};
var mouseListener = new Object();
var mouseData = new Object({x:_xmouse, y:_ymousem, down:0, up:0});
mouseListener.onMouseMove = function () {
mouseData.x = _xmouse;
mouseData.y = _ymouse;
};
mouseListener.onMouseDown = function () {
mouseData.down = 1;
};
mouseListener.onMouseUp = function () {
mouseData.up = 1;
};
Mouse.addListener(mouseListener);
onEnterFrame = function () {
recenterEnemy(targetClip);
if (mouseData.up) {
mouseData.down = 0;
mouseData.up = 0;
}
if (mouseData.down) {
mouseData.down = 0;
playListIndex = playListIndex + 1;
playListIndex = playListIndex % playList.length;
targetClip.G.goPlay(targetClip, playList[playListIndex]);
}
};
}
Symbol 7 MovieClip Frame 1
this.onEnterFrame = function () {
_root.controller.updateVictimSync(this);
};
Symbol 95 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.G != undefined) {
if (!_parent.G.isPaused()) {
_parent.G.handleBasicStruggle(_parent);
}
}
};
Symbol 99 MovieClip Frame 1
G.actIdle(this);
if (G.manualReset(this)) {
G.setScaleValue(200);
G.setName("Leafeon");
G.setStatus("Anti-vore");
G.setCredit("Jean Petit");
G.setHAtk(8);
G.setMAtk(8);
G.setLAtk(8);
G.setHDef(99);
G.setMDef(99);
G.setLDef(99);
G.enemySetAttackHistogram(1, 1, 1);
G.setMaxHP(63);
G.setHP(63);
G.enemySetAllowPets(0);
G.setEnemyFaceTarget(0);
G.setEnemySolid(0);
G.enemySetViewBetween(1);
G.setEnemyAIUseAttacks(0);
G.enemySetDontPlayHitAnimation(0);
G.setEnemyAINoAutoIdle(0);
G.setEnemyRollOption(1);
G.enemyFacePlayer();
}
Symbol 99 MovieClip Frame 77
G.goPlay(this, "idle");
Symbol 99 MovieClip Frame 89
G.goPlay(this, "options");
Symbol 99 MovieClip Frame 91
G.actMove(this, 0);
Symbol 99 MovieClip Frame 95
G.goPlay(this, "idlefront");
Symbol 99 MovieClip Frame 100
G.actHurt(this, 4);
G.endDigestion(this);
Symbol 99 MovieClip Frame 105
G.goPlay(this, "idle");
Symbol 99 MovieClip Frame 106
G.actHurt(this, 4);
G.endDigestion(this);
Symbol 99 MovieClip Frame 111
G.goPlay(this, "idle");
Symbol 99 MovieClip Frame 112
G.actHurt(this, 4);
G.endDigestion(this);
Symbol 99 MovieClip Frame 117
G.goPlay(this, "idle");
Symbol 99 MovieClip Frame 120
G.actHurt(this, 0);
Symbol 99 MovieClip Frame 132
G.goPlay(this, "idle");
Symbol 99 MovieClip Frame 135
G.actHurt(this, 0);
G.endDigestion(this);
G.unconsumePlayer(this, 50);
G.actUnbusy();
Symbol 99 MovieClip Frame 151
G.actHurt(this, 0);
Symbol 99 MovieClip Frame 158
G.goPlay(this, "dead");
Symbol 99 MovieClip Frame 164
G.actAttack(this, G.ATTACK_MEDIUM);
if (G.smoothChanceDown(G.getPlayerHealthPercent())) {
}
Symbol 99 MovieClip Frame 177
G.goPlay(this, "idle");
Symbol 99 MovieClip Frame 179
G.actAttack(this, G.ATTACK_HIGH);
if (G.getPlayerHealthPercent() <= 25) {
}
Symbol 99 MovieClip Frame 186
G.goPlay(this, "idle");
Symbol 99 MovieClip Frame 188
G.actAttack(this, G.ATTACK_LOW);
if (G.chance(50)) {
}
Symbol 99 MovieClip Frame 194
G.goPlay(this, "idle");
Symbol 99 MovieClip Frame 196
G.actBusy(this);
G.endDigestion(this);
G.consumePlayer(this);
Symbol 99 MovieClip Frame 214
G.setEnemySolid(0);
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 222
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 227
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 234
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 241
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 247
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 255
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 261
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 269
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 275
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 281
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 289
if (G.chance(25)) {
G.goPlay(this, "idlefront");
G.LogParsed("REpeat");
}
Symbol 99 MovieClip Frame 290
if (G.chance(20)) {
G.goPlay(this, "idletobehind");
G.LogParsed("behind");
} else {
G.goPlay(this, "idletodown");
G.LogParsed("down");
}
Symbol 99 MovieClip Frame 305
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 314
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 323
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 335
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 346
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 358
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 367
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 375
if (G.chance(65)) {
G.goPlay(this, "idlebehind");
G.LogParsed("REpeat");
} else {
G.goPlay(this, "behindtofront");
G.LogParsed("Change");
}
Symbol 99 MovieClip Frame 385
G.goPlay(this, "idlefront");
Symbol 99 MovieClip Frame 387
G.setEnemyFaceTarget(1);
Symbol 99 MovieClip Frame 404
G.setEnemyFaceTarget(0);
G.goPlay(this, "idlefront");
Symbol 99 MovieClip Frame 426
G.setEnemySolid(1);
Symbol 99 MovieClip Frame 434
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 449
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 463
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 477
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "afraid");
}
Symbol 99 MovieClip Frame 485
if (G.chance(65)) {
G.goPlay(this, "idledown");
G.LogParsed("REpeat");
} else {
G.goPlay(this, "Yawn");
G.LogParsed("Yawn");
}
Symbol 99 MovieClip Frame 582
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 585
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 588
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 591
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 594
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 597
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 600
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 603
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 606
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 609
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 612
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 615
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 618
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 621
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 624
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 627
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 630
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 633
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 636
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 639
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 642
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 645
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 648
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 651
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 653
if (G.hitPlayer(eatbox)) {
G.goPlay(this, "yawnvore");
G.LogParsed("Vore Mouth");
}
Symbol 99 MovieClip Frame 718
G.goPlay(this, "downtofront");
Symbol 99 MovieClip Frame 720
G.setEnemySolid(0);
Symbol 99 MovieClip Frame 745
G.goPlay(this, "idlefront");
Symbol 99 MovieClip Frame 747
G.actBusy(this);
G.consumePlayer(this);
G.enemySetViewBetween(1);
Symbol 99 MovieClip Frame 766
G.startDigestion(this, 0);
var WigObj = new Object();
WigObj.l = "Lyawnvoredigest";
WigObj.r = "yawnexpulse";
G.setAnims(this, WigObj);
G.setEscape(this, "grabEscape", "R", 3, 0);
G.setEscape(this, "eating", "L", 5, 0);
G.setEscape(this, "yawnexpulse", "W", 8, 0);
Symbol 99 MovieClip Frame 785
G.goPlay(this, "yawnvoredigest");
Symbol 99 MovieClip Frame 798
G.goPlay(this, "yawnvoredigest");
Symbol 99 MovieClip Frame 802
G.endDigestion(this);
Symbol 99 MovieClip Frame 843
G.unconsumePlayer(this, 140);
G.actUnbusy();
G.goPlay(this, "afraid");