0% found this document useful (0 votes)
15 views102 pages

Script Log

Uploaded by

zinokarim220
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views102 pages

Script Log

Uploaded by

zinokarim220
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

#### animationscript function main #####

# data/chars/misc/flashes/wflash.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3)
{
if(frame==0)
{
spawn02("white");
}
return;
}

#### animationscript function main #####


# data/chars/misc/white.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==9)
{
if(frame==3)
{
killentity(getlocalvar("self"));
}
return;
}

#### animationscript function main #####


# data/chars/misc/Black/Black.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==10)
{

if(frame==0)
{setglobalvar("flash.black",1);}
else
{
setglobalvar("flash.black",0);
killentity(getlocalvar("self"));
}
return;
}

}
#### animationscript function main #####
# data/chars/misc/hitback.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==13)
{
if(frame==1)
{
moveBack(1);
}
if(frame==2)
{
moveBack(0.4);
}
if(frame==3)
{
moveBack(0);
}
if(frame==4)
{
clearc();
}
return;
}

#### animationscript function main #####


# data/chars/Axel/Axel.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==22)
{
if(frame==0)
{
incAtt();
}
if(frame==2)
{
key("F", "ANI_follow1", 1);
}
if(frame==2)
{
key("D", "ANI_freespecial11", 1);
}
if(frame==2)
{
key("U", "ANI_grabforward", 1);
}
if(frame==2)
{
key("B", "ANI_grabbackward", 1);
}
return;
}
if(animhandle==23)
{
if(frame==0)
{
incAtt();
}
if(frame==2)
{
key("F", "ANI_follow1", 1);
}
if(frame==2)
{
key("D", "ANI_freespecial11", 1);
}
if(frame==2)
{
key("U", "ANI_grabforward", 1);
}
if(frame==2)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==3)
{
key("F", "ANI_follow1", 1);
}
if(frame==3)
{
key("D", "ANI_freespecial11", 1);
}
if(frame==3)
{
key("U", "ANI_grabforward", 1);
}
if(frame==3)
{
key("B", "ANI_grabbackward", 1);
}
return;
}
if(animhandle==25)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==0)
{
costSelf(50);
}
return;
}
if(animhandle==32)
{
if(frame==9)
{
adjustEnemy();
}
return;
}
if(animhandle==34)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
flip();
}
return;
}
if(animhandle==35)
{
if(frame==0)
{
tyrantBody(1, 0.5);
}
if(frame==12)
{
costSelf(50);
}
return;
}
if(animhandle==36)
{
if(frame==1)
{
leaper(1, 0, 0);
}
if(frame==4)
{
stop();
}
if(frame==5)
{
leaper(0.5, 3.5, 0);
}
return;
}
if(animhandle==37)
{
if(frame==4)
{
dasher(0.6, 0, 0);
}
if(frame==8)
{
key("J", "ANI_freespecial5", 1);
}
if(frame==9)
{
key("J", "ANI_freespecial5", 1);
}
if(frame==10)
{
key("J", "ANI_freespecial5", 1);
}
if(frame==10)
{
stop();
}
return;
}
if(animhandle==38)
{
if(frame==0)
{
stop();
}
if(frame==1)
{
lock();
}
if(frame==1)
{
position(0, 20, 0, -1, 1);
}
if(frame==2)
{
position(0, 10, 0, -1, 1);
}
if(frame==4)
{
position(2, -30, 30, -1, 1);
}
if(frame==5)
{
hurt(35);
}
if(frame==5)
{
position(2, -40, 0, -1, 1);
}
if(frame==5)
{
spawn01("zd", -50, 0, -1);
}
if(frame==6)
{
position(3, -30, 0, -1, 1);
}
if(frame==6)
{
clearSlam();
}
return;
}
if(animhandle==39)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==3)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==3)
{
key("F", "ANI_follow6", 0);
}
if(frame==3)
{
key("D", "ANI_attackdown", 0);
}
if(frame==3)
{
key("U", "ANI_attackup", 0);
}
if(frame==4)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==4)
{
key("F", "ANI_follow6", 0);
}
if(frame==4)
{
key("D", "ANI_attackdown", 0);
}
if(frame==4)
{
key("U", "ANI_attackup", 0);
}
if(frame==5)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==5)
{
key("F", "ANI_follow6", 0);
}
if(frame==5)
{
key("D", "ANI_attackdown", 0);
}
if(frame==5)
{
key("U", "ANI_attackup", 0);
}
if(frame==6)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==6)
{
key("F", "ANI_follow6", 0);
}
if(frame==6)
{
key("D", "ANI_attackdown", 0);
}
if(frame==6)
{
key("U", "ANI_attackup", 0);
}
if(frame==7)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==7)
{
key("F", "ANI_follow6", 0);
}
if(frame==7)
{
key("D", "ANI_attackdown", 0);
}
if(frame==7)
{
key("U", "ANI_attackup", 0);
}
if(frame==7)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==40)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL9", 3, 3);
}
if(frame==1)
{
leaper(0.6, 0, 0);
}
if(frame==5)
{
leaper(0.6, 0, 0.5);
}
if(frame==7)
{
leaper(0.6, 0, -0.5);
}
if(frame==9)
{
leaper(0.6, 0, 0);
}
if(frame==11)
{
leaper(0.6, 0, 0.5);
}
if(frame==13)
{
leaper(0.6, 0, -0.5);
}
return;
}
if(animhandle==41)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
dasher(0.3, 0, 0);
}
if(frame==1)
{
dasher(1, 0, 0);
}
if(frame==5)
{
looper(1, 1);
}
if(frame==6)
{
clearL();
}
if(frame==10)
{
stop();
}
if(frame==11)
{
leaper(0.8, 3, 0);
}
return;
}
if(animhandle==42)
{

if (frame==1){
void i,ent,total,find=0;
total=openborvariant("ent_max");
for(i=0;i<total;i++)
{
ent=getentity(i);
if(getentityproperty(ent,"Name")=="Dickson"||
getentityproperty(ent,"Name")=="Dickson1")
{
killentity(ent);
find=1;
}
}
if(find)return;
clearspawnentry();
setspawnentry("name","Dickson");
setspawnentry("coords",0,240);
spawn();
}
return;
}
if(animhandle==43)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==1)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==1)
{
key("F", "ANI_follow6", 0);
}
if(frame==1)
{
key("D", "ANI_attackdown", 0);
}
if(frame==1)
{
key("U", "ANI_attackup", 0);
}
if(frame==1)
{
key("J", "ANI_FREESPECIAL4", 0);
}
if(frame==2)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==2)
{
key("F", "ANI_follow6", 0);
}
if(frame==2)
{
key("D", "ANI_attackdown", 0);
}
if(frame==2)
{
key("U", "ANI_attackup", 0);
}
if(frame==2)
{
key("J", "ANI_FREESPECIAL4", 0);
}
if(frame==3)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==3)
{
key("F", "ANI_follow6", 0);
}
if(frame==3)
{
key("D", "ANI_attackdown", 0);
}
if(frame==3)
{
key("U", "ANI_attackup", 0);
}
if(frame==3)
{
key("J", "ANI_FREESPECIAL4", 0);
}
if(frame==4)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==4)
{
key("F", "ANI_follow6", 0);
}
if(frame==4)
{
key("D", "ANI_attackdown", 0);
}
if(frame==4)
{
key("U", "ANI_attackup", 0);
}
if(frame==4)
{
key("J", "ANI_FREESPECIAL4", 0);
}
if(frame==5)
{
key("A", "ANI_FREESPECIAL16", 0);
}
if(frame==5)
{
key("F", "ANI_follow6", 0);
}
if(frame==5)
{
key("D", "ANI_attackdown", 0);
}
if(frame==5)
{
key("U", "ANI_attackup", 0);
}
if(frame==5)
{
key("J", "ANI_FREESPECIAL4", 0);
}
if(frame==5)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==44)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL2", 2, 2);
}
if(frame==0)
{
tyrantBody(1, 0.5);
}
if(frame==9)
{
dasher(0.5, 0, 0);
}
if(frame==15)
{
stop();
}
if(frame==21)
{
leaper(0, 3.2, 0);
}
if(frame==24)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==45)
{
if(frame==0)
{
tyrantBody(1, 0.5);
}
if(frame==0)
{
dasher(0.1, 0, 0);
}
if(frame==13)
{
stop();
}
if(frame==20)
{
stop();
}
return;
}
if(animhandle==46)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL13", 2, 2);
}
if(frame==1)
{
leaper(0.7, 0, 0);
}
if(frame==11)
{
stop();
}
if(frame==13)
{
clearL();
}
return;
}
if(animhandle==47)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL18", 3, 3);
}
if(frame==6)
{
leaper(0.3, 1.5, 0);
}
if(frame==19)
{
leaper(0, 2, 0);
}
if(frame==28)
{
leaper(1, 3, 0);
}
return;
}
if(animhandle==48)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL5", 2, 2);
}
if(frame==1)
{
leaper(1, 0, 0);
}
if(frame==4)
{
stop();
}
if(frame==5)
{
leaper(0.5, 3.5, 0);
}
return;
}
if(animhandle==49)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL6", 3, 3);
}
if(frame==0)
{
dasher(1, 0, 0);
}
if(frame==1)
{
stop();
}
if(frame==3)
{
leaper(1.5, 2.5, 0);
}
return;
}
if(animhandle==51)
{
if(frame==4)
{
lock();
}
if(frame==4)
{
position(2, 20, 60, -1, 1);
}
if(frame==5)
{
position(2, 30, 60, -1, 0);
}
if(frame==5)
{
throw(30, 1.8, 2, 0, 0);
}
if(frame==5)
{
clearSlam();
}
return;
}
if(animhandle==52)
{
if(frame==1)
{
leaper(0.6, 0, 0);
}
if(frame==5)
{
leaper(0.6, 0, 0.5);
}
if(frame==7)
{
leaper(0.6, 0, -0.5);
}
if(frame==9)
{
leaper(0.6, 0, 0);
}
if(frame==11)
{
leaper(0.6, 0, 0.5);
}
if(frame==13)
{
leaper(0.6, 0, -0.5);
}
if(frame==16)
{
leaper(0.8, 3.5, 0);
}
return;
}
if(animhandle==55)
{
if(frame==0)
{
backAni("ANI_grabbackward");
}
return;
}
if(animhandle==57)
{
if(frame==0)
{
stop();
}
if(frame==0)
{
backAni("ANI_freespecial11");
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 20, 0, -1, -1);
}
if(frame==1)
{
position(0, 15, 5, -1, -1);
}
if(frame==2)
{
position(2, -15, 30, -1, -1);
}
if(frame==2)
{
throw(33, 2.6, 1.6, 0, -1);
}
if(frame==2)
{
clearSlam();
}
return;
}
if(animhandle==58)
{
if(frame==0)
{
key("J", "ANI_FREESPECIAL8", 0);
}
return;
}
if(animhandle==60)
{
if(frame==0)
{
stop();
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(1, 0, 70, -1, 0);
}
if(frame==1)
{
position(2, 35, 50, -1, 0);
}
if(frame==2)
{
hurt(30);
}
if(frame==2)
{
spawn01("zd", 45, 0, -1);
}
if(frame==2)
{
position(3, 30, 0, -1, 0);
}
if(frame==3)
{
clearSlam();
}
if(frame==4)
{
leaper(-0.5, 1.5, 0);
}
return;
}
if(animhandle==61)
{
if(frame==0)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==71)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL19", 1, 1);
}
if(frame==1)
{
leaper(0.6, 0, 0);
}
if(frame==11)
{
stop();
}
if(frame==13)
{
clearL();
}
return;
}
if(animhandle==75)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==2)
{
costSelf(50);
}
if(frame==8)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==76)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.5);
}
if(frame==0)
{
fullMpAni("ANI_FREESPECIAL9");
}
if(frame==21)
{
leaper(0, 3.2, 0);
}
if(frame==24)
{
tyrantBody(0, 1);
}
return;
}

#### animationscript function main #####


# data/chars/Blaze/Blaze.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==82)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL20", 3, 3);
}
return;
}
if(animhandle==83)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL21", 3, 3);
}
if(frame==0)
{
incAtt();
}
if(frame==4)
{
key("U", "ANI_freespecial7", 1);
}
if(frame==4)
{
key("D", "ANI_freespecial13", 1);
}
if(frame==4)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==4)
{
key("F", "ANI_freespecial8", 1);
}
return;
}
if(animhandle==84)
{
if(frame==0)
{
incAtt();
}
if(frame==0)
{
lvAtt("ANI_FREESPECIAL22", 3, 3);
}
if(frame==2)
{
key("U", "ANI_freespecial7", 1);
}
if(frame==2)
{
key("D", "ANI_freespecial13", 1);
}
if(frame==2)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==2)
{
key("F", "ANI_freespecial8", 1);
}
if(frame==4)
{
key("U", "ANI_freespecial7", 1);
}
if(frame==4)
{
key("D", "ANI_freespecial13", 1);
}
if(frame==4)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==4)
{
key("F", "ANI_freespecial8", 1);
}
return;
}
if(animhandle==86)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL19", 3, 3);
}
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.3);
}
if(frame==10)
{
makeInv(150);
}
if(frame==10)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==92)
{
if(frame==1)
{
leaper(-2, 3, 0);
}
return;
}
if(animhandle==93)
{
if(frame==9)
{
adjustEnemy();
}
return;
}
if(animhandle==94)
{
if(frame==0)
{
stayAir(40);
}
if(frame==1)
{
flip();
}
if(frame==1)
{
leaper(2.3, 2, 0);
}
return;
}
if(animhandle==95)
{
if(frame==1)
{
goAttack();
}
if(frame==4)
{
stop();
}
if(frame==4)
{
stayAir(40);
}
if(frame==4)
{
lock();
}
if(frame==4)
{
position(0, -20, 0, -1, 1);
}
if(frame==5)
{
leaper(0, 1, 0);
}
if(frame==5)
{
position(0, -20, 10, -1, 1);
}
if(frame==6)
{
position(0, -18, 15, -1, 1);
}
if(frame==7)
{
position(4, 5, 75, -1, -1);
}
if(frame==8)
{
position(2, 30, 0, -1, 1);
}
if(frame==8)
{
hurt(65);
}
if(frame==8)
{
spawn01("qflash", 40, 0, 0);
}
if(frame==9)
{
position(3, 35, 0, -1, 0);
}
if(frame==9)
{
clearSlam();
}
if(frame==10)
{
flip();
}
return;
}
if(animhandle==96)
{
if(frame==4)
{
lock();
}
if(frame==4)
{
position(2, 20, 60, -1, 1);
}
if(frame==6)
{
position(2, 30, 60, -1, 0);
}
if(frame==6)
{
throw(30, 1.8, 2, 0, 0);
}
if(frame==6)
{
clearSlam();
}
if(frame==7)
{
clearSlam();
}
return;
}
if(animhandle==97)
{
if(frame==6)
{
flip();
}
return;
}
if(animhandle==98)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL5", 3, 3);
}
if(frame==1)
{
leaper(1.5, 1.2, 0);
}
if(frame==3)
{
stop();
}
if(frame==3)
{
leaper(0.8, 0, 0);
}
return;
}
if(animhandle==99)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 20, 0, -1, 1);
}
if(frame==1)
{
position(0, 12, 7, -1, 1);
}
if(frame==2)
{
position(2, -30, 30, -1, 1);
}
if(frame==3)
{
hurt(36);
}
if(frame==3)
{
position(2, -45, 0, -1, 1);
}
if(frame==3)
{
spawn01("zd", -25, 0, -1);
}
if(frame==4)
{
position(3, -50, 0, -1, 0);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==100)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL23", 2, 2);
}
if(frame==0)
{
tyrantBody(1, 0.5);
}
if(frame==27)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==101)
{
if(frame==0)
{
costSelf(50);
}
if(frame==1)
{
leaper(1.5, 1.2, 0);
}
if(frame==3)
{
stop();
}
if(frame==3)
{
leaper(0.5, 0, 0);
}
if(frame==8)
{
leaper(1.5, 0, 0);
}
if(frame==12)
{
looper(8, 5);
}
if(frame==13)
{
clearL();
}
return;
}
if(animhandle==102)
{
if(frame==1)
{
leaper(1.5, 1.2, 0);
}
if(frame==3)
{
stop();
}
if(frame==3)
{
leaper(0.5, 0, 0);
}
if(frame==8)
{
leaper(1.5, 0, 0);
}
if(frame==10)
{
looper(8, 5);
}
if(frame==11)
{
clearL();
}
return;
}
if(animhandle==103)
{
if(frame==0)
{
tyrantBody(1, 0.3);
}
if(frame==3)
{
key("D", "ANI_attackdown", 0);
}
if(frame==3)
{
key("U", "ANI_attackup", 0);
}
if(frame==3)
{
key("A", "ANI_FREESPECIAL17", 0);
}
if(frame==3)
{
key("F", "ANI_FREESPECIAL25", 0);
}
if(frame==4)
{
key("D", "ANI_attackdown", 0);
}
if(frame==4)
{
key("U", "ANI_attackup", 0);
}
if(frame==4)
{
key("A", "ANI_FREESPECIAL17", 0);
}
if(frame==4)
{
key("F", "ANI_FREESPECIAL25", 0);
}
if(frame==5)
{
key("D", "ANI_attackdown", 0);
}
if(frame==5)
{
key("U", "ANI_attackup", 0);
}
if(frame==5)
{
key("A", "ANI_FREESPECIAL17", 0);
}
if(frame==5)
{
key("F", "ANI_FREESPECIAL25", 0);
}
if(frame==6)
{
key("D", "ANI_attackdown", 0);
}
if(frame==6)
{
key("U", "ANI_attackup", 0);
}
if(frame==6)
{
key("A", "ANI_FREESPECIAL17", 0);
}
if(frame==6)
{
key("F", "ANI_FREESPECIAL25", 0);
}
return;
}
if(animhandle==104)
{

if (frame==1){
void i,ent,total,find=0;
total=openborvariant("ent_max");
for(i=0;i<total;i++)
{
ent=getentity(i);
if(getentityproperty(ent,"Name")=="Dickson"||
getentityproperty(ent,"Name")=="Dickson1")
{
killentity(ent);
find=1;
}
}
if(find)return;
clearspawnentry();
setspawnentry("name","Dickson");
setspawnentry("coords",0,240);
spawn();
}
return;
}
if(animhandle==105)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.3);
}
if(frame==10)
{
makeInv(150);
}
return;
}
if(animhandle==107)
{
if(frame==2)
{
key("A", "ANI_freespecial21", 1);
}
return;
}
if(animhandle==108)
{
if(frame==2)
{
key("U", "ANI_freespecial7", 1);
}
if(frame==2)
{
key("D", "ANI_freespecial13", 1);
}
if(frame==2)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==2)
{
key("F", "ANI_freespecial8", 1);
}
if(frame==4)
{
key("A", "ANI_freespecial22", 1);
}
if(frame==5)
{
key("A", "ANI_freespecial22", 1);
}
if(frame==5)
{
key("U", "ANI_freespecial7", 1);
}
if(frame==5)
{
key("D", "ANI_freespecial13", 1);
}
if(frame==5)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==5)
{
key("F", "ANI_freespecial8", 1);
}
return;
}
if(animhandle==110)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL24", 3, 3);
}
if(frame==0)
{
tyrantBody(1, 0.5);
}
if(frame==30)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==111)
{
if(frame==0)
{
tyrantBody(1, 0.5);
}
if(frame==26)
{
tyrantBody(1, 0.3);
}
if(frame==35)
{
tyrantBody(0, 1);
}
if(frame==36)
{
makeInv(150);
}
return;
}
if(animhandle==113)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL12", 2, 2);
}
if(frame==3)
{
leaper(2.2, 1.5, 0);
}
return;
}
if(animhandle==114)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
leaper(3, 4, 0);
}
if(frame==0)
{
hpAni("ANI_JUMPFORWARD");
}
if(frame==1)
{
zoom();
}
if(frame==6)
{
search();
}
return;
}
if(animhandle==115)
{
if(frame==0)
{
flip();
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 35, 0, -1, 0);
}
if(frame==4)
{
position(0, 30, 0, -1, 0);
}
if(frame==7)
{
leaper(0.2, 3.5, 0);
}
if(frame==8)
{
position(1, 10, 40, -1, 0);
}
if(frame==10)
{
position(1, 20, 60, -1, 0);
}
if(frame==11)
{
position(2, 30, 0, -1, 0);
}
if(frame==11)
{
hurt(45);
}
if(frame==11)
{
spawn01("qflash", 40, 0, 0);
}
if(frame==12)
{
position(3, 30, 0, -1, 0);
}
if(frame==12)
{
clearSlam();
}
return;
}
if(animhandle==116)
{
if(frame==1)
{
leaper(1.5, 1.2, 0);
}
if(frame==3)
{
stop();
}
if(frame==3)
{
leaper(0.5, 0, 0);
}
if(frame==8)
{
leaper(1.5, 0, 0);
}
if(frame==10)
{
looper(8, 5);
}
if(frame==11)
{
clearL();
}
return;
}
if(animhandle==117)
{
if(frame==0)
{
leaper(1, 0, 0);
}
return;
}
if(animhandle==119)
{
if(frame==1)
{
leaper(1, 2.5, 0);
}
return;
}
if(animhandle==120)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 20, 0, -1, 1);
}
if(frame==1)
{
position(0, 12, 7, -1, 1);
}
if(frame==2)
{
position(2, -30, 30, -1, 1);
}
if(frame==3)
{
hurt(36);
}
if(frame==3)
{
position(2, -45, 0, -1, 1);
}
if(frame==3)
{
spawn01("zd", -25, 0, -1);
}
if(frame==4)
{
position(3, -50, 0, -1, 0);
}
if(frame==4)
{
clearSlam();
}
if(frame==6)
{
clearSlam();
}
if(frame==7)
{
clearSlam();
}
return;
}
if(animhandle==123)
{
if(frame==0)
{
backAni("ANI_FREESPECIAL2");
}
return;
}
if(animhandle==125)
{
if(frame==0)
{
backAni("ANI_FREESPECIAL9");
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 15, 0, -1, -1);
}
if(frame==1)
{
position(0, 10, 0, -1, -1);
}
if(frame==2)
{
position(2, -30, 29, -1, -1);
}
if(frame==3)
{
throw(30, 2.5, 2.2, 0, -1);
}
if(frame==3)
{
clearSlam();
}
return;
}
if(animhandle==126)
{
if(frame==0)
{
key("J", "ANI_FREESPECIAL10", 0);
}
return;
}
if(animhandle==128)
{
if(frame==0)
{
leaper(0, 2, 0);
}
if(frame==2)
{
leaper(-2, 3, 0);
}
return;
}
if(animhandle==129)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 0, 1, -1, -1);
}
if(frame==1)
{
position(1, 0, 30, -1, -1);
}
if(frame==2)
{
spawn01("zd", 40, 0, 1);
}
if(frame==2)
{
position(3, 20, 0, -1, -1);
}
if(frame==2)
{
hurt(30);
}
if(frame==3)
{
position(3, 20, 0, -1, -1);
}
if(frame==3)
{
clearSlam();
}
if(frame==3)
{
leaper(-0.8, 1.5, 0);
}
return;
}
if(animhandle==130)
{
if(frame==6)
{
leaper(3, 2, 0);
}
return;
}
if(animhandle==131)
{
if(frame==0)
{
tyrantBody(0, 1);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==132)
{
if(frame==1)
{
wallAttack("ANI_FOLLOW3");
}
if(frame==2)
{
wallAttack("ANI_FOLLOW3");
}
if(frame==3)
{
wallAttack("ANI_FOLLOW3");
}
if(frame==4)
{
wallAttack("ANI_FOLLOW3");
}
if(frame==5)
{
wallAttack("ANI_FOLLOW3");
}
return;
}
if(animhandle==134)
{
if(frame==0)
{
lockR(32, 10, 55, "ANI_FREESPECIAL8", "");
}
return;
}
if(animhandle==141)
{
if(frame==1)
{
key("UA", "ANI_freespecial7", 1);
}
return;
}
if(animhandle==142)
{
if(frame==1)
{
key("S", "ANI_freespecial5", 1);
}
if(frame==2)
{
key("S", "ANI_freespecial5", 1);
}
if(frame==3)
{
key("S", "ANI_freespecial5", 1);
}
if(frame==4)
{
key("S", "ANI_freespecial5", 1);
}
return;
}
if(animhandle==143)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL26", 1, 1);
}
if(frame==3)
{
leaper(1.4, 1.5, 0);
}
return;
}
if(animhandle==147)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL19", 3, 3);
}
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.3);
}
if(frame==10)
{
makeInv(150);
}
if(frame==10)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==148)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.4);
}
if(frame==8)
{
makeInv(100);
}
if(frame==8)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==150)
{
if(frame==0)
{
tyrantBody(0, 1);
}
return;
}

#### animationscript function main #####


# data/chars/Adam/Adam.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==156)
{
if(frame==0)
{
incAtt();
}
if(frame==2)
{
key("F", "ANI_freespecial10", 1);
}
if(frame==2)
{
key("D", "ANI_grabbackward", 1);
}
if(frame==2)
{
key("U", "ANI_freespecial", 1);
}
if(frame==2)
{
key("B", "ANI_follow3", 1);
}
if(frame==3)
{
key("F", "ANI_freespecial10", 1);
}
if(frame==3)
{
key("D", "ANI_grabbackward", 1);
}
if(frame==3)
{
key("U", "ANI_freespecial", 1);
}
if(frame==3)
{
key("B", "ANI_follow3", 1);
}
return;
}
if(animhandle==157)
{
if(frame==0)
{
incAtt();
}
if(frame==0)
{
lvAtt("ANI_FREESPECIAL17", 3, 3);
}
if(frame==2)
{
key("F", "ANI_freespecial10", 1);
}
if(frame==2)
{
key("D", "ANI_grabbackward", 1);
}
if(frame==2)
{
key("U", "ANI_freespecial", 1);
}
if(frame==2)
{
key("B", "ANI_follow3", 1);
}
return;
}
if(animhandle==159)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==0)
{
costSelf(50);
}
if(frame==8)
{
makeInv(100);
}
if(frame==8)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==164)
{
if(frame==5)
{
adjustEnemy();
}
return;
}
if(animhandle==165)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, -20, 0, -1, -1);
}
if(frame==0)
{
hurt2(5, 1);
}
if(frame==1)
{
position(2, 40, 42, -1, -1);
}
if(frame==2)
{
position(2, 40, 0, -1, -1);
}
if(frame==2)
{
spawn01("qflash", 40, 0, 1);
}
if(frame==2)
{
hurt(29);
}
if(frame==3)
{
position(3, 40, 0, -1, -1);
}
if(frame==4)
{
makeInv(50);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==166)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 23, 0, -1, 1);
}
if(frame==1)
{
position(1, 5, 46, -1, 1);
}
if(frame==2)
{
position(2, -28, 35, -1, 1);
}
if(frame==3)
{
position(2, -40, 0, -1, 1);
}
if(frame==3)
{
spawn01("qflash", -40, 0, 1);
}
if(frame==3)
{
hurt(32);
}
if(frame==4)
{
position(3, -40, 0, -1, 1);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==168)
{
if(frame==0)
{
dasher(0.4, 0, 0);
}
if(frame==1)
{
stop();
}
if(frame==3)
{
zoom();
}
return;
}
if(animhandle==171)
{
if(frame==0)
{
dasher(-1.8, 0, 0);
}
if(frame==3)
{
dasher(1.6, 0, 0);
}
if(frame==4)
{
dasher(0.7, 0, 0);
}
if(frame==5)
{
dasher(0.4, 0, 0);
}
if(frame==6)
{
stop();
}
return;
}
if(animhandle==172)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==1)
{
key("A3", "ANI_FREESPECIAL11", 0);
}
if(frame==1)
{
key("F", "ANI_FREESPECIAL", 0);
}
if(frame==1)
{
key("D", "ANI_attackdown", 0);
}
if(frame==1)
{
key("U", "ANI_attackup", 0);
}
if(frame==2)
{
key("A3", "ANI_FREESPECIAL11", 0);
}
if(frame==2)
{
key("F", "ANI_FREESPECIAL", 0);
}
if(frame==2)
{
key("D", "ANI_attackdown", 0);
}
if(frame==2)
{
key("U", "ANI_attackup", 0);
}
if(frame==3)
{
key("A3", "ANI_FREESPECIAL11", 0);
}
if(frame==3)
{
key("F", "ANI_FREESPECIAL", 0);
}
if(frame==3)
{
key("D", "ANI_attackdown", 0);
}
if(frame==3)
{
key("U", "ANI_attackup", 0);
}
return;
}
if(animhandle==173)
{
if(frame==4)
{
lock();
}
if(frame==4)
{
position(0, -20, 0, -1, 1);
}
if(frame==5)
{
position(4, 10, 60, -1, -1);
}
if(frame==6)
{
position(2, 40, 42, -1, 1);
}
if(frame==7)
{
throw(35, 2, 2.5, 0, 0);
}
return;
}
if(animhandle==174)
{
if (frame==1){
void i,ent,total,find=0;
total=openborvariant("ent_max");
for(i=0;i<total;i++)
{
ent=getentity(i);
if(getentityproperty(ent,"Name")=="Dickson"||
getentityproperty(ent,"Name")=="Dickson1")
{
killentity(ent);
find=1;
}
}
if(find)return;
clearspawnentry();
setspawnentry("name","Dickson");
setspawnentry("coords",0,240);
spawn();
}
return;
}
if(animhandle==175)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL9", 3, 3);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==0)
{
dasher(-1.8, 0, 0);
}
if(frame==3)
{
dasher(1.6, 0, 0);
}
if(frame==4)
{
dasher(0.7, 0, 0);
}
if(frame==5)
{
dasher(0.4, 0, 0);
}
if(frame==6)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==177)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL9", 3, 3);
}
if(frame==0)
{
costSelf(50);
}
return;
}
if(animhandle==178)
{
if(frame==1)
{
shoot("Bullet", 40, 65, -1);
}
return;
}
if(animhandle==179)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL8", 3, 3);
}
return;
}
if(animhandle==180)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, -15, 0, -1, -1);
}
if(frame==1)
{
position(1, -30, 50, -1, -1);
}
if(frame==2)
{
spawn01("qflash", -25, 0, 1);
}
if(frame==2)
{
position(2, -25, 0, -1, -1);
}
if(frame==2)
{
hurt2(32, 1);
}
if(frame==3)
{
position(3, -25, 0, -1, 0);
}
if(frame==3)
{
finish(1, -2, 2, 0, -1);
}
if(frame==3)
{
clearSlam();
}
return;
}
if(animhandle==181)
{
if(frame==0)
{
stayAir(20);
}
if(frame==1)
{
flip();
}
return;
}
if(animhandle==182)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL16", 2, 2);
}
if(frame==1)
{
zoom();
}
return;
}
if(animhandle==183)
{
if(frame==0)
{
dasher(1.5, 0, 0);
}
if(frame==1)
{
dasher(0.7, 0, 0);
}
if(frame==2)
{
dasher(0.4, 0, 0);
}
if(frame==3)
{
stop();
}
return;
}
if(animhandle==184)
{
if(frame==14)
{
zoom();
}
if(frame==18)
{
leaper(0, 3.5, 0);
}
if(frame==25)
{
stop();
}
return;
}
if(animhandle==187)
{
if(frame==0)
{
backAni("ANI_FOLLOW2");
}
return;
}
if(animhandle==189)
{
if(frame==0)
{
backAni("ANI_FOLLOW3");
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, -20, 0, -1, 1);
}
if(frame==1)
{
position(4, 10, 60, -1, -1);
}
if(frame==2)
{
position(2, 40, 42, -1, 1);
}
if(frame==3)
{
throw(35, 2, 2.5, 0, 0);
}
return;
}
if(animhandle==190)
{
if(frame==0)
{
key("J", "ANI_freespecial12", 0);
}
return;
}
if(animhandle==192)
{
if(frame==0)
{
backAni("ANI_grabbackward");
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, -20, 0, -1, 1);
}
if(frame==1)
{
position(4, 10, 60, -1, -1);
}
if(frame==2)
{
position(2, 40, 42, -1, 1);
}
if(frame==3)
{
throw(35, 2, 2.5, 0, 0);
}
return;
}
if(animhandle==193)
{
if(frame==0)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==194)
{
if(frame==1)
{
wallAttack("ANI_FREESPECIAL6");
}
if(frame==2)
{
wallAttack("ANI_FREESPECIAL6");
}
if(frame==3)
{
wallAttack("ANI_FREESPECIAL6");
}
if(frame==4)
{
wallAttack("ANI_FREESPECIAL6");
}
return;
}
if(animhandle==203)
{
if(frame==0)
{
lockR(33, 15, 1, "ANI_FREESPECIAL5", "");
}
if(frame==0)
{
lvAtt("ANI_FREESPECIAL4", 2, 2);
}
if(frame==0)
{
dasher(1.5, 0, 0);
}
if(frame==1)
{
dasher(0.7, 0, 0);
}
if(frame==2)
{
dasher(0.4, 0, 0);
}
if(frame==3)
{
stop();
}
return;
}
if(animhandle==206)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==0)
{
costSelf(50);
}
if(frame==8)
{
makeInv(100);
}
if(frame==8)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==207)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==6)
{
tyrantBody(0, 1);
}
if(frame==14)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==209)
{
if(frame==0)
{
tyrantBody(0, 1);
}
return;
}

#### animationscript function main #####


# data/chars/Max/Max.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==214)
{
if(frame==0)
{
incAtt();
}
if(frame==5)
{
key("F", "ANI_FOLLOW3", 1);
}
if(frame==5)
{
key("D", "ANI_grabbackward", 1);
}
if(frame==5)
{
key("B", "ANI_freespecial8", 1);
}
if(frame==5)
{
key("U", "ANI_freespecial3", 1);
}
if(frame==6)
{
key("F", "ANI_FOLLOW3", 1);
}
if(frame==6)
{
key("D", "ANI_freespecial7", 1);
}
if(frame==6)
{
key("B", "ANI_freespecial8", 1);
}
if(frame==6)
{
key("U", "ANI_grabbackward", 1);
}
return;
}
if(animhandle==215)
{
if(frame==0)
{
incAtt();
}
return;
}
if(animhandle==217)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==9)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==220)
{
if(frame==0)
{
slamInt();
}
return;
}
if(animhandle==221)
{
if(frame==0)
{
slamInt();
}
return;
}
if(animhandle==222)
{
if(frame==0)
{
slamInt();
}
return;
}
if(animhandle==224)
{
if(frame==3)
{
spawn01("dust", 10, 0, -1);
}
return;
}
if(animhandle==225)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL11", 3, 3);
}
if(frame==1)
{
lock();
}
if(frame==1)
{
position(0, 23, 0, -1, -1);
}
if(frame==2)
{
position(2, 0, 25, 1, -1);
}
if(frame==3)
{
position(2, -10, 25, -1, -1);
}
if(frame==4)
{
position(2, 0, 25, -1, 1);
}
if(frame==5)
{
position(2, 10, 25, -1, 1);
}
if(frame==6)
{
position(2, 0, 25, 1, -1);
}
if(frame==7)
{
position(2, -10, 25, -1, -1);
}
if(frame==8)
{
position(2, 0, 25, -1, 1);
}
if(frame==9)
{
position(2, 10, 25, -1, 1);
}
if(frame==10)
{
position(2, 0, 25, 1, -1);
}
if(frame==11)
{
position(2, -10, 25, -1, -1);
}
if(frame==12)
{
position(2, 0, 25, -1, 1);
}
if(frame==13)
{
position(2, 10, 25, -1, 1);
}
if(frame==14)
{
spawn01("qflash", 20, -20, 1);
}
if(frame==14)
{
hurt2(100, 1);
}
if(frame==14)
{
position(2, 10, 0, -1, 1);
}
if(frame==15)
{
finish(1, 2, 2, 0, -1);
}
if(frame==15)
{
clearSlam();
}
if(frame==15)
{
leaper(-2, 2, 0);
}
return;
}
if(animhandle==226)
{
if(frame==1)
{
zoom();
}
if(frame==1)
{
lock();
}
if(frame==1)
{
position(0, 30, 0, -1, 1);
}
if(frame==2)
{
position(1, -9, 70, -1, 1);
}
if(frame==3)
{
position(2, -55, 35, -1, 1);
}
if(frame==4)
{
hurt2(30, 1);
}
if(frame==4)
{
position(2, -78, 1, -1, 1);
}
if(frame==4)
{
spawn01("zd", -70, 0, -1);
}
if(frame==6)
{
flip();
}
if(frame==6)
{
position(0, 30, 0, -1, 1);
}
if(frame==7)
{
position(1, -9, 70, -1, 1);
}
if(frame==8)
{
position(2, -55, 35, -1, 1);
}
if(frame==9)
{
hurt2(30, 1);
}
if(frame==9)
{
position(2, -78, 0, -1, 1);
}
if(frame==9)
{
spawn01("qflash", -78, 0, 1);
}
if(frame==9)
{
spawn01("zd", -70, 0, -1);
}
if(frame==11)
{
flip();
}
if(frame==11)
{
position(0, 23, 0, -1, -1);
}
if(frame==12)
{
leaper(1, 4, 0);
}
if(frame==12)
{
position(2, 0, 25, 1, -1);
}
if(frame==13)
{
position(2, -10, 25, -1, -1);
}
if(frame==14)
{
position(2, 0, 25, -1, 1);
}
if(frame==15)
{
position(2, 10, 25, -1, 1);
}
if(frame==16)
{
position(2, 0, 25, 1, -1);
}
if(frame==17)
{
position(2, -10, 25, -1, -1);
}
if(frame==18)
{
position(2, 0, 25, -1, 1);
}
if(frame==19)
{
position(2, 10, 25, -1, 1);
}
if(frame==20)
{
position(2, 0, 25, 1, -1);
}
if(frame==21)
{
position(2, -10, 25, -1, -1);
}
if(frame==22)
{
position(2, 0, 25, -1, 1);
}
if(frame==23)
{
position(2, 10, 25, -1, 1);
}
if(frame==24)
{
spawn01("qflash", 20, -20, 1);
}
if(frame==24)
{
hurt(100);
}
if(frame==24)
{
position(2, 22, 0, -1, 1);
}
if(frame==25)
{
clearSlam();
}
if(frame==25)
{
leaper(-2, 2, 0);
}
return;
}
if(animhandle==227)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 20, 0, -1, -1);
}
if(frame==1)
{
position(1, 20, 30, -1, -1);
}
if(frame==2)
{
stayDown();
}
if(frame==2)
{
position(3, 0, 0, -1, -1);
}
if(frame==3)
{
spawn01("zd", -60, 0, -1);
}
if(frame==3)
{
hurt(45);
}
if(frame==3)
{
position(3, 0, 0, -1, -1);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==229)
{
if(frame==0)
{
backAni("ANI_follow1");
}
if(frame==9)
{
adjustEnemy();
}
return;
}
if(animhandle==230)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==1)
{
key("A", "ANI_FREESPECIAL15", 0);
}
if(frame==1)
{
key("F", "ANI_ATTACK3", 0);
}
if(frame==1)
{
key("D", "ANI_attackdown", 0);
}
if(frame==1)
{
key("U", "ANI_attackup", 0);
}
if(frame==2)
{
key("A", "ANI_FREESPECIAL15", 0);
}
if(frame==2)
{
key("F", "ANI_ATTACK3", 0);
}
if(frame==2)
{
key("D", "ANI_attackdown", 0);
}
if(frame==2)
{
key("U", "ANI_attackup", 0);
}
if(frame==3)
{
key("A", "ANI_FREESPECIAL15", 0);
}
if(frame==3)
{
key("F", "ANI_ATTACK3", 0);
}
if(frame==3)
{
key("D", "ANI_attackdown", 0);
}
if(frame==3)
{
key("U", "ANI_attackup", 0);
}
if(frame==4)
{
key("A", "ANI_FREESPECIAL15", 0);
}
if(frame==4)
{
key("F", "ANI_ATTACK3", 0);
}
if(frame==4)
{
key("D", "ANI_attackdown", 0);
}
if(frame==4)
{
key("U", "ANI_attackup", 0);
}
if(frame==5)
{
key("A", "ANI_FREESPECIAL15", 0);
}
if(frame==5)
{
key("F", "ANI_ATTACK3", 0);
}
if(frame==5)
{
key("D", "ANI_attackdown", 0);
}
if(frame==5)
{
key("U", "ANI_attackup", 0);
}
return;
}
if(animhandle==231)
{

if (frame==1){
void i,ent,total,find=0;
total=openborvariant("ent_max");
for(i=0;i<total;i++)
{
ent=getentity(i);
if(getentityproperty(ent,"Name")=="Dickson"||
getentityproperty(ent,"Name")=="Dickson1")
{
killentity(ent);
find=1;
}
}
if(find)return;
clearspawnentry();
setspawnentry("name","Dickson");
setspawnentry("coords",0,240);
spawn();
}
return;
}
if(animhandle==232)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL9", 1, 1);
}
if(frame==0)
{
costSelf(50);
}
return;
}
if(animhandle==233)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL22", 2, 2);
}
if(frame==4)
{
leaper(0.5, 0, 0);
}
if(frame==10)
{
stop();
}
return;
}
if(animhandle==234)
{
if(frame==0)
{
costSelf(50);
}
return;
}
if(animhandle==235)
{
if(frame==0)
{
costSelf(30);
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 20, 5, -1, -1);
}
if(frame==1)
{
position(0, 20, 10, -1, -1);
}
if(frame==2)
{
position(2, 20, 0, -1, 1);
}
if(frame==3)
{
position(2, 20, 0, -1, 1);
}
if(frame==3)
{
spawn01("zd", 28, 0, 1);
}
if(frame==3)
{
hurt2(35, 1);
}
if(frame==4)
{
finish(1, 2, 2, 0, 1);
}
if(frame==4)
{
clearSlam();
}
if(frame==6)
{
leaper(-1.5, 1.7, 0);
}
return;
}
if(animhandle==236)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL13", 3, 3);
}
if(frame==0)
{
flip();
}
if(frame==1)
{
flip();
}
if(frame==1)
{
leaper(0.5, 0, 0);
}
if(frame==8)
{
stop();
}
return;
}
if(animhandle==237)
{
if(frame==7)
{
spawn01("zd", 15, 0, -1);
}
if(frame==7)
{
spawn01("dust", 10, 0, -1);
}
return;
}
if(animhandle==238)
{
if(frame==0)
{
leaper(0.8, 3, 0);
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 24, 5, -1, 1);
}
if(frame==1)
{
position(0, 24, 10, -1, 1);
}
if(frame==2)
{
position(0, 24, 10, -1, 1);
}
if(frame==3)
{
position(0, 24, 10, -1, 1);
}
if(frame==3)
{
spawn01("zd", 28, 0, 1);
}
if(frame==3)
{
hurt(55);
}
if(frame==4)
{
position(3, 24, 10, -1, 1);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==239)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 25, 0, -1, 1);
}
if(frame==1)
{
leaper(-0.5, 3, 0);
}
if(frame==1)
{
position(1, -9, 70, -1, 1);
}
if(frame==2)
{
position(2, -55, 35, -1, 1);
}
if(frame==3)
{
hurt2(40, 1);
}
if(frame==3)
{
position(2, -78, 0, -1, 1);
}
if(frame==3)
{
spawn01("zd", -60, 0, -1);
}
if(frame==4)
{
finish(1, -2, 2, 0, -1);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==240)
{
if(frame==4)
{
lock();
}
if(frame==4)
{
position(2, 20, 60, -1, 1);
}
if(frame==5)
{
position(2, 30, 60, -1, 0);
}
if(frame==6)
{
position(2, 45, 60, -1, 0);
}
if(frame==6)
{
throw(30, 1.9, 2.2, 0, 0);
}
if(frame==6)
{
clearSlam();
}
return;
}
if(animhandle==241)
{
if(frame==1)
{
spawn01("dust", 30, 0, -1);
}
if(frame==1)
{
dasher(1, 0, 0);
}
if(frame==2)
{
dasher(1.7, 0, 0);
}
if(frame==3)
{
dasher(1, 0, 0);
}
if(frame==4)
{
spawn01("dust", 30, 0, -1);
}
if(frame==4)
{
dasher(0.7, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}
if(animhandle==242)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 25, 0, -1, 1);
}
if(frame==1)
{
position(1, -9, 70, -1, 1);
}
if(frame==2)
{
position(2, -55, 35, -1, 1);
}
if(frame==3)
{
throw(45, -2.6, 1.8, 0, -1);
}
if(frame==3)
{
clearSlam();
}
return;
}
if(animhandle==243)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL10", 2, 2);
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(3, 80, 30, 0, -1);
}
if(frame==1)
{
position(3, 35, 30, 1, -1);
}
if(frame==2)
{
position(3, -80, 30, -1, 1);
}
if(frame==3)
{
position(3, -30, 45, -1, 1);
}
if(frame==4)
{
position(3, 80, 30, 0, -1);
}
if(frame==5)
{
position(3, 35, 30, 1, -1);
}
if(frame==6)
{
position(3, -80, 30, -1, 1);
}
if(frame==7)
{
position(3, -30, 45, -1, 1);
}
if(frame==8)
{
position(3, 80, 30, 0, -1);
}
if(frame==9)
{
position(3, 35, 30, 1, -1);
}
if(frame==10)
{
position(3, -80, 30, -1, 1);
}
if(frame==11)
{
position(3, -30, 45, -1, 1);
}
if(frame==12)
{
position(3, 30, 45, -1, 1);
}
if(frame==12)
{
throw(65, 3.2, 2, 0, 0);
}
return;
}
if(animhandle==245)
{
if(frame==0)
{
key("FJ", "ANI_freespecial21", 1);
}
if(frame==0)
{
key("BJ", "ANI_freespecial5", 1);
}
return;
}
if(animhandle==246)
{
if(frame==0)
{
backAni("ANI_freespecial8");
}
return;
}
if(animhandle==247)
{
if(frame==0)
{
backAni("ANI_freespecial4");
}
if(frame==0)
{
key("FJ", "ANI_freespecial21", 1);
}
if(frame==0)
{
key("BJ", "ANI_freespecial5", 1);
}
return;
}
if(animhandle==248)
{
if(frame==1)
{
key("FJ", "ANI_freespecial21", 1);
}
if(frame==1)
{
key("BJ", "ANI_freespecial5", 1);
}
return;
}
if(animhandle==249)
{
if(frame==0)
{
fullMpAni("ANI_FREESPECIAL8");
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 25, 0, -1, 1);
}
if(frame==1)
{
position(1, -9, 70, -1, 1);
}
if(frame==2)
{
position(2, -55, 35, -1, 1);
}
if(frame==3)
{
hurt(40);
}
if(frame==3)
{
position(2, -78, 0, -1, 1);
}
if(frame==3)
{
spawn01("zd", -70, 0, -1);
}
if(frame==4)
{
position(3, -78, 0, -1, 1);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==250)
{
if(frame==0)
{
key("J", "ANI_FREESPECIAL6", 0);
}
return;
}
if(animhandle==251)
{
if(frame==0)
{
lvAtt("ANI_ATTACK3", 2, 0);
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 20, 0, -1, -1);
}
if(frame==1)
{
position(1, 20, 30, -1, -1);
}
if(frame==2)
{
stayDown();
}
if(frame==2)
{
position(3, 0, 0, -1, -1);
}
if(frame==3)
{
hurt2(15, 1);
}
if(frame==3)
{
position(3, 0, 0, -1, -1);
}
if(frame==4)
{
position(3, 0, 0, -1, -1);
}
if(frame==6)
{
spawn01("qflash", 30, 0, 1);
}
if(frame==6)
{
hurt2(10, 1);
}
if(frame==6)
{
stayDown();
}
if(frame==7)
{
position(3, 0, 0, -1, -1);
}
if(frame==8)
{
position(3, 0, 0, -1, -1);
}
if(frame==9)
{
spawn01("qflash", 30, 0, 1);
}
if(frame==9)
{
hurt2(10, 1);
}
if(frame==10)
{
position(3, 0, 0, -1, -1);
}
if(frame==12)
{
position(3, 0, 0, -1, -1);
}
if(frame==12)
{
spawn01("qflash", 30, 0, 1);
}
if(frame==12)
{
finish(20, -1, 1, 0, -1);
}
if(frame==12)
{
clearSlam();
}
return;
}
if(animhandle==252)
{
if(frame==0)
{
lvAtt("ANI_grabbackward", 2, 2);
}
if(frame==0)
{
lvAtt("ANI_FREESPECIAL9", 3, 3);
}
if(frame==0)
{
backAni("ANI_freespecial12");
}
return;
}
if(animhandle==253)
{
if(frame==0)
{
backAni("ANI_FREESPECIAL4");
}
if(frame==0)
{
lvAtt("ANI_grabbackward", 2, 2);
}
if(frame==0)
{
lvAtt("ANI_FREESPECIAL9", 3, 3);
}
return;
}
if(animhandle==254)
{
if(frame==0)
{
leaper(0.8, 3, 0);
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 24, 5, -1, 1);
}
if(frame==1)
{
position(0, 24, 10, -1, 1);
}
if(frame==2)
{
position(0, 24, 10, -1, 1);
}
if(frame==3)
{
position(0, 24, 10, -1, 1);
}
if(frame==3)
{
spawn01("zd", 28, 0, 1);
}
if(frame==3)
{
hurt(40);
}
if(frame==4)
{
position(3, 24, 10, -1, 1);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==255)
{
if(frame==1)
{
key("FJ", "ANI_freespecial21", 1);
}
if(frame==1)
{
key("BJ", "ANI_freespecial5", 1);
}
return;
}
if(animhandle==256)
{
if(frame==0)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==263)
{
if(frame==0)
{
slamInt();
}
return;
}
if(animhandle==264)
{
if(frame==0)
{
slamInt();
}
return;
}
if(animhandle==267)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL19", 1, 1);
}
if(frame==1)
{
spawn01("dust", 30, 0, -1);
}
if(frame==1)
{
dasher(0.8, 0, 0);
}
if(frame==2)
{
dasher(0.8, 0, 0);
}
if(frame==3)
{
dasher(0.8, 0, 0);
}
if(frame==5)
{
dasher(1, 0, 0);
}
if(frame==6)
{
dasher(1, 0, 0);
}
if(frame==7)
{
spawn01("dust", 30, 0, -1);
}
if(frame==7)
{
stop();
}
return;
}
if(animhandle==270)
{
if(frame==0)
{
slamInt();
}
return;
}
if(animhandle==271)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==9)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==272)
{
if(frame==0)
{
tyrantBody(1, 0.3);
}
if(frame==0)
{
costSelf(50);
}
if(frame==1)
{
dasher(1, 0, 0);
}
if(frame==2)
{
dasher(0.9, 0, 0);
}
if(frame==4)
{
dasher(1, 0, 0);
}
if(frame==6)
{
dasher(1, 0, 0);
}
if(frame==8)
{
dasher(1.5, 0, 0);
}
if(frame==10)
{
dasher(1.5, 0, 0);
}
if(frame==12)
{
dasher(1.5, 0, 0);
}
if(frame==14)
{
dasher(2, 0, 0);
}
if(frame==16)
{
dasher(2, 0, 0);
}
if(frame==17)
{
dasher(1, 0, 0);
}
if(frame==19)
{
stop();
}
if(frame==19)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==274)
{
if(frame==0)
{
tyrantBody(0, 1);
}
return;
}

#### animationscript function main #####


# data/chars/zan/fbs/blockball1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==279)
{
if(frame==21)
{
killentity(getlocalvar("self"));
}
return;
}

#### animationscript function main #####


# data/chars/zan/zan.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==282)
{
if(frame==0)
{
incAtt();
}
if(frame==2)
{
key("F", "ANI_follow3", 1);
}
if(frame==2)
{
key("U", "ANI_FREESPECIAL8", 1);
}
if(frame==2)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==2)
{
key("D", "ANI_grabforward", 1);
}
return;
}
if(animhandle==283)
{
if(frame==0)
{
incAtt();
}
if(frame==2)
{
key("F", "ANI_FOLLOW3", 1);
}
if(frame==2)
{
key("U", "ANI_FREESPECIAL8", 1);
}
if(frame==2)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==2)
{
key("D", "ANI_grabforward", 1);
}
if(frame==3)
{
key("F", "ANI_FOLLOW3", 1);
}
if(frame==3)
{
key("U", "ANI_FREESPECIAL8", 1);
}
if(frame==3)
{
key("B", "ANI_grabbackward", 1);
}
if(frame==3)
{
key("D", "ANI_grabforward", 1);
}
return;
}
if(animhandle==285)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL16", 3, 3);
}
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==17)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==292)
{
if(frame==0)
{
costSelf(50);
}
return;
}
if(animhandle==293)
{
if(frame==9)
{
adjustEnemy();
}
return;
}
if(animhandle==296)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL11", 2, 2);
}
return;
}
if(animhandle==297)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL14", 2, 2);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==24)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==298)
{

if (frame==1){
void i,ent,total,find=0;
total=openborvariant("ent_max");
for(i=0;i<total;i++)
{
ent=getentity(i);
if(getentityproperty(ent,"Name")=="Dickson"||
getentityproperty(ent,"Name")=="Dickson1")
{
killentity(ent);
find=1;
}
}
if(find)return;
clearspawnentry();
setspawnentry("name","Dickson");
setspawnentry("coords",0,240);
spawn();
}
return;
}
if(animhandle==299)
{
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==1)
{
spawn01("blockball", 0, 0, 0);
}
if(frame==6)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==6)
{
key("S", "ANI_freespecial15", 0);
}
if(frame==6)
{
key("F", "ANI_freespecial4", 0);
}
if(frame==6)
{
key("D", "ANI_ATTACKDOWN", 0);
}
if(frame==6)
{
key("U", "ANI_ATTACKUP", 0);
}
if(frame==7)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==7)
{
key("S", "ANI_freespecial15", 0);
}
if(frame==7)
{
key("F", "ANI_freespecial4", 0);
}
if(frame==7)
{
key("D", "ANI_ATTACKDOWN", 0);
}
if(frame==7)
{
key("U", "ANI_ATTACKUP", 0);
}
if(frame==8)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==8)
{
key("S", "ANI_freespecial15", 0);
}
if(frame==8)
{
key("F", "ANI_freespecial4", 0);
}
if(frame==8)
{
key("D", "ANI_ATTACKDOWN", 0);
}
if(frame==8)
{
key("U", "ANI_ATTACKUP", 0);
}
if(frame==9)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==9)
{
key("S", "ANI_freespecial15", 0);
}
if(frame==9)
{
key("F", "ANI_freespecial4", 0);
}
if(frame==9)
{
key("D", "ANI_ATTACKDOWN", 0);
}
if(frame==9)
{
key("U", "ANI_ATTACKUP", 0);
}
if(frame==9)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==300)
{
if(frame==9)
{
costSelf(50);
}
return;
}
if(animhandle==301)
{
if(frame==0)
{
costSelf(50);
}
return;
}
if(animhandle==302)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==24)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==303)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL2", 2, 2);
}
if(frame==0)
{
dasher(1.8, 0, 0);
}
return;
}
if(animhandle==304)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL9", 3, 3);
}
if(frame==0)
{
dasher(1.5, 0, 0);
}
if(frame==5)
{
dasher(1.5, 0, 0);
}
if(frame==11)
{
dasher(1.5, 0, 0);
}
return;
}
if(animhandle==305)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL13", 3, 3);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==1)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==2)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==3)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==5)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==6)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==6)
{
key("S", "ANI_freespecial15", 0);
}
if(frame==6)
{
key("F", "ANI_freespecial4", 0);
}
if(frame==6)
{
key("D", "ANI_ATTACKDOWN", 0);
}
if(frame==6)
{
key("U", "ANI_ATTACKUP", 0);
}
if(frame==7)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==7)
{
key("S", "ANI_freespecial15", 0);
}
if(frame==7)
{
key("F", "ANI_freespecial4", 0);
}
if(frame==7)
{
key("D", "ANI_ATTACKDOWN", 0);
}
if(frame==7)
{
key("U", "ANI_ATTACKUP", 0);
}
if(frame==8)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==8)
{
key("S", "ANI_freespecial15", 0);
}
if(frame==8)
{
key("F", "ANI_freespecial4", 0);
}
if(frame==8)
{
key("D", "ANI_ATTACKDOWN", 0);
}
if(frame==8)
{
key("U", "ANI_ATTACKUP", 0);
}
if(frame==9)
{
key("A", "ANI_freespecial3", 0);
}
if(frame==9)
{
key("S", "ANI_freespecial15", 0);
}
if(frame==9)
{
key("F", "ANI_freespecial4", 0);
}
if(frame==9)
{
key("D", "ANI_ATTACKDOWN", 0);
}
if(frame==9)
{
key("U", "ANI_ATTACKUP", 0);
}
if(frame==9)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==306)
{
if(frame==2)
{
leaper(1.5, 0, 0);
}
if(frame==7)
{
stop();
}
return;
}
if(animhandle==307)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 10, 0, -1, 1);
}
if(frame==1)
{
position(0, 30, 25, -1, 1);
}
if(frame==2)
{
position(0, 0, 55, -1, 1);
}
if(frame==3)
{
position(2, -15, 95, -1, -1);
}
if(frame==4)
{
throw(50, 3, 0.5, 0, -1);
}
if(frame==4)
{
clearSlam();
}
return;
}
if(animhandle==308)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 35, 45, -1, -1);
}
if(frame==1)
{
position(0, 0, 52, -1, -1);
}
if(frame==2)
{
position(0, -25, 55, -1, -1);
}
if(frame==3)
{
position(0, 0, 52, -1, -1);
}
if(frame==4)
{
position(0, -25, 55, -1, -1);
}
if(frame==5)
{
position(3, 40, 0, -1, -1);
}
if(frame==5)
{
hurt(45);
}
if(frame==5)
{
spawn01("zd", 45, 0, -1);
}
if(frame==5)
{
clearSlam();
}
return;
}
if(animhandle==309)
{
if(frame==6)
{
lock();
}
if(frame==6)
{
position(2, 20, 60, -1, 1);
}
if(frame==7)
{
position(2, 30, 60, -1, 0);
}
if(frame==7)
{
throw(30, 1.8, 2, 0, 0);
}
if(frame==7)
{
clearSlam();
}
return;
}
if(animhandle==310)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 5, 5, -1, 1);
}
if(frame==1)
{
position(2, 10, 30, -1, 0);
}
if(frame==1)
{
throw(30, 2, 2, 0, 0);
}
if(frame==1)
{
clearSlam();
}
return;
}
if(animhandle==311)
{
if(frame==0)
{
tyrantBody(1, 0.5);
}
if(frame==2)
{
dasher(1, 0, 0);
}
if(frame==11)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==314)
{
if(frame==0)
{
backAni("ANI_freespecial5");
}
return;
}
if(animhandle==315)
{
if(frame==0)
{
backAni("ANI_freespecial5");
}
return;
}
if(animhandle==316)
{
if(frame==0)
{
stop();
}
if(frame==0)
{
backAni("ANI_freespecial5");
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 50, 45, -1, -1);
}
if(frame==1)
{
position(0, -30, 45, -1, -1);
}
if(frame==2)
{
position(2, -65, 55, -1, -1);
}
if(frame==2)
{
throw(38, 3.5, 1, 0, -1);
}
if(frame==2)
{
clearSlam();
}
return;
}
if(animhandle==317)
{
if(frame==0)
{
key("J", "ANI_FREESPECIAL7", 0);
}
return;
}
if(animhandle==319)
{
if(frame==0)
{
backAni("ANI_freespecial6");
}
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 35, 45, -1, -1);
}
if(frame==1)
{
position(0, 0, 52, -1, -1);
}
if(frame==2)
{
position(0, -25, 55, -1, -1);
}
if(frame==3)
{
position(0, 0, 52, -1, -1);
}
if(frame==4)
{
position(0, -25, 55, -1, -1);
}
if(frame==5)
{
position(3, 40, 0, -1, -1);
}
if(frame==5)
{
hurt(35);
}
if(frame==5)
{
spawn01("zd", 45, 0, -1);
}
if(frame==5)
{
clearSlam();
}
return;
}
if(animhandle==320)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 35, 45, -1, -1);
}
if(frame==1)
{
position(0, 0, 52, -1, -1);
}
if(frame==2)
{
position(0, -25, 55, -1, -1);
}
if(frame==3)
{
position(0, 0, 52, -1, -1);
}
if(frame==4)
{
position(0, -25, 55, -1, -1);
}
if(frame==5)
{
position(3, 40, 0, -1, -1);
}
if(frame==5)
{
hurt(45);
}
if(frame==5)
{
spawn01("zd", 45, 0, -1);
}
if(frame==5)
{
clearSlam();
}
return;
}
if(animhandle==321)
{
if(frame==0)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==331)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL17", 1, 1);
}
if(frame==0)
{
dasher(1.5, 0, 0);
}
return;
}
if(animhandle==336)
{
if(frame==0)
{
lvAtt("ANI_FREESPECIAL16", 3, 3);
}
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==17)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==337)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
if(frame==12)
{
tyrantBody(0, 1);
}
return;
}
if(animhandle==339)
{
if(frame==0)
{
tyrantBody(0, 1);
}
return;
}

}
#### animationscript function main #####
# data/move/Dickson.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==349)
{

if (frame==1){
clearspawnentry();
setspawnentry("name","Dickson1");
setspawnentry("coords",0,240);
void vSpawn=spawn();
}
return;
}

#### animationscript function main #####


# data/bgs/storeh/chain.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==350)
{

if (openborvariant("gfx_y_offset")!=-4)
{

performattack(getlocalvar("self"),openborconstant("ANI_ATTACK1"),0);
}
return;
}
if(animhandle==351)
{

if(frame==8)
{
setidle(getlocalvar("self"));
performattack(getlocalvar("self"),openborconstant("ANI_IDLE"),0);
}

return;
}

#### animationscript function main #####


# data/story/2012/ben1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==356)
{
if(frame==1)
{
spawn01("Juben", 0, 240, 0);
}
if(frame==2)
{
spawn01("Storyback", 0, 240, 0);
}
return;
}
if(animhandle==357)
{
if(frame==27)
{
killEntity("Juben");
}
if(frame==28)
{
killEntity("Storyback");
}
return;
}

#### animationscript function main #####


# data/chars/Soozie/Soozie.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==367)
{
if(frame==0)
{
moveSet();
}
if(frame==0)
{
hardAtt("ANI_FOLLOW1");
}
return;
}
if(animhandle==375)
{
if(frame==0)
{
moveZ();
}
return;
}
if(animhandle==378)
{
if(frame==0)
{
hardSet();
}
return;
}
if(animhandle==385)
{
if(frame==0)
{
hardSet();
}
return;
}

#### animationscript function main #####


# data/chars/Cliff/XCliff.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==387)
{
if(frame==1)
{
hardAtt("ANI_ATTACK1");
}
return;
}

#### animationscript function main #####


# data/chars/misc/mshbll/mshbl1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==402)
{
if(frame==0)
{
randBranch(15, "ANI_ATTACK1","");
}
if(frame==0)
{
randBranch(50, "ANI_ATTACK2","ANI_ATTACK3");
}
return;
}

#### animationscript function main #####


# data/chars/misc/mshbll/mshblle.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==407)
{

shoot("mshbl1",0,0,1);
tosser("shel",-20,5,1,0.5,1,0);
return;
}

#### animationscript function main #####


# data/chars/Cliff/QCliff.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==408)
{
if(frame==1)
{
spawn01("mshblle", 25, 44, 0);
}
if(frame==2)
{
spawn01("mshblle", 25, 43, 0);
}
if(frame==3)
{
spawn01("mshblle", 25, 42, 0);
}
return;
}
if(animhandle==409)
{
if(frame==1)
{
spawn01("mshblle", 25, 44, 0);
}
if(frame==2)
{
spawn01("mshblle", 25, 43, 0);
}
if(frame==3)
{
spawn01("mshblle", 25, 42, 0);
}
return;
}

#### animationscript function main #####


# data/chars/Cliff/Cliff.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==440)
{
if(frame==0)
{
hardSet();
}
return;
}
if(animhandle==447)
{
if(frame==0)
{
hardSet();
}
return;
}

#### animationscript function main #####


# data/chars/Zack/Zack.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==456)
{
if(frame==4)
{
enterAtt("ANI_FOLLOW1");
}
return;
}
if(animhandle==459)
{
if(frame==0)
{
hardSet();
}
return;
}
if(animhandle==465)
{
if(frame==0)
{
hardSet();
}
return;
}

#### animationscript function main #####


# data/chars/Donovan/QDonovan.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==484)
{
if(frame==1)
{
spawn01("mshblle", 27, 50, 0);
}
if(frame==3)
{
spawn01("mshblle", 27, 49, 0);
}
if(frame==5)
{
spawn01("mshblle", 27, 48, 0);
}
return;
}
if(animhandle==485)
{
if(frame==1)
{
spawn01("mshblle", 27, 50, 0);
}
if(frame==3)
{
spawn01("mshblle", 27, 49, 0);
}
if(frame==5)
{
spawn01("mshblle", 27, 48, 0);
}
return;
}

#### animationscript function main #####


# data/chars/misc/wbox/Wbox.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==523)
{
if(frame==0)
{
offKill();
}
return;
}

#### animationscript function main #####


# data/chars/Signal/Signal.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==525)
{
if(frame==0)
{
moveSet();
}
return;
}
if(animhandle==526)
{
if(frame==0)
{
moveSet();
}
return;
}
if(animhandle==527)
{
if(frame==0)
{
moveSet();
}
if(frame==1)
{
dasher(1.5, 0, 0);
}
if(frame==2)
{
dasher(2, 0, 0);
}
if(frame==3)
{
dasher(1.2, 0, 0);
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==533)
{
if(frame==0)
{
moveZ();
}
return;
}

#### animationscript function main #####


# data/chars/Macleod/Macleod.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==547)
{
if(frame==2)
{
shoot("Bullet", 40, 60, -1);
}
return;
}
if(animhandle==550)
{
if(frame==2)
{
shoot("Bullet", 40, 60, -1);
}
return;
}

#### animationscript function main #####


# data/chars/Max/Max4.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==584)
{
if(frame==1)
{
shoot("mshbll", 46, 62, 1);
}
return;
}
if(animhandle==585)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
return;
}
if(animhandle==586)
{
if(frame==1)
{
shoot("mshbll", 46, 62, 1);
}
return;
}
if(animhandle==588)
{
if(frame==0)
{
backAni("ANI_freespecial8");
}
return;
}
if(animhandle==592)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
tyrantBody(1, 0.2);
}
return;
}

#### animationscript function main #####


# data/chars/misc/wybuch3/wybu3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==604)
{
if(frame==24)
{
killentity(getlocalvar("self"));
}
return;
}

#### animationscript function main #####


# data/chars/misc/burn2/burn.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==605)
{
if(frame==16)
{
killentity(getlocalvar("self"));
}
return;
}

#### animationscript function main #####


# data/chars/misc/granat/granat.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==607)
{
if(frame==31)
{
spawn01("wybu3", 0, 0, 0);
}
if(frame==31)
{
spawn01("burn", -20, 0, -1);
}
return;
}

#### animationscript function main #####


# data/chars/Max/Max7.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==609)
{
if(frame==1)
{
shoot("mshbll", 62, 47, 1);
}
if(frame==2)
{
shoot("mshbll", 62, 46, 1);
}
if(frame==3)
{
shoot("mshbll", 62, 47, 1);
}
if(frame==4)
{
shoot("mshbll", 62, 46, 1);
}
if(frame==5)
{
shoot("mshbll", 62, 47, 1);
}
if(frame==7)
{
shoot("mshbll", 62, 46, 1);
}
if(frame==8)
{
shoot("mshbll", 62, 47, 1);
}
return;
}
if(animhandle==614)
{
if(frame==0)
{
slamInt();
}
return;
}

#### animationscript function main #####


# data/chars/Max/Max9.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==621)
{
if(frame==1)
{
shoot("mshbll", 46, 62, 1);
}
return;
}
if(animhandle==623)
{
if(frame==1)
{
shoot("mshbll", 46, 62, 1);
}
return;
}

#### animationscript function main #####


# data/chars/Axel/Axe3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==657)
{
if(frame==0)
{
dasher(0.7, 0, 0);
}
if(frame==5)
{
stop();
}
return;
}

}
#### animationscript function main #####
# data/chars/misc/mshbll/mshbl.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==660)
{
if(frame==0)
{
randBranch(15, "ANI_ATTACK1","");
}
if(frame==0)
{
randBranch(50, "ANI_ATTACK2","ANI_ATTACK3");
}
return;
}

#### animationscript function main #####


# data/chars/misc/mshbll/mshbll.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==664)
{

shoot("mshbl",0,0,1);
tosser("shel",-30,-5,1,0.5,1,0);
return;
}

#### animationscript function main #####


# data/chars/Axel/Axe4.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==665)
{
if(frame==1)
{
shoot("mshbll", 37, 62, 1);
}
return;
}
if(animhandle==671)
{
if(frame==1)
{
shoot("mshbll", 37, 62, 1);
}
return;
}
if(animhandle==673)
{
if(frame==0)
{
stop();
}
return;
}

#### animationscript function main #####


# data/chars/Axel/Axe5.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==685)
{
if(frame==9)
{
adjustEnemy();
}
return;
}
if(animhandle==695)
{
if(frame==0)
{
costSelf(50);
}
return;
}
if(animhandle==696)
{
if(frame==0)
{
costSelf(50);
}
if(frame==0)
{
dasher(0.3, 0, 0);
}
if(frame==6)
{
dasher(0.1, 0, 0);
}
if(frame==11)
{
stop();
}
return;
}
}

#### animationscript function main #####


# data/chars/Axel/Axe7.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==704)
{
if(frame==4)
{
incAtt();
}
return;
}
if(animhandle==705)
{
if(frame==0)
{
incAtt();
}
return;
}
if(animhandle==710)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(0, 20, 0, -1, -1);
}
if(frame==1)
{
position(4, 5, 50, -1, 1);
}
if(frame==2)
{
position(4, -15, 30, -1, 1);
}
if(frame==2)
{
throw(29, -2.6, 1.6, 0, 1);
}
if(frame==2)
{
clearSlam();
}
return;
}
if(animhandle==712)
{
if(frame==0)
{
lock();
}
if(frame==0)
{
position(1, 0, 70, -1, 0);
}
if(frame==1)
{
position(2, 35, 50, -1, 0);
}
if(frame==2)
{
hurt(32);
}
if(frame==2)
{
spawn01("qflash", 30, 0, -1);
}
if(frame==2)
{
position(3, 30, 0, -1, 0);
}
if(frame==3)
{
clearSlam();
}
if(frame==4)
{
leaper(-1, 2, 0);
}
return;
}
if(animhandle==722)
{
if(frame==14)
{
costSelf(50);
}
return;
}

#### animationscript function main #####


# data/chars/Axel/Axe8.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==724)
{
if(frame==1)
{
shoot("mshbll", 37, 62, 1);
}
return;
}
if(animhandle==729)
{
if(frame==1)
{
shoot("mshbll", 37, 62, 1);
}
return;
}

#### animationscript function main #####


# data/chars/Bongo/Bongo.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==747)
{
if(frame==0)
{
hardAtt("ANI_FOLLOW1");
}
if(frame==1)
{
dasher(0.7, 0, 0);
}
if(frame==2)
{
dasher(1.3, 0, 0);
}
if(frame==3)
{
dasher(1.7, 0, 0);
}
if(frame==4)
{
dasher(2.5, 0, 0);
}
if(frame==5)
{
dasher(1.7, 0, 0);
}
if(frame==6)
{
dasher(1.3, 0, 0);
}
if(frame==7)
{
dasher(0.7, 0, 0);
}
if(frame==8)
{
stop();
}
return;
}
if(animhandle==757)
{
if(frame==0)
{
hardSet();
}
return;
}

#### animationscript function main #####


# data/chars/billy/billy.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==765)
{
if(frame==0)
{
hardAtt("ANI_FOLLOW1");
}
return;
}
if(animhandle==776)
{
if(frame==0)
{
hardSet();
}
return;
}
if(animhandle==783)
{
if(frame==0)
{
hardSet();
}
return;
}

#### animationscript function main #####


# data/chars/biker/moto1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==785)
{
if(frame==7)
{
spawn01("Mt", 0, 0, -1);
}
return;
}

}
#### animationscript function main #####
# data/chars/Biker/Bikers.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==787)
{
if(frame==0)
{
dasher(1.7, 0, 0);
}
return;
}
if(animhandle==788)
{
if(frame==0)
{
dasher(1.7, 0, 0);
}
return;
}
if(animhandle==789)
{
if(frame==0)
{
dasher(1.7, 0, 0);
}
return;
}

#### animationscript function main #####


# data/chars/biker/moto.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==791)
{
if(frame==7)
{
spawn01("Mt", 0, 0, -1);
}
if(frame==15)
{
spawn02("white");
}
if(frame==15)
{
spawn01("burn", -20, 0, -1);
}
if(frame==15)
{
spawn01("wybu3", 0, 0, -1);
}
return;
}

#### animationscript function main #####


# data/chars/Biker/Biker.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==808)
{
if(frame==2)
{
spawn01("xk", 0, 0, -1);
}
return;
}
if(animhandle==809)
{
if(frame==0)
{
dasher(1.7, 0, 0);
}
return;
}
if(animhandle==810)
{
if(frame==0)
{
dasher(1.7, 0, 0);
}
return;
}
if(animhandle==811)
{
if(frame==0)
{
dasher(1.7, 0, 0);
}
return;
}

#### animationscript function main #####


# data/bgs/boss1/boss1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==812)
{
if(frame==0)
{
dasher(-0.3, 0, 0);
}
if(frame==24)
{
stop();
}
if(frame==30)
{
spawn01("donovan", 50, 0, 10);
}
if(frame==30)
{
spawn01("donovan", 76, 0, 30);
}
if(frame==35)
{
dasher(-0.3, 0, 0);
}
if(frame==50)
{
stop();
}
return;
}

#### animationscript function main #####


# data/bgs/boss1/boss2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==814)
{
if(frame==0)
{
dasher(-0.3, 0, 0);
}
if(frame==25)
{
stop();
}
return;
}

#### animationscript function main #####


# data/chars/Ash/Ash.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==816)
{
if(frame==12)
{
target(5, 3, 0, 0, 0);
}
if(frame==12)
{
dash();
}
return;
}
if(animhandle==817)
{
if(frame==12)
{
target(5, 3, 0, 0, 0);
}
if(frame==12)
{
dash();
}
return;
}
if(animhandle==818)
{
if(frame==3)
{
leaper(5, 4, 1);
}
return;
}
if(animhandle==825)
{
if(frame==1)
{
stop();
}
if(frame==1)
{
lock();
}
if(frame==1)
{
position(0, 25, 0, -1, -1);
}
if(frame==2)
{
position(1, 0, 80, -1, -1);
}
if(frame==3)
{
hurt(37);
}
if(frame==3)
{
position(3, 25, 0, -1, -1);
}
if(frame==3)
{
spawn01("qflash", 30, 0, 1);
}
if(frame==4)
{
clearSlam();
}
if(frame==5)
{
leaper(-2, 2, 0);
}
return;
}
if(animhandle==826)
{

if (frame==0){
void self=getlocalvar("self");
damageentity(self, self, 30, 1, openborconstant("ATK_NORMAL"));
}
if(frame==0)
{
stop();
}
return;
}
if(animhandle==832)
{
if(frame==3)
{
leaper(-4, 4, -1);
}
return;
}
if(animhandle==834)
{
if(frame==3)
{
leaper(-4, 4, -1);
}
return;
}

You might also like