You are on page 1of 8

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

# data/chars/zeta/zeta.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==22)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}
if(animhandle==23)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}
if(animhandle==24)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}

}
####animationscript function main#####
# data/chars/amy/amy.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==48)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}
if(animhandle==49)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}
if(animhandle==50)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}

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


# data/chars/rouge/rouge.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==74)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}
if(animhandle==75)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}
if(animhandle==76)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}

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


# data/chars/blaze/blaze.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==100)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}
if(animhandle==101)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}
if(animhandle==102)
{

void self = getlocalvar("self");


int PIndex = getentityproperty(self,"playerindex");

if (PIndex==0)
{
setglobalvar("p1alive", 1);
}
else if (PIndex==1)
{
setglobalvar("p2alive", 1);
}
return;
}

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


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

void self = getlocalvar("self");


void vSelf = getplayerproperty(0, "entity");
void vName = getentityproperty(vSelf,"name");
void vSelf2 = getplayerproperty(1, "entity");
void vName2 = getentityproperty(vSelf2,"name");

if(vName=="Zeta" || vName2=="Zeta")
{
performattack(self, openborconstant("ANI_FOLLOW1"));
}

return;
}

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


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

void self = getlocalvar("self");


void vSelf = getplayerproperty(0, "entity");
void vName = getentityproperty(vSelf,"name");
void vSelf2 = getplayerproperty(1, "entity");
void vName2 = getentityproperty(vSelf2,"name");

if(vName=="Rouge" || vName2=="Rouge")
{
performattack(self, openborconstant("ANI_FOLLOW1"));
}

return;
}

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


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

void self = getlocalvar("self");


void vSelf = getplayerproperty(0, "entity");
void vName = getentityproperty(vSelf,"name");
void vSelf2 = getplayerproperty(1, "entity");
void vName2 = getentityproperty(vSelf2,"name");

if(vName=="Amy" || vName2=="Amy")
{
performattack(self, openborconstant("ANI_FOLLOW1"));
}

return;
}

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


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

void self = getlocalvar("self");


void vSelf = getplayerproperty(0, "entity");
void vName = getentityproperty(vSelf,"name");
void vSelf2 = getplayerproperty(1, "entity");
void vName2 = getentityproperty(vSelf2,"name");

if(vName=="Blaze" || vName2=="Blaze")
{
performattack(self, openborconstant("ANI_FOLLOW1"));
}

return;
}

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


# data/chars/ground/ground1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==127)
{
if(frame==0)
{
grab();
}
return;
}

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


# data/chars/motobug/motobug1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==152)
{
if(frame==0)
{
grab();
}
return;
}

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


# data/chars/buzz/buzz1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==173)
{
if(frame==0)
{
grab();
}
return;
}

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


# data/chars/tent/tent1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==194)
{
if(frame==0)
{
grab();
}
return;
}

You might also like