Script Log
Script Log
# 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;
}
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;
}
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;
}
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;
}
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;
//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;
}
if(P1){
Px = getentityproperty(P1, "x");
Pz = getentityproperty(P1, "z");
//Coin?
if(iName == "Coin"){
Ex = getentityproperty(vEntity, "x");
Ez = getentityproperty(vEntity, "z");
}
#### animationscript function main #####
# data/chars/Lisina/Butterfly/Butterfly2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==42)
{
if(frame==43)
{
spawner2("SmokeBomb", 0, 100, 0);
}
if(frame==43)
{
suicide();
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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==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;
}
if(animhandle==80)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==81)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(animhandle==82)
{
if(frame==0)
{
spawnA("story", 0, 0, 0, "MaidAttacksAerisetta_1");
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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;
}
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;
}
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;
}
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(Char!="Aerisetta"){
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(Char!="Lisina"){
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(Char!="Varina"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==132)
{
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(Char!="Hero"){
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);
int TMP; int MTMP; int Chasen;
if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");
if(Char!="Yukari"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==134)
{
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(Char!="Estrelle"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==135)
{
if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x");
int XPos = openborvariant("xpos"); //Get screen edge's position
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;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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==144)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
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==145)
{
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==146)
{
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==147)
{
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==148)
{
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==149)
{
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==150)
{
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==151)
{
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==152)
{
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==153)
{
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==154)
{
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==155)
{
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==156)
{
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==157)
{
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==158)
{
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==159)
{
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==161)
{
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==162)
{
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==163)
{
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==164)
{
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==165)
{
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==166)
{
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==167)
{
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==168)
{
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==169)
{
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==170)
{
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==171)
{
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==172)
{
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==173)
{
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==174)
{
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;
}
if(frame==1){
void self = getlocalvar("self");
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(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
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);
}
if(frame==1){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
if(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
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==201)
{
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
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(-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==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)
{
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==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");
}
return;
}
if(animhandle==207)
{
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==208)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
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)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==210)
{
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==211)
{
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==212)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==213)
{
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==214)
{
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(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;
}
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;
}
if(frame==1){
void self = getlocalvar("self");
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(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
if(frame==1){
void self = getlocalvar("self");
void FX = getentityvar(self, "Haste");
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==238)
{
if(frame==0)
{
randSound("V_Death.wav", "V_Death.wav");
}
return;
}
if(animhandle==239)
{
if(frame==0)
{
randSound("V_Death.wav", "V_Death.wav");
}
return;
}
if(animhandle==240)
{
if(frame==0)
{
randSound("V_Pain1.wav", "V_Pain2.wav");
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==241)
{
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==242)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
return;
}
if(animhandle==243)
{
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);
}
if(frame==1){
void self = getlocalvar("self");
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(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;
}
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;
}
if(frame==1){
void self = getlocalvar("self");
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;
}
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;
}
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;
}
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;
}
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;
}
}
if(frame>=1){
Scan(10, 10);
}
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(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(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");
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");
if(getglobalvar("Chasen")){
changeentityproperty(self, "position", 145 + Ch*300 + XPos);
}
}
return;
}
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;
}
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;
}
if(frame==1){
void self = getlocalvar("self");
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(frame==5){
void self = getlocalvar("self");
if(frame==5){
void self = getlocalvar("self");
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(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);
}
if(frame==1){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ADash");
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==1)
{
keyflip(0);
}
if(frame==3)
{
spawner("trail", 0, 0, 0);
}
if(frame==3)
{
leaper(8, 1, 0, 1);
}
return;
}
if(animhandle==304)
{
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");
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)
{
leaper(10, 1, 0, 1);
}
return;
}
if(animhandle==305)
{
if(frame==0)
{
floater(25);
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==6)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==306)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.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==307)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.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==308)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.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==309)
{
if(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.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==310)
{
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.wav");
}
return;
}
if(animhandle==311)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_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==312)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_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==313)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_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==314)
{
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_Pain2.wav", "Hero_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==315)
{
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.wav");
}
return;
}
if(animhandle==316)
{
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_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==317)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==318)
{
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==319)
{
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==320)
{
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());
}
if(frame==1)
{
finishlevel()();
}
return;
}
if(animhandle==321)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==322)
{
if(frame==4)
{
spawn01("Yukari_S01", 0, 0, 0);
}
return;
}
if(frame==1){
void self = getlocalvar("self");
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(frame==5){
void self = getlocalvar("self");
if(frame==5){
void self = getlocalvar("self");
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(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);
}
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==340)
{
if(frame==2){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ADash");
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==1)
{
keyflip(0);
}
if(frame==3)
{
spawner("trail", 0, 0, 0);
}
if(frame==3)
{
leaper(8, 1, 0, 1);
}
return;
}
if(animhandle==342)
{
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");
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)
{
leaper(10, 1, 0, 1);
}
return;
}
if(animhandle==343)
{
if(frame==0)
{
floater(25);
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==6)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==344)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.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==345)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.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==346)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.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==347)
{
if(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.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==348)
{
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.wav");
}
return;
}
if(animhandle==349)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_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==350)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_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==351)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_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==352)
{
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_Pain2.wav", "Hero_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==353)
{
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Pain1.wav");
}
return;
}
if(animhandle==354)
{
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_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==355)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==356)
{
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==357)
{
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==358)
{
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());
}
if(frame==1)
{
finishlevel()();
}
return;
}
if(animhandle==359)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==360)
{
if(frame==4)
{
spawn01("Yukari_S01", 0, 0, 0);
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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==365)
{
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==366)
{
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==367)
{
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==368)
{
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==369)
{
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==370)
{
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==371)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
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==372)
{
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==373)
{
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==374)
{
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==375)
{
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==376)
{
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==377)
{
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==378)
{
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==379)
{
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==380)
{
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==381)
{
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==382)
{
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==383)
{
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==384)
{
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==385)
{
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==386)
{
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==387)
{
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==388)
{
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==389)
{
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==390)
{
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==391)
{
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==392)
{
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==393)
{
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==394)
{
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==395)
{
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;
}
if(frame==1){
void self = getlocalvar("self");
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(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
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);
}
if(frame==1){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
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);
}
if(frame==3){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ADash");
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==1)
{
keyflip(0);
}
if(frame==3)
{
spawner("trail", 0, 0, 0);
}
if(frame==3)
{
dasher(8, 0, 0, 1);
}
return;
}
if(animhandle==431)
{
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");
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==432)
{
if(frame==3){
void self = getlocalvar("self");
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==434)
{
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==435)
{
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==436)
{
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==437)
{
if(frame==3)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==438)
{
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==439)
{
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==440)
{
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==441)
{
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==442)
{
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==443)
{
if(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
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==444)
{
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
return;
}
if(animhandle==445)
{
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==446)
{
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==447)
{
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==448)
{
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==449)
{
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==450)
{
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==451)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==452)
{
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==453)
{
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==454)
{
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==455)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==456)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 1);
}
if(frame==1)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==457)
{
if(frame==1)
{
spawn06("MaidAttacksAerisetta", 800, 0, 800);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==458)
{
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==459)
{
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==460)
{
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==461)
{
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==462)
{
if(frame==0)
{
cancelgrab();
}
if(frame==8)
{
test_dograb();
}
return;
}
if(animhandle==463)
{
if(frame==0)
{
position(0, 100, 10, -1, -1);
}
return;
}
if(animhandle==465)
{
if(frame==1){
void self = getlocalvar("self");
if(Grabbed){
int GHP = getentityproperty(Grabbed,"health");
if(GHP<=1){
updateframe(self, 6);
}
}
}
if(frame==6){
void self = getlocalvar("self");
if(frame==5){
void self = getlocalvar("self");
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(frame==0){
changeentityproperty(self, "hostile", "type_enemy");
}
if(frame==10){
changeentityproperty(self, "hostile", "type_player");
}
if(frame==0)
{
attackclose(-100, 100, 100, "ANI_ATTACK4");
}
if(frame==0)
{
target(10, 0, 0, 0, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
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==12)
{
spawnbind("dust_walking", 0, -10, 1);
}
if(frame==13)
{
spawn01("stabbig", 440, 100, 1);
}
if(frame==19)
{
target(0, 0, 0, 0, 1, 0);
}
if(frame==19)
{
dash();
}
if(frame==20)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==493)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==494)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==495)
{
if(frame==0)
{
dash(10, 10, 10);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==496)
{
if(frame==0){
changeentityproperty(self, "hostile", "type_enemy");
}
if(frame==10){
changeentityproperty(self, "hostile", "type_player");
}
if(frame==0)
{
attackclose(-100, 100, 100, "ANI_ATTACK4");
}
if(frame==0)
{
target(10, 0, 0, 0, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
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==12)
{
spawnbind("dust_walking", 0, -10, 1);
}
if(frame==13)
{
spawn01("stabbig", 440, 100, 1);
}
if(frame==15)
{
target(0, 0, 0, 0, 1, 0);
}
if(frame==15)
{
dash();
}
if(frame==20)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(frame==0){
changeentityproperty(self, "hostile", "type_enemy");
}
if(frame==10){
changeentityproperty(self, "hostile", "type_player");
}
if(frame==0)
{
attackclose(-100, 100, 100, "ANI_ATTACK4");
}
if(frame==0)
{
target(10, 0, 0, 0, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
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==12)
{
spawnbind("dust_walking", 0, -10, 1);
}
if(frame==13)
{
spawn01("stabbig", 440, 100, 1);
}
if(frame==15)
{
target(0, 0, 0, 0, 1, 0);
}
if(frame==15)
{
dash();
}
if(frame==20)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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==506)
{
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==507)
{
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==508)
{
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==509)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
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==510)
{
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==511)
{
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==512)
{
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==514)
{
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==515)
{
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==516)
{
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==517)
{
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==518)
{
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==519)
{
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==520)
{
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==521)
{
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==522)
{
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==523)
{
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==525)
{
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==526)
{
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==527)
{
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==528)
{
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==529)
{
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==530)
{
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==531)
{
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==532)
{
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==533)
{
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==534)
{
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==535)
{
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==536)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
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(frame==1){
void self = getlocalvar("self");
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(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
if(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
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==558)
{
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
return;
}
if(animhandle==559)
{
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==560)
{
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==561)
{
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==562)
{
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==563)
{
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==564)
{
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==565)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==566)
{
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==567)
{
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==568)
{
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==569)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==570)
{
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);
}
if(frame==1){
void self = getlocalvar("self");
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(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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(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(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==623)
{
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==624)
{
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==625)
{
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==626)
{
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==627)
{
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==628)
{
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==629)
{
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==630)
{
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==631)
{
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==632)
{
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==633)
{
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(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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==661)
{
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==662)
{
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==663)
{
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==664)
{
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==665)
{
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==666)
{
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==667)
{
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;
}
if(frame==1){
void self = getlocalvar("self");
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(frame==5){
void self = getlocalvar("self");
if(frame==5){
void self = getlocalvar("self");
if(frame==5){
void self = getlocalvar("self");
if(frame==5){
void self = getlocalvar("self");
if(frame==5){
void self = getlocalvar("self");
if(frame==11){
void self = getlocalvar("self");
if(frame==12){
void self = getlocalvar("self");
if(frame==12){
void self = getlocalvar("self");
if(frame==10){
void self = getlocalvar("self");
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(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
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);
}
if(frame==1){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ADash");
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==1)
{
keyflip(0);
}
if(frame==3)
{
spawner("trail", 0, 0, 0);
}
if(frame==3)
{
dasher(8, 0, 0, 1);
}
return;
}
if(animhandle==693)
{
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==694)
{
if(frame==10){
void self = getlocalvar("self");
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==696)
{
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==697)
{
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==698)
{
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==699)
{
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==700)
{
if(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
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==701)
{
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
return;
}
if(animhandle==702)
{
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==703)
{
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==704)
{
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==705)
{
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==706)
{
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
return;
}
if(animhandle==707)
{
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==708)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==709)
{
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==710)
{
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==711)
{
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==712)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==713)
{
if(frame==4)
{
spawn01("Yukari_S01", 0, 0, 0);
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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==724)
{
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==725)
{
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==726)
{
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==727)
{
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==728)
{
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==729)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
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==730)
{
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==731)
{
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==733)
{
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==734)
{
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==735)
{
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==736)
{
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==737)
{
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==738)
{
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==739)
{
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==740)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
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==741)
{
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==742)
{
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==743)
{
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==744)
{
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==745)
{
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==746)
{
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==747)
{
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==748)
{
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==749)
{
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==750)
{
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==752)
{
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==753)
{
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==754)
{
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;
}
if(frame==1){
void self = getlocalvar("self");
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(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(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}
if(frame==1){
void self = getlocalvar("self");
if(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
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==781)
{
if(frame==0)
{
randSound("Maid_Pain2.wav", "Maid_Pain1.wav", "Maid_Pain1.wav");
}
return;
}
if(animhandle==782)
{
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==783)
{
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==784)
{
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==785)
{
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==786)
{
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==787)
{
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==788)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==789)
{
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==790)
{
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==791)
{
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==792)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==793)
{
if(frame==4)
{
spawn01("Estrelle_S01", 0, 0, 0);
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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==798)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==799)
{
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==800)
{
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==801)
{
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==802)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==803)
{
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==804)
{
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;
}
if(frame==1){
void self = getlocalvar("self");
if(frame==1){
void Shot = shooter2("HSwordS2", 140, 220, 0, 0.2, 15, 0);
setglobalvar("HSword", Shot);
}
return;
}
if(animhandle==813)
{
if(frame==2){
void Shot = shooter2("HSwordS2", 140, 220, 0, 3, 12, 0);
setglobalvar("HSword", Shot);
}
return;
}
if(animhandle==814)
{
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==815)
{
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==816)
{
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(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==818)
{
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==819)
{
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(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==825)
{
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("soldierfinish", 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==826)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 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==827)
{
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==828)
{
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==829)
{
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==830)
{
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==831)
{
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==832)
{
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==833)
{
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==834)
{
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==835)
{
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==836)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==837)
{
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==838)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==839)
{
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);
}
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(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
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==850)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==851)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==852)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==853)
{
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("soldierfinish", 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==854)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 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==855)
{
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==856)
{
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==857)
{
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==858)
{
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==859)
{
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==860)
{
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==861)
{
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==862)
{
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==863)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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(frame==1){
void self = getlocalvar("self");
if(frame==2){
void self = getlocalvar("self");
}
#### animationscript function main #####
# data/chars/Hero/HeroNo.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==871)
{
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==872)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==873)
{
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==874)
{
if(frame==0)
{
randSound("Hero_Attack1.wav", "Hero_Attack2.wav", "Hero_Attack3.wav");
}
return;
}
if(animhandle==876)
{
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(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
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==879)
{
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(frame==0)
{
void self = getlocalvar("self");
void e;
clearspawnentry();
setspawnentry("name", "jolted");
e = spawn();
bindentity(e, self,20,1,150,1,4);
}
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==885)
{
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("soldierfinish", 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==886)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 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==887)
{
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==888)
{
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==889)
{
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==890)
{
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==891)
{
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==892)
{
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==893)
{
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==894)
{
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==895)
{
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==896)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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==897)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==898)
{
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);
}
if(frame==1){
void self = getlocalvar("self");
setglobalvar("HSword", NULL());
changeentityproperty(self, "weapon", 4);
changeentityproperty(self, "animation", openborconstant("ANI_JUMPATTACK"));
}
return;
}
if(animhandle==901)
{
if(frame==4)
{
spawn01("Hero_Maid_S01", 0, 0, 0);
}
return;
}
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;
}
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;
}
int x = getglobalvar("x"+iPIndex);
int z = getglobalvar("z"+iPIndex);
int x = getglobalvar("x"+iPIndex);
int z = getglobalvar("z"+iPIndex);
int x = getglobalvar("x"+iPIndex);
int z = getglobalvar("z"+iPIndex);
int x = getglobalvar("x"+iPIndex);
int z = getglobalvar("z"+iPIndex);
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);
}
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(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(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");
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");
}
#### animationscript function main #####
# data/chars/misc/hyper/zoom1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==971)
{
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;
}
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;
}
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==987)
{
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;
}
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;
}
return;
}
if(animhandle==1024)
{
if(frame==0)
{
killentity(getlocalvar("self"));
}
return;
}
if(frame==1){
changeentityproperty(self, "health", Health-5);
if (Health <= 0){
killentity(self);
}
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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==1075)
{
if(frame==1){
void self = getlocalvar("self");
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==1079)
{
if(frame==2){
void self = getlocalvar("self");
killgun(5, 0);
changeentityproperty(self, "weapon", 0);
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1080)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1081)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1082)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1083)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1085)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1086)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==8){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1088)
{
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==1089)
{
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==1090)
{
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==1091)
{
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==1093)
{
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==1094)
{
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==1095)
{
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==1096)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1098)
{
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==1099)
{
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;
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1102)
{
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==1103)
{
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==1104)
{
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==1105)
{
if(frame==0)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1106)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1107)
{
if(frame==1)
{
spawn06("soldierFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1108)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1109)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1110)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1111)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1112)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1113)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1114)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1115)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1117)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1118)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1120)
{
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==1121)
{
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==1122)
{
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==1123)
{
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==1124)
{
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==1125)
{
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==1126)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1128)
{
if(frame==1){
void self = getlocalvar("self");
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==1131)
{
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==1132)
{
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==1133)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1135)
{
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==1136)
{
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;
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1139)
{
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==1140)
{
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==1141)
{
if(frame==0)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1142)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1143)
{
if(frame==1)
{
spawn06("soldierFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1144)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1145)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1146)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1147)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1148)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1149)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1150)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1151)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1153)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1154)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1156)
{
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==1157)
{
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==1158)
{
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==1159)
{
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==1160)
{
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==1161)
{
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==1162)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1164)
{
if(frame==1){
void self = getlocalvar("self");
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==1167)
{
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==1168)
{
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==1169)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1171)
{
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==1172)
{
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;
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1175)
{
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==1176)
{
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==1177)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1178)
{
if(frame==1)
{
spawn06("soldierFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1179)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1180)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1181)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1182)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1183)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1184)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1185)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1186)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1188)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1189)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1191)
{
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==1192)
{
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==1193)
{
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==1194)
{
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==1195)
{
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==1196)
{
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==1197)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1199)
{
if(frame==1){
void self = getlocalvar("self");
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==1202)
{
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==1203)
{
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==1204)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1206)
{
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==1207)
{
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;
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1210)
{
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==1211)
{
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==1212)
{
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==1213)
{
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==1214)
{
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==1215)
{
if(frame==1)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1216)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1217)
{
if(frame==1)
{
spawn06("soldierFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1218)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1219)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1220)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1221)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1222)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1223)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1224)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1225)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1227)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1228)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1230)
{
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==1231)
{
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==1232)
{
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==1233)
{
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==1234)
{
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==1235)
{
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==1236)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1238)
{
if(frame==1){
void self = getlocalvar("self");
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==1241)
{
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==1242)
{
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==1243)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1245)
{
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==1246)
{
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;
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1250)
{
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==1251)
{
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==1252)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1253)
{
if(frame==1)
{
spawn06("soldierFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1254)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1255)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1256)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1257)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1258)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1259)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1260)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1261)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1263)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1264)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
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==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==1267)
{
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==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==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1269)
{
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==1270)
{
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==1271)
{
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==1272)
{
if(frame==1){
void self = getlocalvar("self");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1274)
{
if(frame==1){
void self = getlocalvar("self");
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==1277)
{
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==1278)
{
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==1279)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1281)
{
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==1282)
{
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;
}
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==1284)
{
if(frame==0)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==1285)
{
if(frame==1){
void self = getlocalvar("self");
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==1289)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1290)
{
if(frame==1)
{
spawn06("soldierFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1291)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1292)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1293)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1294)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1295)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1296)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1297)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1298)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1300)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1301)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1303)
{
if(frame==8){
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==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==1306)
{
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==1307)
{
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==1309)
{
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==1310)
{
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==1311)
{
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==1312)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1314)
{
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==1315)
{
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;
}
return;
}
if(animhandle==1318)
{
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==1319)
{
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==1320)
{
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==1321)
{
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==1322)
{
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==1323)
{
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==1324)
{
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==1325)
{
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==1326)
{
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==1327)
{
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;
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1329)
{
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==1330)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
int r = rand()%30;
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==1333)
{
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==1334)
{
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==1336)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1337)
{
if(frame==1)
{
spawn06("WinMaid0", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1338)
{
if(frame==1)
{
spawn06("MaidFinishElf", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1339)
{
if(frame==1)
{
spawn06("MaidFinishEstrelle", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1340)
{
if(frame==1)
{
spawn06("MaidFinishVarina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1341)
{
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==1342)
{
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==1343)
{
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==1344)
{
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==1346)
{
if(frame==0)
{
randSound("Maid_Pain2.wav", "Maid_Pain1.wav", "Maid_Pain1.wav");
}
return;
}
if(animhandle==1347)
{
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1348)
{
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==1349)
{
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==1350)
{
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==1351)
{
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==1352)
{
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==1353)
{
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==1354)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1355)
{
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==1356)
{
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==1357)
{
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==1358)
{
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==1359)
{
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==1360)
{
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==1361)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1363)
{
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==1364)
{
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;
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1366)
{
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==1367)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1382)
{
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==1383)
{
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==1384)
{
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==1385)
{
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==1386)
{
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==1387)
{
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==1388)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1389)
{
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==1390)
{
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==1391)
{
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==1392)
{
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==1393)
{
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==1394)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1396)
{
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==1397)
{
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;
}
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1399)
{
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==1400)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1418)
{
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==1419)
{
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==1420)
{
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==1421)
{
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==1422)
{
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==1423)
{
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==1424)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1425)
{
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==1426)
{
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==1427)
{
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==1428)
{
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==1429)
{
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==1430)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1432)
{
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==1433)
{
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;
}
if(frame==20){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1436)
{
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==1437)
{
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==1438)
{
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==1439)
{
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==1440)
{
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==1441)
{
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==1442)
{
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==1443)
{
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==1444)
{
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==1445)
{
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;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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 = 54; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1609)
{
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==1610)
{
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==1611)
{
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==1612)
{
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==1613)
{
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==1614)
{
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==1615)
{
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==1616)
{
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==1617)
{
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==1618)
{
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(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1681)
{
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==1682)
{
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==1683)
{
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==1684)
{
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==1685)
{
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==1686)
{
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==1687)
{
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==1688)
{
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==1689)
{
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==1690)
{
if(frame==1)
{
spawn06("GeneralFinishPrincess2", 800, 0, 800);
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1693)
{
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==1694)
{
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==1695)
{
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==1696)
{
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==1697)
{
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==1698)
{
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==1699)
{
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==1700)
{
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==1701)
{
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==1702)
{
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(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1705)
{
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==1706)
{
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==1707)
{
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==1708)
{
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==1709)
{
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==1710)
{
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==1711)
{
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==1712)
{
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==1713)
{
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==1714)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M20");
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1717)
{
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==1718)
{
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==1719)
{
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==1720)
{
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==1721)
{
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==1722)
{
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==1723)
{
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==1724)
{
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==1725)
{
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==1726)
{
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(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(r >= 90){
setglobalvar("Scene40", 1);
Simpen("Succubus.txt", 4, 10, 1);
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){
setglobalvar("Scene66", 1);
Simpen("Succubus.txt", 7, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene65", 1);
Simpen("Succubus.txt", 7, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene64", 1);
Simpen("Succubus.txt", 7, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene63", 1);
Simpen("Succubus.txt", 7, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene62", 1);
Simpen("Succubus.txt", 7, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene61", 1);
Simpen("Succubus.txt", 7, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1790)
{
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==1791)
{
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==1792)
{
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==1793)
{
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==1794)
{
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==1795)
{
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==1796)
{
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==1797)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_A04.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_A03.webm", 0);
}
if(frame==3)
{
playwebm("data/scenes/E_Finisher_A01.webm", 0);
}
if(frame==4)
{
playwebm("data/scenes/E_Finisher_A02.webm", 0);
}
if(frame==5)
{
playwebm("data/scenes/E_Finisher_A05.webm", 0);
}
return;
}
if(animhandle==1798)
{
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==1799)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("superestrelle", 0, 0, 0);
}
if(frame==1)
{
playwebm("data/scenes/E_Finisher_A04.webm", 0);
}
if(frame==2)
{
playwebm("data/scenes/E_Finisher_A03.webm", 0);
}
if(frame==3)
{
playwebm("data/scenes/E_Finisher_A01.webm", 0);
}
if(frame==4)
{
playwebm("data/scenes/E_Finisher_A02.webm", 0);
}
if(frame==5)
{
playwebm("data/scenes/E_Finisher_A05.webm", 0);
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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 = 15; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;
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 = 17; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
}
#### animationscript function main #####
# data/chars/Finisher_Estrelle/Finisher_Estrelle.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1919)
{
if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
if(frame==0){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
void target = getentityproperty(self,"opponent");
int THP = getentityproperty(target,"health");
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==1931)
{
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==1934)
{
if(getentityproperty(vtm, "type")==openborconstant("TYPE_NPC"))
{
killentity(self);
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
}
#### animationscript function main #####
# data/chars/dialogues/MaidAttacks/MaidAtk1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2034)
{
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
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(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(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(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(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(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");
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");
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==2099)
{
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==2100)
{
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(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==2107)
{
if(frame==1){
void self = getlocalvar("self");
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==2)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==2109)
{
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==2111)
{
if(frame==1)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==2112)
{
if(frame==2){
void self = getlocalvar("self");
killgun(5, 0);
changeentityproperty(self, "weapon", 0);
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==2113)
{
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2114)
{
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2115)
{
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2116)
{
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2118)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2119)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==2121)
{
if(frame==1){
void self = getlocalvar("self");
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==2124)
{
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==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
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)
{
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)
{
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==2125)
{
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==2126)
{
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==2128)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==2130)
{
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==2131)
{
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(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==2135)
{
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==2136)
{
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==2137)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==2138)
{
if(frame==1)
{
spawn06("soldierFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==2139)
{
if(frame==1)
{
spawn06("GeneralFinishElfDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==2140)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==2141)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==2142)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==2143)
{
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2144)
{
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2145)
{
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2146)
{
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2148)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==2149)
{
if(frame==1){
void self = getlocalvar("self");
setentityvar(self, "ZomTime", openborvariant("elapsed_time"));
}
if(frame==1)
{
randSound("Priest_Pain1.wav", "Priest_Pain3.wav", "Priest_Pain3.wav");
}
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==2150)
{
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
changeentityproperty(self, "nopain", 1);
changeentityproperty(self, "nodrop", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==2151)
{
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==2152)
{
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==2153)
{
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==2154)
{
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==2155)
{
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==2156)
{
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==2157)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==2159)
{
if(frame==1){
void self = getlocalvar("self");
setentityvar(self, "ZomTime", openborvariant("elapsed_time"));
}
return;
}
if(animhandle==2161)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==2162)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==2164)
{
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==2165)
{
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==2167)
{
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==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
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==2168)
{
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(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==2173)
{
if(Char != "Aerisetta"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2174)
{
if(Char != "Lisina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2175)
{
if(Char != "Varina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2176)
{
if(Char != "Hero"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2177)
{
if(Char != "Yukari"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2178)
{
if(Char != "Estrelle"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
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==2182)
{
if(Char != "Aerisetta"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2183)
{
if(Char != "Lisina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2184)
{
if(Char != "Varina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2185)
{
if(Char != "Hero"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2186)
{
if(Char != "Yukari"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2187)
{
if(Char != "Estrelle"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2190)
{
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;
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==2191)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2192)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2193)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2194)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2195)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
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;
}
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==2213)
{
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==2214)
{
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==2215)
{
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==2216)
{
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==2217)
{
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2218)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
spawnA("story", 800, 0, 800, "LoseYukari_M01");
}
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)
{
spawner2("Yukari_Loser2", 0, 20, 0);
}
return;
}
if(animhandle==2219)
{
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==2220)
{
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, 0, 21, -1, 0);
}
if(frame==3)
{
position(0, 0, 21, -1, 0);
}
if(frame==4)
{
position(1, 0, 21, -1);
}
if(frame==5)
{
position(0, 0, 21, -1, 0);
}
if(frame==6)
{
position(1, 0, 21, -1, 0);
}
if(frame==7)
{
position(0, 0, 21, -1, 0);
}
if(frame==8)
{
position(1, 0, 21, -1, 0);
}
if(frame==9)
{
position(0, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 3);
}
if(frame==10)
{
position(1, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 0, 21, -1, 0);
}
if(frame==12)
{
position(1, 0, 21, -1, 0);
}
if(frame==13)
{
position(0, 0, 21, -1, 0);
}
if(frame==14)
{
position(1, 0, 21, -1, 0);
}
if(frame==15)
{
position(0, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 3);
}
if(frame==16)
{
position(0, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 0, 21, -1, 0);
}
if(frame==18)
{
position(1, 0, 21, -1, 0);
}
if(frame==19)
{
position(0, 0, 21, -1, 0);
}
if(frame==20)
{
position(1, 0, 21, -1, 0);
}
if(frame==21)
{
position(0, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 3);
}
if(frame==22)
{
position(1, 0, 21, -1, 0);
}
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==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==2221)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("VarinaAtk3", 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==2222)
{
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, 0, 21, -1, 0);
}
if(frame==3)
{
position(0, 0, 21, -1, 0);
}
if(frame==4)
{
position(1, 0, 21, -1);
}
if(frame==5)
{
position(0, 0, 21, -1, 0);
}
if(frame==6)
{
position(1, 0, 21, -1, 0);
}
if(frame==7)
{
position(0, 0, 21, -1, 0);
}
if(frame==8)
{
position(1, 0, 21, -1, 0);
}
if(frame==9)
{
position(0, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 3);
}
if(frame==10)
{
position(1, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 0, 21, -1, 0);
}
if(frame==12)
{
position(1, 0, 21, -1, 0);
}
if(frame==13)
{
position(0, 0, 21, -1, 0);
}
if(frame==14)
{
position(1, 0, 21, -1, 0);
}
if(frame==15)
{
position(0, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 3);
}
if(frame==16)
{
position(0, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 0, 21, -1, 0);
}
if(frame==18)
{
position(1, 0, 21, -1, 0);
}
if(frame==19)
{
position(0, 0, 21, -1, 0);
}
if(frame==20)
{
position(1, 0, 21, -1, 0);
}
if(frame==21)
{
position(0, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 3);
}
if(frame==22)
{
position(1, 0, 21, -1, 0);
}
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==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==2223)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("GeneralFinishVarinaDir2", 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==2224)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==2226)
{
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==2227)
{
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;
}
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==2238)
{
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==2239)
{
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==2240)
{
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==2241)
{
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==2242)
{
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2243)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
spawnA("story", 800, 0, 800, "LoseVarina_M02");
}
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)
{
spawner2("Varina_Loser3", 0, 20, 0);
}
return;
}
if(animhandle==2244)
{
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==2245)
{
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, 0, 21, -1, 0);
}
if(frame==3)
{
position(0, 0, 21, -1, 0);
}
if(frame==4)
{
position(1, 0, 21, -1);
}
if(frame==5)
{
position(0, 0, 21, -1, 0);
}
if(frame==6)
{
position(1, 0, 21, -1, 0);
}
if(frame==7)
{
position(0, 0, 21, -1, 0);
}
if(frame==8)
{
position(1, 0, 21, -1, 0);
}
if(frame==9)
{
position(0, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 5);
}
if(frame==10)
{
position(1, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 0, 21, -1, 0);
}
if(frame==12)
{
position(1, 0, 21, -1, 0);
}
if(frame==13)
{
position(0, 0, 21, -1, 0);
}
if(frame==14)
{
position(1, 0, 21, -1, 0);
}
if(frame==15)
{
position(0, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 5);
}
if(frame==16)
{
position(0, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 0, 21, -1, 0);
}
if(frame==18)
{
position(1, 0, 21, -1, 0);
}
if(frame==19)
{
position(0, 0, 21, -1, 0);
}
if(frame==20)
{
position(1, 0, 21, -1, 0);
}
if(frame==21)
{
position(0, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 5);
}
if(frame==22)
{
position(1, 0, 21, -1, 0);
}
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==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==2246)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("VarinaAtk2", 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==2247)
{
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, 0, 21, -1, 0);
}
if(frame==3)
{
position(0, 0, 21, -1, 0);
}
if(frame==4)
{
position(1, 0, 21, -1);
}
if(frame==5)
{
position(0, 0, 21, -1, 0);
}
if(frame==6)
{
position(1, 0, 21, -1, 0);
}
if(frame==7)
{
position(0, 0, 21, -1, 0);
}
if(frame==8)
{
position(1, 0, 21, -1, 0);
}
if(frame==9)
{
position(0, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 5);
}
if(frame==10)
{
position(1, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 0, 21, -1, 0);
}
if(frame==12)
{
position(1, 0, 21, -1, 0);
}
if(frame==13)
{
position(0, 0, 21, -1, 0);
}
if(frame==14)
{
position(1, 0, 21, -1, 0);
}
if(frame==15)
{
position(0, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 5);
}
if(frame==16)
{
position(0, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 0, 21, -1, 0);
}
if(frame==18)
{
position(1, 0, 21, -1, 0);
}
if(frame==19)
{
position(0, 0, 21, -1, 0);
}
if(frame==20)
{
position(1, 0, 21, -1, 0);
}
if(frame==21)
{
position(0, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 5);
}
if(frame==22)
{
position(1, 0, 21, -1, 0);
}
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==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==2248)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("GeneralFinishVarinaDir2", 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==2249)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==2251)
{
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==2252)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
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;
}
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==2263)
{
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==2264)
{
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==2265)
{
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==2266)
{
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==2267)
{
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==2268)
{
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2269)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
spawnA("story", 800, 0, 800, "LoseVarina_M01");
}
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)
{
spawner2("Varina_Loser2", 0, 20, 0);
}
return;
}
if(animhandle==2270)
{
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==2271)
{
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, 0, 21, -1, 0);
}
if(frame==3)
{
position(0, 0, 21, -1, 0);
}
if(frame==4)
{
position(1, 0, 21, -1);
}
if(frame==5)
{
position(0, 0, 21, -1, 0);
}
if(frame==6)
{
position(1, 0, 21, -1, 0);
}
if(frame==7)
{
position(0, 0, 21, -1, 0);
}
if(frame==8)
{
position(1, 0, 21, -1, 0);
}
if(frame==9)
{
position(0, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 6);
}
if(frame==10)
{
position(1, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 0, 21, -1, 0);
}
if(frame==12)
{
position(1, 0, 21, -1, 0);
}
if(frame==13)
{
position(0, 0, 21, -1, 0);
}
if(frame==14)
{
position(1, 0, 21, -1, 0);
}
if(frame==15)
{
position(0, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 6);
}
if(frame==16)
{
position(0, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 0, 21, -1, 0);
}
if(frame==18)
{
position(1, 0, 21, -1, 0);
}
if(frame==19)
{
position(0, 0, 21, -1, 0);
}
if(frame==20)
{
position(1, 0, 21, -1, 0);
}
if(frame==21)
{
position(0, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 6);
}
if(frame==22)
{
position(1, 0, 21, -1, 0);
}
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==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==2272)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("VarinaAtk1", 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==2273)
{
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, 0, 21, -1, 0);
}
if(frame==3)
{
position(0, 0, 21, -1, 0);
}
if(frame==4)
{
position(1, 0, 21, -1);
}
if(frame==5)
{
position(0, 0, 21, -1, 0);
}
if(frame==6)
{
position(1, 0, 21, -1, 0);
}
if(frame==7)
{
position(0, 0, 21, -1, 0);
}
if(frame==8)
{
position(1, 0, 21, -1, 0);
}
if(frame==9)
{
position(0, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 6);
}
if(frame==10)
{
position(1, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 0, 21, -1, 0);
}
if(frame==12)
{
position(1, 0, 21, -1, 0);
}
if(frame==13)
{
position(0, 0, 21, -1, 0);
}
if(frame==14)
{
position(1, 0, 21, -1, 0);
}
if(frame==15)
{
position(0, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 6);
}
if(frame==16)
{
position(0, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 0, 21, -1, 0);
}
if(frame==18)
{
position(1, 0, 21, -1, 0);
}
if(frame==19)
{
position(0, 0, 21, -1, 0);
}
if(frame==20)
{
position(1, 0, 21, -1, 0);
}
if(frame==21)
{
position(0, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 6);
}
if(frame==22)
{
position(1, 0, 21, -1, 0);
}
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==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==2274)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("GeneralFinishVarinaDir1", 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==2275)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==2277)
{
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==2278)
{
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;
}
if(frame==2){
void self = getlocalvar("self");
int Health = getentityproperty(self, "health");
if(Health == 100){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==4)
{
spawnA("story", 0, 0, 0, "Camp_Aerisetta_01b");
}
return;
}
if(animhandle==2281)
{
if(frame==2){
void self = getlocalvar("self");
int Health = getentityproperty(self, "health");
if(Health == 100){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==4)
{
spawnA("story", 0, 0, 0, "Camp_Lisina_01b");
}
if(frame==8)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==2284)
{
if(frame==0){
void self = getlocalvar("self");
int Health = getentityproperty(self, "health");