Script Log
Script Log
# data/chars/DD1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+31);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+31);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==39)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==5)
{
stairwalk(3);
}
if(frame==5)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==6)
{
stairwalk(3);
}
if(frame==6)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==7)
{
stairwalk(3);
}
if(frame==7)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==69)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==70)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==71)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==72)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==73)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==74)
{
if(frame==2)
{
projectile(1, "L15j", 0, 10, 0);
}
return;
}
if(animhandle==75)
{
if(frame==1)
{
projectile(1, "l15d", 25, 0, 0);
}
if(frame==2)
{
projectile(1, "l15d", 50, 0, 0);
}
if(frame==3)
{
projectile(1, "l15d", 75, 0, 0);
}
if(frame==4)
{
projectile(1, "l15d", 100, 0, 0);
}
if(frame==5)
{
projectile(1, "l15d", 125, 0, 0);
}
if(frame==6)
{
projectile(1, "l15d", 150, 0, 0);
}
if(frame==7)
{
projectile(1, "l15d", 175, 0, 0);
}
if(frame==8)
{
projectile(1, "l15d", 200, 0, 0);
}
return;
}
if(animhandle==76)
{
if(frame==18)
{
projectile(1, "l15e", 0, 0, 0);
}
if(frame==19)
{
projectile(1, "l15e", 60, 0, 0);
}
if(frame==19)
{
projectile(1, "l15e", -60, 0, 0);
}
if(frame==20)
{
projectile(1, "l15e", 120, 0, 0);
}
if(frame==20)
{
projectile(1, "l15e", -120, 0, 0);
}
return;
}
if(animhandle==77)
{
if(frame==2)
{
dasher(6);
}
if(frame==3)
{
dasher(6);
}
if(frame==4)
{
dasher(6);
}
if(frame==5)
{
dasher(6);
}
if(frame==6)
{
dasher(4);
}
if(frame==7)
{
dasher(0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==111)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==112)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==113)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==114)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==115)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==117)
{
if(frame==2)
{
projectile(1, "L4b", 20, 0, 0);
}
if(frame==6)
{
projectile(1, "L4b", 20, 0, 0);
}
if(frame==10)
{
projectile(1, "L4b", 20, 0, 0);
}
return;
}
if(animhandle==118)
{
if(frame==1)
{
dasher(4);
}
if(frame==2)
{
dasher(4);
}
if(frame==3)
{
dasher(4);
}
if(frame==4)
{
dasher(4);
}
if(frame==5)
{
dasher(4);
}
if(frame==6)
{
dasher(4);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
return;
}
if(animhandle==141)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==142)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==143)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==144)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==145)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==147)
{
if(frame==5)
{
projectile(1, "MaxP02", 0, 0, 0);
}
return;
}
if(animhandle==148)
{
if(frame==9)
{
projectile(1, "MaxP06", 0, 0, 0);
}
return;
}
if(animhandle==149)
{
if(frame==3)
{
projectile(1, "MaxP03", 0, 0, 0);
}
if(frame==4)
{
projectile(1, "MaxP03", 30, 0, 0);
}
if(frame==5)
{
projectile(1, "MaxP03", 60, 0, 0);
}
return;
}
if(animhandle==150)
{
if(frame==5)
{
projectile(1, "MaxP04", 0, 0, 0);
}
return;
}
}
#### animationscript function main #####
# data/chars/QUANHUANG/ks6/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==166)
{
if(frame==0)
{
projectile(1, "orochip05", -31, 0, 0);
}
return;
}
if(animhandle==169)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==172)
{
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==174)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==175)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==176)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==177)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==178)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==186)
{
if(frame==2)
{
projectile(1, "OrochiP02", 0, 0, 0);
}
if(frame==3)
{
projectile(1, "OrochiP02", 0, 0, 0);
}
if(frame==4)
{
projectile(1, "OrochiP02", 0, 0, 0);
}
return;
}
if(animhandle==187)
{
if(frame==2)
{
projectile(1, "OrochiP03", 30, 0, 0);
}
if(frame==3)
{
projectile(1, "OrochiP03", 60, 0, 0);
}
if(frame==4)
{
projectile(1, "OrochiP03", 90, 0, 0);
}
if(frame==5)
{
projectile(1, "OrochiP03", 120, 0, 0);
}
if(frame==6)
{
projectile(1, "OrochiP03", 150, 0, 0);
}
return;
}
if(animhandle==188)
{
if(frame==2)
{
projectile(1, "orochip05", -21, 10, 0);
}
if(frame==2)
{
projectile(1, "orochip05", -41, 10, 0);
}
if(frame==2)
{
projectile(1, "orochip05", -21, -10, 0);
}
if(frame==2)
{
projectile(1, "orochip05", -41, -10, 0);
}
if(frame==2)
{
projectile(1, "orochip05", -81, 20, 0);
}
if(frame==2)
{
projectile(1, "orochip05", -81, -20, 0);
}
if(frame==2)
{
projectile(1, "orochip05", 21, 20, 0);
}
if(frame==2)
{
projectile(1, "orochip05", 21, -20, 0);
}
return;
}
if(animhandle==189)
{
if(frame==3)
{
projectile(1, "OrochiP04", 0, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==214)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==215)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==216)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==217)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==218)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==224)
{
if(frame==4)
{
projectile(1, "GuileP02", 0, 0, 0);
}
return;
}
if(animhandle==226)
{
if(frame==4)
{
projectile(1, "GuileP03", 0, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
return;
}
if(animhandle==240)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==267)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==275)
{
if(frame==2)
{
projectile(1, "mustaphaP01", -30, 0, 0);
}
if(frame==2)
{
projectile(1, "mustaphaP01", -30, 10, 0);
}
if(frame==2)
{
projectile(1, "mustaphaP01", -30, 20, 0);
}
if(frame==2)
{
projectile(1, "mustaphaP01", -30, -10, 0);
}
if(frame==2)
{
projectile(1, "mustaphaP01", -30, -20, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==5)
{
stairwalk(3);
}
if(frame==5)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==303)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==304)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==305)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==306)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==307)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==312)
{
if(frame==1)
{
dasher(4);
}
if(frame==3)
{
dasher(4);
}
if(frame==5)
{
dasher(4);
}
if(frame==7)
{
dasher(2);
}
if(frame==8)
{
dasher(2);
}
if(frame==9)
{
dasher(2);
}
if(frame==10)
{
dasher(2);
}
if(frame==11)
{
dasher(4);
}
if(frame==12)
{
dasher(3);
}
if(frame==13)
{
dasher(0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==336)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==337)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==338)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==339)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==340)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==341)
{
if(frame==1)
{
projectile(1, "n13", 10, 0, 0);
}
return;
}
if(animhandle==342)
{
if(frame==1)
{
projectile(1, "n2", 20, 0, 0);
}
return;
}
if(animhandle==345)
{
if(frame==1)
{
projectile(1, "n10", 10, 0, 0);
}
return;
}
if(animhandle==346)
{
if(frame==7)
{
projectile(1, "n3", 10, 0, 0);
}
if(frame==8)
{
projectile(1, "n6", 10, 0, 0);
}
if(frame==9)
{
projectile(1, "n8", 10, 0, 0);
}
if(frame==10)
{
projectile(1, "n10", 10, 0, 0);
}
return;
}
if(animhandle==347)
{
if(frame==1)
{
projectile(1, "n8", 10, 0, 0);
}
return;
}
if(animhandle==348)
{
if(frame==1)
{
projectile(1, "n3", 10, 0, 0);
}
return;
}
if(animhandle==349)
{
if(frame==1)
{
projectile(1, "n6", 10, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==383)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==384)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==385)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==386)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==387)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==389)
{
if(frame==1)
{
dasher(2);
}
if(frame==2)
{
dasher(2);
}
if(frame==3)
{
dasher(2);
}
if(frame==4)
{
dasher(2);
}
if(frame==5)
{
dasher(0);
}
if(frame==6)
{
dasher(0);
}
return;
}
if(animhandle==391)
{
if(frame==17)
{
projectile(1, "L13A", 10, 0, 0);
}
if(frame==18)
{
projectile(1, "L13A", 10, 0, 0);
}
if(frame==19)
{
projectile(1, "L13A", 10, 0, 0);
}
if(frame==20)
{
projectile(1, "L13A", 10, 0, 0);
}
if(frame==21)
{
projectile(1, "L13A", 10, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==5)
{
stairwalk(3);
}
if(frame==5)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==6)
{
stairwalk(3);
}
if(frame==6)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==407)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==408)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==409)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==410)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==411)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==419)
{
if(frame==3)
{
projectile(1, "L17k", 30, 0, 0);
}
if(frame==4)
{
projectile(1, "L17k", 60, 0, 0);
}
if(frame==5)
{
projectile(1, "L17k", 90, 0, 0);
}
if(frame==6)
{
projectile(1, "L17k", 120, 0, 0);
}
if(frame==7)
{
projectile(1, "L17k", 150, 0, 0);
}
if(frame==8)
{
projectile(1, "L17k", 180, 0, 0);
}
if(frame==9)
{
projectile(1, "L17k", 210, 0, 0);
}
if(frame==10)
{
projectile(1, "L17k", 240, 0, 0);
}
if(frame==11)
{
projectile(1, "L17k", 270, 0, 0);
}
return;
}
if(animhandle==420)
{
if(frame==0)
{
projectile(1, "l17f", 0, 0, 0);
}
return;
}
if(animhandle==421)
{
if(frame==2)
{
projectile(1, "L17g", 0, 0, 0);
}
if(frame==2)
{
projectile(1, "L17g", 50, 0, 0);
}
if(frame==2)
{
projectile(1, "L17g", -50, 0, 0);
}
if(frame==2)
{
projectile(1, "L17g", 100, 0, 0);
}
if(frame==2)
{
projectile(1, "L17g", -100, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==452)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==453)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==454)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==455)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==456)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==458)
{
if(frame==3)
{
projectile(1, "L8a", 50, 0, 0);
}
return;
}
if(animhandle==459)
{
if(frame==4)
{
dasher(2);
}
if(frame==5)
{
dasher(2);
}
if(frame==6)
{
dasher(2);
}
if(frame==7)
{
dasher(2);
}
if(frame==8)
{
dasher(2);
}
if(frame==9)
{
dasher(2);
}
if(frame==10)
{
dasher(2);
}
if(frame==11)
{
dasher(2);
}
if(frame==12)
{
dasher(2);
}
if(frame==13)
{
dasher(2);
}
if(frame==14)
{
dasher(2);
}
if(frame==15)
{
dasher(2);
}
if(frame==16)
{
dasher(2);
}
if(frame==17)
{
dasher(2);
}
if(frame==18)
{
dasher(2);
}
if(frame==19)
{
dasher(2);
}
if(frame==20)
{
dasher(0);
}
if(frame==24)
{
projectile(1, "L8a", 50, 0, 0);
}
return;
}
if(animhandle==460)
{
if(frame==3)
{
projectile(1, "L8d", 50, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==5)
{
stairwalk(3);
}
if(frame==5)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==495)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==496)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==497)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==498)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==499)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==530)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==531)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==532)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==533)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==534)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==537)
{
if(frame==2)
{
dasher(4);
}
if(frame==3)
{
dasher(4);
}
if(frame==4)
{
dasher(4);
}
if(frame==5)
{
dasher(4);
}
if(frame==6)
{
dasher(4);
}
if(frame==7)
{
dasher(4);
}
if(frame==8)
{
dasher(4);
}
if(frame==9)
{
dasher(4);
}
if(frame==10)
{
dasher(2);
}
if(frame==11)
{
dasher(2);
}
if(frame==12)
{
dasher(1);
}
if(frame==13)
{
dasher(1);
}
if(frame==14)
{
dasher(1);
}
if(frame==15)
{
dasher(0);
}
return;
}
if(animhandle==538)
{
if(frame==5)
{
projectile(1, "Terry4", 10, 0, 0);
}
if(frame==9)
{
projectile(1, "Terry4", 50, 0, 0);
}
if(frame==14)
{
projectile(1, "Terry4", 120, 0, 0);
}
return;
}
if(animhandle==539)
{
if(frame==5)
{
projectile(1, "Terry4", 30, 0, 0);
}
if(frame==6)
{
projectile(1, "Terry4", 60, 0, 0);
}
if(frame==7)
{
projectile(1, "Terry4", 90, 0, 0);
}
if(frame==8)
{
projectile(1, "Terry4", 120, 0, 0);
}
if(frame==9)
{
projectile(1, "Terry4", 90, 0, 0);
}
if(frame==10)
{
projectile(1, "Terry4", 60, 0, 0);
}
if(frame==11)
{
projectile(1, "Terry4", 30, 0, 0);
}
if(frame==12)
{
projectile(1, "Terry4", 60, 0, 0);
}
if(frame==13)
{
projectile(1, "Terry4", 90, 0, 0);
}
if(frame==14)
{
projectile(1, "Terry4", 120, 0, 0);
}
if(frame==15)
{
projectile(1, "Terry4", 90, 0, 0);
}
if(frame==16)
{
projectile(1, "Terry4", 60, 0, 0);
}
if(frame==17)
{
projectile(1, "Terry4", 30, 0, 0);
}
if(frame==18)
{
projectile(1, "Terry4", 60, 0, 0);
}
if(frame==19)
{
projectile(1, "Terry4", 90, 0, 0);
}
if(frame==20)
{
projectile(1, "Terry4", 120, 0, 0);
}
return;
}
if(animhandle==540)
{
if(frame==1)
{
dasher(2);
}
if(frame==1)
{
dasher(2);
}
if(frame==2)
{
dasher(2);
}
if(frame==3)
{
dasher(2);
}
if(frame==4)
{
dasher(2);
}
if(frame==5)
{
dasher(2);
}
if(frame==6)
{
dasher(0);
}
return;
}
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==565)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==569)
{
if(frame==4)
{
projectile(1, "sHadoukenS", 0, 0, 0);
}
return;
}
if(animhandle==571)
{
if(frame==2)
{
dasher(2);
}
if(frame==3)
{
dasher(2);
}
if(frame==5)
{
dasher(2);
}
if(frame==6)
{
dasher(2);
}
if(frame==7)
{
dasher(2);
}
if(frame==9)
{
dasher(2);
}
if(frame==10)
{
dasher(2);
}
if(frame==11)
{
dasher(2);
}
if(frame==12)
{
dasher(2);
}
if(frame==13)
{
dasher(2);
}
if(frame==14)
{
dasher(2);
}
if(frame==15)
{
dasher(2);
}
if(frame==16)
{
dasher(1);
}
if(frame==17)
{
dasher(0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==5)
{
stairwalk(3);
}
if(frame==5)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==6)
{
stairwalk(3);
}
if(frame==6)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==7)
{
stairwalk(3);
}
if(frame==7)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==8)
{
stairwalk(3);
}
if(frame==8)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==8)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==8)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==606)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==607)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==608)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==609)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==610)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==644)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==645)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==646)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==647)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==648)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==649)
{
if(frame==1)
{
projectile(1, "l14e", 30, 0, 0);
}
return;
}
if(animhandle==650)
{
if(frame==5)
{
projectile(1, "L14G", 20, 10, 0);
}
if(frame==10)
{
projectile(1, "L14G", 20, 10, 0);
}
if(frame==15)
{
projectile(1, "L14G", 20, 10, 0);
}
if(frame==20)
{
projectile(1, "L14G", 20, 10, 0);
}
if(frame==25)
{
projectile(1, "L14G", 20, 10, 0);
}
return;
}
if(animhandle==651)
{
if(frame==1)
{
projectile(1, "L14a", 0, 0, 0);
}
return;
}
if(animhandle==652)
{
if(frame==1)
{
projectile(1, "L14A", 0, 0, 0);
}
if(frame==3)
{
projectile(1, "L14A", 0, 0, 0);
}
if(frame==5)
{
projectile(1, "L14A", 0, 0, 0);
}
if(frame==7)
{
projectile(1, "L14A", 0, 0, 0);
}
if(frame==9)
{
projectile(1, "L14A", 0, 0, 0);
}
if(frame==11)
{
projectile(1, "L14A", 0, 0, 0);
}
if(frame==13)
{
projectile(1, "L14A", 0, 0, 0);
}
if(frame==15)
{
projectile(1, "L14A", 0, 0, 0);
}
if(frame==17)
{
projectile(1, "L14A", 0, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==5)
{
stairwalk(3);
}
if(frame==5)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==6)
{
stairwalk(3);
}
if(frame==6)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==682)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==683)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==684)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==685)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==686)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==704)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==705)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==706)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==707)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==708)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==711)
{
if(frame==24)
{
projectile(1, "ks12-1", 20, 0, 0);
}
return;
}
if(animhandle==713)
{
if(frame==2)
{
projectile(1, "ks12-4", -15, 2, 0);
}
if(frame==6)
{
projectile(1, "ks12-4", -15, 2, 0);
}
if(frame==10)
{
projectile(1, "ks12-4", -15, 2, 0);
}
if(frame==14)
{
projectile(1, "ks12-4", -15, 2, 0);
}
if(frame==20)
{
projectile(1, "ks12-3", 0, 0, 0);
}
return;
}
if(animhandle==714)
{
if(frame==20)
{
dasher(4);
}
if(frame==20)
{
dasher(4);
}
if(frame==21)
{
dasher(4);
}
if(frame==22)
{
dasher(4);
}
if(frame==23)
{
dasher(4);
}
if(frame==24)
{
dasher(4);
}
if(frame==25)
{
dasher(4);
}
if(frame==26)
{
dasher(4);
}
if(frame==27)
{
dasher(2);
}
if(frame==28)
{
dasher(2);
}
if(frame==29)
{
dasher(1);
}
if(frame==30)
{
dasher(0);
}
return;
}
if(animhandle==715)
{
if(frame==4)
{
projectile(1, "ks12-2", 10, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==747)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==748)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==749)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==750)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==751)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==752)
{
if(frame==1)
{
projectile(1, "IoriC02", 0, 0, 0);
}
return;
}
if(animhandle==754)
{
if(frame==4)
{
projectile(1, "IoriC09", 50, 0, 0);
}
if(frame==5)
{
projectile(1, "IoriC09", 100, 0, 0);
}
if(frame==6)
{
projectile(1, "IoriC09", 150, 0, 0);
}
if(frame==7)
{
projectile(1, "IoriC09", 200, 0, 0);
}
if(frame==8)
{
projectile(1, "IoriC09", 250, 0, 0);
}
if(frame==9)
{
projectile(1, "IoriC09", 300, 0, 0);
}
return;
}
if(animhandle==755)
{
if(frame==1)
{
dasher(2);
}
if(frame==2)
{
dasher(2);
}
if(frame==3)
{
dasher(2);
}
if(frame==4)
{
dasher(2);
}
if(frame==5)
{
dasher(2);
}
if(frame==6)
{
dasher(2);
}
if(frame==7)
{
dasher(0);
}
return;
}
if(animhandle==756)
{
if(frame==6)
{
projectile(1, "IoriC07", 0, 13, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==793)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==794)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==795)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==796)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
changeentityproperty(self, "Subject_to_Platform", 1);
changeentityproperty(self, "antigravity", 0);
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==797)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==798)
{
if(frame==1)
{
projectile(1, "ks1", 0, 0, 0);
}
return;
}
if(animhandle==799)
{
if(frame==1)
{
projectile(1, "kP01", 0, 0, 0);
}
return;
}
if(animhandle==800)
{
if(frame==1)
{
projectile(1, "kP01", 0, 0, 0);
}
if(frame==5)
{
projectile(1, "kP03", 0, 0, 0);
}
return;
}
if(animhandle==801)
{
if(frame==2)
{
projectile(1, "Kp04", 0, 0, 0);
}
if(frame==2)
{
projectile(1, "Kp05", 0, 0, 0);
}
if(frame==7)
{
projectile(1, "Kp06", 0, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==834)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==835)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==836)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==837)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==838)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==840)
{
if(frame==6)
{
projectile(1, "BisonP02", -250, 0, 0);
}
if(frame==6)
{
projectile(1, "BisonP03", -250, 0, 0);
}
return;
}
if(animhandle==841)
{
if(frame==2)
{
dasher(2);
}
if(frame==3)
{
dasher(2);
}
if(frame==5)
{
dasher(2);
}
if(frame==6)
{
dasher(2);
}
if(frame==7)
{
dasher(2);
}
if(frame==9)
{
dasher(2);
}
if(frame==10)
{
dasher(2);
}
if(frame==11)
{
dasher(2);
}
if(frame==12)
{
dasher(2);
}
if(frame==13)
{
dasher(2);
}
if(frame==14)
{
dasher(2);
}
if(frame==15)
{
dasher(2);
}
if(frame==16)
{
dasher(1);
}
if(frame==17)
{
dasher(0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==872)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==873)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==874)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==875)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==876)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==877)
{
if(frame==2)
{
projectile(1, "MeiP01", 0, 0, 0);
}
return;
}
if(animhandle==879)
{
if(frame==3)
{
projectile(1, "MeiP04", 0, 0, 0);
}
return;
}
if(animhandle==880)
{
if(frame==1)
{
projectile(1, "MeiP02", 0, 0, 0);
}
return;
}
}
#### animationscript function main #####
# data/chars/QUANHUANG/ks18/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==885)
{
if(frame==5)
{
killentity(getlocalvar("self"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==5)
{
stairwalk(3);
}
if(frame==5)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==6)
{
stairwalk(3);
}
if(frame==6)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==6)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==7)
{
stairwalk(3);
}
if(frame==7)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==8)
{
stairwalk(3);
}
if(frame==8)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==8)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==8)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==9)
{
stairwalk(3);
}
if(frame==9)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==10)
{
stairwalk(3);
}
if(frame==10)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==10)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==10)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==11)
{
stairwalk(3);
}
if(frame==11)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==907)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==908)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==909)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==910)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==911)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==4)
{
stairwalk(3);
}
if(frame==4)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==4)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==5)
{
stairwalk(3);
}
if(frame==5)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==937)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==938)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==939)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==940)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==941)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==942)
{
if(frame==3)
{
projectile(1, "QYC2", 30, 0, 0);
}
if(frame==4)
{
projectile(1, "QYC2", 60, 0, 0);
}
if(frame==5)
{
projectile(1, "QYC2", 90, 0, 0);
}
if(frame==6)
{
projectile(1, "QYC2", 120, 0, 0);
}
if(frame==7)
{
projectile(1, "QYC2", 150, 0, 0);
}
if(frame==8)
{
projectile(1, "QYC2", 180, 0, 0);
}
if(frame==9)
{
projectile(1, "QYC2", 210, 0, 0);
}
if(frame==10)
{
projectile(1, "QYC2", 240, 0, 0);
}
if(frame==11)
{
projectile(1, "QYC2", 270, 0, 0);
}
return;
}
if(animhandle==943)
{
if(frame==3)
{
projectile(1, "QYC4", 30, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==965)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==966)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==967)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==968)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==969)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==994)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==995)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==996)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==997)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==998)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==1001)
{
if(frame==8)
{
projectile(1, "o5", 70, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==1024)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==1025)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==1026)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==1027)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1028)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==1032)
{
if(frame==2)
{
projectile(1, "zhaoyun2", 0, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
return;
}
if(animhandle==1057)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==1058)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==1059)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==1060)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1061)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
return;
}
if(animhandle==1087)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==1)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==1088)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==1089)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==1090)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1091)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
}
#### animationscript function main #####
# data/chars/QUANHUANG/YXW/2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1218)
{
if(frame==6)
{
projectile(1, "YXW3-", -20, 0, 0);
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
return;
}
if(animhandle==1267)
{
if(frame==0){
int iTime = openborvariant("elapsed_time");
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
changeentityproperty(self, "Subject_to_Platform", 1);
changeentityproperty(self, "antigravity", 0);
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1298)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
return;
}
if(animhandle==1308)
{
if(frame==0){
int iTime = openborvariant("elapsed_time");
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1339)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==1){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 999999); //Max MP bar
changeentityproperty(self, "health", 999999); //Max HP bar
}
return;
}
if(animhandle==1365)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
if(frame==1){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 999999); //Max MP bar
changeentityproperty(self, "health", 999999); //Max HP bar
}
return;
}
if(animhandle==1368)
{
if(frame==0){
int iTime = openborvariant("elapsed_time");
if(frame==2){
int iTime = openborvariant("elapsed_time");
if(frame==18){
changeentityproperty(self, "invincible", 1);
changeentityproperty(self, "invinctime", eTime + 200);
changeentityproperty(self, "blink", 1);
}
if(frame==0)
{
Join(1);
}
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "velocity", 0, 0.1, 0);
}
if(frame==6)
{
Join(0);
}
return;
}
if(animhandle==1387)
{
if(frame==18){
changeentityproperty(self, "invincible", 1);
changeentityproperty(self, "invinctime", eTime + 200);
changeentityproperty(self, "blink", 1);
}
if(frame==0)
{
Join(1);
}
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "velocity", 0, 0.1, 0);
}
if(frame==4)
{
Join(0);
}
return;
}
if(animhandle==1389)
{
if(frame==0)
{
degravity(-0.15);
}
if(frame==0)
{
hurt4(5);
}
if(frame==1)
{
anichange("ANI_FOLLOW2");
}
return;
}
if(animhandle==1392)
{
if(frame==0)
{
degravity(-0.15);
}
if(frame==0)
{
bind(0, 0, 0, 0, 0);
}
if(frame==0)
{
depost(0);
}
if(frame==0)
{
antiwall4(-1, "ANI_FOLLOW1");
}
if(frame==1)
{
antiwall4(-1, "ANI_FOLLOW1");
}
if(frame==2)
{
antiwall4(-1, "ANI_FOLLOW1");
}
if(frame==3)
{
antiwall4(-1, "ANI_FOLLOW1");
}
if(frame==4)
{
antiwall4(-1, "ANI_FOLLOW2");
}
return;
}
if(animhandle==1393)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==1394)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==1395)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==1396)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1397)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==1){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 999999); //Max MP bar
changeentityproperty(self, "health", 999999); //Max HP bar
}
return;
}
if(animhandle==1422)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
if(frame==1){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 999999); //Max MP bar
changeentityproperty(self, "health", 999999); //Max HP bar
}
return;
}
if(animhandle==1425)
{
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
return;
}
if(animhandle==1429)
{
if(frame==2)
{
anichange("ANI_FOLLOW3");
}
return;
}
if(animhandle==1434)
{
if(frame==0){
int iTime = openborvariant("elapsed_time");
if(frame==2){
int iTime = openborvariant("elapsed_time");
if(frame==18){
changeentityproperty(self, "invincible", 1);
changeentityproperty(self, "invinctime", eTime + 200);
changeentityproperty(self, "blink", 1);
}
if(frame==0)
{
Join(1);
}
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "velocity", 0.1, 0.1, 0);
}
if(frame==6)
{
Join(0);
}
return;
}
if(animhandle==1443)
{
if(frame==18){
changeentityproperty(self, "invincible", 1);
changeentityproperty(self, "invinctime", eTime + 200);
changeentityproperty(self, "blink", 1);
}
if(frame==0)
{
Join(1);
}
if(frame==0)
{
changeentityproperty(getlocalvar("self"), "velocity", 0.1, 0.1, 0);
}
if(frame==4)
{
Join(0);
}
return;
}
if(animhandle==1444)
{
if(frame==0)
{
degravity(-0.15);
}
if(frame==0)
{
hurt4(5);
}
if(frame==1)
{
anichange("ANI_FOLLOW2");
}
return;
}
if(animhandle==1446)
{
if(frame==0)
{
degravity(-0.15);
}
if(frame==0)
{
bind(0, 0, 0, 0, 0);
}
if(frame==0)
{
depost(0);
}
if(frame==0)
{
antiwall4(-1, "ANI_FOLLOW1");
}
if(frame==1)
{
antiwall4(-1, "ANI_FOLLOW1");
}
if(frame==2)
{
antiwall4(-1, "ANI_FOLLOW1");
}
if(frame==3)
{
antiwall4(-1, "ANI_FOLLOW1");
}
if(frame==4)
{
antiwall4(-1, "ANI_FOLLOW2");
}
return;
}
if(animhandle==1448)
{
if(frame==0)
{
dasher(0, 0, 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW13", 0, "U", 0);
}
if(frame==0)
{
keyint("ANI_FOLLOW14", 0, "D", 0);
}
return;
}
if(animhandle==1449)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==1)
{
dasher(0, 1, 0);
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==1)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==2)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
if(frame==3)
{
climbEnd("U", "ANI_FOLLOW15");
}
if(frame==3)
{
keyint("ANI_FOLLOW17", 0, "U", 1);
}
return;
}
if(animhandle==1450)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==0)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
dasher(0, -1, 0);
}
if(frame==2)
{
climbEnd("D", "ANI_FOLLOW15");
}
if(frame==2)
{
keyint("ANI_FOLLOW17", 0, "D", 1);
}
return;
}
if(animhandle==1451)
{
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1452)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==1){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 999999); //Max MP bar
changeentityproperty(self, "health", 999999); //Max HP bar
}
return;
}
if(animhandle==1455)
{
if(frame==1){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 999999); //Max MP bar
changeentityproperty(self, "health", 999999); //Max HP bar
}
return;
}
if(animhandle==1458)
{
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
if(frame==0)
{
stairwalk(3);
}
if(frame==0)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
stairwalk(3);
}
if(frame==1)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
stairwalk(3);
}
if(frame==2)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
stairwalk(3);
}
if(frame==3)
{
climber(8, 2, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
return;
}
if(animhandle==1472)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}
if(animhandle==1473)
{
if(frame==2)
{
anichange("ANI_FOLLOW3");
}
return;
}
if(animhandle==1476)
{
if(frame==0){
int iTime = openborvariant("elapsed_time");
if(frame==0){
int iTime = openborvariant("elapsed_time");
changeentityproperty(vSelf, "velocity", 0, 0 , 1); // This is to stop entity
from moving forward
changeentityproperty(vSelf, "tosstime", iTime + 50);
}
return;
}
if(animhandle==1482)
{
if(frame==0){
int iTime = openborvariant("elapsed_time");
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+10);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+50);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1491)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(frame==1){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 999999); //Max MP bar
changeentityproperty(self, "health", 999999); //Max HP bar
}
return;
}
if(animhandle==1494)
{
if(frame==1){
void self = getlocalvar("self");
changeentityproperty(self, "mp", 999999); //Max MP bar
changeentityproperty(self, "health", 999999); //Max HP bar
}
return;
}
if(animhandle==1510)
{
if(frame==2)
{
anichange("ANI_FOLLOW3");
}
return;
}
if(animhandle==1515)
{
if(frame==0)
{
antiwall4(20, "ANI_FREESPECIAL25");
}
return;
}
if(animhandle==1516)
{
if(frame==0){
int iTime = openborvariant("elapsed_time");
}
#### animationscript function main #####
# data/chars/1dra/npc_Army_knife.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1775)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}
if(frame==2){
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int LType = getentityvar(self, 2);
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+21);
} else {
changeentityproperty(self, "position", x+sx, z-4, y+21);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1831)
{
void self = getlocalvar("self");
if(frame==2){
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(frame==1){
void self = getlocalvar("self");
// int iPIndex = getentityproperty(self,"playerindex");
// int LType = getglobalvar(iPIndex+"ClimbT");
int LType = getentityvar(self, 6);
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+31);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+31);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1941)
{
if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}
if(animhandle==1952)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(frame==2){
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int LType = getentityvar(self, 2);
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+21);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+31);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1961)
{
if(frame==2){
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(P1){
changeentityproperty(P1, "colourmap", 0);
}
if(P2){
changeentityproperty(P2, "colourmap", 1);
}
return;
}
if(animhandle==1993)
{
if(P1){
changeentityproperty(P1, "colourmap", 0);
}
if(P2){
changeentityproperty(P2, "colourmap", 1);
}
return;
}
if(animhandle==1995)
{
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
return;
}
if(animhandle==1996)
{
if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 1);
}
if(frame==1){
changeentityproperty(self, "Subject_to_Platform", 1);
}
if(frame==2){
changeentityproperty(self, "Subject_to_Platform", 1);
changelevelproperty("scrollspeed", 1);
}
if(frame==3){
changeentityproperty(self, "Subject_to_Platform", 1);
}
return;
}
if(animhandle==1997)
{
if(frame==0)
{
nomoveidle2("ANI_FOLLOW1");
}
if(frame==0)
{
hurt5(0);
}
return;
}
if(animhandle==1998)
{
if(frame==0)
{
hurt6(0);
}
return;
}
if(animhandle==1999)
{
if(frame==0)
{
antiwall3(35, -31, 0);
}
if(frame==1)
{
shooter2("barel1", 10, 20, 1, 0.5, 1, 0);
}
return;
}
if(frame==2){
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int LType = getentityvar(self, 2);
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+21);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+31);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==2020)
{
if(frame==2){
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==2034)
{
if(frame==2){
float x = getentityproperty(self, "x");
float y = getentityproperty(self, "a");
float z = getentityproperty(self, "z");
int Dir = getentityproperty(self, "direction");
int LType = getentityvar(self, 2);
int sx = 5;
if(Dir == 0){
sx = -5;
}
if(LType == 2){
changeentityproperty(self, "position", x, z, y+21);
} else {
changeentityproperty(self, "position", x+sx, z-2.5, y+31);
}
setidle(self, openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==2060)
{
if(frame==2){
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==2074)
{
if(frame==1)
{
anichange("ANI_FOLLOW10");
}
return;
}
if(animhandle==2075)
{