Animation Script Functions Overview
Animation Script Functions Overview
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2)
{
if (frame==1)
{
void self=getlocalvar("self");
void par=getentityproperty(self,"parent");
if (par!=NULL()){
damageentity(par,self,0,1,openborconstant("ATK_NORMAL"));
}
}
return;
}
if(frame==7)killentity(getlocalvar("self"));
return;
}
changeentityproperty(getlocalvar("self"),"animation",openborconstant("ANI_FOLLOW1")
);
}else if(frame==17){
killentity(getlocalvar("self"));
}
return;
}
if(animhandle==6)
{
if(frame==54){
killentity(getlocalvar("self"));
}
return;
}
}
return;
}
if(frame==7)killentity(getlocalvar("self"));
if(frame==1)
{
spawnEntity("fblood2", 0, 0, 0, -1, 0, 0);
}
return;
}
}
return;
}
void self=getlocalvar("self");
void par=getentityproperty(self,"parent");
if(!par||getentityproperty(par,"health")<1||frame==66)killentity(self);
return;
}
}
return;
}
}
if(frame==2)
{
moveBack(0.4);
}
if(frame==3)
{
moveBack(0);
}
if(frame==4)
{
suicide();
}
return;
}
}
if(frame==1)
{
spawnEntity("flame", 15, 30, 1, 0, 0, 0);
}
if(frame==2)
{
spawnEntity("iorifs", -13, 50, 1, 0, 0, 0);
}
if(frame==3)
{
spawnEntity("flame", -0, 30, 1, 0, 0, 0);
}
if(frame==4)
{
spawnEntity("flame", -14, 0, 1, 0, 0, 0);
}
if(frame==5)
{
spawnEntity("flame", 14, 20, 1, 0, 0, 0);
}
return;
}
}
if(frame==0)
{
spawn02("shinez");
}
return;
}
if(frame==1){
changeentityproperty(getlocalvar("self"),"position",openborvariant("xpos"),276+open
borvariant("ypos"),0);
}
if (frame==54){killentity(getlocalvar("self"));}
return;
}
if(!frame){
changeentityproperty(getlocalvar("self"),"position",openborvariant("xpos"),276+open
borvariant("ypos"),0);
}else{
killentity(getlocalvar("self"));
}
return;
}
void self=getlocalvar("self");
void par=getentityproperty(self,"parent");
if(par){
if(getentityproperty(par,"animationid")!
=openborconstant("ANI_FREESPECIAL")){killentity(self);}
}
return;
}
}
return;
}
if(animhandle==45)
{
if(frame==1)
{
dasher(3, 0, 0);
}
if(frame==3)
{
dasher(1, 0, 0);
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==46)
{
if(frame==2)
{
dasher(-3, 0, 0);
}
if(frame==4)
{
dasher(-1, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==49)
{
if(frame==0)
{
dasher(1.5, 0, 0);
}
if(frame==3)
{
dasher(0.5, 0, 0);
}
if(frame==4)
{
spawn01("dust", 0, 0, 0);
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==59)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 38, 0, -1, -1);
}
if(frame==2)
{
position(0, 36, 0, -1, -1);
}
if(frame==3)
{
position(0, 20, 0, -1, -1);
}
if(frame==4)
{
position(0, -34, 0, -1, 1);
}
if(frame==5)
{
position(0, -24, 0, -1, 1);
}
if(frame==6)
{
position(4, -24, 84, -1, -1);
}
if(frame==6)
{
slamHurt();
}
if(frame==7)
{
position(4, -14, 81, -1, -1);
}
if(frame==8)
{
position(3, 60, 67, -1, -1);
}
if(frame==8)
{
throw(24, -2.5, 2.6, 0, -1);
}
return;
}
if(animhandle==60)
{
if(frame==0)
{
flip();
}
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, -30, 0, -1, 0);
}
if(frame==1)
{
dasher(1.5, 0, 0);
}
if(frame==1)
{
position(4, -30, 60, -1, -1);
}
if(frame==2)
{
position(4, 20, 50, -1, -1);
}
if(frame==3)
{
slamHurt();
}
if(frame==3)
{
position(2, 26, 0, -1, 1);
}
if(frame==4)
{
position(3, 20, 0, -1, 1);
}
if(frame==5)
{
position(0, -20, 0, -1, 1);
}
if(frame==6)
{
stop();
}
if(frame==6)
{
position(4, 40, 45, -1, -1);
}
if(frame==6)
{
throw(27, -3, 3, 0, -1);
}
if(frame==7)
{
depost();
}
if(frame==7)
{
clearSlam();
}
return;
}
if(animhandle==63)
{
if(frame==0)
{
key("D", "ANI_FOLLOW1", 1);
}
if(frame==0)
{
key("U", "ANI_GRABFORWARD", 1);
}
return;
}
if(animhandle==67)
{
if(frame==0)
{
costSelf(50);
}
if(frame==25)
{
makeInv(140);
}
return;
}
if(animhandle==70)
{
if(frame==0)
{
dasher(1, 0, 0);
}
if(frame==3)
{
dasher(1.8, 0, 0);
}
if(frame==21)
{
dasher(1, 0, 0);
}
if(frame==27)
{
stop();
}
return;
}
if(animhandle==71)
{
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", -20, 15, 0);
}
if(frame==2)
{
dasher(0.5, 0, 0);
}
if(frame==49)
{
stop();
}
if(frame==51)
{
leaper(1, 4, 0);
}
return;
}
if(animhandle==73)
{
if(frame==0)
{
overHeat(0.2);
}
if(frame==3)
{
shoot("hadouken", 50, 70, 1);
}
return;
}
if(animhandle==74)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", 22, 31, 1);
}
if(frame==4)
{
leaper(1, 2, 0);
}
if(frame==14)
{
leaper(2, 3, 0);
}
return;
}
if(animhandle==75)
{
if(frame==2)
{
spawn02("flash3");
}
if(frame==2)
{
spawn01("kchange", 0, 0, 1);
}
return;
}
if(animhandle==76)
{
if(frame==0)
{
flip();
}
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, -30, 0, -1, 0);
}
if(frame==1)
{
position(4, -30, 60, -1, -1);
}
if(frame==2)
{
stop();
}
if(frame==2)
{
position(4, 40, 45, -1, -1);
}
if(frame==2)
{
throw(23, -3, 3, 0, -1);
}
if(frame==3)
{
depost();
}
if(frame==3)
{
clearSlam();
}
return;
}
}
return;
}
if(animhandle==85)
{
if(frame==1)
{
spawn01("dust", 0, 0, 1);
}
if(frame==1)
{
dasher(1, 0, 0);
}
if(frame==3)
{
dasher(0.5, 0, 0);
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==86)
{
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
if(frame==8)
{
spawn01("dust", 0, 0, 1);
}
if(frame==8)
{
dasher(3.5, 0, 0);
}
if(frame==9)
{
dasher(1.5, 0, 0);
}
if(frame==10)
{
stop();
}
if(frame==10)
{
spawn01("dust", 0, 0, 0);
}
return;
}
if(animhandle==87)
{
if(frame==0)
{
spawn01("dust", 0, 0, 1);
}
return;
}
if(animhandle==88)
{
if(frame==8)
{
spawn01("dust", 0, 0, 1);
}
return;
}
if(animhandle==90)
{
if(frame==0)
{
key("F", "ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==91)
{
if(!frame)changeentityproperty(getlocalvar("self"), "aiflag",
"jumpid",openborconstant("ANI_FOLLOW1"));
return;
}
if(animhandle==93)
{
if(frame==5)
{
changeAni("ANI_GET");
}
return;
}
if(animhandle==97)
{
if(frame==0)
{
spawn01("fblock", 38, 71, 1);
}
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 38, 1, 0, -1);
}
if(frame==1)
{
position(4, 12, 82, 0, 1);
}
if(frame==1)
{
slamHurt();
}
if(frame==2)
{
position(4, -18, 82, 0, 1);
}
if(frame==3)
{
spawn01("down", -25, 0, 1);
}
if(frame==3)
{
position(2, -40, 0, -1, -1);
}
if(frame==3)
{
hurt(27);
}
if(frame==4)
{
position(3, -39, 0, -1, -1);
}
if(frame==5)
{
depost();
}
if(frame==5)
{
clearSlam();
}
return;
}
if(animhandle==105)
{
if(frame==0)
{
costSelf(50);
}
if(frame==2)
{
spawn02("flash3");
}
if(frame==2)
{
spawn01("flash4", 2, 103, 1);
}
if(frame==6)
{
spawn01("down", 8, 0, 1);
}
if(frame==10)
{
makeInv(100);
}
return;
}
if(animhandle==106)
{
if(frame==6)
{
if(getentityproperty(getlocalvar("self"),"health")<=25)
spawn01("geyser2",70,0,0);
else
spawn01("geyser",70,0,0);
}
if(frame==2)
{
spawn02("flash3");
}
if(frame==2)
{
spawn01("flash4", 0, 108, 0);
}
return;
}
if(animhandle==107)
{
if(frame==0)
{
block(1);
}
if(frame==3)
{
block(0);
}
return;
}
if(animhandle==108)
{
if(frame==0)
{
dasher(2, 0, 0);
}
if(frame==0)
{
spawn01("dust", 0, 0, 1);
}
if(frame==0)
{
block(1);
}
if(frame==1)
{
stop();
}
if(frame==2)
{
block(0);
}
if(frame==10)
{
changeAni("ANI_GET");
}
return;
}
if(animhandle==109)
{
if(frame==1){
void self=getlocalvar("self");
void time=getentityvar(self,1);
if(time&&openborvariant("elapsed_time")<time){
changeentityproperty(self,"mp",getentityproperty(self,"mp")
+15);
sendMessage("MP RECOVERED!");
}
}
return;
}
if(animhandle==110)
{
if(frame==7)
{
spawnEntity("burnknl", 94, 76, 1, 0, 1, 0);
}
if(frame==14)
{
changeAni("ANI_GET");
}
return;
}
}
if(frame==0)
{
select();
}
return;
}
if(animhandle==114)
{
if(frame==0)
{
brakeWalk("ANI_FOLLOW1", 2.0);
}
return;
}
if(animhandle==115)
{
brakeRun(0.2,3.2,3.7);
return;
}
if(animhandle==118)
{
if(frame==0)
{
recover();
}
if(frame==1)
{
recover();
}
if(frame==2)
{
recover();
}
return;
}
if(animhandle==126)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 20, 0, -1, 0);
}
if(frame==1)
{
position(1, 10, 69, -1, 1);
}
if(frame==2)
{
position(2, -70, 10, -1, 1);
}
if(frame==3)
{
position(2, -35, 1, -1, 1);
}
if(frame==4)
{
spawn01("down", -20, 0, 0);
}
if(frame==5)
{
depost();
}
if(frame==5)
{
finish(28, -2, 2, 0, 0);
}
if(frame==6)
{
clearSlam();
}
return;
}
if(animhandle==127)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 40, 1, 1, -1);
}
if(frame==1)
{
position(4, -5, 70, 1, 1);
}
if(frame==1)
{
slamHurt();
}
if(frame==2)
{
throw(21, -3, 3, 0, -1);
}
return;
}
if(animhandle==131)
{
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
return;
}
if(animhandle==135)
{
if(frame==0)
{
costSelf(50);
}
if(frame==21)
{
makeInv(100);
}
return;
}
if(animhandle==141)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", 30, 65, 0);
}
if(frame==20)
{
leaper(0, 4.8, 0);
}
return;
}
if(animhandle==144)
{
if(frame==0)
{
lockRA(70, 10, 50, "ANI_FREESPECIAL4", "");
}
return;
}
if(animhandle==145)
{
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, -40, -50, -1, -1);
}
if(frame==0)
{
leaper(1.5, 2.5, 0);
}
if(frame==1)
{
position(0, -30, -35, -1, -1);
}
if(frame==2)
{
position(0, -40, 10, -1, -1);
}
if(frame==3)
{
position(1, -20, 80, -1, -1);
}
if(frame==4)
{
position(1, 20, 97, -1, -1);
}
if(frame==5)
{
position(2, 80, 1, -1, -1);
}
if(frame==5)
{
hurt2(27, 1);
}
if(frame==5)
{
spawn01("down", 85, 0, 1);
}
if(frame==6)
{
finish(1, -2, 2, 0, 1);
}
if(frame==6)
{
depost();
}
if(frame==6)
{
clearSlam();
}
return;
}
if(animhandle==146)
{
if(!frame)setscriptvar(0,0);
if(frame==0)
{
spawn01("dust", 0, 0, 0);
}
if(frame==0)
{
dasher(2, 0, 0);
}
if(frame==2)
{
dasher(1, 0, 0);
}
if(frame==3)
{
stop();
}
return;
}
if(animhandle==147)
{
if(frame==1)
{
leaper(-2, 2, 0);
}
if(frame==1)
{
noDropDamage();
}
return;
}
}
return;
}
if(animhandle==161)
{
if(frame==1)
{
dasher(1.8, 0, 0);
}
if(frame==4)
{
stop();
}
if(frame==5)
{
dasher(1.8, 0, 0);
}
if(frame==8)
{
stop();
}
return;
}
if(animhandle==162)
{
if(frame==0)
{
flip();
}
if(frame==0)
{
changeAni("ANI_ATTACKDOWN");
}
return;
}
if(animhandle==165)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 20, 0, -1, 0);
}
if(frame==1)
{
position(0, 15, 0, -1, 0);
}
if(frame==2)
{
position(4, 24, 94, -1, 1);
}
if(frame==3)
{
position(2, -72, 89, -1, 1);
}
if(frame==3)
{
slamHurt();
}
if(frame==4)
{
throw(20, -2.7, 2.2, 0, 1);
}
return;
}
if(animhandle==171)
{
if(frame==0)
{
stayAir(24);
}
if(frame==1)
{
dasher(2.5, -3, 0);
}
return;
}
if(animhandle==174)
{
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
if(frame==11)
{
changeAni("ANI_FOLLOW1");
}
return;
}
if(animhandle==175)
{
if(frame==1)
{
spawn01("dust", 0, 0, 0);
}
if(frame==1)
{
dasher(3.4, 0, 0);
}
if(frame==4)
{
dasher(2, 0, 0);
}
if(frame==6)
{
leaper(2, 2, 0);
}
if(frame==16)
{
changeAni("ANI_FOLLOW1");
}
return;
}
if(animhandle==176)
{
if(frame==0)
{
costSelf(50);
}
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", -17, 10, 0);
}
if(frame==9)
{
flip();
}
return;
}
if(animhandle==177)
{
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", 33, 48, 0);
}
return;
}
if(animhandle==179)
{
if(frame==12)
{
changeAni("ANI_FOLLOW1");
}
return;
}
if(animhandle==181)
{
if(frame==1)
{
spawn01("dust", 0, 0, 0);
}
return;
}
}
if(frame==0)
{
tyrantBody(0, 0.75);
}
return;
}
if(animhandle==197)
{
if(frame==0)
{
backAni("ANI_FOLLOW1");
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
return;
}
if(animhandle==198)
{
if(frame==0)
{
backAni("ANI_FOLLOW1");
}
if(frame==1)
{
lock();
}
if(frame==1)
{
slamStart();
}
if(frame==1)
{
position(0, 20, 0, -1, 0);
}
if(frame==2)
{
position(0, 10, 60, -1, 0);
}
if(frame==3)
{
position(0, -5, 65, -1, 0);
}
if(frame==4)
{
position(1, 0, 135, -1, 0);
}
if(frame==5)
{
position(1, 0, 130, -1, 0);
}
if(frame==6)
{
position(2, 80, 100, -1, 0);
}
if(frame==7)
{
position(2, 80, 20, -1, 0);
}
if(frame==8)
{
position(2, 70, 0, -1, 0);
}
if(frame==8)
{
hurt(34);
}
if(frame==8)
{
spawn01("DOWN", 70, 0, 1);
}
if(frame==9)
{
position(3, 80, 1, -1, 0);
}
if(frame==9)
{
depost();
}
if(frame==10)
{
key("A", "ANI_FREESPECIAL9", 0);
}
if(frame==11)
{
clearSlam();
}
return;
}
if(animhandle==201)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
if(frame==0)
{
key("U", "ANI_GRABFORWARD", 1);
}
return;
}
if(animhandle==202)
{
if(frame==0)
{
lockRA(90, 10, 45, "ANI_FOLLOW3", "");
}
return;
}
if(animhandle==203)
{
if(frame==3)
{
dasher(4, -3, 0);
}
if(frame==9)
{
enterAtt("ANI_FOLLOW4");
}
return;
}
if(animhandle==205)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", 0, 80, 1);
}
if(frame==3)
{
lockR(90, 13, 7, "ANI_FREESPECIAL6", "");
}
return;
}
if(animhandle==206)
{
if(frame==3)
{
spawn01("dash", 0, 0, 1);
}
if(frame==10)
{
changeAni("ANI_JUMPLAND");
}
return;
}
if(animhandle==207)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==4)
{
counterCo(0.1);
}
return;
}
if(animhandle==208)
{
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 70, 0, -1, -1);
}
if(frame==0)
{
spawn01("fblock", 80, 60, 1);
}
if(frame==1)
{
position(0, 20, 0, -1, 0);
}
if(frame==2)
{
position(0, 10, 60, -1, 0);
}
if(frame==3)
{
position(0, -5, 65, -1, 0);
}
if(frame==4)
{
position(1, 0, 135, -1, 0);
}
if(frame==5)
{
position(1, 0, 130, -1, 0);
}
if(frame==6)
{
position(2, 80, 100, -1, 0);
}
if(frame==7)
{
position(2, 80, 20, -1, 0);
}
if(frame==8)
{
position(2, 70, 0, -1, 0);
}
if(frame==8)
{
hurt2(22, 1);
}
if(frame==8)
{
spawn01("DOWN", 70, 0, 1);
}
if(frame==9)
{
position(0, 20, 0, -1, 0);
}
if(frame==10)
{
position(0, 10, 60, -1, 0);
}
if(frame==11)
{
position(0, -5, 65, -1, 0);
}
if(frame==12)
{
position(1, 0, 135, -1, 0);
}
if(frame==13)
{
position(1, 0, 130, -1, 0);
}
if(frame==14)
{
position(2, 80, 100, -1, 0);
}
if(frame==15)
{
position(2, 80, 20, -1, 0);
}
if(frame==16)
{
position(2, 70, 0, -1, 0);
}
if(frame==16)
{
hurt2(26, 1);
}
if(frame==16)
{
spawn01("DOWN", 70, 0, 1);
}
if(frame==17)
{
position(0, 40, 0, -1, 1);
}
if(frame==18)
{
position(0, 34, 5, -1, 1);
}
if(frame==19)
{
position(0, 20, 10, -1, 1);
}
if(frame==20)
{
position(0, 10, 15, -1, 1);
}
if(frame==21)
{
position(0, 0, 20, -1, 1);
}
if(frame==22)
{
position(1, -30, 80, -1, 1);
}
if(frame==23)
{
position(1, -100, 75, -1, 1);
}
if(frame==24)
{
position(2, -135, 1, -1, 1);
}
if(frame==24)
{
hurt2(29, 1);
}
if(frame==24)
{
spawn01("DOWN", -135, 0, 1);
}
if(frame==25)
{
position(3, -135, 0, -1, 1);
}
if(frame==28)
{
flip();
}
if(frame==28)
{
position(0, 40, 0, -1, 1);
}
if(frame==29)
{
position(0, 34, 5, -1, 1);
}
if(frame==30)
{
position(0, 20, 10, -1, 1);
}
if(frame==31)
{
position(0, 10, 15, -1, 1);
}
if(frame==32)
{
position(0, 0, 20, -1, 1);
}
if(frame==33)
{
position(1, -30, 80, -1, 1);
}
if(frame==34)
{
position(1, -100, 75, -1, 1);
}
if(frame==35)
{
position(2, -135, 1, -1, 1);
}
if(frame==35)
{
hurt2(29, 1);
}
if(frame==35)
{
spawn01("DOWN", -135, 0, 1);
}
if(frame==36)
{
position(3, -135, 0, -1, 1);
}
if(frame==39)
{
flip();
}
if(frame==39)
{
leaper(0.5, 3, 0);
}
if(frame==39)
{
position(0, 20, 0, -1, 0);
}
if(frame==40)
{
position(0, 10, 60, -1, 0);
}
if(frame==41)
{
position(0, -5, 65, -1, 0);
}
if(frame==42)
{
position(1, 0, 135, -1, 0);
}
if(frame==43)
{
position(1, 0, 130, -1, 0);
}
if(frame==44)
{
position(2, 80, 100, -1, 0);
}
if(frame==45)
{
position(2, 80, 20, -1, 0);
}
if(frame==46)
{
position(2, 70, 0, -1, 0);
}
if(frame==46)
{
position(3, 80, 0, -1, 0);
}
if(frame==46)
{
hurt(48);
}
if(frame==46)
{
spawn01("DOWN", 70, 0, 1);
}
if(frame==47)
{
depost();
}
if(frame==48)
{
clearSlam();
}
return;
}
if(animhandle==210)
{
if(frame==1)
{
lock();
}
if(frame==1)
{
slamStart();
}
if(frame==1)
{
position(0, 0, 0, -1, 0);
}
if(frame==2)
{
position(0, 0, 0, -1, 0);
}
if(frame==3)
{
position(0, 0, 0, -1, 0);
}
if(frame==4)
{
position(0, 0, 0, -1, 0);
}
if(frame==5)
{
position(0, 0, 0, -1, 0);
}
if(frame==6)
{
position(0, 0, 0, -1, 0);
}
if(frame==7)
{
position(0, 0, 0, -1, 0);
}
if(frame==8)
{
position(1, -10, 100, -1, 0);
}
if(frame==9)
{
position(1, -10, 100, -1, 0);
}
if(frame==10)
{
position(2, 0, 70, -1, 0);
}
if(frame==11)
{
position(2, 0, 40, -1, 0);
}
if(frame==12)
{
position(3, 0, 0, -1, 0);
}
if(frame==12)
{
spawn01("DOWN", 0, 0, 0);
}
if(frame==12)
{
hurt(29);
}
if(frame==13)
{
depost();
}
if(frame==13)
{
clearSlam();
}
if(frame==15)
{
flip();
}
if(frame==16)
{
changeAni("ANI_RISE");
}
return;
}
if(animhandle==211)
{
if(frame==1)
{
leaper(1, 2, 0);
}
if(frame==4)
{
damageTarget(100, 30, 30, 11);
}
if(frame==8)
{
flip();
}
if(frame==9)
{
changeAni("ANI_RISE");
}
return;
}
if(animhandle==212)
{
if(frame==0)
{
costSelf(50);
}
if(frame==15)
{
makeInv(200);
}
return;
}
if(animhandle==213)
{
if(frame==0)
{
leaper(0.8, 4, 0);
}
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 20, 0, -1, 0);
}
if(frame==1)
{
position(0, 10, 60, -1, 0);
}
if(frame==2)
{
position(0, -5, 65, -1, 0);
}
if(frame==3)
{
position(1, 0, 135, -1, 0);
}
if(frame==4)
{
position(1, 0, 130, -1, 0);
}
if(frame==5)
{
position(2, 80, 100, -1, 0);
}
if(frame==6)
{
position(2, 80, 20, -1, 0);
}
if(frame==7)
{
position(2, 70, 0, -1, 0);
}
if(frame==7)
{
hurt(41);
}
if(frame==7)
{
spawn01("DOWN", 70, 0, 1);
}
if(frame==8)
{
position(3, 80, 1, -1, 0);
}
if(frame==8)
{
depost();
}
if(frame==9)
{
clearSlam();
}
return;
}
if(animhandle==215)
{
if(frame==0)
{
backAni("ANI_FOLLOW1");
}
if(frame==1)
{
lock();
}
if(frame==1)
{
slamStart();
}
if(frame==1)
{
position(0, 70, 0, -1, -1);
}
if(frame==1)
{
spawn01("fblock", 80, 60, 1);
}
if(frame==2)
{
position(0, 60, 0, -1, -1);
}
if(frame==3)
{
position(0, 55, 10, -1, -1);
}
if(frame==4)
{
position(0, 45, 30, -1, -1);
}
if(frame==5)
{
position(4, 35, 90, 1, 1);
}
if(frame==6)
{
position(4, 20, 90, 1, 1);
}
if(frame==7)
{
position(4, 0, 110, 1, 1);
}
if(frame==8)
{
position(4, -10, 110, 1, 1);
}
if(frame==9)
{
position(4, -80, 110, 1, 1);
}
if(frame==10)
{
position(4, -100, 110, 1, 1);
}
if(frame==11)
{
position(4, -125, 80, 1, 1);
}
if(frame==12)
{
position(4, -140, 70, 1, 1);
}
if(frame==12)
{
throw(30, -4, 1, 0, 1);
}
if(frame==13)
{
depost();
}
if(frame==13)
{
clearSlam();
}
if(frame==21)
{
flip();
}
return;
}
if(animhandle==216)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 40, 0, -1, 1);
}
if(frame==1)
{
position(0, 34, 5, -1, 1);
}
if(frame==2)
{
position(0, 20, 10, -1, 1);
}
if(frame==3)
{
position(0, 10, 15, -1, 1);
}
if(frame==4)
{
position(0, 0, 20, -1, 1);
}
if(frame==5)
{
position(1, -30, 80, -1, 1);
}
if(frame==6)
{
position(1, -100, 75, -1, 1);
}
if(frame==7)
{
position(2, -135, 0, -1, 1);
}
if(frame==7)
{
hurt(65);
}
if(frame==7)
{
spawn01("DOWN", -135, 0, 1);
}
if(frame==8)
{
position(3, -135, 0, -1, 1);
}
if(frame==8)
{
depost();
}
if(frame==8)
{
clearSlam();
}
if(frame==12)
{
dasher(-0.5, 0, 0);
}
return;
}
if(animhandle==217)
{
if(frame==0)
{
dasher(3, 0, 0);
}
if(frame==1)
{
spawn01("dash", 0, 0, 1);
}
if(frame==2)
{
dasher(1, 0, 0);
}
return;
}
if(animhandle==218)
{
if(frame==0)
{
leaper(2, 2, 0);
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 0, 1, -1, 0);
}
if(frame==0)
{
position(1, -10, 100, -1, 0);
}
if(frame==1)
{
position(1, -10, 100, -1, 0);
}
if(frame==2)
{
position(2, 0, 70, -1, 0);
}
if(frame==3)
{
position(2, 0, 40, -1, 0);
}
if(frame==4)
{
position(3, 0, 0, -1, 0);
}
if(frame==4)
{
spawn01("DOWN", 0, 0, 0);
}
if(frame==4)
{
hurt(37);
}
if(frame==5)
{
depost();
}
if(frame==5)
{
clearSlam();
}
if(frame==7)
{
flip();
}
if(frame==8)
{
changeAni("ANI_RISE");
}
return;
}
if(animhandle==219)
{
if(frame==1)
{
spawn01("dust", 0, 0, 0);
}
if(frame==1)
{
dasher(2.5, 0, 0);
}
if(frame==2)
{
dasher(1.3, 0, 0);
}
if(frame==4)
{
stop();
}
return;
}
}
if(frame==1)
{
dasher(6, 0, 0);
}
if(frame==3)
{
dasher(3, 0, 0);
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==232)
{
if(frame==2)
{
dasher(-3, 0, 0);
}
if(frame==4)
{
dasher(-1, 0, 0);
}
if(frame==5)
{
key("A", "ANI_FOLLOW2", 0);
}
if(frame==6)
{
key("A", "ANI_FOLLOW2", 0);
}
if(frame==6)
{
stop();
}
if(frame==7)
{
key("A", "ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==234)
{
if(frame==0)
{
dasher(0, 0, -1);
}
if(frame==7)
{
stop();
}
return;
}
if(animhandle==239)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 67, 0, 0, -1);
}
if(frame==4)
{
position(0, 75, 0, 0, -1);
}
if(frame==5)
{
position(0, 89, 0, 0, -1);
}
if(frame==6)
{
position(0, 85, 0, 0, -1);
}
if(frame==8)
{
position(0, 67, 0, 0, -1);
}
if(frame==9)
{
position(0, 60, 0, 0, -1);
}
if(frame==10)
{
position(1, 70, 30, 0, -1);
}
if(frame==11)
{
position(1, 80, 100, 0, -1);
}
if(frame==12)
{
position(1, 0, 110, 0, -1);
}
if(frame==13)
{
throw(19, 3, 3, 0, 1);
}
if(frame==17)
{
makeInv(50);
}
return;
}
if(animhandle==246)
{
if(frame==0)
{
costSelf(50);
}
if(frame==1)
{
dasher(3, 0, 0);
}
if(frame==6)
{
dasher(1, 0, 0);
}
if(frame==7)
{
stop();
}
return;
}
if(animhandle==247)
{
if(frame==0)
{
dasher(3, 0, 0);
}
if(frame==1)
{
dasher(1, 0, 0);
}
if(frame==2)
{
stop();
}
return;
}
if(animhandle==250)
{
if(frame==3)
{
spawn02("flash3");
}
if(frame==3)
{
spawn01("flash4", 40, 50, 1);
}
if(frame==7)
{
leaper(1, 1.5, 0);
}
if(frame==23)
{
leaper(1, 1.8, 0);
}
if(frame==39)
{
leaper(2, 3.5, 0);
}
return;
}
if(animhandle==251)
{
if(frame==7)
{
leaper(2, 3.5, 0);
}
return;
}
if(animhandle==252)
{
if(frame==0)
{
dasher(3, 0, 0);
}
if(frame==2)
{
stop();
}
if(frame==3)
{
spawn02("flash3");
}
if(frame==3)
{
spawn01("flash4", -25, 40, 1);
}
return;
}
if(animhandle==253)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", 20, 70, 1);
}
if(frame==6)
{
dasher(4, 0, 0);
}
if(frame==10)
{
dasher(2, 0, 0);
}
if(frame==12)
{
stop();
}
return;
}
if(animhandle==255)
{
if(frame==3)
{
tosser("rose", 20, 123, -1, 2, 2.2, 0);
}
return;
}
if(animhandle==256)
{
if (frame==0){
void self=getlocalvar("self");
if (getentityproperty(self,"a")>0){
changeentityproperty(self,"animation",openborconstant("ANI_FOLLOW4"));
}
}
return;
}
if(animhandle==257)
{
if(frame==0)
{
dasher(2, 0, 0);
}
if(frame==2)
{
dasher(1.8, 0, 0);
}
if(frame==4)
{
stop();
}
if(frame==5)
{
counterCo(2);
}
return;
}
}
return;
}
if(animhandle==263)
{
if(frame==0)
{
dasher(0.2, 0, 0);
}
if(frame==1)
{
dasher(1, 0, 0);
}
if(frame==2)
{
dasher(3, 0, 0);
}
if(frame==3)
{
dasher(1, 0, 0);
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==264)
{
if(frame==3)
{
dasher(-0.2, 0, 0);
}
if(frame==4)
{
dasher(-3, 0, 0);
}
if(frame==5)
{
dasher(-0.2, 0, 0);
}
if(frame==6)
{
stop();
}
return;
}
if(animhandle==265)
{
if(frame==0)
{
key("A", "ANI_FREESPECIAL4", 0);
}
if(frame==1)
{
key("A", "ANI_FREESPECIAL4", 0);
}
return;
}
if(animhandle==269)
{
if(frame==0)
{
spawn01("dash", 0, 0, 1);
}
if(frame==0)
{
dasher(3.4, 0, 0);
}
if(frame==2)
{
dasher(1.2, 0, 0);
}
if(frame==3)
{
dasher(0.4, 0, 0);
}
return;
}
if(animhandle==274)
{
if(frame==2)
{
shoot2("hadou", 44, 54, 1, 1, -1, 0);
}
return;
}
if(animhandle==279)
{
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
if(frame==0)
{
key("U", "ANI_GRABFORWARD", 1);
}
return;
}
if(animhandle==282)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 45, 0, -1, -1);
}
if(frame==1)
{
position(0, 0, 0, -1, -1);
}
if(frame==2)
{
position(0, -28, 0, -1, -1);
}
if(frame==3)
{
position(0, -32, 0, -1, -1);
}
if(frame==4)
{
position(0, -33, 0, -1, -1);
}
if(frame==5)
{
position(0, -9, 0, -1, -1);
}
if(frame==6)
{
position(1, 0, 45, -1, -1);
}
if(frame==7)
{
position(1, 20, 42, -1, -1);
}
if(frame==8)
{
throw(27, -3, 3, 0, -1);
}
if(frame==8)
{
depost();
}
if(frame==8)
{
clearSlam();
}
return;
}
if(animhandle==283)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 16, 0, -1, -1);
}
if(frame==1)
{
position(0, 16, 0, -1, -1);
}
if(frame==2)
{
position(4, -16, 46, -1, 1);
}
if(frame==3)
{
position(4, -67, 73, -1, 1);
}
if(frame==4)
{
throw(29, -3, 2.4, 0, -1);
}
if(frame==4)
{
depost();
}
if(frame==4)
{
clearSlam();
}
if(frame==9)
{
flip();
}
if(frame==9)
{
makeInv(50);
}
return;
}
if(animhandle==284)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", -22, 124, 1);
}
if(frame==10)
{
spawn01("gsp", 0, 0, 1);
}
if(frame==10)
{
spawn01("gsp2", 0, 0, -10);
}
return;
}
if(animhandle==285)
{
if(frame==0)
{
dasher(3, 0, 0);
}
return;
}
if(animhandle==286)
{
if(frame==0)
{
stop();
}
if(frame==0)
{
spawn02("GSYS");
}
if(frame==6)
{
makeInv(100);
}
return;
}
if(animhandle==289)
{
if(frame==6)
{
key("UA", "ANI_FREESPECIAL2", 0);
}
if(frame==7)
{
key("UA", "ANI_FREESPECIAL2", 0);
}
return;
}
if(animhandle==290)
{
if(frame==13)
{
shoot2("hadoua", 77, 70, 1, 1.4, 0, 0);
}
return;
}
if(animhandle==292)
{
if(frame==0)
{
lockEntity(0);
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 20, -40, -1, -1);
}
if(frame==1)
{
position(0, 3, -30, -1, -1);
}
if(frame==2)
{
position(0, 2, -30, -1, -1);
}
if(frame==3)
{
position(0, 1, -30, -1, -1);
}
if(frame==4)
{
position(0, 4, -30, -1, -1);
}
if(frame==5)
{
position(0, -45, 0, -1, -1);
}
if(frame==6)
{
position(0, -55, 0, -1, -1);
}
if(frame==7)
{
position(0, -58, 10, -1, -1);
}
if(frame==8)
{
position(0, -59, 15, -1, -1);
}
if(frame==9)
{
position(1, -12, 99, -1, -1);
}
if(frame==10)
{
position(1, 84, 80, -1, -1);
}
if(frame==11)
{
throw(26, -3, 3, 0, -1);
}
if(frame==11)
{
depost();
}
if(frame==11)
{
clearSlam();
}
return;
}
}
return;
}
if(animhandle==301)
{
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
return;
}
if(animhandle==308)
{
if(frame==0)
{
spawn01("fblock", 33, 70, 1);
}
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 23, 0, -1, -1);
}
if(frame==1)
{
position(0, 23, 0, -1, -1);
}
if(frame==2)
{
position(0, 16, 0, -1, -1);
}
if(frame==3)
{
position(4, 20, 90, 1, 1);
}
if(frame==4)
{
slamHurt();
}
if(frame==4)
{
position(4, 0, 80, 1, 1);
}
if(frame==5)
{
throw(23, -3.2, 2.4, 0, 1);
}
return;
}
if(animhandle==319)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", -17, 90, 1);
}
if(frame==4)
{
spawn01("wing", -7, 0, 1);
}
return;
}
if(animhandle==320)
{
if(frame==3)
{
spawn02("flash3");
}
if(frame==3)
{
spawn01("flash4", -3, 115, 1);
}
if(frame==7)
{
spawn01("storm", 0, 0, 1);
}
return;
}
if(animhandle==321)
{
if(frame==0)
{
overHeat(5);
}
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", -30, 60, 0);
}
if(frame==10)
{
dasher(14, 0, 0);
}
if(frame==10)
{
spawn01("storm2", 90, 70, 1);
}
if(frame==12)
{
dasher(5, 0, 0);
}
if(frame==13)
{
stop();
}
return;
}
if(animhandle==322)
{
if(frame==0)
{
block(1);
}
if(frame==2)
{
block(0);
}
return;
}
if(animhandle==323)
{
if(frame==5)
{
leaper(1.2, 4, 0);
}
return;
}
if(animhandle==324)
{
if(frame==1)
{
spawn01("rarc", -10, 25, 1);
}
if(frame==5)
{
spawn01("shot2", 50, 0, 0);
}
if(frame==8)
{
spawnEntity02("rarc", 8, 5, 1, 0, 0, 0, 1, "ANI_FOLLOW1");
}
if(frame==10)
{
shoot("shot", 50, 0, 0);
}
if(frame==15)
{
changeAni("ANI_FOLLOW4");
}
return;
}
if(animhandle==325)
{
if(frame==0)
{
dasher(6, 0, 0);
}
if(frame==2)
{
dasher(4, 0, 0);
}
if(frame==3)
{
dasher(1.5, 0, 0);
}
if(frame==3)
{
spawn01("dust", 0, 0, 0);
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==326)
{
if(frame==4)
{
spawn01("dust", 0, 0, 1);
}
if(frame==4)
{
dasher(4, 0, 0);
}
if(frame==6)
{
dasher(2, 0, 0);
}
if(frame==8)
{
stop();
}
return;
}
if(animhandle==327)
{
if(frame==1)
{
stop();
}
if(frame==3)
{
spawn01("fwing", 5, 79, 1);
}
if(frame==9)
{
changeAni("ANI_FOLLOW4");
}
return;
}
if(animhandle==328)
{
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 55, 0, -1, -1);
}
if(frame==1)
{
position(0, 55, 0, -1, -1);
}
if(frame==2)
{
position(0, 40, 0, -1, -1);
}
if(frame==3)
{
position(4, 0, 108, 0, 1);
}
if(frame==4)
{
throw(33, -2.5, 2.5, 0, -1);
}
if(frame==12)
{
flip();
}
return;
}
}
return;
}
if(animhandle==333)
{
if(frame==1)
{
spawn01("dash", 0, 0, 1);
}
if(frame==1)
{
dasher(3.6, 0, 0);
}
if(frame==2)
{
stop();
}
return;
}
if(animhandle==347)
{
if(frame==3)
{
enterAtt("ANI_FOLLOW1");
}
return;
}
if(animhandle==348)
{
if(!frame){
void tar=getentityproperty(getlocalvar("self"),"grabbing");
if(tar)changeentityproperty(tar,"stalltime",openborvariant("elapsed_time")
+200);
}
return;
}
if(animhandle==349)
{
if(frame==4)
{
changeAni("ANI_FOLLOW1");
}
return;
}
if(animhandle==350)
{
if(frame==8)
{
makeInv(50);
}
return;
}
if(animhandle==354)
{
if(frame==8)
{
enterAtt("ANI_FOLLOW3");
}
return;
}
if(animhandle==355)
{
if(frame==0)
{
costSelf(50);
}
if(frame==3)
{
leaper(3, 3, 0);
}
return;
}
if(animhandle==356)
{
if(frame==9)
{
enterAtt("ANI_FOLLOW3");
}
return;
}
if(animhandle==358)
{
if(frame==10)
{
spawn02("flash3");
}
if(frame==10)
{
spawn01("flash4", -6, 8, 1);
}
return;
}
if(animhandle==360)
{
if(frame==0)
{
dasher(1.2, 0, 0);
}
if(frame==1)
{
spawn01("dust", 0, 0, 1);
}
if(frame==6)
{
spawn01("dust", 0, 0, 1);
}
if(frame==11)
{
spawn01("dust", 0, 0, 1);
}
if(frame==12)
{
stop();
}
if(frame==14)
{
changeAni("ANI_FOLLOW1");
}
return;
}
if(animhandle==362)
{
if(frame==4)
{
spawn02("flash3");
}
if(frame==4)
{
spawn01("flash4", -20, 0, 1);
}
if(frame==5)
{
leaper(1, 4, 0);
}
if(frame==11)
{
changeAni("ANI_GET");
}
return;
}
if(animhandle==363)
{
if(frame==1)
{
leaper(1, 4, 0);
}
if(frame==7)
{
changeAni("ANI_GET");
}
return;
}
}
return;
}
if(animhandle==373)
{
if(frame==0)
{
recover();
}
if(frame==1)
{
recover();
}
if(frame==2)
{
recover();
}
return;
}
if(animhandle==376)
{
if(frame==2)
setlocalvar("xdir",getentityproperty(getlocalvar("self"),"xdir"));
return;
}
if(animhandle==378)
{
if(frame==0)
{
key("U", "ANI_FOLLOW2", 0);
}
if(frame==0)
{
block(1);
}
if(frame==3)
{
block(0);
}
return;
}
if(animhandle==379)
{
if(frame==0)
{
key("U", "ANI_FOLLOW2", 0);
}
if(frame==0)
{
block(1);
}
if(frame==3)
{
block(0);
}
return;
}
if(animhandle==381)
{
if(frame==0)
{
key("U", "ANI_FOLLOW2", 0);
}
if(frame==0)
{
block(1);
}
if(frame==3)
{
block(0);
}
return;
}
if(animhandle==383)
{
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
return;
}
if(animhandle==384)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 22, 0, -1, 0);
}
if(frame==1)
{
spawn01("fblock", 25, 90, 1);
}
if(frame==1)
{
position(0, 25, 0, -1, 0);
}
if(frame==2)
{
position(1, 0, 75, -1, 1);
}
if(frame==3)
{
position(2, -25, 55, -1, 1);
}
if(frame==4)
{
position(2, -30, 0, -1, 1);
}
if(frame==4)
{
hurt(24);
}
if(frame==4)
{
spawn01("down", -40, 0, 1);
}
if(frame==5)
{
position(3, -40, 0, -1, 1);
}
if(frame==5)
{
finish(0, -2, 2, 0, 1);
}
if(frame==5)
{
depost();
}
if(frame==5)
{
clearSlam();
}
if(frame==12)
{
flip();
}
return;
}
if(animhandle==385)
{
if(frame==0)
{
dasher(2.5, 0, 0);
}
if(frame==5)
{
counterCo(2.6);
}
if(frame==6)
{
stop();
}
if(frame==6)
{
leaper(3, 2, 0);
}
return;
}
if(animhandle==386)
{
if(frame==0)
{
block(1);
}
if(frame==3)
{
block(0);
}
return;
}
if(animhandle==387)
{
if(frame==0)
{
block(1);
}
if(frame==0)
{
counterCo(2);
}
if(frame==3)
{
block(0);
}
return;
}
if(animhandle==388)
{
if(frame==0)
{
costSelf(50);
}
if(frame==8)
{
callShadow2(0, 0, 0, 1, 4, 0);
}
if(frame==8)
{
callShadow2(0, 0, 0, 0, 4, 0);
}
if(frame==8)
{
callShadow2(0, 0, 0, 1, 2, 3.5);
}
if(frame==8)
{
callShadow2(0, 0, 0, 0, 2, 3.5);
}
return;
}
if(animhandle==389)
{
if(frame==4)
{
spawnEntity("fan", 70, 70, 1, -1, 0, 0);
}
return;
}
if(animhandle==390)
{
if(frame==2)
{
spawn02("flash3");
}
if(frame==2)
{
spawn01("flash4", 0, 30, 1);
}
if(frame==3)
{
callShadow(0, 0, 9, 1);
}
if(frame==4)
{
callShadow(15, 1, 9, 1);
}
if(frame==5)
{
callShadow(30, 0, 9, 1);
}
if(frame==6)
{
callShadow(45, 1, 9, 1);
}
if(frame==7)
{
callShadow(60, 0, 9, 1);
}
if(frame==8)
{
callShadow(75, 1, 9, 1);
}
return;
}
if(animhandle==391)
{
if(frame==7)
{
spawn01("maifires", 0, 0, 1);
}
return;
}
if(animhandle==392)
{
if(frame==8)
{
spawn01("dust", 0, 0, 1);
}
if(frame==10)
{
counterCo(2);
}
if(frame==11)
{
leaper(6, 1.4, 0);
}
if(frame==15)
{
spawn01("dust", 0, 0, 0);
}
if(frame==15)
{
dasher(1, 0, 0);
}
if(frame==16)
{
dasher(0.5, 0, 0);
}
if(frame==17)
{
stop();
}
return;
}
if(animhandle==393)
{
if(frame==7)
{
spawn01("sfire", 45, 0, 0);
}
return;
}
if(animhandle==394)
{
if(!frame){
void self=getlocalvar("self");
void xdir=getlocalvar("xdir");
tossentity(self, 3, xdir, 0);
}
key("A","ANI_FREESPECIAL7",0);
return;
}
if(animhandle==395)
{
if (frame==0)
changeentityproperty(getlocalvar("self"),"tosstime",openborvariant("elapsed_time")
+80);
if(frame==2)
{
counterCo(2.2);
}
if(frame==4)
{
dasher(4, -1.5, 0);
}
return;
}
if(animhandle==397)
{
if(frame==0)
{
leaper(-1, 0.5, 0);
}
if(frame==1)
{
turnJump();
}
return;
}
if(animhandle==400)
{
if(frame==1)
{
noDropDamage();
}
return;
}
}
}
if(frame==0)
{
select();
}
return;
}
if(animhandle==404)
{
if(frame==0)
{
brakeWalk("ANI_FOLLOW5", 2.0);
}
return;
}
if(animhandle==405)
{
brakeRun(0.15,3.4,4.0);
return;
}
if(animhandle==407)
{
if(!frame)setlocalvar("chargetime",0);
return;
}
if(animhandle==408)
{
if(!frame)setlocalvar("chargetime",0);
return;
}
if(animhandle==409)
{
if(!frame)setlocalvar("chargetime",0);
return;
}
if(animhandle==413)
{
if(frame==0)
{
secondGA("ANI_FOLLOW1");
}
return;
}
if(animhandle==416)
{
if(frame==3)
{
spawn01("dust", 0, 0, 1);
}
if(frame==3)
{
dasher(1.2, 0, 0);
}
if(frame==5)
{
dasher(0.5, 0, 0);
}
if(frame==6)
{
stop();
}
return;
}
if(animhandle==419)
{
if(frame==0)
{
lockR(50, 15, 15, "ANI_FREESPECIAL8", "");
}
if(frame==0)
{
dasher(4, 0, 0);
}
if(frame==2)
{
spawn01("dust", 0, 0, 1);
}
if(frame==3)
{
dasher(3, 0, 0);
}
if(frame==4)
{
dasher(2, 0, 0);
}
if(frame==5)
{
dasher(1, 0, 0);
}
if(frame==7)
{
stop();
}
return;
}
if(animhandle==422)
{
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
return;
}
if(animhandle==427)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 25, 0, -1, -1);
}
if(frame==1)
{
position(0, 24, 0, -1, -1);
}
if(frame==2)
{
position(0, 23, 0, -1, -1);
}
if(frame==3)
{
position(4, 5, 80, -1, 1);
}
if(frame==3)
{
slamHurt();
}
if(frame==4)
{
position(2, -86, 64, -1, -1);
}
if(frame==4)
{
throw(29, 3, 3, 0, 0);
}
if(frame==12)
{
flip();
}
return;
}
if(animhandle==428)
{
if(frame==0)
{
costSelf(50);
}
if(frame==2)
{
spawnEntity02("msp", 0, 60, 1, 0, 0, 0, 1, "");
}
if(frame==2)
{
spawnEntity02("msp", 0, 16, 1, 0, 0, 0, 1, "ANI_FOLLOW1");
}
if(frame==20)
{
makeInv(100);
}
return;
}
if(animhandle==430)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", -5, 44, 1);
}
if(frame==1)
{
counterCo(1);
}
return;
}
if(animhandle==431)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", 0, 70, 1);
}
if(frame==2)
{
dasher(2, 0, 0);
}
if(frame==3)
{
lockR(75, 13, 2, "ANI_FOLLOW3", "");
}
if(frame==5)
{
dasher(1, 0, 0);
}
if(frame==6)
{
stop();
}
return;
}
if(animhandle==433)
{
if(frame==0)
{
overHeat(3);
}
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", 10, 70, 1);
}
if(frame==1)
{
block(1);
}
if(frame==2)
{
block(0);
}
return;
}
if(animhandle==434)
{
if(frame==0)
{
stop();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 20, 0, -1, -1);
}
if(frame==1)
{
position(0, 0, 0, -1, -1);
}
if(frame==2)
{
spawn01("fblock", -20, 53, -1);
}
if(frame==2)
{
position(0, -25, 0, -1, -1);
}
if(frame==3)
{
position(0, -25, 0, -1, -1);
}
if(frame==4)
{
position(0, -26, 0, -1, -1);
}
if(frame==5)
{
position(1, -10, 77, -1, -1);
}
if(frame==6)
{
position(1, -6, 75, -1, -1);
}
if(frame==7)
{
position(2, 27, 19, -1, -1);
}
if(frame==8)
{
position(2, 27, 1, -1, -1);
}
if(frame==9)
{
position(2, 27, 1, -1, -1);
}
if(frame==10)
{
position(2, 0, 1, 1, -1);
}
if(frame==11)
{
position(2, -27, 1, -1, 1);
}
if(frame==12)
{
position(2, 0, 1, -1, 1);
}
if(frame==13)
{
spawnEntity("msuper", 0, -2, 1, 0, 1, 0);
}
if(frame==13)
{
position(2, 27, 1, -1, -1);
}
if(frame==14)
{
position(2, 0, 1, 1, -1);
}
if(frame==15)
{
position(2, -27, 1, -1, 1);
}
if(frame==16)
{
position(2, 0, 1, -1, 1);
}
if(frame==17)
{
position(2, 27, 1, -1, -1);
}
if(frame==18)
{
position(2, 0, 1, 1, -1);
}
if(frame==19)
{
position(2, -27, 1, -1, 1);
}
if(frame==20)
{
position(2, 0, 1, -1, 1);
}
if(frame==21)
{
spawn01("fbomb", 0, 0, 1);
}
if(frame==21)
{
spawn01("down", 0, 0, 1);
}
if(frame==21)
{
hurt2(55, 1);
}
if(frame==21)
{
position(2, 0, 1, -1, 1);
}
if(frame==22)
{
hurt(1);
}
if(frame==22)
{
position(3, 0, 1, -1, 1);
}
if(frame==22)
{
depost();
}
if(frame==22)
{
clearSlam();
}
if(frame==23)
{
leaper(-2, 2, 0);
}
if(frame==27)
{
enterAtt("ANI_GET");
}
return;
}
if(animhandle==435)
{
if(frame==1)
{
void self=getlocalvar("self");
void name=getglobalvar(self+".reflect");
if(name){
void a=getglobalvar(self+".lasta");
setglobalvar(self+".reflect",NULL());
setglobalvar(self+".lasta",NULL());
shoot(name,15,a,1);
}
dasher(-1,0,0);
}
if(frame==2)
{
dasher(-1.3, 0, 0);
}
if(frame==2)
{
spawn01("dust", 0, 0, 1);
}
if(frame==4)
{
dasher(-0.5, 0, 0);
}
return;
}
if(animhandle==437)
{
void time=getlocalvar("chargetime");
void self=getlocalvar("self");
if(time==NULL())time=0;
if(time>24){
changeentityproperty(self, "colourmap", 1);
changeentityproperty(self, "maptime", 4 +
openborvariant("elapsed_time"));
}
if(!frame){
time++;
setlocalvar("chargetime",time);
}else if(frame==2){
setlocalvar("chargetime",0);
if(time>24){
performattack(self,openborconstant("ANI_FOLLOW2"),0);
}else if(time>16){
performattack(self,openborconstant("ANI_FREESPECIAL7"),0);
}else if(time>8){
performattack(self,openborconstant("ANI_FREESPECIAL6"),0);
}
}
if(frame==1)
{
key("A", "ANI_FREESPECIAL5", 0);
}
return;
}
if(animhandle==440)
{
if(frame==0)
{
stop();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 20, 0, -1, -1);
}
if(frame==1)
{
position(0, 0, 0, -1, -1);
}
if(frame==2)
{
spawn01("fblock", -20, 53, -1);
}
if(frame==2)
{
position(0, -25, 0, -1, -1);
}
if(frame==3)
{
position(0, -25, 0, -1, -1);
}
if(frame==4)
{
position(0, -26, 0, -1, -1);
}
if(frame==5)
{
position(1, -10, 77, -1, -1);
}
if(frame==6)
{
position(1, -6, 75, -1, -1);
}
if(frame==7)
{
position(2, 27, 19, -1, -1);
}
if(frame==8)
{
position(2, 27, 1, -1, -1);
}
if(frame==9)
{
spawn01("down", 27, 0, 1);
}
if(frame==9)
{
hurt2(31, 1);
}
if(frame==9)
{
position(2, 27, 1, -1, -1);
}
if(frame==10)
{
hurt(1);
}
if(frame==10)
{
position(3, 0, 1, -1, -1);
}
if(frame==10)
{
depost();
}
if(frame==10)
{
clearSlam();
}
if(frame==10)
{
flip();
}
if(frame==11)
{
leaper(-2, 2, 0);
}
if(frame==15)
{
enterAtt("ANI_GET");
}
return;
}
if(animhandle==441)
{
if(!frame)setscriptvar(0,0);
if(frame==0)
{
dasher(1, 0, 0);
}
if(frame==1)
{
spawn01("dust", 20, 0, 0);
}
if(frame==3)
{
stop();
}
if(frame==3)
{
spawn01("dust", 0, 0, 1);
}
return;
}
}
return;
}
if(animhandle==447)
{
if(frame==0)
{
dasher(2.4, 0, 0);
}
if(frame==4)
{
dasher(1.3, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==448)
{
if(frame==3)
{
spawn01("dust", 0, 0, 1);
}
return;
}
if(animhandle==449)
{
if(frame==0)
{
randSound("hibiki/[Link]", "hibiki/[Link]", "hibiki/[Link]");
}
return;
}
if(animhandle==450)
{
if(frame==0)
{
randSound("hibiki/[Link]", "hibiki/[Link]", "hibiki/[Link]");
}
return;
}
if(animhandle==453)
{
if(frame==3)
{
dasher(2.2, 0, 0);
}
if(frame==4)
{
dasher(1, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==454)
{
if(frame==0)
{
dasher(2, 0, 0);
}
if(frame==3)
{
dasher(1, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==455)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 34, 1, 1, -1);
}
if(frame==1)
{
position(0, 22, 1, 1, -1);
}
if(frame==2)
{
position(0, 18, 10, 1, -1);
}
if(frame==3)
{
position(4, 0, 64, 1, 1);
}
if(frame==3)
{
slamHurt();
}
if(frame==4)
{
throw(18, -2.5, 2.5, 0, -1);
}
return;
}
if(animhandle==461)
{
if(frame==0)
{
lockR(48, 10, 10, "ANI_FOLLOW1", "");
}
return;
}
if(animhandle==462)
{
if(frame==0)
{
lockR(80, 10, 10, "ANI_FOLLOW2", "");
}
return;
}
if(animhandle==463)
{
if(frame==0)
{
lockR(85, 10, 10, "ANI_FOLLOW3", "");
}
return;
}
if(animhandle==469)
{
if(frame==0){costSelf(50);}
if (frame>=7){
if (getglobalvar(getlocalvar("self")+"_delayhit")){
setglobalvar(getlocalvar("self")+"_delayhit",NULL());
enterAtt("ANI_FOLLOW4");
}
}
if(frame==1)
{
dasher(4, 0, 0);
}
if(frame==3)
{
dasher(3, 0, 0);
}
if(frame==4)
{
dasher(2, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==470)
{
if(frame==2)
{
counterCo(1.5);
}
return;
}
if(animhandle==472)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", 0, 9, 1);
}
return;
}
if(animhandle==474)
{
if(frame==0)
{
dasher(3.5, 0, 0);
}
if(frame==2)
{
counterCo(3);
}
if(frame==3)
{
dasher(3, 0, 0);
}
if(frame==4)
{
dasher(2, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
}
return;
}
if(animhandle==488)
{
if(frame==3)
{
leaper(1, 1.5, 0);
}
return;
}
if(animhandle==492)
{
if(frame==0)
{
key("D", "ANI_GRABBACKWARD", 1);
}
if(frame==3)
{
spawn01("dust", 0, 0, 1);
}
if(frame==3)
{
dasher(3.5, 0, 0);
}
if(frame==4)
{
dasher(2, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==498)
{
if(frame==2)
{
stop();
}
if(frame==2)
{
stayAir(16);
}
if(frame==2)
{
spawn01("XSlasher", 42, 18, 1);
}
if(frame==3)
{
enterAtt("ANI_FOLLOW2");
}
return;
}
if(animhandle==500)
{
if(frame==11)
{
makeInv(150);
}
return;
}
if(animhandle==501)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 60, 0, -1, -1);
}
if(frame==3)
{
position(0, 45, 0, 1, -1);
}
if(frame==4)
{
position(0, 33, 0, 1, -1);
}
if(frame==5)
{
position(0, 14, 0, 1, -1);
}
if(frame==6)
{
position(4, 0, 80, 1, 1);
}
if(frame==7)
{
throw(26, -4, 3, 0, 1);
}
return;
}
if(animhandle==502)
{
if(frame==0)
{
costSelf(50);
}
if(frame==8)
{
dasher(4, 0, 0);
}
if(frame==14)
{
flip();
}
if(frame==14)
{
dasher(4, 0, 0);
}
if(frame==23)
{
stop();
}
if(frame==28)
{
makeInv(100);
}
return;
}
if(animhandle==503)
{
if(frame==0)
{
dasher(2, 0, 0);
}
if(frame==1)
{
spawn01("CSlasher", 24, 3, 1);
}
if(frame==1)
{
dasher(1, 0, 0);
}
if(frame==2)
{
stop();
}
return;
}
if(animhandle==504)
{
if(frame==1)
{
spawn01("MSlasher", 15, 5, 1);
}
return;
}
if(animhandle==505)
{
if(frame==0)
{
dasher(2.7, 0, 0);
}
if(frame==8)
{
stop();
}
return;
}
if(animhandle==508)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", -20, 112, 1);
}
return;
}
if(animhandle==509)
{
if(frame==1)
{
leaper(1.5, 4, 0);
}
return;
}
if(animhandle==510)
{
if(frame==0)
{
stop();
}
if(frame==0)
{
stayAir(180);
}
if(frame==0)
{
spawn01("VSlasher", 10, 0, 1);
}
if(frame==7)
{
leaper(3, 3, 0);
}
return;
}
if(animhandle==511)
{
if(frame==13)
{
dasher(-1, 0, 0);
}
if(frame==15)
{
enterAtt("ANI_JUMPLAND");
}
return;
}
if(frame==4&&openborvariant("in_level"))spawn01("Particle",-5,0,1);
if(frame==0)
{
select();
}
return;
}
if(animhandle==517)
{
if(frame==0)
{
key("A", "ANI_FREESPECIAL6", 0);
}
return;
}
if(animhandle==530)
{
if(frame==1)
{
spawn01("IBlock", 45, 0, 1);
}
if(frame==10)
{
makeInv(100);
}
return;
}
if(animhandle==536)
{
if(frame==0)
{
costSelf(50);
}
if(frame==3)
{
spawn01("IStorm", 0, 0, 1);
}
if(frame==12)
{
makeInv(100);
}
return;
}
if(animhandle==537)
{
if(frame==0)
{
overHeat(1);
}
if(frame==3)
{
spawn01("breath", 26, 82, 1);
}
return;
}
if(animhandle==538)
{
if(frame==4)
{
spawnEntity("IShield", -25, 0, 1, 0, 1, 0);
}
if(frame==11)
{
enterAtt("ANI_JUMPLAND");
}
return;
}
if(animhandle==539)
{
if(frame==19)
{
spawn01("dust", 0, 0, 0);
}
return;
}
if(animhandle==540)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", -8, 64, 1);
}
if(frame==4)
{
spawn01("ILance", 61, 0, 1);
}
return;
}
if(animhandle==543)
{
if(frame==0)
{
dasher(2.3, 0, 0);
}
if(frame==4)
{
dasher(1.5, 0, 0);
}
if(frame==6)
{
dasher(0.8, 0, 0);
}
if(frame==9)
{
stop();
}
return;
}
}
}
return;
}
if(animhandle==548)
{
if(frame==2)
{
spawn01("dash", 0, 0, 0);
}
if(frame==2)
{
dasher(4, 0, 0);
}
if(frame==4)
{
dasher(1, 0, 0);
}
if(frame==5)
{
spawn01("dust", 0, 0, 1);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==554)
{
if(frame==0)
{
enterAtt("ANI_FREESPECIAL8");
}
return;
}
if(animhandle==559)
{
if(frame==2)
{
key("A", "ANI_FREESPECIAL8", 0);
}
return;
}
if(animhandle==561)
{
if(frame==9)
{
enterAtt("ANI_JUMPLAND");
}
return;
}
if(animhandle==562)
{
if(frame==8)
{
enterAtt("ANI_JUMPLAND");
}
return;
}
if(animhandle==567)
{
if(frame==0)
{
costSelf(50);
}
if(frame==1)
{
dasher(2, 0, 0);
}
if(frame==6)
{
dasher(1, 0, 0);
}
if(frame==7)
{
stop();
}
return;
}
if(animhandle==573)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 0, 0, -1, -1);
}
if(frame==10)
{
spawn01("fqblood", 0, 67, 1);
}
if(frame==10)
{
finish(2, 2.5, 2.5, 0, -1);
}
if(frame==11)
{
depost();
}
if(frame==11)
{
clearSlam();
}
if(frame==12)
{
flip();
}
if(frame==16)
{
makeInv(100);
}
return;
}
if(animhandle==575)
{
if(frame==2)
{
dasher(3, 0, 0);
}
if(frame==4)
{
dasher(2, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==576)
{
if(frame==14)
{
enterAtt("ANI_JUMPLAND");
}
return;
}
if(animhandle==577)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 0, 0, -1, -1);
}
if(frame==10)
{
spawn01("fqblood", 0, 67, 1);
}
if(frame==10)
{
hurt2(15, 1);
}
if(frame==11)
{
position(3, 0, 0, -1, -1);
}
if(frame==29)
{
suck();
}
if(frame==29)
{
spawn01("shikirec", 0, 0, 1);
}
if(frame==37)
{
finish(1, 2, 2, 0, -1);
}
if(frame==37)
{
depost();
}
if(frame==37)
{
clearSlam();
}
return;
}
if(animhandle==578)
{
if(frame==0)
{
curse();
}
return;
}
if(animhandle==579)
{
if(frame==1)
{
dasher(-1.5, 0, 0);
}
if(frame==6)
{
dasher(-0.7, 0, 0);
}
if(frame==7)
{
stop();
}
return;
}
if(animhandle==582)
{
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", 5, 63, 0);
}
if(frame==2)
{
spawn01("dash", 0, 0, 0);
}
if(frame==2)
{
dasher(4, 0, 0);
}
if(frame==8)
{
dasher(1, 0, 0);
}
if(frame==9)
{
spawn01("dust", 0, 0, 1);
}
if(frame==9)
{
stop();
}
return;
}
if(animhandle==583)
{
if(frame==0)
{
stop();
}
if(frame==21)
{
makeInv(300);
}
if(frame==21)
{
enterAtt("ANI_FREESPECIAL3");
}
return;
}
}
return;
}
if(animhandle==595)
{
if(frame==6)
{
dasher(1, 0, 0);
}
if(frame==6)
{
spawn01("dust", 0, 0, 1);
}
if(frame==8)
{
stop();
}
return;
}
if(animhandle==600)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 35, 0, -1, -1);
}
if(frame==5)
{
position(4, 3, 110, -1, 1);
}
if(frame==6)
{
throw(21, -3, 3, 0, 1);
}
return;
}
if(animhandle==604)
{
if(frame==0)
{
dasher(1.8, 0, 0);
}
if(frame==11)
{
dasher(0.8, 0, 0);
}
if(frame==16)
{
stop();
}
return;
}
if(animhandle==605)
{
if(frame==3)
{
spawn01("wind3", 17, 19, 1);
}
return;
}
if(animhandle==607)
{
if(frame==0)
{
costSelf(50);
}
return;
}
if(animhandle==608)
{
if(frame==4)
{
spawn01("wind2", 80, 0, 0);
}
return;
}
if(animhandle==609)
{
if(frame==4)
{
spawn01("lightnin", 180, 0, 0);
}
return;
}
if(animhandle==610)
{
if(frame==6)
{
spawn01("fbolt", 280, 340, 0);
}
return;
}
if(animhandle==611)
{
if(frame==9)
{
spawn01("dust", 0, 0, 1);
}
return;
}
if(animhandle==612)
{
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", -12, 62, 1);
}
if(frame==4)
{
spawn01("wind4", 100, 0, 0);
}
return;
}
if(animhandle==613)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", 0, 109, 1);
}
if(frame==4)
{
spawn01("charm", 70, 60, 1);
}
return;
}
}
if(frame==1)
{
spawn01("batn", 0, 0, 1);
}
return;
}
if(animhandle==617)
{
if(frame==3)
{
spawn01("batn", 0, 0, 1);
}
if(frame==3)
{
spawnEntity("msprc", 0, 0, 0, 0, 1, 0);
}
return;
}
if(animhandle==619)
{
if(frame==0)
{
dasher(1, 0, 0);
}
if(frame==1)
{
dasher(3, 0, 0);
}
if(frame==5)
{
dasher(1, 0, 0);
}
return;
}
if(animhandle==620)
{
if(frame==0)
{
select();
}
return;
}
if(animhandle==624)
{
if(frame==1)
{
dasher(-0.4, 0, 0);
}
if(frame==2)
{
stop();
}
return;
}
if(animhandle==634)
{
if(!frame){
void tar=getentityproperty(getlocalvar("self"),"grabbing");
if(tar)changeentityproperty(tar,"stalltime",openborvariant("elapsed_time")
+200);
}
if(frame==0)
{
leaper(-3, 3, 0);
}
if(frame==3)
{
stayAir(20);
}
if(frame==4)
{
dasher(4, 0, 0);
}
return;
}
if(animhandle==635)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
spawn01("fblock", 50, 80, 1);
}
if(frame==0)
{
position(0, 39, 14, -1, -1);
}
if(frame==9)
{
position(0, 21, 0, -1, -1);
}
if(frame==10)
{
position(4, -9, 98, -1, 1);
}
if(frame==11)
{
position(4, -42, 84, -1, 1);
}
if(frame==12)
{
position(2, -61, 0, -1, -1);
}
if(frame==13)
{
position(2, 0, 0, 1, -1);
}
if(frame==13)
{
spawn01("down", 0, 0, 1);
}
if(frame==13)
{
hurt2(24, 1);
}
if(frame==13)
{
position(2, -36, 0, -1, -1);
}
if(frame==14)
{
hurt(1);
}
if(frame==14)
{
position(3, 0, 0, 1, -1);
}
if(frame==14)
{
depost();
}
if(frame==14)
{
clearSlam();
}
return;
}
if(animhandle==636)
{
if(frame==0)
{
dasher(2, 0, 0);
}
if(frame==3)
{
dasher(1, 0, 0);
}
if(frame==7)
{
stop();
}
return;
}
if(animhandle==637)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
spawnEntity01("bat", -9, 40, 1, 0, 0, 0, 0);
}
if(frame==0)
{
spawnEntity01("bat", -20, 39, -1, 0, 0, 0, 0);
}
if(frame==0)
{
spawnEntity01("bat", -30, 42, 1, 0, 0, 0, 0);
}
if(frame==4)
{
spawnEntity01("bat", 30, 50, 1, 0, 0, 0, 0);
}
if(frame==4)
{
spawnEntity01("bat", 50, 20, 1, 0, 0, 0, 0);
}
if(frame==4)
{
spawnEntity01("bat", 45, 80, 1, 0, 0, 0, 0);
}
if(frame==4)
{
spawnEntity01("bat", 25, 56, 1, 0, 0, 0, 0);
}
if(frame==4)
{
spawnEntity01("bat", -45, 70, 1, 0, 0, 0, 0);
}
if(frame==4)
{
spawnEntity01("bat", -60, 26, 1, 0, 0, 0, 0);
}
if(frame==4)
{
spawnEntity01("bat", -52, 76, 1, 0, 0, 0, 0);
}
if(frame==4)
{
spawnEntity01("bat", -37, 90, 1, 0, 0, 0, 0);
}
if(frame==16)
{
makeInv(100);
}
return;
}
if(animhandle==643)
{
if(frame==0)
{
lockRA(50, 10, 40, "ANI_FREESPECIAL6", "");
}
return;
}
if(animhandle==644)
{
if(frame==0)
{
spawn02("flash3");
}
if(frame==0)
{
spawn01("flash4", 0, 120, 0);
}
if(frame==1)
{
spawn01("lilith", 30, 0, 1);
}
return;
}
if(animhandle==646)
{
if(frame==3)
{
shoot("mfire", 62, 65, 1);
}
return;
}
if(animhandle==649)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
spawn01("fblock", 50, 80, 1);
}
if(frame==0)
{
position(0, 39, 14, -1, -1);
}
if(frame==9)
{
position(0, 21, 0, -1, -1);
}
if(frame==10)
{
position(4, -9, 98, -1, 1);
}
if(frame==11)
{
position(4, -42, 84, -1, 1);
}
if(frame==12)
{
position(2, -61, 0, -1, -1);
}
if(frame==13)
{
position(2, 0, 0, 1, -1);
}
if(frame==14)
{
position(2, 28, 0, -1, 1);
}
if(frame==15)
{
position(2, 0, 0, -1, 1);
}
if(frame==16)
{
position(2, -36, 0, -1, -1);
}
if(frame==17)
{
position(2, 0, 0, 1, -1);
}
if(frame==18)
{
position(2, 28, 0, -1, 1);
}
if(frame==19)
{
position(2, 0, 0, -1, 1);
}
if(frame==20)
{
position(2, -36, 0, -1, -1);
}
if(frame==21)
{
position(2, 0, 0, 1, -1);
}
if(frame==22)
{
position(2, 28, 0, -1, 1);
}
if(frame==23)
{
position(2, 0, 0, -1, 1);
}
if(frame==24)
{
position(2, -36, 0, -1, -1);
}
if(frame==25)
{
position(2, 0, 0, 1, -1);
}
if(frame==25)
{
spawn01("down", 0, 0, 1);
}
if(frame==25)
{
hurt2(29, 1);
}
if(frame==26)
{
hurt(1);
}
if(frame==26)
{
position(3, 0, 0, 1, -1);
}
if(frame==26)
{
depost();
}
if(frame==26)
{
clearSlam();
}
if(frame==26)
{
changeAni("ANI_ATTACKUP");
}
return;
}
if(animhandle==650)
{
if(frame==0)
{
stop();
}
if(frame==0)
{
stayAir(40);
}
if(frame==0)
{
spawn01("fblock", 39, 86, 1);
}
if(frame==0)
{
slamStart();
}
if(frame==0)
{
position(0, 39, 14, -1, -1);
}
if(frame==1)
{
leaper(0, 3, 0);
}
if(frame==3)
{
position(0, 21, 0, -1, -1);
}
if(frame==4)
{
position(4, -9, 98, -1, 1);
}
if(frame==5)
{
position(4, -42, 84, -1, 1);
}
if(frame==6)
{
position(2, -61, 0, -1, -1);
}
if(frame==7)
{
position(2, 0, 0, 1, -1);
}
if(frame==8)
{
position(2, 28, 0, -1, 1);
}
if(frame==9)
{
position(2, 0, 0, -1, 1);
}
if(frame==10)
{
position(2, -36, 0, -1, -1);
}
if(frame==11)
{
position(2, 0, 0, 1, -1);
}
if(frame==12)
{
position(2, 28, 0, -1, 1);
}
if(frame==13)
{
position(2, 0, 0, -1, 1);
}
if(frame==14)
{
position(2, -36, 0, -1, -1);
}
if(frame==15)
{
position(2, 0, 0, 1, -1);
}
if(frame==16)
{
position(2, 28, 0, -1, 1);
}
if(frame==17)
{
position(2, 0, 0, -1, 1);
}
if(frame==18)
{
position(2, -36, 0, -1, -1);
}
if(frame==19)
{
position(2, 0, 0, 1, -1);
}
if(frame==19)
{
spawn01("down", 0, 0, 1);
}
if(frame==19)
{
hurt2(39, 1);
}
if(frame==20)
{
hurt(1);
}
if(frame==20)
{
position(3, 0, 0, 1, -1);
}
if(frame==20)
{
depost();
}
if(frame==20)
{
clearSlam();
}
if(frame==21)
{
enterAtt("ANI_ATTACKUP");
}
return;
}
}
}
return;
}
if(animhandle==655)
{
if(frame==0)
{
enterAtt("ANI_GET");
}
return;
}
if(animhandle==666)
{
if(frame==0)
{
key("F", "ANI_FOLLOW1", 0);
}
if(frame==0)
{
key("B", "ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==668)
{
if(!frame)changeentityproperty(getlocalvar("self"), "aiflag",
"jumpid",openborconstant("ANI_FOLLOW1"));
return;
}
if(animhandle==669)
{
if(frame==1){
changeentityproperty(getlocalvar("self"), "aiflag",
"jumpid",openborconstant("ANI_FOLLOW2"));
leaper(-3,3,0);
}
return;
}
if(animhandle==670)
{
}
if(frame==13)
{
spawn01("dust", 0, 0, 0);
}
return;
}
if(animhandle==671)
{
if(frame==0)
{
key("D", "ANI_ATTACK4", 0);
}
return;
}
if(animhandle==675)
{
if(frame==0)
{
dasher(2, 0, 0);
}
if(frame==0)
{
spawn01("dust", 0, 0, 0);
}
if(frame==7)
{
dasher(1, 0, 0);
}
if(frame==8)
{
counterCo(2);
}
if(frame==13)
{
dasher(0.5, 0, 0);
}
if(frame==15)
{
stop();
}
return;
}
if(animhandle==679)
{
if(frame==0)
{
spawn01("dust", 0, 0, 0);
}
if(frame==0)
{
dasher(2, 0, 0);
}
if(frame==4)
{
dasher(1, 0, 0);
}
if(frame==6)
{
stop();
}
return;
}
if(animhandle==684)
{
if(frame>1&&frame<7)
key("J","ANI_FOLLOW2",0);
return;
}
if(animhandle==685)
{
if(frame==0)
{
costSelf(50);
}
if(frame==25)
{
makeInv(200);
}
return;
}
if(animhandle==686)
{
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", -10, 10, 1);
}
if(frame==2)
{
counterCo(2);
}
return;
}
if(animhandle==687)
{
if(frame==14)
{
spawn01("dust", 0, 0, 1);
}
return;
}
if(animhandle==689)
{
if(frame==2)
{
counterCo(1);
}
return;
}
if(animhandle==690)
{
if(frame==0)
{
overHeat(3);
}
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", 10, 40, 1);
}
return;
}
if(animhandle==691)
{
void i,ent;
void self=getlocalvar("self");
void mp=getentityproperty(self,"mp");
void rockp=0;
if(!frame){
if(mp<150){
enterAtt("ANI_ATTACK3");
}else{
for(i=0;i<3;i++)
{
ent=getplayerproperty(i,"ent");
if(ent)if(getentityproperty(ent,"name")=="Rock")rockp=1;
}
if(!rockp)enterAtt("ANI_ATTACK3");
}
}else if(frame==5){
changeentityproperty(self,"health",getentityproperty(self,"health")+35);
changeentityproperty(self,"mp",0);
}
return;
}
if(animhandle==692)
{
if(frame==1)
{
spawn02("flash3");
}
if(frame==1)
{
spawn01("flash4", -10, 10, 1);
}
if(frame==2)
{
dasher(4, 0, 0);
}
if(frame==6)
{
dasher(2, 0, 0);
}
if(frame==9)
{
stop();
}
return;
}
if(animhandle==693)
{
if(!frame)changeentityproperty(getlocalvar("self"), "aiflag",
"jumpid",openborconstant("ANI_follow3"));
return;
}
void self=getlocalvar("self");
if(!frame){
changeentityproperty(self,"subject_to_wall",0);
changeentityproperty(self,"direction",1);
changeentityproperty(self,"position",openborvariant("xpos") -
70);
}else if(frame==5){
changeentityproperty(self,"subject_to_wall",1);
}
if(frame==0)
{
dasher(4, 0, 0);
}
return;
}
if(animhandle==701)
{
if(frame==25)killentity(getlocalvar("self"));
if(frame==8)
{
dasher(4, 0, 0);
}
return;
}
if(animhandle==704)
{
if(frame==1)
{
dasher(3, 0, 0);
}
if(frame==8)
{
leaper(3, 3, 0);
}
return;
}
if(!frame){
void self=getlocalvar("self");
changeentityproperty(self,"position",getentityproperty(self,"x"),getentityproperty(
self,"z"),500);
}
return;
}
if(animhandle==711)
{
if(frame==3)
{
spawn01("dust", 0, 0, 0);
}
return;
}
if(animhandle==712)
{
if(frame==1)
{
lock();
}
if(frame==1)
{
slamStart();
}
if(frame==1)
{
position(0, 53, 0, -1, -1);
}
if(frame==1)
{
randBranch(60, "ANI_FOLLOW1", "");
}
if(frame==2)
{
position(2, 35, 11, -1, -1);
}
if(frame==3)
{
position(2, 0, 0, 1, -1);
}
if(frame==4)
{
flip();
}
if(frame==4)
{
position(2, 35, 11, -1, -1);
}
if(frame==5)
{
flip();
}
if(frame==5)
{
position(2, 0, 0, -1, -1);
}
if(frame==6)
{
position(2, 35, 11, -1, -1);
}
if(frame==7)
{
position(2, 0, 0, 1, -1);
}
if(frame==8)
{
flip();
}
if(frame==8)
{
position(2, 35, 11, -1, -1);
}
if(frame==9)
{
flip();
}
if(frame==9)
{
position(2, 0, 0, -1, -1);
}
if(frame==10)
{
position(2, 35, 11, -1, -1);
}
if(frame==11)
{
position(2, 0, 0, 1, -1);
}
if(frame==12)
{
flip();
}
if(frame==12)
{
position(2, 35, 11, -1, -1);
}
if(frame==13)
{
flip();
}
if(frame==13)
{
position(2, 0, 0, -1, -1);
}
if(frame==14)
{
position(2, 35, 11, -1, -1);
}
if(frame==15)
{
position(2, 0, 0, 1, -1);
}
if(frame==16)
{
flip();
}
if(frame==16)
{
position(2, 35, 11, -1, -1);
}
if(frame==17)
{
flip();
}
if(frame==17)
{
position(2, 0, 0, -1, -1);
}
if(frame==18)
{
spawn01("down", 13, 0, 1);
}
if(frame==18)
{
position(2, 17, 11, -1, -1);
}
if(frame==18)
{
hurt2(40, 1);
}
if(frame==19)
{
position(3, 17, 0, -1, -1);
}
if(frame==19)
{
hurt3(1, 0, 4, 0);
}
if(frame==19)
{
depost();
}
if(frame==19)
{
clearSlam();
}
if(frame==20)
{
leaper(-2.4, 2.4, 0);
}
return;
}
if(animhandle==713)
{
if(frame==1)
{
position(0, 0, 0, -1, -1);
}
if(frame==2)
{
position(0, -24, 0, -1, -1);
}
if(frame==3)
{
position(1, 68, 85, -1, -1);
}
if(frame==4)
{
hurt2(35, 1);
}
if(frame==4)
{
position(2, 96, 0, -1, -1);
}
if(frame==4)
{
spawn01("down", 96, 0, 1);
}
if(frame==5)
{
hurt3(1, 0, 4, 0);
}
if(frame==5)
{
depost();
}
if(frame==5)
{
clearSlam();
}
if(frame==6)
{
flip();
}
return;
}
void self=getlocalvar("self");
void ro=getscriptvar(0);
void xdir=getentityproperty(self,"xdir");
if(ro==NULL())ro=0;
if(xdir>0)
{
xdir-=0.05;
if(xdir<0)xdir=0;
ro+=xdir*20;
}else{
xdir+=0.05;
if(xdir>0)xdir=0;
ro-=xdir*70;
}
ro%=360;
setscriptvar(0,ro);
setdrawmethod(self,1,256,256,0,0,0,0,0,0,ro);
changeentityproperty(getlocalvar("self"),"velocity",xdir);
return;
}
}
return;
}
if(animhandle==728)
{
if(frame==1)
{
sendMsg();
}
return;
}