#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==6)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 1);
}
if(frame==8)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==34)
{
if (frame==0){
int joinha = getglobalvar("vJoia");
void self = getlocalvar("self");
if (joinha==0){performattack(self, openborconstant("ANI_IDLE"));}
if (joinha==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (joinha==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (joinha==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (joinha==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (joinha==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
}
return;
}
if(animhandle==35)
{
if (frame==0){
int joinha = getglobalvar("vJoia");
void self = getlocalvar("self");
if (joinha==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (joinha==0){performattack(self, openborconstant("ANI_IDLE"));}
if (joinha==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (joinha==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (joinha==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (joinha==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
}
return;
}
if(animhandle==36)
{
if (frame==0){
int joinha = getglobalvar("vJoia");
void self = getlocalvar("self");
if (joinha==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (joinha==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (joinha==0){performattack(self, openborconstant("ANI_IDLE"));}
if (joinha==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (joinha==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (joinha==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
}
return;
}
if(animhandle==37)
{
if (frame==0){
int joinha = getglobalvar("vJoia");
void self = getlocalvar("self");
if (joinha==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (joinha==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (joinha==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (joinha==0){performattack(self, openborconstant("ANI_IDLE"));}
if (joinha==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (joinha==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
}
return;
}
if(animhandle==38)
{
if (frame==0){
int joinha = getglobalvar("vJoia");
void self = getlocalvar("self");
if (joinha==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (joinha==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (joinha==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (joinha==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (joinha==0){performattack(self, openborconstant("ANI_IDLE"));}
if (joinha==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
}
return;
}
if(animhandle==39)
{
if (frame==0){
int joinha = getglobalvar("vJoia");
void self = getlocalvar("self");
if (joinha==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (joinha==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (joinha==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (joinha==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (joinha==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (joinha==0){performattack(self, openborconstant("ANI_IDLE"));}
}
return;
}
if(animhandle==40)
{
if (frame==0){
int joinha = getglobalvar("vJoia");
void self = getlocalvar("self");
if (joinha==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (joinha==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (joinha==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (joinha==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (joinha==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (joinha==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==41)
{
if (frame==0){
int myVar = getglobalvar("vXavier");
void self = getlocalvar("self");
if (myVar==1 ){
performattack(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==42)
{
if (frame==0){
int myVar = getglobalvar("vXavier");
void self = getlocalvar("self");
if (myVar!=1){performattack(self, openborconstant("ANI_FOLLOW1"));}
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==43)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=1 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==44)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=9 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==45)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=10 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==46)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=2 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==47)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=3 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==48)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=4 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==49)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=5 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==50)
{
if (frame==0){
int myHelp = getglobalvar("vAjuda");
void self = getlocalvar("self");
if (myHelp!=0 && myHelp!=NULL()){
performattack(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==51)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=6 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==52)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=7 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==53)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=8 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==54)
{
if (frame==0){
int myHelp = getglobalvar("vAjuda");
void self = getlocalvar("self");
if (myHelp==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (myHelp==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (myHelp==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (myHelp==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (myHelp==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (myHelp==6){performattack(self, openborconstant("ANI_FOLLOW7"));}
if (myHelp==7){performattack(self, openborconstant("ANI_FOLLOW8"));}
if (myHelp==8){performattack(self, openborconstant("ANI_FOLLOW9"));}
if (myHelp==9){performattack(self, openborconstant("ANI_FOLLOW10"));}
if (myHelp==10){performattack(self, openborconstant("ANI_FOLLOW11"));}
performattack(self, openborconstant("ANI_FOLLOW6"));
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==61)
{
if (frame==0){
int myVar = getglobalvar("vJoia");
void self = getlocalvar("self");
if (myVar==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (myVar==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (myVar==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (myVar==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (myVar==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (myVar==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==67)
{
if (frame==0){
int joinha = getglobalvar("vJoia");
int magus = getglobalvar("vMagus");
char branch = openborvariant("current_branch");
if(branch=="strange" && joinha!=5 ){
char nome1 = getplayerproperty(0, "name");
char nome2 = getplayerproperty(1, "name");
char nome3 = getplayerproperty(2, "name");
char nome4 = getplayerproperty(3, "name");
if(nome1=="DrSt" || nome2=="DrSt" || nome3=="DrSt" || nome4=="DrSt"){
spawn01("1up", 310, 0, 0);
spawn01("credito",410, 0, 0);
spawn01("xavier",210, 0, 0);
}
}
if (joinha==5 || magus==1){
if(branch=="strange"){
spawn01("1up", 310, 0, 0);
spawn01("credito",410, 0, 0);
spawn01("xavier",210, 0, 0);
}else{
int r = rand()%3;
if(r==-2){
spawn01("lifeGem", 510, 0, 0);
spawn01("manaGem",1010, 0, 0);
spawn01("lifeGem",1510, 0, 0);
spawn01("manaGem",2010, 0, 0);
}
if(r==-1){
spawn01("lifeGem", 520, 0, 0);
spawn01("lifeGem",1020, 0, 0);
spawn01("lifeGem",1520, 0, 0);
spawn01("manaGem",2020, 0, 0);
}
if(r==0){
spawn01("lifeGem", 530, 0, 0);
spawn01("lifeGem",1030, 0, 0);
spawn01("manaGem",1530, 0, 0);
spawn01("manaGem",2030, 0, 0);
}
if(r==1){
spawn01("manaGem", 540, 0, 0);
spawn01("manaGem",1040, 0, 0);
spawn01("lifeGem",1540, 0, 0);
spawn01("manaGem",2040, 0, 0);
}
if(r==2){
spawn01("manaGem", 500, 0, 0);
spawn01("lifeGem",1000, 0, 0);
spawn01("lifeGem",1500, 0, 0);
spawn01("manaGem",2000, 0, 0);
}
}
}
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==68)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=1 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==69)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=2 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==70)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=3 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==71)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=4 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==72)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=5 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==73)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=6 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==74)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=7 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==75)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=8 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==76)
{
void boneco = getplayerproperty(0, "ent");
if (frame==0 && boneco!=NULL()){
int myVar = getplayerproperty(0, "credits");
void self = getlocalvar("self");
if (myVar==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (myVar==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (myVar==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (myVar==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (myVar==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (myVar==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
if (myVar==7){performattack(self, openborconstant("ANI_FOLLOW7"));}
if (myVar==8){performattack(self, openborconstant("ANI_FOLLOW8"));}
if (myVar==9){performattack(self, openborconstant("ANI_FOLLOW9"));}
if (myVar==0){performattack(self, openborconstant("ANI_FOLLOW10"));}
}
return;
}
if(animhandle==77)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=0 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==78)
{
int myHelp = getplayerproperty(0, "credits");
if (myHelp!=9 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==79)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=1 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==80)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=2 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==81)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=3 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==82)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=4 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==83)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=5 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==84)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=6 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==85)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=7 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==86)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=8 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==87)
{
void boneco = getplayerproperty(1, "ent");
if (frame==0 && boneco!=NULL()){
int myVar = getplayerproperty(1, "credits");
void self = getlocalvar("self");
if (myVar==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (myVar==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (myVar==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (myVar==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (myVar==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (myVar==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
if (myVar==7){performattack(self, openborconstant("ANI_FOLLOW7"));}
if (myVar==8){performattack(self, openborconstant("ANI_FOLLOW8"));}
if (myVar==9){performattack(self, openborconstant("ANI_FOLLOW9"));}
if (myVar==0){performattack(self, openborconstant("ANI_FOLLOW10"));}
}
return;
}
if(animhandle==88)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=0 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==89)
{
int myHelp = getplayerproperty(1, "credits");
if (myHelp!=9 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==90)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=1 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==91)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=2 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==92)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=3 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==93)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=4 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==94)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=5 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==95)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=6 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==96)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=7 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==97)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=8 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==98)
{
void boneco = getplayerproperty(2, "ent");
if (frame==0 && boneco!=NULL()){
int myVar = getplayerproperty(2, "credits");
void self = getlocalvar("self");
if (myVar==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (myVar==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (myVar==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (myVar==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (myVar==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (myVar==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
if (myVar==7){performattack(self, openborconstant("ANI_FOLLOW7"));}
if (myVar==8){performattack(self, openborconstant("ANI_FOLLOW8"));}
if (myVar==9){performattack(self, openborconstant("ANI_FOLLOW9"));}
if (myVar==0){performattack(self, openborconstant("ANI_FOLLOW10"));}
}
return;
}
if(animhandle==99)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=0 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==100)
{
int myHelp = getplayerproperty(2, "credits");
if (myHelp!=9 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==101)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=1 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==102)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=2 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==103)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=3 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==104)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=4 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==105)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=5 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==106)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=6 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==107)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=7 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==108)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=8 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==109)
{
void boneco = getplayerproperty(3, "ent");
if (frame==0 && boneco!=NULL()){
int myVar = getplayerproperty(3, "credits");
void self = getlocalvar("self");
if (myVar==1){performattack(self, openborconstant("ANI_FOLLOW1"));}
if (myVar==2){performattack(self, openborconstant("ANI_FOLLOW2"));}
if (myVar==3){performattack(self, openborconstant("ANI_FOLLOW3"));}
if (myVar==4){performattack(self, openborconstant("ANI_FOLLOW4"));}
if (myVar==5){performattack(self, openborconstant("ANI_FOLLOW5"));}
if (myVar==6){performattack(self, openborconstant("ANI_FOLLOW6"));}
if (myVar==7){performattack(self, openborconstant("ANI_FOLLOW7"));}
if (myVar==8){performattack(self, openborconstant("ANI_FOLLOW8"));}
if (myVar==9){performattack(self, openborconstant("ANI_FOLLOW9"));}
if (myVar==0){performattack(self, openborconstant("ANI_FOLLOW10"));}
}
return;
}
if(animhandle==110)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=0 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==111)
{
int myHelp = getplayerproperty(3, "credits");
if (myHelp!=9 && frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_IDLE"));
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==112)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 320);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
return;
}
#### animationscript function main #####
# data/chars/CapAmerica/mjo/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==116)
{
if(frame != 0){
int martelo = getglobalvar("Mjolnir2");
if(martelo == 0){
void self = getlocalvar("self");
killentity(self);
}
}
if(frame==0)
{
velo001(8, 0, 0);
}
if(frame==0)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==1)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==2)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==3)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==4)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==5)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==6)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==7)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==8)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==9)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==10)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==11)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==12)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==13)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==14)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==15)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==16)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==16)
{
velo001(4, 0, 0);
}
if(frame==17)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==17)
{
velo001(3, 0, 0);
}
if(frame==18)
{
velo001(2, 0, 0);
}
if(frame==18)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==19)
{
velo001(1, 0, 0);
}
if(frame==19)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==20)
{
velo001(0, 0, 0);
}
if(frame==21)
{
velo001(-3, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/CapAmerica/mjo/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==126)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==130)
{
if(frame == 0){
setglobalvar("Mjolnir2", 0);
}
return;
}
if(animhandle==131)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==132)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==3)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==133)
{
if(frame==4)
{
shoot("pedrinhaTiro", 40, 45, 1);
}
return;
}
if(animhandle==134)
{
if(frame==0)
{
spawnbind("canobind", 20, 25, 1);
}
if(frame==1)
{
spawnbind("canobind", 20, 57, 1);
}
if(frame==2)
{
shoot("canoTiro", 40, 45, 1);
}
return;
}
if(animhandle==135)
{
if(frame==0)
{
spawnbind("headbind", 20, 25, 1);
}
if(frame==1)
{
spawnbind("headbind", 20, 57, 1);
}
if(frame==2)
{
shoot("headTiro", 40, 45, 1);
}
return;
}
if(animhandle==136)
{
if(frame==4)
{
shoot("pedrinhaTiro2", 40, 45, 1);
}
return;
}
if(animhandle==137)
{
if(frame==4)
{
toss("pedrinhaGBomb", 40, 45, 1);
}
return;
}
if(animhandle==138)
{
if(frame==4)
{
toss("pedrinhaGBomb2", 40, 45, 1);
}
return;
}
if(animhandle==139)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==140)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==142)
{
if(frame == 12){
setglobalvar("Mjolnir2", 1);
}
if(frame == 15){
setglobalvar("Mjolnir2", 0);
}
return;
}
if(animhandle==143)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==145)
{
if(frame==0)
{
velo001(5, 0, 0);
}
return;
}
if(animhandle==152)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
return;
}
if(animhandle==154)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==156)
{
if(frame==4)
{
shoot("pedrinhaTiro3", 40, 45, 1);
}
return;
}
if(animhandle==157)
{
if(frame == 0){
setglobalvar("Mjolnir2", 0);
}
return;
}
if(animhandle==161)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
return;
}
if(animhandle==162)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==163)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
}
#### animationscript function main #####
# data/chars/CapAmerica/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==167)
{
if(frame==0)
{
velo001(5, 0, 0);
}
if(frame==0)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==1)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==2)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==3)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==4)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==5)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==6)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==7)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==8)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==8)
{
velo001(4, 0, 0);
}
if(frame==9)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==9)
{
velo001(3, 3, 0);
}
if(frame==10)
{
velo001(2, 2, 0);
}
if(frame==10)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==11)
{
velo001(1, 1, 0);
}
if(frame==11)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==12)
{
velo001(0, 0, 0);
}
if(frame==13)
{
velo001(-3, 1, 0);
}
if(frame==13)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==14)
{
velo001(-4, 2, 0);
}
if(frame==14)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==15)
{
velo001(-5, 3, 0);
}
if(frame==15)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==16)
{
velo001(-6, 0, 0);
}
if(frame==16)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==17)
{
velo001(-7, 0, 0);
}
if(frame==17)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==18)
{
velo001(-9, 0, 0);
}
if(frame==18)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==19)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==20)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==21)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==22)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==23)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==23)
{
velo001(-6, -2, 0);
}
if(frame==24)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==24)
{
velo001(-4, -3, 0);
}
if(frame==25)
{
velo001(-2, -2, 0);
}
if(frame==25)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==26)
{
velo001(-2, -1, 0);
}
if(frame==26)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==27)
{
velo001(0, 0, 0);
}
if(frame==28)
{
velo001(2, -1, 0);
}
if(frame==28)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==29)
{
velo001(4, -2, 0);
}
if(frame==29)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==30)
{
velo001(7, -3, 0);
}
if(frame==30)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==31)
{
velo001(7, -2, 0);
}
if(frame==31)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==32)
{
velo001(9, 0, 0);
}
if(frame==32)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==33)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==34)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==35)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==35)
{
velo001(4, 0, 0);
}
if(frame==36)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==36)
{
velo001(3, 3, 0);
}
if(frame==37)
{
velo001(2, 2, 0);
}
if(frame==37)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==38)
{
velo001(2, 1, 0);
}
if(frame==38)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==39)
{
velo001(0, 0, 0);
}
if(frame==40)
{
velo001(-2, 1, 0);
}
if(frame==40)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==41)
{
velo001(-3, 2, 0);
}
if(frame==41)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==42)
{
velo001(-4, 3, 0);
}
if(frame==42)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==43)
{
velo001(-5, 0, 0);
}
if(frame==43)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==44)
{
velo001(-8, 0, 0);
}
if(frame==44)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==45)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==46)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==47)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==48)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==49)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==49)
{
velo001(-4, -2, 0);
}
if(frame==50)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==50)
{
velo001(-3, -3, 0);
}
if(frame==51)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==51)
{
velo001(-3, -3, 0);
}
if(frame==52)
{
velo001(-2, -2, 0);
}
if(frame==52)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==53)
{
velo001(-1, -1, 0);
}
if(frame==53)
{
spawn01("escudoTrail2", -1, 0, 0);
}
if(frame==54)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/CapAmerica/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==168)
{
if(frame==0)
{
velo001(5, 0, 0);
}
if(frame==0)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==1)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==2)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==3)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==4)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==5)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==6)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==7)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==8)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==8)
{
velo001(4, 0, 0);
}
if(frame==9)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==9)
{
velo001(3, 3, 0);
}
if(frame==10)
{
velo001(2, 2, 0);
}
if(frame==10)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==11)
{
velo001(1, 1, 0);
}
if(frame==11)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==12)
{
velo001(0, 0, 0);
}
if(frame==13)
{
velo001(-3, 1, 0);
}
if(frame==13)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==14)
{
velo001(-4, 2, 0);
}
if(frame==14)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==15)
{
velo001(-5, 3, 0);
}
if(frame==15)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==16)
{
velo001(-6, 0, 0);
}
if(frame==16)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==17)
{
velo001(-7, 0, 0);
}
if(frame==17)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==18)
{
velo001(-9, 0, 0);
}
if(frame==18)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==19)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==20)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==21)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==22)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==23)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==23)
{
velo001(-6, -2, 0);
}
if(frame==24)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==24)
{
velo001(-4, -3, 0);
}
if(frame==25)
{
velo001(-2, -2, 0);
}
if(frame==25)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==26)
{
velo001(-2, -1, 0);
}
if(frame==26)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==27)
{
velo001(0, 0, 0);
}
if(frame==28)
{
velo001(2, -1, 0);
}
if(frame==28)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==29)
{
velo001(4, -2, 0);
}
if(frame==29)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==30)
{
velo001(7, -3, 0);
}
if(frame==30)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==31)
{
velo001(7, -2, 0);
}
if(frame==31)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==32)
{
velo001(9, 0, 0);
}
if(frame==32)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==33)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==34)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==35)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==35)
{
velo001(4, 0, 0);
}
if(frame==36)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==36)
{
velo001(3, 3, 0);
}
if(frame==37)
{
velo001(2, 2, 0);
}
if(frame==37)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==38)
{
velo001(2, 1, 0);
}
if(frame==38)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==39)
{
velo001(0, 0, 0);
}
if(frame==40)
{
velo001(-2, 1, 0);
}
if(frame==40)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==41)
{
velo001(-3, 2, 0);
}
if(frame==41)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==42)
{
velo001(-4, 3, 0);
}
if(frame==42)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==43)
{
velo001(-5, 0, 0);
}
if(frame==43)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==44)
{
velo001(-8, 0, 0);
}
if(frame==44)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==45)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==46)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==47)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==48)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==49)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==49)
{
velo001(-4, -2, 0);
}
if(frame==50)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==50)
{
velo001(-3, -3, 0);
}
if(frame==51)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==51)
{
velo001(-3, -3, 0);
}
if(frame==52)
{
velo001(-2, -2, 0);
}
if(frame==52)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==53)
{
velo001(-1, -1, 0);
}
if(frame==53)
{
spawn01("escudoTrail", -1, 0, 0);
}
if(frame==54)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Sentry/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==172)
{
if(frame==2)
{
velo001(6, 0, -2);
}
return;
}
if(animhandle==180)
{
void self = getlocalvar("self");
if(frame==1){performattack(self, openborconstant("ANI_follow1"));}
return;
}
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==192)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==195)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==197)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==203)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==207)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==211)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
if(frame==9)
{
keymove(2, 0.6);
}
if(frame==10)
{
keymove(2, 0.6);
}
if(frame==11)
{
keymove(2, 0.6);
}
if(frame==12)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==213)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
if(frame==9)
{
keymove(2, 0.6);
}
if(frame==10)
{
keymove(2, 0.6);
}
if(frame==11)
{
keymove(2, 0.6);
}
if(frame==12)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==215)
{
void vSelf = getlocalvar("self");
int Map = getentityproperty(vSelf, "map");
if((frame==0) && ((Map==6))){
performattack(vSelf, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==219)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==220)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==294)
{
if(frame==1){
int r = rand()%4;
if(r==-3){spawn01("Sif", -50, 200, 1);}
if(r==-2){spawn01("Hank_Pym", -50, 200, 1);}
if(r==-1){spawn01("Crystal", -10, 200, 1);}
if(r==0){spawn01("Wonderman", -50, 200, 1);}
if(r==1){spawn01("Mockingbird", -50, 200, 1);}
if(r==2){spawn01("Tigra", -50, 200, 1);}
if(r==3){spawn01("Quasar", -50, 200, 1);}
}
return;
}
#### animationscript function main #####
# data/chars/CapAmerica/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==299)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==303)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==305)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==306)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==3)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==308)
{
if(frame==4)
{
shoot("pedrinhaTiro", 40, 45, 1);
}
return;
}
if(animhandle==309)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==310)
{
if(frame==0)
{
spawnbind("canobind", 20, 25, 1);
}
if(frame==1)
{
spawnbind("canobind", 20, 57, 1);
}
if(frame==2)
{
shoot("canoTiro", 40, 45, 1);
}
return;
}
if(animhandle==311)
{
if(frame==0)
{
spawnbind("headbind", 20, 30, 1);
}
if(frame==1)
{
spawnbind("headbind", -24, 52, 1);
}
if(frame==2)
{
spawnbind("headbind", 14, 76, 1);
}
if(frame==3)
{
shoot("headTiro", 30, 55, -1);
}
return;
}
if(animhandle==313)
{
if(frame==4)
{
shoot("pedrinhaTiro2", 40, 45, 1);
}
return;
}
if(animhandle==314)
{
if(frame==4)
{
toss("pedrinhaGbomb", 40, 45, 1);
}
return;
}
if(animhandle==315)
{
if(frame==4)
{
toss("pedrinhaGbomb2", 40, 45, 1);
}
return;
}
if(animhandle==316)
{
if(frame==4)
{
shoot("pedrinhaTiro3", 40, 45, 1);
}
return;
}
if(animhandle==319)
{
void self = getlocalvar("self");
if (frame==2){
performattack(self, openborconstant("ANI_follow3"));
}
return;
}
if(animhandle==320)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==322)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_attack1"));
}
return;
}
if(animhandle==323)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==326)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==328)
{
if(frame==0)
{
setNopain(1);
}
if(frame==0)
{
velo001(4, 0, 0);
}
if(frame==6)
{
setNopain(0);
}
return;
}
if(animhandle==335)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
if(frame==14)
{
keymove(2, 0);
}
return;
}
if(animhandle==337)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==342)
{
if(frame==2)
{
velo001(3, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==343)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
if(frame==14)
{
keymove(3, 0);
}
return;
}
if(animhandle==345)
{
void self = getlocalvar("self");
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "name", "Captain_America");
int Map = getentityproperty(self,"map");
if((frame==1) && ((Map==6))){
performattack(self, openborconstant("ANI_FOLLOW6"));
}
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==346)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Vision/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==358)
{
if(frame==0)
{
velo001(1, 0, -3);
}
return;
}
#### animationscript function main #####
# data/chars/Ironman/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==363)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
return;
}
if(animhandle==367)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==368)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==369)
{
if(frame==3)
{
shoot("PedrinhaTiro", 55, 55, 1);
}
return;
}
if(animhandle==370)
{
if(frame==0)
{
spawnbind("canobind", -18, 35, 1);
}
if(frame==1)
{
spawnbind("canobind", 14, 50, 1);
}
if(frame==2)
{
shoot("canoTiro", 55, 55, 1);
}
return;
}
if(animhandle==371)
{
if(frame==0)
{
spawnbind("headbind", -18, 35, 1);
}
if(frame==1)
{
spawnbind("headbind", 14, 50, 1);
}
if(frame==2)
{
shoot("headTiro", 55, 55, 1);
}
return;
}
if(animhandle==372)
{
if(frame==3)
{
shoot("PedrinhaTiro2", 55, 55, 1);
}
return;
}
if(animhandle==373)
{
if(frame==3)
{
toss("PedrinhaGBomb", 55, 55, 1);
}
return;
}
if(animhandle==374)
{
if(frame==3)
{
toss("PedrinhaGBomb2", 55, 55, 1);
}
return;
}
if(animhandle==375)
{
if(frame==3)
{
shoot("PedrinhaTiro3", 55, 55, 1);
}
return;
}
if(animhandle==377)
{
if(frame==3)
{
shoot("Plasma", 22, 60, 0);
}
return;
}
if(animhandle==380)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==381)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==383)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==386)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==394)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==396)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==401)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==2)
{
velo001(4, 0, 1);
}
if(frame==8)
{
velo001(1, 0, 3);
}
return;
}
if(animhandle==402)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==403)
{
void vSelf = getlocalvar("self");
changeentityproperty(vSelf, "name", "Ironman");
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==404)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==408)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==3)
{
atiraNave();
}
return;
}
if(animhandle==411)
{
if(frame==0)
{
velo001(8, 0, 0);
}
if(frame==1)
{
velo001(8, 0, 0);
}
if(frame==2)
{
velo001(8, 0, 0);
}
if(frame==3)
{
velo001(8, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==413)
{
if(frame==0)
{
velo001(8, 0, 0);
}
if(frame==1)
{
velo001(8, 0, 0);
}
if(frame==2)
{
velo001(8, 0, 0);
}
if(frame==3)
{
velo001(8, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==419)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==420)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Ironman/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==431)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==432)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==34)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==433)
{
if(frame==3)
{
shoot("PedrinhaTiroF", 60, 70, 1);
}
return;
}
if(animhandle==434)
{
if(frame==0)
{
spawnbind("canobind", -42, 55, 1);
}
if(frame==1)
{
spawnbind("canobind", -12, 50, 1);
}
if(frame==2)
{
spawnbind("canobind", 30, 55, -1);
}
if(frame==3)
{
shoot("canoTiroF", 45, 60, 1);
}
return;
}
if(animhandle==435)
{
if(frame==0)
{
spawnbind("headbind", -42, 55, 1);
}
if(frame==1)
{
spawnbind("headbind", -12, 50, 1);
}
if(frame==2)
{
spawnbind("headbind", 30, 55, -1);
}
if(frame==3)
{
shoot("headTiro", 45, 60, 1);
}
return;
}
if(animhandle==436)
{
if(frame==3)
{
shoot("PedrinhaTiroF2", 60, 70, 1);
}
return;
}
if(animhandle==437)
{
if(frame==3)
{
toss("PedrinhaGBombF", 60, 70, 1);
}
return;
}
if(animhandle==438)
{
if(frame==3)
{
toss("PedrinhaGBombF2", 60, 70, 1);
}
return;
}
if(animhandle==439)
{
if(frame==3)
{
shoot("PedrinhaTiroF3", 60, 70, 1);
}
return;
}
if(animhandle==440)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==34)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==442)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==445)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==448)
{
if(frame==3)
{
toss("GranadaHB", -10, 42, 0);
}
if(frame==4)
{
toss("GranadaHB", -40, 42, 0);
}
return;
}
if(animhandle==455)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==457)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial7"));
return;
}
if(animhandle==464)
{
if(frame==0)
{
setNopain(1);
}
if(frame==0)
{
velo001(7, 0, 0);
}
if(frame==3)
{
velo001(1, 0, 0);
}
if(frame==4)
{
setNopain(0);
}
return;
}
if(animhandle==465)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==466)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==467)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Ironman/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==475)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==478)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==479)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==480)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==18)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==481)
{
void self = getlocalvar("self");
if (frame == 0){
int Map = getentityproperty(self, "map");
if((frame==0) && ((Map==1) || (Map==2) || (Map==5) || (Map==9))){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==20){
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", 260);//add health
}
if(frame==15)
{
spawnbind("armor", 0, 0, -1);
}
return;
}
if(animhandle==482)
{
if(frame==3)
{
shoot("PedrinhaTiro", 55, 55, 1);
}
return;
}
if(animhandle==484)
{
if(frame==0)
{
spawnbind("canobind", -18, 35, 1);
}
if(frame==1)
{
spawnbind("canobind", 14, 50, 1);
}
if(frame==2)
{
shoot("canoTiro", 55, 55, 1);
}
return;
}
if(animhandle==485)
{
if(frame==0)
{
spawnbind("headbind", -18, 35, 1);
}
if(frame==1)
{
spawnbind("headbind", 14, 50, 1);
}
if(frame==2)
{
shoot("headTiro", 55, 55, 1);
}
return;
}
if(animhandle==487)
{
if(frame==3)
{
shoot("PedrinhaTiro2", 55, 55, 1);
}
return;
}
if(animhandle==488)
{
if(frame==3)
{
toss("PedrinhaGBomb", 55, 55, 1);
}
return;
}
if(animhandle==489)
{
if(frame==3)
{
toss("PedrinhaGBomb2", 55, 55, 1);
}
return;
}
if(animhandle==490)
{
if(frame==3)
{
shoot("PedrinhaTiro3", 55, 55, 1);
}
return;
}
if(animhandle==491)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==18)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==492)
{
if(frame==2)
{
toss2("cartucho", -15, 75, 1);
}
if(frame==2)
{
toss("cartucho", 12, 75, 1);
}
if(frame==4)
{
toss2("cartucho", -15, 75, 1);
}
if(frame==4)
{
toss("cartucho", 12, 75, 1);
}
if(frame==6)
{
toss2("cartucho", -15, 75, 1);
}
if(frame==6)
{
toss("cartucho", 12, 75, 1);
}
if(frame==8)
{
toss2("cartucho", -15, 75, 1);
}
if(frame==8)
{
toss("cartucho", 12, 75, 1);
}
if(frame==10)
{
toss2("cartucho", -15, 75, 1);
}
if(frame==10)
{
toss("cartucho", 12, 75, 1);
}
return;
}
if(animhandle==493)
{
if(frame==3)
{
shoot("Plasma", 22, 60, 0);
}
return;
}
if(animhandle==494)
{
if(frame==5)
{
toss("Gra", 5, 42, 0);
}
if(frame==7)
{
toss("Gra", 5, 42, 0);
}
return;
}
if(animhandle==496)
{
if(frame==0)
{
setNopain(1);
}
if(frame==0)
{
velo001(5, 0, 0);
}
if(frame==13)
{
velo001(1, 0, 0);
}
if(frame==13)
{
setNopain(0);
}
return;
}
if(animhandle==497)
{
if(frame==0)
{
powerGem();
}
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if((frame==0) && ((Map==1) || (Map==2) || (Map==5) || (Map==9))){
performattack(self, openborconstant("ANI_FOLLOW9"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==498)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==500)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==503)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==512)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==514)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==516)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==519)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==2)
{
velo001(4, 0, 1);
}
if(frame==8)
{
velo001(1, 0, 3);
}
return;
}
if(animhandle==520)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==522)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Iron_Man");
changeentityproperty(self, "nopain", 0);
int Map = getentityproperty(self, "map");
if((frame==1) && ((Map==6))){
performattack(self, openborconstant("ANI_FOLLOW3"));
}
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==523)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Vision/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==535)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==536)
{
if(frame==4)
{
shoot("PedrinhaTiro", 50, 50, 1);
}
return;
}
if(animhandle==537)
{
if(frame==0)
{
spawnbind("canobind", -10, 15, 1);
}
if(frame==1)
{
spawnbind("canobind", 0, 40, 1);
}
if(frame==2)
{
spawnbind("canobind", -3, 64, 1);
}
if(frame==3)
{
spawnbind("canobind", 8, 65, 1);
}
if(frame==4)
{
shoot("canoTiroF", 50, 50, 1);
}
return;
}
if(animhandle==538)
{
if(frame==0)
{
spawnbind("headbind", -10, 15, 1);
}
if(frame==1)
{
spawnbind("headbind", 0, 40, 1);
}
if(frame==2)
{
spawnbind("headbind", -3, 64, 1);
}
if(frame==3)
{
spawnbind("headbind", 8, 65, 1);
}
if(frame==4)
{
shoot("headTiro", 50, 50, 1);
}
return;
}
if(animhandle==539)
{
if(frame==4)
{
shoot("PedrinhaTiro2", 50, 50, 1);
}
return;
}
if(animhandle==540)
{
if(frame==4)
{
toss("PedrinhaGBombF", 50, 50, 1);
}
return;
}
if(animhandle==541)
{
if(frame==4)
{
toss("PedrinhaGBombF2", 50, 50, 1);
}
return;
}
if(animhandle==548)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==552)
{
if(frame==4)
{
shoot("PedrinhaTiro3", 50, 50, 1);
}
return;
}
if(animhandle==557)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==563)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
atiraNave();
}
return;
}
if(animhandle==566)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
if(frame==9)
{
keymove(2, 0.6);
}
if(frame==10)
{
keymove(2, 0.6);
}
if(frame==11)
{
keymove(2, 0.6);
}
if(frame==12)
{
keymove(2, 0.6);
}
if(frame==13)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==568)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
if(frame==9)
{
keymove(2, 0.6);
}
if(frame==10)
{
keymove(2, 0.6);
}
if(frame==11)
{
keymove(2, 0.6);
}
if(frame==12)
{
keymove(2, 0.6);
}
if(frame==13)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==574)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==575)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Vision/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==585)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==586)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==588)
{
if(frame==4)
{
shoot("PedrinhaTiro", 50, 50, 1);
}
return;
}
if(animhandle==590)
{
if(frame==0)
{
spawnbind("canobind", -10, 15, 1);
}
if(frame==1)
{
spawnbind("canobind", 0, 40, 1);
}
if(frame==2)
{
spawnbind("canobind", -3, 64, 1);
}
if(frame==3)
{
spawnbind("canobind", 8, 65, 1);
}
if(frame==4)
{
shoot("canoTiroF", 50, 50, 1);
}
return;
}
if(animhandle==591)
{
if(frame==0)
{
spawnbind("headbind", -10, 15, 1);
}
if(frame==1)
{
spawnbind("headbind", 0, 40, 1);
}
if(frame==2)
{
spawnbind("headbind", -3, 64, 1);
}
if(frame==3)
{
spawnbind("headbind", 8, 65, 1);
}
if(frame==4)
{
shoot("headTiro", 50, 50, 1);
}
return;
}
if(animhandle==592)
{
if(frame==4)
{
shoot("PedrinhaTiro2", 50, 50, 1);
}
return;
}
if(animhandle==593)
{
if(frame==4)
{
toss("PedrinhaGBombF", 50, 50, 1);
}
return;
}
if(animhandle==594)
{
if(frame==4)
{
toss("PedrinhaGBombF2", 50, 50, 1);
}
return;
}
if(animhandle==595)
{
if(frame==4)
{
shoot("PedrinhaTiro3", 50, 50, 1);
}
return;
}
if(animhandle==596)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==11)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==597)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==598)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==600)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==602)
{
if (frame==0){
void self = getlocalvar("self");
int myVar = getglobalvar("vCube");
void mana = getentityproperty(self,"mp");
if (mana+8>=50)
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==603)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==612)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==614)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==619)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==7)
{
velo001(1, 0, 0);
}
if(frame==10)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==620)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==622)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Vision");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==623)
{
void self = getlocalvar("self");
if(frame==7) {
changeentityproperty(self, "subject_to_platform", 0);
changeentityproperty(self, "subject_to_obstacle", 0);
}
if(frame==9){
changeentityproperty(self, "subject_to_platform", 1);
changeentityproperty(self, "subject_to_obstacle", 1);
}
if(frame==8)
{
velo001(34, 0, 0);
}
if(frame==9)
{
velo001(5, 0, 0);
}
if(frame==16)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==629)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==632)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==634)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==640)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==641)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Hawkeye/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==656)
{
if(frame==0)
{
velo001(5, 0, -2);
}
return;
}
#### animationscript function main #####
# data/chars/Hawkeye/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==661)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
return;
}
if(animhandle==665)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==3)
{
toss2("FlechaB", 18, -10, 0);
}
return;
}
if(animhandle==666)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==667)
{
if(frame==3)
{
toss2("FlechaB", 18, -10, 0);
}
if(frame==7)
{
powerGem();
}
return;
}
if(animhandle==668)
{
if(frame==4)
{
shoot("PedrinhaTiroF", 30, 50, 1);
}
return;
}
if(animhandle==669)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==670)
{
if(frame==0)
{
spawnbind("canobind", 5, 40, 1);
}
if(frame==1)
{
spawnbind("canobind", 10, 55, 1);
}
if(frame==2)
{
toss("canoBomb", 30, 50, 1);
}
return;
}
if(animhandle==671)
{
if(frame==0)
{
spawnbind("headbind", 5, 40, 1);
}
if(frame==1)
{
spawnbind("headbind", 10, 55, 1);
}
if(frame==2)
{
toss("headBomb", 30, 50, 1);
}
return;
}
if(animhandle==673)
{
if(frame==4)
{
shoot("PedrinhaTiroF2", 30, 50, 1);
}
return;
}
if(animhandle==674)
{
if(frame==2)
{
toss("PedrinhaGBomb", 30, 50, 1);
}
return;
}
if(animhandle==675)
{
if(frame==2)
{
toss("PedrinhaGBomb2", 30, 50, 1);
}
return;
}
if(animhandle==676)
{
if(frame==4)
{
shoot("PedrinhaTiroF3", 30, 50, 1);
}
return;
}
if(animhandle==684)
{
void self = getlocalvar("self");
if (frame==25){
performattack(self, openborconstant("ANI_follow2"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==685)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==687)
{
void self = getlocalvar("self");
int iP1Index = getentityproperty(self,"playerindex");
void iAttackR = playerkeys(iP1Index, 0, "attack2");
if ((frame==2 || frame==3) && !iAttackR){
performattack(self, openborconstant("ANI_follow4"));
}
if ((frame==4 || frame==5 || frame==6|| frame==7 || frame==8 ||
frame==9) && !iAttackR){
performattack(self, openborconstant("ANI_follow5"));
}
if ((frame==10 || frame==11|| frame==12 || frame==13 || frame==14
|| frame==15) && !iAttackR){
performattack(self, openborconstant("ANI_follow6"));
}
if ((frame==16 || frame==17) && !iAttackR){
performattack(self, openborconstant("ANI_follow7"));
}
return;
}
if(animhandle==688)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==694)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==696)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==701)
{
if(frame==2)
{
velo001(2, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==702)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==704)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Hawkeye");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==705)
{
if(frame==0)
{
velo001(3, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==710)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==713)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==715)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==721)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==722)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/BlackWidow/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==730)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
return;
}
if(animhandle==734)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==17)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==21)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==25)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==29)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==33)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==37)
{
toss2("cartucho", 5, 50, 1);
}
return;
}
if(animhandle==735)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==736)
{
if(frame==2)
{
shoot("pedrinhaTiro", 30, 40, 1);
}
return;
}
if(animhandle==737)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==738)
{
if(frame==0)
{
spawnbind("canobind", 10, 20, 1);
}
if(frame==1)
{
spawnbind("canobind", -18, 40, 1);
}
if(frame==2)
{
toss("canoBomb", 30, 40, 1);
}
return;
}
if(animhandle==739)
{
if(frame==0)
{
spawnbind("headbind", 10, 20, 1);
}
if(frame==1)
{
spawnbind("headbind", -18, 40, 1);
}
if(frame==2)
{
toss("headBomb", 30, 40, 1);
}
return;
}
if(animhandle==740)
{
if(frame==2)
{
shoot("pedrinhaTiro2", 30, 40, 1);
}
return;
}
if(animhandle==741)
{
if(frame==2)
{
toss("pedrinhaGBomb", 30, 40, 1);
}
return;
}
if(animhandle==742)
{
if(frame==2)
{
toss("pedrinhaGBomb2", 30, 40, 1);
}
return;
}
if(animhandle==743)
{
if(frame==2)
{
shoot("pedrinhaTiro3", 30, 40, 1);
}
return;
}
if(animhandle==744)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==17)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==21)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==25)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==29)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==33)
{
toss2("cartucho", 5, 50, 1);
}
if(frame==37)
{
toss2("cartucho", 5, 50, 1);
}
return;
}
if(animhandle==745)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==748)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iDeathlok", 20, 200, 0);
}}
return;
}
if(animhandle==749)
{
if(frame==2)
{
toss2("cartucho", 30, 50, 1);
}
return;
}
if(animhandle==758)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
return;
}
if(animhandle==760)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==766)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
return;
}
if(animhandle==768)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Black_Widow");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==769)
{
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==774)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==3)
{
atiraNave();
}
return;
}
if(animhandle==777)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==779)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==785)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==786)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Falcon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==799)
{
if(frame==0)
{
gravity(0);
}
if(frame==0)
{
velo001(6, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
if(frame==1)
{
gravity(1);
}
return;
}
#### animationscript function main #####
# data/chars/Falcon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==811)
{
if(frame==0)
{
gravity(0);
}
if(frame==0)
{
velo001(6, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
if(frame==1)
{
gravity(1);
}
return;
}
#### animationscript function main #####
# data/chars/Falcon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==819)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==822)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==823)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==824)
{
if(frame==0)
{
spawnbind("come", 0, 85, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==825)
{
if(frame==2)
{
shoot("PedrinhaTiro", 30, 45, 1);
}
return;
}
if(animhandle==827)
{
if(frame==0)
{
spawnbind("canobind", 0, 30, 1);
}
if(frame==1)
{
spawnbind("canobind", 34, 40, -1);
}
if(frame==2)
{
toss("canoBomb", 40, 45, 1);
}
return;
}
if(animhandle==828)
{
if(frame==0)
{
spawnbind("headbind", 0, 30, 1);
}
if(frame==1)
{
spawnbind("headbind", 34, 40, -1);
}
if(frame==2)
{
toss("headBomb", 40, 45, 1);
}
return;
}
if(animhandle==829)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(1, 5, 50, 1, 1);
}
if(frame==5)
{
velo001(0, 0, 0);
}
if(frame==6)
{
position(1, -10, 15, 1, 1);
}
if(frame==6)
{
velo001(3, 0, -12);
}
if(frame==7)
{
velo001(0, 0, 0);
}
if(frame==7)
{
position(0, 30, 0, 1, 0);
}
if(frame==7)
{
depost(0);
}
if(frame==7)
{
throw(5, 1, -2, 1, 0, 0);
}
if(frame==7)
{
clearL();
}
if(frame==8)
{
spawn01("stomp", 22, 1, -1);
}
if(frame==9)
{
velo001(0, 0, 0);
}
if(frame==11)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==830)
{
if(frame==2)
{
shoot("PedrinhaTiro2", 30, 45, 1);
}
return;
}
if(animhandle==831)
{
if(frame==2)
{
toss("PedrinhaGBomb", 30, 45, 1);
}
return;
}
if(animhandle==832)
{
if(frame==2)
{
toss("PedrinhaGBomb2", 30, 45, 1);
}
return;
}
if(animhandle==833)
{
if(frame==2)
{
shoot("PedrinhaTiro3", 30, 45, 1);
}
return;
}
if(animhandle==835)
{
if(frame==2)
{
toss2("cartucho", 37, 68, 1);
}
if(frame==5)
{
toss2("cartucho", 35, 68, 1);
}
if(frame==8)
{
toss2("cartucho", 38, 68, 1);
}
if(frame==11)
{
toss2("cartucho", 36, 68, 1);
}
return;
}
if(animhandle==836)
{
if(frame==0)
{
velo001(0, 0, 0);
}
void self = getlocalvar("self");
if(frame==1){
performattack(self, openborconstant("ANI_freespecial20"));
}
return;
}
if(animhandle==837)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==838)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==840)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==842)
{
if(frame==1)
{
toss("cartucho", 2, 45, 1);
}
if(frame==4)
{
toss("cartucho", 2, 45, 1);
}
if(frame==7)
{
toss("cartucho", 2, 45, 1);
}
return;
}
if(animhandle==843)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==847)
{
void self = getlocalvar("self");
if (frame==7){
performattack(self, openborconstant("ANI_freespecial20"));
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==852)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==854)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==856)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==859)
{
if(frame==1)
{
velo001(7, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==860)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==862)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Falcon");
int Map = getentityproperty(self,"map");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==863)
{
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/BlackPanther/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==870)
{
if(frame==0)
{
velo001(7, 0, -2);
}
return;
}
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==873)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("WarB", -25, 0, -5);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==3)
{
shoot("WarB", -35, 0, 25);
}
if(frame==3)
{
atiraNave();
}
return;
}
if(animhandle==876)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==878)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==884)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/BlackPanther/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==889)
{
void self = getlocalvar("self");
int cor = getglobalvar("palBlack");
changeentityproperty(self, "map", cor);
return;
}
#### animationscript function main #####
# data/chars/BlackPanther/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==904)
{
if (frame==0){
int myVar = getglobalvar("vGarra");
if (myVar==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_follow2"));
}
}
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==906)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==911)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(2, 0, 0);
}
if(frame==16)
{
velo001(7, 0, 2);
}
if(frame==19)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==912)
{
if (frame == 1){
spawn01("Dora", -110, 154, 0);
spawn01("Dora", 110, 154, 0);
}
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
return;
}
if(animhandle==913)
{
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==914)
{
if(frame==2)
{
shoot("pedrinhaTiro", 35, 50, 1);
}
return;
}
if(animhandle==915)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==916)
{
if(frame==0)
{
spawnbind("canobind", 0, 20, 1);
}
if(frame==1)
{
spawnbind("canobind", 20, 50, 1);
}
if(frame==2)
{
shoot("canoTiro", 35, 50, 1);
}
return;
}
if(animhandle==917)
{
if(frame==0)
{
spawnbind("headbind", 5, 6, 1);
}
if(frame==1)
{
spawnbind("headbind", 20, 50, 1);
}
if(frame==2)
{
shoot("headTiro", 35, 50, 1);
}
return;
}
if(animhandle==918)
{
if(frame==19)
{
spawn01("stomp2", 1, 0, -1);
}
return;
}
if(animhandle==919)
{
if(frame==2)
{
shoot("pedrinhaTiro2", 35, 50, 1);
}
return;
}
if(animhandle==920)
{
if(frame==2)
{
toss("pedrinhaGBomb", 35, 50, 1);
}
return;
}
if(animhandle==921)
{
if(frame==2)
{
toss("pedrinhaGBomb2", 35, 50, 1);
}
return;
}
if(animhandle==922)
{
if(frame==2)
{
shoot("pedrinhaTiro3", 35, 50, 1);
}
return;
}
if(animhandle==923)
{
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if(frame==13){
performattack(self, openborconstant("ANI_FOLLOW3"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==924)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==925)
{
if(frame==1)
{
velo001(8, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==926)
{
if(frame==0)
{
powerGem();
}
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if((frame==0) && ((Map==1) || (Map==2) || (Map==0))){
performattack(self, openborconstant("ANI_FOLLOW4"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(2, 0, 0);
}
if(frame==16)
{
velo001(7, 0, 2);
}
if(frame==19)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==927)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==928)
{
if (frame==0){
int myVar = getglobalvar("vGarra");
if (myVar==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_follow2"));
}
}
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==929)
{
if(frame==1)
{
shoot("BP2", 22, 0, 5);
}
if(frame==4)
{
shoot("BP2", 20, 0, -5);
}
return;
}
if(animhandle==930)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==933)
{
if (frame==0){
int myVar = getglobalvar("vGarra");
if (myVar==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_follow8"));
}
}
if(frame==1)
{
velo001(8, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==934)
{
if(frame==0)
{
velo001(3, 0, 0);
}
if(frame==1)
{
keymove(3, 1);
}
if(frame==2)
{
keymove(3, 1);
}
if(frame==3)
{
keymove(3, 1);
}
if(frame==4)
{
keymove(3, 1);
}
if(frame==5)
{
keymove(3, 1);
}
if(frame==6)
{
keymove(3, 1);
}
if(frame==7)
{
keymove(3, 1);
}
if(frame==9)
{
keymove(3, 1);
}
if(frame==10)
{
keymove(3, 1);
}
if(frame==11)
{
keymove(3, 1);
}
if(frame==12)
{
keymove(3, 1);
}
if(frame==13)
{
keymove(3, 1);
}
if(frame==14)
{
keymove(3, 1);
}
if(frame==15)
{
keymove(3, 1);
}
if(frame==16)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==938)
{
if(frame==1)
{
spawnbind("BGrab2", 0, 7, -2);
}
return;
}
if(animhandle==940)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
return;
}
if(animhandle==942)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==948)
{
if (frame==0){
int myVar = getglobalvar("vGarra");
if (myVar==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_follow5"));
}
}
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==949)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
return;
}
if(animhandle==951)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
void self = getlocalvar("self");
changeentityproperty(self, "name", "Black_Panther");
int cor = getentityproperty(self,"map");
setglobalvar("palBlack", cor);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
return;
}
if(animhandle==952)
{
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==953)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==958)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==4)
{
atiraNave();
}
return;
}
if(animhandle==961)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==963)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==969)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==970)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Miss/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==977)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==981)
{
if(frame==0){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana+10);//add mp
}
return;
}
if(animhandle==982)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==983)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==984)
{
if(frame==2)
{
shoot("pedrinhaTiroF", 25, 50, 1);
}
return;
}
if(animhandle==986)
{
if(frame==0)
{
spawnbind("canobind", 0, 25, 1);
}
if(frame==1)
{
spawnbind("canobind", 5, 50, 1);
}
if(frame==2)
{
shoot("canoTiroF", 25, 50, 1);
}
return;
}
if(animhandle==987)
{
if(frame==0)
{
spawnbind("headbind", 0, 25, 1);
}
if(frame==1)
{
spawnbind("headbind", 5, 50, 1);
}
if(frame==2)
{
shoot("headTiro", 25, 50, 1);
}
return;
}
if(animhandle==988)
{
if(frame==2)
{
shoot("pedrinhaTiroF2", 25, 50, 1);
}
return;
}
if(animhandle==989)
{
if(frame==2)
{
toss("pedrinhaGBombF", 25, 50, 1);
}
return;
}
if(animhandle==990)
{
if(frame==2)
{
toss("pedrinhaGBombF2", 25, 50, 1);
}
return;
}
if(animhandle==991)
{
if(frame==2)
{
shoot("pedrinhaTiroF3", 25, 50, 1);
}
return;
}
if(animhandle==992)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==15)
{
velo001(-6, 0, 0);
}
if(frame==16)
{
velo001(0, 0, 0);
}
if(frame==17)
{
velo001(14, 0, 0);
}
if(frame==18)
{
velo001(2, 0, 0);
}
if(frame==19)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==993)
{
void self = getlocalvar("self");
if(frame==3){
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana+3);//add mp
}
return;
}
if(animhandle==995)
{
if(frame==0)
{
velo001(0, 0, 0);
}
void self = getlocalvar("self");
if(frame==1){
performattack(self, openborconstant("ANI_freespecial20"));
}
return;
}
if(animhandle==997)
{
if(frame==0)
{
powerGem();
}
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if((frame==0) && ((Map==3) || (Map==1))){
performattack(self, openborconstant("ANI_FOLLOW4"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==998)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1000)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==1003)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==1007)
{
void self = getlocalvar("self");
if (frame==5){
performattack(self, openborconstant("ANI_freespecial20"));
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1015)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==1017)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==1020)
{
if(frame==0){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana+10);//add mp
}
return;
}
if(animhandle==1023)
{
if(frame==0)
{
velo001(5, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1024)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==1026)
{
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if((Map==3) || (Map==1) || (Map==5)){
changeentityproperty(self, "name", "Captain_Marvel");
}else{
changeentityproperty(self, "name", "Miss_Marvel");
}
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1027)
{
if(frame==3)
{
velo001(12, 0, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1033)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
atiraNave();
}
return;
}
if(animhandle==1036)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1038)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1043)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1045)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1048)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
atiraNave();
}
return;
}
if(animhandle==1052)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1054)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1056)
{
void vSelf = getlocalvar("self");
int Map = getentityproperty(vSelf, "map");
if((frame==0) && ((Map==4))){
performattack(vSelf, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==1059)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1061)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Thor/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1070)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==1071)
{
if(frame==2)
{
velo001(0, 0, -3);
}
return;
}
if(animhandle==1072)
{
if (frame==13){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW2"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1073)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1074)
{
if(frame==2)
{
velo001(0, 0, -3);
}
return;
}
if(animhandle==1075)
{
if(frame==2)
{
shoot("PedrinhaTiroF", 45, 60, 1);
}
return;
}
if(animhandle==1076)
{
if(frame==0)
{
spawnbind("canobind", 0, 27, 1);
}
if(frame==1)
{
spawnbind("canobind", 16, 58, 1);
}
if(frame==2)
{
shoot("canoTiroF", 45, 60, 1);
}
return;
}
if(animhandle==1077)
{
if(frame==0)
{
spawnbind("headbind", 0, 27, 1);
}
if(frame==1)
{
spawnbind("headbind", 16, 58, 1);
}
if(frame==2)
{
shoot("headTiro", 45, 60, 1);
}
return;
}
if(animhandle==1078)
{
if(frame==2)
{
shoot("PedrinhaTiroF2", 45, 60, 1);
}
return;
}
if(animhandle==1079)
{
if(frame==2)
{
toss("PedrinhaGBombF", 45, 60, 1);
}
return;
}
if(animhandle==1080)
{
if(frame==2)
{
toss("PedrinhaGBombF2", 45, 60, 1);
}
return;
}
if(animhandle==1081)
{
if(frame==2)
{
shoot("PedrinhaTiroF3", 45, 60, 1);
}
return;
}
if(animhandle==1082)
{
if (frame==13){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW1"));
}
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1083)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1085)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1088)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1098)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==1100)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial7"));
return;
}
if(animhandle==1105)
{
if(frame==1)
{
setNopain(1);
}
if(frame==1)
{
velo001(6, 0, 0);
}
if(frame==9)
{
setNopain(0);
}
if(frame==9)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1106)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
return;
}
if(animhandle==1107)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==1108)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Thor/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1119)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==1120)
{
if(frame==2)
{
velo001(0, 0, -3);
}
return;
}
if(animhandle==1121)
{
if (frame==13){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW2"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1122)
{
if(frame==0)
{
spawnbind("come", 0, 85, 0);
}
if(frame==1)
{
spawn01("Sif", 50, 250, 0);
}
return;
}
if(animhandle==1123)
{
if(frame==2)
{
velo001(0, 0, -3);
}
return;
}
if(animhandle==1124)
{
if(frame==2)
{
shoot("PedrinhaTiroF", 45, 60, 1);
}
return;
}
if(animhandle==1125)
{
if(frame==0)
{
spawnbind("canobind", 0, 27, 1);
}
if(frame==1)
{
spawnbind("canobind", 16, 58, 1);
}
if(frame==2)
{
shoot("canoTiroF", 45, 60, 1);
}
return;
}
if(animhandle==1126)
{
if(frame==0)
{
spawnbind("headbind", 0, 27, 1);
}
if(frame==1)
{
spawnbind("headbind", 16, 58, 1);
}
if(frame==2)
{
shoot("headTiro", 45, 60, 1);
}
return;
}
if(animhandle==1127)
{
if(frame==2)
{
shoot("PedrinhaTiroF2", 45, 60, 1);
}
return;
}
if(animhandle==1128)
{
if(frame==2)
{
toss("PedrinhaGBombF", 45, 60, 1);
}
return;
}
if(animhandle==1129)
{
if(frame==2)
{
toss("PedrinhaGBombF2", 45, 60, 1);
}
return;
}
if(animhandle==1130)
{
if(frame==2)
{
shoot("PedrinhaTiroF3", 45, 60, 1);
}
return;
}
if(animhandle==1131)
{
if (frame==13){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW1"));
}
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1132)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1134)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1137)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1147)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==1149)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial7"));
return;
}
if(animhandle==1154)
{
if(frame==1)
{
setNopain(1);
}
if(frame==1)
{
velo001(6, 0, 0);
}
if(frame==9)
{
setNopain(0);
}
if(frame==9)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1155)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
return;
}
if(animhandle==1156)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
velo001(2, 0, 0);
}
return;
}
if(animhandle==1157)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Thor/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1161)
{
if(frame != 0){
int martelo = getglobalvar("Mjolnir");
if(martelo == 0){
void self = getlocalvar("self");
killentity(self);
}
}
if(frame==0)
{
velo001(8, 0, 0);
}
if(frame==0)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==1)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==2)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==3)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==4)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==5)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==6)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==7)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==8)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==9)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==10)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==11)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==12)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==13)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==14)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==15)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==16)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==16)
{
velo001(4, 0, 0);
}
if(frame==17)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==17)
{
velo001(3, 0, 0);
}
if(frame==18)
{
velo001(2, 0, 0);
}
if(frame==18)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==19)
{
velo001(1, 0, 0);
}
if(frame==19)
{
spawn01("MjolnirTrail", -1, 0, 0);
}
if(frame==20)
{
velo001(0, 0, 0);
}
if(frame==21)
{
velo001(-3, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Thor/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1168)
{
if(frame == 0){
setglobalvar("Mjolnir", 0);
}
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==1169)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1170)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1171)
{
if(frame==2)
{
shoot("PedrinhaTiroF", 45, 60, 1);
}
return;
}
if(animhandle==1173)
{
if(frame==0)
{
spawnbind("canobind", 3, 30, 1);
}
if(frame==1)
{
spawnbind("canobind", 16, 58, 1);
}
if(frame==2)
{
shoot("canoTiroF", 35, 55, 1);
}
return;
}
if(animhandle==1174)
{
if(frame==0)
{
spawnbind("headbind", 3, 30, 1);
}
if(frame==1)
{
spawnbind("headbind", 16, 58, 1);
}
if(frame==2)
{
shoot("headTiro", 35, 55, 1);
}
return;
}
if(animhandle==1176)
{
if(frame==2)
{
shoot("PedrinhaTiroF2", 45, 60, 1);
}
return;
}
if(animhandle==1177)
{
if(frame==2)
{
toss("PedrinhaGBombF", 45, 60, 1);
}
return;
}
if(animhandle==1178)
{
if(frame==2)
{
toss("PedrinhaGBombF2", 45, 60, 1);
}
return;
}
if(animhandle==1179)
{
if(frame==2)
{
shoot("PedrinhaTiroF3", 45, 60, 1);
}
return;
}
if(animhandle==1181)
{
if(frame==6)
{
setNopain(1);
}
if(frame==6)
{
velo001(7, 0, 0);
}
if(frame==14)
{
velo001(0, 0, 0);
}
if(frame==14)
{
setNopain(0);
}
return;
}
if(animhandle==1182)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1183)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1185)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1187)
{
if(frame == 12){
setglobalvar("Mjolnir", 1);
}
if(frame == 15){
setglobalvar("Mjolnir", 0);
}
return;
}
if(animhandle==1188)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1189)
{
if (frame==0){
int myVar = getglobalvar("vStormB");
if (myVar==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_follow4"));
}
}
return;
}
if(animhandle==1191)
{
if (frame==0){
int myVar = getglobalvar("vStormB");
if (myVar==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_follow4"));
}
}
return;
}
if(animhandle==1199)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==1201)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial9"));
return;
}
if(animhandle==1203)
{
if(frame == 0){
setglobalvar("Mjolnir", 0);
}
return;
}
if(animhandle==1206)
{
if(frame==0)
{
velo001(1, 0, 0);
}
if(frame==2)
{
setNopain(1);
}
if(frame==2)
{
velo001(5, 0, 2);
}
if(frame==4)
{
velo001(0, 0, 0);
}
if(frame==4)
{
setNopain(0);
}
return;
}
if(animhandle==1207)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
return;
}
if(animhandle==1209)
{
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
changeentityproperty(self, "nopain", 0);
if((frame==1) && ((Map==4))){
performattack(self, openborconstant("ANI_follow3"));
}
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1210)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1215)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==1218)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1220)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1226)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1227)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
void self = getlocalvar("self");
if(frame==0){changeentityproperty(self, "name", "[Link]");}
return;
}
#### animationscript function main #####
# data/chars/Hulk/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1237)
{
if(frame==0)
{
spawn01("cano", 0, 40, 2);
}
return;
}
if(animhandle==1238)
{
if(frame==0)
{
spawn01("MiniEx", 20, 1, 2);
}
if(frame==1)
{
spawn01("Rick_Jones", -20, 240, 0);
}
return;
}
if(animhandle==1239)
{
if(frame==3)
{
shoot("PedrinhaTiroF", 43, 55, 1);
}
return;
}
if(animhandle==1240)
{
if(frame==3)
{
shoot("canoTiroF", 43, 55, 1);
}
return;
}
if(animhandle==1241)
{
if(frame==0)
{
spawnbind("headbind", -20, 22, 1);
}
if(frame==1)
{
spawnbind("headbind", 5, 34, 1);
}
if(frame==2)
{
spawnbind("headbind", 40, 43, 1);
}
if(frame==3)
{
shoot("headTiro", 43, 50, 1);
}
return;
}
if(animhandle==1242)
{
if(frame==3)
{
shoot("PedrinhaTiroF2", 43, 55, 1);
}
return;
}
if(animhandle==1243)
{
if(frame==3)
{
toss("PedrinhaGBombF", 43, 55, 1);
}
return;
}
if(animhandle==1244)
{
if(frame==3)
{
toss("PedrinhaGBombF2", 43, 55, 1);
}
return;
}
if(animhandle==1245)
{
if(frame==3)
{
shoot("canoTiroF", 43, 55, 1);
}
return;
}
if(animhandle==1248)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1251)
{
void self = getlocalvar("self");
if(frame==0){changeentityproperty(self, "name", "Hulk");}
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+3);//add health
}
}
return;
}
if(animhandle==1255)
{
if(frame==3)
{
shoot("PedrinhaTiroF3", 43, 55, 1);
}
return;
}
if(animhandle==1264)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+3);//add health
}
}
return;
}
#### animationscript function main #####
# data/chars/Hulk/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1281)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==1282)
{
if(frame==10){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", 0);//add mp
}
return;
}
if(animhandle==1283)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1284)
{
if(frame==0)
{
spawn01("MiniEx", 20, 1, 2);
}
if(frame==1)
{
spawn01("Rick_Jones", -20, 240, 0);
}
return;
}
if(animhandle==1285)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(1, 5, 65, 0, 1);
}
if(frame==1)
{
position(1, 5, 65, 0, 1);
}
if(frame==2)
{
position(1, 45, -5, 0, 1);
}
if(frame==2)
{
spawn01("stompHerc", 60, 0, 1);
}
if(frame==4)
{
position(0, 40, 30, 0, 0);
}
if(frame==5)
{
position(1, 20, 65, 0, 1);
}
if(frame==6)
{
position(1, -35, 0, 0, 1);
}
if(frame==6)
{
spawn01("stompHerc", -60, 0, 1);
}
if(frame==7)
{
velo001(0, 0, 0);
}
if(frame==7)
{
depost(0);
}
if(frame==7)
{
throw(18, 1, -2.5, 2, 0, 0);
}
if(frame==7)
{
clearL();
}
return;
}
if(animhandle==1286)
{
if(frame==3)
{
shoot("PedrinhaTiroF", 43, 55, 1);
}
return;
}
if(animhandle==1287)
{
if(frame==1)
{
spawn01("stomp2", 0, 0, -1);
}
return;
}
if(animhandle==1289)
{
if(frame==0)
{
spawnbind("headbind", -20, 22, 1);
}
if(frame==1)
{
spawnbind("headbind", 5, 34, 1);
}
if(frame==2)
{
spawnbind("headbind", 40, 43, 1);
}
if(frame==3)
{
shoot("headTiro", 43, 50, 1);
}
return;
}
if(animhandle==1290)
{
if(frame==10){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", 0);//add mp
}
return;
}
if(animhandle==1291)
{
if(frame==3)
{
shoot("PedrinhaTiroF2", 43, 55, 1);
}
return;
}
if(animhandle==1292)
{
if(frame==3)
{
toss("PedrinhaGBombF", 43, 55, 1);
}
return;
}
if(animhandle==1293)
{
if(frame==3)
{
toss("PedrinhaGBombF2", 43, 55, 1);
}
return;
}
if(animhandle==1294)
{
if(frame==3)
{
shoot("PedrinhaTiroF3", 43, 55, 1);
}
return;
}
if(animhandle==1297)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1298)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1300)
{
if(frame==2)
{
setNopain(1);
}
if(frame==2)
{
velo001(5, 0, 0);
}
if(frame==3)
{
setNopain(0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1301)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1311)
{
void self = getlocalvar("self");
if(frame==0){changeentityproperty(self, "name", "Hulk");}
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+3);//add health
}
}
return;
}
if(animhandle==1312)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==1314)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==1316)
{
if(frame==1){
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%2;
if (Life <= 79 && chance==1){
performattack(self, openborconstant("ANI_FOLLOW3"));
} }
return;
}
if(animhandle==1317)
{
if(frame==1){
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%2;
if (Life <= 79 && chance==1){
performattack(self, openborconstant("ANI_FOLLOW3"));
} }
return;
}
if(animhandle==1319)
{
if(frame==0){
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%2;
if (Life <= 79 && chance==1){
performattack(self, openborconstant("ANI_FOLLOW1"));
} }
return;
}
if(animhandle==1322)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==1324)
{
void self = getlocalvar("self");
changeentityproperty(self, "nopain", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1325)
{
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1328)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+3);//add health
}
}
return;
}
#### animationscript function main #####
# data/chars/Hulk/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1335)
{
if(frame==0)
{
velo001(-4, 0, 0);
}
return;
}
if(animhandle==1339)
{
if(frame==1)
{
spawnbind("come", 0, 80, 0);
}
if(frame==2)
{
spawn01("Rick_Jones", -20, 240, 0);
}
return;
}
if(animhandle==1340)
{
if(frame==4)
{
shoot("PedrinhaTiro", 45, 40, 1);
}
return;
}
if(animhandle==1341)
{
if(frame==0)
{
spawnbind("canobind", -5, 33, 1);
}
if(frame==1)
{
spawnbind("canobind", 16, 55, 1);
}
if(frame==2)
{
toss("canoBomb", 30, 50, 1);
}
return;
}
if(animhandle==1342)
{
if(frame==0)
{
spawnbind("headbind", -5, 33, 1);
}
if(frame==1)
{
spawnbind("headbind", 16, 55, 1);
}
if(frame==2)
{
toss("headBomb", 30, 50, 1);
}
return;
}
if(animhandle==1343)
{
if(frame==4)
{
shoot("PedrinhaTiro2", 45, 40, 1);
}
return;
}
if(animhandle==1344)
{
if(frame==4)
{
toss("PedrinhaGBomb", 45, 40, 1);
}
return;
}
if(animhandle==1345)
{
if(frame==4)
{
toss("PedrinhaGBomb2", 45, 40, 1);
}
return;
}
if(animhandle==1347)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==1350)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1351)
{
void self = getlocalvar("self");
if(frame==8){
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+120);//add health
}
if(frame==11)
{
spawn01("stomp2", -10, 0, -1);
}
if(frame==12)
{
spawn01("stomp2", 90, 0, -1);
}
if(frame==13)
{
spawn01("stomp2", 190, 0, -1);
}
return;
}
if(animhandle==1353)
{
void self = getlocalvar("self");
if(frame==0){changeentityproperty(self, "name", "Dr._Banner");}
return;
}
if(animhandle==1354)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
return;
}
if(animhandle==1358)
{
if(frame==4)
{
shoot("PedrinhaTiro3", 45, 40, 1);
}
return;
}
if(animhandle==1364)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
return;
}
if(animhandle==1365)
{
if(frame==1)
{
velo001(2, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1368)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==1371)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1379)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1380)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/antman/Ant_Man.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1391)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1395)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==23)
{
spawn01("stomp2", 15, 0, -1);
}
return;
}
if(animhandle==1396)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1397)
{
if(frame==3)
{
shoot("pedrinhaTiro", 40, 55, 1);
}
return;
}
if(animhandle==1398)
{
if(frame==1)
{
shoot("antant", -8, 15, 0);
}
return;
}
if(animhandle==1399)
{
if(frame==0)
{
spawnbind("canobind", -10, 20, 1);
}
if(frame==1)
{
spawnbind("canobind", -10, 52, 1);
}
if(frame==2)
{
toss("canoBomb", 40, 55, 1);
}
return;
}
if(animhandle==1400)
{
if(frame==0)
{
spawnbind("headbind", -10, 20, 1);
}
if(frame==1)
{
spawnbind("headbind", -10, 52, 1);
}
if(frame==2)
{
toss("headBomb", 40, 55, 1);
}
return;
}
if(animhandle==1401)
{
if(frame==3)
{
shoot("pedrinhaTiro2", 40, 55, 1);
}
return;
}
if(animhandle==1402)
{
if(frame==3)
{
toss("pedrinhaGBomb", 40, 55, 1);
}
return;
}
if(animhandle==1403)
{
if(frame==3)
{
toss("pedrinhaGBomb2", 40, 55, 1);
}
return;
}
if(animhandle==1404)
{
if(frame==3)
{
shoot("pedrinhaTiro3", 40, 55, 1);
}
return;
}
if(animhandle==1405)
{
if(frame==0)
{
shoot("antant", -8, 15, 0);
}
return;
}
if(animhandle==1406)
{
if(frame==0)
{
shoot("antant", -8, 15, 0);
}
return;
}
if(animhandle==1407)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==23)
{
spawn01("stomp2", 15, 0, -1);
}
return;
}
if(animhandle==1408)
{
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1409)
{
if(frame==0)
{
shoot("antant", -8, 15, 0);
}
return;
}
if(animhandle==1410)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==1412)
{
if(frame==1)
{
shoot("anttiro", 12, 50, 0);
}
return;
}
if(animhandle==1413)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==1417)
{
if(frame==1)
{
shoot("antformiga", -90, 0, 0);
}
return;
}
if(animhandle==1422)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==1424)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==1429)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1430)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==1432)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Ant_Man");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1433)
{
if(frame==5)
{
velo001(7, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1438)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1441)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1443)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1449)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Wasp/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1460)
{
if(frame==0)
{
velo001(1, 0, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1463)
{
if(frame==0)
{
velo001(-4, 0, 0);
}
return;
}
if(animhandle==1468)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
velo001(2, 0, 0);
}
if(frame==12)
{
spawnbind("WaspHyper", 1, 0, -1);
}
if(frame==35)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1469)
{
if(frame==0)
{
spawnbind("come", 0, 65, 0);
}
if(frame==5)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1470)
{
if(frame==6)
{
shoot("PedrinhaTiro", 20, 50, 1);
}
return;
}
if(animhandle==1472)
{
if(frame==0)
{
spawnbind("canobind", 5, 20, 1);
}
if(frame==1)
{
spawnbind("canobind", -3, 44, 1);
}
if(frame==2)
{
toss("canoBomb", 20, 50, 1);
}
return;
}
if(animhandle==1473)
{
if(frame==0)
{
spawnbind("headbind", 5, 20, 1);
}
if(frame==1)
{
spawnbind("headbind", -3, 44, 1);
}
if(frame==2)
{
toss("headBomb", 20, 50, 1);
}
return;
}
if(animhandle==1474)
{
if(frame==6)
{
shoot("PedrinhaTiro2", 20, 50, 1);
}
return;
}
if(animhandle==1475)
{
if(frame==6)
{
toss("PedrinhaGBomb", 20, 50, 1);
}
return;
}
if(animhandle==1476)
{
if(frame==6)
{
toss("PedrinhaGBomb2", 20, 50, 1);
}
return;
}
if(animhandle==1477)
{
if(frame==6)
{
shoot("PedrinhaTiro3", 20, 50, 1);
}
return;
}
if(animhandle==1478)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==9)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1479)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
velo001(1, 0, 0);
}
if(frame==12)
{
spawnbind("WaspHyper", 1, 0, -1);
}
if(frame==35)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1480)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1482)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==1483)
{
if(frame==0)
{
velo001(1, 0, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1485)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==1488)
{
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1489)
{
if(frame==0)
{
keymove(3, 2);
}
if(frame==1)
{
keymove(3, 2);
}
if(frame==2)
{
keymove(3, 2);
}
if(frame==3)
{
keymove(3, 2);
}
if(frame==4)
{
keymove(3, 2);
}
if(frame==5)
{
keymove(3, 2);
}
if(frame==6)
{
keymove(3, 2);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(3, 2);
}
if(frame==9)
{
keymove(3, 2);
}
if(frame==10)
{
keymove(3, 2);
}
if(frame==11)
{
keymove(3, 2);
}
if(frame==12)
{
keymove(3, 2);
}
if(frame==13)
{
keymove(3, 2);
}
if(frame==14)
{
keymove(3, 2);
}
if(frame==15)
{
keymove(3, 2);
}
if(frame==16)
{
keymove(3, 2);
}
if(frame==17)
{
keymove(3, 2);
}
if(frame==18)
{
keymove(3, 2);
}
if(frame==19)
{
keymove(3, 2);
}
if(frame==20)
{
keymove(3, 2);
}
if(frame==21)
{
keymove(3, 2);
}
if(frame==22)
{
keymove(3, 2);
}
if(frame==23)
{
keymove(3, 2);
}
if(frame==24)
{
keymove(3, 2);
}
if(frame==25)
{
keymove(3, 2);
}
if(frame==26)
{
keymove(3, 2);
}
if(frame==27)
{
keymove(3, 2);
}
if(frame==28)
{
keymove(3, 2);
}
if(frame==29)
{
keymove(3, 2);
}
if(frame==30)
{
keymove(3, 2);
}
if(frame==31)
{
keymove(3, 2);
}
if(frame==32)
{
keymove(3, 2);
}
if(frame==33)
{
keymove(3, 2);
}
if(frame==34)
{
keymove(3, 2);
}
if(frame==35)
{
keymove(3, 2);
}
if(frame==36)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1494)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
if(frame==14)
{
keymove(2, 0);
}
if(frame==15)
{
keymove(2, 0);
}
if(frame==16)
{
keymove(2, 0);
}
if(frame==17)
{
keymove(2, 0);
}
return;
}
if(animhandle==1496)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==1501)
{
if(frame==0)
{
velo001(3, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1502)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
if(frame==14)
{
keymove(3, 0);
}
if(frame==15)
{
keymove(3, 0);
}
if(frame==16)
{
keymove(3, 0);
}
if(frame==17)
{
keymove(3, 0);
}
return;
}
if(animhandle==1504)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Wasp");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1505)
{
if(frame==0)
{
velo001(3, 0, 0);
}
if(frame==5)
{
velo001(9, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1511)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
atiraNave();
}
return;
}
if(animhandle==1514)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1516)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1522)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1523)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Namor/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1530)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==1533)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==1534)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(1, 0, 0);
}
if(frame==16)
{
velo001(9, 0, 0);
}
if(frame==17)
{
velo001(2, 0, 0);
}
if(frame==19)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1535)
{
if(frame==0)
{
spawnbind("come", 0, 85, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1536)
{
if(frame==4)
{
shoot("pedrinhaTiroF", 40, 55, 1);
}
return;
}
if(animhandle==1538)
{
if(frame==0)
{
spawnbind("canobind", -5, 17, 1);
}
if(frame==1)
{
spawnbind("canobind", 0, 40, 1);
}
if(frame==2)
{
spawnbind("canobind", -15, 60, 1);
}
if(frame==3)
{
spawnbind("canobind", -12, 70, 1);
}
if(frame==4)
{
shoot("canoTiroF", 20, 60, 1);
}
return;
}
if(animhandle==1539)
{
if(frame==0)
{
spawnbind("headbind", -5, 17, 1);
}
if(frame==1)
{
spawnbind("headbind", 0, 40, 1);
}
if(frame==2)
{
spawnbind("headbind", -15, 60, 1);
}
if(frame==3)
{
spawnbind("headbind", -12, 70, 1);
}
if(frame==4)
{
shoot("headTiro", 20, 60, 1);
}
return;
}
if(animhandle==1540)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 25, 15, 1, 1);
}
if (frame==2){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW4"));
}
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==1)
{
position(0, 25, 15, 1, 1);
}
return;
}
if(animhandle==1541)
{
if(frame==4)
{
shoot("pedrinhaTiroF2", 40, 55, 1);
}
return;
}
if(animhandle==1542)
{
if(frame==4)
{
toss("pedrinhaGBombF", 40, 55, 1);
}
return;
}
if(animhandle==1543)
{
if(frame==4)
{
toss("pedrinhaGBombF2", 40, 55, 1);
}
return;
}
if(animhandle==1544)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, 25, 35, 1, 1);
}
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==4)
{
position(0, 25, 20, 1, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
if(frame==6)
{
velo001(2, 0, -12);
}
if(frame==6)
{
position(0, 40, -15, 1, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
if(frame==7)
{
position(0, 40, 0, 1, 0);
}
if(frame==7)
{
depost(0);
}
if(frame==7)
{
throw(5, 1, -2, 1, 0, 0);
}
if(frame==7)
{
clearL();
}
if(frame==8)
{
spawn01("stomp2", 1, 1, -1);
}
if(frame==9)
{
velo001(0, 0, 0);
}
if(frame==11)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1545)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, 25, 35, 1, 1);
}
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==4)
{
position(0, 25, 20, 1, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
if(frame==6)
{
velo001(0, 0, -12);
}
if(frame==6)
{
position(0, 40, -15, 1, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
if(frame==7)
{
position(0, 40, 0, 1, 0);
}
if(frame==7)
{
depost(0);
}
if(frame==7)
{
throw(5, 1, -2, 1, 0, 0);
}
if(frame==7)
{
clearL();
}
if(frame==8)
{
spawn01("stomp2", 1, 1, -1);
}
if(frame==9)
{
velo001(0, 0, 0);
}
if(frame==11)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1546)
{
if(frame==2)
{
spawn01("stomp2", 0, 0, -1);
}
return;
}
if(animhandle==1547)
{
if(frame==2)
{
spawn01("stomp2", 0, 0, -1);
}
return;
}
if(animhandle==1548)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(1, 0, 0);
}
if(frame==16)
{
velo001(9, 0, 0);
}
if(frame==17)
{
velo001(2, 0, 0);
}
if(frame==19)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1549)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1551)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1553)
{
if(frame==1)
{
velo001(7, 0, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1554)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1555)
{
if(frame==2)
{
velo001(5, 0, -6);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1557)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 10, 15, 0, 0);
}
if(frame==1)
{
position(0, 15, 30, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
throw(14, 1, -5, 2, 0, 1);
}
if(frame==1)
{
clearL();
}
return;
}
if(animhandle==1558)
{
if(frame==2)
{
spawn01("stomp2", 0, 0, -1);
}
return;
}
if(animhandle==1563)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
return;
}
if(animhandle==1565)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==1567)
{
if(frame==4)
{
shoot("pedrinhaTiroF3", 40, 55, 1);
}
return;
}
if(animhandle==1568)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==1571)
{
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1572)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
return;
}
if(animhandle==1574)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Sub-Mariner");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1575)
{
if(frame==1)
{
velo001(6, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1576)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 5, 40, 0, 0);
}
if(frame==1)
{
position(0, 0, 35, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
throw(14, 1, 5, 2, 0, 1);
}
if(frame==1)
{
clearL();
}
return;
}
#### animationscript function main #####
# data/chars/BK/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1580)
{
void self = getlocalvar("self");
int cor = getglobalvar("palBLKN");
changeentityproperty(self, "map", cor);
return;
}
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1581)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
shoot("BKTiro", 10, -13, 0);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
shoot("BKTiro", 10, -13, 0);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==7)
{
atiraNave();
}
return;
}
if(animhandle==1584)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
shoot("BKTiro", 10, -13, 0);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
shoot("BKTiro", 10, -13, 0);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1586)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
shoot("BKTiro", 10, -13, 0);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
shoot("BKTiro", 10, -13, 0);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1588)
{
if(frame == 1){
void vSelf = getlocalvar("self");
int cor = getentityproperty(vSelf,"map");
setglobalvar("palBLKN", cor);
}
return;
}
if(animhandle==1592)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
shoot("BKTiro", 10, -13, 0);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==5)
{
shoot("BKTiro", 10, -13, 0);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1593)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/BK/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1596)
{
if(frame==1)
{
velo001(4, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/BK/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1601)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==1602)
{
if(frame==4){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana+10);//add mp
}
return;
}
if(animhandle==1606)
{
if(frame==0){
void self = getlocalvar("self");// get caller
changeentityproperty(self, "mp", 60);//add mp
}
if(frame==0)
{
velo001(1, 1, 0);
}
if(frame==3)
{
velo001(2, -1, 0);
}
if(frame==6)
{
velo001(1, 0, 0);
}
if(frame==9)
{
velo001(4, -1, 0);
}
if(frame==12)
{
velo001(2, -1, 0);
}
if(frame==15)
{
velo001(3, 1, 0);
}
if(frame==18)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1607)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==0)
{
spawn01("BKCavalo", -600, 0, 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==15)
{
velo001(5, 0, 0);
}
if(frame==26)
{
velo001(0, 0, 0);
}
if(frame==27)
{
spawn01("BKCavalo", 20, 0, 0);
}
return;
}
if(animhandle==1608)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawn01("Crystal", -30, 224, 0);
}
return;
}
if(animhandle==1609)
{
if(frame==2)
{
shoot("pedrinhaTiro", 30, 55, 1);
}
return;
}
if(animhandle==1610)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==1611)
{
if(frame==0)
{
spawnbind("canobind", 4, 30, 1);
}
if(frame==1)
{
spawnbind("canobind", 10, 50, 1);
}
if(frame==2)
{
shoot("canoTiro", 30, 55, 1);
}
return;
}
if(animhandle==1612)
{
if(frame==0)
{
spawnbind("headbind", 4, 30, 1);
}
if(frame==1)
{
spawnbind("headbind", 10, 50, 1);
}
if(frame==2)
{
shoot("headTiro", 30, 55, 1);
}
return;
}
if(animhandle==1613)
{
if(frame==2)
{
shoot("pedrinhaTiro2", 30, 55, 1);
}
return;
}
if(animhandle==1614)
{
if(frame==2)
{
toss("pedrinhaGBomb", 30, 55, 1);
}
return;
}
if(animhandle==1615)
{
if(frame==2)
{
toss("pedrinhaGBomb2", 30, 55, 1);
}
return;
}
if(animhandle==1616)
{
if(frame==2)
{
shoot("pedrinhaTiro3", 30, 55, 1);
}
return;
}
if(animhandle==1617)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==0)
{
spawn01("BKCavalo", -600, 0, 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==15)
{
velo001(4, 0, 0);
}
if(frame==26)
{
velo001(0, 0, 0);
}
if(frame==27)
{
spawn01("BKCavalo", 20, 0, 0);
}
return;
}
if(animhandle==1618)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==5)
{
velo001(3, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1621)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1623)
{
if(frame==2)
{
spawn01("stomp", 35, 0, -1);
}
if(frame==3)
{
spawn01("stomp", 105, 0, -1);
}
if(frame==4)
{
spawn01("stomp", 175, 0, -1);
}
if(frame==5)
{
spawn01("stomp", 245, 0, -1);
}
return;
}
if(animhandle==1628)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==1630)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==1633)
{
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%2;
int myVar = getlocalvar("vBLKN");
if (myVar==0 && Life <= 70 && chance==1){
setlocalvar("vBLKN", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==1635)
{
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1636)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==1638)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Black_Knight");
int cor = getentityproperty(self,"map");
setglobalvar("palBLKN", cor);
setlocalvar("vBLKN", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1639)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1644)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==1647)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1649)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1655)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1656)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Hercules/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1665)
{
if(frame==0)
{
spawn01("cano", 0, 40, 2);
}
return;
}
if(animhandle==1666)
{
if(frame==0)
{
spawnbind("come", 0, 80, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1667)
{
if(frame==2)
{
shoot("PedrinhaTiroF", 50, 55, 1);
}
return;
}
if(animhandle==1668)
{
if(frame==2)
{
shoot("canoTiroF", 40, 34, 1);
}
return;
}
if(animhandle==1669)
{
if(frame==0)
{
spawnbind("headbind", -24, 34, 1);
}
if(frame==1)
{
spawnbind("headbind", 0, 80, 1);
}
if(frame==2)
{
spawnbind("headbind", 5, 30, 1);
}
if(frame==3)
{
shoot("headTiro", 40, 34, 1);
}
return;
}
if(animhandle==1670)
{
if(frame==2)
{
shoot("PedrinhaTiroF2", 50, 55, 1);
}
return;
}
if(animhandle==1671)
{
if(frame==2)
{
toss("PedrinhaGBombF", 50, 55, 1);
}
return;
}
if(animhandle==1672)
{
if(frame==2)
{
toss("PedrinhaGBombF2", 50, 55, 1);
}
return;
}
if(animhandle==1673)
{
if(frame==2)
{
shoot("canoTiroF", 40, 34, 1);
}
return;
}
if(animhandle==1676)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1683)
{
if(frame==2)
{
shoot("PedrinhaTiroF3", 50, 55, 1);
}
return;
}
#### animationscript function main #####
# data/chars/Hercules/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1692)
{
if(frame==2)
{
velo001(4, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1696)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1697)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==1698)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 24, 11, 0, 0);
}
if (frame==0){
void self = getlocalvar("self");
// changeentityproperty(self, "takeaction", "common_grab");
performattack(self, openborconstant("ani_follow2"));
}
return;
}
if(animhandle==1699)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==15)
{
setglobalvar("zoomentity", NULL());
}
if(frame==23)
{
velo001(9, 0, 0);
}
if(frame==24)
{
velo001(3, 0, 0);
}
if(frame==25)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1700)
{
if(frame==0)
{
spawnbind("come", 0, 80, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1702)
{
if(frame==2)
{
shoot("PedrinhaTiroF", 50, 55, 1);
}
return;
}
if(animhandle==1703)
{
if(frame==1)
{
spawn01("stomp2", 0, 0, -1);
}
return;
}
if(animhandle==1705)
{
if(frame==0)
{
spawnbind("headbind", -24, 34, 1);
}
if(frame==1)
{
spawnbind("headbind", 0, 80, 1);
}
if(frame==2)
{
spawnbind("headbind", 5, 30, 1);
}
if(frame==3)
{
shoot("headTiro", 40, 34, 1);
}
return;
}
if(animhandle==1706)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 55, 0, 0, 1);
}
if(frame==1)
{
position(0, 40, 20, 0, 1);
}
if(frame==2)
{
position(0, 0, 45, 0, 1);
}
if(frame==3)
{
position(0, -23, 40, 0, 1);
}
if(frame==4)
{
position(0, -28, -5, 0, 1);
}
if(frame==5)
{
position(0, -28, -5, 0, 1);
}
if(frame==5)
{
spawn01("stompHerc", -20, 0, 2);
}
if(frame==6)
{
velo001(0, 0, 0);
}
if(frame==6)
{
depost(0);
}
if(frame==6)
{
throw(14, 1, -1, 2, 0, 1);
}
if(frame==6)
{
clearL();
}
return;
}
if(animhandle==1707)
{
if(frame==2)
{
shoot("PedrinhaTiroF2", 50, 55, 1);
}
return;
}
if(animhandle==1708)
{
if(frame==2)
{
toss("PedrinhaGBombF", 50, 55, 1);
}
return;
}
if(animhandle==1709)
{
if(frame==2)
{
toss("PedrinhaGBombF2", 50, 55, 1);
}
return;
}
if(animhandle==1710)
{
if(frame==1)
{
setNopain(1);
}
if(frame==1)
{
velo001(6, 0, 0);
}
if(frame==13)
{
velo001(0, 0, 0);
}
if(frame==13)
{
setNopain(0);
}
if(frame==15)
{
spawn01("stomp2", 15, 0, -1);
}
return;
}
if(animhandle==1712)
{
if(frame==0)
{
setNopain(1);
}
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==12)
{
velo001(0, 0, 0);
}
if(frame==12)
{
setNopain(0);
}
return;
}
if(animhandle==1713)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==15)
{
setglobalvar("zoomentity", NULL());
}
if(frame==23)
{
velo001(8, 0, 0);
}
if(frame==24)
{
velo001(3, 0, 0);
}
if(frame==25)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1714)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1716)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1717)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1718)
{
if(frame==0)
{
velo001(2, 0, 4);
}
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, 0, 45, 0, 1);
}
if(frame==1)
{
position(1, -25, 50, 0, 1);
}
if(frame==2)
{
position(1, -20, -5, 0, 1);
}
if(frame==3)
{
position(1, -46, 1, 0, 1);
}
if(frame==3)
{
spawn01("stompHerc", -20, 0, 2);
}
if(frame==4)
{
velo001(0, 0, 0);
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
throw(14, 1, -1, 2, 0, 1);
}
if(frame==4)
{
clearL();
}
return;
}
if(animhandle==1719)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, -5, 35, 0, 1);
}
if(frame==1)
{
position(1, -15, 25, 0, 1);
}
if(frame==2)
{
position(1, -56, 1, 0, 1);
}
if(frame==2)
{
spawn01("stomp", -60, 0, -1);
}
if(frame==3)
{
velo001(0, 0, 0);
}
if(frame==3)
{
depost(0);
}
if(frame==3)
{
throw(14, 1, -1.5, 2, 0, 1);
}
if(frame==3)
{
clearL();
}
return;
}
if(animhandle==1720)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, 31, 11, 0, 0);
}
if(frame==0)
{
depost(0);
}
if(frame==0)
{
throw(14, 1, 3, 3, 0, 1);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==1721)
{
if(frame==0)
{
velo001(-2, 0, 4);
}
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, 0, 45, 0, 1);
}
if(frame==1)
{
position(1, -25, 50, 0, 1);
}
if(frame==2)
{
position(1, -20, -5, 0, 1);
}
if(frame==3)
{
position(1, -46, 1, 0, 1);
}
if(frame==3)
{
spawn01("stompHerc", -20, 0, 2);
}
if(frame==4)
{
velo001(0, 0, 0);
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
throw(14, 1, -1, 2, 0, 1);
}
if(frame==4)
{
clearL();
}
return;
}
if(animhandle==1726)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==1728)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial11"));
return;
}
if(animhandle==1730)
{
if(frame==2)
{
shoot("PedrinhaTiroF3", 50, 55, 1);
}
return;
}
if(animhandle==1731)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==1734)
{
if(frame==0)
{
velo001(3, 0, 3);
}
if(frame==0)
{
setNopain(1);
}
if(frame==2)
{
setNopain(0);
}
return;
}
if(animhandle==1735)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
return;
}
if(animhandle==1737)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Hercules");
changeentityproperty(self, "nopain", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1738)
{
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1744)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
atiraNave();
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1747)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1749)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1755)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1756)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/War/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1761)
{
if(frame==0)
{
velo001(-1, 0, -15);
}
return;
}
#### animationscript function main #####
# data/chars/War/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1763)
{
if(frame==0)
{
velo001(0, 0, 12);
}
return;
}
#### animationscript function main #####
# data/chars/War/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1768)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==1772)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==18)
{
toss2("cartucho", -15, 70, 1);
}
if(frame==18)
{
toss("cartucho", 15, 70, 1);
}
if(frame==21)
{
toss2("cartucho", -13, 70, 1);
}
if(frame==21)
{
toss("cartucho", 13, 70, 1);
}
if(frame==23)
{
spawn01("FlechaWarS", 6, 80, 0);
}
if(frame==24)
{
shoot("RaioWar", 152, 0, 0);
}
if(frame==28)
{
toss2("cartucho", -11, 70, 1);
}
if(frame==28)
{
toss("cartucho", 11, 70, 1);
}
if(frame==30)
{
spawn01("FlechaWarS", 6, 80, 0);
}
if(frame==31)
{
shoot("RaioWar", 5, 0, 0);
}
if(frame==33)
{
toss2("cartucho", -14, 70, 1);
}
if(frame==33)
{
toss("cartucho", 14, 70, 1);
}
if(frame==36)
{
toss2("cartucho", -15, 70, 1);
}
if(frame==36)
{
toss("cartucho", 15, 70, 1);
}
if(frame==38)
{
spawn01("FlechaWarS", 6, 80, 0);
}
if(frame==39)
{
shoot("RaioWar", -152, 0, 0);
}
if(frame==41)
{
toss2("cartucho", -12, 70, 1);
}
if(frame==41)
{
toss("cartucho", 12, 70, 1);
}
if(frame==44)
{
toss2("cartucho", -15, 70, 1);
}
if(frame==44)
{
toss("cartucho", 15, 70, 1);
}
if(frame==46)
{
spawn01("FlechaWarS", 6, 80, 0);
}
if(frame==47)
{
shoot("RaioWar", -11, 0, 0);
}
return;
}
if(animhandle==1773)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==2)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1774)
{
if(frame==3)
{
shoot("PedrinhaTiro", 45, 50, 1);
}
return;
}
if(animhandle==1775)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==1776)
{
if(frame==0)
{
spawnbind("canobind", -18, 35, 1);
}
if(frame==1)
{
spawnbind("canobind", 8, 52, 1);
}
if(frame==2)
{
shoot("canoTiroF", 25, 45, 1);
}
return;
}
if(animhandle==1777)
{
if(frame==0)
{
spawnbind("headbind", -18, 35, 1);
}
if(frame==1)
{
spawnbind("headbind", 8, 52, 1);
}
if(frame==2)
{
shoot("headTiro", 25, 45, 1);
}
return;
}
if(animhandle==1778)
{
if(frame==3)
{
shoot("PedrinhaTiro2", 45, 50, 1);
}
return;
}
if(animhandle==1779)
{
if(frame==3)
{
toss("PedrinhaGBomb", 45, 50, 1);
}
return;
}
if(animhandle==1780)
{
if(frame==3)
{
toss("PedrinhaGBomb2", 45, 50, 1);
}
return;
}
if(animhandle==1781)
{
void self = getlocalvar("self");
if(frame==20){
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", 260);//add health
}
if(frame==15)
{
spawnbind("armor", 0, 0, -1);
}
return;
}
if(animhandle==1783)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==18)
{
toss2("cartucho", -15, 70, 1);
}
if(frame==18)
{
toss("cartucho", 15, 70, 1);
}
if(frame==21)
{
toss2("cartucho", -13, 70, 1);
}
if(frame==21)
{
toss("cartucho", 13, 70, 1);
}
if(frame==23)
{
spawn01("FlechaWarS", 6, 80, 0);
}
if(frame==24)
{
shoot("RaioWar", 152, 0, 0);
}
if(frame==28)
{
toss2("cartucho", -11, 70, 1);
}
if(frame==28)
{
toss("cartucho", 11, 70, 1);
}
if(frame==30)
{
spawn01("FlechaWarS", 6, 80, 0);
}
if(frame==31)
{
shoot("RaioWar", 5, 0, 0);
}
if(frame==33)
{
toss2("cartucho", -13, 70, 1);
}
if(frame==33)
{
toss("cartucho", 13, 70, 1);
}
if(frame==36)
{
toss2("cartucho", -15, 70, 1);
}
if(frame==36)
{
toss("cartucho", 15, 70, 1);
}
if(frame==38)
{
spawn01("FlechaWarS", 6, 80, 0);
}
if(frame==39)
{
shoot("RaioWar", -152, 0, 0);
}
if(frame==41)
{
toss2("cartucho", -15, 70, 1);
}
if(frame==41)
{
toss("cartucho", 15, 70, 1);
}
if(frame==44)
{
toss2("cartucho", -12, 70, 1);
}
if(frame==44)
{
toss("cartucho", 12, 70, 1);
}
return;
}
if(animhandle==1784)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1786)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1788)
{
if(frame==0)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1789)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==1790)
{
if(frame==3)
{
toss2("cartucho", 15, 75, 1);
}
if(frame==6)
{
toss2("cartucho", 15, 75, 1);
}
if(frame==9)
{
toss2("cartucho", 15, 75, 1);
}
if(frame==12)
{
toss2("cartucho", 15, 75, 1);
}
if(frame==15)
{
toss2("cartucho", 15, 75, 1);
}
if(frame==18)
{
toss2("cartucho", 15, 75, 1);
}
return;
}
if(animhandle==1792)
{
if(frame==8)
{
toss2("cartucho", 30, 70, 1);
}
if(frame==10)
{
toss2("cartucho", 32, 70, 1);
}
if(frame==13)
{
toss2("cartucho", 28, 70, 1);
}
if(frame==16)
{
toss2("cartucho", 30, 70, 1);
}
return;
}
if(animhandle==1795)
{
if(frame==0)
{
velo001(1, 0, 4);
}
if(frame==6)
{
velo001(1, 0, 0);
}
return;
}
if(animhandle==1797)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==1799)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==1801)
{
if(frame==3)
{
shoot("PedrinhaTiro3", 45, 50, 1);
}
return;
}
if(animhandle==1805)
{
if(frame==0)
{
velo001(1, 0, 0);
}
if(frame==2)
{
velo001(4, 0, 0);
}
if(frame==8)
{
velo001(1, 0, 0);
}
return;
}
if(animhandle==1806)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==1808)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "War_Machine");
changeentityproperty(self, "nopain", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1809)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1814)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==1817)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1819)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1825)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Quick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1833)
{
if(frame==2)
{
velo001(2, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1835)
{
if(frame==0)
{
velo001(-4, 0, 0);
}
return;
}
if(animhandle==1839)
{
if(frame==0)
{
velo001(12, 0, 0);
}
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1840)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
velo001(-30, 10, 0);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==13)
{
velo001(30, -5, 0);
}
if(frame==14)
{
velo001(0, 40, 0);
}
if(frame==15)
{
velo001(-30, -5, 0);
}
if(frame==16)
{
velo001(0, 40, 0);
}
if(frame==17)
{
velo001(30, -5, 0);
}
if(frame==18)
{
velo001(0, 40, 0);
}
if(frame==19)
{
velo001(-5, -2, 0);
}
if(frame==19)
{
changeopenborvariant("slowmotion", 1);
}
if(frame==20)
{
velo001(0, 0, 0);
}
if(frame==21)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1841)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1842)
{
if(frame==2)
{
shoot("pedrinhaTiro", 50, 45, 1);
}
return;
}
if(animhandle==1844)
{
if(frame==0)
{
spawnbind("canobind", 15, 20, -1);
}
if(frame==1)
{
spawnbind("canobind", 4, 50, 1);
}
if(frame==2)
{
shoot("canoTiro", 30, 45, 1);
}
return;
}
if(animhandle==1845)
{
if(frame==0)
{
spawnbind("headbind", 15, 20, -1);
}
if(frame==1)
{
spawnbind("headbind", 4, 50, 1);
}
if(frame==2)
{
shoot("headTiro", 30, 45, 1);
}
return;
}
if(animhandle==1846)
{
if(frame==2)
{
shoot("pedrinhaTiro2", 50, 45, 1);
}
return;
}
if(animhandle==1847)
{
if(frame==2)
{
toss("pedrinhaGBomb", 50, 45, 1);
}
return;
}
if(animhandle==1848)
{
if(frame==2)
{
toss("pedrinhaGBomb2", 50, 45, 1);
}
return;
}
if(animhandle==1849)
{
if(frame==2)
{
shoot("pedrinhaTiro3", 50, 45, 1);
}
return;
}
if(animhandle==1850)
{
if(frame==0)
{
velo001(20, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1851)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
velo001(-30, 10, 0);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==13)
{
velo001(30, -5, 0);
}
if(frame==14)
{
velo001(0, 40, 0);
}
if(frame==15)
{
velo001(-30, -5, 0);
}
if(frame==16)
{
velo001(0, 40, 0);
}
if(frame==17)
{
velo001(30, -5, 0);
}
if(frame==18)
{
velo001(0, 40, 0);
}
if(frame==19)
{
velo001(-5, -2, 0);
}
if(frame==19)
{
changeopenborvariant("slowmotion", 1);
}
if(frame==20)
{
velo001(0, 0, 0);
}
if(frame==21)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1852)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==1853)
{
if(frame==2)
{
velo001(2, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1854)
{
if(frame==0)
{
velo001(6, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1855)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==1857)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==2)
{
keymove(6, 2);
}
if(frame==3)
{
keymove(6, 2);
}
if(frame==4)
{
keymove(6, 2);
}
if(frame==5)
{
keymove(6, 2);
}
if(frame==6)
{
keymove(6, 2);
}
if(frame==7)
{
keymove(6, 2);
}
if(frame==8)
{
keymove(6, 2);
}
if(frame==9)
{
keymove(6, 2);
}
if(frame==10)
{
keymove(6, 2);
}
if(frame==11)
{
keymove(6, 2);
}
if(frame==12)
{
keymove(6, 2);
}
if(frame==13)
{
keymove(6, 2);
}
if(frame==14)
{
keymove(6, 2);
}
if(frame==15)
{
keymove(6, 2);
}
if(frame==16)
{
keymove(6, 2);
}
if(frame==17)
{
keymove(6, 2);
}
if(frame==18)
{
keymove(6, 2);
}
if(frame==19)
{
keymove(6, 2);
}
if(frame==20)
{
keymove(6, 2);
}
if(frame==21)
{
keymove(6, 2);
}
if(frame==22)
{
keymove(6, 2);
}
if(frame==23)
{
keymove(6, 2);
}
if(frame==24)
{
keymove(6, 2);
}
if(frame==25)
{
keymove(6, 2);
}
if(frame==26)
{
keymove(6, 2);
}
if(frame==27)
{
keymove(6, 2);
}
if(frame==28)
{
keymove(6, 2);
}
if(frame==29)
{
keymove(6, 2);
}
if(frame==30)
{
keymove(6, 2);
}
if(frame==31)
{
keymove(6, 2);
}
if(frame==32)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1858)
{
if(frame==0)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1859)
{
if(frame==0)
{
velo001(10, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1864)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
return;
}
if(animhandle==1866)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==1871)
{
if(frame==0)
{
velo001(7, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1872)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
return;
}
if(animhandle==1874)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Quicksilver");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1875)
{
if(frame==1)
{
velo001(35, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1881)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==4)
{
atiraNave();
}
return;
}
#### animationscript function main #####
# data/chars/HumanTorch/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1903)
{
if(frame==0)
{
velo001(6, 0, -3);
}
return;
}
#### animationscript function main #####
# data/chars/Scarlet/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1917)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
return;
}
if(animhandle==1922)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1923)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1924)
{
if(frame==0)
{
spawn01("lifeSW", 1, 1, 1);
}
return;
}
if(animhandle==1926)
{
if(frame==0)
{
spawn01("lifeSW", 1, 1, 1);
}
return;
}
if(animhandle==1927)
{
if(frame==0)
{
spawn01("lifeSW", 1, 1, 1);
}
return;
}
if(animhandle==1928)
{
if(frame==0)
{
spawn01("lifeSW", 1, 1, 1);
}
return;
}
if(animhandle==1929)
{
if(frame==0)
{
spawn01("lifeSW", 1, 1, 1);
}
return;
}
if(animhandle==1930)
{
if(frame==0)
{
spawn01("lifeSW", 1, 1, 1);
}
return;
}
if(animhandle==1931)
{
if(frame==0)
{
spawn01("lifeSW", 1, 1, 1);
}
return;
}
if(animhandle==1933)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1934)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1935)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1937)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==1939)
{
if (frame==0){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp");
if (mana+5>=50){
// changeentityproperty(self, "mp", mana-10);//add mp
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==3){
int r = rand()%4;
if(r==-3){shoot("Web", 0, 60, 0);}
if(r==-2){shoot("Cristal2", 0, 55, 0);}
if(r==-1){shoot("Raio", 20, 0, 0);}
if(r==0){shoot("anttiro", 20, 55, 0);}
if(r==1){shoot("Em5", 10, 35, 0);}
if(r==2){shoot("jubTiro", 20, 55, 0);}
if(r==3){shoot("Fogo", 0, 55, 0);}
}
return;
}
if(animhandle==1940)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==1942)
{
if(frame==2){
int r = rand()%2;
if(r==-1){
toss("LokiTiroGelo", -25, 15, 0);
}
if(r==0){
toss("Fogo2", 0, 25, 0);
}
if(r==1){
toss("ScarletTiro3", -25, 15, 0);
}
}
return;
}
if(animhandle==1949)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
return;
}
if(animhandle==1951)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial7"));
return;
}
if(animhandle==1956)
{
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==1957)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
return;
}
if(animhandle==1959)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Scarlet_Witch");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==1960)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==13)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1965)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==1968)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1970)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==1976)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Shehulk/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1986)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==1987)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(4, 0, -2);
}
if(frame==16)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==1988)
{
if(frame==0)
{
spawnbind("come", 0, 80, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==1989)
{
if(frame==3)
{
shoot("PedrinhaTiroF", 45, 60, 1);
}
return;
}
if(animhandle==1990)
{
if(frame==1)
{
spawn01("stomp2", 0, 0, -1);
}
return;
}
if(animhandle==1991)
{
if(frame==0)
{
spawnbind("canobind", -20, 45, 1);
}
if(frame==1)
{
spawnbind("canobind", -30, 55, 1);
}
if(frame==2)
{
spawnbind("canobind", -3, 62, 1);
}
if(frame==3)
{
shoot("canoTiroF", 25, 60, 1);
}
return;
}
if(animhandle==1992)
{
if(frame==0)
{
spawnbind("headbind", -20, 45, 1);
}
if(frame==1)
{
spawnbind("headbind", -30, 55, 1);
}
if(frame==2)
{
spawnbind("headbind", -3, 62, 1);
}
if(frame==3)
{
shoot("headTiro", 25, 60, 1);
}
return;
}
if(animhandle==1993)
{
if(frame==3)
{
shoot("PedrinhaTiroF2", 45, 60, 1);
}
return;
}
if(animhandle==1994)
{
if(frame==3)
{
toss("PedrinhaGBombF", 45, 60, 1);
}
return;
}
if(animhandle==1995)
{
if(frame==3)
{
toss("PedrinhaGBombF2", 45, 60, 1);
}
return;
}
if(animhandle==1996)
{
if(frame==3)
{
shoot("PedrinhaTiroF3", 45, 60, 1);
}
return;
}
if(animhandle==1997)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 25, 10, 0, 0);
}
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==1)
{
position(0, -20, 45, 0, 0);
}
if(frame==2)
{
position(0, -20, 45, 0, 0);
}
if(frame==2)
{
depost(0);
}
if(frame==2)
{
throw(14, 1, -4, 2, 0, 1);
}
if(frame==2)
{
clearL();
}
return;
}
if(animhandle==1998)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(4, 0, -2);
}
if(frame==16)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==1999)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2001)
{
if(frame==0)
{
velo001(4, 0, 1);
}
if(frame==0)
{
setNopain(1);
}
if(frame==2)
{
velo001(3, 0, 1);
}
if(frame==5)
{
velo001(2, 0, 0);
}
if(frame==9)
{
velo001(0, 0, 0);
}
if(frame==9)
{
setNopain(0);
}
return;
}
if(animhandle==2002)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iFoton", 40, 200, 0);
}}
return;
}
if(animhandle==2004)
{
if(frame==0)
{
setNopain(1);
}
if(frame==2)
{
setNopain(0);
}
return;
}
if(animhandle==2005)
{
if(frame==1)
{
velo001(1.5, 0, 2.5);
}
return;
}
if(animhandle==2006)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2010)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<79){
changeentityproperty(self, "health", vida+2);//add health
}
}
return;
}
if(animhandle==2011)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==2013)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2015)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==2018)
{
if(frame==0)
{
velo001(4, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2019)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==2021)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "She-Hulk");
changeentityproperty(self, "nopain", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2022)
{
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2025)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<79){
changeentityproperty(self, "health", vida+2);//add health
}
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2028)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==3)
{
atiraNave();
}
return;
}
if(animhandle==2031)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2033)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2039)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2040)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2091)
{
if(frame==1){
int r = rand()%3;
if(r==-2){spawn01("White_Tiger", -50, 200, 1);}
if(r==-1){spawn01("GhostSpider", -50, 200, 1);}
if(r==0){spawn01("MistyKnight", -50, 200, 1);}
if(r==1){spawn01("Morbius", -50, 200, 1);}
if(r==2){spawn01("SpeedBall", -50, 200, 1);}
}
return;
}
#### animationscript function main #####
# data/chars/DarkHawk/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2096)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==2101)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2102)
{
if(frame==0)
{
spawnbind("come", 0, 65, 0);
}
if(frame==1)
{
spawnbind("sumonR", 1, 0, 0);
}
return;
}
if(animhandle==2103)
{
if(frame==3)
{
shoot("pedrinhaTiro", 30, 45, 1);
}
return;
}
if(animhandle==2105)
{
if(frame==0)
{
spawnbind("canobind", 14, 26, -1);
}
if(frame==1)
{
spawnbind("canobind", 30, 42, -1);
}
if(frame==2)
{
shoot("canoTiro", 30, 45, 0);
}
return;
}
if(animhandle==2106)
{
if(frame==0)
{
spawnbind("headbind", 14, 26, -1);
}
if(frame==1)
{
spawnbind("headbind", 30, 42, -1);
}
if(frame==2)
{
shoot("headTiro", 30, 45, 0);
}
return;
}
if(animhandle==2107)
{
if(frame==3)
{
shoot("pedrinhaTiro2", 30, 45, 1);
}
return;
}
if(animhandle==2108)
{
if(frame==3)
{
toss("pedrinhaGBomb", 30, 45, 1);
}
return;
}
if(animhandle==2109)
{
if(frame==3)
{
toss("pedrinhaGBomb2", 30, 45, 1);
}
return;
}
if(animhandle==2110)
{
if(frame==3)
{
shoot("pedrinhaTiro3", 30, 45, 1);
}
return;
}
if(animhandle==2111)
{
if(frame==0)
{
velo001(0, 0, 0);
}
void self = getlocalvar("self");
if(frame==1){
performattack(self, openborconstant("ANI_freespecial20"));
}
return;
}
if(animhandle==2112)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2113)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2115)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==2117)
{
if(frame==3)
{
shoot("PlasmaDH", -10, 55, 0);
}
return;
}
if(animhandle==2118)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iCloak", -80, 0, -1);
spawn01("iDagger", -60, 0, 0);
}}
return;
}
if(animhandle==2121)
{
if (frame==3){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial20"));
}
return;
}
if(animhandle==2127)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==2129)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2134)
{
if(frame==0)
{
velo001(4, 0, 3);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2135)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
return;
}
if(animhandle==2137)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Darkhawk");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2138)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==10)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2143)
{
void self = getlocalvar("self");
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==2){
shoot("Web", 0, 24, 0);
}
if(Map==3 || Map==4){
shoot("Cristal2", 5, 20, 0);
}
if(Map==1 || Map ==0){
shoot("SpiderWTiro", 5, 24, 0);
}
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==4)
{
atiraNave();
}
return;
}
if(animhandle==2146)
{
void self = getlocalvar("self");
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==2){
shoot("Web", 0, 24, 0);
}
if(Map==3 || Map==4){
shoot("Cristal2", 5, 20, 0);
}
if(Map==1 || Map ==0){
shoot("SpiderWTiro", 5, 24, 0);
}
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2148)
{
void self = getlocalvar("self");
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==2){
shoot("Web", 0, 24, 0);
}
if(Map==3 || Map==4){
shoot("Cristal2", 5, 20, 0);
}
if(Map==1 || Map ==0){
shoot("SpiderWTiro", 5, 24, 0);
}
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2154)
{
void self = getlocalvar("self");
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==2){
shoot("Web", 0, 24, 0);
}
if(Map==3 || Map==4){
shoot("Cristal2", 5, 20, 0);
}
if(Map==1 || Map ==0){
shoot("SpiderWTiro", 5, 24, 0);
}
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2155)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/SpiderWoman/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2163)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==2168)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2169)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonR", 1, 0, 0);
}
return;
}
if(animhandle==2171)
{
if(frame==2)
{
shoot("PedrinhaTiro", 50, 57, 1);
}
return;
}
if(animhandle==2173)
{
if(frame==0)
{
spawnbind("canobind", -4, 15, 1);
}
if(frame==1)
{
spawnbind("canobind", 10, 58, 1);
}
if(frame==2)
{
shoot("canoTiro", 35, 55, 1);
}
return;
}
if(animhandle==2174)
{
if(frame==0)
{
spawnbind("headbind", -4, 15, 1);
}
if(frame==1)
{
spawnbind("headbind", 10, 58, 1);
}
if(frame==2)
{
shoot("headTiro", 35, 55, 1);
}
return;
}
if(animhandle==2175)
{
if(frame==2)
{
shoot("PedrinhaTiro2", 50, 57, 1);
}
return;
}
if(animhandle==2176)
{
if(frame==2)
{
toss("PedrinhaGBomb", 50, 57, 1);
}
return;
}
if(animhandle==2177)
{
if(frame==2)
{
toss("PedrinhaGBomb2", 50, 57, 1);
}
return;
}
if(animhandle==2178)
{
if(frame==2)
{
shoot("PedrinhaTiro3", 50, 57, 1);
}
return;
}
if(animhandle==2179)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2180)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2182)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==2185)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("ifirestar", -460, 0, 0);
}}
return;
}
if(animhandle==2189)
{
void self = getlocalvar("self");
if (frame==0){
void mana = getentityproperty(self,"mp");
if (mana+8>=50){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if (frame==4){
int Map = getentityproperty(self, "map");
if(Map==2){
shoot("Web", 0, 54, 0);
}
if(Map==0 || Map==4){
shoot("Cristal2", 5, 44, 0);
}
if(Map==1 || Map ==3){
shoot("SpiderWTiro", 5, 44, 0);
}
}
return;
}
if(animhandle==2195)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
if(frame==14)
{
keymove(2, 0);
}
if(frame==15)
{
keymove(2, 0);
}
return;
}
if(animhandle==2197)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2203)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
if(frame==14)
{
keymove(3, 0);
}
if(frame==15)
{
keymove(3, 0);
}
return;
}
if(animhandle==2205)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Spider_Woman");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2206)
{
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Moon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2211)
{
void self = getlocalvar("self");
int Summon = getentityvar(self, 1);
if(frame==0){
setentityvar(self, 1, openborvariant("elapsed_time"));
}
if(Summon <= openborvariant("elapsed_time") - 70){
setentityvar(self, 1, NULL());
performattack(self,openborconstant("ANI_FOLLOW2"));
}
if(frame==0)
{
dasher(-3, 0, 0);
}
return;
}
if(animhandle==2212)
{
if(frame==1)
{
killentity(getlocalvar("self"));
}
return;
}
if(animhandle==2213)
{
void self = getlocalvar("self");
int Summon = getentityvar(self, 1);
if(frame==0){
setentityvar(self, 1, openborvariant("elapsed_time"));
}
if(Summon <= openborvariant("elapsed_time") - 120){
setentityvar(self, 1, NULL());
performattack(self,openborconstant("ANI_FOLLOW1"));
}
if(frame==0)
{
dasher(-3, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2214)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==2217)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2219)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2225)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2227)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Moon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2230)
{
if(frame==0)
{
velo001(5, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Moon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2237)
{
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2239)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
return;
}
if(animhandle==2243)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==21)
{
shoot("BatrangBat", 30, 25, 1);
}
if(frame==25)
{
shoot("StarM", 6, 0, 0);
}
if(frame==25)
{
shoot("StarM", 4, 0, 12);
}
if(frame==25)
{
shoot("StarM", 2, 0, -12);
}
return;
}
if(animhandle==2244)
{
if(frame==0)
{
spawnbind("come", 0, 90, 0);
}
if(frame==1)
{
spawnbind("sumonR", 1, 0, 0);
}
return;
}
if(animhandle==2245)
{
if(frame==2)
{
shoot("PedrinhaTiro", 30, 45, 1);
}
return;
}
if(animhandle==2247)
{
if(frame==0)
{
spawnbind("canobind", -8, 18, 1);
}
if(frame==1)
{
spawnbind("canobind", 5, 44, 1);
}
if(frame==2)
{
shoot("canoTiro", 30, 45, 1);
}
return;
}
if(animhandle==2248)
{
if(frame==0)
{
spawnbind("headbind", -8, 18, 1);
}
if(frame==1)
{
spawnbind("headbind", 5, 44, 1);
}
if(frame==2)
{
shoot("headTiro", 30, 45, 1);
}
return;
}
if(animhandle==2249)
{
if(frame==2)
{
shoot("PedrinhaTiro2", 30, 45, 1);
}
return;
}
if(animhandle==2250)
{
if(frame==2)
{
toss("PedrinhaGBomb", 30, 45, 1);
}
return;
}
if(animhandle==2251)
{
if(frame==2)
{
toss("PedrinhaGBomb2", 30, 45, 1);
}
return;
}
if(animhandle==2252)
{
if(frame==2)
{
shoot("PedrinhaTiro3", 30, 45, 1);
}
return;
}
if(animhandle==2253)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==21)
{
shoot("BatrangBat", 30, 25, 1);
}
return;
}
if(animhandle==2254)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2256)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==2257)
{
if(frame==1)
{
velo001(2, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2258)
{
if(frame==3)
{
shoot("StarM", 2, 10, 1);
}
return;
}
if(animhandle==2259)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iCloak", -80, 0, -1);
spawn01("iDagger", -60, 0, 0);
}}
return;
}
if(animhandle==2269)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==2271)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2276)
{
if(frame==0)
{
velo001(4, 0, 1);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2277)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
return;
}
if(animhandle==2279)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Moon_Knight");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2280)
{
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Hulk/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2294)
{
if(frame==3)
{
toss2("cartucho", 30, 60, 1);
}
return;
}
if(animhandle==2301)
{
void self = getlocalvar("self");
if(frame==13){changeentityproperty(self, "name", "Red_Hulk");}
return;
}
if(animhandle==2302)
{
if(frame==0)
{
spawnbind("come", 0, 80, 0);
}
if(frame==1)
{
spawn01("redarmy", -10, 174, 20);
}
if(frame==2)
{
spawn01("redarmy", -90, 174, 10);
}
if(frame==3)
{
spawn01("redarmy", 80, 174, 10);
}
return;
}
if(animhandle==2303)
{
if(frame==2)
{
shoot("pedrinhaTiro", 25, 60, 1);
}
return;
}
if(animhandle==2304)
{
if(frame==0)
{
spawnbind("canobind", 13, 20, -1);
}
if(frame==1)
{
spawnbind("canobind", 12, 50, 1);
}
if(frame==2)
{
toss("canoBomb", 25, 50, 1);
}
return;
}
if(animhandle==2305)
{
if(frame==0)
{
spawnbind("headbind", 13, 20, -1);
}
if(frame==1)
{
spawnbind("headbind", 12, 50, 1);
}
if(frame==2)
{
toss("headBomb", 25, 50, 1);
}
return;
}
if(animhandle==2306)
{
if(frame==2)
{
shoot("pedrinhaTiro2", 25, 60, 1);
}
return;
}
if(animhandle==2307)
{
if(frame==2)
{
toss("pedrinhaGBomb", 25, 60, 1);
}
return;
}
if(animhandle==2308)
{
if(frame==2)
{
toss("pedrinhaGBomb2", 25, 60, 1);
}
return;
}
if(animhandle==2311)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==2312)
{
void self = getlocalvar("self");
if(frame==10){changeentityproperty(self, "name", "Red_Hulk");}
return;
}
if(animhandle==2319)
{
if(frame==2)
{
shoot("pedrinhaTiro3", 25, 60, 1);
}
return;
}
if(animhandle==2323)
{
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%10;
if (Life <= 250 && chance>0){
performattack(self, openborconstant("ANI_follow1"));
}
return;
}
if(animhandle==2327)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2331)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==2334)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2336)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2342)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Hulk/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2354)
{
if(frame==0){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana+5);//add mp
}
return;
}
if(animhandle==2357)
{
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==2358)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==15)
{
spawn01("redspecial", 40, 0, 2);
}
return;
}
if(animhandle==2359)
{
if(frame==0)
{
spawnbind("come", 0, 80, 0);
}
if(frame==1)
{
spawn01("redarmy", -10, 224, 20);
}
if(frame==3)
{
spawn01("redarmy", 80, 224, 10);
}
return;
}
if(animhandle==2360)
{
if(frame==3)
{
shoot("pedrinhaTiroF", 60, 45, 1);
}
return;
}
if(animhandle==2361)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2362)
{
if(frame==0)
{
spawnbind("canobind", 0, 15, 1);
}
if(frame==1)
{
spawnbind("canobind", 5, 33, 1);
}
if(frame==2)
{
spawnbind("canobind", 35, 40, 1);
}
if(frame==3)
{
shoot("canoTiroF", 50, 45, 1);
}
return;
}
if(animhandle==2363)
{
if(frame==0)
{
spawnbind("headbind", 0, 10, 1);
}
if(frame==1)
{
spawnbind("headbind", 5, 33, 1);
}
if(frame==2)
{
spawnbind("headbind", 35, 40, 1);
}
if(frame==3)
{
shoot("headTiro", 50, 45, 1);
}
return;
}
if(animhandle==2364)
{
if(frame==3)
{
shoot("pedrinhaTiroF2", 60, 45, 1);
}
return;
}
if(animhandle==2365)
{
if(frame==3)
{
toss("pedrinhaGBombF", 60, 45, 1);
}
return;
}
if(animhandle==2366)
{
if(frame==3)
{
toss("pedrinhaGBombF2", 60, 45, 1);
}
return;
}
if(animhandle==2367)
{
if(frame==3)
{
shoot("pedrinhaTiroF3", 60, 45, 1);
}
return;
}
if(animhandle==2368)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==15)
{
spawn01("redspecial", 40, 0, 2);
}
return;
}
if(animhandle==2369)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2371)
{
if(frame==3)
{
toss("Gra", 48, 37, 0);
}
return;
}
if(animhandle==2372)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==2374)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==1)
{
setNopain(1);
}
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==13)
{
setNopain(0);
}
if(frame==13)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2381)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+2);//add health
}
}
return;
}
if(animhandle==2382)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==2384)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial8"));
return;
}
if(animhandle==2391)
{
if(frame==2)
{
setNopain(1);
}
if(frame==2)
{
velo001(3, 0, 0);
}
if(frame==8)
{
velo001(0, 0, 0);
}
if(frame==8)
{
setNopain(0);
}
return;
}
if(animhandle==2392)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==2394)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "General_Ross");
changeentityproperty(self, "nopain", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2395)
{
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2398)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+2);//add health
}
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2400)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==2403)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2405)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2411)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2412)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/CapAmerica/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2420)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==2425)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2426)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==2)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==2427)
{
if(frame==4)
{
shoot("PedrinhaTiroF", 50, 40, 1);
}
return;
}
if(animhandle==2428)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2429)
{
if(frame==0)
{
spawnbind("canobind", 23, 27, -1);
}
if(frame==1)
{
spawnbind("canobind", 12, 40, -1);
}
if(frame==2)
{
spawnbind("canobind", -20, 40, 1);
}
if(frame==3)
{
spawnbind("canobind", 24, 36, 1);
}
if(frame==4)
{
shoot("canoTiroF", 40, 40, 1);
}
return;
}
if(animhandle==2430)
{
if(frame==0)
{
spawnbind("headbind", 23, 27, -1);
}
if(frame==1)
{
spawnbind("headbind", 12, 40, -1);
}
if(frame==2)
{
spawnbind("headbind", -20, 40, 1);
}
if(frame==3)
{
spawnbind("headbind", 24, 36, 1);
}
if(frame==4)
{
shoot("headTiro", 40, 40, 1);
}
return;
}
if(animhandle==2431)
{
if(frame==4)
{
shoot("PedrinhaTiroF2", 50, 40, 1);
}
return;
}
if(animhandle==2432)
{
if(frame==4)
{
toss("PedrinhaGBombF", 50, 40, 1);
}
return;
}
if(animhandle==2433)
{
if(frame==4)
{
toss("PedrinhaGBombF2", 50, 40, 1);
}
return;
}
if(animhandle==2434)
{
if(frame==4)
{
shoot("PedrinhaTiroF3", 50, 40, 1);
}
return;
}
if(animhandle==2435)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2436)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2438)
{
if(frame==2)
{
toss2("cartucho", 25, 50, 1);
}
return;
}
if(animhandle==2439)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==2448)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
if(frame==14)
{
keymove(2, 0);
}
if(frame==15)
{
keymove(2, 0);
}
return;
}
if(animhandle==2450)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2456)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
if(frame==14)
{
keymove(3, 0);
}
if(frame==15)
{
keymove(3, 0);
}
return;
}
if(animhandle==2458)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "U.S._Agent");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2459)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2473)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2476)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2478)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2484)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2485)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/winter/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2495)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
return;
}
if(animhandle==2499)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
toss2("cartucho", 0, 40, 1);
}
if(frame==15)
{
toss2("cartucho", 0, 40, 1);
}
if(frame==18)
{
toss2("cartucho", 0, 40, 1);
}
if(frame==21)
{
toss2("cartucho", 20, 60, 1);
}
return;
}
if(animhandle==2500)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==2)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==2501)
{
if(frame==3)
{
shoot("PedrinhaTiro", 50, 50, 1);
}
return;
}
if(animhandle==2502)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2503)
{
if(frame==0)
{
spawnbind("canobind", -13, 40, 1);
}
if(frame==1)
{
spawnbind("canobind", 0, 29, 1);
}
if(frame==2)
{
spawnbind("canobind", 24, 56, 1);
}
if(frame==3)
{
shoot("canoTiro", 40, 50, 1);
}
return;
}
if(animhandle==2504)
{
if(frame==0)
{
spawnbind("headbind", -13, 40, 1);
}
if(frame==1)
{
spawnbind("headbind", 0, 29, 1);
}
if(frame==2)
{
spawnbind("headbind", 24, 56, 1);
}
if(frame==3)
{
shoot("headTiro", 40, 50, 1);
}
return;
}
if(animhandle==2505)
{
if(frame==3)
{
shoot("PedrinhaTiro2", 50, 50, 1);
}
return;
}
if(animhandle==2506)
{
if(frame==3)
{
toss("PedrinhaGBombF", 50, 50, 1);
}
return;
}
if(animhandle==2507)
{
if(frame==3)
{
toss("PedrinhaGBombF2", 50, 50, 1);
}
return;
}
if(animhandle==2508)
{
if(frame==3)
{
shoot("PedrinhaTiro3", 50, 50, 1);
}
return;
}
if(animhandle==2509)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
toss2("cartucho", 0, 40, 1);
}
if(frame==15)
{
toss2("cartucho", 0, 40, 1);
}
if(frame==18)
{
toss2("cartucho", 20, 60, 1);
}
return;
}
if(animhandle==2510)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2512)
{
if(frame==3)
{
toss("gragelo", 18, 42, 0);
}
if(frame==3)
{
toss2("gragelo", -18, 42, 0);
}
return;
}
if(animhandle==2513)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iDeathlok", 20, 200, 0);
}}
return;
}
if(animhandle==2514)
{
if(frame==0)
{
velo001(3, 0, 2);
}
return;
}
if(animhandle==2515)
{
if(frame==1)
{
toss2("cartucho", 35, 50, 1);
}
return;
}
if(animhandle==2521)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
if(frame==14)
{
keymove(2, 0);
}
if(frame==15)
{
keymove(2, 0);
}
return;
}
if(animhandle==2523)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial8"));
return;
}
if(animhandle==2528)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2529)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
if(frame==14)
{
keymove(3, 0);
}
if(frame==15)
{
keymove(3, 0);
}
return;
}
if(animhandle==2531)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Winter_Soldier");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2532)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2540)
{
void self = getlocalvar("self");
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==5){
shoot("SentryTiro1v", 0, 20, 0);}
if(Map!=5){
shoot("SentryTiro1", 0, 20, 0);}
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==4)
{
atiraNave();
}
return;
}
if(animhandle==2543)
{
void self = getlocalvar("self");
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==5){
shoot("SentryTiro1v", 0, 20, 0);}
if(Map!=5){
shoot("SentryTiro1", 0, 20, 0);}
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2545)
{
void self = getlocalvar("self");
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==5){
shoot("SentryTiro1v", 0, 20, 0);}
if(Map!=5){
shoot("SentryTiro1", 0, 20, 0);}
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2550)
{
void self = getlocalvar("self");
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==5){
shoot("SentryTiro1v", 0, 20, 0);}
if(Map!=5){
shoot("SentryTiro1", 0, 20, 0);}
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2552)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Sentry2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2567)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2568)
{
if(frame==0)
{
spawn01("MiniEx", 20, 1, 2);
}
return;
}
if(animhandle==2569)
{
void self = getlocalvar("self");
changeentityproperty(self, "mp", 0);//add mp
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2570)
{
if(frame==3)
{
shoot("PedrinhaTiroF", 50, 60, 1);
}
return;
}
if(animhandle==2571)
{
if(frame==0)
{
spawnbind("canobind", -2, 38, 1);
}
if(frame==1)
{
spawnbind("canobind", -27, 60, 1);
}
if(frame==2)
{
spawnbind("canobind", -33, 70, 1);
}
if(frame==3)
{
shoot("canoTiroF", 0, 60, 1);
}
return;
}
if(animhandle==2572)
{
if(frame==0)
{
spawnbind("headbind", -2, 38, 1);
}
if(frame==1)
{
spawnbind("headbind", -27, 60, 1);
}
if(frame==2)
{
spawnbind("headbind", -33, 70, 1);
}
if(frame==3)
{
shoot("headTiro", 0, 60, 1);
}
return;
}
if(animhandle==2573)
{
if(frame==3)
{
shoot("PedrinhaTiroF2", 50, 60, 1);
}
return;
}
if(animhandle==2574)
{
if(frame==3)
{
toss("PedrinhaGBombF", 50, 60, 1);
}
return;
}
if(animhandle==2575)
{
if(frame==3)
{
toss("PedrinhaGBombF2", 50, 60, 1);
}
return;
}
if(animhandle==2576)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==1)
{
velo001(16, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2577)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2578)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2580)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==2583)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iDrStrange", -60, 0, 0);
}}
return;
}
if(animhandle==2584)
{
if(frame==0)
{
velo001(7, 0, 1);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2585)
{
if(frame==10)
{
spawn01("Life", 38, 10, 0);
}
return;
}
if(animhandle==2586)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 10, 39, 0, 0);
}
if(frame==1)
{
position(0, 10, 34, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
throw(14, 1, -6, 2, 0, 1);
}
if(frame==1)
{
clearL();
}
return;
}
if(animhandle==2593)
{
void self = getlocalvar("self");
if(frame==0){changeentityproperty(self, "name", "Void");}
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<79){
changeentityproperty(self, "health", vida+2);//add health
}
}
return;
}
if(animhandle==2594)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
return;
}
if(animhandle==2596)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2598)
{
if(frame==3)
{
shoot("PedrinhaTiroF3", 50, 60, 1);
}
return;
}
if(animhandle==2602)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==1)
{
velo001(8, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2603)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
return;
}
if(animhandle==2604)
{
if(frame==1)
{
velo001(20, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2605)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 12, 44, 0, 0);
}
if(frame==1)
{
position(0, 0, 34, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
throw(14, 1, 5, -2, 0, 1);
}
if(frame==1)
{
clearL();
}
return;
}
if(animhandle==2606)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<79){
changeentityproperty(self, "health", vida+2);//add health
}
}
return;
}
#### animationscript function main #####
# data/chars/Sentry2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2618)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==13)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2619)
{
void self = getlocalvar("self");
if (frame==0){
int Map = getentityproperty(self, "map");
if(Map==5){
performattack(self, openborconstant("ANI_FOLLOW12"));}
}
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonA", 1, 0, 0);
}
return;
}
if(animhandle==2620)
{
if(frame==0)
{
spawn01("MiniEx", 20, 1, 2);
}
return;
}
if(animhandle==2621)
{
void self = getlocalvar("self");
changeentityproperty(self, "mp", 0);//add mp
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2622)
{
if(frame==3)
{
shoot("PedrinhaTiroF", 50, 60, 1);
}
return;
}
if(animhandle==2624)
{
if(frame==0)
{
spawnbind("canobind", -2, 38, 1);
}
if(frame==1)
{
spawnbind("canobind", -27, 60, 1);
}
if(frame==2)
{
spawnbind("canobind", -33, 70, 1);
}
if(frame==3)
{
shoot("canoTiroF", 0, 60, 1);
}
return;
}
if(animhandle==2625)
{
if(frame==0)
{
spawnbind("headbind", -2, 38, 1);
}
if(frame==1)
{
spawnbind("headbind", -27, 60, 1);
}
if(frame==2)
{
spawnbind("headbind", -33, 70, 1);
}
if(frame==3)
{
shoot("headTiro", 0, 60, 1);
}
return;
}
if(animhandle==2626)
{
void self = getlocalvar("self");
changeentityproperty(self, "mp", 0);//add mp
changeentityproperty(self, "health", 120);
return;
}
if(animhandle==2627)
{
if(frame==3)
{
shoot("PedrinhaTiroF2", 50, 60, 1);
}
return;
}
if(animhandle==2628)
{
if(frame==3)
{
toss("PedrinhaGBombF", 50, 60, 1);
}
return;
}
if(animhandle==2629)
{
if(frame==3)
{
toss("PedrinhaGBombF2", 50, 60, 1);
}
return;
}
if(animhandle==2630)
{
if(frame==3)
{
shoot("PedrinhaTiroF3", 50, 60, 1);
}
return;
}
if(animhandle==2631)
{
if(frame==10)
{
spawn01("BlackHole", 50, 0, 0);
}
return;
}
if(animhandle==2632)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==1)
{
velo001(20, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2633)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==13)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2634)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2636)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==2638)
{
void self = getlocalvar("self");
if (frame==0){
void mana = getentityproperty(self,"mp");
if (mana+8>=50){
performattack(self, openborconstant("ANI_FOLLOW1"));}
}
if (frame==2){
int Map = getentityproperty(self, "map");
if(Map==5){
shoot("SentryTiro1v", 0, 65, 0);}
if(Map!=5){
shoot("SentryTiro1", 0, 65, 0);
}
}
return;
}
if(animhandle==2639)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==2640)
{
if(frame==0)
{
velo001(7, 0, 1);
}
if(frame==1)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2641)
{
void self = getlocalvar("self");
if (frame==0){
int Map = getentityproperty(self, "map");
if(Map==5){
performattack(self, openborconstant("ANI_FOLLOW4")); }
}
if(frame==10)
{
spawn01("SentryLife", 38, 10, 0);
}
return;
}
if(animhandle==2642)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 10, 39, 0, 0);
}
if(frame==1)
{
position(0, 10, 34, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
throw(14, 1, -6, 2, 0, 1);
}
if(frame==1)
{
clearL();
}
return;
}
if(animhandle==2649)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<79){
changeentityproperty(self, "health", vida+1);//add health
}
}
return;
}
if(animhandle==2650)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
return;
}
if(animhandle==2652)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2654)
{
if(frame==1){
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%2;
if (Life <= 99 && chance==1){
performattack(self, openborconstant("ANI_FOLLOW3"));
} }
return;
}
if(animhandle==2655)
{
if(frame==3){
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%2;
if (Life <= 99 && chance==1){
performattack(self, openborconstant("ANI_FOLLOW3"));
} }
return;
}
if(animhandle==2657)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==1)
{
velo001(8, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2658)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
return;
}
if(animhandle==2660)
{
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if(Map==5){
changeentityproperty(self, "name", "Void");
}
if(Map!=5){
changeentityproperty(self, "name", "Sentry");
}
changeentityproperty(self, "nopain", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2661)
{
if(frame==1)
{
velo001(30, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2662)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 12, 44, 0, 0);
}
if(frame==1)
{
position(0, 0, 34, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
throw(14, 1, 5, -2, 0, 1);
}
if(frame==1)
{
clearL();
}
return;
}
if(animhandle==2664)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<79){
changeentityproperty(self, "health", vida+2);//add health
}
}
return;
}
#### animationscript function main #####
# data/chars/Sentry/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2729)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==11)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2731)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2736)
{
void self = getlocalvar("self");
if(frame==1){performattack(self, openborconstant("ANI_follow1"));}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2738)
{
if(frame==1){
int r = rand()%4;
if(r==-3){spawn01("banshee", -50, 200, 0);}
if(r==-2){spawn01("bishop", -50, 0, 0);}
if(r==-1){spawn01("dazzler", -50, 200, 0);}
if(r==0){spawn01("domino", -50, 200, 0);}
if(r==1){spawn01("strongguy", -90, 0, 0);}
if(r==2){spawn01("Polaris", -50, 200, 0);}
if(r==3){spawn01("shatterstar", -50, 200, 0);}
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2739)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==2742)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2744)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2749)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2751)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
}
#### animationscript function main #####
# data/chars/Rocket/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2754)
{
if (frame==5){
void self = getlocalvar("self");
killentity(self);
}
return;
}
#### animationscript function main #####
# data/chars/Beast/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2762)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==2767)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
velo001(1.5, 0, 0);
}
if(frame==30)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2768)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonX", 1, 0, 0);
}
return;
}
if(animhandle==2770)
{
if(frame==3)
{
shoot("pedrinhaTiro", 55, 30, 1);
}
return;
}
if(animhandle==2771)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2772)
{
if(frame==0)
{
spawnbind("canobind", 0, 25, 1);
}
if(frame==1)
{
spawnbind("canobind", 20, 30, 1);
}
if(frame==2)
{
shoot("canoTiro", 55, 30, 1);
}
return;
}
if(animhandle==2773)
{
if(frame==0)
{
spawn01("Rotrap3", 0, 0, 1);
}
return;
}
if(animhandle==2775)
{
if(frame==3)
{
shoot("pedrinhaTiro2", 55, 30, 1);
}
return;
}
if(animhandle==2776)
{
if(frame==3)
{
toss("pedrinhaGBomb", 55, 30, 1);
}
return;
}
if(animhandle==2777)
{
if(frame==3)
{
toss("pedrinhaGBomb2", 55, 30, 1);
}
return;
}
if(animhandle==2778)
{
if(frame==3)
{
shoot("pedrinhaTiro3", 55, 30, 1);
}
return;
}
if(animhandle==2779)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==0)
{
gravity(0);
}
if(frame==1)
{
gravity(1);
}
return;
}
if(animhandle==2780)
{
if(frame==1)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==2781)
{
if(frame==2)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2782)
{
if(frame==2)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2783)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
velo001(1.5, 0, 0);
}
if(frame==30)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2784)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==2786)
{
if(frame==2){
void self = getlocalvar("self");
performattack(self, openborconstant("ani_follow2"));
}
return;
}
if(animhandle==2787)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iXavier", -60, 0, 0);
}}
return;
}
if(animhandle==2790)
{
if(frame==2){
void self = getlocalvar("self");
performattack(self, openborconstant("ani_follow3"));
}
return;
}
if(animhandle==2791)
{
if(frame==2)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2795)
{
if(frame==0)
{
velo001(2, 0, 2);
}
return;
}
if(animhandle==2797)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==2798)
{
if(frame==1)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==2799)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2805)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==2807)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Beast");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==2808)
{
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Wolverine/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2818)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==2822)
{
if(frame==0){
void self = getlocalvar("self");// get caller
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", 133);//add health
changeentityproperty(self, "mp", 0);//add mp
}
if(frame==0)
{
velo001(1, 1, 0);
}
if(frame==5)
{
velo001(2, -1, 0);
}
if(frame==10)
{
velo001(1, 0, 0);
}
if(frame==15)
{
velo001(4, -1, 0);
}
if(frame==17)
{
velo001(2, -1, 0);
}
if(frame==22)
{
velo001(3, 1, 0);
}
if(frame==27)
{
velo001(2, 0, 0);
}
if(frame==32)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2823)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 305);
}
if(frame==9)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
velo001(2, 0, 3);
}
if(frame==15)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2824)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawnbind("sumonX", 1, 0, 0);
}
return;
}
if(animhandle==2825)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2826)
{
if(frame==2)
{
shoot("PedrinhaTiro", 45, 40, 1);
}
return;
}
if(animhandle==2827)
{
if(frame==0)
{
spawnbind("canobind", 0, 15, 1);
}
if(frame==1)
{
spawnbind("canobind", 30, 35, -1);
}
if(frame==2)
{
shoot("canoTiro", 40, 40, -1);
}
return;
}
if(animhandle==2828)
{
if(frame==0)
{
spawnbind("headbind", 0, 15, 1);
}
if(frame==1)
{
spawnbind("headbind", 30, 30, -1);
}
if(frame==2)
{
shoot("headTiro", 40, 40, -1);
}
return;
}
if(animhandle==2829)
{
if(frame==2)
{
shoot("PedrinhaTiro2", 45, 40, 1);
}
return;
}
if(animhandle==2830)
{
if(frame==2)
{
toss("PedrinhaGBomb", 45, 40, 1);
}
return;
}
if(animhandle==2831)
{
if(frame==2)
{
toss("PedrinhaGBomb2", 45, 40, 1);
}
return;
}
if(animhandle==2832)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==0)
{
gravity(0);
}
if(frame==1)
{
gravity(1);
}
return;
}
if(animhandle==2834)
{
if(frame==2)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==2836)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 305);
}
if(frame==9)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
velo001(2, 0, 3);
}
if(frame==15)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2837)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==2840)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iXavier", -60, 0, 0);
}}
return;
}
if(animhandle==2841)
{
if (frame==3){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==2844)
{
if(frame==0)
{
velo001(2.5, 0, 0);
}
if(frame==18)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2849)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+5);//add health
}
}
return;
}
if(animhandle==2850)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==2851)
{
if(frame==2)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==2852)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2854)
{
if(frame==2)
{
shoot("PedrinhaTiro3", 45, 40, 1);
}
return;
}
if(animhandle==2856)
{
if(frame==0){
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%2;
int myVar = getlocalvar("vWolvie");
if (myVar==0 && Life <= 70 && chance==1){
setlocalvar("vWolvie", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
} }
return;
}
if(animhandle==2859)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==2860)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
velo001(2, 0, 0);
}
setlocalvar("vWolvie", 0);
return;
}
if(animhandle==2861)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==4)
{
velo001(2, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2863)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+4);//add health
}
}
return;
}
#### animationscript function main #####
# data/chars/Wolverine/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2869)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
return;
}
if(animhandle==2873)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 305);
}
if(frame==9)
{
setglobalvar("zoomvalue", 310);
}
if(frame==13)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(3, 0, 0);
}
return;
}
if(animhandle==2874)
{
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if((frame==1) && (Map!=4)){
spawnbind("sumonX",1,0,0);
}
if((frame==1) && (Map==4)){
spawn01("Domino",30,240,10);
}
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
return;
}
if(animhandle==2875)
{
if(frame==3)
{
shoot("PedrinhaTiro", 40, 40, 1);
}
return;
}
if(animhandle==2876)
{
if(frame==0)
{
spawnbind("canobind", 17, 30, 1);
}
if(frame==1)
{
spawnbind("canobind", 7, 46, -1);
}
if(frame==2)
{
spawnbind("canobind", 28, 56, 1);
}
if(frame==3)
{
shoot("canoTiro", 40, 40, 1);
}
return;
}
if(animhandle==2877)
{
if(frame==0)
{
spawnbind("headbind", 17, 30, 1);
}
if(frame==1)
{
spawnbind("headbind", 7, 46, -1);
}
if(frame==2)
{
spawnbind("headbind", 28, 56, 1);
}
if(frame==3)
{
shoot("headTiro", 40, 40, 1);
}
return;
}
if(animhandle==2878)
{
if(frame==3)
{
shoot("PedrinhaTiro2", 40, 40, 1);
}
return;
}
if(animhandle==2879)
{
if(frame==3)
{
toss("PedrinhaGBomb", 40, 40, 1);
}
return;
}
if(animhandle==2880)
{
if(frame==3)
{
toss("PedrinhaGBomb2", 40, 40, 1);
}
return;
}
if(animhandle==2881)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2883)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 305);
}
if(frame==9)
{
setglobalvar("zoomvalue", 310);
}
if(frame==13)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(3, 0, 0);
}
return;
}
if(animhandle==2884)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==2887)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iXavier", -60, 0, 0);
}}
return;
}
if(animhandle==2896)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+5);//add health
}
}
return;
}
if(animhandle==2897)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==2899)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2901)
{
if(frame==3)
{
shoot("PedrinhaTiro3", 40, 40, 1);
}
return;
}
if(animhandle==2906)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==2907)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==4)
{
velo001(2, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2909)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+4);//add health
}
}
return;
}
if(animhandle==2910)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2911)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==2914)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2916)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2922)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2926)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==2930)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2932)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==2934)
{
void vSelf = getlocalvar("self");
int Map = getentityproperty(vSelf, "map");
if((frame==0) && ((Map==5))){
performattack(vSelf, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2937)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Wolverine/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2947)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==2951)
{
if(frame==0){
void self = getlocalvar("self");// get caller
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", 133);//add health
changeentityproperty(self, "mp", 0);//add mp
}
if(frame==0)
{
velo001(1, 1, 0);
}
if(frame==5)
{
velo001(2, -1, 0);
}
if(frame==10)
{
velo001(1, 0, 0);
}
if(frame==15)
{
velo001(4, -1, 0);
}
if(frame==17)
{
velo001(2, -1, 0);
}
if(frame==22)
{
velo001(3, 1, 0);
}
if(frame==27)
{
velo001(2, 0, 0);
}
if(frame==32)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2952)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 305);
}
if(frame==9)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
velo001(2, 0, 3);
}
if(frame==15)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2953)
{
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if((frame==1) && (Map!=4)){
spawnbind("sumonX",1,0,0);
}
if((frame==1) && (Map==4)){
spawn01("Domino",30,240,10);
}
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
return;
}
if(animhandle==2954)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2955)
{
if(frame==2)
{
shoot("PedrinhaTiro", 45, 40, 1);
}
return;
}
if(animhandle==2956)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==2957)
{
if(frame==0)
{
spawnbind("canobind", -11, 13, 1);
}
if(frame==1)
{
spawnbind("canobind", 22, 27, -1);
}
if(frame==2)
{
shoot("canoTiro", 45, 35, -1);
}
return;
}
if(animhandle==2958)
{
if(frame==0)
{
spawnbind("headbind", -11, 13, 1);
}
if(frame==1)
{
spawnbind("headbind", 22, 27, -1);
}
if(frame==2)
{
shoot("headTiro", 45, 35, -1);
}
return;
}
if(animhandle==2960)
{
if(frame==2)
{
shoot("PedrinhaTiro2", 45, 40, 1);
}
return;
}
if(animhandle==2961)
{
if(frame==2)
{
toss("PedrinhaGBomb", 45, 40, 1);
}
return;
}
if(animhandle==2962)
{
if(frame==2)
{
toss("PedrinhaGBomb2", 45, 40, 1);
}
return;
}
if(animhandle==2963)
{
if(frame==2)
{
shoot("PedrinhaTiro3", 45, 40, 1);
}
return;
}
if(animhandle==2965)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==0)
{
gravity(0);
}
if(frame==1)
{
gravity(1);
}
return;
}
if(animhandle==2966)
{
if(frame==0)
{
velo001(2, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2968)
{
if(frame==2)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==2969)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 305);
}
if(frame==9)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
velo001(2, 0, 3);
}
if(frame==15)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2970)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2973)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iXavier", -60, 0, 0);
}}
return;
}
if(animhandle==2974)
{
if (frame==3){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==2982)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+5);//add health
}
}
return;
}
if(animhandle==2983)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==2984)
{
if(frame==2)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==2985)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==2988)
{
if(frame==0){
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
int chance = rand()%2;
int myVar = getlocalvar("vWolvie");
if (myVar==0 && Life <= 70 && chance==1){
setlocalvar("vWolvie", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
} }
return;
}
if(animhandle==2990)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2991)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==2993)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Wolverine");
int Map = getentityproperty(self, "map");
if((frame==1) && ((Map==5))){
performattack(self, openborconstant("ANI_FOLLOW3"));
}
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
setlocalvar("vWolvie", 0);
return;
}
if(animhandle==2994)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==4)
{
velo001(2, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==2997)
{
void self = getlocalvar("self");
if(frame==3){
void vida = getentityproperty(self,"health"); //get health
if(vida<120){
changeentityproperty(self, "health", vida+4);//add health
}
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2999)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==3002)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3004)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3010)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3014)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==3018)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3020)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3022)
{
void vSelf = getlocalvar("self");
int Map = getentityproperty(vSelf, "map");
if((frame==0) && ((Map==7))){
changeentityproperty(vSelf, "name", "Scarlet_Spider");
performattack(vSelf, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==3026)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
#### animationscript function main #####
# data/chars/Spiderman/2099/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3036)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==3039)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3041)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3042)
{
if(frame==0)
{
spawnbind("come", 0, 65, 0);
}
if(frame==1)
{
spawnbind("sumonR", 1, 0, 0);
}
return;
}
if(animhandle==3043)
{
if(frame==2)
{
shoot("PedrinhaTiro", 55, 40, 1);
}
return;
}
if(animhandle==3044)
{
if(frame==0)
{
spawnbind("canobind", -7, 47, 1);
}
if(frame==1)
{
spawnbind("canobind", 13, 40, 1);
}
if(frame==2)
{
shoot("canoTiro", 55, 40, 1);
}
return;
}
if(animhandle==3045)
{
if(frame==0)
{
spawnbind("headbind", -7, 47, 1);
}
if(frame==1)
{
spawnbind("headbind", 13, 40, 1);
}
if(frame==2)
{
shoot("headTiro", 55, 40, 1);
}
return;
}
if(animhandle==3047)
{
if(frame==2)
{
shoot("PedrinhaTiro2", 55, 40, 1);
}
return;
}
if(animhandle==3048)
{
if(frame==2)
{
toss("PedrinhaGBomb", 55, 40, 1);
}
return;
}
if(animhandle==3049)
{
if(frame==2)
{
toss("PedrinhaGBomb2", 55, 40, 1);
}
return;
}
if(animhandle==3050)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==0)
{
gravity(0);
}
if(frame==1)
{
gravity(1);
}
return;
}
if(animhandle==3054)
{
if(frame==1)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==3055)
{
if(frame==0)
{
velo001(0, 0, 0);
}
void self = getlocalvar("self");
if(frame==1){
performattack(self, openborconstant("ANI_freespecial23"));
}
return;
}
if(animhandle==3056)
{
void self = getlocalvar("self");
if(frame==6){
performattack(self, openborconstant("ANI_freespecial20"));
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3057)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3058)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==5){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial23"));
}
return;
}
if(animhandle==3060)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==3061)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==3){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
return;
}
if(animhandle==3064)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("ifirestar", -460, 0, 0);
}}
return;
}
if(animhandle==3067)
{
if (frame==4){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW3"));
}
return;
}
if(animhandle==3068)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, 5, 16, 0, 0);
}
if(frame==1)
{
position(0, -5, 40, 0, 1);
}
if(frame==2)
{
position(0, -35, 40, 0, 1);
}
if(frame==3)
{
position(0, -45, 35, 0, 1);
}
if(frame==4)
{
position(1, -35, 10, 0, 1);
}
if(frame==5)
{
velo001(0, 0, 0);
}
if(frame==5)
{
depost(0);
}
if(frame==5)
{
throw(14, 1, 5, 2, 0, 1);
}
if(frame==5)
{
clearL();
}
return;
}
if(animhandle==3074)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
return;
}
if(animhandle==3075)
{
if(frame==1)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==3076)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3078)
{
if(frame==2)
{
shoot("PedrinhaTiro3", 55, 40, 1);
}
return;
}
if(animhandle==3079)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3082)
{
if(frame==0)
{
velo001(1, 0, 0);
}
if(frame==1)
{
velo001(2, 0, 4);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3083)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
return;
}
if(animhandle==3084)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3085)
{
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Spiderman/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3094)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==3097)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3099)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3100)
{
if(frame==0)
{
spawnbind("come", 0, 65, 0);
}
if(frame==1)
{
spawnbind("sumonR", 1, 0, 0);
}
return;
}
if(animhandle==3101)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 1);
}
if(frame==1)
{
changeopenborvariant("slowmotion", 0);
}
if(frame==1)
{
velo001(2.5, 0, 0);
}
if(frame==13)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3102)
{
if(frame==2)
{
shoot("PedrinhaTiro", 55, 40, 1);
}
return;
}
if(animhandle==3104)
{
if(frame==17)
{
shoot("canoTiroF", 0, 40, 1);
}
return;
}
if(animhandle==3105)
{
if(frame==0)
{
spawnbind("headbind", -7, 47, 1);
}
if(frame==1)
{
spawnbind("headbind", 13, 40, 1);
}
if(frame==2)
{
shoot("headTiro", 55, 40, 1);
}
return;
}
if(animhandle==3107)
{
if(frame==2)
{
shoot("PedrinhaTiro2", 55, 40, 1);
}
return;
}
if(animhandle==3108)
{
if(frame==2)
{
toss("PedrinhaGBomb", 55, 40, 1);
}
return;
}
if(animhandle==3109)
{
if(frame==2)
{
toss("PedrinhaGBomb2", 55, 40, 1);
}
return;
}
if(animhandle==3110)
{
if(frame==2)
{
shoot("PedrinhaTiro3", 55, 40, 1);
}
return;
}
if(animhandle==3111)
{
if (frame==16){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_Freespecial11"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==13)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3112)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3115)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==0)
{
gravity(0);
}
if(frame==1)
{
gravity(1);
}
return;
}
if(animhandle==3120)
{
if(frame==6)
{
velo001(5, 0, 0);
}
if(frame==11)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3123)
{
if(frame==1)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==3124)
{
if(frame==0)
{
velo001(0, 0, 0);
}
void self = getlocalvar("self");
if(frame==1){
performattack(self, openborconstant("ANI_freespecial23"));
}
return;
}
if(animhandle==3125)
{
void self = getlocalvar("self");
if(frame==6){
performattack(self, openborconstant("ANI_freespecial20"));
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3126)
{
if(frame==0)
{
powerGem();
}
void self = getlocalvar("self");
int Map = getentityproperty(self, "map");
if((frame==0) && (Map==3)){
performattack(self, openborconstant("ANI_FOLLOW4"));
}
if((frame==0) && (Map==4)){
performattack(self, openborconstant("ANI_FOLLOW4"));
}
if((frame==0) && (Map==5)){
performattack(self, openborconstant("ANI_FOLLOW5"));
}
if((frame==24)){
performattack(self, openborconstant("ANI_FOLLOW7"));
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==13)
{
velo001(-1, 0, 0);
}
if(frame==16)
{
velo001(0, 0, 0);
}
if(frame==18)
{
velo001(-5, 0, 0);
}
if(frame==20)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3127)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==5){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial23"));
}
return;
}
if(animhandle==3129)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==3130)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==3){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
return;
}
if(animhandle==3133)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("ifirestar", -460, 0, 0);
}}
return;
}
if(animhandle==3136)
{
if (frame==4){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW3"));
}
return;
}
if(animhandle==3137)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, 5, 16, 0, 0);
}
if(frame==1)
{
position(0, -5, 40, 0, 1);
}
if(frame==2)
{
position(0, -35, 40, 0, 1);
}
if(frame==3)
{
position(0, -45, 35, 0, 1);
}
if(frame==4)
{
position(1, -35, 10, 0, 1);
}
if(frame==5)
{
velo001(0, 0, 0);
}
if(frame==5)
{
depost(0);
}
if(frame==5)
{
throw(14, 1, 5, 2, 0, 1);
}
if(frame==5)
{
clearL();
}
return;
}
if(animhandle==3143)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
if(frame==14)
{
keymove(2, 0);
}
return;
}
if(animhandle==3144)
{
if(frame==1)
{
wallAttack("ANI_FOLLOW9");
}
return;
}
if(animhandle==3145)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3147)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3150)
{
if(frame==0)
{
velo001(1, 0, 0);
}
if(frame==1)
{
velo001(2, 0, 4);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3151)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
if(frame==14)
{
keymove(3, 0);
}
return;
}
if(animhandle==3153)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Spiderman");
int Map = getentityproperty(self,"map");
Map = getentityproperty(self, "map");
if((frame==1) && ((Map==7))){
changeentityproperty(self, "name", "Scarlet_Spider");
performattack(self, openborconstant("ANI_FOLLOW6"));
}
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3154)
{
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3159)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==4)
{
atiraNave();
}
return;
}
if(animhandle==3162)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3164)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3170)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3171)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Ultron/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3177)
{
if(frame==4)
{
spawn01("Sent_explode", 0, 0, 1);
}
return;
}
if(animhandle==3179)
{
if(frame==0)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3180)
{
if(frame==0)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3181)
{
if(frame==0)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3182)
{
if(frame==0)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3183)
{
void self = getlocalvar("self");
int bot = getglobalvar("botUltron");
int face = getglobalvar("faceUltron");
int myface = getentityproperty(self,"direction");
if(face==myface){
if(bot==1){performattack(self, openborconstant("ANI_follow2"));}
if(bot==2){performattack(self, openborconstant("ANI_follow3"));}
}else{
if(bot==1){performattack(self, openborconstant("ANI_follow4"));}
if(bot==2){performattack(self, openborconstant("ANI_follow5"));}
}
return;
}
if(animhandle==3187)
{
void self = getlocalvar("self");
int cor = getglobalvar("palUltron");
changeentityproperty(self, "map", cor);
return;
}
if(animhandle==3188)
{
void self = getlocalvar("self");
int bot = getglobalvar("botUltron");
int face = getglobalvar("faceUltron");
int myface = getentityproperty(self,"direction");
if(face==myface){
if(bot==1){performattack(self, openborconstant("ANI_follow2"));}
if(bot==2){performattack(self, openborconstant("ANI_follow3"));}
}else{
if(bot==1){performattack(self, openborconstant("ANI_follow4"));}
if(bot==2){performattack(self, openborconstant("ANI_follow5"));}
}
return;
}
#### animationscript function main #####
# data/chars/Rocket/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3189)
{
if (frame==5){
void self = getlocalvar("self");
killentity(self);
}
return;
}
#### animationscript function main #####
# data/chars/Ultron/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3195)
{
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3199)
{
if(frame==0){setglobalvar("botUltron", 0);}
return;
}
if(animhandle==3200)
{
if(frame==0)
{
spawnbind("come", 0, 95, 0);
}
if(frame==1)
{
spawn01("UltronBot", 40, 0, 0);
}
if(frame==2)
{
spawn01("UltronBot", -40, 0, 0);
}
if(frame==4)
{
spawn01("UltronBot", 0, 0, 0);
}
return;
}
if(animhandle==3201)
{
if(frame==3)
{
shoot("PedrinhaTiroF", 60, 55, 1);
}
return;
}
if(animhandle==3202)
{
if(frame==1)
{
spawn01("UltronBot", -20, 0, 0);
}
return;
}
if(animhandle==3203)
{
if(frame==0)
{
spawnbind("canobind", -20, 40, 1);
}
if(frame==1)
{
spawnbind("canobind", 16, 58, 1);
}
if(frame==2)
{
shoot("canoTiroF", 45, 55, 1);
}
return;
}
if(animhandle==3204)
{
if(frame==0)
{
spawn01("RoTrap3mag", 1, 0, 1);
}
return;
}
if(animhandle==3205)
{
if(frame==3)
{
shoot("PedrinhaTiroF2", 60, 55, 1);
}
return;
}
if(animhandle==3206)
{
if(frame==3)
{
toss("PedrinhaGBombF", 60, 55, 1);
}
return;
}
if(animhandle==3207)
{
if(frame==3)
{
toss("PedrinhaGBombF2", 60, 55, 1);
}
return;
}
if(animhandle==3208)
{
if(frame==3)
{
shoot("PedrinhaTiroF3", 60, 55, 1);
}
return;
}
if(animhandle==3210)
{
if(frame==0)
{
velo001(2, 0, 0);
}
return;
}
if(animhandle==3211)
{
if(frame==0){
void vSelf = getlocalvar("self");
int face = getentityproperty(vSelf,"direction");
setglobalvar("faceUltron", face);
}
if(frame==5){setglobalvar("botUltron", 2);}
if(frame==16){setglobalvar("botUltron", 0);}
if(frame==0)
{
velo001(-2, 0, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3212)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3214)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3215)
{
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3216)
{
if(frame==0){
void vSelf = getlocalvar("self");
int face = getentityproperty(vSelf,"direction");
setglobalvar("faceUltron", face);
}
if(frame==0){setglobalvar("botUltron", 1);}
if(frame==6){setglobalvar("botUltron", 0);}
return;
}
if(animhandle==3217)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iDrStrange", -60, 0, 0);
}}
return;
}
if(animhandle==3219)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==11)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3225)
{
if(frame==0){setglobalvar("botUltron", 0);}
return;
}
if(animhandle==3226)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
if(frame==14)
{
keymove(2, 0);
}
if(frame==15)
{
keymove(2, 0);
}
if(frame==16)
{
keymove(2, 0);
}
if(frame==17)
{
keymove(2, 0);
}
return;
}
if(animhandle==3228)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3230)
{
if(frame==0){setglobalvar("botUltron", 0);}
return;
}
if(animhandle==3231)
{
if(frame==0){setglobalvar("botUltron", 0);}
return;
}
if(animhandle==3232)
{
if(frame==0){setglobalvar("botUltron", 0);}
return;
}
if(animhandle==3236)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
if(frame==14)
{
keymove(3, 0);
}
if(frame==15)
{
keymove(3, 0);
}
if(frame==16)
{
keymove(3, 0);
}
if(frame==17)
{
keymove(3, 0);
}
return;
}
if(animhandle==3238)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
void self = getlocalvar("self");
changeentityproperty(self, "name", "Ultron");
int cor = getentityproperty(self,"map");
setglobalvar("palUltron", cor);
setglobalvar("botUltron", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
return;
}
if(animhandle==3239)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3244)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==3)
{
atiraNave();
}
return;
}
if(animhandle==3247)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3249)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3254)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3256)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/porta/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3268)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==3272)
{
if(frame==1)
{
toss("RSTiro", 0, 40, 0);
}
if(frame==8)
{
spawn01("RSBazooka", 5, 74, 2);
}
return;
}
if(animhandle==3273)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==3)
{
spawn01("Crossbones", 50, 224, 0);
}
return;
}
if(animhandle==3274)
{
if(frame==3)
{
shoot("PedrinhaTiro", 30, 45, 1);
}
return;
}
if(animhandle==3275)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==3276)
{
if(frame==0)
{
spawnbind("canobind", 6, 22, 1);
}
if(frame==1)
{
spawnbind("canobind", 43, 32, 1);
}
if(frame==2)
{
shoot("canoTiro", 45, 55, 1);
}
return;
}
if(animhandle==3277)
{
if(frame==0)
{
spawnbind("headbind", 6, 22, 1);
}
if(frame==1)
{
spawnbind("headbind", 43, 32, 1);
}
if(frame==2)
{
shoot("headTiro", 45, 55, 1);
}
return;
}
if(animhandle==3278)
{
if(frame==3)
{
shoot("PedrinhaTiro2", 30, 45, 1);
}
return;
}
if(animhandle==3279)
{
if(frame==3)
{
toss("pedrinhaGBomb", 30, 45, 1);
}
return;
}
if(animhandle==3280)
{
if(frame==3)
{
toss("pedrinhaGBomb2", 30, 45, 1);
}
return;
}
if(animhandle==3281)
{
if(frame==3)
{
shoot("PedrinhaTiro3", 30, 45, 1);
}
return;
}
if(animhandle==3282)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
velo001(-3, 0, 2);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==13)
{
toss("RSTiro", 0, 40, 0);
}
if(frame==20)
{
toss("RSTiro", 0, 40, 0);
}
if(frame==26)
{
powerGem();
}
if(frame==27)
{
spawn01("RSBazooka", 5, 74, 2);
}
return;
}
if(animhandle==3283)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==3284)
{
if(frame==5)
{
velo001(1, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3286)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iDrStrange", -60, 0, 0);
}}
return;
}
if(animhandle==3288)
{
if(frame==2)
{
toss2("cartucho", 45, 70, 1);
}
return;
}
if(animhandle==3289)
{
if(frame==2)
{
toss("granada2", 18, 42, 0);
}
return;
}
if(animhandle==3294)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
if(frame==12)
{
keymove(2, 0);
}
if(frame==13)
{
keymove(2, 0);
}
return;
}
if(animhandle==3296)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3302)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
if(frame==12)
{
keymove(3, 0);
}
if(frame==13)
{
keymove(3, 0);
}
return;
}
if(animhandle==3304)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Red_Skull");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3305)
{
if(frame==0)
{
velo001(3, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3310)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==3)
{
atiraNave();
}
return;
}
if(animhandle==3313)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3315)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3321)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3322)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Loki/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3326)
{
void self = getlocalvar("self");
int cor = getglobalvar("palLoki");
changeentityproperty(self, "map", cor);
return;
}
#### animationscript function main #####
# data/chars/Loki/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3329)
{
if(frame==0){
void self = getlocalvar("self");
int cor = getglobalvar("palLoki");
changeentityproperty(self, "map", cor);
}
return;
}
#### animationscript function main #####
# data/chars/Loki/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3330)
{
if(frame==0){
void self = getlocalvar("self");
int cor = getglobalvar("palLoki");
changeentityproperty(self, "map", cor);
}
return;
}
#### animationscript function main #####
# data/chars/asgard/Ice_Giant.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3337)
{
void vSelf = getlocalvar("self");
changeentityproperty(vSelf, "name", "Ice_Giant");
return;
}
#### animationscript function main #####
# data/chars/Loki/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3350)
{
if(frame==1)
{
spawn01("DormHyper", 0, 0, -1);
}
return;
}
#### animationscript function main #####
# data/chars/Loki/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3360)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==21)
{
shoot("lokitiroMCU", -122, 55, 0);
}
if(frame==22)
{
shoot("lokitiroMCU", -112, 55, 10);
}
if(frame==23)
{
shoot("lokitiroMCU", -122, 55, -10);
}
if(frame==24)
{
shoot("lokitiroMCU", -112, 55, 20);
}
if(frame==25)
{
shoot("lokitiroMCU", -99, 55, -20);
}
if(frame==26)
{
shoot("lokitiroMCU", -88, 55, 0);
}
if(frame==27)
{
shoot("lokitiroMCU", -122, 55, 0);
}
if(frame==28)
{
shoot("lokitiroMCU", -112, 55, 10);
}
if(frame==29)
{
shoot("lokitiroMCU", -122, 55, -10);
}
if(frame==30)
{
shoot("lokitiroMCU", -112, 55, 20);
}
if(frame==31)
{
shoot("lokitiroMCU", -99, 55, -20);
}
if(frame==32)
{
shoot("lokitiroMCU", -88, 55, 0);
}
return;
}
if(animhandle==3361)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawn01("Mobius", -20, 0, 0);
}
return;
}
if(animhandle==3362)
{
if(frame==4)
{
shoot("PedrinhaTiro", 10, 50, 1);
}
if(frame==5)
{
shoot("PedrinhaTiro", 5, 50, -10);
}
if(frame==6)
{
shoot("PedrinhaTiro", 10, 50, 10);
}
if(frame==7)
{
shoot("PedrinhaTiro", 15, 50, -20);
}
if(frame==8)
{
shoot("PedrinhaTiro", 5, 50, 20);
}
return;
}
if(animhandle==3363)
{
if(frame==0)
{
shoot("canoTiro", 10, 50, 1);
}
if(frame==2)
{
shoot("canoTiro", 5, 50, -10);
}
if(frame==4)
{
shoot("canoTiro", 10, 50, 10);
}
if(frame==6)
{
shoot("canoTiro", 15, 50, -20);
}
if(frame==8)
{
shoot("canoTiro", 5, 50, 20);
}
return;
}
if(animhandle==3364)
{
if(frame==0)
{
shoot("headTiro", 10, 50, 1);
}
if(frame==2)
{
shoot("headTiro", 5, 50, -10);
}
if(frame==4)
{
shoot("headTiro", 10, 50, 10);
}
if(frame==6)
{
shoot("headTiro", 15, 50, -20);
}
if(frame==8)
{
shoot("headTiro", 5, 50, 20);
}
return;
}
if(animhandle==3365)
{
if(frame==4)
{
shoot("PedrinhaTiro2", 10, 50, 1);
}
if(frame==5)
{
shoot("PedrinhaTiro2", 5, 50, -10);
}
if(frame==6)
{
shoot("PedrinhaTiro2", 10, 50, 10);
}
if(frame==7)
{
shoot("PedrinhaTiro2", 15, 50, -20);
}
if(frame==8)
{
shoot("PedrinhaTiro2", 5, 50, 20);
}
return;
}
if(animhandle==3366)
{
if(frame==4)
{
toss("PedrinhaGBombF", 10, 50, 1);
}
return;
}
if(animhandle==3367)
{
if(frame==4)
{
toss("PedrinhaGBombF2", 10, 50, 1);
}
return;
}
if(animhandle==3368)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==21)
{
shoot("lokitiroMCU", -122, 55, 0);
}
if(frame==22)
{
shoot("lokitiroMCU", -112, 55, 10);
}
if(frame==23)
{
shoot("lokitiroMCU", -122, 55, -10);
}
if(frame==24)
{
shoot("lokitiroMCU", -112, 55, 20);
}
if(frame==25)
{
shoot("lokitiroMCU", -99, 55, -20);
}
if(frame==26)
{
shoot("lokitiroMCU", -88, 55, 0);
}
return;
}
if(animhandle==3369)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==3371)
{
if(frame==10)
{
shoot("lokitiroMCU", 22, 55, 0);
}
return;
}
if(animhandle==3372)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iNamor", -80, 0, 0);
}}
return;
}
if(animhandle==3374)
{
if(frame==2)
{
shoot("lokitiroMCU", 22, 55, 0);
}
return;
}
if(animhandle==3381)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
return;
}
if(animhandle==3383)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3385)
{
if(frame==4)
{
shoot("PedrinhaTiro3", 10, 50, 1);
}
if(frame==5)
{
shoot("PedrinhaTiro3", 5, 50, -10);
}
if(frame==6)
{
shoot("PedrinhaTiro3", 10, 50, 10);
}
if(frame==7)
{
shoot("PedrinhaTiro3", 15, 50, -20);
}
if(frame==8)
{
shoot("PedrinhaTiro3", 5, 50, 20);
}
return;
}
if(animhandle==3388)
{
if(frame==0)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==0)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==1)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==1)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==2)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==2)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==3)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==3)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==4)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==4)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==5)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==5)
{
spawn01("iceRun", -20, 0, 0);
}
return;
}
if(animhandle==3389)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==8)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3390)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
return;
}
if(animhandle==3391)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3392)
{
if(frame==6)
{
gravity(0);
}
if(frame==6)
{
velo001(80, 0, 0);
}
if(frame==7)
{
gravity(1);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Loki/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3404)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==13)
{
spawnbind("LokiFlash", 49, 100, 1);
}
return;
}
if(animhandle==3405)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawn01("Ice_Giant", -45, 0, 10);
}
return;
}
if(animhandle==3406)
{
if(frame==4)
{
shoot("PedrinhaTiro", 10, 50, 1);
}
if(frame==5)
{
shoot("PedrinhaTiro", 5, 50, -10);
}
if(frame==6)
{
shoot("PedrinhaTiro", 10, 50, 10);
}
if(frame==7)
{
shoot("PedrinhaTiro", 15, 50, -20);
}
if(frame==8)
{
shoot("PedrinhaTiro", 5, 50, 20);
}
return;
}
if(animhandle==3407)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==3408)
{
if(frame==0)
{
shoot("canoTiro", 10, 50, 1);
}
if(frame==2)
{
shoot("canoTiro", 5, 50, -10);
}
if(frame==4)
{
shoot("canoTiro", 10, 50, 10);
}
if(frame==6)
{
shoot("canoTiro", 15, 50, -20);
}
if(frame==8)
{
shoot("canoTiro", 5, 50, 20);
}
return;
}
if(animhandle==3409)
{
if(frame==0)
{
shoot("headTiro", 10, 50, 1);
}
if(frame==2)
{
shoot("headTiro", 5, 50, -10);
}
if(frame==4)
{
shoot("headTiro", 10, 50, 10);
}
if(frame==6)
{
shoot("headTiro", 15, 50, -20);
}
if(frame==8)
{
shoot("headTiro", 5, 50, 20);
}
return;
}
if(animhandle==3411)
{
if(frame==4)
{
shoot("PedrinhaTiro2", 10, 50, 1);
}
if(frame==5)
{
shoot("PedrinhaTiro2", 5, 50, -10);
}
if(frame==6)
{
shoot("PedrinhaTiro2", 10, 50, 10);
}
if(frame==7)
{
shoot("PedrinhaTiro2", 15, 50, -20);
}
if(frame==8)
{
shoot("PedrinhaTiro2", 5, 50, 20);
}
return;
}
if(animhandle==3412)
{
if(frame==4)
{
toss("PedrinhaGBombF", 10, 50, 1);
}
return;
}
if(animhandle==3413)
{
if(frame==4)
{
toss("PedrinhaGBombF2", 10, 50, 1);
}
return;
}
if(animhandle==3414)
{
if(frame==4)
{
shoot("PedrinhaTiro3", 10, 50, 1);
}
if(frame==5)
{
shoot("PedrinhaTiro3", 5, 50, -10);
}
if(frame==6)
{
shoot("PedrinhaTiro3", 10, 50, 10);
}
if(frame==7)
{
shoot("PedrinhaTiro3", 15, 50, -20);
}
if(frame==8)
{
shoot("PedrinhaTiro3", 5, 50, 20);
}
return;
}
if(animhandle==3415)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==13)
{
spawnbind("LokiFlash", 49, 100, 1);
}
return;
}
if(animhandle==3416)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==3419)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iDrStrange", -60, 0, 0);
}}
return;
}
if(animhandle==3421)
{
if(frame==0)
{
velo001(3, 0, 0);
}
return;
}
if(animhandle==3427)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
return;
}
if(animhandle==3429)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3433)
{
if(frame==0)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==0)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==1)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==1)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==2)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==2)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==3)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==3)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==4)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==4)
{
spawn01("iceRun", -20, 0, 0);
}
if(frame==5)
{
spawn01("iceRun", 16, 0, 0);
}
if(frame==5)
{
spawn01("iceRun", -20, 0, 0);
}
return;
}
if(animhandle==3434)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==8)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3435)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
return;
}
if(animhandle==3437)
{
void self = getlocalvar("self");
int Map = getentityproperty(self,"map");
if(frame==1){
setglobalvar("palLoki", Map);
}
Map = getentityproperty(self, "map");
if((frame==1) && ((Map==5))){
performattack(self, openborconstant("ANI_FOLLOW3"));
}
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3438)
{
if(frame==6)
{
gravity(0);
}
if(frame==6)
{
velo001(80, 0, 0);
}
if(frame==7)
{
gravity(1);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3443)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==4)
{
atiraNave();
}
return;
}
if(animhandle==3446)
{
if(frame==2)
{
velo001(2, 0, 0);
}
if(frame==50)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3448)
{
if(frame==2)
{
velo001(2, 0, 0);
}
if(frame==50)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3455)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Doom/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3460)
{
if(frame==0)
{
velo001(4, 0, -3);
}
return;
}
#### animationscript function main #####
# data/chars/Doom/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3463)
{
if(frame==0)
{
velo001(1, 0, -4);
}
return;
}
#### animationscript function main #####
# data/chars/Doom/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3479)
{
if(frame==0)
{
velo001(-1, 0, 0);
}
return;
}
if(animhandle==3483)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
keymove(1.2, 0.6);
}
if(frame==16)
{
keymove(1.2, 0.6);
}
if(frame==18)
{
keymove(1.2, 0.6);
}
if(frame==20)
{
keymove(1.2, 0.6);
}
if(frame==22)
{
keymove(1.2, 0.6);
}
if(frame==24)
{
keymove(1.2, 0.6);
}
if(frame==26)
{
keymove(1.2, 0.6);
}
if(frame==28)
{
keymove(1.2, 0.6);
}
if(frame==30)
{
keymove(1.2, 0.6);
}
if(frame==32)
{
keymove(1.2, 0.6);
}
if(frame==34)
{
keymove(1.2, 0.6);
}
if(frame==36)
{
keymove(1.2, 0.6);
}
if(frame==38)
{
keymove(1.2, 0.6);
}
if(frame==40)
{
keymove(1.2, 0.6);
}
if(frame==42)
{
keymove(1.2, 0.6);
}
if(frame==44)
{
keymove(1.2, 0.6);
}
if(frame==46)
{
keymove(1.2, 0.6);
}
if(frame==48)
{
keymove(2, 0.6);
}
if(frame==50)
{
keymove(1.2, 0.6);
}
if(frame==52)
{
keymove(1.2, 0.6);
}
if(frame==54)
{
keymove(1.2, 0.6);
}
if(frame==56)
{
keymove(1.2, 0.6);
}
if(frame==58)
{
keymove(1.2, 0.6);
}
if(frame==60)
{
keymove(1.2, 0.6);
}
if(frame==62)
{
keymove(1.2, 0.6);
}
if(frame==64)
{
keymove(1.2, 0.6);
}
if(frame==66)
{
keymove(1.2, 0.6);
}
if(frame==68)
{
keymove(1.2, 0.6);
}
if(frame==70)
{
keymove(1.2, 0.6);
}
if(frame==72)
{
keymove(1.2, 0.6);
}
if(frame==74)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3484)
{
if (frame == 1){
spawn01("DoomBot", -70, 154, 0);
spawn01("DoomBot", 70, 154, 0);
}
if(frame==0)
{
spawnbind("come", 0, 85, 0);
}
return;
}
if(animhandle==3486)
{
if(frame==3)
{
shoot("pedrinhaTiro", 25, 60, 1);
}
return;
}
if(animhandle==3488)
{
if(frame==0)
{
spawnbind("canobind", -5, 33, 1);
}
if(frame==1)
{
spawnbind("canobind", 0, 50, 1);
}
if(frame==2)
{
spawnbind("canobind", 5, 75, 1);
}
if(frame==3)
{
shoot("canoTiro", 25, 60, 1);
}
return;
}
if(animhandle==3489)
{
if(frame==0)
{
spawnbind("headbind", -5, 33, 1);
}
if(frame==1)
{
spawnbind("headbind", 0, 50, 1);
}
if(frame==2)
{
spawnbind("headbind", 5, 75, 1);
}
if(frame==3)
{
shoot("headTiro", 25, 60, 1);
}
return;
}
if(animhandle==3491)
{
if(frame==3)
{
shoot("pedrinhaTiro2", 25, 60, 1);
}
return;
}
if(animhandle==3492)
{
if(frame==3)
{
toss("pedrinhaGBomb", 25, 60, 1);
}
return;
}
if(animhandle==3493)
{
if(frame==3)
{
toss("pedrinhaGBomb2", 25, 60, 1);
}
return;
}
if(animhandle==3494)
{
if(frame==3)
{
shoot("pedrinhaTiro3", 25, 60, 1);
}
return;
}
if(animhandle==3495)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
keymove(1.2, 0.6);
}
if(frame==16)
{
keymove(1.2, 0.6);
}
if(frame==18)
{
keymove(1.2, 0.6);
}
if(frame==20)
{
keymove(1.2, 0.6);
}
if(frame==22)
{
keymove(1.2, 0.6);
}
if(frame==24)
{
keymove(1.2, 0.6);
}
if(frame==26)
{
keymove(1.2, 0.6);
}
if(frame==28)
{
keymove(1.2, 0.6);
}
if(frame==30)
{
keymove(1.2, 0.6);
}
if(frame==32)
{
keymove(1.2, 0.6);
}
if(frame==34)
{
keymove(1.2, 0.6);
}
if(frame==36)
{
keymove(1.2, 0.6);
}
if(frame==38)
{
keymove(1.2, 0.6);
}
if(frame==40)
{
keymove(1.2, 0.6);
}
if(frame==42)
{
keymove(1.2, 0.6);
}
if(frame==44)
{
keymove(1.2, 0.6);
}
if(frame==46)
{
keymove(1.2, 0.6);
}
if(frame==48)
{
keymove(2, 0.6);
}
if(frame==50)
{
keymove(1.2, 0.6);
}
if(frame==52)
{
keymove(1.2, 0.6);
}
if(frame==54)
{
keymove(1.2, 0.6);
}
if(frame==56)
{
keymove(1.2, 0.6);
}
if(frame==58)
{
keymove(1.2, 0.6);
}
if(frame==60)
{
keymove(1.2, 0.6);
}
if(frame==62)
{
keymove(1.2, 0.6);
}
if(frame==64)
{
keymove(1.2, 0.6);
}
if(frame==66)
{
keymove(1.2, 0.6);
}
if(frame==68)
{
keymove(1.2, 0.6);
}
if(frame==70)
{
keymove(1.2, 0.6);
}
if(frame==72)
{
keymove(1.2, 0.6);
}
if(frame==74)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3496)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3498)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3500)
{
if (frame==0){
void self = getlocalvar("self");
int myVar = getglobalvar("vCube");
if (myVar==1){
performattack(self, openborconstant("ANI_follow3"));
}
void mana = getentityproperty(self,"mp");
if (mana+7>=50)
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==3501)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iDrStrange", -60, 0, 0);
}}
return;
}
if(animhandle==3504)
{
if(frame==2)
{
toss("DoomDA1", 1, 26, 0);
}
if(frame==2)
{
toss2("DoomDA1", -1, 26, 0);
}
if(frame==2)
{
toss("DoomDA2", 1, 26, 0);
}
if(frame==2)
{
toss2("DoomDA2", -1, 26, 0);
}
return;
}
if(animhandle==3505)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==7)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3510)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==3512)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial8"));
return;
}
if(animhandle==3515)
{
if(frame==0){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana+10);//add mp
}
return;
}
if(animhandle==3519)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
return;
}
if(animhandle==3521)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Dr._Doom");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3522)
{
if(frame==0)
{
velo001(3, 0, 0);
}
if(frame==9)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3527)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==3530)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3532)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3538)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3539)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Thing/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3556)
{
if(frame==0)
{
spawn01("cano", 0, 40, 2);
}
return;
}
if(animhandle==3557)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawn01("HERBIE", -42, -34, 0);
}
return;
}
if(animhandle==3558)
{
if(frame==2)
{
shoot("PedrinhaTiroF", 50, 50, 1);
}
return;
}
if(animhandle==3559)
{
if(frame==3)
{
shoot("canoTiroF", 60, 55, 1);
}
return;
}
if(animhandle==3560)
{
if(frame==0)
{
spawnbind("headbind", -9, 34, 1);
}
if(frame==1)
{
spawnbind("headbind", 30, 45, -1);
}
if(frame==2)
{
spawnbind("headbind", -25, 70, -1);
}
if(frame==3)
{
spawnbind("headbind", 20, 83, -1);
}
if(frame==4)
{
shoot("headTiro", 40, 65, 1);
}
return;
}
if(animhandle==3561)
{
if(frame==2)
{
shoot("PedrinhaTiroF2", 50, 50, 1);
}
return;
}
if(animhandle==3562)
{
if(frame==2)
{
toss("PedrinhaGBombF", 50, 50, 1);
}
return;
}
if(animhandle==3563)
{
if(frame==2)
{
toss("PedrinhaGBombF2", 50, 50, 1);
}
return;
}
if(animhandle==3564)
{
if(frame==2)
{
shoot("PedrinhaTiroF3", 50, 50, 1);
}
return;
}
if(animhandle==3565)
{
if(frame==3)
{
shoot("canoTiroF", 60, 55, 1);
}
return;
}
if(animhandle==3568)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iSW", -70, 0, 0);
}}
return;
}
if(animhandle==3575)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==3576)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==3577)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
#### animationscript function main #####
# data/chars/Thing/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3590)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
if(frame==0)
{
setNopain(0);
}
return;
}
if(animhandle==3592)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(2, 0, 0);
}
if(frame==16)
{
velo001(2, 0, 0);
}
if(frame==20)
{
velo001(2, 0, 0);
}
if(frame==24)
{
velo001(1, 0, 0);
}
if(frame==26)
{
velo001(0, 0, 0);
}
if(frame==26)
{
velo001(1, 0, 0);
}
if(frame==28)
{
velo001(1, 0, 0);
}
if(frame==32)
{
velo001(1, 0, 0);
}
if(frame==36)
{
velo001(1, 0, 0);
}
if(frame==38)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3593)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawn01("HERBIE", -42, -34, 0);
}
return;
}
if(animhandle==3594)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 75, 5, 0, 0);
}
if(frame==1)
{
position(0, 45, 25, 0, 0);
}
if(frame==2)
{
position(0, 20, 20, 0, 0);
}
if(frame==3)
{
position(0, -10, 40, 0, 0);
}
if(frame==4)
{
position(0, -10, 40, 0, 0);
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
throw(14, 1, 5, 2, 0, 1);
}
if(frame==4)
{
clearL();
}
return;
}
if(animhandle==3595)
{
if(frame==2)
{
shoot("PedrinhaTiroF", 50, 50, 1);
}
return;
}
if(animhandle==3596)
{
if(frame==1)
{
spawn01("stomp2", 0, 0, -1);
}
return;
}
if(animhandle==3598)
{
if(frame==0)
{
spawnbind("headbind", -9, 34, 1);
}
if(frame==1)
{
spawnbind("headbind", 30, 45, -1);
}
if(frame==2)
{
spawnbind("headbind", -25, 70, -1);
}
if(frame==3)
{
spawnbind("headbind", 20, 83, -1);
}
if(frame==4)
{
shoot("headTiro", 40, 65, 1);
}
return;
}
if(animhandle==3599)
{
if(frame==0)
{
slamstartGRAB();
}
if(frame==0)
{
position(0, 75, 5, 0, 0);
}
if(frame==1)
{
position(0, 45, 25, 0, 0);
}
if(frame==2)
{
position(0, 20, 20, 0, 0);
}
if(frame==3)
{
position(0, 5, 40, 0, 0);
}
if(frame==4)
{
position(0, 5, 40, 0, 0);
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
throw(14, 1, -5, 2, 0, 1);
}
if(frame==4)
{
clearL();
}
return;
}
if(animhandle==3600)
{
if(frame==2)
{
shoot("PedrinhaTiroF2", 50, 50, 1);
}
return;
}
if(animhandle==3601)
{
if(frame==2)
{
toss("PedrinhaGBombF", 50, 50, 1);
}
return;
}
if(animhandle==3602)
{
if(frame==2)
{
toss("PedrinhaGBombF2", 50, 50, 1);
}
return;
}
if(animhandle==3603)
{
if(frame==2)
{
shoot("PedrinhaTiroF3", 50, 50, 1);
}
return;
}
if(animhandle==3604)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==14)
{
velo001(2, 0, 0);
}
if(frame==16)
{
velo001(2, 0, 0);
}
if(frame==20)
{
velo001(2, 0, 0);
}
if(frame==24)
{
velo001(1, 0, 0);
}
if(frame==26)
{
velo001(0, 0, 0);
}
if(frame==26)
{
velo001(1, 0, 0);
}
if(frame==28)
{
velo001(1, 0, 0);
}
if(frame==32)
{
velo001(1, 0, 0);
}
if(frame==36)
{
velo001(1, 0, 0);
}
if(frame==38)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3605)
{
void self = getlocalvar("self");
if(frame==0){
spawn01("parry", 5, 70, 0);
void vida = getentityproperty(self,"health"); //get health
changeentityproperty(self, "health", vida+10);//add health
}
if(frame==3)
{
velo001(3, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3608)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iSW", -70, 0, 0);
}}
return;
}
if(animhandle==3610)
{
if(frame==3)
{
spawn01("stomp", 35, 0, -1);
}
if(frame==4)
{
spawn01("stomp", 105, 0, -1);
}
if(frame==5)
{
spawn01("stomp", 175, 0, -1);
}
if(frame==6)
{
spawn01("stomp", 245, 0, -1);
}
return;
}
if(animhandle==3619)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
return;
}
if(animhandle==3621)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial8"));
return;
}
if(animhandle==3623)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==3624)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==3625)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
clearL();
}
return;
}
if(animhandle==3628)
{
if(frame==0)
{
velo001(1, 0, 0);
}
if(frame==0)
{
setNopain(1);
}
if(frame==3)
{
velo001(4, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
if(frame==6)
{
setNopain(0);
}
return;
}
if(animhandle==3629)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
return;
}
if(animhandle==3631)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "The_Thing");
changeentityproperty(self, "nopain", 0);
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3632)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3638)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==3641)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3643)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3648)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3650)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
}
#### animationscript function main #####
# data/chars/HumanTorch/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3657)
{
if(frame==0)
{
velo001(6, 0, -3);
}
return;
}
#### animationscript function main #####
# data/chars/HumanTorch/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3665)
{
if(frame==0)
{
velo001(-3, 0, 0);
}
return;
}
if(animhandle==3666)
{
if(frame==0){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana+20);//add mp
}
return;
}
if(animhandle==3667)
{
if(frame==0){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana+20);//add mp
}
return;
}
if(animhandle==3672)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==20)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3673)
{
if(frame==0)
{
spawnbind("come", 0, 85, 0);
}
if(frame==1)
{
spawn01("HERBIE", 30, 140, 10);
}
return;
}
if(animhandle==3674)
{
if(frame==0)
{
velo001(0, 0, 0.3);
}
return;
}
if(animhandle==3675)
{
if(frame==3)
{
shoot("PedrinhaTiro", 40, 50, 1);
}
return;
}
if(animhandle==3677)
{
if(frame==0)
{
spawnbind("canobind", 12, 22, 1);
}
if(frame==1)
{
spawnbind("canobind", 27, 30, 1);
}
if(frame==2)
{
spawnbind("canobind", 12, 40, 1);
}
if(frame==3)
{
shoot("canoTiro", 20, 45, 1);
}
return;
}
if(animhandle==3678)
{
if(frame==0)
{
spawnbind("headbind", 12, 22, 1);
}
if(frame==1)
{
spawnbind("headbind", 27, 30, 1);
}
if(frame==2)
{
spawnbind("headbind", 12, 52, 1);
}
if(frame==3)
{
shoot("headTiro", 20, 45, 1);
}
return;
}
if(animhandle==3679)
{
if(frame==3)
{
shoot("PedrinhaTiro2", 40, 50, 1);
}
return;
}
if(animhandle==3680)
{
if(frame==3)
{
toss("PedrinhaGBomb", 40, 50, 1);
}
return;
}
if(animhandle==3681)
{
if(frame==3)
{
toss("PedrinhaGBomb2", 40, 50, 1);
}
return;
}
if(animhandle==3682)
{
if(frame==3)
{
shoot("PedrinhaTiro3", 40, 50, 1);
}
return;
}
if(animhandle==3683)
{
if(frame==0)
{
velo001(1, 0, 0);
}
return;
}
if(animhandle==3684)
{
if(frame==0)
{
velo001(3, 0, 0);
}
if(frame==1)
{
velo001(9, 0, 0);
}
if(frame==1)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==2)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==3)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==4)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==5)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==6)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==7)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==8)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==9)
{
spawn01("speedFire", 0, 35, -1);
}
if(frame==10)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3686)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==9)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3687)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==20)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3688)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3690)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==3693)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iSW", -70, 0, 0);
}}
return;
}
if(animhandle==3695)
{
if(frame==0)
{
velo001(6, 0, 0);
}
if(frame==13)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3702)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==3704)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3709)
{
if(frame==0)
{
velo001(4, 0, 0);
}
if(frame==13)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3710)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
return;
}
if(animhandle==3712)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Human_Torch");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3713)
{
if(frame==1)
{
velo001(7, 0, 0);
}
if(frame==5)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3718)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==3721)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
if(frame==9)
{
keymove(2, 0.6);
}
if(frame==10)
{
keymove(2, 0.6);
}
if(frame==11)
{
keymove(2, 0.6);
}
if(frame==12)
{
keymove(2, 0.6);
}
if(frame==13)
{
keymove(2, 0.6);
}
if(frame==14)
{
keymove(2, 0.6);
}
if(frame==15)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3723)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
if(frame==9)
{
keymove(2, 0.6);
}
if(frame==10)
{
keymove(2, 0.6);
}
if(frame==11)
{
keymove(2, 0.6);
}
if(frame==12)
{
keymove(2, 0.6);
}
if(frame==13)
{
keymove(2, 0.6);
}
if(frame==14)
{
keymove(2, 0.6);
}
if(frame==15)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3729)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3730)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/Invisible/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3742)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawn01("HERBIE", 30, 140, 10);
}
return;
}
if(animhandle==3743)
{
if(frame==1)
{
shoot("PedrinhaTiroF", 20, 55, 1);
}
return;
}
if(animhandle==3744)
{
if(frame==0)
{
spawnbind("canobind", 0, 50, 1);
}
if(frame==1)
{
shoot("canoTiroF", 20, 55, 1);
}
return;
}
if(animhandle==3745)
{
if(frame==0)
{
spawnbind("headbind", 0, 50, 1);
}
if(frame==1)
{
shoot("headTiro", 20, 55, 1);
}
return;
}
if(animhandle==3746)
{
if(frame==1)
{
shoot("PedrinhaTiroF2", 20, 55, 1);
}
return;
}
if(animhandle==3747)
{
if(frame==1)
{
toss("PedrinhaGBombF", 20, 55, 1);
}
return;
}
if(animhandle==3748)
{
if(frame==1)
{
toss("PedrinhaGBombF2", 20, 55, 1);
}
return;
}
if(animhandle==3749)
{
if(frame==1)
{
shoot("PedrinhaTiroF3", 20, 55, 1);
}
return;
}
if(animhandle==3763)
{
if(frame==1)
{
velo001(5, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
return;
}
}
#### animationscript function main #####
# data/chars/Invisible/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3769)
{
if(frame==0)
{
keymove(0.5, 0.2);
}
if(frame==1)
{
keymove(0.5, 0.2);
}
if(frame==2)
{
keymove(0.5, 0.2);
}
if(frame==3)
{
keymove(0.5, 0.2);
}
if(frame==4)
{
keymove(0.5, 0.2);
}
if(frame==5)
{
keymove(0.5, 0.2);
}
return;
}
if(animhandle==3773)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3774)
{
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
if(frame==1)
{
spawn01("HERBIE", 30, 140, 10);
}
return;
}
if(animhandle==3775)
{
if(frame==1)
{
shoot("PedrinhaTiroF", 20, 55, 1);
}
return;
}
if(animhandle==3777)
{
if(frame==0)
{
spawnbind("canobind", 0, 50, 1);
}
if(frame==1)
{
shoot("canoTiroF", 20, 55, 1);
}
return;
}
if(animhandle==3778)
{
if(frame==0)
{
spawnbind("headbind", 0, 50, 1);
}
if(frame==1)
{
shoot("headTiro", 20, 55, 1);
}
return;
}
if(animhandle==3779)
{
if(frame==1)
{
shoot("PedrinhaTiroF2", 20, 55, 1);
}
return;
}
if(animhandle==3780)
{
if(frame==1)
{
toss("PedrinhaGBombF", 20, 55, 1);
}
return;
}
if(animhandle==3781)
{
if(frame==1)
{
toss("PedrinhaGBombF2", 20, 55, 1);
}
return;
}
if(animhandle==3782)
{
if(frame==1)
{
shoot("PedrinhaTiroF3", 20, 55, 1);
}
return;
}
if(animhandle==3783)
{
if(frame==2)
{
spawn01("invWall", 52, 0, 0);
}
if(frame==3)
{
spawn01("invWall", 80, 0, 0);
}
if(frame==4)
{
spawn01("invWall", 108, 0, 0);
}
if(frame==5)
{
spawn01("invWall", 136, 0, 0);
}
if(frame==6)
{
spawn01("invWall", 168, 0, 0);
}
return;
}
if(animhandle==3784)
{
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3785)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3787)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==3790)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iSW", -70, 0, 0);
}}
return;
}
if(animhandle==3792)
{
if(frame==1)
{
velo001(2, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3799)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
if(frame==10)
{
keymove(2, 0);
}
if(frame==11)
{
keymove(2, 0);
}
return;
}
if(animhandle==3801)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3808)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==4)
{
velo001(0, 0, 0);
}
return;
}
if(animhandle==3809)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
if(frame==10)
{
keymove(3, 0);
}
if(frame==11)
{
keymove(3, 0);
}
return;
}
if(animhandle==3811)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Invisible_Woman");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==0)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==3812)
{
if(frame==1)
{
velo001(4, 0, 0);
}
if(frame==8)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/MrFantastic/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3818)
{
if(frame==1)
{
velo001(2, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Naves/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3824)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==2)
{
atiraNave();
}
return;
}
if(animhandle==3827)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3829)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3834)
{
if(frame==0)
{
keymove(2, 0.6);
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==1)
{
shoot("navetiro", -5, 37, 10);
}
if(frame==1)
{
shoot("navetiro", 15, 30, -15);
}
if(frame==2)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3836)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
#### animationscript function main #####
# data/chars/MrFantastic/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3844)
{
if(frame==0)
{
velo001(-2, 0, 0);
}
return;
}
if(animhandle==3845)
{
if(frame==2)
{
shoot("BalaNEW", -15, 45, 0);
}
return;
}
if(animhandle==3849)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==15)
{
shoot("Sat", 250, 1, 0);
}
if(frame==17)
{
shoot("Sat", -150, 1, 0);
}
return;
}
if(animhandle==3850)
{
if (frame == 1){
spawn01("HERBIE", 35, 154, 0);
}
if(frame==0)
{
spawnbind("come", 0, 75, 0);
}
return;
}
if(animhandle==3852)
{
if(frame==3)
{
shoot("PedrinhaTiro", 25, 60, 1);
}
return;
}
if(animhandle==3853)
{
if(frame==1)
{
spawn01("stomp", 0, 0, -1);
}
return;
}
if(animhandle==3854)
{
if(frame==0)
{
spawnbind("canobind", -34, 23, 1);
}
if(frame==1)
{
spawnbind("canobind", -30, 75, 1);
}
if(frame==2)
{
shoot("canoTiro", 5, 65, 1);
}
return;
}
if(animhandle==3855)
{
if(frame==0)
{
spawnbind("headbind", -34, 23, 1);
}
if(frame==1)
{
spawnbind("headbind", -30, 75, 1);
}
if(frame==2)
{
shoot("headTiro", 5, 65, 1);
}
return;
}
if(animhandle==3856)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
if(frame==18)
{
shoot("nullif", 30, 60, 0);
}
return;
}
if(animhandle==3857)
{
if(frame==3)
{
shoot("PedrinhaTiro2", 25, 60, 1);
}
return;
}
if(animhandle==3858)
{
if(frame==3)
{
toss("PedrinhaGBomb", 25, 60, 1);
}
return;
}
if(animhandle==3859)
{
if(frame==3)
{
toss("PedrinhaGBomb2", 25, 60, 1);
}
return;
}
if(animhandle==3860)
{
if(frame==3)
{
shoot("PedrinhaTiro3", 25, 60, 1);
}
return;
}
if(animhandle==3864)
{
if (frame==3){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW6"));
}
return;
}
if(animhandle==3865)
{
if (frame==0){
int myVar = getglobalvar("vNuli");
if (myVar==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_follow3"));
}
}
if(frame==0)
{
powerGem();
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 265);
}
if(frame==2)
{
setglobalvar("zoomvalue", 270);
}
if(frame==3)
{
setglobalvar("zoomvalue", 275);
}
if(frame==4)
{
setglobalvar("zoomvalue", 280);
}
if(frame==5)
{
setglobalvar("zoomvalue", 285);
}
if(frame==6)
{
setglobalvar("zoomvalue", 290);
}
if(frame==7)
{
setglobalvar("zoomvalue", 295);
}
if(frame==8)
{
setglobalvar("zoomvalue", 300);
}
if(frame==9)
{
setglobalvar("zoomvalue", 305);
}
if(frame==10)
{
setglobalvar("zoomvalue", 310);
}
if(frame==11)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3866)
{
if(frame==0)
{
velo001(0, 0, 0);
}
if(frame==2){
void self = getlocalvar("self");
void mana = getentityproperty(self,"mp"); //get mp
changeentityproperty(self, "mp", mana-1);//add mp
}
if(frame==1)
{
keymove(2, 0.6);
}
if(frame==2)
{
keymove(2, 0.6);
}
if(frame==3)
{
keymove(2, 0.6);
}
if(frame==4)
{
keymove(2, 0.6);
}
if(frame==5)
{
keymove(2, 0.6);
}
if(frame==6)
{
keymove(2, 0.6);
}
if(frame==7)
{
keymove(2, 0.6);
}
if(frame==8)
{
keymove(2, 0.6);
}
return;
}
if(animhandle==3868)
{
if (frame==0){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_special2"));
}
return;
}
if(animhandle==3870)
{
if(frame==12)
{
shoot("BalaRO2", 0, 40, 0);
}
return;
}
if(animhandle==3871)
{
int myHelp = getglobalvar("vAjuda");
if (myHelp!=0 && myHelp!=NULL() && frame == 0){
ajuda(myHelp);
setglobalvar("vAjuda", 0);
}else{
int myVar = getglobalvar("vXavier");
if (myVar==1 && frame == 0){
setglobalvar("vXavier", 0);
spawn01("iSW", -70, 0, 0);
}}
return;
}
if(animhandle==3880)
{
if(frame==0)
{
keymove(2, 0);
}
if(frame==1)
{
keymove(2, 0);
}
if(frame==2)
{
keymove(2, 0);
}
if(frame==3)
{
keymove(2, 0);
}
if(frame==4)
{
keymove(2, 0);
}
if(frame==5)
{
keymove(2, 0);
}
if(frame==6)
{
keymove(2, 0);
}
if(frame==7)
{
keymove(2, 0);
}
if(frame==8)
{
keymove(2, 0);
}
if(frame==9)
{
keymove(2, 0);
}
return;
}
if(animhandle==3882)
{
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_freespecial6"));
return;
}
if(animhandle==3885)
{
if(frame==2)
{
shoot("BalaNEW", -15, 45, 0);
}
return;
}
if(animhandle==3889)
{
if(frame==0)
{
keymove(3, 0);
}
if(frame==1)
{
keymove(3, 0);
}
if(frame==2)
{
keymove(3, 0);
}
if(frame==3)
{
keymove(3, 0);
}
if(frame==4)
{
keymove(3, 0);
}
if(frame==5)
{
keymove(3, 0);
}
if(frame==6)
{
keymove(3, 0);
}
if(frame==7)
{
keymove(3, 0);
}
if(frame==8)
{
keymove(3, 0);
}
if(frame==9)
{
keymove(3, 0);
}
return;
}
if(animhandle==3891)
{
void self = getlocalvar("self");
changeentityproperty(self, "name", "Mr._Fantastic");
if(frame==1){performattack(self, openborconstant("ANI_follow27"));}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==3892)
{
if(frame==1)
{
velo001(6, 0, 0);
}
if(frame==6)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3902)
{
if(frame==1){
int r = rand()%3;
if(r==-2){spawn01("rat", 1, 0, 0);}
if(r==-1){spawn01("Money2", 1, 0, 0);}
if(r==0){spawn01("manaSW", 1, 0, 0);}
if(r==1){spawn01("vidaSW", 1, 0, 0);}
if(r==2){spawn01("mini", 1, 0, 0);}
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3906)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==2)
{
velo001(0, 0, 0);
}
if(frame==3)
{
velo001(1, 0, 0);
}
if(frame==4)
{
velo001(5, 0, 2);
}
return;
}
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3913)
{
if(frame==7)
{
shoot("iDagger2", 5, 0, 20);
}
if(frame==8)
{
shoot("iDagger2", 5, 0, 10);
}
if(frame==9)
{
shoot("iDagger2", 5, 0, 0);
}
if(frame==10)
{
shoot("iDagger2", 5, 0, -10);
}
if(frame==11)
{
shoot("iDagger2", 5, 0, -20);
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3915)
{
if(frame==1)
{
velo001(3, 0, 0);
}
if(frame==18)
{
velo001(0, 0, 0);
}
if(frame==19)
{
velo001(2, 0, 0);
}
return;
}
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3916)
{
if(frame==0)
{
velo001(-1, 0, 8);
}
if(frame==1)
{
velo001(-1, 0, 8);
}
return;
}
if(animhandle==3917)
{
if (frame==22){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
#### animationscript function main #####
# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3919)
{
if(frame==0)
{
velo001(-1, 0, 8);
}
return;
}
if(animhandle==3920)
{
if (frame==19){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
}
#### animationscript function main #####
# data/chars/Ultron/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3936)
{
if(frame==0)
{
spawnbind("magShock", 0, 40, 2);
}
return;
}
if(animhandle==3939)
{
if(frame==0)
{
spawnbind("esquilos", 0, 4, 2);
}
return;
}
if(animhandle==3942)
{
void self = getlocalvar("self");
if(frame==1){performattack(self, openborconstant("ANI_follow1"));}
return;
}
if(animhandle==3943)
{
if(frame==1)
{
velo001(1, 0, 0);
}
if(frame==3)
{
velo001(0, 0, 0);
}
return;
}
#### animationscript function main #####
# data/chars/Sentry/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3970)
{
if(frame==1)
{
spawn01("DormHyper", 0, 0, -1);
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4017)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4024)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4033)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4040)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4049)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4056)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4065)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4072)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4081)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4088)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4097)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4104)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4113)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4120)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4129)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4136)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4145)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4152)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4161)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4168)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4177)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4184)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4193)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4200)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4209)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4216)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4225)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4232)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4241)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4248)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4257)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4264)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4273)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4280)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4289)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4296)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}
#### animationscript function main #####
# data/chars/Nick/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==4305)
{
if(frame==0)
{
socoCursor();
}
return;
}
if(animhandle==4312)
{
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "health", 400);//add health
}
return;
}