0% found this document useful (0 votes)
12 views732 pages

ScriptLog Game

The document contains multiple animation scripts for various character actions in a game, each defined by a 'main' function. Each script handles specific animation frames and actions, such as spawning entities, changing properties, and executing commands based on the current frame and animation handle. The scripts include functionalities for effects like speed changes, entity spawning, and character deaths.

Uploaded by

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

ScriptLog Game

The document contains multiple animation scripts for various character actions in a game, each defined by a 'main' function. Each script handles specific animation frames and actions, such as spawning entities, changing properties, and executing commands based on the current frame and animation handle. The scripts include functionalities for effects like speed changes, entity spawning, and character deaths.

Uploaded by

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

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

# data/chars/misc/bullets/bullene2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==12)
{
if(frame==0)
{
aniRandom(openborconstant("ANI_FOLLOW1"));
}
return;
}

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


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

void self = getlocalvar("self");


int z = getentityproperty(self,"z"); //Get character's z coordinate
int a = getentityproperty(self,"a"); //Get character's a coordinate
changeentityproperty(self, "subject_to_maxz", 0);
int MaxZ = openborvariant("PLAYER_MAX_Z");
int ypos = openborvariant("ypos");
int zoom = 256 + (z - 160 - ypos-30) * 2;
if(zoom < 0) {zoom = 0;}
if(zoom > 256) {
setdrawmethod(self, 1, 256, 256, 0, 0, 0, -1, 0, 0, 300, 315, 1 );
}
if(zoom == 256 || frame == 15) {
setdrawmethod(self, 1, 256, 256, 0, 0, 0, -1, 0, 0, 300, 315, 1 );
}
if (z<160)
{
changeentityproperty(self, "subject_to_maxz", 1);
setdrawmethod(self, 1, 256, 256, 0, 0, 0, -1, 0, 0, 300, 315, 1 );
}
return;
}

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


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

void self = getlocalvar("self");


int z = getentityproperty(self,"z"); //Get character's z coordinate
int a = getentityproperty(self,"a"); //Get character's a coordinate
changeentityproperty(self, "subject_to_maxz", 0);
int MaxZ = openborvariant("PLAYER_MAX_Z");
int ypos = openborvariant("ypos");
int zoom = 256 + (z - 160 - ypos-30) * 2;
if(zoom < 0) {zoom = 0;}
if(zoom > 256) {
setdrawmethod(self, 1, 256, 256, 0, 0, 0, -1, 0, 0, 300, 315, 1 );
}
if(zoom == 256 || frame == 15) {
setdrawmethod(self, 1, 256, 256, 0, 0, 0, -1, 0, 0, 300, 315, 1 );
}
if (z<160)
{
changeentityproperty(self, "subject_to_maxz", 1);
setdrawmethod(self, 1, 256, 256, 0, 0, 0, -1, 0, 0, 300, 315, 1 );
}
return;
}

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


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

if(frame == 15){
void self = getlocalvar("self");
killentity(self);
}
return;
}
if(animhandle==28)
{

if(frame == 15){
void self = getlocalvar("self");
killentity(self);
}
return;
}
if(animhandle==29)
{

if(frame == 15){
void self = getlocalvar("self");
killentity(self);
}
return;
}
if(animhandle==30)
{

if(frame == 15){
void self = getlocalvar("self");
killentity(self);
}
return;
}

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


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

if(frame>=1){
void self = getlocalvar("self");
void Player = getentityproperty(self, "parent");
int Sp = getentityvar(Player, "Spid");
int JSp = getentityvar(Player, "JSpid");
int RSp = getentityvar(Player, "RSpid");

if(Sp==NULL()){
Sp = getentityproperty(Player, "speed");
setentityvar(Player, "Spid", Sp);
}

if(JSp==NULL()){
JSp = getentityproperty(Player, "jumpspeed");
setentityvar(Player, "JSpid", JSp);
}

if(RSp==NULL()){
RSp = getentityproperty(Player, "running", "speed");
setentityvar(Player, "RSpid", RSp);
}

if(frame==1){
changeentityproperty(Player, "speed", Sp);
changeentityproperty(Player, "jumpspeed", JSp);
changeentityproperty(Player, "running", RSp);
changeentityproperty(Player, "edelay", 1, 1, 2, 200, 2, 200); //
}
if(frame==2){
changeentityproperty(Player, "speed", Sp*2);
changeentityproperty(Player, "jumpspeed", JSp*2);
changeentityproperty(Player, "running", RSp*2);
changeentityproperty(Player, "edelay", 1, 0.5, 2, 200, 2, 200); //
}
if(frame==8 || frame==10 || frame==12 || frame==14 || frame==16){
changeentityproperty(Player, "speed", Sp*2);
changeentityproperty(Player, "jumpspeed", JSp*2);
changeentityproperty(Player, "running", RSp*2);
changeentityproperty(Player, "edelay", 1, 0.5, 2, 200, 2, 200); //
}
if(frame==19){
changeentityproperty(Player, "speed", Sp);
changeentityproperty(Player, "jumpspeed", JSp);
changeentityproperty(Player, "running", RSp);
changeentityproperty(Player, "edelay", 1, 1, 2, 200, 2, 200); //

killentity(self); //Suicide!
}
}
if(frame==18)
{
looper(8, 19);
}
return;
}

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


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

if(frame>=1){
void self = getlocalvar("self");
void Player = getentityproperty(self, "parent");
int Sp = getentityvar(Player, "Spid");
int JSp = getentityvar(Player, "JSpid");
int RSp = getentityvar(Player, "RSpid");

if(Sp==NULL()){
Sp = getentityproperty(Player, "speed");
setentityvar(Player, "Spid", Sp);
}

if(JSp==NULL()){
JSp = getentityproperty(Player, "jumpspeed");
setentityvar(Player, "JSpid", JSp);
}

if(RSp==NULL()){
RSp = getentityproperty(Player, "running", "speed");
setentityvar(Player, "RSpid", RSp);
}

if(frame==1){
changeentityproperty(Player, "speed", Sp);
changeentityproperty(Player, "jumpspeed", JSp);
changeentityproperty(Player, "running", RSp);
changeentityproperty(Player, "edelay", 1, 1, 2, 200, 2, 200);
}
if(frame==2){
changeentityproperty(Player, "speed", Sp*2);
changeentityproperty(Player, "jumpspeed", JSp*2);
changeentityproperty(Player, "running", RSp*2);
changeentityproperty(Player, "edelay", 1, 0.5, 2, 200, 2, 200);
}
if(frame==4){
changeentityproperty(Player, "speed", Sp);
changeentityproperty(Player, "jumpspeed", JSp);
changeentityproperty(Player, "running", RSp);
changeentityproperty(Player, "edelay", 1, 1, 2, 200, 2, 200);

killentity(self); //Suicide!
}
}
return;
}

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


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

if(frame==1){
void vEntity; //Target entity placeholder
int iEntity; //Entity enumeration holder
int iType; //Entity type
int iMax = openborvariant("count_entities"); //Entity count
void Spawn;

//Enumerate and loop through entity collection.


for(iEntity=0; iEntity<iMax; iEntity++){
vEntity = getentity(iEntity); //Get target entity from loop
iType = getentityproperty(vEntity, "type"); //Get target type

//Enemy type?
if(iType == openborconstant("TYPE_ENEMY")){
Spawn = spawn01("Slown", 0, 10, 0);
changeentityproperty(Spawn, "parent", vEntity);
bindentity(Spawn, vEntity, 0, 0, 20, 0, 0);
}
}
}
if(frame==2){
void self = getlocalvar("self");

killentity(self); //Suicide!
}
if(frame==0)
{
spawn06("Dark", 800, 0, 800);
}
return;
}

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


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

if(frame > 1 && frame < 16){


void self = getlocalvar("self");
void T = getentityproperty(self,"parent");

if(T){
int eTime = openborvariant("elapsed_time");

changeentityproperty(T, "frozen", 1);


changeentityproperty(T, "freezetime", eTime + 8);
}
}
if(frame==16)
{
looper(6, 5);
}
if(frame==18)
{
suicide();
}
return;
}

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


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

void vSelf = getlocalvar("self"); //Caller.


void P1 = getplayerproperty(0, "entity");
void vEntity; //Target entity placeholder.
int iEntity; //Entity enumeration holder.
int iName; //Entity name.
int iMax = openborvariant("count_entities"); //Entity count.
int dx = 0; int dz = 0; int S = 2; // S = 2 = pulling speed
int Ex; int Ez; int Px; int Pz;

if(P1){
Px = getentityproperty(P1, "x");
Pz = getentityproperty(P1, "z");

//Enumerate and loop through entity collection.


for(iEntity=0; iEntity<iMax; iEntity++){
vEntity = getentity(iEntity); //Get target entity from current loop.
iName = getentityproperty(vEntity, "defaultname"); //Get target name

//Coin?
if(iName == "Coin"){
Ex = getentityproperty(vEntity, "x");
Ez = getentityproperty(vEntity, "z");

if(Ex > Px){


dx = -S;
} else if(Ex < Px){
dx = S;
}

if(Ez > Pz){


dz = -S*0.5;
} else if(Ez < Pz){
dz = S*0.5;
}

changeentityproperty(vEntity, "position", Ex+dx, Ez+dz);


}
}
}
return;
}

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


# data/chars/Lisina/Butterfly/Butterfly.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==37)
{
if(frame==80)
{
spawner2("SmokeBomb", 0, 100, 0);
}
if(frame==80)
{
suicide();
}
return;
}

}
#### animationscript function main #####
# data/chars/Lisina/Butterfly/ButterflyBomb.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==38)
{
if(frame==11)
{
spawner2("SmokeBomb", 0, 100, 0);
}
if(frame==11)
{
suicide();
}
return;
}

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


# data/chars/Lisina/Butterfly/Butterfly2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==39)
{
if(frame==43)
{
spawner2("SmokeBomb", 0, 100, 0);
}
if(frame==43)
{
suicide();
}
return;
}

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


# data/chars/Lisina/Butterfly/Butterfly3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==40)
{
if(frame==8)
{
spawner2("SmokeBomb", 0, 100, 0);
}
if(frame==8)
{
suicide();
}
return;
}

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


# data/chars/Lisina/Butterfly/ButterflyShooter.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==41)
{
if(frame==1)
{
shooter("butterflyenemy", 110, 250, 0, 0.8, 0, 0);
}
return;
}

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


# data/chars/Lisina/Butterfly/ButterflyEnemy2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==43)
{
if(frame==80)
{
spawner2("SmokeBombEnemy", 0, 0, 0);
}
if(frame==80)
{
suicide();
}
return;
}

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


# data/chars/Aerisetta/Lose/Lose_Aerisetta.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==44)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==46)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==47)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==48)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==49)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==50)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==51)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==52)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==53)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==54)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==55)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
}

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


# data/chars/Aerisetta/Lose/Death_Aerisetta.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==56)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==58)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==59)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M02");
}
return;
}
if(animhandle==60)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M03");
}
return;
}
if(animhandle==61)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M04");
}
return;
}
if(animhandle==62)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M05");
}
return;
}
if(animhandle==63)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M06");
}
return;
}
if(animhandle==64)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M07");
}
return;
}
if(animhandle==65)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M08");
}
return;
}
if(animhandle==66)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M09");
}
return;
}
if(animhandle==67)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M10");
}
return;
}

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


# data/chars/dialogues/MaidAttacks/MaidAttacksAerisetta.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==68)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==70)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==71)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==72)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==73)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==74)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==75)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==76)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==77)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==78)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==79)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}

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


# data/chars/Yukari/Lose/Lose_Yukari.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==80)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==82)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==83)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==84)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==85)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==86)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==87)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==88)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==89)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==90)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==91)
{
if(frame==6)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==30)
{
suicide();
}
return;
}

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


# data/chars/Lisina/Lose/Lose_Lisina.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==92)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==94)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==36)
{
suicide();
}
return;
}
if(animhandle==95)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==36)
{
suicide();
}
return;
}
if(animhandle==96)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==36)
{
suicide();
}
return;
}
if(animhandle==97)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==36)
{
suicide();
}
return;
}
if(animhandle==98)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==36)
{
suicide();
}
return;
}
if(animhandle==99)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==100)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==101)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==102)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==103)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}

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


# data/chars/Varina/Lose/Lose_Varina.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==104)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==106)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==107)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==108)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==109)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==110)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==111)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==112)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==113)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==114)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==115)
{
if(frame==6)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==30)
{
suicide();
}
return;
}

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


# data/chars/Lisina/Heal/Heal.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==116)
{
if(frame==19)
{
spawn01("Heal_Pulse", 0, 0, 0);
}
return;
}

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


# data/chars/Lisina/Heal/Heal_Item.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==117)
{
if(frame==17)
{
suicide();
}
return;
}

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


# data/chars/Lisina/Heal/Heal_Pulse/Heal_Pulse.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==119)
{

void self = getlocalvar("self");


float x = getentityproperty(self, "x");
float z = getentityproperty(self, "z");
void P1 = getplayerproperty(0, "entity");
float Tx1 = getentityproperty(P1, "x");
float Tz1 = getentityproperty(P1, "z");
int PHP = getentityproperty(P1,"health");
int SFX = loadsample("data/sounds/heal.wav");
float Disx1 = Tx1 - x;
float Disz1 = Tz1 - z;
void FX;

if(Disx1 < 0){


Disx1 = -Disx1;
}

if(Disz1 < 0){


Disz1 = -Disz1;
}

if(frame == 5){
if(25*Disx1*Disx1 + 64*Disz1*Disz1 <= 1440000){
changeentityproperty(P1, "health", PHP+10); // heals player 1
playsample(SFX, 0, 120, 120, 100, 0);
FX = spawn01("HealFX", 0, 50, 0);
changeentityproperty(FX, "position", Tx1, Tz1, 100);
}
}
return;
}

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


# data/chars/Lisina/Heal/Heal_Cutscene.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==120)
{
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
return;
}

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


# data/chars/Varina/Haste/Varina_Super.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==122)
{
if(frame==1)
{
randSound("V_Special1.wav", "V_Special2.wav", "V_Block3.wav");
}
return;
}

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


# data/chars/aerisetta/aeriin1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==123)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 0);
} else {
changeentityproperty(self, "direction", 1);
}
}
if(frame==2)
{
dasher(36, 0, 0, 1);
}
if(frame==3)
{
dasher(0, 0, 0);
}
if(frame==4)
{
suicide();
}
return;
}

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


# data/chars/aerisetta/aeriout1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==124)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 1);
} else {
changeentityproperty(self, "direction", 0);
}
}
return;
}

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


# data/chars/aerisetta/memicon.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==126)
{

if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;

if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");

if(TMP < MTMP && Chasen!=MP){


setglobalvar("MemberMP" + MP, TMP+0.5);
}
}

if(Char!="Aerisetta"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==127)
{

if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;

if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");

if(TMP < MTMP && Chasen!=MP){


setglobalvar("MemberMP" + MP, TMP+0.5);
}
}

if(Char!="Lisina"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==128)
{

if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;

if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");

if(TMP < MTMP && Chasen!=MP){


setglobalvar("MemberMP" + MP, TMP+0.5);
}
}

if(Char!="Varina"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==129)
{

if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;

if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");

if(TMP < MTMP && Chasen!=MP){


setglobalvar("MemberMP" + MP, TMP+0.5);
}
}

if(Char!="Hero"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==130)
{

if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;

if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");

if(TMP < MTMP && Chasen!=MP){


setglobalvar("MemberMP" + MP, TMP+0.2);
}
}

if(Char!="Yukari"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==131)
{

if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;
if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");

if(TMP < MTMP && Chasen!=MP){


setglobalvar("MemberMP" + MP, TMP+0.3);
}
}

if(Char!="Estrelle"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==132)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x");
int XPos = openborvariant("xpos"); //Get screen edge's position

changeentityproperty(self, "position", x+XPos);


performattack(self, openborconstant("ANI_ATTACK1"));
}
return;
}
if(animhandle==133)
{

if(frame >= 1){


void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);

if(Char == "Yukari"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW5"));
} else if(Char == "Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW4"));
} else if(Char == "Varina"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
} else if(Char == "Lisina"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW2"));
} else if(Char == "Aerisetta"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW1"));
} else if(Char == "Estrelle"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW6"));
}
}
return;
}

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


# data/chars/Lisina/lust/S01/Lisina_S01.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==140)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW46"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW41"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW46"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW41"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
TextPop("PRESS_TAG_TO_CHANGE_POSE", 50, 1, 660, 837, 1000);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==141)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW46"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW41"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW46"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW41"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
StopSounds();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
killgun(9, 0);
}
return;
}
if(animhandle==142)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==143)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==144)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==145)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 5, 290, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 5, 290, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 5, 290, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 5, 290, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==146)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==147)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==148)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==149)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 220, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 220, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 220, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 220, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}
if(animhandle==150)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW22", 0);
}
return;
}
if(animhandle==151)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW23", 0);
}
return;
}
if(animhandle==152)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW24", 0);
}
return;
}
if(animhandle==153)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 180, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 180, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 180, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 180, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW21", 0);
}
return;
}
if(animhandle==154)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW27", 0);
}
return;
}
if(animhandle==155)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW28", 0);
}
return;
}
if(animhandle==156)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW29", 0);
}
return;
}
if(animhandle==157)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
if(frame==5 && P1){
void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 70, 90, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 70, 90, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 70, 90, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 70, 90, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW26", 0);
}
return;
}
if(animhandle==158)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW32", 0);
}
return;
}
if(animhandle==159)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW33", 0);
}
return;
}
if(animhandle==160)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW34", 0);
}
return;
}
if(animhandle==161)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 140, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 140, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 140, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 140, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW31", 0);
}
return;
}
if(animhandle==162)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW37", 0);
}
return;
}
if(animhandle==163)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW38", 0);
}
return;
}
if(animhandle==164)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW39", 0);
}
return;
}
if(animhandle==165)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW36", 0);
}
return;
}
if(animhandle==166)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW42", 0);
}
return;
}
if(animhandle==167)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW43", 0);
}
return;
}
if(animhandle==168)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW44", 0);
}
return;
}
if(animhandle==169)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 45, 45, 5);
}
if(frame==30)
{
spawn01("cum1", 45, 45, 5);
}
if(frame==51)
{
spawn01("cum1", 45, 45, 5);
}
if(frame==72)
{
spawn01("cum1", 45, 45, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW41", 0);
}
return;
}
if(animhandle==170)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW47", 0);
}
return;
}
if(animhandle==171)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW48", 0);
}
return;
}
if(animhandle==172)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW49", 0);
}
return;
}
if(animhandle==173)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==30)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==51)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==72)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW46", 0);
}
return;
}

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


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

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "mp", 100);


setentityvar(self, "DedSt", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "JMoz", 0);
setentityvar(self, "Spid", 5.5); // default speed
setentityvar(self, "RSpid", 5.5); // default running speed
setentityvar(self, "JSpid", 2); // default jump speed
setLevel(); // sets maxhealth and maxlevel based on current level
}
return;
}
if(animhandle==176)
{
if(frame==8)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==177)
{
if(frame==0)
{
spawnbind("dust_walking", -150, 0, 1);
}
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==178)
{

if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base

if(y > b){ // Mid air?


changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status
changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
} else{
setidle(self);
}
}
if(frame==1)
{
floater(20);
}
return;
}
if(animhandle==179)
{
if(frame==0)
{
target(5, 5, 1, 1, 1);
}
if(frame==0)
{
dash();
}
if(frame==5)
{
target(0, 0, 0, 0, 1);
}
if(frame==5)
{
dash();
}
if(frame==5)
{
spawn01("effect3", 150, 150, 2);
}
return;
}
if(animhandle==180)
{
if(frame==5)
{
spawn01("effect3", 150, 150, 2);
}
return;
}
if(animhandle==181)
{
if(frame==5)
{
spawn01("effect3", 150, 150, 2);
}
return;
}
if(animhandle==182)
{
if(frame==9)
{
setglobalvar("zoomentity", NULL());
}
if(frame==10)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==183)
{
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==184)
{
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==185)
{
if(frame==4)
{
shooter("butterfly2", 110, 100, 0.3, 1, 0, 0);
}
return;
}
if(animhandle==186)
{
if(frame==4)
{
shooter("butterfly2", 110, 100, 1.2, 1, 0, 0);
}
if(frame==5)
{
shooter("butterfly3", 90, 110, 1, -1, 0, 0);
}
if(frame==6)
{
shooter("butterfly3", 100, 90, 1.1, 1, 0, 0);
}
return;
}
if(animhandle==187)
{

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==188)
{
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==189)
{
if(frame==4)
{
shooter("butterfly", 110, 100, 0.1, 0.8, -1, 0);
}
return;
}
if(animhandle==190)
{
if(frame==1)
{
slamstart2();
}
if(frame==1)
{
position(1, 123, 170, 1, 0);
}
if(frame==2)
{
position(1, -9, 153, 1, 0);
}
if(frame==3)
{
position(2, 136, 238, 1, 0);
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
throw(10, 1, -1, 9, 0, 0, 200);
}
if(frame==5)
{
clearGrab();
}
return;
}
if(animhandle==191)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==192)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}

setentityvar(self, "RunJump", 0);


changeentityproperty(self, "velocity", NULL(), NULL(), 12);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==193)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ADash", 0);


setentityvar(self, "ABDash", 0);
setentityvar(self, "DJump", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "RunJump", 0);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==194)
{

if(frame==2){
void self = getlocalvar("self");

changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status


changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
return;
}
if(animhandle==195)
{
if(frame==0)
{
floater(-25);
}
if(frame==3)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==196)
{
if(frame==1)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==197)
{
if(frame==1)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==198)
{
if(frame==1)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==199)
{
if(frame==1)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==200)
{
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
return;
}
if(animhandle==201)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==202)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==203)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==204)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==205)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
return;
}
if(animhandle==206)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==207)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==208)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==209)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==210)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==211)
{

if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");

setentityvar(self, "DedSt", 0);

if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==212)
{
if(frame==0)
{
mpcost(20);
}
if(frame==0)
{
Invinc(100);
}
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==1)
{
spawner("Dabo", 0, 0, 0);
}
return;
}
if(animhandle==213)
{

if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 20;
float Vz = 0;
int Cost = 0; // dash cost

if(Dir == 0){
Vx = -Vx;
}
if(playerkeys(iPIndex, 0, "moveup")){
Vz = -10;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 10;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -10;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 10;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}

if(MP < Cost){


setidle(self);
}

changeentityproperty(self, "mp", MP - Cost);


changeentityproperty(self, "velocity", Vx, Vz);
}
return;
}
if(animhandle==214)
{
if(frame==0)
{
consume(100, 0, "ANI_CANT");
}
if(frame==0)
{
floater(5200);
}
if(frame==0)
{
leaper(0, 1, 0);
}
if(frame==0)
{
spawn01("hyper", 0, 300, 0);
}
if(frame==1)
{
spawn06("Heal_Cutscene", 800, 0, 800);
}
if(frame==2)
{
spawner2("Heal", 0, 0, 50);
}
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
clearGrab();
}
return;
}
if(animhandle==215)
{
if(frame==4)
{
spawn01("Lisina_S01", 0, 0, 0);
}
return;
}

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


# data/chars/lisina/lisiIn.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==216)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 0);
} else {
changeentityproperty(self, "direction", 1);
}
}
if(frame==2)
{
dasher(36, 0, 0, 1);
}
if(frame==3)
{
dasher(0, 0, 0);
}
if(frame==4)
{
suicide();
}
return;
}
}

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


# data/chars/lisina/lisiOut.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==217)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 1);
} else {
changeentityproperty(self, "direction", 0);
}
}
return;
}

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


# data/chars/Varina/Valina.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==219)
{

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "mp", 100);


setentityvar(self, "JMox", 0);
setentityvar(self, "JMoz", 0);
setentityvar(self, "Spid", 8.5); // default speed
setentityvar(self, "RSpid", 8.5); // default running speed
setentityvar(self, "JSpid", 2); // default jump speed
setentityvar(self, "Tired", 0); // tired status
setLevel(); // sets maxhealth and maxlevel based on current level
}
return;
}
if(animhandle==220)
{
if(frame==14)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==221)
{
if(frame==15)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==222)
{

if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base

if(y > b){ // Mid air?


changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status
changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
} else{
setidle(self);
}
}
if(frame==1)
{
floater(20);
}
return;
}
if(animhandle==226)
{
if(frame==4)
{
spawn01("effect1", 150, 150, 2);
}
return;
}
if(animhandle==227)
{
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==4)
{
spawn01("effect1", 150, 150, 2);
}
return;
}
if(animhandle==228)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==229)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==230)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==231)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==232)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==233)
{

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
return;
}
if(animhandle==235)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==236)
{

if(frame==1){
void self = getlocalvar("self");
void FX = getentityvar(self, "Haste");

setentityvar(self, "DedSt", 0);

if(FX){
killentity(FX);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(3);
}
return;
}
if(animhandle==237)
{
if(frame==0)
{
randSound("V_Death.wav", "V_Death.wav");
}
return;
}
if(animhandle==238)
{
if(frame==0)
{
randSound("V_Death.wav", "V_Death.wav");
}
return;
}
if(animhandle==239)
{
if(frame==0)
{
randSound("V_Pain1.wav", "V_Pain2.wav");
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==240)
{
if(frame==0)
{
randSound("V_Pain1.wav", "V_Pain2.wav");
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==241)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
return;
}
if(animhandle==242)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}

setentityvar(self, "RunJump", 0);


changeentityproperty(self, "velocity", NULL(), NULL(), 8);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==243)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ADash", 0);


setentityvar(self, "ABDash", 0);
setentityvar(self, "DJump", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "RunJump", 0);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==244)
{
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawn01("effect1", 200, 100, 2);
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==5)
{
spawn01("effect1", 200, 100, 2);
}
if(frame==6)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==245)
{

if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 10;
float Vz = 0;
int Cost = 0; // dash cost

if(Dir == 0){
Vx = -Vx;
}

if(playerkeys(iPIndex, 0, "moveup")){
Vz = -5;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 5;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -10;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 10;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}

if(MP < Cost){


setidle(self);
}

changeentityproperty(self, "mp", MP - Cost);


changeentityproperty(self, "velocity", Vx, Vz);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
randSound("V_Block1.wav", "V_Block2.wav");
}
if(frame==13)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==247)
{
if(frame==0)
{
spawn01("hyper", 0, 300, 0);
}
if(frame==1)
{
spawn06("Varina_Super", 800, 0, 800);
}
if(frame==2)
{
spawnFX("HasteFX", 0, 20, 0, "Haste");
}
return;
}
if(animhandle==248)
{
if(frame==17)
{
spawn06("Lose_Varina", 800, 0, 800);
}
if(frame==37)
{
spawn06("Lose_Varina", 800, 0, 800);
}
if(frame==57)
{
spawn06("Lose_Varina", 800, 0, 800);
}
return;
}

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


# data/chars/Varina/VariIn.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==249)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 0);
} else {
changeentityproperty(self, "direction", 1);
}
}
if(frame==2)
{
dasher(36, 0, 0, 1);
}
if(frame==3)
{
dasher(0, 0, 0);
}
if(frame==4)
{
suicide();
}
return;
}

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


# data/chars/Varina/VariOut.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==250)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x<=XPos+Screen/2){
changeentityproperty(self, "direction", 1);
} else {
changeentityproperty(self, "direction", 0);
}
}
return;
}

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


# data/chars/aerisetta/aerisetta_D.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==252)
{

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "mp", 100);


// changeentityproperty(self, "name", "Aerisetta");
setentityvar(self, "DedSt", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "JMoz", 0);
setentityvar(self, "Spid", 2.5); // default speed
setentityvar(self, "RSpid", 8.5); // default running speed
setentityvar(self, "JSpid", 2); // default jump speed
}
return;
}
if(animhandle==254)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}

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


# data/chars/Hero/HerIn.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==255)
{
if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 0);
} else {
changeentityproperty(self, "direction", 1);
}
}
if(frame==2)
{
dasher(36, 0, 0, 1);
}
if(frame==3)
{
dasher(0, 0, 0);
}
if(frame==4)
{
suicide();
}
return;
}

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


# data/chars/Hero/HerOut.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==256)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 1);
} else {
changeentityproperty(self, "direction", 0);
}
}
return;
}

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


# data/chars/Yukari/YukariIn.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==257)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 0);
} else {
changeentityproperty(self, "direction", 1);
}
}
if(frame==2)
{
dasher(36, 0, 0, 1);
}
if(frame==3)
{
dasher(0, 0, 0);
}
if(frame==4)
{
suicide();
}
return;
}

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


# data/chars/Yukari/YukariOut.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==258)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 1);
} else {
changeentityproperty(self, "direction", 0);
}
}
return;
}

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


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

if(frame>=1){
void self = getlocalvar("self");
void P = getentityproperty(self, "parent");

if(frame==1){
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL"), 0, 200, 0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL2"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL3"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL4"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL6"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL10"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_SHOCK"), 0, 200, 0);
}
if(frame==8 || frame==10 || frame==12 || frame==14 || frame==16){
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL"), 0, 200, 0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL2"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL3"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL4"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL6"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL10"), 0, 200,
0);
changeentityproperty(P, "defense", openborconstant("ATK_SHOCK"), 0, 200, 0);
}
if(frame==26){
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL"), 1, 0, 1);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL2"), 1, 0, 1);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL3"), 1, 0, 1);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL4"), 1, 0, 1);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL6"), 1, 0, 1);
changeentityproperty(P, "defense", openborconstant("ATK_NORMAL10"), 1, 0, 1);
changeentityproperty(P, "defense", openborconstant("ATK_SHOCK"), 1, 0, 1);

killentity(self); //Suicide!
}
}
if(frame==17)
{
looper(9, 9);
}
if(frame==25)
{
looper(18, 9);
}
return;
}

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


# data/chars/misc/cum/cum2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==263)
{
if(frame==15)
{
suicide();
}
return;
}
if(animhandle==264)
{
if(frame==15)
{
suicide();
}
return;
}
if(animhandle==265)
{
if(frame==15)
{
suicide();
}
return;
}
if(animhandle==266)
{
if(frame==14)
{
suicide();
}
return;
}

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


# data/chars/misc/cum/Squirt1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==267)
{
if(frame==6)
{
suicide();
}
return;
}

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


# data/chars/misc/cum/Squirt2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==268)
{
if(frame==5)
{
suicide();
}
return;
}

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


# data/bgs/menu/cursor2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==269)
{

if(frame>=1){
Scan(10, 10);
}
return;
}
if(animhandle==270)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Step = getentityproperty(self, "grabforce");

int H = checkwall(x+Step,z);

if(H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x + Step);
setglobalvar("TempName1", "___");
setglobalvar("TempName2", "___");
setglobalvar("TempName3", "___");
}
}
return;
}
if(animhandle==271)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Step = getentityproperty(self, "grabforce");

int H = checkwall(x-Step,z);

if(H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x - Step);
setglobalvar("TempName1", "___");
setglobalvar("TempName2", "___");
setglobalvar("TempName3", "___");
}
}
return;
}
if(animhandle==272)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Leap = getentityproperty(self, "antigrab");
int ZMin = openborvariant("PLAYER_MIN_Z");

int H = checkwall(x,z - Leap);

if(z - Leap > ZMin && H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x, z - Leap);
setglobalvar("TempName1", "___");
setglobalvar("TempName2", "___");
setglobalvar("TempName3", "___");
}
}
return;
}
if(animhandle==273)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Leap = getentityproperty(self, "antigrab");
int ZMax = openborvariant("PLAYER_MAX_Z");

int H = checkwall(x,z + Leap);

if(z + Leap < ZMax && H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x, z + Leap);
setglobalvar("TempName1", "___");
setglobalvar("TempName2", "___");
setglobalvar("TempName3", "___");
}
}
return;
}

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


# data/bgs/menu/marrow.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==276)
{

if(frame >= 1){


void self = getlocalvar("self");
int Ch = getglobalvar("Chasen") - 1;
int XPos = openborvariant("xpos"); //Get screen edge's position

if(getglobalvar("Chasen")){
changeentityproperty(self, "position", 145 + Ch*300 + XPos);
}
}
return;
}

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


# data/bgs/Menu/ReturnMap.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==277)
{
if(frame >= 1){
void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");
char Ch1 = getglobalvar("MemberName1");
char Ch2 = getglobalvar("MemberName2");
char Ch3 = getglobalvar("MemberName3");

if(Ch1 == NULL() || Ch2 == NULL() || Ch3 == NULL()){


changeentityproperty(self, "map", 1);
} else {
changeentityproperty(self, "map", 0);
}
if(State == "X"){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==278)
{

if(frame == 1){
char Ch1 = getglobalvar("MemberName1");
char Ch2 = getglobalvar("MemberName2");
char Ch3 = getglobalvar("MemberName3");
int Plvl = getglobalvar("level.0") - 1;
int MHP1 = MaxDec(Ch1, "HP");
int MMP1 = MaxDec(Ch1, "MP");
int MHP2 = MaxDec(Ch2, "HP");
int MMP2 = MaxDec(Ch2, "MP");
int MHP3 = MaxDec(Ch3, "HP");
int MMP3 = MaxDec(Ch3, "MP");

setglobalvar("MemberHP1", MHP1);
setglobalvar("MemberMP1", MMP1);
setglobalvar("MemberHP2", MHP2);
setglobalvar("MemberMP2", MMP2);
setglobalvar("MemberHP3", MHP3);
setglobalvar("MemberMP3", MMP3);

jumptobranch("stage_select", 1);
}
return;
}

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


# data/bgs/Menu/ReturnMapFREE.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==281)
{

if(frame >= 1){


void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");
char Ch1 = getglobalvar("MemberName1");
char Ch2 = getglobalvar("MemberName2");
char Ch3 = getglobalvar("MemberName3");

if(Ch1 == NULL() || Ch2 == NULL() || Ch3 == NULL()){


changeentityproperty(self, "map", 1);
} else {
changeentityproperty(self, "map", 0);
}
if(State == "X"){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==282)
{

if(frame == 1){
char Ch1 = getglobalvar("MemberName1");
char Ch2 = getglobalvar("MemberName2");
char Ch3 = getglobalvar("MemberName3");
int Plvl = getglobalvar("level.0") - 1;
int MHP1 = MaxDec(Ch1, "HP");
int MMP1 = MaxDec(Ch1, "MP");
int MHP2 = MaxDec(Ch2, "HP");
int MMP2 = MaxDec(Ch2, "MP");
int MHP3 = MaxDec(Ch3, "HP");
int MMP3 = MaxDec(Ch3, "MP");

setglobalvar("MemberHP1", MHP1);
setglobalvar("MemberMP1", MMP1);
setglobalvar("MemberHP2", MHP2);
setglobalvar("MemberMP2", MMP2);
setglobalvar("MemberHP3", MHP3);
setglobalvar("MemberMP3", MMP3);

jumptobranch("mapFREE", 1);
}
return;
}

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


# data/chars/aerisetta/lust/S01/Aerisetta_S01.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==286)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(r >= 90){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW16"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
TextPop("PRESS_TAG_TO_CHANGE_POSE", 50, 1, 660, 837, 1000);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==287)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW16"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
StopSounds();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
killgun(9, 0);
}
return;
}
if(animhandle==288)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==289)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==290)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==291)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==292)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==293)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==294)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
if(frame==5 && P1){
void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==295)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 200, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 200, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 200, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 200, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}
if(animhandle==296)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW12", 0);
}
return;
}
if(animhandle==297)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW13", 0);
}
return;
}
if(animhandle==298)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW14", 0);
}
return;
}
if(animhandle==299)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 60, 100, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 60, 100, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 60, 100, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 60, 100, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW11", 0);
}
return;
}
if(animhandle==300)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW17", 0);
}
return;
}
if(animhandle==301)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
if(frame==5 && P1){
void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW18", 0);
}
return;
}
if(animhandle==302)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW19", 0);
}
return;
}
if(animhandle==303)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 50, 30, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 50, 30, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 50, 30, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 50, 30, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW16", 0);
}
return;
}
if(animhandle==304)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW22", 0);
}
return;
}
if(animhandle==305)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW23", 0);
}
return;
}
if(animhandle==306)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW24", 0);
}
return;
}
if(animhandle==307)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 180, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 180, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 180, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 180, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW21", 0);
}
return;
}
if(animhandle==308)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW27", 0);
}
return;
}
if(animhandle==309)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW28", 0);
}
return;
}
if(animhandle==310)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
if(frame==5 && P1){
void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW29", 0);
}
return;
}
if(animhandle==311)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 70, 90, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 70, 90, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 70, 90, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 70, 90, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW26", 0);
}
return;
}
if(animhandle==312)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW32", 0);
}
return;
}
if(animhandle==313)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW33", 0);
}
return;
}
if(animhandle==314)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW34", 0);
}
return;
}
if(animhandle==315)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 140, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 140, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 140, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 140, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW31", 0);
}
return;
}
if(animhandle==316)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW37", 0);
}
return;
}
if(animhandle==317)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
if(frame==5 && P1){
void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW38", 0);
}
return;
}
if(animhandle==318)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW39", 0);
}
return;
}
if(animhandle==319)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW36", 0);
}
return;
}

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


# data/chars/aerisetta/aerisetta.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==320)
{
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==321)
{

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "mp", 100);


setentityvar(self, "DedSt", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "JMoz", 0);
setentityvar(self, "Spid", 8.5); // default speed
setentityvar(self, "RSpid", 8.5); // default running speed
setentityvar(self, "JSpid", 2); // default jump speed
setLevel(); // sets maxhealth and maxlevel based on current level
}
return;
}
if(animhandle==323)
{
if(frame==3)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==324)
{

if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base

if(y > b){ // Mid air?


changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status
changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
} else{
setidle(self);
}
}
if(frame==1)
{
floater(20);
}
return;
}
if(animhandle==325)
{
if(frame==2)
{
spawnFX("HasteFX", 0, 20, 0, "Haste");
}
return;
}
if(animhandle==326)
{
if(frame==0)
{
target(6, 6, 1, 1, 1);
}
if(frame==0)
{
dash();
}
if(frame==0)
{
spawn01("effect3", 150, 150, 2);
}
if(frame==2)
{
target(0, 0, 0, 0, 1);
}
if(frame==2)
{
dash();
}
return;
}
if(animhandle==328)
{
if(frame==1)
{
spawn01("effect3flip", 120, 300, 2);
}
return;
}
if(animhandle==330)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==331)
{
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==332)
{
if(frame==0)
{
rundasher(5, 0);
}
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==333)
{
if(frame==3)
{
spawn01("effect1flip", 180, 400, 2);
}
return;
}
if(animhandle==334)
{
if(frame==0)
{
target(3, 3, 1, 1, 2);
}
if(frame==0)
{
dash();
}
if(frame==2)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==335)
{
if(frame==0)
{
slamstart2();
}
if(frame==0)
{
position(0, 35, 10, -1, 1);
}
if(frame==6)
{
randSound2("supersound/supersound01.wav",
"supersound/supersound02.wav", "supersound/supersound03.wav",
"supersound/supersound04.wav", "supersound/supersound05.wav",
"supersound/supersound06.wav", "supersound/supersound07.wav",
"supersound/supersound08.wav", "supersound/supersound09.wav");
}
if(frame==7)
{
spawn06("A_Grab_Dir", 800, 0, 800);
}
if(frame==8)
{
position(6, -125, 0, -1, 1);
}
if(frame==10)
{
position(6, -120, 0, -1, 1);
}
if(frame==11)
{
position(6, -125, 0, -1, 1);
}
if(frame==12)
{
position(6, -120, 0, -1, 1);
}
if(frame==13)
{
position(6, -125, 0, -1, 1);
}
if(frame==14)
{
position(6, -120, 0, -1, 1);
}
if(frame==15)
{
spawn01("dust", -20, 1, 1);
}
if(frame==15)
{
spawn01("smoke", -40, 1, 1);
}
if(frame==15)
{
position(6, -125, 0, -1, 1);
}
if(frame==15)
{
depost(0);
}
if(frame==15)
{
finish(10, 10, 1, 0, 0, 1);
}
if(frame==15)
{
clearGrab();
}
return;
}
if(animhandle==336)
{
if(frame==4)
{
spawn01("effect2", 150, 150, 2);
}
if(frame==7)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==337)
{
if(frame==4)
{
spawn01("effect2", 150, 150, 2);
}
if(frame==7)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==338)
{
if(frame==4)
{
spawn01("effect2", 150, 150, 2);
}
if(frame==7)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==339)
{
if(frame==0)
{
floater(30);
}
if(frame==0)
{
spawn01("enslow", 0, 0, 0);
}
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
clearGrab();
}
if(frame==27)
{
spawn06("GiantStep", 800, 0, 800);
}
if(frame==28)
{
spawn01("stompfx", 200, 0, 0);
}
if(frame==28)
{
spawn01("stomprock", 200, 0, 0);
}
if(frame==28)
{
spawn01("crack", 200, 0, -1);
}
if(frame==29)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==340)
{

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==341)
{
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==345)
{
if(frame==1)
{
slamstart2();
}
if(frame==1)
{
position(1, 123, 170, 1, 0);
}
if(frame==2)
{
position(1, -9, 153, 1, 0);
}
if(frame==3)
{
position(2, 136, 238, 1, 0);
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
throw(10, 1, -1, 9, 0, 0, 200);
}
if(frame==5)
{
clearGrab();
}
return;
}
if(animhandle==346)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==347)
{
if(frame==1)
{
consume(30, 0, "ANI_CANT");
}
if(frame==3)
{
spawn01("effect1flip", 180, 400, 2);
}
return;
}
if(animhandle==348)
{
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==349)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}

setentityvar(self, "RunJump", 0);


changeentityproperty(self, "velocity", NULL(), NULL(), 9);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==350)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ADash", 0);


setentityvar(self, "ABDash", 0);
setentityvar(self, "DJump", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "RunJump", 0);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==351)
{

if(frame==2){
void self = getlocalvar("self");

changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status


changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
return;
}
if(animhandle==352)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 8);
} else if(LKey){
setentityvar(self, "JMox", -8);
} else {
setentityvar(self, "JMox", 0);
}

setentityvar(self, "RunJump", 1);


changeentityproperty(self, "velocity", NULL(), NULL(), 9);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==353)
{

if(frame==3){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);


changeentityproperty(self, "animpos", 1);
}
if(frame==0)
{
floater(25);
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==354)
{

if(frame==2){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ADash");
int Run = getentityvar(self, "RunJump");

if(Dash==1 && Run==1){


changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else if(Dash==1){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
setentityvar(self, "ADash", 1);
floater(47);
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
}
}
if(frame==7){
void self = getlocalvar("self");
int Vx = getentityproperty(self,"xdir");
int Run = getentityvar(self, "RunJump");

setentityvar(self, "JMox", Vx);

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==1)
{
keyflip(0);
}
if(frame==3)
{
spawner("trail", 0, 0, 0);
}
if(frame==3)
{
dasher(8, 0, 0, 1);
}
return;
}
if(animhandle==355)
{

if(frame==1){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ABDash");
int Run = getentityvar(self, "RunJump");

flip();
if(Dash==1 && Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else if(Dash==1){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
setentityvar(self, "ABDash", 1);
floater(47);
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
}
}
if(frame==6){
void self = getlocalvar("self");
int Vx = getentityproperty(self,"xdir");
int Run = getentityvar(self, "RunJump");

setentityvar(self, "JMox", Vx);

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==2)
{
dasher(8, 0, 0, 1);
}
return;
}
if(animhandle==356)
{

if(frame==3){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);


changeentityproperty(self, "animpos", 1);
}
if(frame==0)
{
target(3, 3, 1, 1, 2);
}
if(frame==0)
{
dash();
}
if(frame==0)
{
floater(25);
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==357)
{

if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==358)
{

if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==359)
{

if(frame==4){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
target(3, 3, 1, 1, 2);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==360)
{

if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
target(3, 3, 1, 1, 2);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==361)
{
if(frame==3)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==362)
{
if(frame==0)
{
rundasher(5, 0);
}
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==363)
{
if(frame==0)
{
rundasher(5, 0);
}
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==364)
{
if(frame==1)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==365)
{
if(frame==1)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==366)
{
if(frame==1)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==367)
{
if(frame==1)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==368)
{
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
return;
}
if(animhandle==369)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==370)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==371)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==372)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==373)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
return;
}
if(animhandle==374)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==375)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==376)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==377)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==378)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==379)
{

if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
setentityvar(self, "DedSt", 0);

if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
spawn01("Lust98", 0, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
spawn06("Death_Aerisetta", 480, 0, 500);
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==380)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 1);
}
if(frame==1)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==381)
{
if(frame==1)
{
spawn06("MaidAttacksAerisetta", 800, 0, 800);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==382)
{
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==3)
{
aniLimit("ANI_IDLE", 0, 5);
}
if(frame==4)
{
Invinc(160);
}
if(frame==4)
{
mpcost(5);
}
if(frame==4)
{
spawner("Dabo", 70, 0, 0);
}
return;
}
if(animhandle==383)
{
if(frame==0)
{
slamstart2();
}
if(frame==0)
{
position(4, 12, 0, -1, -1);
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
throw(0, 0, 0, -20, 0, 0);
}
if(frame==4)
{
clearGrab();
}
return;
}
if(animhandle==384)
{
if(frame==1)
{
consume(100, 0, "ANI_CANT");
}
if(frame==1)
{
spawner2("summon_12a", 0, 0, 0);
}
if(frame==1)
{
spawner2("wind1", -50, 0, 15);
}
if(frame==1)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==385)
{
if(frame==0)
{
target(3, 3, 1, 1, 2);
}
if(frame==0)
{
dash();
}
if(frame==2)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==386)
{
if(frame==0)
{
cancelgrab();
}
if(frame==8)
{
test_dograb();
}
return;
}
if(animhandle==387)
{
if(frame==0)
{
position(0, 100, 10, -1, -1);
}
return;
}
if(animhandle==389)
{
if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "defense", openborconstant("ATK_NORMAL"), 0, 200,


0);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL2"), 0, 200,
0);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL3"), 0, 200,
0);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL4"), 0, 200,
0);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL5"), 0, 200,
0);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL6"), 0, 200,
0);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL10"), 0, 200,
0);
changeentityproperty(self, "defense", openborconstant("ATK_SHOCK"), 0, 200, 0);
}
if(frame==4){
void self = getlocalvar("self");
void Grabbed = getentityvar(self, "Grabbed");

if(Grabbed){
int GHP = getentityproperty(Grabbed,"health");

if(GHP<=1){
updateframe(self, 6);
}
}
}
if(frame==6){
void self = getlocalvar("self");

changeentityproperty(self, "defense", openborconstant("ATK_NORMAL"), 1, 1, 1);


changeentityproperty(self, "defense", openborconstant("ATK_NORMAL2"), 1, 1, 1);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL3"), 1, 1, 1);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL4"), 1, 1, 1);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL5"), 1, 1, 1);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL6"), 1, 1, 1);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL10"), 1, 1,
1);
changeentityproperty(self, "defense", openborconstant("ATK_SHOCK"), 1, 1, 1);
}
if(frame==1)
{
slamstart2();
}
if(frame==2)
{
position(1, 120, 10, 1, -1);
}
if(frame==3)
{
position(1, 10, 10, 1, -1);
}
if(frame==5)
{
keyflip(0);
}
if(frame==5)
{
keyint("ANI_FREESPECIAL20", 4, "S", 0, 0);
}
if(frame==7)
{
depost(0);
}
if(frame==7)
{
finish(0, 1, 1, 4, 0, 1);
}
if(frame==7)
{
clearGrab();
}
return;
}
if(animhandle==390)
{
if(frame==0)
{
slamstart2();
}
if(frame==0)
{
spawnbind3("aerisettaarm", 0, -25, 5);
}
if(frame==0)
{
position(1, 14, -46, 1, -1);
}
if(frame==1)
{
position(1, 14, -46, 1, -1);
}
if(frame==2)
{
position(1, 14, -46, 1, -1);
}
if(frame==3)
{
position(1, 14, -46, 1, -1);
}
if(frame==4)
{
position(1, 14, -46, 0, -1);
}
if(frame==4)
{
randSound2("supersound/supersound01.wav",
"supersound/supersound02.wav", "supersound/supersound03.wav",
"supersound/supersound04.wav", "supersound/supersound05.wav",
"supersound/supersound06.wav", "supersound/supersound07.wav",
"supersound/supersound08.wav", "supersound/supersound09.wav");
}
if(frame==5)
{
position(1, 14, -46, 0, -1);
}
if(frame==6)
{
position(1, 14, -46, 0, -1);
}
if(frame==7)
{
position(1, 14, -46, 0, -1);
}
if(frame==8)
{
position(1, 14, -46, 0, -1);
}
if(frame==9)
{
position(1, 14, -46, 0, -1);
}
if(frame==10)
{
position(11, -174, 69, 0, -1);
}
if(frame==11)
{
position(12, -175, 69, 0, -1);
}
if(frame==12)
{
position(12, -160, 66, 1, -1);
}
if(frame==13)
{
position(13, -181, 107, 0, -1);
}
if(frame==14)
{
position(11, -174, 69, 0, -1);
}
if(frame==15)
{
position(12, -175, 69, 0, -1);
}
if(frame==15)
{
position(12, -175, 69, 0, -1);
}
if(frame==16)
{
position(12, -160, 66, 1, -1);
}
if(frame==17)
{
spawnbind("spin", -50, 200, 1);
}
if(frame==17)
{
position(13, -181, 107, 0, -1);
}
if(frame==18)
{
position(11, -174, 69, 0, -1);
}
if(frame==19)
{
spawnbind("spin", -50, 200, 1);
}
if(frame==19)
{
position(12, -175, 69, 0, -1);
}
if(frame==20)
{
position(12, -160, 66, 1, -1);
}
if(frame==21)
{
spawnbind("spin", -50, 200, 1);
}
if(frame==21)
{
position(13, -181, 107, 0, -1);
}
if(frame==22)
{
position(11, -174, 69, 0, -1);
}
if(frame==23)
{
position(12, -175, 69, 0, -1);
}
if(frame==24)
{
position(12, -160, 66, 1, -1);
}
if(frame==25)
{
position(13, -181, 107, 0, -1);
}
if(frame==26)
{
position(11, -174, 69, 0, -1);
}
if(frame==27)
{
position(11, -174, 69, 0, -1);
}
if(frame==28)
{
position(11, -174, 69, 0, -1);
}
if(frame==29)
{
position(11, -174, 69, 0, -1);
}
if(frame==30)
{
position(11, -174, 69, 0, -1);
}
if(frame==31)
{
position(12, -175, 69, 0, -1);
}
if(frame==32)
{
position(12, -160, 66, 1, -1);
}
if(frame==33)
{
position(13, -181, 107, 0, -1);
}
if(frame==34)
{
position(13, -181, 107, 0, -1);
}
if(frame==35)
{
position(13, -181, 107, 0, -1);
}
if(frame==36)
{
position(13, -181, 107, 0, -1);
}
if(frame==37)
{
position(13, -181, 107, 0, -1);
}
if(frame==38)
{
killgun(8, 0);
}
if(frame==38)
{
position(5, -100, -30, -1, 1);
}
if(frame==39)
{
position(5, -100, -30, -1, 1);
}
if(frame==40)
{
spawn01("dust", -20, 1, 1);
}
if(frame==40)
{
spawn01("smoke", -20, 1, 1);
}
if(frame==40)
{
position(5, -100, -30, -1, 1);
}
if(frame==41)
{
position(5, -120, -30, -1, 1);
}
if(frame==42)
{
position(5, -100, -30, -1, 1);
}
if(frame==43)
{
position(5, -120, -30, -1, 1);
}
if(frame==44)
{
position(5, -100, -30, -1, 1);
}
if(frame==45)
{
position(5, -120, -30, -1, 1);
}
if(frame==46)
{
position(5, -100, -30, -1, 1);
}
if(frame==47)
{
position(5, -120, -30, -1, 1);
}
if(frame==48)
{
position(5, -100, -30, -1, 1);
}
if(frame==49)
{
position(5, -120, -30, -1, 1);
}
if(frame==50)
{
position(5, -100, -30, -1, 1);
}
if(frame==51)
{
position(5, -120, -30, -1, 1);
}
if(frame==52)
{
position(5, -100, -30, -1, 1);
}
if(frame==53)
{
position(5, -120, -30, -1, 1);
}
if(frame==54)
{
position(5, -100, -30, -1, 1);
}
if(frame==55)
{
position(5, -120, -30, -1, 1);
}
if(frame==56)
{
position(5, -100, -30, -1, 1);
}
if(frame==57)
{
position(5, -120, -30, -1, 1);
}
if(frame==58)
{
depost(0);
}
if(frame==58)
{
finish(10, 2, -2, 5, 0, 1);
}
if(frame==59)
{
clearGrab();
}
return;
}
if(animhandle==392)
{

if(frame==5){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);


changeentityproperty(self, "animpos", 1);
}
return;
}
if(animhandle==393)
{
if(frame==0)
{
slamstart2();
}
if(frame==0)
{
position(11, -174, 69, 0, -1);
}
if(frame==1)
{
position(12, -175, 69, 0, -1);
}
if(frame==1)
{
position(12, -175, 69, 0, -1);
}
if(frame==2)
{
position(12, -160, 66, 1, -1);
}
if(frame==3)
{
spawnbind("spin", -50, 200, 1);
}
if(frame==3)
{
position(13, -181, 107, 0, -1);
}
if(frame==4)
{
position(11, -174, 69, 0, -1);
}
if(frame==5)
{
spawnbind("spin", -50, 200, 1);
}
if(frame==5)
{
position(12, -175, 69, 0, -1);
}
if(frame==6)
{
position(12, -160, 66, 1, -1);
}
if(frame==7)
{
spawnbind("spin", -50, 200, 1);
}
if(frame==7)
{
position(13, -181, 107, 0, -1);
}
if(frame==8)
{
position(11, -174, 69, 0, -1);
}
if(frame==9)
{
position(12, -175, 69, 0, -1);
}
if(frame==10)
{
position(12, -160, 66, 1, -1);
}
if(frame==11)
{
position(13, -181, 107, 0, -1);
}
if(frame==12)
{
position(11, -174, 69, 0, -1);
}
if(frame==13)
{
position(11, -174, 69, 0, -1);
}
if(frame==14)
{
position(11, -174, 69, 0, -1);
}
if(frame==15)
{
position(11, -174, 69, 0, -1);
}
if(frame==16)
{
position(11, -174, 69, 0, -1);
}
if(frame==17)
{
position(12, -175, 69, 0, -1);
}
if(frame==18)
{
position(12, -160, 66, 1, -1);
}
if(frame==19)
{
position(13, -181, 107, 0, -1);
}
if(frame==20)
{
position(13, -181, 107, 0, -1);
}
if(frame==21)
{
position(13, -181, 107, 0, -1);
}
if(frame==22)
{
position(13, -181, 107, 0, -1);
}
if(frame==23)
{
position(13, -181, 107, 0, -1);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
position(5, -100, -30, -1, 1);
}
if(frame==25)
{
position(5, -100, -30, -1, 1);
}
if(frame==26)
{
spawn01("dust", -20, 1, 1);
}
if(frame==26)
{
spawn01("smoke", -20, 1, 1);
}
if(frame==26)
{
position(5, -100, -30, -1, 1);
}
if(frame==27)
{
position(5, -120, -30, -1, 1);
}
if(frame==28)
{
position(5, -100, -30, -1, 1);
}
if(frame==29)
{
position(5, -120, -30, -1, 1);
}
if(frame==30)
{
position(5, -100, -30, -1, 1);
}
if(frame==31)
{
position(5, -120, -30, -1, 1);
}
if(frame==32)
{
position(5, -100, -30, -1, 1);
}
if(frame==33)
{
position(5, -120, -30, -1, 1);
}
if(frame==34)
{
position(5, -100, -30, -1, 1);
}
if(frame==35)
{
position(5, -120, -30, -1, 1);
}
if(frame==36)
{
position(5, -100, -30, -1, 1);
}
if(frame==37)
{
position(5, -120, -30, -1, 1);
}
if(frame==38)
{
position(5, -100, -30, -1, 1);
}
if(frame==39)
{
position(5, -120, -30, -1, 1);
}
if(frame==40)
{
position(5, -100, -30, -1, 1);
}
if(frame==41)
{
position(5, -120, -30, -1, 1);
}
if(frame==42)
{
position(5, -100, -30, -1, 1);
}
if(frame==43)
{
position(5, -120, -30, -1, 1);
}
if(frame==44)
{
depost(0);
}
if(frame==44)
{
finish(0, 2, -2, 5, 0, 1);
}
if(frame==45)
{
clearGrab();
}
return;
}
if(animhandle==394)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, -50, 50, 0, -1);
}
if(frame==1)
{
position(0, -40, 10, 0, -1);
}
if(frame==1)
{
position(0, -50, 40, 0, -1);
}
if(frame==2)
{
position(0, -70, 30, 0, -1);
}
if(frame==3)
{
dasher(0.2, 0, 0, 1);
}
if(frame==3)
{
position(2, -40, 100, 0, -1);
}
if(frame==4)
{
position(2, 100, 90, 0, -1);
}
if(frame==5)
{
screenBound(62, 0, 0, 0, 1);
}
if(frame==5)
{
position(2, 120, 90, 0, -1);
}
if(frame==6)
{
depost(0);
}
if(frame==6)
{
throw(4, 1, -10, 6, 0, 0);
}
if(frame==6)
{
projectile(1, "quake", 0, 0, 0);
}
if(frame==6)
{
clearGrab();
}
return;
}
if(animhandle==395)
{
if(frame==0)
{
slamstart();
}
if(frame==0)
{
position(0, 70, 1, 0, -1);
}
if(frame==3)
{
position(0, 70, 1, 0, -1);
}
if(frame==4)
{
screenBound(62, 0, 0, 0, 1);
}
if(frame==4)
{
position(1, 70, 1, 0, -1);
}
if(frame==5)
{
position(3, 50, 160, 0, 1);
}
if(frame==6)
{
depost(0);
}
if(frame==6)
{
throw(4, 1, -10, 6, 0, 1);
}
if(frame==6)
{
projectile(1, "quake", 0, 0, 0);
}
if(frame==6)
{
clearGrab();
}
return;
}
if(animhandle==396)
{

if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 10;
float Vz = 0;
int Cost = 0; // dash cost

if(Dir == 0){
Vx = -Vx;
}

if(playerkeys(iPIndex, 0, "moveup")){
Vz = -5;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 5;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -10;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 10;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}

if(MP < Cost){


setidle(self);
}

changeentityproperty(self, "mp", MP - Cost);


changeentityproperty(self, "velocity", Vx, Vz);
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==3)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==398)
{
if(frame==0)
{
leaper(0, 1, 0);
}
if(frame==0)
{
shooter("Parry", 0, 0, 0, 0.3);
}
if(frame==0)
{
shooter("Parry", 0, 0, 0, -0.3);
}
if(frame==0)
{
spawner("Parry", 0, 0, -1);
}
if(frame==1)
{
floater(30);
}
if(frame==1)
{
spawn01("EnSlow", 0, 0, 0);
}
if(frame==3)
{
setglobalvar("zoomentity", NULL());
}
if(frame==3)
{
depost(0);
}
if(frame==3)
{
clearGrab();
}
return;
}
if(animhandle==399)
{
if(frame==4)
{
spawn01("Aerisetta_S01", 0, 0, 0);
}
return;
}

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


# data/chars/Varina/lust/S01/Varina_S01.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==400)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW16"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
TextPop("PRESS_TAG_TO_CHANGE_POSE", 50, 1, 660, 837, 1000);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==401)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW16"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
StopSounds();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
killgun(9, 0);
}
return;
}
if(animhandle==402)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==403)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==404)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==405)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==406)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==407)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==408)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
if(frame==5 && P1){
void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==409)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 200, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 200, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 200, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 200, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}
if(animhandle==410)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW12", 0);
}
return;
}
if(animhandle==411)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW13", 0);
}
return;
}
if(animhandle==412)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW14", 0);
}
return;
}
if(animhandle==413)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 60, 100, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 60, 100, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 60, 100, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 60, 100, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW11", 0);
}
return;
}
if(animhandle==414)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW17", 0);
}
return;
}
if(animhandle==415)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW18", 0);
}
return;
}
if(animhandle==416)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW19", 0);
}
return;
}
if(animhandle==417)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 50, 30, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 50, 30, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 50, 30, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 50, 30, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW16", 0);
}
return;
}
if(animhandle==418)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW22", 0);
}
return;
}
if(animhandle==419)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW23", 0);
}
return;
}
if(animhandle==420)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW24", 0);
}
return;
}
if(animhandle==421)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 180, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 180, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 180, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 180, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW21", 0);
}
return;
}
if(animhandle==422)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW27", 0);
}
return;
}
if(animhandle==423)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW28", 0);
}
return;
}
if(animhandle==424)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW29", 0);
}
return;
}
if(animhandle==425)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 70, 90, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 70, 90, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 70, 90, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 70, 90, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW26", 0);
}
return;
}
if(animhandle==426)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW32", 0);
}
return;
}
if(animhandle==427)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW33", 0);
}
return;
}
if(animhandle==428)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW34", 0);
}
return;
}
if(animhandle==429)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 140, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 140, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 140, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 140, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW31", 0);
}
return;
}
if(animhandle==430)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW37", 0);
}
return;
}
if(animhandle==431)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW38", 0);
}
return;
}
if(animhandle==432)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW39", 0);
}
return;
}
if(animhandle==433)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW36", 0);
}
return;
}

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


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

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "mp", 100);


setentityvar(self, "DedSt", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "JMoz", 0);
setentityvar(self, "Spid", 4); // default speed
setentityvar(self, "RSpid", 4); // default running speed
setentityvar(self, "JSpid", 2); // default jump speed
setLevel(); // sets maxhealth and maxlevel based on current level
}
return;
}
if(animhandle==436)
{
if(frame==14)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==437)
{
if(frame==15)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==438)
{

if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base

if(y > b){ // Mid air?


changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status
changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
} else{
setidle(self);
}
}
if(frame==1)
{
floater(20);
}
return;
}
if(animhandle==439)
{
if(frame==0)
{
target(10, 10, 1, 1, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==442)
{
if(frame==4)
{
spawn01("effect1", 150, 150, 2);
}
return;
}
if(animhandle==443)
{
if(frame==4)
{
spawn01("effect1", 150, 150, 2);
}
return;
}
if(animhandle==444)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==445)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==446)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==447)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==448)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==449)
{

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==450)
{
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==451)
{
if(frame==1)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==452)
{
if(frame==1)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==453)
{
if(frame==1)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==454)
{
if(frame==1)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==455)
{
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
return;
}
if(animhandle==456)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==457)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==458)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==459)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==460)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
return;
}
if(animhandle==461)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==462)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==463)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==464)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==465)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==466)
{

if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");

setentityvar(self, "DedSt", 0);

if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==467)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}

setentityvar(self, "RunJump", 0);


changeentityproperty(self, "velocity", NULL(), NULL(), 8);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==468)
{
if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ADash", 0);


setentityvar(self, "ABDash", 0);
setentityvar(self, "DJump", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "RunJump", 0);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==469)
{
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawn01("effect1", 200, 100, 2);
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==5)
{
spawn01("effect1", 200, 100, 2);
}
if(frame==6)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==470)
{
if(frame==0)
{
consume(100, 0, "ANI_CANT");
}
if(frame==0)
{
spawn01("hyper", 0, 300, 0);
}
if(frame==1)
{
spawn06("Varina_Super", 800, 0, 800);
}
if(frame==2)
{
spawnFX("HasteFX", 0, 20, 0, "Haste");
}
return;
}
if(animhandle==471)
{
if(frame==1)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==472)
{

if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 10;
float Vz = 0;
int Cost = 0; // dash cost

if(Dir == 0){
Vx = -Vx;
}

if(playerkeys(iPIndex, 0, "moveup")){
Vz = -5;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 5;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -10;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 10;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}

if(MP < Cost){


setidle(self);
}

changeentityproperty(self, "mp", MP - Cost);


changeentityproperty(self, "velocity", Vx, Vz);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
randSound("V_Block1.wav", "V_Block2.wav");
}
if(frame==13)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==474)
{
if(frame==4)
{
spawn01("Varina_S01", 0, 0, 0);
}
return;
}

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


# data/chars/Yukari/Super/Yukari_Super.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==475)
{
if(frame==16)
{
spawn06("Yukari_Super1", 800, 0, 800);
}
return;
}

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


# data/chars/Yukari/Super/Yukari_Super200.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==476)
{
if(frame==27)
{
spawn06("Yukari_Super1", 800, 0, 800);
}
return;
}

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


# data/chars/Yukari/Super/Yukari_Super1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==477)
{
if(frame==45)
{
randSound2("supersound/Y_Super1.wav", "supersound/Y_Super2.wav",
"supersound/Y_Super3.wav", "supersound/Y_Super4.wav", "supersound/Y_Super5.wav",
"supersound/Y_Super1.wav", "supersound/Y_Super2.wav", "supersound/Y_Super3.wav",
"supersound/Y_Super4.wav", "supersound/Y_Super5.wav");
}
if(frame==46)
{
spawner2("Yukari_Super2", 0, 0, 0);
}
return;
}

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


# data/chars/dialogues/super/SuperYukari.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==479)
{
if(frame==0)
{
randSound2("supersound/Y_Super1.wav", "supersound/Y_Super2.wav",
"supersound/Y_Super3.wav", "supersound/Y_Super4.wav", "supersound/Y_Super5.wav",
"supersound/Y_Super1.wav", "supersound/Y_Super2.wav", "supersound/Y_Super3.wav",
"supersound/Y_Super4.wav", "supersound/Y_Super5.wav");
}
return;
}

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


# data/chars/dialogues/GeneralFinishYukari/GeneralFinishYukariDir.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==480)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 37; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==482)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M01");
}
return;
}
if(animhandle==483)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M02");
}
return;
}
if(animhandle==484)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M03");
}
return;
}
if(animhandle==485)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M04");
}
return;
}
if(animhandle==486)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M05");
}
return;
}
if(animhandle==487)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M06");
}
return;
}
if(animhandle==488)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M07");
}
return;
}
if(animhandle==489)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M08");
}
return;
}
if(animhandle==490)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M09");
}
return;
}
if(animhandle==491)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M10");
}
return;
}
if(animhandle==492)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M01b");
}
return;
}
if(animhandle==493)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M02b");
}
return;
}
if(animhandle==494)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M03b");
}
return;
}
if(animhandle==495)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M04b");
}
return;
}
if(animhandle==496)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M05b");
}
return;
}
if(animhandle==497)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M06b");
}
return;
}
if(animhandle==498)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M07b");
}
return;
}
if(animhandle==499)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M08b");
}
return;
}
if(animhandle==500)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M09b");
}
return;
}
if(animhandle==501)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M10b");
}
return;
}
if(animhandle==502)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M01d");
}
return;
}
if(animhandle==503)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M02d");
}
return;
}
if(animhandle==504)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M03d");
}
return;
}
if(animhandle==505)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M04d");
}
return;
}
if(animhandle==506)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M05d");
}
return;
}
if(animhandle==507)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M06d");
}
return;
}
if(animhandle==508)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M07d");
}
return;
}
if(animhandle==509)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M08d");
}
return;
}
if(animhandle==510)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M09d");
}
return;
}
if(animhandle==511)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M10d");
}
return;
}
if(animhandle==512)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M11");
}
return;
}
if(animhandle==513)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M11b");
}
return;
}
if(animhandle==514)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M11d");
}
return;
}
if(animhandle==515)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/Y_Finisher_A01.webm", 0);
}
if(frame==3)
{
MusicStage();
}
return;
}
if(animhandle==516)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M12");
}
return;
}
if(animhandle==517)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M12b");
}
return;
}
if(animhandle==518)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M12d");
}
return;
}

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


# data/chars/dialogues/GeneralFinishYukari/GeneralFinishYukari1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==519)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 11; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==521)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M01");
}
return;
}
if(animhandle==522)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M02");
}
return;
}
if(animhandle==523)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M03");
}
return;
}
if(animhandle==524)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M04");
}
return;
}
if(animhandle==525)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M05");
}
return;
}
if(animhandle==526)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M06");
}
return;
}
if(animhandle==527)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M07");
}
return;
}
if(animhandle==528)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M08");
}
return;
}
if(animhandle==529)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M09");
}
return;
}
if(animhandle==530)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M10");
}
return;
}
if(animhandle==531)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M11");
}
return;
}

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


# data/chars/dialogues/GeneralFinishYukari/GeneralFinishYukari2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==532)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 11; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==534)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M01b");
}
return;
}
if(animhandle==535)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M02b");
}
return;
}
if(animhandle==536)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M03b");
}
return;
}
if(animhandle==537)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M04b");
}
return;
}
if(animhandle==538)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M05b");
}
return;
}
if(animhandle==539)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M06b");
}
return;
}
if(animhandle==540)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M07b");
}
return;
}
if(animhandle==541)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M08b");
}
return;
}
if(animhandle==542)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M09b");
}
return;
}
if(animhandle==543)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M10b");
}
return;
}
if(animhandle==544)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M11b");
}
return;
}

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


# data/chars/dialogues/GeneralFinishYukari/GeneralFinishYukari3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==545)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 11; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==547)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M01d");
}
return;
}
if(animhandle==548)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M02d");
}
return;
}
if(animhandle==549)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M03d");
}
return;
}
if(animhandle==550)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M04d");
}
return;
}
if(animhandle==551)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M05d");
}
return;
}
if(animhandle==552)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M06d");
}
return;
}
if(animhandle==553)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M07d");
}
return;
}
if(animhandle==554)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M08d");
}
return;
}
if(animhandle==555)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M09d");
}
return;
}
if(animhandle==556)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M10d");
}
return;
}
if(animhandle==557)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superyukari", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishYukari_M11d");
}
return;
}

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


# data/chars/dialogues/GeneralFinishYukari/GeneralFinishYukariWebm1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==558)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==560)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==561)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==562)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==563)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==564)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==565)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==566)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==567)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==568)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==569)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ01.webm", 0);
}
return;
}

}
#### animationscript function main #####
# data/chars/dialogues/GeneralFinishYukari/MaidFinishYukari.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==570)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==572)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==573)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==574)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==575)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==576)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==577)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==578)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==579)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==580)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==581)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}

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


# data/chars/Yukari/lust/S01/Yukari_S01.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==582)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
TextPop("PRESS_TAG_TO_CHANGE_POSE", 50, 1, 660, 837, 1000);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==583)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(r >= 90){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
StopSounds();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
killgun(9, 0);
}
return;
}
if(animhandle==584)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==585)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==586)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==587)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 5, 290, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 5, 290, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 5, 290, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 5, 290, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==588)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==589)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==590)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==591)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 220, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 220, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 220, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 220, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}

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


# data/chars/Yukari/Yukari.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==592)
{
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==593)
{

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "mp", 100);


setentityvar(self, "DedSt", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "JMoz", 0);
setentityvar(self, "Spid", 10); // default speed
setentityvar(self, "RSpid", 10); // default running speed
setentityvar(self, "JSpid", 2); // default jump speed
setLevel(); // sets maxhealth and maxlevel based on current level
}
return;
}
if(animhandle==595)
{
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==596)
{
if(frame==3)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==597)
{

if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base

if(y > b){ // Mid air?


changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status
changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
} else{
setidle(self);
}
}
if(frame==1)
{
floater(20);
}
return;
}
if(animhandle==598)
{

if(frame==5){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==0)
{
target(10, 10, 1, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 0);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==599)
{

if(frame==5){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==0)
{
target(10, 10, 1, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 0);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==600)
{

if(frame==5){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==0)
{
target(10, 10, 1, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 0);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==601)
{

if(frame==5){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==0)
{
target(10, 10, 1, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 0);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==602)
{

if(frame==5){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==0)
{
target(10, 10, 1, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 0);
}
if(frame==1)
{
dash();
}
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==603)
{

if(frame==11){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==7)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==604)
{

if(frame==12){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==7)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==605)
{

if(frame==12){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==7)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==606)
{

if(frame==10){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==5)
{
spawner("trail", 0, 0, 0);
}
if(frame==8)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==607)
{

if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 5;
float Vz = 0;
int Cost = 0; // dash cost

if(Dir == 0){
Vx = -Vx;
}

if(playerkeys(iPIndex, 0, "moveup")){
Vz = -2;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 2;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -5;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 5;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}

if(MP < Cost){


setidle(self);
}

changeentityproperty(self, "mp", MP - Cost);


changeentityproperty(self, "velocity", Vx, Vz);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
randSound("Y_Laugh1.wav", "Y_Laugh2.wav", "Y_Laugh2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==608)
{
if(frame==0)
{
consume(100, 0, "ANI_CANT");
}
if(frame==1)
{
spawn01("hyper", 0, 200, 0);
}
if(frame==2)
{
spawn06("Yukari_Super200", 800, 0, 800);
}
if(frame==3)
{
spawner2("Yukari_Super2", 0, 0, 0);
}
return;
}
if(animhandle==609)
{
if(frame==0)
{
consume(100, 0, "ANI_CANT");
}
if(frame==7)
{
spawn01("hyper", 0, 50, 0);
}
if(frame==8)
{
spawn06("Yukari_Super200", 800, 0, 800);
}
if(frame==9)
{
spawner2("Yukari_Super2", 0, 0, 0);
}
return;
}
if(animhandle==610)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==611)
{

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==612)
{
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==613)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}
setentityvar(self, "RunJump", 0);
changeentityproperty(self, "velocity", NULL(), NULL(), 9);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==614)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ADash", 0);


setentityvar(self, "ABDash", 0);
setentityvar(self, "DJump", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "RunJump", 0);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==615)
{

if(frame==2){
void self = getlocalvar("self");

changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status


changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
return;
}
if(animhandle==616)
{

if(frame==2){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ADash");
int Run = getentityvar(self, "RunJump");

if(Dash==1 && Run==1){


changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else if(Dash==1){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
setentityvar(self, "ADash", 1);
floater(47);
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
}
}
if(frame==7){
void self = getlocalvar("self");
int Vx = getentityproperty(self,"xdir");
int Run = getentityvar(self, "RunJump");

setentityvar(self, "JMox", Vx);

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==1)
{
keyflip(0);
}
if(frame==3)
{
spawner("trail", 0, 0, 0);
}
if(frame==3)
{
dasher(8, 0, 0, 1);
}
return;
}
if(animhandle==617)
{
if(frame==1){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ABDash");
int Run = getentityvar(self, "RunJump");

flip();
if(Dash==1 && Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else if(Dash==1){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
setentityvar(self, "ABDash", 1);
floater(47);
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
}
}
if(frame==6){
void self = getlocalvar("self");
int Vx = getentityproperty(self,"xdir");
int Run = getentityvar(self, "RunJump");

setentityvar(self, "JMox", Vx);

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==2)
{
dasher(8, 0, 0, 1);
}
return;
}
if(animhandle==618)
{

if(frame==10){
void self = getlocalvar("self");

changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW10"));


}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==5)
{
spawner("trail", 0, 0, 0);
}
if(frame==8)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==619)
{

if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==620)
{

if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");

if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==621)
{
if(frame==1)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==622)
{
if(frame==1)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==623)
{
if(frame==1)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==624)
{
if(frame==1)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==625)
{
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
return;
}
if(animhandle==626)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==627)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==628)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==629)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==630)
{
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
return;
}
if(animhandle==631)
{
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==632)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==633)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==634)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==635)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==636)
{

if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");

setentityvar(self, "DedSt", 0);

if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==637)
{
if(frame==4)
{
spawn01("Yukari_S01", 0, 0, 0);
}
return;
}

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


# data/chars/Estrelle/Super/Estrelle_Pillar.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==638)
{
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==641)
{
if(frame==3)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==642)
{
if(frame==1)
{
target(5, 3, 0, 100, 0, 1);
}
if(frame==3)
{
shootT("bullet1", 0, 220, 1);
}
return;
}
if(animhandle==643)
{
if(frame==1)
{
target(5, 3, 0, 100, 0, 1);
}
if(frame==3)
{
shootT("bullet2", 0, 220, 1);
}
return;
}

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


# data/chars/Estrelle/lust/S01/Estrelle_S01.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==645)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW16"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
TextPop("PRESS_TAG_TO_CHANGE_POSE", 50, 1, 660, 837, 1000);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==646)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW16"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
StopSounds();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
killgun(9, 0);
}
return;
}
if(animhandle==647)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==648)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==649)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==650)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==30)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==51)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==72)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==651)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==652)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==653)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==654)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 200, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 200, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 200, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 200, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}
if(animhandle==655)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW12", 0);
}
return;
}
if(animhandle==656)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW13", 0);
}
return;
}
if(animhandle==657)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW14", 0);
}
return;
}
if(animhandle==658)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 95, 45, 5);
}
if(frame==30)
{
spawn01("cum1", 95, 45, 5);
}
if(frame==51)
{
spawn01("cum1", 95, 45, 5);
}
if(frame==72)
{
spawn01("cum1", 95, 45, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW11", 0);
}
return;
}
if(animhandle==659)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW17", 0);
}
return;
}
if(animhandle==660)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW18", 0);
}
return;
}
if(animhandle==661)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW19", 0);
}
return;
}
if(animhandle==662)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 50, 30, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 50, 30, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 50, 30, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 50, 30, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW16", 0);
}
return;
}
if(animhandle==663)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("kiss3.wav", "kiss4.wav", "kiss3.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW22", 0);
}
return;
}
if(animhandle==664)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("kiss3.wav", "kiss4.wav", "kiss3.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW23", 0);
}
return;
}
if(animhandle==665)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("kiss3.wav", "kiss4.wav", "kiss3.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW24", 0);
}
return;
}
if(animhandle==666)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("kiss3.wav", "kiss4.wav", "kiss3.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW21", 0);
}
return;
}
if(animhandle==667)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
if(frame==5 && P1){
void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW27", 0);
}
return;
}
if(animhandle==668)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW28", 0);
}
return;
}
if(animhandle==669)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW29", 0);
}
return;
}
if(animhandle==670)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 70, 90, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 70, 90, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 70, 90, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 70, 90, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW26", 0);
}
return;
}
if(animhandle==671)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW32", 0);
}
return;
}
if(animhandle==672)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW33", 0);
}
return;
}
if(animhandle==673)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW34", 0);
}
return;
}
if(animhandle==674)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 140, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 140, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 140, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 140, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW31", 0);
}
return;
}
if(animhandle==675)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW37", 0);
}
return;
}
if(animhandle==676)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW38", 0);
}
return;
}
if(animhandle==677)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW39", 0);
}
return;
}
if(animhandle==678)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW36", 0);
}
return;
}

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


# data/chars/Estrelle/Estrelle.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==679)
{
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==680)
{

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "mp", 100);


setentityvar(self, "JMox", 0);
setentityvar(self, "JMoz", 0);
setentityvar(self, "Spid", 4); // default speed
setentityvar(self, "RSpid", 4); // default running speed
setentityvar(self, "JSpid", 2); // default jump speed
setLevel(); // sets maxhealth and maxlevel based on current level
}
return;
}
if(animhandle==682)
{
if(frame==3)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==683)
{

if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base

if(y > b){ // Mid air?


changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status
changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
} else{
setidle(self);
}
}
if(frame==1)
{
floater(20);
}
return;
}
if(animhandle==684)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 170, 130, 0, 0, 0, 0);
}
if(frame==3)
{
shooter("bullene2", 210, 120, 1, 18, 0, 4);
}
if(frame==3)
{
shooter("bullene2", 230, 120, 1, 18, 0, 2);
}
if(frame==3)
{
shooter("bullene2", 220, 120, 1, 18, 0, 0);
}
if(frame==3)
{
shooter("bullene2", 240, 120, 1, 18, 0, -2);
}
if(frame==3)
{
shooter("bullene2", 200, 120, 1, 18, 0, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==685)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 170, 130, 0, 0, 0, 0);
}
if(frame==3)
{
shooter("bullene2", 210, 120, 1, 18, 0, 4);
}
if(frame==3)
{
shooter("bullene2", 230, 120, 1, 18, 0, 2);
}
if(frame==3)
{
shooter("bullene2", 220, 120, 1, 18, 0, 0);
}
if(frame==3)
{
shooter("bullene2", 240, 120, 1, 18, 0, -2);
}
if(frame==3)
{
shooter("bullene2", 200, 120, 1, 18, 0, -4);
}
return;
}
if(animhandle==686)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 170, 130, 0, 0, 0, 0);
}
if(frame==3)
{
shooter("bullene2", 220, 120, 1, 18, 0, 0);
}
if(frame==4)
{
Jalan("ANI_FOLLOW1", 0, 1.5, 1.1);
}
if(frame==4)
{
keyint2("ANI_FREESPECIAL", 6, "A2", 1);
}
if(frame==4)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==6)
{
shooter("muzzle2", 170, 140, 0, 0, 0, 0);
}
if(frame==6)
{
shooter("bullene2", 220, 110, 1, 18, 0, 0.5);
}
if(frame==7)
{
Jalan("ANI_FOLLOW1", 0, 1.5, 1.1);
}
if(frame==7)
{
keyint2("ANI_FREESPECIAL45", 1, "A2", 0);
}
return;
}
if(animhandle==687)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==1)
{
keymove(0.3, 0.3);
}
if(frame==1)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==1)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
if(frame==3)
{
shooter("muzzle2", 170, 135, 0, 0, 0, 0);
}
if(frame==3)
{
shooter("bullene2", 220, 110, 1, 18, 0, 0);
}
if(frame==4)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==4)
{
keymove(0.3, 0.3);
}
if(frame==4)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==4)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
if(frame==6)
{
shooter("muzzle2", 170, 145, 0, 0, 0, 0);
}
if(frame==6)
{
shooter("bullene2", 220, 110, 1, 18, 0, 1);
}
if(frame==7)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==7)
{
keymove(0.3, 0.3);
}
if(frame==7)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==7)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
if(frame==9)
{
shooter("muzzle2", 170, 142, 0, 0, 0, 0);
}
if(frame==9)
{
shooter("bullene2", 220, 110, 1, 18, 0, -1);
}
return;
}
if(animhandle==688)
{

if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 10;
float Vz = 0;
int Cost = 0; // dash cost

if(Dir == 0){
Vx = -Vx;
}

if(playerkeys(iPIndex, 0, "moveup")){
Vz = -5;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 5;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -10;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 10;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}

if(MP < Cost){


setidle(self);
}

changeentityproperty(self, "mp", MP - Cost);


changeentityproperty(self, "velocity", Vx, Vz);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
if(frame==8)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==689)
{
if(frame==0)
{
consume(100, 0, "ANI_CANT");
}
if(frame==1)
{
spawn01("hyper", 0, 200, 0);
}
if(frame==5)
{
dc_animation_bomb(openborconstant("ANI_RISE12"));
}
return;
}
if(animhandle==690)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==691)
{

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==692)
{
if(frame==0)
{
target(10, 10, 0, 0, 1);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
target(0, 0, 0, 0, 1);
}
if(frame==1)
{
dash();
}
return;
}
if(animhandle==693)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}

setentityvar(self, "RunJump", 0);


changeentityproperty(self, "velocity", NULL(), NULL(), 9);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==694)
{

if(frame==1){
void self = getlocalvar("self");
setentityvar(self, "ADash", 0);
setentityvar(self, "ABDash", 0);
setentityvar(self, "DJump", 0);
setentityvar(self, "JMox", 0);
setentityvar(self, "RunJump", 0);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==695)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 270, 150, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 310, 140, 1, 18, -8, 4);
}
if(frame==3)
{
shooterdown("bullene2", 330, 140, 1, 18, -8, 2);
}
if(frame==3)
{
shooterdown("bullene2", 320, 140, 1, 18, -8, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 140, 1, 18, -8, -2);
}
if(frame==3)
{
shooterdown("bullene2", 300, 140, 1, 18, -8, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==696)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 300, 190, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 180, 1, 18, -6, 4);
}
if(frame==3)
{
shooterdown("bullene2", 360, 180, 1, 18, -6, 2);
}
if(frame==3)
{
shooterdown("bullene2", 350, 180, 1, 18, -6, 0);
}
if(frame==3)
{
shooterdown("bullene2", 370, 180, 1, 18, -6, -2);
}
if(frame==3)
{
shooterdown("bullene2", 330, 180, 1, 18, -6, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==697)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 270, 150, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 310, 140, 1, 18, -4, 4);
}
if(frame==3)
{
shooterdown("bullene2", 330, 140, 1, 18, -4, 2);
}
if(frame==3)
{
shooterdown("bullene2", 320, 140, 1, 18, -4, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 140, 1, 18, -4, -2);
}
if(frame==3)
{
shooterdown("bullene2", 300, 140, 1, 18, -4, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==698)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 300, 190, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 180, 1, 18, -8, 4);
}
if(frame==3)
{
shooterdown("bullene2", 360, 180, 1, 18, -8, 2);
}
if(frame==3)
{
shooterdown("bullene2", 350, 180, 1, 18, -8, 0);
}
if(frame==3)
{
shooterdown("bullene2", 370, 180, 1, 18, -8, -2);
}
if(frame==3)
{
shooterdown("bullene2", 330, 180, 1, 18, -8, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==699)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 270, 150, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 310, 140, 1, 18, -6, 4);
}
if(frame==3)
{
shooterdown("bullene2", 330, 140, 1, 18, -6, 2);
}
if(frame==3)
{
shooterdown("bullene2", 320, 140, 1, 18, -6, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 140, 1, 18, -6, -2);
}
if(frame==3)
{
shooterdown("bullene2", 300, 140, 1, 18, -6, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==700)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 300, 190, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 180, 1, 18, -4, 4);
}
if(frame==3)
{
shooterdown("bullene2", 360, 180, 1, 18, -4, 2);
}
if(frame==3)
{
shooterdown("bullene2", 350, 180, 1, 18, -4, 0);
}
if(frame==3)
{
shooterdown("bullene2", 370, 180, 1, 18, -4, -2);
}
if(frame==3)
{
shooterdown("bullene2", 330, 180, 1, 18, -4, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==701)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==702)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==703)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==704)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==705)
{
if(frame==0)
{
randSound("Maid_Pain2.wav", "Maid_Pain1.wav", "Maid_Pain1.wav");
}
return;
}
if(animhandle==706)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==707)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==708)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==709)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==710)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
return;
}
if(animhandle==711)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==712)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==713)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==714)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==715)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==716)
{

if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");

setentityvar(self, "DedSt", 0);

if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==717)
{
if(frame==4)
{
spawn01("Estrelle_S01", 0, 0, 0);
}
return;
}

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


# data/chars/Hero/lust/S01/Hero_Maid_S01.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==719)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
TextPop("PRESS_TAG_TO_CHANGE_POSE", 50, 1, 660, 837, 1000);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==720)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
StopSounds();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
killgun(9, 0);
}
return;
}
if(animhandle==721)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==722)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==723)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==724)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 45, 55, 1);
}
if(frame==30)
{
spawn01("cum1", 45, 55, 1);
}
if(frame==51)
{
spawn01("cum1", 45, 55, 1);
}
if(frame==72)
{
spawn01("cum1", 45, 55, 1);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==725)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==726)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==727)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==728)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 200, -5, 10, "ANI_FOLLOW1");
}
if(frame==30)
{
spawnGun5("cum2", 10, 200, -4, 11, "ANI_FOLLOW2");
}
if(frame==51)
{
spawnGun5("cum2", 10, 200, -3, 12, "ANI_FOLLOW3");
}
if(frame==72)
{
spawnGun5("cum2", 10, 200, -2, 13, "ANI_FOLLOW4");
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}

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


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

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "DedSt", 0);


setLevel(); // sets maxhealth and maxlevel based on current level
}
return;
}
if(animhandle==732)
{
if(frame==1)
{
spawnbind("dust_walking", -180, -10, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==733)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==734)
{
if(frame==0)
{
attackclose(-100, 100, 100, "ANI_ATTACK4");
}
if(frame==1)
{
randSound("Hero_Attack4.wav", "Hero_Attack5.wav", "Hero_Attack6.wav");
}
if(frame==12)
{
spawnbind("dust_walking", 0, -10, 1);
}
if(frame==13)
{
spawn01("stabbig", 440, 100, 1);
}
if(frame==20)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==735)
{
if(frame==0)
{
randSound("Hero_Attack1.wav", "Hero_Attack2.wav", "Hero_Attack3.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==736)
{

if(frame==1){
void Shot = shooter2("HSwordS2", 140, 220, 0, 0.2, 15, 0);

setglobalvar("HSword", Shot);
}
return;
}
if(animhandle==737)
{

if(frame==2){
void Shot = shooter2("HSwordS2", 140, 220, 0, 3, 12, 0);

setglobalvar("HSword", Shot);
}
return;
}
if(animhandle==738)
{
if(frame==0)
{
target(3, 0, 0, 0, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
randSound("Hero_Attack4.wav", "Hero_Attack5.wav", "Hero_Attack6.wav");
}
if(frame==2)
{
target(0, 0, 0, 0, 1, 0);
}
if(frame==2)
{
dash();
}
if(frame==11)
{
spawn01("slashbig", 190, 0, -1);
}
if(frame==12)
{
spawn01("dust_landing", 250, 80, 1);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==739)
{
if(frame==0)
{
target(3, 0, 0, 0, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
randSound("Hero_Attack4.wav", "Hero_Attack5.wav", "Hero_Attack6.wav");
}
if(frame==2)
{
target(0, 0, 0, 0, 1, 0);
}
if(frame==2)
{
dash();
}
if(frame==11)
{
spawn01("slashbig", 190, 0, -1);
}
if(frame==12)
{
spawn01("dust_landing", 250, 80, 1);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==740)
{

if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 0.5;
float Vz = 0;
int Cost = 0; // dash cost

if(Dir == 0){
Vx = -Vx;
}

if(playerkeys(iPIndex, 0, "moveup")){
Vz = -0.5;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 0.5;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -0.5;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 0.5;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}

if(MP < Cost){


setidle(self);
}

changeentityproperty(self, "mp", MP - Cost);


changeentityproperty(self, "velocity", Vx, Vz);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==741)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==742)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==743)
{

if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base

if(y > b){ // Mid air?


changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status
changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
} else{
setidle(self);
}
}
if(frame==1)
{
floater(20);
}
return;
}
if(animhandle==744)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==745)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==746)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==747)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
spawnA("story", 0, 0, 0, "NunAtk_M01");
}
return;
}
if(animhandle==748)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==749)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W01");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W02");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W03");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W04");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W05");
}
}
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==750)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==751)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==752)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==753)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==754)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari2", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==755)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari3", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==756)
{
if(frame==1)
{
spawn06("GeneralFinishLibrarian1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==757)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN96"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==758)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==759)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==0)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==760)
{

if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");

setentityvar(self, "DedSt", 0);

if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(4);
}
return;
}
if(animhandle==761)
{
if(frame==0)
{
consume(100, 0, "ANI_CANT");
}
if(frame==1)
{
spawn01("hyper", 25, 150, 0);
}
if(frame==2)
{
spawn06("Hero_Super", 800, 0, 800);
}
if(frame==3)
{
spawnFX("Defender", 0, 20, 2, "Defend");
}
return;
}
if(animhandle==762)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==763)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 1);
} else if(LKey){
setentityvar(self, "JMox", -1);
} else {
setentityvar(self, "JMox", 0);
}

setentityvar(self, "RunJump", 0);


changeentityproperty(self, "velocity", NULL(), NULL(), 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==764)
{
if(frame==1)
{
randSound("Hero_Attack4.wav", "Hero_Attack5.wav", "Hero_Attack6.wav");
}
if(frame==4)
{
spawn01("slashbig", 190, 0, -1);
}
if(frame==20)
{
setglobalvar("zoomentity", NULL());
}
if(frame==20)
{
spawn01("dust_landing", 250, 80, 1);
}
return;
}
if(animhandle==765)
{
if(frame==4)
{
spawn01("Hero_Maid_S01", 0, 0, 0);
}
return;
}

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


# data/chars/Hero/HeroTalk.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==768)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==769)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==771)
{

if(frame==1){
void self = getlocalvar("self");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 10;
float Vz = 0;

if(Dir == 0){
Vx = -Vx;
}

if(playerkeys(iPIndex, 0, "moveup")){
Vz = -5;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 5;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -10;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 10;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}
changeentityproperty(self, "velocity", Vx, Vz);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==772)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0 && DedSt){


performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==773)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==774)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==775)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==776)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==777)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W01");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W02");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W03");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W04");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W05");
}
}
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==778)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==779)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==780)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==781)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==782)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari2", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==783)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari3", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==784)
{
if(frame==1)
{
spawn06("GeneralFinishLibrarian1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==785)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==786)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==0)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==787)
{

if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");

setentityvar(self, "DedSt", 0);

if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(4);
}
return;
}

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


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

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "Speed", 0.1); // default speed


}
return;
}
if(animhandle==792)
{

if(frame==2){
void self = getlocalvar("self");

changeentityproperty(self, "Speed", 1); // default speed


}
if(frame==5){

void self = getlocalvar("self");


changeentityproperty(self, "Speed", 0.1); // default speed
}
if(frame==1)
{
spawnbind("dust_walking", -380, -10, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}

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


# data/chars/Hero/HeroNo.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==795)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==796)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==797)
{
if(frame==0)
{
randSound("Hero_Attack1.wav", "Hero_Attack2.wav", "Hero_Attack3.wav");
}
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
if(frame==2)
{
target(0, 0, 0, 0, 1);
}
if(frame==2)
{
dash();
}
return;
}
if(animhandle==798)
{
if(frame==0)
{
randSound("Hero_Attack1.wav", "Hero_Attack2.wav", "Hero_Attack3.wav");
}
return;
}
if(animhandle==800)
{

if(frame==1){
void self = getlocalvar("self");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 10;
float Vz = 0;

if(Dir == 0){
Vx = -Vx;
}

if(playerkeys(iPIndex, 0, "moveup")){
Vz = -5;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 5;
}

if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -10;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 10;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}

if(Vx < 0){


changeentityproperty(self, "direction", 0);
} else if(Vx > 0){
changeentityproperty(self, "direction", 1);
}

changeentityproperty(self, "velocity", Vx, Vz);


}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==801)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0 && DedSt){


performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==802)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==803)
{

if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base

if(y > b){ // Mid air?


changeentityproperty(self, "aiflag", "jumping", 1); // Enable jumping status
changeentityproperty(self, "aiflag", "attacking", 0); // Disable attacking
status
changeentityproperty(self, "takeaction", "common_jump"); // Enters jumping
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
updateframe(self, 3);
} else{
setidle(self);
}
}
if(frame==1)
{
floater(20);
}
return;
}
if(animhandle==804)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==805)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==806)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==807)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
spawnA("story", 0, 0, 0, "NunAtk_M01");
}
return;
}
if(animhandle==808)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==809)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W01");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W02");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W03");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W04");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W05");
}
}
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==810)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==811)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==812)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==813)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==814)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari2", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==815)
{

if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");

if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari3", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==816)
{
if(frame==1)
{
spawn06("GeneralFinishLibrarian1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==817)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN96"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==818)
{

if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");

if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==819)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==0)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==820)
{

if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");

setentityvar(self, "DedSt", 0);

if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(4);
}
return;
}
if(animhandle==821)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==822)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}

setentityvar(self, "RunJump", 0);


changeentityproperty(self, "velocity", NULL(), NULL(), 12);
}
if(frame==10)
{
spawn01("dust_landing", 270, 80, 1);
}
return;
}
if(animhandle==823)
{
if(frame==0)
{
GrabNAni("HSwordS2", 540, 550, 120, "ANI_FOLLOW1");
}
if(frame==1)
{
randSound("Hero_Attack1.wav", "Hero_Attack2.wav", "Hero_Attack3.wav");
}
return;
}
if(animhandle==824)
{

if(frame==1){
void self = getlocalvar("self");

setglobalvar("HSword", NULL());
changeentityproperty(self, "weapon", 4);
changeentityproperty(self, "animation", openborconstant("ANI_JUMPATTACK"));
}
return;
}
if(animhandle==825)
{
if(frame==4)
{
spawn01("Hero_Maid_S01", 0, 0, 0);
}
return;
}

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


# data/chars/Hero/NoSword/HSwordS2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==828)
{

if(frame==10){
void Shot = spawn01("HSword", 0, 0, 0);

setglobalvar("HSword", Shot);
}
if(frame==10)
{
spawn01("dust_landing", 270, 80, 1);
}
if(frame==11)
{
suicide();
}
return;
}

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


# data/chars/Hero/NoSword/HSwordS0.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==829)
{

if(frame==10){
void Shot = spawn01("HSword", 0, 0, 0);

setglobalvar("HSword", Shot);
}
if(frame==10)
{
spawn01("dust_landing", 270, 80, 1);
}
if(frame==11)
{
suicide();
}
return;
}

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


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

void self = getlocalvar("self"); //Get calling entity


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

int x = getglobalvar("x"+iPIndex);
int z = getglobalvar("z"+iPIndex);

if( x!=NULL() && z!=NULL() && frame == 1){


changeentityproperty(self,"position", x, z);
}
return;
}

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


# data/chars/travel/travel2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==840)
{

void self = getlocalvar("self"); //Get calling entity


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

int x = getglobalvar("x"+iPIndex);
int z = getglobalvar("z"+iPIndex);

if( x!=NULL() && z!=NULL() && frame == 1){


changeentityproperty(self,"position", x, z);
}
return;
}

}
#### animationscript function main #####
# data/chars/Shooter/Shooter.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==846)
{
if(frame==1)
{
spawn06("Shooter_Estrelle", 800, 0, 800);
}
return;
}
if(animhandle==849)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==4)
{
Jalan("ANI_FOLLOW1", 0, 1.5, 1.1);
}
if(frame==4)
{
keyint2("ANI_FREESPECIAL", 6, "A2", 1);
}
if(frame==4)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==7)
{
Jalan("ANI_FOLLOW1", 0, 1.5, 1.1);
}
if(frame==7)
{
keyint2("ANI_FREESPECIAL45", 1, "A2", 0);
}
return;
}
if(animhandle==850)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==1)
{
keymove(5, 5);
}
if(frame==1)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==1)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
if(frame==4)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==4)
{
keymove(5, 5);
}
if(frame==4)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==4)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
if(frame==7)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==7)
{
keymove(5, 5);
}
if(frame==7)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==7)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
return;
}

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


# data/chars/Princess/Princess.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==855)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==856)
{
if(frame==4)
{
setglobalvar("zoomentity", NULL());
}
return;
}

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


# data/chars/Zuruthustra/Zuruthustra.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==868)
{
if(frame==0)
{
consume(30, 0, "ANI_CANT");
}
return;
}
if(animhandle==871)
{

if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");

if(RKey){
setentityvar(self, "JMox", 4);
} else if(LKey){
setentityvar(self, "JMox", -4);
} else {
setentityvar(self, "JMox", 0);
}

changeentityproperty(self, "velocity", NULL(), NULL(), 9);


}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
}

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


# data/chars/aerisetta/Parry.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==874)
{
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
suicide();
}
return;
}
if(animhandle==875)
{
if(frame==2)
{
suicide();
}
return;
}
if(animhandle==876)
{
if(frame==1)
{
suicide();
}
return;
}

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


# data/bgs/gallery/cursor.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==878)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Step = getentityproperty(self, "grabforce");

int H = checkwall(x+Step,z);
if(H <= 0){
int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x + Step);
}
}
return;
}
if(animhandle==879)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Step = getentityproperty(self, "grabforce");

int H = checkwall(x-Step,z);

if(H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x - Step);
}
}
return;
}
if(animhandle==880)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Leap = getentityproperty(self, "antigrab");
int ZMin = openborvariant("PLAYER_MIN_Z");

int H = checkwall(x,z - Leap);

if(z - Leap > ZMin && H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x, z - Leap);
}
}
return;
}
if(animhandle==881)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Leap = getentityproperty(self, "antigrab");
int ZMax = openborvariant("PLAYER_MAX_Z");
int H = checkwall(x,z + Leap);

if(z + Leap < ZMax && H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x, z + Leap);
}
}
return;
}

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


# data/chars/misc/hyper/hyper.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==884)
{
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);
}
if(frame==2)
{
setglobalvar("zoomvalue", 350);
}
if(frame==3)
{
setglobalvar("zoomvalue", 380);
}
if(frame==4)
{
setglobalvar("zoomvalue", 410);
}
if(frame==5)
{
setglobalvar("zoomvalue", 430);
}
if(frame==6)
{
setglobalvar("zoomvalue", 460);
}
if(frame==7)
{
setglobalvar("zoomvalue", 490);
}
if(frame==8)
{
setglobalvar("zoomvalue", 520);
}
if(frame==9)
{
setglobalvar("zoomvalue", 550);
}
if(frame==10)
{
setglobalvar("zoomvalue", 580);
}
if(frame==11)
{
setglobalvar("zoomvalue", 610);
}
if(frame==12)
{
setglobalvar("zoomvalue", 640);
}
if(frame==13)
{
setglobalvar("zoomvalue", 670);
}
if(frame==14)
{
setglobalvar("zoomvalue", 700);
}
if(frame==15)
{
setglobalvar("zoomvalue", 730);
}
if(frame==17)
{
setglobalvar("zoomvalue", 760);
}
if(frame==19)
{
setglobalvar("zoomvalue", 790);
}
if(frame==21)
{
setglobalvar("zoomvalue", 820);
}
if(frame==23)
{
setglobalvar("zoomvalue", 850);
}
if(frame==30)
{
setglobalvar("zoomentity", NULL());
}
return;
}
}

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


# data/chars/misc/hyper/zoom.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==885)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 310);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 311);
}
if(frame==2)
{
setglobalvar("zoomvalue", 312);
}
if(frame==3)
{
setglobalvar("zoomvalue", 313);
}
if(frame==4)
{
setglobalvar("zoomvalue", 314);
}
if(frame==5)
{
setglobalvar("zoomvalue", 315);
}
if(frame==6)
{
setglobalvar("zoomvalue", 316);
}
if(frame==7)
{
setglobalvar("zoomvalue", 317);
}
if(frame==8)
{
setglobalvar("zoomvalue", 318);
}
if(frame==9)
{
setglobalvar("zoomvalue", 319);
}
if(frame==10)
{
setglobalvar("zoomvalue", 320);
}
if(frame==11)
{
setglobalvar("zoomvalue", 321);
}
if(frame==12)
{
setglobalvar("zoomvalue", 322);
}
if(frame==13)
{
setglobalvar("zoomvalue", 323);
}
if(frame==14)
{
setglobalvar("zoomvalue", 324);
}
if(frame==15)
{
setglobalvar("zoomvalue", 325);
}
if(frame==16)
{
setglobalvar("zoomvalue", 326);
}
if(frame==17)
{
setglobalvar("zoomvalue", 327);
}
if(frame==18)
{
setglobalvar("zoomvalue", 328);
}
if(frame==19)
{
setglobalvar("zoomvalue", 329);
}
if(frame==20)
{
setglobalvar("zoomvalue", 330);
}
if(frame==21)
{
setglobalvar("zoomvalue", 331);
}
if(frame==22)
{
setglobalvar("zoomvalue", 332);
}
if(frame==23)
{
setglobalvar("zoomvalue", 333);
}
if(frame==24)
{
setglobalvar("zoomvalue", 334);
}
if(frame==25)
{
setglobalvar("zoomvalue", 335);
}
if(frame==26)
{
setglobalvar("zoomvalue", 336);
}
if(frame==27)
{
setglobalvar("zoomvalue", 337);
}
if(frame==28)
{
setglobalvar("zoomvalue", 338);
}
if(frame==29)
{
setglobalvar("zoomvalue", 339);
}
if(frame==30)
{
setglobalvar("zoomvalue", 340);
}
if(frame==31)
{
setglobalvar("zoomvalue", 341);
}
if(frame==32)
{
setglobalvar("zoomvalue", 342);
}
if(frame==33)
{
setglobalvar("zoomvalue", 343);
}
if(frame==34)
{
setglobalvar("zoomvalue", 344);
}
if(frame==35)
{
setglobalvar("zoomvalue", 345);
}
if(frame==36)
{
setglobalvar("zoomvalue", 346);
}
if(frame==37)
{
setglobalvar("zoomvalue", 347);
}
if(frame==38)
{
setglobalvar("zoomvalue", 348);
}
if(frame==39)
{
setglobalvar("zoomvalue", 349);
}
if(frame==40)
{
setglobalvar("zoomvalue", 350);
}
if(frame==41)
{
setglobalvar("zoomvalue", 351);
}
if(frame==42)
{
setglobalvar("zoomvalue", 352);
}
if(frame==43)
{
setglobalvar("zoomvalue", 353);
}
if(frame==44)
{
setglobalvar("zoomvalue", 354);
}
if(frame==45)
{
setglobalvar("zoomvalue", 355);
}
if(frame==46)
{
setglobalvar("zoomvalue", 356);
}
if(frame==47)
{
setglobalvar("zoomvalue", 357);
}
if(frame==48)
{
setglobalvar("zoomvalue", 358);
}
if(frame==49)
{
setglobalvar("zoomvalue", 359);
}
if(frame==50)
{
setglobalvar("zoomvalue", 360);
}
if(frame==51)
{
setglobalvar("zoomvalue", 361);
}
if(frame==52)
{
setglobalvar("zoomvalue", 362);
}
if(frame==53)
{
setglobalvar("zoomvalue", 363);
}
if(frame==54)
{
setglobalvar("zoomvalue", 364);
}
if(frame==55)
{
setglobalvar("zoomvalue", 365);
}
if(frame==56)
{
setglobalvar("zoomvalue", 366);
}
if(frame==57)
{
setglobalvar("zoomvalue", 367);
}
if(frame==58)
{
setglobalvar("zoomvalue", 368);
}
if(frame==59)
{
setglobalvar("zoomvalue", 369);
}
if(frame==60)
{
setglobalvar("zoomvalue", 370);
}
if(frame==61)
{
setglobalvar("zoomvalue", 371);
}
if(frame==62)
{
setglobalvar("zoomvalue", 372);
}
if(frame==63)
{
setglobalvar("zoomvalue", 373);
}
if(frame==64)
{
setglobalvar("zoomvalue", 374);
}
if(frame==65)
{
setglobalvar("zoomvalue", 375);
}
if(frame==66)
{
setglobalvar("zoomvalue", 376);
}
if(frame==67)
{
setglobalvar("zoomvalue", 377);
}
if(frame==68)
{
setglobalvar("zoomvalue", 378);
}
if(frame==69)
{
setglobalvar("zoomvalue", 379);
}
if(frame==70)
{
setglobalvar("zoomvalue", 380);
}
if(frame==71)
{
setglobalvar("zoomvalue", 381);
}
if(frame==72)
{
setglobalvar("zoomvalue", 382);
}
if(frame==73)
{
setglobalvar("zoomvalue", 383);
}
if(frame==74)
{
setglobalvar("zoomvalue", 384);
}
if(frame==75)
{
setglobalvar("zoomvalue", 385);
}
if(frame==76)
{
setglobalvar("zoomvalue", 386);
}
if(frame==77)
{
setglobalvar("zoomvalue", 387);
}
if(frame==78)
{
setglobalvar("zoomvalue", 388);
}
if(frame==79)
{
setglobalvar("zoomvalue", 389);
}
if(frame==80)
{
setglobalvar("zoomvalue", 390);
}
if(frame==81)
{
setglobalvar("zoomvalue", 391);
}
if(frame==82)
{
setglobalvar("zoomvalue", 392);
}
if(frame==83)
{
setglobalvar("zoomvalue", 393);
}
if(frame==84)
{
setglobalvar("zoomvalue", 394);
}
if(frame==85)
{
setglobalvar("zoomvalue", 395);
}
if(frame==86)
{
setglobalvar("zoomvalue", 396);
}
if(frame==87)
{
setglobalvar("zoomvalue", 397);
}
if(frame==88)
{
setglobalvar("zoomvalue", 398);
}
if(frame==89)
{
setglobalvar("zoomvalue", 399);
}
if(frame==90)
{
setglobalvar("zoomvalue", 400);
}
if(frame==91)
{
setglobalvar("zoomvalue", 401);
}
if(frame==92)
{
setglobalvar("zoomvalue", 402);
}
if(frame==93)
{
setglobalvar("zoomvalue", 403);
}
if(frame==94)
{
setglobalvar("zoomvalue", 404);
}
if(frame==95)
{
setglobalvar("zoomvalue", 405);
}
if(frame==96)
{
setglobalvar("zoomvalue", 406);
}
if(frame==97)
{
setglobalvar("zoomvalue", 407);
}
if(frame==98)
{
setglobalvar("zoomvalue", 408);
}
if(frame==99)
{
setglobalvar("zoomvalue", 409);
}
if(frame==100)
{
setglobalvar("zoomvalue", 410);
}
if(frame==101)
{
setglobalvar("zoomvalue", 411);
}
if(frame==102)
{
setglobalvar("zoomvalue", 412);
}
if(frame==103)
{
setglobalvar("zoomvalue", 413);
}
if(frame==104)
{
setglobalvar("zoomvalue", 414);
}
if(frame==105)
{
setglobalvar("zoomvalue", 415);
}
if(frame==106)
{
setglobalvar("zoomvalue", 416);
}
if(frame==107)
{
setglobalvar("zoomvalue", 417);
}
if(frame==108)
{
setglobalvar("zoomvalue", 418);
}
if(frame==109)
{
setglobalvar("zoomvalue", 419);
}
return;
}

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


# data/chars/misc/hyper/zoom1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==886)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 300);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", 0);
}
if(frame==1)
{
setglobalvar("zoomvalue", 305);
}
if(frame==2)
{
setglobalvar("zoomvalue", 310);
}
if(frame==3)
{
setglobalvar("zoomvalue", 315);
}
if(frame==4)
{
setglobalvar("zoomvalue", 320);
}
if(frame==5)
{
setglobalvar("zoomvalue", 325);
}
if(frame==6)
{
setglobalvar("zoomvalue", 330);
}
return;
}

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


# data/chars/misc/hyper/zoom2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==887)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 330);
}
if(frame==1)
{
setglobalvar("zoomvalue", 335);
}
if(frame==2)
{
setglobalvar("zoomvalue", 340);
}
if(frame==3)
{
setglobalvar("zoomvalue", 345);
}
if(frame==4)
{
setglobalvar("zoomvalue", 350);
}
if(frame==5)
{
setglobalvar("zoomvalue", 355);
}
if(frame==6)
{
setglobalvar("zoomvalue", 360);
}
if(frame==7)
{
setglobalvar("zoomvalue", 365);
}
if(frame==8)
{
setglobalvar("zoomvalue", 370);
}
if(frame==9)
{
setglobalvar("zoomvalue", 375);
}
if(frame==10)
{
setglobalvar("zoomvalue", 380);
}
return;
}

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


# data/chars/misc/hyper/zoom3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==888)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 380);
}
if(frame==1)
{
setglobalvar("zoomvalue", 385);
}
if(frame==2)
{
setglobalvar("zoomvalue", 390);
}
if(frame==3)
{
setglobalvar("zoomvalue", 395);
}
if(frame==4)
{
setglobalvar("zoomvalue", 400);
}
if(frame==5)
{
setglobalvar("zoomvalue", 405);
}
if(frame==6)
{
setglobalvar("zoomvalue", 410);
}
if(frame==7)
{
setglobalvar("zoomvalue", 415);
}
if(frame==8)
{
setglobalvar("zoomvalue", 420);
}
if(frame==9)
{
setglobalvar("zoomvalue", 425);
}
return;
}

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


# data/chars/misc/hyper/zoom0.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==889)
{
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 260);
}
if(frame==1)
{
setglobalvar("zoomvalue", 260);
}
if(frame==2)
{
setglobalvar("zoomvalue", 262);
}
if(frame==3)
{
setglobalvar("zoomvalue", 265);
}
if(frame==4)
{
setglobalvar("zoomvalue", 267);
}
if(frame==5)
{
setglobalvar("zoomvalue", 270);
}
if(frame==6)
{
setglobalvar("zoomvalue", 275);
}
if(frame==7)
{
setglobalvar("zoomvalue", 280);
}
if(frame==8)
{
setglobalvar("zoomvalue", 285);
}
if(frame==9)
{
setglobalvar("zoomvalue", 290);
}
if(frame==10)
{
setglobalvar("zoomvalue", 295);
}
if(frame==11)
{
setglobalvar("zoomvalue", 300);
}
if(frame==12)
{
setglobalvar("zoomvalue", 305);
}
if(frame==13)
{
setglobalvar("zoomvalue", 310);
}
if(frame==14)
{
setglobalvar("zoomvalue", 315);
}
if(frame==15)
{
setglobalvar("zoomvalue", 320);
}
if(frame==16)
{
setglobalvar("zoomvalue", 325);
}
if(frame==17)
{
setglobalvar("zoomvalue", 330);
}
if(frame==18)
{
setglobalvar("zoomvalue", 335);
}
if(frame==19)
{
setglobalvar("zoomvalue", 340);
}
if(frame==20)
{
setglobalvar("zoomvalue", 345);
}
if(frame==21)
{
setglobalvar("zoomvalue", 350);
}
return;
}

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


# data/chars/Chapters/C00.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==892)
{
if(frame==1)
{
playwebm("data/chars/Chapters/C00.webm", 1);
}
return;
}

}
#### animationscript function main #####
# data/chars/Chapters/C01.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==894)
{
if(frame==1)
{
playwebm("data/chars/Chapters/C01.webm", 1);
}
return;
}

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


# data/chars/Chapters/Weights.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==898)
{
if(frame==1)
{
playwebm("data/chars/Chapters/Weights.webm", 1);
}
return;
}

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


# data/chars/aerisetta/aeriin2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==900)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 0);
} else {
changeentityproperty(self, "direction", 1);
}
}
if(frame==2)
{
dasher(36, 0, 0, 1);
}
if(frame==3)
{
dasher(0, 0, 0);
}
if(frame==4)
{
suicide();
}
return;
}

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


# data/chars/aerisetta/aeriin3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==901)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 0);
} else {
changeentityproperty(self, "direction", 1);
}
}
if(frame==2)
{
dasher(36, 0, 0, 1);
}
if(frame==3)
{
dasher(0, 0, 0);
}
if(frame==4)
{
suicide();
}
return;
}

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


# data/chars/aerisetta/aeriout2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==902)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 1);
} else {
changeentityproperty(self, "direction", 0);
}
}
return;
}

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


# data/chars/aerisetta/aeriout3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==903)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x"); //Get character's x coordinate
int XPos = openborvariant("xpos"); //Get screen edge's position
int Screen = openborvariant("hResolution"); // Get screen width

if(x>=XPos+Screen/2){
changeentityproperty(self, "direction", 1);
} else {
changeentityproperty(self, "direction", 0);
}
}
return;
}

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


# data/chars/misc/book/book.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==906)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==907)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_02");
}
return;
}
if(animhandle==908)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_03");
}
return;
}
if(animhandle==909)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_04");
}
return;
}
if(animhandle==910)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_05");
}
return;
}
if(animhandle==911)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_06");
}
return;
}
if(animhandle==912)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_07");
}
return;
}
if(animhandle==913)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_08");
}
return;
}
if(animhandle==914)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_09");
}
return;
}
if(animhandle==915)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_10");
}
return;
}
if(animhandle==916)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_11");
}
return;
}
if(animhandle==917)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_12");
}
return;
}
if(animhandle==918)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Soldier_01");
}
return;
}
if(animhandle==919)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Soldier_02");
}
return;
}
if(animhandle==920)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Soldier_03");
}
return;
}
if(animhandle==921)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Coming");
}
return;
}

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


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

void self = getlocalvar("self");


float Vx = getentityproperty(self,"xdir");
int x = getentityproperty(self, "x");
int y = getentityproperty(self, "a");
int z = getentityproperty(self, "z");
int C;

if(Vx > 0){


C = 10;
} else {
C = -10;
}

if(y <= checkwall(x+C,z)){


changeentityproperty(self, "velocity", -Vx);
}
return;
}
if(animhandle==923)
{

void self = getlocalvar("self");


float Vx = getentityproperty(self,"xdir");
int x = getentityproperty(self, "x");
int y = getentityproperty(self, "a");
int z = getentityproperty(self, "z");
int C;

if(Vx > 0){


C = 10;
} else {
C = -10;
}

if(y <= checkwall(x+C,z)){


changeentityproperty(self, "velocity", -Vx);
}
return;
}

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


# data/chars/misc/mana.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==924)
{
if(frame==0)
{
randSound("Mana1.wav", "Mana2.wav", "Mana3.wav");
}
return;
}

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


# data/chars/aerisetta/Effect1flip.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==925)
{
if(frame==0)
{
leaper(0, 2, 0);
}
return;
}

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


# data/chars/misc/slime/slimedrip.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==931)
{
if(frame==10)
{
suicideP();
}
if(frame==11)
{
suicide();
}
return;
}
}

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


# data/chars/misc/slime/slimedripper.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==932)
{
if(frame==1)
{
suicideP();
}
if(frame==2)
{
spawn01("slimedrip", 0, 0, -2);
}
return;
}

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


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

void self = getlocalvar("self");


void inStage = getglobalvar("stageName");
int layer = getentityproperty(self, "setlayer");
if (inStage=="mirror")
{
changeentityproperty(self,"setlayer",0);
//drawstring( 290,90,1,"layer: "+getentityproperty(self, "setlayer"));
//drawstring( 290,110,1,"stage: "+getglobalvar("stageName"));
} else {
changeentityproperty(self,"setlayer",-2);
// drawstring( 290,90,1,"layer: "+getentityproperty(self, "setlayer"));
//drawstring( 290,110,1,"stage: "+getglobalvar("stageName"));
}

return;
}
if(animhandle==939)
{
if(frame==0)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/misc/crack/crackG.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==941)
{
if(frame==0)
{
killentity(getlocalvar("self"));
}
return;
}

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


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

void self = getlocalvar("self");


int Health = getentityproperty(self, "health");

if(frame==1){
changeentityproperty(self, "health", Health-5);
if (Health <= 0){
killentity(self);
}
}
return;
}

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


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

{
dasher(0.2,3,0);
}
return;
}

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


# data/chars/maid0/Lose/Lose_maid0.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==956)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==958)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==959)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==960)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==961)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==962)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==963)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==964)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==965)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==966)
{
if(frame==30)
{
suicide();
}
return;
}
if(animhandle==967)
{
if(frame==30)
{
suicide();
}
return;
}

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


# data/chars/Worg/Worg.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==972)
{
if(frame==0)
{
projectile(1, "block", 0, 0, 0);
}
return;
}

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


# data/chars/Soldier/zomsol.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==988)
{
if(frame==1)
{
spawnbind2("Lust", -75, 250, 15, 5);
}
return;
}
if(animhandle==989)
{

if(frame>=1){
void self = getlocalvar("self");
int FX = getentityvar(self, 5);
int Timer = getentityvar(self, "ZomTime");
int Limit = 30; // 30 seconds
// int Limit = 10; // 10 seconds

if(Timer==NULL()){
setentityvar(self, "ZomTime", openborvariant("elapsed_time"));
}

if(FX==NULL()){
performattack(self, openborconstant("ANI_FOLLOW2"));
}
if(openborvariant("elapsed_time") - Timer >= 2*Limit*100){
setentityvar(self, "ZomTime", NULL());
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==0)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==990)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
beidle();
}
return;
}
if(animhandle==991)
{
if(frame==2)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==992)
{

if(frame==10){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==994)
{

if(frame==2){
void self = getlocalvar("self");

killgun(5, 0);
changeentityproperty(self, "weapon", 0);
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==995)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==996)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==997)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==998)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1000)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1001)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
spawnbind2("Lust", 0, 250, 15, 5);
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1002)
{

if(frame==8){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1003)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1004)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==1)
{
dasher(0, 0, 0, 0);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1005)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1006)
{
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==10)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==1008)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1009)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==1)
{
dasher(0, 0, 0, 0);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1010)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1011)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1013)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1014)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/Soldier/Soldier.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1015)
{
if(frame==19)
{
spawn01("dust", 1, 1, 1);
}
return;
}
if(animhandle==1016)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1017)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1018)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==3)
{
dasher(1, 0, 0, 1);
}
return;
}
if(animhandle==1019)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==0)
{
leaper(3, 10, 0);
}
return;
}
if(animhandle==1020)
{
if(frame==0)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1021)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1022)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1023)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1024)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1025)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1026)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1027)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1028)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1029)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1030)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1032)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1033)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
spawnbind2("Lust", 0, 250, 15, 5);
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1034)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}

if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1035)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1036)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1037)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1038)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1039)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1040)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1041)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==1)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==1042)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1043)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
return;
}
if(animhandle==1045)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1046)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1047)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1048)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1050)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1051)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/Soldier/claymore.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1052)
{
if(frame==19)
{
spawn01("dust", 1, 1, 1);
}
return;
}
if(animhandle==1053)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1054)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1055)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
return;
}
if(animhandle==1056)
{
if(frame==0)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1057)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1058)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1059)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1060)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1061)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1062)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1063)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1064)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1065)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1066)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1068)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1069)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
spawnbind2("Lust", 0, 250, 15, 5);
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1070)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}

if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1071)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1072)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1073)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1074)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1075)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1076)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1077)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==1)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==1078)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1079)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
return;
}
if(animhandle==1081)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1082)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1083)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1084)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1086)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 3, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1087)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");
if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/Soldier/Spear.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1088)
{
if(frame==19)
{
spawn01("dust", 1, 1, 1);
}
return;
}
if(animhandle==1089)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1090)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1091)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==14)
{
dasher(3, 0, 0, 1);
}
if(frame==14)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==1092)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1093)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1094)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1095)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1096)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1097)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1098)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1099)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1100)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1101)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1103)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1104)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
spawnbind2("Lust", 0, 250, 15, 5);
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1105)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}

if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1106)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1107)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1108)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1109)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1110)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1111)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1112)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==1)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==1113)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1114)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
return;
}
if(animhandle==1116)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1117)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1118)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1119)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1121)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1122)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(-1, 2, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/Soldier/Shield.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1123)
{
if(frame==19)
{
spawn01("dust", 1, 1, 1);
}
return;
}
if(animhandle==1124)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1125)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1126)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
return;
}
if(animhandle==1127)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==25)
{
dasher(10, 0, 0, 1);
}
return;
}
if(animhandle==1128)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==1)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1129)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
return;
}
if(animhandle==1130)
{
if(frame==1)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1131)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1132)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1133)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1134)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1135)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1136)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1137)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1138)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1139)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1140)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1142)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1143)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
spawnbind2("Lust", 0, 250, 15, 5);
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1144)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}

if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1145)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1146)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1147)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1148)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1149)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1150)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1151)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==1)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==1152)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1153)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
return;
}
if(animhandle==1155)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1156)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1157)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1158)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1160)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, -2, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1161)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/Soldier/Archer.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1163)
{
if(frame==19)
{
spawn01("dust", 1, 1, 1);
}
return;
}
if(animhandle==1164)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1165)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1166)
{

if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==9)
{
target(2.5, 1.25, 100, 0, 0, 1);
}
if(frame==19)
{
shootT("ArrowE", 50, 220, 1);
}
return;
}
if(animhandle==1167)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1168)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1169)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1170)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1171)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1172)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1173)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1174)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1175)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1176)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1178)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1179)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
spawnbind2("Lust", 0, 250, 15, 5);
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1180)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}

if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1181)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1182)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1183)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1184)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1185)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1186)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1187)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==1)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==1188)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1189)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
return;
}
if(animhandle==1191)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1192)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1193)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1194)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1196)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1197)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(-1, -1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/Soldier/zomsol2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1198)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
spawnbind2("Lust", -75, 250, 15, 5);
}
return;
}
if(animhandle==1199)
{
if(frame==0)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==1200)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
beidle();
}
return;
}
if(animhandle==1201)
{
if(frame==2)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==1202)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1204)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1205)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1206)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1207)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1208)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1209)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1210)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1211)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1212)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1213)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1215)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1216)
{

if(frame==1){
void self = getlocalvar("self");

setentityvar(self, "ZomTime", openborvariant("elapsed_time"));


}
if(frame==2)
{
spawnbind2("Lust", 0, 250, 15, 5);
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1217)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}

if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1218)
{

if(frame==8){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1219)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1220)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==1)
{
dasher(0, 0, 0, 0);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1221)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1222)
{
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==10)
{
anichange("ANI_PAIN1", 0);
}
return;
}
if(animhandle==1224)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1225)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==1)
{
dasher(0, 0, 0, 0);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1226)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1227)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1229)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1230)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


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

if(frame==20){
void self = getlocalvar("self");
int r = rand()%50+50;
if(r >= 90){
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}

return;
}
if(animhandle==1233)
{
if(frame==1)
{
spawn01("soldier", 0, 0, 0);
}
if(frame==10)
{
spawn01("archer", 50, 0, 40);
}
if(frame==21)
{
spawn01("shield", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1234)
{
if(frame==1)
{
spawn01("archer", 0, 0, 0);
}
if(frame==10)
{
spawn01("shield", 50, 0, 40);
}
if(frame==21)
{
spawn01("spear", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1235)
{
if(frame==1)
{
spawn01("shield", 0, 0, 0);
}
if(frame==10)
{
spawn01("spear", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1236)
{
if(frame==1)
{
spawn01("spear", 0, 0, 0);
}
if(frame==10)
{
spawn01("claymore", 50, 0, 40);
}
if(frame==21)
{
spawn01("soldier", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1237)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("shield", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1238)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("claymore", 50, 0, 40);
}
if(frame==21)
{
spawn01("spear", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1239)
{
if(frame==1)
{
spawn01("shield", 0, 0, 0);
}
if(frame==10)
{
spawn01("spear", 50, 0, 40);
}
if(frame==21)
{
spawn01("shield", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1240)
{
if(frame==1)
{
spawn01("claymore", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1241)
{
if(frame==1)
{
spawn01("spear", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("spear", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1242)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("archer", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}

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


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

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1244)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1245)
{

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "name", "Maid");


}
if(frame==19)
{
spawn01("dust", 1, 1, 1);
}
return;
}
if(animhandle==1247)
{

if(frame==0){
int r = rand()%30;

if(r > 0){


void self = getlocalvar("self");

performattack(self, openborconstant("ANI_FOLLOW3"));
}
}
if(frame==0)
{
leaper(-15, 2, 5);
}
if(frame==1)
{
randSound("Maid_Attack.wav", "Maid_Laugh.wav", "Maid_Sore.wav");
}
if(frame==8)
{
leaper(15, 0, -5);
}
return;
}
if(animhandle==1248)
{
if(frame==0)
{
leaper(-20, 2, -5);
}
if(frame==0)
{
randSound("Maid_Attack.wav", "Maid_Laugh.wav", "Maid_Sore.wav");
}
if(frame==8)
{
leaper(25, 2, 5);
}
return;
}
if(animhandle==1249)
{
if(frame==9)
{
dasher(10, 0, 0, 1);
}
if(frame==10)
{
dasher(0, 0, 0, 1);
}
if(frame==11)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==1251)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1252)
{
if(frame==1)
{
spawn06("WinMaid0", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1253)
{
if(frame==1)
{
spawn06("MaidFinishElf", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1254)
{
if(frame==1)
{
spawn06("MaidFinishEstrelle", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1255)
{
if(frame==1)
{
spawn06("MaidFinishVarina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1256)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1257)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1258)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1259)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1261)
{
if(frame==0)
{
randSound("Maid_Pain2.wav", "Maid_Pain1.wav", "Maid_Pain1.wav");
}
return;
}
if(animhandle==1262)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1263)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1264)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1265)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1266)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1267)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
return;
}
if(animhandle==1268)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==1269)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1270)
{
if(frame==9)
{
dasher(20, 0, 0, 1);
}
if(frame==10)
{
dasher(0, 0, 0, 1);
}
if(frame==11)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==1271)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1272)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW2", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1273)
{

if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("MaidAtk1", 800, 0, 800);
}
if(frame==14)
{
depost(0);
}
if(frame==14)
{
throw(15, 1, 20, 0, 0, 0, 0);
}
if(frame==14)
{
clearGrab();
}
if(frame==14)
{
killgun(8, 0);
}
return;
}
if(animhandle==1274)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW31", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1275)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1276)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1278)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1279)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(3, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/maid0/maidbroom.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1280)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1281)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1282)
{

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "name", "Maid");


}
if(frame==19)
{
spawn01("dust", 1, 1, 1);
}
return;
}
if(animhandle==1283)
{
if(frame==0)
{
randSound("Maid_Attack.wav", "Maid_Laugh.wav", "Maid_Sore.wav");
}
if(frame==8)
{
spawner2("wind1", 100, 0, 15);
}
return;
}
if(animhandle==1284)
{
if(frame==0)
{
randSound("Maid_Attack.wav", "Maid_Laugh.wav", "Maid_Sore.wav");
}
if(frame==14)
{
dasher(3, 0, 0, 1);
}
if(frame==16)
{
spawner2("wind1", 50, 0, 15);
}
if(frame==22)
{
spawner2("wind1", 50, 0, 15);
}
if(frame==28)
{
spawner2("wind1", 50, 0, 15);
}
if(frame==34)
{
spawner2("wind1", 50, 0, 15);
}
if(frame==40)
{
spawner2("wind1", 50, 0, 15);
}
return;
}
if(animhandle==1286)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1287)
{
if(frame==1)
{
spawn06("WinMaid0", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1288)
{
if(frame==1)
{
spawn06("MaidFinishElf", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1289)
{
if(frame==1)
{
spawn06("MaidFinishEstrelle", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1290)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1291)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1292)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1293)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1295)
{
if(frame==0)
{
randSound("Maid_Pain2.wav", "Maid_Pain1.wav", "Maid_Pain1.wav");
}
return;
}
if(animhandle==1296)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}

if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1297)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1298)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1299)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1300)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1301)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
return;
}
if(animhandle==1302)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==1303)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1304)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1305)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW2", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1306)
{

if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("MaidAtk1", 800, 0, 800);
}
if(frame==14)
{
depost(0);
}
if(frame==14)
{
throw(15, 1, 20, 0, 0, 0, 0);
}
if(frame==14)
{
clearGrab();
}
if(frame==14)
{
killgun(8, 0);
}
return;
}
if(animhandle==1307)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW31", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1308)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1309)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1311)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1312)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(3, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/maid0/maidknife.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1313)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1314)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1315)
{

if(frame==1){
void self = getlocalvar("self");

changeentityproperty(self, "name", "Maid");


}
if(frame==19)
{
spawn01("dust", 1, 1, 1);
}
return;
}
if(animhandle==1317)
{
if(frame==0)
{
randSound("Maid_Attack.wav", "Maid_Laugh.wav", "Maid_Sore.wav");
}
if(frame==0)
{
dasher(-2, 0, 0);
}
return;
}
if(animhandle==1318)
{
if(frame==0)
{
dasher(10, 0, 0);
}
if(frame==6)
{
randSound("Maid_Attack.wav", "Maid_Laugh.wav", "Maid_Sore.wav");
}
if(frame==6)
{
dasher(-3, 0, 0);
}
return;
}
if(animhandle==1319)
{
if(frame==9)
{
dasher(10, 0, 0, 1);
}
if(frame==10)
{
dasher(0, 0, 0, 1);
}
if(frame==11)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==1320)
{
if(frame==0)
{
leaper(2, 12, 0);
}
if(frame==3)
{
randSound("Maid_Attack.wav", "Maid_Laugh.wav", "Maid_Sore.wav");
}
if(frame==3)
{
leaper(8, -10, 0);
}
return;
}
if(animhandle==1322)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1323)
{
if(frame==1)
{
spawn06("WinMaid0", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1324)
{
if(frame==1)
{
spawn06("MaidFinishElf", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1325)
{
if(frame==1)
{
spawn06("MaidFinishEstrelle", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1326)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1327)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1328)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1329)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1331)
{
if(frame==0)
{
randSound("Maid_Pain2.wav", "Maid_Pain1.wav", "Maid_Pain1.wav");
}
return;
}
if(animhandle==1332)
{

void self = getlocalvar("self");


getentityproperty(self, "maxhealth");

if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}

if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1333)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1334)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1335)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1336)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1337)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
return;
}
if(animhandle==1338)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==1339)
{

if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");

if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1340)
{

if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");

if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1341)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW2", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1342)
{

if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("MaidAtk1", 800, 0, 800);
}
if(frame==14)
{
depost(0);
}
if(frame==14)
{
throw(15, 1, 20, 0, 0, 0, 0);
}
if(frame==14)
{
clearGrab();
}
if(frame==14)
{
killgun(8, 0);
}
return;
}
if(animhandle==1343)
{

if(frame==1){
setmusictempo(105);
}

if(frame==12){
setmusictempo(110);
}

if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW31", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1344)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1345)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1347)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1348)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_RISE")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN98"));
}
}
if(frame==0)
{
target(3, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}

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


# data/chars/espawner/espawner2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1349)
{

if(frame==20){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}

return;
}
if(animhandle==1351)
{
if(frame==1)
{
spawn01("maid0", 0, 0, 0);
}
if(frame==10)
{
spawn01("maid0", 50, 0, 40);
}
if(frame==21)
{
spawn01("maid0", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1352)
{
if(frame==1)
{
spawn01("maidbroom", 0, 0, 0);
}
if(frame==10)
{
spawn01("maidbroom", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidbroom", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1353)
{
if(frame==1)
{
spawn01("maidknife", 0, 0, 0);
}
if(frame==10)
{
spawn01("maidknife", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidknife", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1354)
{
if(frame==1)
{
spawn01("maidknife", 0, 0, 0);
}
if(frame==10)
{
spawn01("maidbroom", 50, 0, 40);
}
if(frame==21)
{
spawn01("maid0", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1355)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("maid0", 50, 0, 40);
}
if(frame==21)
{
spawn01("zomsol2", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1356)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("maidbroom", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidknife", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1357)
{
if(frame==1)
{
spawn01("maidknife", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidknife", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1358)
{
if(frame==1)
{
spawn01("claymore", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1359)
{
if(frame==1)
{
spawn01("maidbroom", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidbroom", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1360)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("zomsol2", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}

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


# data/chars/dialogues/winmaid0.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1361)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene60", 1);
Simpen("Succubus.txt", 6, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene59", 1);
Simpen("Succubus.txt", 6, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene58", 1);
Simpen("Succubus.txt", 6, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene57", 1);
Simpen("Succubus.txt", 6, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene56", 1);
Simpen("Succubus.txt", 6, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene55", 1);
Simpen("Succubus.txt", 6, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene54", 1);
Simpen("Succubus.txt", 6, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene53", 1);
Simpen("Succubus.txt", 6, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene52", 1);
Simpen("Succubus.txt", 6, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene51", 1);
Simpen("Succubus.txt", 6, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1363)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishPrincess_F01");
}
return;
}
if(animhandle==1364)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishPrincess_F02");
}
return;
}
if(animhandle==1365)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishPrincess_F03");
}
return;
}
if(animhandle==1368)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishPrincess_F01b");
}
return;
}
if(animhandle==1369)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishPrincess_F02b");
}
return;
}
if(animhandle==1370)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishPrincess_F03b");
}
return;
}
if(animhandle==1372)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishPrincess_F02");
}
return;
}

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


# data/chars/dialogues/Soldierfinish/Soldierfinish.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1373)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(r >= 90){
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1375)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1376)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1377)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1378)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1379)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1380)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1381)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1382)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1383)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1384)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}

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


# data/chars/dialogues/superfinishtest.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1385)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW2"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW2"));
}
}
return;
}
if(animhandle==1387)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
return;
}

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


# data/chars/dialogues/super/super.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1390)
{
if(frame==0)
{
randSound2("supersound/supersound01.wav",
"supersound/supersound02.wav", "supersound/supersound03.wav",
"supersound/supersound04.wav", "supersound/supersound05.wav",
"supersound/supersound06.wav", "supersound/supersound07.wav",
"supersound/supersound08.wav", "supersound/supersound09.wav");
}
return;
}

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


# data/chars/dialogues/super/superelf.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1391)
{
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
return;
}

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


# data/chars/dialogues/super/SuperLibrarian.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1392)
{
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
return;
}

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


# data/chars/dialogues/HowToPlay.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1393)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "HowToPlay");
}
return;
}
}

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


# data/chars/dialogues/lose/LoseAerisettaDir.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1394)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1396)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1397)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1398)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1399)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1400)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1401)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1402)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1403)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1404)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}
if(animhandle==1405)
{
if(frame==1)
{
spawn06("LoseAerisetta1", 800, 0, 800);
}
return;
}

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


# data/chars/dialogues/lose/LoseAerisetta1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1406)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1408)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1409)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M02");
}
return;
}
if(animhandle==1410)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M03");
}
return;
}
if(animhandle==1411)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M04");
}
return;
}
if(animhandle==1412)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M05");
}
return;
}
if(animhandle==1413)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M06");
}
return;
}
if(animhandle==1414)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M07");
}
return;
}
if(animhandle==1415)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M08");
}
return;
}
if(animhandle==1416)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M09");
}
return;
}
if(animhandle==1417)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M10");
}
return;
}

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


# data/chars/dialogues/lose/LoseAerisetta2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1418)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1420)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1421)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1422)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1423)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1424)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1425)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1426)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1427)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1428)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}
if(animhandle==1429)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisetta_M01");
}
return;
}

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


# data/chars/dialogues/lose/LoseAerisettaL1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1430)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1432)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M01");
}
return;
}
if(animhandle==1433)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M01b");
}
return;
}
if(animhandle==1434)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M02");
}
return;
}
if(animhandle==1435)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M02b");
}
return;
}
if(animhandle==1436)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M03");
}
return;
}
if(animhandle==1437)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M03b");
}
return;
}
if(animhandle==1438)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M04");
}
return;
}
if(animhandle==1439)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M04b");
}
return;
}
if(animhandle==1440)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M05");
}
return;
}
if(animhandle==1441)
{
if(frame==0)
{
spawner("counterbar", 0, 0, 0);
}
if(frame==0)
{
spawner("counterelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "LoseAerisettaElf_M05b");
}
return;
}

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

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 58; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1444)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M01");
}
return;
}
if(animhandle==1445)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M02");
}
return;
}
if(animhandle==1446)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M03");
}
return;
}
if(animhandle==1447)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M04");
}
return;
}
if(animhandle==1448)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M05");
}
return;
}
if(animhandle==1449)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M06");
}
return;
}
if(animhandle==1450)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M07");
}
return;
}
if(animhandle==1451)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M08");
}
return;
}
if(animhandle==1452)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09");
}
return;
}
if(animhandle==1453)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M01b");
}
return;
}
if(animhandle==1454)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M02b");
}
return;
}
if(animhandle==1455)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M03b");
}
return;
}
if(animhandle==1456)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M04b");
}
return;
}
if(animhandle==1457)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M05b");
}
return;
}
if(animhandle==1458)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M06b");
}
return;
}
if(animhandle==1459)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M07b");
}
return;
}
if(animhandle==1460)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M08b");
}
return;
}
if(animhandle==1461)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09b");
}
return;
}
if(animhandle==1462)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09b");
}
return;
}
if(animhandle==1463)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M11");
}
return;
}
if(animhandle==1464)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M12");
}
return;
}
if(animhandle==1465)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M13");
}
return;
}
if(animhandle==1466)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M14");
}
return;
}
if(animhandle==1467)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M15");
}
return;
}
if(animhandle==1468)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M16");
}
return;
}
if(animhandle==1469)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M17");
}
return;
}
if(animhandle==1470)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M18");
}
return;
}
if(animhandle==1471)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M19");
}
return;
}
if(animhandle==1472)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M20");
}
return;
}
if(animhandle==1473)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M11b");
}
return;
}
if(animhandle==1474)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M12b");
}
return;
}
if(animhandle==1475)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M13b");
}
return;
}
if(animhandle==1476)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M14b");
}
return;
}
if(animhandle==1477)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M15b");
}
return;
}
if(animhandle==1478)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M16b");
}
return;
}
if(animhandle==1479)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M17b");
}
return;
}
if(animhandle==1480)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M18b");
}
return;
}
if(animhandle==1481)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M19b");
}
return;
}
if(animhandle==1482)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M20b");
}
return;
}
if(animhandle==1483)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/A_Finisher_A01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/A_Finisher_A02.webm", 0);
}
if(frame==4)
{
MusicStage();
}
return;
}
if(animhandle==1484)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/A_Finisher_A02.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/A_Finisher_A01.webm", 0);
}
if(frame==4)
{
MusicStage();
}
return;
}
if(animhandle==1485)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M01c");
}
return;
}
if(animhandle==1486)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M21");
}
return;
}
if(animhandle==1487)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M21b");
}
return;
}
if(animhandle==1488)
{
if(frame==8)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==23)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==55)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==87)
{
spawn06("Boarder", 800, 0, 800);
}
return;
}
if(animhandle==1492)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M21");
}
return;
}
if(animhandle==1493)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M21b");
}
return;
}
if(animhandle==1494)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M21d");
}
return;
}
if(animhandle==1495)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M22");
}
return;
}
if(animhandle==1496)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M22b");
}
return;
}
if(animhandle==1497)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M22d");
}
return;
}
if(animhandle==1498)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/A_Finisher_B01.webm", 0);
}
if(frame==3)
{
MusicStage();
}
return;
}
if(animhandle==1499)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M23");
}
return;
}
if(animhandle==1500)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M23b");
}
return;
}
if(animhandle==1501)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M23d");
}
return;
}
}

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


# data/chars/dialogues/GeneralFinishBadGirl/GeneralFinishBadGirl.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1502)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1504)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1505)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1506)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1507)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1508)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1509)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1510)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1511)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1512)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}
if(animhandle==1513)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishBadGirl01");
}
return;
}

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


# data/chars/dialogues/generalfinishelf/GeneralFinishLisina.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1514)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 33; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1516)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M01");
}
return;
}
if(animhandle==1517)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M02");
}
return;
}
if(animhandle==1518)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M03");
}
return;
}
if(animhandle==1519)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M04");
}
return;
}
if(animhandle==1520)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M05");
}
return;
}
if(animhandle==1521)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M06");
}
return;
}
if(animhandle==1522)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M07");
}
return;
}
if(animhandle==1523)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M08");
}
return;
}
if(animhandle==1524)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M09");
}
return;
}
if(animhandle==1525)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M10");
}
return;
}
if(animhandle==1526)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M01b");
}
return;
}
if(animhandle==1527)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M02b");
}
return;
}
if(animhandle==1528)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M03b");
}
return;
}
if(animhandle==1529)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M04b");
}
return;
}
if(animhandle==1530)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M05b");
}
return;
}
if(animhandle==1531)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M06b");
}
return;
}
if(animhandle==1532)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M07b");
}
return;
}
if(animhandle==1533)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M08b");
}
return;
}
if(animhandle==1534)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M09b");
}
return;
}
if(animhandle==1535)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M10b");
}
return;
}
if(animhandle==1536)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishElf_M10d");
}
return;
}
if(animhandle==1537)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/L_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==1538)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/L_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==1539)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/L_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==1540)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/L_Finisher_A02.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/L_Finisher_A03.webm", 0);
}
if(frame==3)
{
playwebm("data/scenes/L_Finisher_A01.webm", 0);
}
if(frame==4)
{
playwebm("data/scenes/L_Finisher_A04.webm", 0);
}
if(frame==5)
{
playwebm("data/scenes/L_Finisher_A05.webm", 0);
}
return;
}
if(animhandle==1541)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/L_Finisher_B01.webm", 0);
}
if(frame==3)
{
MusicStage();
}
return;
}
if(animhandle==1542)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/L_Finisher_B01.webm", 0);
}
if(frame==3)
{
MusicStage();
}
return;
}
if(animhandle==1543)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M11");
}
return;
}
if(animhandle==1544)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M11b");
}
return;
}
if(animhandle==1545)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M11d");
}
return;
}
if(animhandle==1546)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M12");
}
return;
}
if(animhandle==1547)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M12b");
}
return;
}
if(animhandle==1548)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M12d");
}
return;
}

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


# data/chars/dialogues/generalfinishelf/MaidFinishElf.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1549)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene50", 1);
Simpen("Succubus.txt", 5, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene49", 1);
Simpen("Succubus.txt", 5, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene48", 1);
Simpen("Succubus.txt", 5, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene47", 1);
Simpen("Succubus.txt", 5, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene46", 1);
Simpen("Succubus.txt", 5, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene45", 1);
Simpen("Succubus.txt", 5, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene44", 1);
Simpen("Succubus.txt", 5, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene43", 1);
Simpen("Succubus.txt", 5, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene42", 1);
Simpen("Succubus.txt", 5, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene41", 1);
Simpen("Succubus.txt", 5, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1551)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F01");
}
return;
}
if(animhandle==1552)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F01b");
}
return;
}
if(animhandle==1553)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F02");
}
return;
}
if(animhandle==1554)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F02b");
}
return;
}
if(animhandle==1555)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F03");
}
return;
}
if(animhandle==1556)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F03b");
}
return;
}
if(animhandle==1557)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F04");
}
return;
}
if(animhandle==1558)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F04b");
}
return;
}
if(animhandle==1559)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F05");
}
return;
}
if(animhandle==1560)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F05b");
}
return;
}

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


# data/chars/dialogues/generalfinishelf/MaidFinishElfWebm1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1561)
{
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene50", 1);
Simpen("Succubus.txt", 5, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene49", 1);
Simpen("Succubus.txt", 5, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene48", 1);
Simpen("Succubus.txt", 5, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene47", 1);
Simpen("Succubus.txt", 5, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene46", 1);
Simpen("Succubus.txt", 5, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene45", 1);
Simpen("Succubus.txt", 5, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene44", 1);
Simpen("Succubus.txt", 5, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene43", 1);
Simpen("Succubus.txt", 5, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene42", 1);
Simpen("Succubus.txt", 5, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene41", 1);
Simpen("Succubus.txt", 5, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1563)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F01");
}
return;
}
if(animhandle==1564)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F01b");
}
return;
}
if(animhandle==1565)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F02");
}
return;
}
if(animhandle==1566)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F02b");
}
return;
}
if(animhandle==1567)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F03");
}
return;
}
if(animhandle==1568)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F03b");
}
return;
}
if(animhandle==1569)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F04");
}
return;
}
if(animhandle==1570)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F04b");
}
return;
}
if(animhandle==1571)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F05");
}
return;
}
if(animhandle==1572)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superelf", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishElf_F05b");
}
return;
}

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


# data/chars/dialogues/generalfinish/generalfinishprincess.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1573)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene10", 1);
Simpen("Succubus.txt", 1, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene09", 1);
Simpen("Succubus.txt", 1, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene08", 1);
Simpen("Succubus.txt", 1, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene07", 1);
Simpen("Succubus.txt", 1, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene06", 1);
Simpen("Succubus.txt", 1, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene05", 1);
Simpen("Succubus.txt", 1, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene04", 1);
Simpen("Succubus.txt", 1, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene03", 1);
Simpen("Succubus.txt", 1, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene02", 1);
Simpen("Succubus.txt", 1, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene01", 1);
Simpen("Succubus.txt", 1, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}

return;
}
if(animhandle==1575)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M01");
}
return;
}
if(animhandle==1576)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M02");
}
return;
}
if(animhandle==1577)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M03");
}
return;
}
if(animhandle==1578)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M04");
}
return;
}
if(animhandle==1579)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M05");
}
return;
}
if(animhandle==1580)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M06");
}
return;
}
if(animhandle==1581)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M07");
}
return;
}
if(animhandle==1582)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M08");
}
return;
}
if(animhandle==1583)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09");
}
return;
}
if(animhandle==1584)
{
if(frame==1)
{
spawn06("GeneralFinishPrincess2", 800, 0, 800);
}
return;
}

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


# data/chars/dialogues/generalfinish/generalfinishprincess2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1585)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene20", 1);
Simpen("Succubus.txt", 2, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene19", 1);
Simpen("Succubus.txt", 2, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene18", 1);
Simpen("Succubus.txt", 2, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene17", 1);
Simpen("Succubus.txt", 2, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene16", 1);
Simpen("Succubus.txt", 2, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene15", 1);
Simpen("Succubus.txt", 2, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene14", 1);
Simpen("Succubus.txt", 2, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene13", 1);
Simpen("Succubus.txt", 2, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene12", 1);
Simpen("Succubus.txt", 2, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene11", 1);
Simpen("Succubus.txt", 2, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}

return;
}
if(animhandle==1587)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M01b");
}
return;
}
if(animhandle==1588)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M02b");
}
return;
}
if(animhandle==1589)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M03b");
}
return;
}
if(animhandle==1590)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M04b");
}
return;
}
if(animhandle==1591)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M05b");
}
return;
}
if(animhandle==1592)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M06b");
}
return;
}
if(animhandle==1593)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M07b");
}
return;
}
if(animhandle==1594)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M08b");
}
return;
}
if(animhandle==1595)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09b");
}
return;
}
if(animhandle==1596)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09b");
}
return;
}

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


# data/chars/dialogues/generalfinish/generalfinishprincess3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1597)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene110", 1);
Simpen("Succubus.txt", 11, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene109", 1);
Simpen("Succubus.txt", 11, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene108", 1);
Simpen("Succubus.txt", 11, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene107", 1);
Simpen("Succubus.txt", 11, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene106", 1);
Simpen("Succubus.txt", 11, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene105", 1);
Simpen("Succubus.txt", 11, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene104", 1);
Simpen("Succubus.txt", 11, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene103", 1);
Simpen("Succubus.txt", 11, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene102", 1);
Simpen("Succubus.txt", 11, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene101", 1);
Simpen("Succubus.txt", 11, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}

return;
}
if(animhandle==1599)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M11");
}
return;
}
if(animhandle==1600)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M12");
}
return;
}
if(animhandle==1601)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M13");
}
return;
}
if(animhandle==1602)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M14");
}
return;
}
if(animhandle==1603)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M15");
}
return;
}
if(animhandle==1604)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M16");
}
return;
}
if(animhandle==1605)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M17");
}
return;
}
if(animhandle==1606)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M18");
}
return;
}
if(animhandle==1607)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M19");
}
return;
}
if(animhandle==1608)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M20");
}
return;
}

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


# data/chars/dialogues/generalfinish/generalfinishprincess4.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1609)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene120", 1);
Simpen("Succubus.txt", 12, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene119", 1);
Simpen("Succubus.txt", 12, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene118", 1);
Simpen("Succubus.txt", 12, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene117", 1);
Simpen("Succubus.txt", 12, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene116", 1);
Simpen("Succubus.txt", 12, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene115", 1);
Simpen("Succubus.txt", 12, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene114", 1);
Simpen("Succubus.txt", 12, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene113", 1);
Simpen("Succubus.txt", 12, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene112", 1);
Simpen("Succubus.txt", 12, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene111", 1);
Simpen("Succubus.txt", 12, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}

return;
}
if(animhandle==1611)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M11b");
}
return;
}
if(animhandle==1612)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M12b");
}
return;
}
if(animhandle==1613)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M13b");
}
return;
}
if(animhandle==1614)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M14b");
}
return;
}
if(animhandle==1615)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M15b");
}
return;
}
if(animhandle==1616)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M16b");
}
return;
}
if(animhandle==1617)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M17b");
}
return;
}
if(animhandle==1618)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M18b");
}
return;
}
if(animhandle==1619)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M19b");
}
return;
}
if(animhandle==1620)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M20b");
}
return;
}
}

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


# data/chars/dialogues/generalfinish/generalfinishprincessA.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1621)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1623)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/A_Finisher_A01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/A_Finisher_A02.webm", 0);
}
return;
}
if(animhandle==1624)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/A_Finisher_A02.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/A_Finisher_A01.webm", 0);
}
return;
}
if(animhandle==1625)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M01c");
}
return;
}
if(animhandle==1626)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M21");
}
return;
}
if(animhandle==1627)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M21b");
}
return;
}
if(animhandle==1628)
{
if(frame==8)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==23)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==55)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==87)
{
spawn06("Boarder", 800, 0, 800);
}
return;
}
if(animhandle==1629)
{
if(frame==1)
{
spawn06("GeneralFinishPrincess", 800, 0, 800);
}
return;
}

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


# data/chars/dialogues/generalfinish/GiantStep.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1633)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}

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


# data/chars/dialogues/super/SuperEstrelle.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1645)
{
if(frame==0)
{
randSound2("supersound/estrellesuper01.wav",
"supersound/estrellesuper02.wav", "supersound/estrellesuper03.wav",
"supersound/estrellesuper04.wav", "supersound/estrellesuper05.wav",
"supersound/estrellesuper06.wav", "supersound/estrellesuper07.wav",
"supersound/estrellesuper03.wav", "supersound/estrellesuper02.wav");
}
return;
}

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


# data/chars/dialogues/generalfinishestrelle/generalfinishestrelleDir.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1646)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 30; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1648)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M01");
}
return;
}
if(animhandle==1649)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M02");
}
return;
}
if(animhandle==1650)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M03");
}
return;
}
if(animhandle==1651)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M04");
}
return;
}
if(animhandle==1652)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M05");
}
return;
}
if(animhandle==1653)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M06");
}
return;
}
if(animhandle==1654)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M07");
}
return;
}
if(animhandle==1655)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M08");
}
return;
}
if(animhandle==1656)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M09");
}
return;
}
if(animhandle==1657)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M10");
}
return;
}
if(animhandle==1658)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M01b");
}
return;
}
if(animhandle==1659)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M02b");
}
return;
}
if(animhandle==1660)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M03b");
}
return;
}
if(animhandle==1661)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M04b");
}
return;
}
if(animhandle==1662)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M05b");
}
return;
}
if(animhandle==1663)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M06b");
}
return;
}
if(animhandle==1664)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M07b");
}
return;
}
if(animhandle==1665)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M08b");
}
return;
}
if(animhandle==1666)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M09b");
}
return;
}
if(animhandle==1667)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishEstrelle_M10b");
}
return;
}
if(animhandle==1668)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==1669)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==1670)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_A01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_A03.webm", 0);
}
if(frame==3)
{
playwebm("data/scenes/E_Finisher_A02.webm", 0);
}
if(frame==4)
{
playwebm("data/scenes/E_Finisher_A04.webm", 0);
}
if(frame==5)
{
playwebm("data/scenes/E_Finisher_A05.webm", 0);
}
return;
}
if(animhandle==1671)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_B01.webm", 0);
}
if(frame==3)
{
MusicStage();
}
return;
}
if(animhandle==1672)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishEstrelle_M11");
}
return;
}
if(animhandle==1673)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishEstrelle_M11b");
}
return;
}
if(animhandle==1674)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishEstrelle_M11d");
}
return;
}
if(animhandle==1675)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishEstrelle_M12");
}
return;
}
if(animhandle==1676)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishEstrelle_M12b");
}
return;
}
if(animhandle==1677)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishEstrelle_M12d");
}
return;
}

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


# data/chars/dialogues/GeneralFinishEstrelle/MaidFinishEstrelle.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1678)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1680)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1681)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1682)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1683)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1684)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1685)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1686)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1687)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1688)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==1689)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_Maid02.webm", 0);
}
return;
}

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


# data/chars/dialogues/super/SuperVarina.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1690)
{
if(frame==0)
{
randSound2("V_Laugh.wav", "V_Laugh1.wav", "V_Laugh2.wav",
"V_Laugh3.wav", "V_Block1.wav", "V_Block2.wav", "V_Block3.wav", "V_Laugh2.wav",
"V_Laugh3.wav");
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/GeneralFinishVarinaDir.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1691)
{
if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 2; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1693)
{
if(frame==1)
{
spawn06("GeneralFinishVarina1", 800, 0, 800);
}
return;
}
if(animhandle==1694)
{
if(frame==1)
{
spawn06("GeneralFinishVarina2", 800, 0, 800);
}
return;
}
if(animhandle==1695)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}
if(animhandle==1696)
{
if(frame==1)
{
spawn06("VarinaAtk2", 800, 0, 800);
}
return;
}
if(animhandle==1697)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/GeneralFinishVarinaDir1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1698)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1700)
{
if(frame==1)
{
spawn06("GeneralFinishVarina1", 800, 0, 800);
}
return;
}
if(animhandle==1701)
{
if(frame==1)
{
spawn06("GeneralFinishVarina1", 800, 0, 800);
}
return;
}
if(animhandle==1702)
{
if(frame==1)
{
spawn06("GeneralFinishVarina1", 800, 0, 800);
}
return;
}
if(animhandle==1703)
{
if(frame==1)
{
spawn06("GeneralFinishVarina1", 800, 0, 800);
}
return;
}
if(animhandle==1704)
{
if(frame==1)
{
spawn06("GeneralFinishVarina1", 800, 0, 800);
}
return;
}
if(animhandle==1705)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}
if(animhandle==1706)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}
if(animhandle==1707)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}
if(animhandle==1708)
{
if(frame==1)
{
spawn06("GeneralFinishVarina3", 800, 0, 800);
}
return;
}
if(animhandle==1709)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaWebm1", 800, 0, 800);
}
return;
}
}

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


# data/chars/dialogues/GeneralFinishVarina/GeneralFinishVarinaDir2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1710)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1712)
{
if(frame==1)
{
spawn06("GeneralFinishVarina2", 800, 0, 800);
}
return;
}
if(animhandle==1713)
{
if(frame==1)
{
spawn06("GeneralFinishVarina2", 800, 0, 800);
}
return;
}
if(animhandle==1714)
{
if(frame==1)
{
spawn06("GeneralFinishVarina2", 800, 0, 800);
}
return;
}
if(animhandle==1715)
{
if(frame==1)
{
spawn06("VarinaAtk2", 800, 0, 800);
}
return;
}
if(animhandle==1716)
{
if(frame==1)
{
spawn06("VarinaAtk2", 800, 0, 800);
}
return;
}
if(animhandle==1717)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}
if(animhandle==1718)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}
if(animhandle==1719)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}
if(animhandle==1720)
{
if(frame==1)
{
spawn06("GeneralFinishVarina3", 800, 0, 800);
}
return;
}
if(animhandle==1721)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaWebm1", 800, 0, 800);
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/GeneralFinishVarina1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1722)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 16; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1724)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M01");
}
return;
}
if(animhandle==1725)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M02");
}
return;
}
if(animhandle==1726)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M03");
}
return;
}
if(animhandle==1727)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M04");
}
return;
}
if(animhandle==1728)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M05");
}
return;
}
if(animhandle==1729)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M06");
}
return;
}
if(animhandle==1730)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M07");
}
return;
}
if(animhandle==1731)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M08");
}
return;
}
if(animhandle==1732)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M09");
}
return;
}
if(animhandle==1733)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M10");
}
return;
}
if(animhandle==1734)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11");
}
return;
}
if(animhandle==1735)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==1736)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==1737)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==1738)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_A01.webm", 0);
}
if(frame==3)
{
MusicStage();
}
return;
}
if(animhandle==1739)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/GeneralFinishVarina2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1740)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 18; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1742)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M01b");
}
return;
}
if(animhandle==1743)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M02b");
}
return;
}
if(animhandle==1744)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M03b");
}
return;
}
if(animhandle==1745)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M04b");
}
return;
}
if(animhandle==1746)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M05b");
}
return;
}
if(animhandle==1747)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M06b");
}
return;
}
if(animhandle==1748)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M07b");
}
return;
}
if(animhandle==1749)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M08b");
}
return;
}
if(animhandle==1750)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M09b");
}
return;
}
if(animhandle==1751)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M10b");
}
return;
}
if(animhandle==1752)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11b");
}
return;
}
if(animhandle==1753)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==1754)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==1755)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==1756)
{
if(frame==1)
{
spawn06("VarinaAtk2", 800, 0, 800);
}
return;
}
if(animhandle==1757)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}
if(animhandle==1758)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11d");
}
return;
}
if(animhandle==1759)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_A01.webm", 0);
}
if(frame==3)
{
MusicStage();
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/GeneralFinishVarina3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1760)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene100", 1);
Simpen("Succubus.txt", 10, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene99", 1);
Simpen("Succubus.txt", 10, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene98", 1);
Simpen("Succubus.txt", 10, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene97", 1);
Simpen("Succubus.txt", 10, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene96", 1);
Simpen("Succubus.txt", 10, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene95", 1);
Simpen("Succubus.txt", 10, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene94", 1);
Simpen("Succubus.txt", 10, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene93", 1);
Simpen("Succubus.txt", 10, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene92", 1);
Simpen("Succubus.txt", 10, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene91", 1);
Simpen("Succubus.txt", 10, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1762)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11");
}
return;
}
if(animhandle==1763)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11b");
}
return;
}
if(animhandle==1764)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11d");
}
return;
}
if(animhandle==1765)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11");
}
return;
}
if(animhandle==1766)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11b");
}
return;
}
if(animhandle==1767)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M11d");
}
return;
}
if(animhandle==1768)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M07b");
}
return;
}
if(animhandle==1769)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M08b");
}
return;
}
if(animhandle==1770)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M09b");
}
return;
}
if(animhandle==1771)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishVarina_M10b");
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/GeneralFinishVarinaWebm1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1772)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1774)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==1775)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==1776)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==1777)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==1778)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}
if(animhandle==1779)
{
if(frame==1)
{
spawn06("VarinaAtk2", 800, 0, 800);
}
return;
}
if(animhandle==1780)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}
if(animhandle==1781)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}
if(animhandle==1782)
{
if(frame==1)
{
spawn06("VarinaAtk2", 800, 0, 800);
}
return;
}
if(animhandle==1783)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/MaidFinishVarina.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1784)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1786)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishVarina_F01");
}
return;
}
if(animhandle==1787)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishVarina_F01b");
}
return;
}
if(animhandle==1788)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidFinishVarina_F01d");
}
return;
}
if(animhandle==1789)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}
if(animhandle==1790)
{
if(frame==1)
{
spawn06("VarinaAtk1", 800, 0, 800);
}
return;
}
if(animhandle==1791)
{
if(frame==1)
{
spawn06("VarinaAtk2", 800, 0, 800);
}
return;
}
if(animhandle==1792)
{
if(frame==1)
{
spawn06("VarinaAtk2", 800, 0, 800);
}
return;
}
if(animhandle==1793)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}
if(animhandle==1794)
{
if(frame==1)
{
spawn06("VarinaAtk3", 800, 0, 800);
}
return;
}
if(animhandle==1795)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/V_Finisher_Maid01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/V_Finisher_Maid02.webm", 0);
}
return;
}

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


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

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
if(frame==9)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1797)
{
if(frame==9)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1798)
{
if(frame==1)
{
spawn06("LoseAerisettaL1", 800, 0, 800);
}
if(frame==1)
{
suicide();
}
return;
}

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


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

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
if(frame==9)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1800)
{
if(frame==9)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}

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


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

if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");

// if(THP <= 1 && MP==100){


if(THP <= 1){ // testing
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
}
}
if(frame==9)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1802)
{
if(frame==9)
{
setglobalvar("zoomentity", NULL());
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
return;
}

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


# data/chars/dialogues/vfx/lips.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1806)
{
if(frame==21)
{
suicide();
}
return;
}

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


# data/chars/dialogues/vfx/dark.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1807)
{
if(frame==12)
{
suicide();
}
return;
}

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


# data/chars/dialogues/vfx/dark2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1808)
{
if(frame==1)
{
suicide();
}
if(frame==2)
{
suicide();
}
return;
}

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


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

if(frame>=5){
void self = getlocalvar("self");
void energia = getentityproperty(self,"health"); // pega energia/mp
atual
changeentityproperty(self, "health", energia-3);// diminui energia/mp
}
return;
}
if(animhandle==1811)
{

void self = getlocalvar("self");


void atk = getentityproperty(self,"parent");
void vtm = getentityproperty(atk, "opponent");
changeentityproperty(self, "health",-4);

if(getentityproperty(vtm, "type")==openborconstant("TYPE_NPC"))
{
killentity(self);
}
return;
}

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


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

if(frame>=5){
void self = getlocalvar("self");
void energia = getentityproperty(self,"health"); // pega energia/mp
atual
changeentityproperty(self, "health", energia-2);// diminui energia/mp
}
return;
}
if(animhandle==1814)
{

void self = getlocalvar("self");


void atk = getentityproperty(self,"parent");
void vtm = getentityproperty(atk, "opponent");
changeentityproperty(self, "health",-5);

if(getentityproperty(vtm, "type")==openborconstant("TYPE_NPC"))
{
killentity(self);
}
return;
}

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


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

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");

if(frame==5 && P1){


void PAnim = getentityproperty(P1, "animationID");

if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
return;
}

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


# data/chars/dialogues/GeneralFinishLibrarian/GeneralFinishLibrarian1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1818)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene90", 1);
Simpen("Succubus.txt", 9, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene89", 1);
Simpen("Succubus.txt", 9, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene88", 1);
Simpen("Succubus.txt", 9, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene87", 1);
Simpen("Succubus.txt", 9, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene86", 1);
Simpen("Succubus.txt", 9, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene85", 1);
Simpen("Succubus.txt", 9, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene84", 1);
Simpen("Succubus.txt", 9, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene83", 1);
Simpen("Succubus.txt", 9, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene82", 1);
Simpen("Succubus.txt", 9, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene81", 1);
Simpen("Succubus.txt", 9, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1820)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M01");
}
return;
}
if(animhandle==1821)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M01");
}
return;
}
if(animhandle==1822)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M01");
}
return;
}
if(animhandle==1823)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M02");
}
return;
}
if(animhandle==1824)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M02");
}
return;
}
if(animhandle==1825)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M02");
}
return;
}
if(animhandle==1826)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M03");
}
return;
}
if(animhandle==1827)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M03");
}
return;
}
if(animhandle==1828)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M03");
}
return;
}
if(animhandle==1829)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("SuperLibrarian", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishLibrarian_M01");
}
return;
}

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


# data/chars/dialogues/Church/Lore_ChurchDir.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1830)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1832)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1833)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1834)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1835)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1836)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1837)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1838)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1839)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1840)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}
if(animhandle==1841)
{
if(frame==1)
{
spawn06("Lore_Church1", 800, 0, 800);
}
return;
}

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


# data/chars/dialogues/Church/Lore_Church1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1842)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene90", 1);
Simpen("Succubus.txt", 9, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene89", 1);
Simpen("Succubus.txt", 9, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene88", 1);
Simpen("Succubus.txt", 9, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene87", 1);
Simpen("Succubus.txt", 9, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene86", 1);
Simpen("Succubus.txt", 9, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene85", 1);
Simpen("Succubus.txt", 9, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene84", 1);
Simpen("Succubus.txt", 9, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene83", 1);
Simpen("Succubus.txt", 9, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene82", 1);
Simpen("Succubus.txt", 9, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene81", 1);
Simpen("Succubus.txt", 9, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1844)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1845)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1846)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1847)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1848)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1849)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1850)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1851)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1852)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}
if(animhandle==1853)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "Lore_Church_01");
}
return;
}

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


# data/chars/dialogues/GeneralFinishNun/GeneralFinishNunDir.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1854)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1856)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1857)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1858)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1859)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1860)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1861)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1862)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1863)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1864)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}
if(animhandle==1865)
{
if(frame==1)
{
spawn06("GeneralFinishNun1", 800, 0, 800);
}
return;
}

}
#### animationscript function main #####
# data/chars/dialogues/GeneralFinishNun/GeneralFinishNun1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1866)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene90", 1);
Simpen("Succubus.txt", 9, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene89", 1);
Simpen("Succubus.txt", 9, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene88", 1);
Simpen("Succubus.txt", 9, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene87", 1);
Simpen("Succubus.txt", 9, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene86", 1);
Simpen("Succubus.txt", 9, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene85", 1);
Simpen("Succubus.txt", 9, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene84", 1);
Simpen("Succubus.txt", 9, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene83", 1);
Simpen("Succubus.txt", 9, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene82", 1);
Simpen("Succubus.txt", 9, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene81", 1);
Simpen("Succubus.txt", 9, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1868)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_01");
}
return;
}
if(animhandle==1869)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_02");
}
return;
}
if(animhandle==1870)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_03");
}
return;
}
if(animhandle==1871)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_04");
}
return;
}
if(animhandle==1872)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_05");
}
return;
}
if(animhandle==1873)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_06");
}
return;
}
if(animhandle==1874)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_07");
}
return;
}
if(animhandle==1875)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_08");
}
return;
}
if(animhandle==1876)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_01");
}
return;
}
if(animhandle==1877)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishNun_02");
}
return;
}

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


# data/chars/dialogues/GeneralFinishNun/NunAtk1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1878)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene90", 1);
Simpen("Succubus.txt", 9, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene89", 1);
Simpen("Succubus.txt", 9, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene88", 1);
Simpen("Succubus.txt", 9, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene87", 1);
Simpen("Succubus.txt", 9, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene86", 1);
Simpen("Succubus.txt", 9, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene85", 1);
Simpen("Succubus.txt", 9, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene84", 1);
Simpen("Succubus.txt", 9, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene83", 1);
Simpen("Succubus.txt", 9, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene82", 1);
Simpen("Succubus.txt", 9, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene81", 1);
Simpen("Succubus.txt", 9, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1880)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_01");
}
return;
}
if(animhandle==1881)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_02");
}
return;
}
if(animhandle==1882)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_03");
}
return;
}
if(animhandle==1883)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_06");
}
return;
}
if(animhandle==1884)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_05");
}
return;
}
if(animhandle==1885)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_01");
}
return;
}
if(animhandle==1886)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_02");
}
return;
}
if(animhandle==1887)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_03");
}
return;
}
if(animhandle==1888)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_04");
}
return;
}
if(animhandle==1889)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "NunAtk_05");
}
return;
}

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


# data/chars/dialogues/GeneralFinishVirgin/VirginAtk1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1890)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(r >= 90){
setglobalvar("Scene90", 1);
Simpen("Succubus.txt", 9, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene89", 1);
Simpen("Succubus.txt", 9, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene88", 1);
Simpen("Succubus.txt", 9, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene87", 1);
Simpen("Succubus.txt", 9, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene86", 1);
Simpen("Succubus.txt", 9, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene85", 1);
Simpen("Succubus.txt", 9, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene84", 1);
Simpen("Succubus.txt", 9, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene83", 1);
Simpen("Succubus.txt", 9, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene82", 1);
Simpen("Succubus.txt", 9, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene81", 1);
Simpen("Succubus.txt", 9, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1892)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_01");
}
return;
}
if(animhandle==1893)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_02");
}
return;
}
if(animhandle==1894)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_03");
}
return;
}
if(animhandle==1895)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_04");
}
return;
}
if(animhandle==1896)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_05");
}
return;
}
if(animhandle==1897)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_06");
}
return;
}
if(animhandle==1898)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_07");
}
return;
}
if(animhandle==1899)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_05");
}
return;
}
if(animhandle==1900)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_06");
}
return;
}
if(animhandle==1901)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_07");
}
return;
}

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


# data/chars/dialogues/GeneralFinishVirgin/VirginFinish1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1902)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene90", 1);
Simpen("Succubus.txt", 9, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene89", 1);
Simpen("Succubus.txt", 9, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene88", 1);
Simpen("Succubus.txt", 9, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene87", 1);
Simpen("Succubus.txt", 9, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene86", 1);
Simpen("Succubus.txt", 9, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene85", 1);
Simpen("Succubus.txt", 9, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene84", 1);
Simpen("Succubus.txt", 9, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene83", 1);
Simpen("Succubus.txt", 9, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene82", 1);
Simpen("Succubus.txt", 9, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene81", 1);
Simpen("Succubus.txt", 9, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1904)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_01");
}
return;
}
if(animhandle==1905)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_02");
}
return;
}
if(animhandle==1906)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_03");
}
return;
}
if(animhandle==1907)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_01");
}
return;
}
if(animhandle==1908)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_02");
}
return;
}
if(animhandle==1909)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_03");
}
return;
}
if(animhandle==1910)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_01");
}
return;
}
if(animhandle==1911)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_02");
}
return;
}
if(animhandle==1912)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_03");
}
return;
}
if(animhandle==1913)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginFinish_01");
}
return;
}

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


# data/chars/dialogues/MaidAttacks/MaidAtk1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1914)
{

if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;

if(r >= 90){


setglobalvar("Scene90", 1);
Simpen("Succubus.txt", 9, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene89", 1);
Simpen("Succubus.txt", 9, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene88", 1);
Simpen("Succubus.txt", 9, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene87", 1);
Simpen("Succubus.txt", 9, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene86", 1);
Simpen("Succubus.txt", 9, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene85", 1);
Simpen("Succubus.txt", 9, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene84", 1);
Simpen("Succubus.txt", 9, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene83", 1);
Simpen("Succubus.txt", 9, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene82", 1);
Simpen("Succubus.txt", 9, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene81", 1);
Simpen("Succubus.txt", 9, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1916)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_01");
}
return;
}
if(animhandle==1917)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_02");
}
return;
}
if(animhandle==1918)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_03");
}
return;
}
if(animhandle==1919)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_04");
}
return;
}
if(animhandle==1920)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_05");
}
return;
}
if(animhandle==1921)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_01");
}
return;
}
if(animhandle==1922)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_02");
}
return;
}
if(animhandle==1923)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_03");
}
return;
}
if(animhandle==1924)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_04");
}
return;
}
if(animhandle==1925)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "MaidAtk_05");
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/VarinaAtk1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1926)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 5; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1928)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk1_01");
}
return;
}
if(animhandle==1929)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk1_02");
}
return;
}
if(animhandle==1930)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk1_03");
}
return;
}
if(animhandle==1931)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk1_04");
}
return;
}
if(animhandle==1932)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk1_05");
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/VarinaAtk2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1933)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 5; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1935)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk2_01");
}
return;
}
if(animhandle==1936)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk2_02");
}
return;
}
if(animhandle==1937)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk2_03");
}
return;
}
if(animhandle==1938)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk2_04");
}
return;
}
if(animhandle==1939)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk2_05");
}
return;
}

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


# data/chars/dialogues/GeneralFinishVarina/VarinaAtk3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1940)
{

if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 5; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;

if(rand < 0){rand = rand*(-1);} //AVOID NEGATIVE NUMBERS


if(rand != 0){result = result+rand;} //AVOID ZERO VALUE, ONCE THERE'S NO
FOLLOW0
performattack(self, openborconstant("ANI_FOLLOW"+result)); //CHANGE THE
FOLLOW ANIMATION
}
return;
}
if(animhandle==1942)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk3_01");
}
return;
}
if(animhandle==1943)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk3_02");
}
return;
}
if(animhandle==1944)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk3_03");
}
return;
}
if(animhandle==1945)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk3_04");
}
return;
}
if(animhandle==1946)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("supervarina", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "VarinaAtk3_05");
}
return;
}

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


# data/chars/misc/story/story.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1947)
{
if(frame==1)
{
talk();
}
return;
}
if(animhandle==1948)
{
if(frame==1)
{
sendDialogMsg();
}
return;
}

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


# data/chars/text/runtext.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1950)
{
if(frame==1)
{
talk();
}
return;
}
if(animhandle==1951)
{
if(frame==1)
{
sendDialogMsg();
}
return;
}

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


# data/bgs/konsol/cursor3.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1953)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Step = getentityproperty(self, "grabforce");

int H = checkwall(x+Step,z);

if(H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x + Step);
}
}
return;
}
if(animhandle==1954)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Step = getentityproperty(self, "grabforce");

int H = checkwall(x-Step,z);

if(H <= 0){


int SFX = loadsample("data/sounds/beep.wav");
playsample(SFX, 0, 120, 120, 100, 0);
changeentityproperty(self, "position", x - Step);
}
}
return;
}
if(animhandle==1955)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Leap = getentityproperty(self, "antigrab");
int ZMin = openborvariant("PLAYER_MIN_Z");

int H = checkwall(x,z - Leap);

if(z - Leap > ZMin && H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x, z - Leap);
}
}
return;
}
if(animhandle==1956)
{

if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Leap = getentityproperty(self, "antigrab");
int ZMax = openborvariant("PLAYER_MAX_Z");

int H = checkwall(x,z + Leap);

if(z + Leap < ZMax && H <= 0){


int SFX = loadsample("data/sounds/beep.wav");

playsample(SFX, 0, 120, 120, 100, 0);


changeentityproperty(self, "position", x, z + Leap);
}
}
return;
}

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


# data/chars/gallery/Gallery_Menu.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1964)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
char Name = getentityproperty(self,"name");
jumptobranch(Name, 1);
}
return;
}

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


# data/chars/text/TextPop_Tutorial.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1965)
{
if(frame==1)
{
suicide();
}
return;
}
if(animhandle==1966)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1967)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1968)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1969)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1970)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1971)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1972)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1973)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1974)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1975)
{
if(frame==0)
{
StopSounds();
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1976)
{
if(frame==0)
{
StopSounds();
}
if(frame==1)
{
randSound("Gallery_1.wav", "Gallery_2.wav", "Gallery_3.wav");
}
if(frame==3)
{
suicide();
}
return;
}
if(animhandle==1977)
{
if(frame==0)
{
StopSounds();
}
if(frame==1)
{
randSound("Femdom_1.wav", "Femdom_2.wav", "Femdom_3.wav");
}
if(frame==3)
{
suicide();
}
return;
}

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


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

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
char Name = getentityproperty(self,"name");
jumptobranch(Name, 1);
}
return;
}

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


# data/chars/gallery/Options_Menu.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1985)
{

if(frame==2){
changeopenborvariant("textbox", 1); //FREEZE THE GAME
options();
changeopenborvariant("textbox", NULL()); //UNFREEZE THE GAME
}
if(frame==1)
{
spawn06("Dark2", 800, 0, 800);
}
return;
}

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


# data/chars/misc/menu/back_button.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1988)
{
if(frame>=2 && frame<=3){
void self = getlocalvar("self");
char Name = getentityproperty(self,"name");
jumptobranch(Name, 1);
}
return;
}

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


# data\chars\misc\safety\7381723817239.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1990)
{

if(frame==1){
void self = getlocalvar("self");

setglobalvar("3423453245", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==1991)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("3423453245") == 1){
setglobalvar("3423453245", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("3423453245") == 2){


setglobalvar("3423453245", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("3423453245") == 3){


setglobalvar("3423453245", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("3423453245") == 4){


setglobalvar("3423453245", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("3423453245") == 5){


setglobalvar("3423453245", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}
else if(getglobalvar("3423453245") == 6){
setglobalvar("3423453245", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("3423453245") == 7){


setglobalvar("3423453245", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

else if(getglobalvar("3423453245") == 8){


setglobalvar("3423453245", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("3423453245") == 9){


setglobalvar("3423453245", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

}
return;
}
if(animhandle==1992)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("3423453245") == 1){
setglobalvar("3423453245", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("3423453245") == 2){


setglobalvar("3423453245", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

else if(getglobalvar("3423453245") == 3){


setglobalvar("3423453245", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("3423453245") == 4){


setglobalvar("3423453245", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("3423453245") == 5){


setglobalvar("3423453245", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("3423453245") == 6){


setglobalvar("3423453245", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}
else if(getglobalvar("3423453245") == 7){
setglobalvar("3423453245", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("3423453245") == 8){


setglobalvar("3423453245", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("3423453245") == 9){


setglobalvar("3423453245", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

}
return;
}

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


# data\chars\misc\safety\8237187381198.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2003)
{

if(frame==1){
void self = getlocalvar("self");

setglobalvar("1234234413", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2004)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("1234234413") == 1){
setglobalvar("1234234413", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("1234234413") == 2){


setglobalvar("1234234413", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("1234234413") == 3){


setglobalvar("1234234413", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("1234234413") == 4){


setglobalvar("1234234413", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("1234234413") == 5){


setglobalvar("1234234413", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("1234234413") == 6){


setglobalvar("1234234413", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("1234234413") == 7){


setglobalvar("1234234413", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

else if(getglobalvar("1234234413") == 8){


setglobalvar("1234234413", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("1234234413") == 9){


setglobalvar("1234234413", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

}
return;
}
if(animhandle==2005)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("1234234413") == 1){
setglobalvar("1234234413", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("1234234413") == 2){


setglobalvar("1234234413", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

else if(getglobalvar("1234234413") == 3){


setglobalvar("1234234413", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("1234234413") == 4){


setglobalvar("1234234413", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("1234234413") == 5){


setglobalvar("1234234413", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("1234234413") == 6){


setglobalvar("1234234413", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("1234234413") == 7){


setglobalvar("1234234413", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("1234234413") == 8){


setglobalvar("1234234413", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("1234234413") == 9){


setglobalvar("1234234413", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

}
return;
}

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


# data\chars\misc\safety\4172389172379.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2016)
{

if(frame==1){
void self = getlocalvar("self");

setglobalvar("8923487983", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2017)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("8923487983") == 1){
setglobalvar("8923487983", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("8923487983") == 2){


setglobalvar("8923487983", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("8923487983") == 3){


setglobalvar("8923487983", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("8923487983") == 4){


setglobalvar("8923487983", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("8923487983") == 5){


setglobalvar("8923487983", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("8923487983") == 6){


setglobalvar("8923487983", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("8923487983") == 7){


setglobalvar("8923487983", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

else if(getglobalvar("8923487983") == 8){


setglobalvar("8923487983", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("8923487983") == 9){


setglobalvar("8923487983", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

}
return;
}
if(animhandle==2018)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("8923487983") == 1){
setglobalvar("8923487983", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("8923487983") == 2){


setglobalvar("8923487983", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

else if(getglobalvar("8923487983") == 3){


setglobalvar("8923487983", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("8923487983") == 4){


setglobalvar("8923487983", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("8923487983") == 5){


setglobalvar("8923487983", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("8923487983") == 6){


setglobalvar("8923487983", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("8923487983") == 7){


setglobalvar("8923487983", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("8923487983") == 8){


setglobalvar("8923487983", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("8923487983") == 9){


setglobalvar("8923487983", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

}
return;
}

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


# data\chars\misc\safety\5723817231723.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2029)
{

if(frame==1){
void self = getlocalvar("self");

setglobalvar("8347874929", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2030)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("8347874929") == 1){
setglobalvar("8347874929", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("8347874929") == 2){


setglobalvar("8347874929", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("8347874929") == 3){


setglobalvar("8347874929", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("8347874929") == 4){


setglobalvar("8347874929", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("8347874929") == 5){


setglobalvar("8347874929", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("8347874929") == 6){


setglobalvar("8347874929", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("8347874929") == 7){


setglobalvar("8347874929", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

else if(getglobalvar("8347874929") == 8){


setglobalvar("8347874929", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("8347874929") == 9){


setglobalvar("8347874929", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

}
return;
}
if(animhandle==2031)
{
if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("8347874929") == 1){
setglobalvar("8347874929", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("8347874929") == 2){


setglobalvar("8347874929", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

else if(getglobalvar("8347874929") == 3){


setglobalvar("8347874929", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("8347874929") == 4){


setglobalvar("8347874929", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("8347874929") == 5){


setglobalvar("8347874929", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("8347874929") == 6){


setglobalvar("8347874929", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("8347874929") == 7){


setglobalvar("8347874929", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("8347874929") == 8){


setglobalvar("8347874929", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("8347874929") == 9){


setglobalvar("8347874929", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

}
return;
}

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


# data\chars\misc\safety\2739798739187.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2042)
{

if(frame==1){
void self = getlocalvar("self");

setglobalvar("8274287492", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2043)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("8274287492") == 1){
setglobalvar("8274287492", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("8274287492") == 2){


setglobalvar("8274287492", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("8274287492") == 3){


setglobalvar("8274287492", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("8274287492") == 4){


setglobalvar("8274287492", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("8274287492") == 5){


setglobalvar("8274287492", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("8274287492") == 6){


setglobalvar("8274287492", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("8274287492") == 7){


setglobalvar("8274287492", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

else if(getglobalvar("8274287492") == 8){


setglobalvar("8274287492", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}
else if(getglobalvar("8274287492") == 9){
setglobalvar("8274287492", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

}
return;
}
if(animhandle==2044)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("8274287492") == 1){
setglobalvar("8274287492", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("8274287492") == 2){


setglobalvar("8274287492", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

else if(getglobalvar("8274287492") == 3){


setglobalvar("8274287492", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("8274287492") == 4){


setglobalvar("8274287492", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("8274287492") == 5){


setglobalvar("8274287492", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("8274287492") == 6){


setglobalvar("8274287492", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("8274287492") == 7){


setglobalvar("8274287492", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("8274287492") == 8){


setglobalvar("8274287492", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("8274287492") == 9){


setglobalvar("8274287492", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}
}
return;
}

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


# data\chars\misc\safety\2873123123234.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2055)
{

if(frame==1){
void self = getlocalvar("self");

setglobalvar("2837284792", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2056)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("2837284792") == 1){
setglobalvar("2837284792", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("2837284792") == 2){


setglobalvar("2837284792", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("2837284792") == 3){


setglobalvar("2837284792", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("2837284792") == 4){


setglobalvar("2837284792", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("2837284792") == 5){


setglobalvar("2837284792", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("2837284792") == 6){


setglobalvar("2837284792", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("2837284792") == 7){


setglobalvar("2837284792", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

else if(getglobalvar("2837284792") == 8){


setglobalvar("2837284792", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("2837284792") == 9){


setglobalvar("2837284792", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

}
return;
}
if(animhandle==2057)
{

if(frame==1){
void self = getlocalvar("self");

if(getglobalvar("2837284792") == 1){
setglobalvar("2837284792", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}

else if(getglobalvar("2837284792") == 2){


setglobalvar("2837284792", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}

else if(getglobalvar("2837284792") == 3){


setglobalvar("2837284792", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}

else if(getglobalvar("2837284792") == 4){


setglobalvar("2837284792", 3);
performattack(self, openborconstant("ANI_FOLLOW3"));
}

else if(getglobalvar("2837284792") == 5){


setglobalvar("2837284792", 4);
performattack(self, openborconstant("ANI_FOLLOW4"));
}

else if(getglobalvar("2837284792") == 6){


setglobalvar("2837284792", 5);
performattack(self, openborconstant("ANI_FOLLOW5"));
}

else if(getglobalvar("2837284792") == 7){


setglobalvar("2837284792", 6);
performattack(self, openborconstant("ANI_FOLLOW6"));
}

else if(getglobalvar("2837284792") == 8){


setglobalvar("2837284792", 7);
performattack(self, openborconstant("ANI_FOLLOW7"));
}

else if(getglobalvar("2837284792") == 9){


setglobalvar("2837284792", 8);
performattack(self, openborconstant("ANI_FOLLOW8"));
}

}
return;
}

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


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

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
char Name = getentityproperty(self,"name");
jumptobranch(Name, 1);
}
return;
}

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


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

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
void P2 = getplayerproperty(1, "entity");

float x = getentityproperty(self, "x");


float z = getentityproperty(self, "z");
int Health = getentityproperty(self,"health");
int Dir = getentityproperty(self,"direction");
char Name = getentityproperty(self,"name");
float Tx1 = getentityproperty(P1, "x");
float Tz1 = getentityproperty(P1, "z");
float Tx2 = getentityproperty(P2, "x");
float Tz2 = getentityproperty(P2, "z");
int Rx; int Rz;

float Disx1 = Tx1 - x;


float Disz1 = Tz1 - z;
float Disx2 = Tx2 - x;
float Disz2 = Tz2 - z;

if(Disx1 < 0){


Disx1 = -Disx1;
}

if(Disx2 < 0){


Disx2 = -Disx2;
}

if(Disz1 < 0){


Disz1 = -Disz1;
}

if(Disz2 < 0){


Disz2 = -Disz2;
}

if(frame >= 1){


if(Disx1 <= 60 && Disz1 <= 60){
Rx = Health/10000;
Rz = Health%10000;

setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
} else if(Disx2 <= 50 && Disz2 <= 50){
Rx = Health/10000;
Rz = Health%10000;

setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
}
}
return;
}
if(animhandle==2072)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
void P2 = getplayerproperty(1, "entity");

float x = getentityproperty(self, "x");


float z = getentityproperty(self, "z");
int Health = getentityproperty(self,"health");
int Dir = getentityproperty(self,"direction");
char Name = getentityproperty(self,"name");
float Tx1 = getentityproperty(P1, "x");
float Tz1 = getentityproperty(P1, "z");
float Tx2 = getentityproperty(P2, "x");
float Tz2 = getentityproperty(P2, "z");
int Rx; int Rz;

float Disx1 = Tx1 - x;


float Disz1 = Tz1 - z;
float Disx2 = Tx2 - x;
float Disz2 = Tz2 - z;

if(Disx1 < 0){


Disx1 = -Disx1;
}

if(Disx2 < 0){


Disx2 = -Disx2;
}

if(Disz1 < 0){


Disz1 = -Disz1;
}

if(Disz2 < 0){


Disz2 = -Disz2;
}

if(frame >= 1){


if(Disx1 <= 50 && Disz1 <= 50){
Rx = Health/10000;
Rz = Health%10000;

setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
} else if(Disx2 <= 50 && Disz2 <= 50){
Rx = Health/10000;
Rz = Health%10000;

setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
}
}
return;
}
if(animhandle==2073)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
void P2 = getplayerproperty(1, "entity");

float x = getentityproperty(self, "x");


float z = getentityproperty(self, "z");
int Health = getentityproperty(self,"health");
int Dir = getentityproperty(self,"direction");
char Name = getentityproperty(self,"name");
float Tx1 = getentityproperty(P1, "x");
float Tz1 = getentityproperty(P1, "z");
float Tx2 = getentityproperty(P2, "x");
float Tz2 = getentityproperty(P2, "z");
int Rx; int Rz;

float Disx1 = Tx1 - x;


float Disz1 = Tz1 - z;
float Disx2 = Tx2 - x;
float Disz2 = Tz2 - z;

if(Disx1 < 0){


Disx1 = -Disx1;
}

if(Disx2 < 0){


Disx2 = -Disx2;
}

if(Disz1 < 0){


Disz1 = -Disz1;
}

if(Disz2 < 0){


Disz2 = -Disz2;
}

if(frame >= 1){


if(Disx1 <= 50 && Disz1 <= 50){
Rx = Health/10000;
Rz = Health%10000;

setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
} else if(Disx2 <= 50 && Disz2 <= 50){
Rx = Health/10000;
Rz = Health%10000;

setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
}
}
return;
}

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


# data/bgs/menu/bigport.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2075)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("MemberName" + Slot);

if(Char == "Estrelle"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW6"));
} else if(Char == "Yukari"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW5"));
} else if(Char == "Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW4"));
} else if(Char == "Varina"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
} else if(Char == "Lisina"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW2"));
} else if(Char == "Aerisetta"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==2078)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("MemberName" + Slot);

if(Char != "Aerisetta"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2079)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("MemberName" + Slot);

if(Char != "Lisina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2080)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("MemberName" + Slot);
if(Char != "Varina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2081)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("MemberName" + Slot);

if(Char != "Hero"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2082)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("MemberName" + Slot);

if(Char != "Yukari"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2083)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("MemberName" + Slot);

if(Char != "Estrelle"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}

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


# data/bgs/menu/bigport2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2084)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("TempName" + Slot);

if(Char == "Estrelle"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW6"));
} else if(Char == "Yukari"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW5"));
} else if(Char == "Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW4"));
} else if(Char == "Varina"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
} else if(Char == "Lisina"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW2"));
} else if(Char == "Aerisetta"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==2087)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("TempName" + Slot);

if(Char != "Aerisetta"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2088)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("TempName" + Slot);

if(Char != "Lisina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2089)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("TempName" + Slot);
if(Char != "Varina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2090)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("TempName" + Slot);

if(Char != "Hero"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2091)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("TempName" + Slot);

if(Char != "Yukari"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2092)
{

if(frame >= 1){


void self = getlocalvar("self");
int Slot = getentityproperty(self,"health");
void Char = getglobalvar("TempName" + Slot);

if(Char != "Estrelle"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}

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


# data/bgs/menu/selport.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2093)
{

if(frame >= 1){


void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");

if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2095)
{

if(frame == 1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
int Cek1 = CompSlot(1, Health);
int Cek2 = CompSlot(2, Health);
int Cek3 = CompSlot(3, Health);
int Res = Cek1 + Cek2 + Cek3;

setentityvar(self, "Pilih", Res);


changedrawmethod(self, "flag", 1);

if(Health == 2){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW2"));
} else if(Health == 3){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
} else if(Health == 4){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW4"));
} else if(Health == 5){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW5"));
} else if(Health == 6){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW6"));
}
}
return;
}
if(animhandle==2096)
{

if(frame >= 1){


void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");

if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2097)
{

if(frame >= 1){


void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");

if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2098)
{

if(frame >= 1){


void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");

if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2099)
{

if(frame >= 1){


void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");

if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2100)
{

if(frame >= 1){


void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");

if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}

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


# data/bgs/menu/tagOK.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2101)
{

if(frame >= 1){


void self = getlocalvar("self");
void State = getentityvar(self,"Pilih");
char Ch1 = getglobalvar("MemberName1");
char Ch2 = getglobalvar("MemberName2");
char Ch3 = getglobalvar("MemberName3");

if(Ch1 == NULL() || Ch2 == NULL() || Ch3 == NULL()){


changeentityproperty(self, "map", 1);
} else {
changeentityproperty(self, "map", 0);
}
if(State == "X"){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==2102)
{

if(frame == 1){
char Ch1 = getglobalvar("MemberName1");
char Ch2 = getglobalvar("MemberName2");
char Ch3 = getglobalvar("MemberName3");
int Plvl = getglobalvar("level.0") - 1;
int MHP1 = MaxDec(Ch1, "HP");
int MMP1 = MaxDec(Ch1, "MP");
int MHP2 = MaxDec(Ch2, "HP");
int MMP2 = MaxDec(Ch2, "MP");
int MHP3 = MaxDec(Ch3, "HP");
int MMP3 = MaxDec(Ch3, "MP");

setglobalvar("MemberHP1", MHP1);
setglobalvar("MemberMP1", MMP1);
setglobalvar("MemberHP2", MHP2);
setglobalvar("MemberMP2", MMP2);
setglobalvar("MemberHP3", MHP3);
setglobalvar("MemberMP3", MMP3);

jumptobranch("Lanjut", 1);
}
return;
}

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


# data/chars/Zuruthustra/Zuruthustra_Enemy.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2119)
{
if(frame==0)
{
consume(30, 0, "ANI_CANT");
}
return;
}

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


# data/chars/gallery/Yukari_Gallery.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2123)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
int number = getentityproperty(self, "mp"); //USES MP AS THE ENTITY NUMBER,
AVOID ANY POSSIBLE DAMAGE GLITCH
int adjust = 3; //USED TO JUMP THE FIRST FRAMES FROM 0 TO 3
updateframe(self, number+adjust); //CHANGE TO THE DESIRED FRAME ACCORDING
TO THE ENTITY NUMBER
}
return;
}
if(animhandle==2124)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
int number = getentityproperty(self, "mp"); //USES MP AS THE ENTITY NUMBER,
AVOID ANY POSSIBLE DAMAGE GLITCH
int adjust = 3; //USED TO JUMP THE FIRST FRAMES FROM 0 TO 3
updateframe(self, number+adjust); //CHANGE TO THE DESIRED FRAME ACCORDING
TO THE ENTITY NUMBER
}
return;
}
if(animhandle==2125)
{
if(frame>=2 && frame<=3){
void self = getlocalvar("self");
void number = getentityproperty(self, "mp")+"";
performattack(self, openborconstant("ANI_FOLLOW"+number)); //CHANGE TO THE
CORRESPONDING FOLLOW NUMBER
}
if(frame==0)
{
randSound2("supersound/Y_Super1.wav", "supersound/Y_Super2.wav",
"supersound/Y_Super3.wav", "supersound/Y_Super4.wav", "supersound/Y_Super5.wav",
"supersound/Y_Super1.wav", "supersound/Y_Super2.wav", "supersound/Y_Super3.wav",
"supersound/Y_Super4.wav", "supersound/Y_Super5.wav");
}
if(frame==0)
{
spawn06("Dark2", 800, 0, 800);
}
return;
}
if(animhandle==2126)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M01");
}
return;
}
if(animhandle==2127)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M01b");
}
return;
}
if(animhandle==2128)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M01d");
}
return;
}
if(animhandle==2129)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M02");
}
return;
}
if(animhandle==2130)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M02b");
}
return;
}
if(animhandle==2131)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M02d");
}
return;
}
if(animhandle==2132)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M03");
}
return;
}
if(animhandle==2133)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M03b");
}
return;
}
if(animhandle==2134)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M03d");
}
return;
}
if(animhandle==2135)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M04");
}
return;
}
if(animhandle==2136)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M04b");
}
return;
}
if(animhandle==2137)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M04d");
}
return;
}
if(animhandle==2138)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M05");
}
return;
}
if(animhandle==2139)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M05b");
}
return;
}
if(animhandle==2140)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M05d");
}
return;
}
if(animhandle==2141)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M06");
}
return;
}
if(animhandle==2142)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M06b");
}
return;
}
if(animhandle==2143)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M06d");
}
return;
}
if(animhandle==2144)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M07");
}
return;
}
if(animhandle==2145)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M07b");
}
return;
}
if(animhandle==2146)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M07d");
}
return;
}
if(animhandle==2147)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseYukari_M01");
}
return;
}
if(animhandle==2148)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseYukari_M02");
}
return;
}
if(animhandle==2149)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M08");
}
return;
}
if(animhandle==2150)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M08b");
}
return;
}
if(animhandle==2151)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M08d");
}
return;
}
if(animhandle==2152)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M09");
}
return;
}
if(animhandle==2153)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M09b");
}
return;
}
if(animhandle==2154)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M09d");
}
return;
}
if(animhandle==2155)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M10");
}
return;
}
if(animhandle==2156)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M10b");
}
return;
}
if(animhandle==2157)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M10d");
}
return;
}
if(animhandle==2158)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M11");
}
return;
}
if(animhandle==2159)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M11b");
}
return;
}
if(animhandle==2160)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M11d");
}
return;
}
if(animhandle==2161)
{
if(frame==1)
{
playwebm("data/scenes/Y_Lose_01.webm", 0);
}
if(frame==2)
{
MusicStage();
}
return;
}
if(animhandle==2162)
{
if(frame==1)
{
playwebm("data/scenes/Y_Finisher_A01.webm", 0);
}
if(frame==2)
{
MusicStage();
}
return;
}
if(animhandle==2163)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M12");
}
return;
}
if(animhandle==2164)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M12b");
}
return;
}
if(animhandle==2165)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishYukari_M12d");
}
return;
}

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


# data/chars/gallery/Aerisetta_Gallery.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2166)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
int number = getentityproperty(self, "mp"); //USES MP AS THE ENTITY NUMBER,
AVOID ANY POSSIBLE DAMAGE GLITCH
int adjust = 3; //USED TO JUMP THE FIRST FRAMES FROM 0 TO 3
updateframe(self, number+adjust); //CHANGE TO THE DESIRED FRAME ACCORDING
TO THE ENTITY NUMBER
}
return;
}
if(animhandle==2167)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
int number = getentityproperty(self, "mp"); //USES MP AS THE ENTITY NUMBER,
AVOID ANY POSSIBLE DAMAGE GLITCH
int adjust = 3; //USED TO JUMP THE FIRST FRAMES FROM 0 TO 3
updateframe(self, number+adjust); //CHANGE TO THE DESIRED FRAME ACCORDING
TO THE ENTITY NUMBER
}
return;
}
if(animhandle==2168)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
void number = getentityproperty(self, "mp")+"";
performattack(self, openborconstant("ANI_FOLLOW"+number)); //CHANGE TO THE
CORRESPONDING FOLLOW NUMBER
}
if(frame==0)
{
randSound2("/supersound/supersound01.wav",
"/supersound/supersound02.wav", "/supersound/supersound03.wav",
"/supersound/supersound04.wav", "/supersound/supersound05.wav",
"/supersound/supersound06.wav", "/supersound/supersound07.wav",
"/supersound/supersound08.wav", "/supersound/supersound09.wav");
}
if(frame==0)
{
spawn06("Dark2", 800, 0, 800);
}
return;
}
if(animhandle==2169)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M01");
}
return;
}
if(animhandle==2170)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M01b");
}
return;
}
if(animhandle==2171)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M01c");
}
return;
}
if(animhandle==2172)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M02");
}
return;
}
if(animhandle==2173)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M02b");
}
return;
}
if(animhandle==2174)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M03");
}
return;
}
if(animhandle==2175)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M03b");
}
return;
}
if(animhandle==2176)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M04");
}
return;
}
if(animhandle==2177)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M04b");
}
return;
}
if(animhandle==2178)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M05");
}
return;
}
if(animhandle==2179)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M05b");
}
return;
}
if(animhandle==2180)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M06");
}
return;
}
if(animhandle==2181)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M06b");
}
return;
}
if(animhandle==2182)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M07");
}
return;
}
if(animhandle==2183)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M07b");
}
return;
}
if(animhandle==2184)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M08");
}
return;
}
if(animhandle==2185)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M08b");
}
return;
}
if(animhandle==2186)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M09");
}
return;
}
if(animhandle==2187)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M09b");
}
return;
}
if(animhandle==2188)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M10");
}
return;
}
if(animhandle==2189)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M10b");
}
return;
}
if(animhandle==2190)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M11");
}
return;
}
if(animhandle==2191)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M11b");
}
return;
}
if(animhandle==2192)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M12");
}
return;
}
if(animhandle==2193)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M12b");
}
return;
}
if(animhandle==2194)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M13");
}
return;
}
if(animhandle==2195)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M13b");
}
return;
}
if(animhandle==2196)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M14");
}
return;
}
if(animhandle==2197)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M14b");
}
return;
}
if(animhandle==2198)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M15");
}
return;
}
if(animhandle==2199)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M15b");
}
return;
}
if(animhandle==2200)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M16");
}
return;
}
if(animhandle==2201)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M16b");
}
return;
}
if(animhandle==2202)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M17");
}
return;
}
if(animhandle==2203)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M17b");
}
return;
}
if(animhandle==2204)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M18");
}
return;
}
if(animhandle==2205)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M18b");
}
return;
}
if(animhandle==2206)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M19");
}
return;
}
if(animhandle==2207)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M19b");
}
return;
}
if(animhandle==2208)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M20");
}
return;
}
if(animhandle==2209)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M20b");
}
return;
}
if(animhandle==2210)
{
if(frame==1)
{
playwebm("data/scenes/A_Finisher_A01.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/A_Finisher_A02.webm", 0);
}
return;
}
if(animhandle==2211)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M01");
}
return;
}
if(animhandle==2212)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M02");
}
return;
}
if(animhandle==2213)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M03");
}
return;
}
if(animhandle==2214)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M04");
}
return;
}
if(animhandle==2215)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M05");
}
return;
}
if(animhandle==2216)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M06");
}
return;
}
if(animhandle==2217)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M07");
}
return;
}
if(animhandle==2218)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M08");
}
return;
}
if(animhandle==2219)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M09");
}
return;
}
if(animhandle==2220)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisetta_M10");
}
return;
}
if(animhandle==2221)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==2222)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishPrincess_F01");
}
return;
}
if(animhandle==2223)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishPrincess_F01b");
}
return;
}
if(animhandle==2224)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishPrincess_F02");
}
return;
}
if(animhandle==2225)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishPrincess_F02b");
}
return;
}
if(animhandle==2226)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishPrincess_F03");
}
return;
}
if(animhandle==2227)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishPrincess_F03b");
}
return;
}
if(animhandle==2228)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M21");
}
return;
}
if(animhandle==2229)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M21b");
}
return;
}
if(animhandle==2230)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M21d");
}
return;
}
if(animhandle==2231)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M22");
}
return;
}
if(animhandle==2232)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M22b");
}
return;
}
if(animhandle==2233)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M22d");
}
return;
}
if(animhandle==2234)
{
if(frame==1)
{
playwebm("data/scenes/A_Lose_01.webm", 0);
}
if(frame==2)
{
MusicStage();
}
return;
}
if(animhandle==2235)
{
if(frame==1)
{
playwebm("data/scenes/A_Finisher_B01.webm", 0);
}
if(frame==2)
{
MusicStage();
}
return;
}
if(animhandle==2236)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M23");
}
return;
}
if(animhandle==2237)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M23b");
}
return;
}
if(animhandle==2238)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishPrincess_M23d");
}
return;
}

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


# data/chars/gallery/Lisina_Gallery.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2239)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
int number = getentityproperty(self, "mp"); //USES MP AS THE ENTITY NUMBER,
AVOID ANY POSSIBLE DAMAGE GLITCH
int adjust = 3; //USED TO JUMP THE FIRST FRAMES FROM 0 TO 3
updateframe(self, number+adjust); //CHANGE TO THE DESIRED FRAME ACCORDING
TO THE ENTITY NUMBER
}
return;
}
if(animhandle==2240)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
int number = getentityproperty(self, "mp"); //USES MP AS THE ENTITY NUMBER,
AVOID ANY POSSIBLE DAMAGE GLITCH
int adjust = 3; //USED TO JUMP THE FIRST FRAMES FROM 0 TO 3
updateframe(self, number+adjust); //CHANGE TO THE DESIRED FRAME ACCORDING
TO THE ENTITY NUMBER
}
return;
}
if(animhandle==2241)
{

if(frame>=2 && frame<=3){


void self = getlocalvar("self");
void number = getentityproperty(self, "mp")+"";
performattack(self, openborconstant("ANI_FOLLOW"+number)); //CHANGE TO THE
CORRESPONDING FOLLOW NUMBER
}
if(frame==0)
{
randSound2("V_Laugh.wav", "V_Laugh1.wav", "V_Laugh2.wav",
"V_Laugh3.wav", "V_Block1.wav", "V_Block2.wav", "V_Block3.wav", "V_Laugh2.wav",
"V_Laugh3.wav");
}
if(frame==0)
{
spawn06("Dark2", 800, 0, 800);
}
return;
}
if(animhandle==2242)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M01");
}
return;
}
if(animhandle==2243)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M01b");
}
return;
}
if(animhandle==2244)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M02");
}
return;
}
if(animhandle==2245)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M02b");
}
return;
}
if(animhandle==2246)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M03");
}
return;
}
if(animhandle==2247)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M03b");
}
return;
}
if(animhandle==2248)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M04");
}
return;
}
if(animhandle==2249)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M04b");
}
return;
}
if(animhandle==2250)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M05");
}
return;
}
if(animhandle==2251)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M05b");
}
return;
}
if(animhandle==2252)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M06");
}
return;
}
if(animhandle==2253)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M06b");
}
return;
}
if(animhandle==2254)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M07");
}
return;
}
if(animhandle==2255)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M07b");
}
return;
}
if(animhandle==2256)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M08");
}
return;
}
if(animhandle==2257)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M08b");
}
return;
}
if(animhandle==2258)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M09");
}
return;
}
if(animhandle==2259)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M09b");
}
return;
}
if(animhandle==2260)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M10");
}
return;
}
if(animhandle==2261)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M10b");
}
return;
}
if(animhandle==2262)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M10d");
}
return;
}
if(animhandle==2263)
{
if(frame==1)
{
playwebm("data/scenes/L_Finisher_FJ01.webm", 0);
}
return;
}
if(animhandle==2264)
{
if(frame==1)
{
playwebm("data/scenes/L_Finisher_FJ02.webm", 0);
}
return;
}
if(animhandle==2265)
{
if(frame==0)
{
playwebm("data/scenes/L_Finisher_A01.webm", 0);
}
if(frame==1)
{
playwebm("data/scenes/L_Finisher_A02.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/L_Finisher_A03.webm", 0);
}
if(frame==3)
{
playwebm("data/scenes/L_Finisher_A04.webm", 0);
}
if(frame==4)
{
playwebm("data/scenes/L_Finisher_A05.webm", 0);
}
return;
}
if(animhandle==2266)
{
if(frame==1)
{
playwebm("data/scenes/L_Finisher_FJ03.webm", 0);
}
return;
}
if(animhandle==2267)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M01");
}
return;
}
if(animhandle==2268)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M01b");
}
return;
}
if(animhandle==2269)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M02");
}
return;
}
if(animhandle==2270)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M02b");
}
return;
}
if(animhandle==2271)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M03");
}
return;
}
if(animhandle==2272)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M03b");
}
return;
}
if(animhandle==2273)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M04");
}
return;
}
if(animhandle==2274)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M04b");
}
return;
}
if(animhandle==2275)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M05");
}
return;
}
if(animhandle==2276)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "LoseAerisettaElf_M05b");
}
return;
}
if(animhandle==2277)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F01");
}
return;
}
if(animhandle==2278)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F01b");
}
return;
}
if(animhandle==2279)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F02");
}
return;
}
if(animhandle==2280)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F02b");
}
return;
}
if(animhandle==2281)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F03");
}
return;
}
if(animhandle==2282)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F03b");
}
return;
}
if(animhandle==2283)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F04");
}
return;
}
if(animhandle==2284)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F04b");
}
return;
}
if(animhandle==2285)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F05");
}
return;
}
if(animhandle==2286)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "MaidFinishElf_F05b");
}
return;
}
if(animhandle==2287)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "Camp_Lisina_01a");
}
return;
}
if(animhandle==2288)
{
if(frame==0)
{
playwebm("data/scenes/L_Finisher_Maid01.webm", 0);
}
if(frame==1)
{
playwebm("data/scenes/L_Finisher_Maid02.webm", 0);
}
return;
}
if(animhandle==2289)
{
if(frame==1)
{
playwebm("data/scenes/L_Lose_01.webm", 0);
}
if(frame==2)
{
MusicStage();
}
return;
}
if(animhandle==2290)
{
if(frame==1)
{
playwebm("data/scenes/L_Finisher_B01.webm", 0);
}
if(frame==2)
{
MusicStage();
}
return;
}
if(animhandle==2291)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M11");
}
return;
}
if(animhandle==2292)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M11b");
}
return;
}
if(animhandle==2293)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M11d");
}
return;
}
if(animhandle==2294)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M12");
}
return;
}
if(animhandle==2295)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M12b");
}
return;
}
if(animhandle==2296)
{
if(frame==1)
{
spawnA("Story", 800, 0, 800, "GeneralFinishElf_M12d");
}
return;
}

You might also like