Script Log
Script Log
# 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;
}
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;
}
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;
}
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;
}
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;
}
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;
}
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;
}
shoot("mshbl1",0,0,1);
tosser("shel",-20,5,1,0.5,1,0);
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;
}
shoot("mshbl",0,0,1);
tosser("shel",-30,-5,1,0.5,1,0);
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;
}
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;
}