ScriptLog Game
ScriptLog Game
# 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(T){
int eTime = openborvariant("elapsed_time");
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/ButterflyBomb.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==38)
{
if(frame==11)
{
spawner2("SmokeBomb", 0, 100, 0);
}
if(frame==11)
{
suicide();
}
return;
}
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 == 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==127)
{
if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;
if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");
if(Char!="Lisina"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==128)
{
if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;
if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");
if(Char!="Varina"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==129)
{
if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;
if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");
if(Char!="Hero"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==130)
{
if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;
if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");
if(Char!="Yukari"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==131)
{
if(frame>=1){
void self = getlocalvar("self");
int MP = getentityproperty(self,"mp");
char Char = getglobalvar("MemberName" + MP);
int TMP; int MTMP; int Chasen;
if(frame==2){
TMP = getglobalvar("MemberMP" + MP);
MTMP = MaxDec(Char, "MP");
Chasen = getglobalvar("Chasen");
if(Char!="Estrelle"){
performattack(self, openborconstant("ANI_ATTACK1"));
}
}
return;
}
if(animhandle==132)
{
if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self,"x");
int XPos = openborvariant("xpos"); //Get screen edge's position
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==143)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==144)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==145)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 5, 290, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 5, 290, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 5, 290, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 5, 290, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==146)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==147)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==148)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==149)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 220, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 220, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 220, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 220, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 10, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}
if(animhandle==150)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW23", 0);
}
return;
}
if(animhandle==152)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW24", 0);
}
return;
}
if(animhandle==153)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 180, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 180, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 180, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 180, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW21", 0);
}
return;
}
if(animhandle==154)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW27", 0);
}
return;
}
if(animhandle==155)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW29", 0);
}
return;
}
if(animhandle==157)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 70, 90, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 70, 90, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 70, 90, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 70, 90, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW26", 0);
}
return;
}
if(animhandle==158)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW32", 0);
}
return;
}
if(animhandle==159)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW33", 0);
}
return;
}
if(animhandle==160)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW34", 0);
}
return;
}
if(animhandle==161)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 140, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 140, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 140, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 140, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW31", 0);
}
return;
}
if(animhandle==162)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW37", 0);
}
return;
}
if(animhandle==163)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW38", 0);
}
return;
}
if(animhandle==164)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW39", 0);
}
return;
}
if(animhandle==165)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 20, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW36", 0);
}
return;
}
if(animhandle==166)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW42", 0);
}
return;
}
if(animhandle==167)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW43", 0);
}
return;
}
if(animhandle==168)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW44", 0);
}
return;
}
if(animhandle==169)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 45, 45, 5);
}
if(frame==30)
{
spawn01("cum1", 45, 45, 5);
}
if(frame==51)
{
spawn01("cum1", 45, 45, 5);
}
if(frame==72)
{
spawn01("cum1", 45, 45, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW41", 0);
}
return;
}
if(animhandle==170)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW47", 0);
}
return;
}
if(animhandle==171)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW48", 0);
}
return;
}
if(animhandle==172)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("supersound/elfsuper01.wav", "supersound/elfsuper02.wav",
"supersound/elfsuper04.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW49", 0);
}
return;
}
if(animhandle==173)
{
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>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==202)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==203)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==204)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==205)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
return;
}
if(animhandle==206)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("L_Pain1.wav", "L_Pain2.wav", "L_Pain3.wav");
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==207)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==208)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==209)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==210)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==211)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==212)
{
if(frame==0)
{
mpcost(20);
}
if(frame==0)
{
Invinc(100);
}
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==1)
{
spawner("Dabo", 0, 0, 0);
}
return;
}
if(animhandle==213)
{
if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 20;
float Vz = 0;
int Cost = 0; // dash cost
if(Dir == 0){
Vx = -Vx;
}
if(playerkeys(iPIndex, 0, "moveup")){
Vz = -10;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 10;
}
if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -10;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 10;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}
if(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==237)
{
if(frame==0)
{
randSound("V_Death.wav", "V_Death.wav");
}
return;
}
if(animhandle==238)
{
if(frame==0)
{
randSound("V_Death.wav", "V_Death.wav");
}
return;
}
if(animhandle==239)
{
if(frame==0)
{
randSound("V_Pain1.wav", "V_Pain2.wav");
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==240)
{
if(frame==0)
{
randSound("V_Pain1.wav", "V_Pain2.wav");
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==241)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
return;
}
if(animhandle==242)
{
if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");
if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}
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(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==270)
{
if(frame==1){
void self = getlocalvar("self");
int x = getentityproperty(self, "x");
int z = getentityproperty(self, "z");
int Step = getentityproperty(self, "grabforce");
int H = checkwall(x+Step,z);
if(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==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(r >= 90){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW36"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW31"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW26"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW21"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW16"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW11"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
TextPop("PRESS_TAG_TO_CHANGE_POSE", 50, 1, 660, 837, 1000);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==287)
{
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==289)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==290)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==291)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==292)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==293)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==294)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==295)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 200, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 200, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 200, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 200, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}
if(animhandle==296)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW12", 0);
}
return;
}
if(animhandle==297)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW13", 0);
}
return;
}
if(animhandle==298)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW14", 0);
}
return;
}
if(animhandle==299)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 60, 100, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 60, 100, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 60, 100, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 60, 100, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW11", 0);
}
return;
}
if(animhandle==300)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW17", 0);
}
return;
}
if(animhandle==301)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW18", 0);
}
return;
}
if(animhandle==302)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW19", 0);
}
return;
}
if(animhandle==303)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 50, 30, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 50, 30, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 50, 30, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 50, 30, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW16", 0);
}
return;
}
if(animhandle==304)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW22", 0);
}
return;
}
if(animhandle==305)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW23", 0);
}
return;
}
if(animhandle==306)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW24", 0);
}
return;
}
if(animhandle==307)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 180, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 180, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 180, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 180, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW21", 0);
}
return;
}
if(animhandle==308)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW27", 0);
}
return;
}
if(animhandle==309)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW28", 0);
}
return;
}
if(animhandle==310)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW29", 0);
}
return;
}
if(animhandle==311)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 70, 90, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 70, 90, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 70, 90, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 70, 90, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW26", 0);
}
return;
}
if(animhandle==312)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW32", 0);
}
return;
}
if(animhandle==313)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW33", 0);
}
return;
}
if(animhandle==314)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW34", 0);
}
return;
}
if(animhandle==315)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 140, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 140, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 140, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 140, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW31", 0);
}
return;
}
if(animhandle==316)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW37", 0);
}
return;
}
if(animhandle==317)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW38", 0);
}
return;
}
if(animhandle==318)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW39", 0);
}
return;
}
if(animhandle==319)
{
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==355)
{
if(frame==1){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ABDash");
int Run = getentityvar(self, "RunJump");
flip();
if(Dash==1 && Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else if(Dash==1){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
setentityvar(self, "ABDash", 1);
floater(47);
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
}
}
if(frame==6){
void self = getlocalvar("self");
int Vx = getentityproperty(self,"xdir");
int Run = getentityvar(self, "RunJump");
if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==2)
{
dasher(8, 0, 0, 1);
}
return;
}
if(animhandle==356)
{
if(frame==3){
void self = getlocalvar("self");
if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");
if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==358)
{
if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");
if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==359)
{
if(frame==4){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");
if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
target(3, 3, 1, 1, 2);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==360)
{
if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");
if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
target(3, 3, 1, 1, 2);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==361)
{
if(frame==3)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==362)
{
if(frame==0)
{
rundasher(5, 0);
}
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==363)
{
if(frame==0)
{
rundasher(5, 0);
}
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==4)
{
stop();
}
return;
}
if(animhandle==364)
{
if(frame==1)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==365)
{
if(frame==1)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==366)
{
if(frame==1)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==367)
{
if(frame==1)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==368)
{
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Death.wav");
}
return;
}
if(animhandle==369)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==370)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==371)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==372)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==373)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
return;
}
if(animhandle==374)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==375)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==376)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==377)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==378)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==379)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
setentityvar(self, "DedSt", 0);
if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
spawn01("Lust98", 0, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
spawn06("Death_Aerisetta", 480, 0, 500);
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==380)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 1);
}
if(frame==1)
{
changeopenborvariant("slowmotion", 0);
}
return;
}
if(animhandle==381)
{
if(frame==1)
{
spawn06("MaidAttacksAerisetta", 800, 0, 800);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==382)
{
if(frame==0)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==3)
{
aniLimit("ANI_IDLE", 0, 5);
}
if(frame==4)
{
Invinc(160);
}
if(frame==4)
{
mpcost(5);
}
if(frame==4)
{
spawner("Dabo", 70, 0, 0);
}
return;
}
if(animhandle==383)
{
if(frame==0)
{
slamstart2();
}
if(frame==0)
{
position(4, 12, 0, -1, -1);
}
if(frame==4)
{
depost(0);
}
if(frame==4)
{
throw(0, 0, 0, -20, 0, 0);
}
if(frame==4)
{
clearGrab();
}
return;
}
if(animhandle==384)
{
if(frame==1)
{
consume(100, 0, "ANI_CANT");
}
if(frame==1)
{
spawner2("summon_12a", 0, 0, 0);
}
if(frame==1)
{
spawner2("wind1", -50, 0, 15);
}
if(frame==1)
{
randSound("A_Laugh1.wav", "A_Laugh2.wav", "A_Laugh2.wav");
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==385)
{
if(frame==0)
{
target(3, 3, 1, 1, 2);
}
if(frame==0)
{
dash();
}
if(frame==2)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==386)
{
if(frame==0)
{
cancelgrab();
}
if(frame==8)
{
test_dograb();
}
return;
}
if(animhandle==387)
{
if(frame==0)
{
position(0, 100, 10, -1, -1);
}
return;
}
if(animhandle==389)
{
if(frame==1){
void self = getlocalvar("self");
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==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==403)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==404)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==405)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 270, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 270, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 270, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 270, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==406)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==407)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==408)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==409)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 200, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 200, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 200, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 200, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}
if(animhandle==410)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW12", 0);
}
return;
}
if(animhandle==411)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW13", 0);
}
return;
}
if(animhandle==412)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW14", 0);
}
return;
}
if(animhandle==413)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 60, 100, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 60, 100, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 60, 100, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 60, 100, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 40, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW11", 0);
}
return;
}
if(animhandle==414)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW17", 0);
}
return;
}
if(animhandle==415)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW18", 0);
}
return;
}
if(animhandle==416)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW19", 0);
}
return;
}
if(animhandle==417)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 50, 30, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 50, 30, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 50, 30, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 50, 30, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW16", 0);
}
return;
}
if(animhandle==418)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW22", 0);
}
return;
}
if(animhandle==419)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW23", 0);
}
return;
}
if(animhandle==420)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW24", 0);
}
return;
}
if(animhandle==421)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 180, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 180, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 180, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 180, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", -15, 0, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW21", 0);
}
return;
}
if(animhandle==422)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW27", 0);
}
return;
}
if(animhandle==423)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW28", 0);
}
return;
}
if(animhandle==424)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW29", 0);
}
return;
}
if(animhandle==425)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 70, 90, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 70, 90, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 70, 90, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 70, 90, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 65, 25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW26", 0);
}
return;
}
if(animhandle==426)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW32", 0);
}
return;
}
if(animhandle==427)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW33", 0);
}
return;
}
if(animhandle==428)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW34", 0);
}
return;
}
if(animhandle==429)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 140, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 140, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 140, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 140, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW31", 0);
}
return;
}
if(animhandle==430)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW37", 0);
}
return;
}
if(animhandle==431)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW38", 0);
}
return;
}
if(animhandle==432)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/lisina-01.wav", "lose/lisina-02.wav", "lose/lisina-
03.wav", "lose/lisina-04.wav", "lose/lisina-05.wav", "lose/lisina-06.wav",
"lose/lisina-07.wav", "lose/lisina-08.wav", "lose/lisina-09.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW39", 0);
}
return;
}
if(animhandle==433)
{
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>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==457)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==458)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==459)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==460)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
return;
}
if(animhandle==461)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
randSound("V_Pain2.wav", "V_Pain1.wav", "V_Death.wav");
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==462)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==463)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==464)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==465)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==466)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==467)
{
if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");
if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}
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 result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 37; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;
if(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(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
}
#### animationscript function main #####
# data/chars/dialogues/GeneralFinishYukari/MaidFinishYukari.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==570)
{
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(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_FOLLOW6"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW1"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
if(frame==1)
{
StopSounds();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
killgun(9, 0);
}
return;
}
if(animhandle==584)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW2", 0);
}
return;
}
if(animhandle==585)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==586)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==587)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 5, 290, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==30)
{
spawnGun5("cum2", 5, 290, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==51)
{
spawnGun5("cum2", 5, 290, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==72)
{
spawnGun5("cum2", 5, 290, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 5, 125, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==588)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==590)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==591)
{
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);
}
setentityvar(self, "RunJump", 0);
changeentityproperty(self, "velocity", NULL(), NULL(), 9);
}
if(frame==0)
{
spawner("trail", 0, 0, 0);
}
if(frame==1)
{
keymove2(1, 0);
}
if(frame==2)
{
keymove2(1, 0);
}
if(frame==3)
{
keymove2(1, 0);
}
if(frame==4)
{
keymove2(1, 0);
}
return;
}
if(animhandle==614)
{
if(frame==1){
void self = getlocalvar("self");
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==617)
{
if(frame==1){
void self = getlocalvar("self");
int Dash = getentityvar(self, "ABDash");
int Run = getentityvar(self, "RunJump");
flip();
if(Dash==1 && Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else if(Dash==1){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
setentityvar(self, "ABDash", 1);
floater(47);
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
}
}
if(frame==6){
void self = getlocalvar("self");
int Vx = getentityproperty(self,"xdir");
int Run = getentityvar(self, "RunJump");
if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==2)
{
spawner("trail", 0, 0, 0);
}
if(frame==2)
{
dasher(8, 0, 0, 1);
}
return;
}
if(animhandle==618)
{
if(frame==10){
void self = getlocalvar("self");
if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");
if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==620)
{
if(frame==3){
void self = getlocalvar("self");
int Run = getentityvar(self, "RunJump");
if(Run==1){
changeentityproperty(self, "animation", openborconstant("ANI_RUNJUMP"), 2);
changeentityproperty(self, "animpos", 1);
} else {
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"), 2);
changeentityproperty(self, "animpos", 1);
}
}
if(frame==0)
{
floater(25);
}
if(frame==1)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==621)
{
if(frame==1)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==622)
{
if(frame==1)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==623)
{
if(frame==1)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==624)
{
if(frame==1)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
if(frame==14)
{
dc_animation_bomb(openborconstant("ANI_FREESPECIAL10"));
}
return;
}
if(animhandle==625)
{
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Death.wav");
}
return;
}
if(animhandle==626)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==627)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==628)
{
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==629)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==630)
{
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
return;
}
if(animhandle==631)
{
if(frame==0)
{
randSound("Y_Pain1.wav", "Y_Pain2.wav", "Y_Pain1.wav");
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==632)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==633)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==634)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==635)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==636)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==637)
{
if(frame==4)
{
spawn01("Yukari_S01", 0, 0, 0);
}
return;
}
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==648)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==649)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==650)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==30)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==51)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==72)
{
spawn01("cum1", 8, 45, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==651)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==653)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==654)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 10, 200, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 10, 200, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 10, 200, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 10, 200, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 0, 20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW6", 0);
}
return;
}
if(animhandle==655)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW12", 0);
}
return;
}
if(animhandle==656)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW13", 0);
}
return;
}
if(animhandle==657)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW14", 0);
}
return;
}
if(animhandle==658)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("supersound/EstrelleSuper01.wav",
"supersound/EstrelleSuper02.wav", "supersound/EstrelleSuper03.wav",
"supersound/EstrelleSuper04.wav", "supersound/EstrelleSuper05.wav",
"supersound/EstrelleSuper06.wav", "supersound/EstrelleSuper07.wav",
"Estrelle_Laugh.wav", "EstrelleSuper01.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 95, 45, 5);
}
if(frame==30)
{
spawn01("cum1", 95, 45, 5);
}
if(frame==51)
{
spawn01("cum1", 95, 45, 5);
}
if(frame==72)
{
spawn01("cum1", 95, 45, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW11", 0);
}
return;
}
if(animhandle==659)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW17", 0);
}
return;
}
if(animhandle==660)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW18", 0);
}
return;
}
if(animhandle==661)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW19", 0);
}
return;
}
if(animhandle==662)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 50, 30, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==30)
{
spawnGun5("cum2", 50, 30, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==51)
{
spawnGun5("cum2", 50, 30, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==72)
{
spawnGun5("cum2", 50, 30, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 50, -20, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW16", 0);
}
return;
}
if(animhandle==663)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("kiss3.wav", "kiss4.wav", "kiss3.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW22", 0);
}
return;
}
if(animhandle==664)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("kiss3.wav", "kiss4.wav", "kiss3.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW23", 0);
}
return;
}
if(animhandle==665)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("kiss3.wav", "kiss4.wav", "kiss3.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW24", 0);
}
return;
}
if(animhandle==666)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound("kiss3.wav", "kiss4.wav", "kiss3.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW21", 0);
}
return;
}
if(animhandle==667)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW27", 0);
}
return;
}
if(animhandle==668)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW28", 0);
}
return;
}
if(animhandle==669)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW29", 0);
}
return;
}
if(animhandle==670)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW32", 0);
}
return;
}
if(animhandle==672)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW33", 0);
}
return;
}
if(animhandle==673)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW34", 0);
}
return;
}
if(animhandle==674)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawnGun5("cum2", 0, 140, -5, 10, "ANI_FOLLOW1");
}
if(frame==9)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==30)
{
spawnGun5("cum2", 0, 140, -4, 11, "ANI_FOLLOW2");
}
if(frame==30)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==51)
{
spawnGun5("cum2", 0, 140, -3, 12, "ANI_FOLLOW3");
}
if(frame==51)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==72)
{
spawnGun5("cum2", 0, 140, -2, 13, "ANI_FOLLOW4");
}
if(frame==72)
{
spawn01("squirt1", 10, -25, 5);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW31", 0);
}
return;
}
if(animhandle==675)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW37", 0);
}
return;
}
if(animhandle==676)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW38", 0);
}
return;
}
if(animhandle==677)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
randSound2("lose/aerisetta-01.wav", "lose/aerisetta-02.wav",
"lose/aerisetta-03.wav", "lose/aerisetta-04.wav", "lose/aerisetta-05.wav",
"lose/aerisetta-06.wav", "lose/aerisetta-07.wav", "lose/aerisetta-01.wav",
"lose/aerisetta-02.wav");
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW39", 0);
}
return;
}
if(animhandle==678)
{
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(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==695)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 270, 150, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 310, 140, 1, 18, -8, 4);
}
if(frame==3)
{
shooterdown("bullene2", 330, 140, 1, 18, -8, 2);
}
if(frame==3)
{
shooterdown("bullene2", 320, 140, 1, 18, -8, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 140, 1, 18, -8, -2);
}
if(frame==3)
{
shooterdown("bullene2", 300, 140, 1, 18, -8, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==696)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 300, 190, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 180, 1, 18, -6, 4);
}
if(frame==3)
{
shooterdown("bullene2", 360, 180, 1, 18, -6, 2);
}
if(frame==3)
{
shooterdown("bullene2", 350, 180, 1, 18, -6, 0);
}
if(frame==3)
{
shooterdown("bullene2", 370, 180, 1, 18, -6, -2);
}
if(frame==3)
{
shooterdown("bullene2", 330, 180, 1, 18, -6, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==697)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 270, 150, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 310, 140, 1, 18, -4, 4);
}
if(frame==3)
{
shooterdown("bullene2", 330, 140, 1, 18, -4, 2);
}
if(frame==3)
{
shooterdown("bullene2", 320, 140, 1, 18, -4, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 140, 1, 18, -4, -2);
}
if(frame==3)
{
shooterdown("bullene2", 300, 140, 1, 18, -4, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==698)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 300, 190, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 180, 1, 18, -8, 4);
}
if(frame==3)
{
shooterdown("bullene2", 360, 180, 1, 18, -8, 2);
}
if(frame==3)
{
shooterdown("bullene2", 350, 180, 1, 18, -8, 0);
}
if(frame==3)
{
shooterdown("bullene2", 370, 180, 1, 18, -8, -2);
}
if(frame==3)
{
shooterdown("bullene2", 330, 180, 1, 18, -8, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==699)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 270, 150, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 310, 140, 1, 18, -6, 4);
}
if(frame==3)
{
shooterdown("bullene2", 330, 140, 1, 18, -6, 2);
}
if(frame==3)
{
shooterdown("bullene2", 320, 140, 1, 18, -6, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 140, 1, 18, -6, -2);
}
if(frame==3)
{
shooterdown("bullene2", 300, 140, 1, 18, -6, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==700)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==3)
{
shooter("muzzle2", 300, 190, 0, 0, 0, 0);
}
if(frame==3)
{
shooterdown("bullene2", 340, 180, 1, 18, -4, 4);
}
if(frame==3)
{
shooterdown("bullene2", 360, 180, 1, 18, -4, 2);
}
if(frame==3)
{
shooterdown("bullene2", 350, 180, 1, 18, -4, 0);
}
if(frame==3)
{
shooterdown("bullene2", 370, 180, 1, 18, -4, -2);
}
if(frame==3)
{
shooterdown("bullene2", 330, 180, 1, 18, -4, -4);
}
if(frame==3)
{
leaper(-3, 5, 0);
}
return;
}
if(animhandle==701)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==702)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==703)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==704)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==705)
{
if(frame==0)
{
randSound("Maid_Pain2.wav", "Maid_Pain1.wav", "Maid_Pain1.wav");
}
return;
}
if(animhandle==706)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==707)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==708)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==709)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("A_Pain1.wav", "A_Pain2.wav", "A_Pain1.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==710)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
return;
}
if(animhandle==711)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==712)
{
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==713)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN99"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==714)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==715)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==716)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(1);
}
return;
}
if(animhandle==717)
{
if(frame==4)
{
spawn01("Estrelle_S01", 0, 0, 0);
}
return;
}
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==722)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW3", 0);
}
return;
}
if(animhandle==723)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW4", 0);
}
return;
}
if(animhandle==724)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
killgun(9, 0);
}
if(frame==9)
{
spawn01("cum1", 45, 55, 1);
}
if(frame==30)
{
spawn01("cum1", 45, 55, 1);
}
if(frame==51)
{
spawn01("cum1", 45, 55, 1);
}
if(frame==72)
{
spawn01("cum1", 45, 55, 1);
}
if(frame==84)
{
killgun(10, 0);
}
if(frame==84)
{
killgun(11, 0);
}
if(frame==84)
{
killgun(12, 0);
}
if(frame==84)
{
killgun(13, 0);
}
if(frame==84)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==725)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
killgun(10, 0);
}
if(frame==0)
{
killgun(11, 0);
}
if(frame==0)
{
killgun(12, 0);
}
if(frame==0)
{
killgun(13, 0);
}
if(frame==0)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW7", 0);
}
return;
}
if(animhandle==726)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW8", 0);
}
return;
}
if(animhandle==727)
{
if(PAnim!=openborconstant("ANI_FALL7")){
killentity(self);
}
}
if(frame==0)
{
spawn01("zoom0", 0, 0, 0);
}
if(frame==11)
{
looper(1, 20);
}
if(frame==13)
{
anichange("ANI_FOLLOW9", 0);
}
return;
}
if(animhandle==728)
{
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==737)
{
if(frame==2){
void Shot = shooter2("HSwordS2", 140, 220, 0, 3, 12, 0);
setglobalvar("HSword", Shot);
}
return;
}
if(animhandle==738)
{
if(frame==0)
{
target(3, 0, 0, 0, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
randSound("Hero_Attack4.wav", "Hero_Attack5.wav", "Hero_Attack6.wav");
}
if(frame==2)
{
target(0, 0, 0, 0, 1, 0);
}
if(frame==2)
{
dash();
}
if(frame==11)
{
spawn01("slashbig", 190, 0, -1);
}
if(frame==12)
{
spawn01("dust_landing", 250, 80, 1);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==739)
{
if(frame==0)
{
target(3, 0, 0, 0, 1, 0);
}
if(frame==0)
{
dash();
}
if(frame==1)
{
randSound("Hero_Attack4.wav", "Hero_Attack5.wav", "Hero_Attack6.wav");
}
if(frame==2)
{
target(0, 0, 0, 0, 1, 0);
}
if(frame==2)
{
dash();
}
if(frame==11)
{
spawn01("slashbig", 190, 0, -1);
}
if(frame==12)
{
spawn01("dust_landing", 250, 80, 1);
}
if(frame==12)
{
setglobalvar("zoomentity", NULL());
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==740)
{
if(frame==1){
void self = getlocalvar("self");
void MP = getentityproperty(self,"mp");
int iPIndex = getentityproperty(self,"playerindex"); //Get player index
int Dir = getentityproperty(self,"direction");
float Vx = 0.5;
float Vz = 0;
int Cost = 0; // dash cost
if(Dir == 0){
Vx = -Vx;
}
if(playerkeys(iPIndex, 0, "moveup")){
Vz = -0.5;
} else if(playerkeys(iPIndex, 0, "movedown")){
Vz = 0.5;
}
if(playerkeys(iPIndex, 0, "moveleft")){
Vx = -0.5;
} else if(playerkeys(iPIndex, 0, "moveright")){
Vx = 0.5;
} else if(!playerkeys(iPIndex, 0, "moveleft") && !playerkeys(iPIndex, 0,
"moveright") && Vz != 0){
Vx = 0;
}
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==742)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(0, 0, -0.1, 1);
}
if(frame==0)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==1)
{
spawn01("flash", 0, 150, 3);
}
if(frame==11)
{
dasher(0, 0, -0.1, 1);
}
if(frame==12)
{
dasher(0, 0, -0.1, 1);
}
return;
}
if(animhandle==743)
{
if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W01");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W02");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W03");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W04");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W05");
}
}
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==750)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==751)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==752)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==753)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==754)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari2", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==755)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari3", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==756)
{
if(frame==1)
{
spawn06("GeneralFinishLibrarian1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==757)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN96"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==758)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==759)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==0)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==760)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(4);
}
return;
}
if(animhandle==761)
{
if(frame==0)
{
consume(100, 0, "ANI_CANT");
}
if(frame==1)
{
spawn01("hyper", 25, 150, 0);
}
if(frame==2)
{
spawn06("Hero_Super", 800, 0, 800);
}
if(frame==3)
{
spawnFX("Defender", 0, 20, 2, "Defend");
}
return;
}
if(animhandle==762)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==763)
{
if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");
if(RKey){
setentityvar(self, "JMox", 1);
} else if(LKey){
setentityvar(self, "JMox", -1);
} else {
setentityvar(self, "JMox", 0);
}
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==774)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==775)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==776)
{
if(frame==1)
{
randSound("Hero_Pain1.wav", "Hero_Pain1.wav", "Hero_Pain2.wav");
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==777)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W01");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W02");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W03");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W04");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W05");
}
}
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==778)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==779)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==780)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==781)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==782)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari2", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==783)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari3", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==784)
{
if(frame==1)
{
spawn06("GeneralFinishLibrarian1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==785)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==5)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==786)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==0)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==787)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
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");
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==803)
{
if(frame==4){
void self = getlocalvar("self");
int y = getentityproperty(self,"a"); //Get entity's altitude
int b = getentityproperty(self, "base"); //Get entity's base
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W01");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W02");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W03");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W04");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Aerisetta_W05");
}
}
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==810)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==811)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==812)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==813)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==814)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari2", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==815)
{
if(frame==25){
void self = getlocalvar("self");
int HP = getentityproperty(self,"health");
if(HP == 99){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W01");
}
if(HP == 98){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W02");
}
if(HP == 97){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W03");
}
if(HP == 96){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W04");
}
if(HP == 95){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W05");
}
if(HP == 94){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W06");
}
if(HP == 93){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W07");
}
if(HP == 92){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W08");
}
if(HP == 91){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W09");
}
if(HP == 90){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W10");
}
if(HP == 89){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W11");
}
if(HP == 88){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W12");
}
if(HP == 87){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W13");
}
if(HP == 86){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W14");
}
if(HP == 85){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W15");
}
if(HP == 84){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W16");
}
if(HP == 83){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W17");
}
if(HP == 82){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W18");
}
if(HP == 81){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W19");
}
if(HP == 80){
spawnA ("Story", 800, 0, 800, "Path_Yukari_W20");
}
}
if(frame==1)
{
spawn06("GeneralFinishYukari3", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==816)
{
if(frame==1)
{
spawn06("GeneralFinishLibrarian1", 800, 0, 800);
}
if(frame==7)
{
randSound("Hero_Pain1.wav", "Hero_Pain2.wav", "Hero_Die.wav");
}
if(frame==21)
{
spawn01("cum1", 12, 60, 1);
}
if(frame==22)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==817)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN96"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==818)
{
if(frame==1){
void self = getlocalvar("self");
int DedSt = getentityvar(self, "DedSt");
if(DedSt!=0){
performattack(self, openborconstant("ANI_FOLLOW25"));
}
}
if(frame==0)
{
invincible(1, 1);
}
if(frame==0)
{
dc_animation_bomb(openborconstant("ANI_PAIN97"));
}
if(frame==2)
{
setglobalvar("zoomentity", NULL());
}
if(frame==6)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==819)
{
if(frame==0)
{
depost(0);
}
if(frame==0)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==0)
{
clearGrab();
}
if(frame==0)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==820)
{
if(frame==1){
void self = getlocalvar("self");
void FX1 = getentityvar(self, "Haste");
void FX2 = getentityvar(self, "Defend");
if(FX1){
killentity(FX1);
}
if(FX2){
killentity(FX2);
}
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(1, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn06("LoseHeroDir", 800, 0, 800);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
SwapNext(4);
}
return;
}
if(animhandle==821)
{
if(frame==2)
{
spawnbind("Mana", 1, 50, 1);
}
return;
}
if(animhandle==822)
{
if(frame==0){
void self = getlocalvar("self");
int PIndex = getentityproperty(self,"playerindex"); //Get player index
void LKey = playerkeys(PIndex, 0, "moveleft");
void RKey = playerkeys(PIndex, 0, "moveright");
if(RKey){
setentityvar(self, "JMox", 5);
} else if(LKey){
setentityvar(self, "JMox", -5);
} else {
setentityvar(self, "JMox", 0);
}
if(frame==1){
void self = getlocalvar("self");
setglobalvar("HSword", NULL());
changeentityproperty(self, "weapon", 4);
changeentityproperty(self, "animation", openborconstant("ANI_JUMPATTACK"));
}
return;
}
if(animhandle==825)
{
if(frame==4)
{
spawn01("Hero_Maid_S01", 0, 0, 0);
}
return;
}
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);
}
#### animationscript function main #####
# data/chars/Shooter/Shooter.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==846)
{
if(frame==1)
{
spawn06("Shooter_Estrelle", 800, 0, 800);
}
return;
}
if(animhandle==849)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==4)
{
Jalan("ANI_FOLLOW1", 0, 1.5, 1.1);
}
if(frame==4)
{
keyint2("ANI_FREESPECIAL", 6, "A2", 1);
}
if(frame==4)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==7)
{
Jalan("ANI_FOLLOW1", 0, 1.5, 1.1);
}
if(frame==7)
{
keyint2("ANI_FREESPECIAL45", 1, "A2", 0);
}
return;
}
if(animhandle==850)
{
if(frame==1)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==1)
{
keymove(5, 5);
}
if(frame==1)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==1)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
if(frame==4)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==4)
{
keymove(5, 5);
}
if(frame==4)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==4)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
if(frame==7)
{
aniLimit("ANI_CANT", 0, 2);
}
if(frame==7)
{
keymove(5, 5);
}
if(frame==7)
{
Henti("ANI_FREESPECIAL45", 2, 1, 1);
}
if(frame==7)
{
keyintV("ANI_FREESPECIAL45", 7, "A2", 1, 0, 0);
}
return;
}
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(H <= 0){
int SFX = loadsample("data/sounds/beep.wav");
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");
int H = checkwall(x,z + Leap);
}
#### animationscript function main #####
# data/chars/Chapters/C01.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==894)
{
if(frame==1)
{
playwebm("data/chars/Chapters/C01.webm", 1);
}
return;
}
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;
}
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==939)
{
if(frame==0)
{
killentity(getlocalvar("self"));
}
return;
}
if(frame==1){
changeentityproperty(self, "health", Health-5);
if (Health <= 0){
killentity(self);
}
}
return;
}
{
dasher(0.2,3,0);
}
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==990)
{
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==994)
{
if(frame==2){
void self = getlocalvar("self");
killgun(5, 0);
changeentityproperty(self, "weapon", 0);
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==995)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==996)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==997)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==998)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1000)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1001)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==8){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1003)
{
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1004)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==1)
{
dasher(0, 0, 0, 0);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1005)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1006)
{
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==10)
{
anichange("ANI_FOLLOW1", 0);
}
return;
}
if(animhandle==1008)
{
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1009)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==1)
{
dasher(0, 0, 0, 0);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1010)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1011)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1013)
{
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1014)
{
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==1017)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1018)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==3)
{
dasher(1, 0, 0, 1);
}
return;
}
if(animhandle==1019)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==0)
{
leaper(3, 10, 0);
}
return;
}
if(animhandle==1020)
{
if(frame==0)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1021)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1022)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1023)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1024)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1025)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1026)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1027)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1028)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1029)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1030)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1032)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1033)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1035)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1036)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1037)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1038)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1039)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1040)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1041)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1043)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1046)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1047)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1048)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1050)
{
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1051)
{
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==1054)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1055)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
return;
}
if(animhandle==1056)
{
if(frame==0)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1057)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1058)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1059)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1060)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1061)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1062)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1063)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1064)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1065)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1066)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1068)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1069)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1071)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1072)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1073)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1074)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1075)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1076)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1077)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1079)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1082)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1083)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1084)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1086)
{
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 3, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1087)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1090)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1091)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==14)
{
dasher(3, 0, 0, 1);
}
if(frame==14)
{
spawner("trail", 0, 0, 0);
}
return;
}
if(animhandle==1092)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1093)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1094)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1095)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1096)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1097)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1098)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1099)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1100)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1101)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1103)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1104)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1106)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1107)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1108)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1109)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1110)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1111)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1112)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1114)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1117)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1118)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1119)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1121)
{
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1122)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
if(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==1125)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1126)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
return;
}
if(animhandle==1127)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==25)
{
dasher(10, 0, 0, 1);
}
return;
}
if(animhandle==1128)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==1)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1129)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
return;
}
if(animhandle==1130)
{
if(frame==1)
{
spawner2("block", 0, 200, 0);
}
return;
}
if(animhandle==1131)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1132)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1133)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1134)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1135)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1136)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1137)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1138)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1139)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1140)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1142)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1143)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1145)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1146)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1147)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1148)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1149)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1150)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1151)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1153)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1156)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1157)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1158)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1160)
{
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, -2, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1161)
{
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==1165)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1166)
{
if(frame>=0){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
changeentityproperty(self, "nopain", 0);
changeentityproperty(self, "nodrop", 0);
performattack(self, openborconstant("ANI_PAIN1"));
}
}
if(frame==9)
{
target(2.5, 1.25, 100, 0, 0, 1);
}
if(frame==19)
{
shootT("ArrowE", 50, 220, 1);
}
return;
}
if(animhandle==1167)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1168)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1169)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1170)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1171)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1172)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1173)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1174)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1175)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1176)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1178)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1179)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1181)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1182)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1183)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==10)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1184)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1185)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==28)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1186)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("dust", -20, 1, 1);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
if(frame==12)
{
spawn01("dust", -20, 1, 1);
}
return;
}
if(animhandle==1187)
{
if(frame==1){
void self = getlocalvar("self");
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1189)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1192)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1193)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1194)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1196)
{
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1197)
{
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==1199)
{
if(frame==0)
{
spawnbind2("Lust", -25, 280, 15, 5);
}
return;
}
if(animhandle==1200)
{
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==1204)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1205)
{
if(frame==1)
{
spawn06("GeneralFinish", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1206)
{
if(frame==1)
{
spawn06("GeneralFinishLisina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1207)
{
if(frame==1)
{
spawn06("GeneralFinishEstrelleDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1208)
{
if(frame==1)
{
spawn06("GeneralFinishVarinaDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1209)
{
if(frame==1)
{
spawn06("GeneralFinishYukariDir", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1210)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1211)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1212)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1213)
{
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1215)
{
if(frame==22)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1216)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1218)
{
if(frame==8){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1219)
{
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1220)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==1)
{
dasher(0, 0, 0, 0);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1221)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1222)
{
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==1)
{
depost(0);
}
if(frame==1)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==1)
{
clearGrab();
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==10)
{
anichange("ANI_PAIN1", 0);
}
return;
}
if(animhandle==1224)
{
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1225)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
spawnbind2("Lust", -120, 150, 15, 5);
}
if(frame==1)
{
spawn01("grabpanel", 300, 200, 5);
}
if(frame==1)
{
spawn01("flash", 90, 50, -5);
}
if(frame==1)
{
dasher(0, 0, 0, 0);
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(2, 0, 21, -1, 0);
}
if(frame==3)
{
position(3, 0, 21, -1, 0);
}
if(frame==4)
{
position(2, 0, 21, -1);
}
if(frame==5)
{
position(3, 0, 21, -1, 0);
}
if(frame==6)
{
position(2, 0, 21, -1, 0);
}
if(frame==7)
{
position(3, 0, 21, -1, 0);
}
if(frame==8)
{
position(2, 0, 21, -1, 0);
}
if(frame==9)
{
position(3, 0, 21, -1, 0);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(2, 0, 21, -1, 0);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==10)
{
spawn01("flash", 90, 50, -5);
}
if(frame==10)
{
spawnbind2("Lust", -75, 100, 15, 5);
}
if(frame==11)
{
position(2, 0, 21, -1, 0);
}
if(frame==12)
{
position(2, 0, 21, -1, 0);
}
if(frame==13)
{
position(3, 0, 21, -1, 0);
}
if(frame==14)
{
position(2, 0, 21, -1, 0);
}
if(frame==15)
{
position(3, 0, 21, -1, 0);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(3, 0, 21, -1, 0);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==16)
{
spawn01("flash", 90, 50, -5);
}
if(frame==16)
{
spawnbind2("Lust", -25, 100, 15, 5);
}
if(frame==17)
{
position(2, 0, 21, -1, 0);
}
if(frame==18)
{
position(2, 0, 21, -1, 0);
}
if(frame==19)
{
position(3, 0, 21, -1, 0);
}
if(frame==20)
{
position(2, 0, 21, -1, 0);
}
if(frame==21)
{
position(3, 0, 21, -1, 0);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(2, 0, 21, -1, 0);
}
if(frame==24)
{
killgun(8, 0);
}
if(frame==24)
{
anichange("ANI_FOLLOW11", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==27)
{
randSound("Estrelle_Pain1.wav", "Estrelle_Pain2.wav",
"Estrelle_Pain3.wav");
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1226)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1227)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1229)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1230)
{
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==20){
void self = getlocalvar("self");
int r = rand()%50+50;
if(r >= 90){
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1233)
{
if(frame==1)
{
spawn01("soldier", 0, 0, 0);
}
if(frame==10)
{
spawn01("archer", 50, 0, 40);
}
if(frame==21)
{
spawn01("shield", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1234)
{
if(frame==1)
{
spawn01("archer", 0, 0, 0);
}
if(frame==10)
{
spawn01("shield", 50, 0, 40);
}
if(frame==21)
{
spawn01("spear", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1235)
{
if(frame==1)
{
spawn01("shield", 0, 0, 0);
}
if(frame==10)
{
spawn01("spear", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1236)
{
if(frame==1)
{
spawn01("spear", 0, 0, 0);
}
if(frame==10)
{
spawn01("claymore", 50, 0, 40);
}
if(frame==21)
{
spawn01("soldier", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1237)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("shield", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1238)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("claymore", 50, 0, 40);
}
if(frame==21)
{
spawn01("spear", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1239)
{
if(frame==1)
{
spawn01("shield", 0, 0, 0);
}
if(frame==10)
{
spawn01("spear", 50, 0, 40);
}
if(frame==21)
{
spawn01("shield", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1240)
{
if(frame==1)
{
spawn01("claymore", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1241)
{
if(frame==1)
{
spawn01("spear", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("spear", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1242)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("archer", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1244)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1245)
{
if(frame==1){
void self = getlocalvar("self");
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==1248)
{
if(frame==0)
{
leaper(-20, 2, -5);
}
if(frame==0)
{
randSound("Maid_Attack.wav", "Maid_Laugh.wav", "Maid_Sore.wav");
}
if(frame==8)
{
leaper(25, 2, 5);
}
return;
}
if(animhandle==1249)
{
if(frame==9)
{
dasher(10, 0, 0, 1);
}
if(frame==10)
{
dasher(0, 0, 0, 1);
}
if(frame==11)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==1251)
{
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1252)
{
if(frame==1)
{
spawn06("WinMaid0", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1253)
{
if(frame==1)
{
spawn06("MaidFinishElf", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1254)
{
if(frame==1)
{
spawn06("MaidFinishEstrelle", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1255)
{
if(frame==1)
{
spawn06("MaidFinishVarina", 800, 0, 800);
}
if(frame==2)
{
CoinDrop(0, 10);
}
return;
}
if(animhandle==1256)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1257)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1258)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1259)
{
if(frame==1)
{
randSound("Maid_Pain2.wav", "Maid_Pain2.wav", "Maid_Pain1.wav");
}
if(frame==11)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==14)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1261)
{
if(frame==0)
{
randSound("Maid_Pain2.wav", "Maid_Pain1.wav", "Maid_Pain1.wav");
}
return;
}
if(animhandle==1262)
{
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1263)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1264)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1265)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1266)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1267)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
return;
}
if(animhandle==1268)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==1269)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1270)
{
if(frame==9)
{
dasher(20, 0, 0, 1);
}
if(frame==10)
{
dasher(0, 0, 0, 1);
}
if(frame==11)
{
dasher(0.1, 0, 0, 1);
}
return;
}
if(animhandle==1271)
{
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1272)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW2", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1273)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("MaidAtk1", 800, 0, 800);
}
if(frame==14)
{
depost(0);
}
if(frame==14)
{
throw(15, 1, 20, 0, 0, 0, 0);
}
if(frame==14)
{
clearGrab();
}
if(frame==14)
{
killgun(8, 0);
}
return;
}
if(animhandle==1274)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW31", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1275)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1276)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1278)
{
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==1281)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1282)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1297)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1298)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1299)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1300)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1301)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
return;
}
if(animhandle==1302)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==1303)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1304)
{
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1305)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW2", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1306)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("MaidAtk1", 800, 0, 800);
}
if(frame==14)
{
depost(0);
}
if(frame==14)
{
throw(15, 1, 20, 0, 0, 0, 0);
}
if(frame==14)
{
clearGrab();
}
if(frame==14)
{
killgun(8, 0);
}
return;
}
if(animhandle==1307)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW31", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1308)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1309)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1311)
{
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1312)
{
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==1314)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
dasher(0, 0, 0, 0);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1315)
{
if(frame==1){
void self = getlocalvar("self");
if(frame==0){
changeentityproperty(self, "maxhealth", 1);
}
if(frame==1){
damageentity(self, self, 2, 1, openborconstant("ATK_NORMAL"));
}
return;
}
if(animhandle==1333)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
if(frame==11)
{
dasher(-0.4, 0, 0, 1);
}
if(frame==12)
{
dasher(-0.2, 0, 0, 1);
}
return;
}
if(animhandle==1334)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1335)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1336)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==1)
{
spawn01("wind1", 30, 0, 3);
}
return;
}
if(animhandle==1337)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
return;
}
if(animhandle==1338)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
damageentity(self, self, 0, 1, openborconstant("ATK_NORMAL"));
}
}
if(frame==0)
{
dasher(-1.3, 0, 0, 1);
}
if(frame==1)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==1)
{
setglobalvar("zoomvalue", 384);
}
if(frame==1)
{
setglobalvar("zoomx", 0);
}
if(frame==1)
{
setglobalvar("zoomy", -80);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
return;
}
if(animhandle==1339)
{
if(frame>=1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
if(Health<=1){
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1340)
{
if(frame==1){
void self = getlocalvar("self");
void target = getentityproperty(self, "opponent");
char TName = getentityproperty(target, "name");
if(TName=="Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW30"));
} else {
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(animhandle==1341)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW2", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1342)
{
if(frame==1){
setmusictempo(100);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==2)
{
spawn06("MaidAtk1", 800, 0, 800);
}
if(frame==14)
{
depost(0);
}
if(frame==14)
{
throw(15, 1, 20, 0, 0, 0, 0);
}
if(frame==14)
{
clearGrab();
}
if(frame==14)
{
killgun(8, 0);
}
return;
}
if(animhandle==1343)
{
if(frame==1){
setmusictempo(105);
}
if(frame==12){
setmusictempo(110);
}
if(frame==18){
setmusictempo(120);
}
if(frame==0)
{
dasher(0, 0, 0, 0);
}
if(frame==0)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==2)
{
slamstart2();
}
if(frame==2)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==2)
{
position(1, 110, 21, -1, 1);
}
if(frame==3)
{
position(0, 110, 21, -1, 1);
}
if(frame==4)
{
position(1, 110, 21, -1, 1);
}
if(frame==5)
{
position(0, 110, 21, -1, 1);
}
if(frame==6)
{
position(1, 110, 21, -1, 1);
}
if(frame==7)
{
position(0, 110, 21, -1, 1);
}
if(frame==8)
{
position(1, 110, 21, -1, 1);
}
if(frame==9)
{
position(0, 110, 21, -1, 1);
}
if(frame==9)
{
looper(5, 10);
}
if(frame==10)
{
position(1, 110, 21, -1, 1);
}
if(frame==10)
{
spawn01("zoom1", 0, 100, 0);
}
if(frame==10)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==11)
{
position(1, 110, 21, -1, 1);
}
if(frame==12)
{
position(1, 110, 21, -1, 1);
}
if(frame==13)
{
position(0, 110, 21, -1, 1);
}
if(frame==14)
{
position(1, 110, 21, -1, 1);
}
if(frame==15)
{
position(0, 110, 21, -1, 1);
}
if(frame==15)
{
looper(11, 10);
}
if(frame==16)
{
position(0, 110, 21, -1, 1);
}
if(frame==16)
{
spawn01("zoom2", 0, 100, 0);
}
if(frame==16)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==17)
{
position(1, 110, 21, -1, 1);
}
if(frame==18)
{
position(1, 110, 21, -1, 1);
}
if(frame==19)
{
position(0, 110, 21, -1, 1);
}
if(frame==20)
{
position(1, 110, 21, -1, 1);
}
if(frame==21)
{
position(0, 110, 21, -1, 1);
}
if(frame==21)
{
looper(17, 10);
}
if(frame==22)
{
position(1, 110, 21, -1, 1);
}
if(frame==24)
{
anichange("ANI_FOLLOW31", 0);
}
if(frame==26)
{
depost(0);
}
if(frame==26)
{
finish(0, 1, 1, 4, 1, 1);
}
if(frame==26)
{
clearGrab();
}
if(frame==26)
{
killgun(8, 0);
}
if(frame==37)
{
spawn01("ground1", 0, 0, -1);
}
if(frame==40)
{
spawn01("dust_landing", 275, 80, 1);
}
return;
}
if(animhandle==1344)
{
if(frame==0)
{
slamstart2();
}
if(frame==1)
{
spawngrab("grab1", 1300, 600, 0, 60, 1, 8);
}
if(frame==1)
{
setglobalvar("zoomentity", NULL());
}
if(frame==1)
{
enemy_bomb(openborconstant("ANI_PAIN98"));
}
if(frame==1)
{
position(4, 0, 21, -1, 1);
}
return;
}
if(animhandle==1345)
{
if(frame==0)
{
target(1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1347)
{
if(PAnim!=openborconstant("ANI_FALL7")){
changeentityproperty(self, "animation", openborconstant("ANI_PAIN97"));
}
}
if(frame==0)
{
target(-1, 1, 1, 1, 1);
}
if(frame==0)
{
dash();
}
return;
}
if(animhandle==1348)
{
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==1351)
{
if(frame==1)
{
spawn01("maid0", 0, 0, 0);
}
if(frame==10)
{
spawn01("maid0", 50, 0, 40);
}
if(frame==21)
{
spawn01("maid0", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1352)
{
if(frame==1)
{
spawn01("maidbroom", 0, 0, 0);
}
if(frame==10)
{
spawn01("maidbroom", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidbroom", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1353)
{
if(frame==1)
{
spawn01("maidknife", 0, 0, 0);
}
if(frame==10)
{
spawn01("maidknife", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidknife", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1354)
{
if(frame==1)
{
spawn01("maidknife", 0, 0, 0);
}
if(frame==10)
{
spawn01("maidbroom", 50, 0, 40);
}
if(frame==21)
{
spawn01("maid0", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1355)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("maid0", 50, 0, 40);
}
if(frame==21)
{
spawn01("zomsol2", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1356)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("maidbroom", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidknife", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1357)
{
if(frame==1)
{
spawn01("maidknife", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidknife", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1358)
{
if(frame==1)
{
spawn01("claymore", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("claymore", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1359)
{
if(frame==1)
{
spawn01("maidbroom", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("maidbroom", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
if(animhandle==1360)
{
if(frame==1)
{
spawn01("zomsol2", 0, 0, 0);
}
if(frame==10)
{
spawn01("zomsol2", 50, 0, 40);
}
if(frame==21)
{
spawn01("zomsol2", 100, 0, 80);
}
if(frame==22)
{
suicide();
}
return;
}
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==1375)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1376)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1377)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1378)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1379)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1380)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1381)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1382)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1383)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
if(animhandle==1384)
{
if(frame==1)
{
spawner("GeneralFinish", 0, 0, 0);
}
return;
}
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/generalfinish/generalfinish.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1442)
{
if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 58; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;
if(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 = 33; //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;
return;
}
if(animhandle==1575)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M01");
}
return;
}
if(animhandle==1576)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M02");
}
return;
}
if(animhandle==1577)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M03");
}
return;
}
if(animhandle==1578)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M04");
}
return;
}
if(animhandle==1579)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M05");
}
return;
}
if(animhandle==1580)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M06");
}
return;
}
if(animhandle==1581)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M07");
}
return;
}
if(animhandle==1582)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M08");
}
return;
}
if(animhandle==1583)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09");
}
return;
}
if(animhandle==1584)
{
if(frame==1)
{
spawn06("GeneralFinishPrincess2", 800, 0, 800);
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1587)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M01b");
}
return;
}
if(animhandle==1588)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M02b");
}
return;
}
if(animhandle==1589)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M03b");
}
return;
}
if(animhandle==1590)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M04b");
}
return;
}
if(animhandle==1591)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M05b");
}
return;
}
if(animhandle==1592)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M06b");
}
return;
}
if(animhandle==1593)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M07b");
}
return;
}
if(animhandle==1594)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M08b");
}
return;
}
if(animhandle==1595)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09b");
}
return;
}
if(animhandle==1596)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M09b");
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1599)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M11");
}
return;
}
if(animhandle==1600)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M12");
}
return;
}
if(animhandle==1601)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M13");
}
return;
}
if(animhandle==1602)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M14");
}
return;
}
if(animhandle==1603)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M15");
}
return;
}
if(animhandle==1604)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M16");
}
return;
}
if(animhandle==1605)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M17");
}
return;
}
if(animhandle==1606)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M18");
}
return;
}
if(animhandle==1607)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M19");
}
return;
}
if(animhandle==1608)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M20");
}
return;
}
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
return;
}
if(animhandle==1611)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M11b");
}
return;
}
if(animhandle==1612)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M12b");
}
return;
}
if(animhandle==1613)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M13b");
}
return;
}
if(animhandle==1614)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M14b");
}
return;
}
if(animhandle==1615)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M15b");
}
return;
}
if(animhandle==1616)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M16b");
}
return;
}
if(animhandle==1617)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M17b");
}
return;
}
if(animhandle==1618)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M18b");
}
return;
}
if(animhandle==1619)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M19b");
}
return;
}
if(animhandle==1620)
{
if(frame==0)
{
spawner("Superbar", 0, 0, 0);
}
if(frame==0)
{
spawner("super", 0, 0, 0);
}
if(frame==1)
{
spawn06("Boarder", 800, 0, 800);
}
if(frame==1)
{
spawnA("story", 0, 0, 0, "GeneralFinishPrincess_M20b");
}
return;
}
}
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 = 30; //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==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 16; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;
if(frame==2){
void self = getlocalvar("self");
int result = 1; //RESULT START FROM 1 ONCE USUALLY THE ENGINE CONSIDER A
RANGE FROM 0 TO THE VALUE-1 (EX: rand()%10 will be 0-9)
int maxFollows = 18; //FILL THE MAX FOLLOW POSSIBILITIES FOR THIS ENTITY
int rand = rand()%maxFollows;
if(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");
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==1811)
{
if(getentityproperty(vtm, "type")==openborconstant("TYPE_NPC"))
{
killentity(self);
}
return;
}
if(frame>=5){
void self = getlocalvar("self");
void energia = getentityproperty(self,"health"); // pega energia/mp
atual
changeentityproperty(self, "health", energia-2);// diminui energia/mp
}
return;
}
if(animhandle==1814)
{
if(getentityproperty(vtm, "type")==openborconstant("TYPE_NPC"))
{
killentity(self);
}
return;
}
if(PAnim!=openborconstant("ANI_FALL7")){
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;
}
#### animationscript function main #####
# data/chars/dialogues/GeneralFinishNun/GeneralFinishNun1.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1866)
{
if(frame==2){
void self = getlocalvar("self");
int r = rand()%50+50;
if(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("Scene90", 1);
Simpen("Succubus.txt", 9, 10, 1);
performattack(self, openborconstant("ANI_FOLLOW10"));
} else if(r >= 80){
setglobalvar("Scene89", 1);
Simpen("Succubus.txt", 9, 9, 1);
performattack(self, openborconstant("ANI_FOLLOW9"));
} else if(r >= 70){
setglobalvar("Scene88", 1);
Simpen("Succubus.txt", 9, 8, 1);
performattack(self, openborconstant("ANI_FOLLOW8"));
} else if(r >= 60){
setglobalvar("Scene87", 1);
Simpen("Succubus.txt", 9, 7, 1);
performattack(self, openborconstant("ANI_FOLLOW7"));
} else if(r >= 50){
setglobalvar("Scene86", 1);
Simpen("Succubus.txt", 9, 6, 1);
performattack(self, openborconstant("ANI_FOLLOW6"));
} else if(r >= 40){
setglobalvar("Scene85", 1);
Simpen("Succubus.txt", 9, 5, 1);
performattack(self, openborconstant("ANI_FOLLOW5"));
} else if(r >= 30){
setglobalvar("Scene84", 1);
Simpen("Succubus.txt", 9, 4, 1);
performattack(self, openborconstant("ANI_FOLLOW4"));
} else if(r >= 20){
setglobalvar("Scene83", 1);
Simpen("Succubus.txt", 9, 3, 1);
performattack(self, openborconstant("ANI_FOLLOW3"));
} else if(r >= 10){
setglobalvar("Scene82", 1);
Simpen("Succubus.txt", 9, 2, 1);
performattack(self, openborconstant("ANI_FOLLOW2"));
} else {
setglobalvar("Scene81", 1);
Simpen("Succubus.txt", 9, 1, 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==1892)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_01");
}
return;
}
if(animhandle==1893)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_02");
}
return;
}
if(animhandle==1894)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_03");
}
return;
}
if(animhandle==1895)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_04");
}
return;
}
if(animhandle==1896)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_05");
}
return;
}
if(animhandle==1897)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_06");
}
return;
}
if(animhandle==1898)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_07");
}
return;
}
if(animhandle==1899)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_05");
}
return;
}
if(animhandle==1900)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_06");
}
return;
}
if(animhandle==1901)
{
if(frame==1)
{
spawnA("story", 0, 0, 0, "VirginAtk_07");
}
return;
}
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 = 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");
if(frame==2){
changeopenborvariant("textbox", 1); //FREEZE THE GAME
options();
changeopenborvariant("textbox", NULL()); //UNFREEZE THE GAME
}
if(frame==1)
{
spawn06("Dark2", 800, 0, 800);
}
return;
}
if(frame==1){
void self = getlocalvar("self");
setglobalvar("3423453245", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==1991)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("3423453245") == 1){
setglobalvar("3423453245", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}
}
return;
}
if(animhandle==1992)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("3423453245") == 1){
setglobalvar("3423453245", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(frame==1){
void self = getlocalvar("self");
setglobalvar("1234234413", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2004)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("1234234413") == 1){
setglobalvar("1234234413", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}
}
return;
}
if(animhandle==2005)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("1234234413") == 1){
setglobalvar("1234234413", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(frame==1){
void self = getlocalvar("self");
setglobalvar("8923487983", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2017)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("8923487983") == 1){
setglobalvar("8923487983", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}
}
return;
}
if(animhandle==2018)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("8923487983") == 1){
setglobalvar("8923487983", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(frame==1){
void self = getlocalvar("self");
setglobalvar("8347874929", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2030)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("8347874929") == 1){
setglobalvar("8347874929", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}
}
return;
}
if(animhandle==2031)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("8347874929") == 1){
setglobalvar("8347874929", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}
}
return;
}
if(frame==1){
void self = getlocalvar("self");
setglobalvar("8274287492", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2043)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("8274287492") == 1){
setglobalvar("8274287492", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}
}
return;
}
if(animhandle==2044)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("8274287492") == 1){
setglobalvar("8274287492", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}
if(frame==1){
void self = getlocalvar("self");
setglobalvar("2837284792", 1);
performattack(self, openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==2056)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("2837284792") == 1){
setglobalvar("2837284792", 2);
performattack(self, openborconstant("ANI_FOLLOW2"));
}
}
return;
}
if(animhandle==2057)
{
if(frame==1){
void self = getlocalvar("self");
if(getglobalvar("2837284792") == 1){
setglobalvar("2837284792", 9);
performattack(self, openborconstant("ANI_FOLLOW9"));
}
}
return;
}
setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
} else if(Disx2 <= 50 && Disz2 <= 50){
Rx = Health/10000;
Rz = Health%10000;
setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
}
}
return;
}
if(animhandle==2072)
{
setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
} else if(Disx2 <= 50 && Disz2 <= 50){
Rx = Health/10000;
Rz = Health%10000;
setglobalvar("xT", Rx);
setglobalvar("zT", Rz);
setglobalvar("Dir", Dir);
jumptobranch(Name, 1);
}
}
return;
}
if(animhandle==2073)
{
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(Char == "Estrelle"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW6"));
} else if(Char == "Yukari"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW5"));
} else if(Char == "Hero"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW4"));
} else if(Char == "Varina"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
} else if(Char == "Lisina"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW2"));
} else if(Char == "Aerisetta"){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW1"));
}
}
return;
}
if(animhandle==2078)
{
if(Char != "Aerisetta"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2079)
{
if(Char != "Lisina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2080)
{
if(Char != "Hero"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2082)
{
if(Char != "Yukari"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2083)
{
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==2087)
{
if(Char != "Aerisetta"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2088)
{
if(Char != "Lisina"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2089)
{
if(Char != "Hero"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2091)
{
if(Char != "Yukari"){
setidle(self, openborconstant("ANI_IDLE"));
}
}
return;
}
if(animhandle==2092)
{
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==2095)
{
if(frame == 1){
void self = getlocalvar("self");
int Health = getentityproperty(self,"health");
int Cek1 = CompSlot(1, Health);
int Cek2 = CompSlot(2, Health);
int Cek3 = CompSlot(3, Health);
int Res = Cek1 + Cek2 + Cek3;
if(Health == 2){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW2"));
} else if(Health == 3){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW3"));
} else if(Health == 4){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW4"));
} else if(Health == 5){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW5"));
} else if(Health == 6){
changeentityproperty(self, "animation", openborconstant("ANI_FOLLOW6"));
}
}
return;
}
if(animhandle==2096)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2097)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2098)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2099)
{
if(State != 0){
changedrawmethod(self, "tintmode", 2);
changedrawmethod(self, "tintcolor", rgbcolor(128,128,128));
} else {
changedrawmethod(self, "tintmode", 0);
}
}
return;
}
if(animhandle==2100)
{
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;
}