####animationscript function main#####
# data/chars/Spawn/Spawn.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==8)
{
if(frame==11)
{
shoot("SpMg0", 0, 0, 0);
}
if(frame==11)
{
shoot("SpMg2", 0, 0, 0);
}
if(frame==13)
{
shoot("SpMg1", 0, 0, 0);
}
if(frame==13)
{
shoot("SpMg2", 0, 2, 0);
}
if(frame==15)
{
shoot("SpMg0", 0, 0, 0);
}
if(frame==15)
{
shoot("SpMg2", 0, -2, 0);
}
if(frame==17)
{
shoot("SpMg1", 0, 0, 0);
}
if(frame==17)
{
shoot("SpMg2", 0, 0, 0);
}
if(frame==19)
{
shoot("SpMg0", 0, 0, 0);
}
if(frame==19)
{
shoot("SpMg2", 0, 2, 0);
}
if(frame==21)
{
shoot("SpMg1", 0, 0, 0);
}
if(frame==21)
{
shoot("SpMg2", 0, -2, 0);
}
if(frame==23)
{
shoot("SpMg0", 0, 0, 0);
}
if(frame==23)
{
shoot("SpMg2", 0, 0, 0);
}
if(frame==25)
{
shoot("SpMg1", 0, 0, 0);
}
if(frame==25)
{
shoot("SpMg2", 0, 2, 0);
}
if(frame==27)
{
shoot("SpMg0", 0, 0, 0);
}
if(frame==27)
{
shoot("SpMg2", 0, -2, 0);
}
if(frame==29)
{
shoot("SpMg1", 0, 0, 0);
}
if(frame==29)
{
shoot("SpMg2b", 0, 0, 0);
}
return;
}
if(animhandle==10)
{
if(frame==40)
{
shoot("SpNPS", -5, 0, 0);
}
if(frame==44)
{
shoot("SpNPS", -5, 0, 0);
}
if(frame==48)
{
shoot("SpNPS", -5, 0, 0);
}
if(frame==52)
{
shoot("SpNPS", -5, 0, 0);
}
return;
}
if(animhandle==23)
{
if(frame==6)
{
shoot("SpawnSPA", 0, 0, 0);
}
if(frame==6)
{
shoot("SpawnSPB", 0, 0, 0);
}
return;
}
if(animhandle==25)
{
if(frame==1)
{
changeentityproperty(getlocalvar("self"), "Subject_to_Platform", 1);
}
return;
}
}
####animationscript function main#####
# data/chars/venom/venom.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==33)
{
if(frame==2)
{
spawnm("VFSP2a", 0, -2, -2);
}
if(frame==2)
{
spawnm("VFSP2b", -40, 0, 0);
}
return;
}
}