0% found this document useful (0 votes)
4 views289 pages

Script Log

The document contains a script for character animations in a game, detailing various animation handles and corresponding actions based on the frame number. It includes functions for jumping, climbing, and performing attacks, as well as handling projectiles. The script is structured to manage character behaviors and animations dynamically during gameplay.

Uploaded by

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

Script Log

The document contains a script for character animations in a game, detailing various animation handles and corresponding actions based on the frame number. It includes functions for jumping, climbing, and performing attacks, as well as handling projectiles. The script is structured to manage character behaviors and animations dynamically during gameplay.

Uploaded by

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

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

# data/chars/DD1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==3)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(1);
}
if(frame==1)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(1);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(1);
}
if(frame==3)
{
climberD(10, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==4)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
if(frame==0)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==1)
{
stairwalk(1);
}
if(frame==1)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==3)
{
stairwalk(1);
}
if(frame==3)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
return;
}
if(animhandle==30)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==34)
{
if(frame==2)
{
anichange("ANI_FOLLOW1");
}
return;
}
if(animhandle==35)
{
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==36)
{
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==37)
{
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==38)
{

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+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;
}

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


# data\chars/QUANHUANG/L15/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==50)
{
if(frame==3)
{
projectile(1, "l15c", 0, 0, 0);
}
return;
}
if(animhandle==51)
{
if(frame==3)
{
projectile(1, "l15c", 0, 0, 0);
}
return;
}
if(animhandle==54)
{
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);
}
if(frame==21)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==57)
{
if(frame==2)
{
projectile(1, "l15c", 0, 0, 0);
}
return;
}
if(animhandle==62)
{
if(frame==3)
{
projectile(1, "l15c", 0, 0, 0);
}
return;
}
if(animhandle==65)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==67)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==6)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==7)
{
stairwalk(5);
}
if(frame==7)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==68)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data\chars/QUANHUANG/L4/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==105)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==109)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==110)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/L4/1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==121)
{
if(frame==0)
{
projectile(1, "L4a", 20, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/ks10/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==136)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==139)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==140)
{

void self = getlocalvar("self");

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;

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==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)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==173)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/ks6/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==194)
{
if(frame==7)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/QUANHUANG/ks6/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==195)
{
if(frame==22)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/QUANHUANG/ks14/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==208)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==212)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==213)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/ks14/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==233)
{
if(frame==3)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/QUANHUANG/mustapha/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==237)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
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==238)
{

void self = getlocalvar("self");

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)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==256)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==263)
{
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==264)
{
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==265)
{
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==266)
{

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==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;
}

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


# data/chars/QUANHUANG/mustapha/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==277)
{
if(frame==17)
{
projectile(1, "mustaphaP02", 0, 0, 0);
}
if(frame==19)
{
projectile(1, "mustaphaP02", 0, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/L19/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==287)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==298)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==301)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==302)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/n/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==330)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==333)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==334)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==335)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/n/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==351)
{
if(frame==12)
{
projectile(1, "n4", 5, 5, 0);
}
return;
}

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


# data/chars/QUANHUANG/n/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==354)
{
if(frame==12)
{
projectile(1, "n5", 5, 5, 0);
}
return;
}

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


# data/chars/QUANHUANG/n/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==356)
{
if(frame==12)
{
projectile(1, "n7", 5, 5, 0);
}
return;
}

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


# data/chars/QUANHUANG/n/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==358)
{
if(frame==12)
{
projectile(1, "n9", 5, 5, 0);
}
return;
}

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


# data/chars/QUANHUANG/n/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==359)
{
if(frame==0)
{
projectile(1, "n12", 0, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/n/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==361)
{
if(frame==18)
{
projectile(1, "n11", 0, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/l13/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==366)
{
if(frame==1)
{
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==369)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==377)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==381)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");
setlocalvar("PKnee" + self, 0);
setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==6)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==7)
{
stairwalk(5);
}
if(frame==7)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==8)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==9)
{
stairwalk(5);
}
if(frame==9)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==382)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/L17/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==394)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==400)
{
if(frame==0)
{
projectile(1, "L17g", 0, 0, 0);
}
return;
}
if(animhandle==403)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==405)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==6)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==406)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/L17/2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==425)
{
if(frame==0)
{
projectile(1, "L17e", 0, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/L8/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==446)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==450)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==451)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/L6/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==472)
{
if(frame==2)
{
projectile(1, "L6a", 20, 0, 0);
}
if(frame==4)
{
projectile(1, "L6a", 20, 0, 0);
}
if(frame==6)
{
projectile(1, "L6a", 20, 0, 0);
}
return;
}
if(animhandle==473)
{
if(frame==73)
{
projectile(1, "L6b", 30, 0, 0);
}
if(frame==75)
{
projectile(1, "L6c", 0, 0, 0);
}
if(frame==77)
{
projectile(1, "L6a", 20, 0, 0);
}
if(frame==79)
{
projectile(1, "L6a", 20, 0, 0);
}
if(frame==81)
{
projectile(1, "L6a", 20, 0, 0);
}
return;
}
if(animhandle==474)
{
if(frame==3)
{
projectile(1, "L6b", 30, 0, 0);
}
return;
}
if(animhandle==475)
{
if(frame==5)
{
projectile(1, "L6b", 0, 0, 0);
}
return;
}
if(animhandle==476)
{
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(0);
}
return;
}
if(animhandle==487)
{
if(frame==0)
{
projectile(1, "L6b", 0, 0, 0);
}
return;
}
if(animhandle==489)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==493)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==494)
{
void self = getlocalvar("self");

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;

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==499)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/QUANHUANG/Terry/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==524)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==528)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==529)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/ks4/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==555)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==559)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==560)
{

void self = getlocalvar("self");


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==561)
{
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==562)
{
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==563)
{
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==564)
{

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==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;
}

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


# data/chars/QUANHUANG/klk/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==591)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==600)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==604)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==6)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==7)
{
stairwalk(5);
}
if(frame==7)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==8)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==605)
{

void self = getlocalvar("self");

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;

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==610)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/QUANHUANG/L14/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==618)
{
if(frame==1)
{
projectile(1, "L14a", 0, 0, 0);
}
return;
}
if(animhandle==638)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==642)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==643)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/L14/2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==658)
{
if(frame==19)
{
projectile(1, "L14F", 40, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/YXW/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==662)
{
if(frame==10)
{
projectile(1, "YXW2", 30, 0, 0);
}
return;
}
if(animhandle==663)
{
if(frame==10)
{
projectile(1, "YXW3", 30, 0, 0);
}
return;
}
if(animhandle==664)
{
if(frame==10)
{
projectile(1, "YXW4", 30, 0, 0);
}
return;
}
if(animhandle==665)
{
if(frame==10)
{
projectile(1, "YXW5", 30, 0, 0);
}
return;
}
if(animhandle==676)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==680)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==6)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==681)
{

void self = getlocalvar("self");

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;

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==686)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/QUANHUANG/ks12/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==698)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==702)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==703)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/ks5/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==727)
{
if(frame==2)
{
projectile(1, "IoriC04", 0, 0, 0);
}
if(frame==5)
{
projectile(1, "IoriC03", 0, 0, 0);
}
return;
}
if(animhandle==741)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==745)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==746)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/ks/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==785)
{
if(frame==2)
{
projectile(1, "Kp04", 0, 0, 0);
}
return;
}
if(animhandle==787)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==791)
{
void self = getlocalvar("self");
int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==792)
{

void self = getlocalvar("self");

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;
}

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


# data/chars/QUANHUANG/ks2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==816)
{
if(frame==1)
{
dasher(5);
}
if(frame==2)
{
dasher(5);
}
if(frame==3)
{
dasher(5);
}
if(frame==4)
{
dasher(5);
}
if(frame==5)
{
dasher(2);
}
if(frame==6)
{
dasher(0);
}
return;
}
if(animhandle==828)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==832)
{
void self = getlocalvar("self");
int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==833)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/ks2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==842)
{
if(frame==297)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/QUANHUANG/ks18/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==855)
{
if(frame==1)
{
projectile(1, "MeiP03", 0, 0, 0);
}
return;
}
if(animhandle==864)
{
if(frame==2)
{
projectile(1, "MeiP01", 0, 0, 0);
}
return;
}
if(animhandle==866)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==870)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==871)
{

void self = getlocalvar("self");

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;

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==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==884)
{
if(frame==7)
{
killentity(getlocalvar("self"));
}
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;
}

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


# data/chars/QUANHUANG/ks18/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==886)
{
if(frame==19)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/QUANHUANG/ks18/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==887)
{
if(frame==8)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/QUANHUANG/lan/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==901)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==905)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==6)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==7)
{
stairwalk(5);
}
if(frame==7)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==8)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==9)
{
stairwalk(5);
}
if(frame==9)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==9)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==9)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==10)
{
stairwalk(5);
}
if(frame==10)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==11)
{
stairwalk(5);
}
if(frame==11)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==11)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 20, 10, 2, 1);
}
if(frame==11)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==906)
{

void self = getlocalvar("self");

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;

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==911)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/QYC/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==931)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==935)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==4)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==5)
{
stairwalk(5);
}
if(frame==5)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==936)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/L21/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==959)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==963)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==964)
{

void self = getlocalvar("self");

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;

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==969)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/QUANHUANG/o/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==978)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==988)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==992)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
return;
}
if(animhandle==993)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/QUANHUANG/o/3/3/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1006)
{
if(frame==4)
{
projectile(1, "o6", 0, 0, 0);
}
return;
}

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


# data/chars/zhaoyun/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1019)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==1022)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");
setlocalvar("PKnee" + self, 0);
setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1023)
{

void self = getlocalvar("self");

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;

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==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;
}

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


# data/chars/mboss05/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1041)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==1052)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==1055)
{
void self = getlocalvar("self");
int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1056)
{

void self = getlocalvar("self");

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;

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==1061)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/mboss05/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1071)
{
if(frame==12)
{
projectile(1, "m05ab", 30, 0, 0);
}
return;
}
if(animhandle==1082)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==1085)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(1, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1086)
{

void self = getlocalvar("self");

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;

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==1091)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/kdxf/e3/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1116)
{
if(frame==3)
{
projectile(1, "e3_��", 0, 0, 0);
}
return;
}
if(animhandle==1117)
{
if(frame==0)
{
dasher(4);
}
if(frame==1)
{
dasher(3);
}
if(frame==2)
{
dasher(2);
}
if(frame==3)
{
dasher(1);
}
if(frame==4)
{
dasher(0);
}
return;
}

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


# data/chars/kdxf/e6/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1141)
{
if(frame==0)
{
dasher(1);
}
if(frame==1)
{
dasher(2);
}
if(frame==2)
{
dasher(3);
}
if(frame==3)
{
dasher(2);
}
if(frame==4)
{
dasher(1);
}
if(frame==5)
{
dasher(0);
}
return;
}
}

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


# data/chars/kdxf/boss2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1163)
{
if(frame==0)
{
dasher(3);
}
if(frame==1)
{
dasher(5);
}
if(frame==2)
{
dasher(2);
}
if(frame==3)
{
dasher(1);
}
if(frame==4)
{
dasher(0);
}
return;
}

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


# data/chars/kdxf/boss3/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1175)
{
if(frame==0)
{
dasher(1);
}
if(frame==1)
{
dasher(2);
}
if(frame==2)
{
dasher(3);
}
if(frame==3)
{
dasher(1);
}
if(frame==4)
{
dasher(0);
}
return;
}

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


# data/chars/kdxf/boss4/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1190)
{
if(frame==1)
{
projectile(1, "boss4_�‫�ڵ‬ȭ", 0, 0, 0);
}
return;
}
if(animhandle==1191)
{
if(frame==0)
{
projectile(1, "boss4_��ǹ", 30, 0, -17);
}
return;
}
if(animhandle==1207)
{
if(frame==2)
{
projectile(1, "boss4_����", 8, 0, 12);
}
return;
}

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


# data/chars/QYC/1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1212)
{
if(frame==3)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/QYC/1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1214)
{
if(frame==130)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/QUANHUANG/YXW/2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1215)
{
if(frame==6)
{
projectile(1, "YXW2-", -20, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/YXW/1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1216)
{
if(frame==2)
{
projectile(1, "YXW2--", 0, 0, 0);
}
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;
}

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


# data/chars/QUANHUANG/YXW/1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1219)
{
if(frame==2)
{
projectile(1, "YXW3--", 0, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/YXW/2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1222)
{
if(frame==6)
{
projectile(1, "YXW4-", -20, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/YXW/1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1223)
{
if(frame==3)
{
projectile(1, "YXW4--", 0, 0, 0);
}
if(frame==5)
{
projectile(1, "YXW4--", 50, 0, 0);
}
if(frame==7)
{
projectile(1, "YXW4--", 100, 0, 0);
}
if(frame==9)
{
projectile(1, "YXW4--", 150, 0, 0);
}
if(frame==11)
{
projectile(1, "YXW4--", 200, 0, 0);
}
if(frame==13)
{
projectile(1, "YXW4--", 250, 0, 0);
}
if(frame==15)
{
projectile(1, "YXW4--", 300, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/YXW/2/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1225)
{
if(frame==6)
{
projectile(1, "YXW5-", -20, 0, 0);
}
return;
}

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


# data/chars/QUANHUANG/YXW/1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1226)
{
if(frame==0)
{
projectile(1, "YXW5---", -20, -20, 0);
}
if(frame==2)
{
projectile(1, "YXW5---", 80, -20, 0);
}
if(frame==4)
{
projectile(1, "YXW5---", -20, 20, 0);
}
if(frame==6)
{
projectile(1, "YXW5---", 80, 20, 0);
}
if(frame==8)
{
projectile(1, "YXW5---", -20, -20, 0);
}
if(frame==10)
{
projectile(1, "YXW5---", 80, -20, 0);
}
if(frame==12)
{
projectile(1, "YXW5---", -20, 20, 0);
}
if(frame==14)
{
projectile(1, "YXW5---", 80, 20, 0);
}
if(frame==16)
{
projectile(1, "YXW5---", -20, -20, 0);
}
if(frame==16)
{
projectile(1, "YXW5---", 80, -20, 0);
}
if(frame==16)
{
projectile(1, "YXW5---", -20, 20, 0);
}
if(frame==16)
{
projectile(1, "YXW5---", 80, 20, 0);
}
if(frame==18)
{
projectile(1, "YXW5---", -20, -20, 0);
}
if(frame==18)
{
projectile(1, "YXW5---", 80, -20, 0);
}
if(frame==18)
{
projectile(1, "YXW5---", -20, 20, 0);
}
if(frame==18)
{
projectile(1, "YXW5---", 80, 20, 0);
}
if(frame==20)
{
projectile(1, "YXW5---", -20, -20, 0);
}
if(frame==20)
{
projectile(1, "YXW5---", 80, -20, 0);
}
if(frame==20)
{
projectile(1, "YXW5---", -20, 20, 0);
}
if(frame==20)
{
projectile(1, "YXW5---", 80, 20, 0);
}
if(frame==22)
{
projectile(1, "YXW5---", -20, -20, 0);
}
if(frame==22)
{
projectile(1, "YXW5---", 80, -20, 0);
}
if(frame==22)
{
projectile(1, "YXW5---", -20, 20, 0);
}
if(frame==22)
{
projectile(1, "YXW5---", 80, 20, 0);
}
if(frame==25)
{
projectile(1, "YXW5--", 0, 0, 0);
}
if(frame==27)
{
projectile(1, "YXW5--", 20, 0, 0);
}
if(frame==29)
{
projectile(1, "YXW5--", 40, 0, 0);
}
if(frame==31)
{
projectile(1, "YXW5--", 60, 0, 0);
}
if(frame==33)
{
projectile(1, "YXW5--", 80, 0, 0);
}
if(frame==35)
{
projectile(1, "YXW5--", 100, 0, 0);
}
if(frame==37)
{
projectile(1, "YXW5--", 120, 0, 0);
}
if(frame==39)
{
projectile(1, "YXW5--", 140, 0, 0);
}
if(frame==41)
{
projectile(1, "YXW5----", 160, 0, 0);
}
if(frame==43)
{
projectile(1, "YXW5----", 160, 0, 0);
}
if(frame==45)
{
projectile(1, "YXW5----", 160, 0, 0);
}
if(frame==47)
{
projectile(1, "YXW5----", 160, 0, 0);
}
return;
}

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


# data/chars/DD1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1235)
{
if(frame==0)
{
changeopenborvariant("slowmotion", 0.9);
}
return;
}
if(animhandle==1255)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
}

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


# data/chars/1dragon/DDII_Jimmy.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1261)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==1262)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1263)
{

void self = getlocalvar("self");

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)
{

void vSelf = getlocalvar("self");

if(frame==0){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 1);


changeentityproperty(vSelf, "tosstime", iTime + 230);
}
return;
}
if(animhandle==1286)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==1294)
{
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==1295)
{
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==1296)
{
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==1297)
{

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;
}

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


# data/chars/1dragon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1302)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==1303)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
if(frame==1)
{
climberD(1, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
if(frame==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1304)
{

void self = getlocalvar("self");

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)
{

void vSelf = getlocalvar("self");

if(frame==0){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 1);


changeentityproperty(vSelf, "tosstime", iTime + 230);
}
return;
}
if(animhandle==1327)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}
if(animhandle==1335)
{
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==1336)
{
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==1337)
{
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==1338)
{

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==1339)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/1dra/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1356)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}
if(animhandle==1362)
{

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)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
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==1)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
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==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1369)
{

void self = getlocalvar("self");


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==1372)
{
if(frame==5)
{
anichange("ANI_FOLLOW3");
}
return;
}
if(animhandle==1373)
{
if(frame==2)
{
anichange("ANI_FOLLOW3");
}
return;
}
if(animhandle==1378)
{

void vSelf = getlocalvar("self");

if(frame==0){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 0); // This is to stop entity


from moving forward
changeentityproperty(vSelf, "tosstime", iTime + 200);
}
if(frame==0)
{
setglobalvar("zoomentity", getlocalvar("self"));
}
if(frame==0)
{
setglobalvar("zoomvalue", 384);
}
if(frame==0)
{
setglobalvar("zoomx", 0);
}
if(frame==0)
{
setglobalvar("zoomy", -50);
}
if(frame==1)
{
setglobalvar("zoomvalue", 512);
}
if(frame==10)
{
setglobalvar("zoomentity", NULL());
}
return;
}
if(animhandle==1379)
{

void vSelf = getlocalvar("self");

if(frame==2){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 0); // This is to stop entity


from moving forward
changeentityproperty(vSelf, "tosstime", iTime + 200);
}
if(frame==8)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==9)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==10)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==11)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==12)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
return;
}
if(animhandle==1384)
{
if(frame==0)
{
antiwall4(20, "ANI_FREESPECIAL25");
}
return;
}
if(animhandle==1385)
{
if(frame==0)
{
antiwall4(20, "ANI_FREESPECIAL25");
}
return;
}
if(animhandle==1386)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
void P2 = getplayerproperty(1, "entity");
int eTime = 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)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
void P2 = getplayerproperty(1, "entity");
int eTime = 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==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;

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==1397)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/1dra/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1413)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}
if(animhandle==1419)
{

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)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
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==1)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
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==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1426)
{

void self = getlocalvar("self");

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)
{

void vSelf = getlocalvar("self");

if(frame==0){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 0); // This is to stop entity


from moving forward
changeentityproperty(vSelf, "tosstime", iTime + 200);
}
return;
}
if(animhandle==1435)
{

void vSelf = getlocalvar("self");

if(frame==2){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 0); // This is to stop entity


from moving forward
changeentityproperty(vSelf, "tosstime", iTime + 200);
}
if(frame==8)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==9)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==10)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==11)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==12)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
return;
}
if(animhandle==1440)
{
if(frame==0)
{
antiwall4(20, "ANI_FREESPECIAL25");
}
return;
}
if(animhandle==1441)
{
if(frame==0)
{
antiwall4(20, "ANI_FREESPECIAL25");
}
return;
}
if(animhandle==1442)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
void P2 = getplayerproperty(1, "entity");
int eTime = 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)
{

void self = getlocalvar("self");


void P1 = getplayerproperty(0, "entity");
void P2 = getplayerproperty(1, "entity");
int eTime = 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==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;

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==1452)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/chin/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1454)
{
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==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)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(5);
}
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==1)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(5);
}
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)
{
climberD(5, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(5);
}
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==3)
{
climberD(5, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1459)
{

void self = getlocalvar("self");

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)
{

void vSelf = getlocalvar("self");

if(frame==0){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 0); // This is to stop entity


from moving forward
changeentityproperty(vSelf, "tosstime", iTime + 190);
}
if(frame==8)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==9)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==10)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==11)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==12)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
return;
}
if(animhandle==1480)
{
if(frame==0)
{
antiwall4(20, "ANI_FREESPECIAL25");
}
return;
}
if(animhandle==1481)
{

void vSelf = getlocalvar("self");

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)
{

void vSelf = getlocalvar("self");

if(frame==0){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 0); // This is to stop entity


from moving forward
changeentityproperty(vSelf, "tosstime", iTime + 0);
}
return;
}
if(animhandle==1483)
{
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_FOLLOW1");
}
return;
}
if(animhandle==1484)
{
if(frame==0)
{
degravity(-0.15);
}
if(frame==0)
{
hurt4(5);
}
if(frame==1)
{
anichange("ANI_FOLLOW2");
}
return;
}
if(animhandle==1487)
{
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==1488)
{
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==1489)
{
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==1490)
{

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==1491)
{

if(frame==1){
void self = getlocalvar("self");
performattack(self, openborconstant("ANI_FOLLOW17"));
}
return;
}

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


# data/chars/ranzou/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1493)
{
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==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)
{

void vSelf = getlocalvar("self");

if(frame==0){
int iTime = openborvariant("elapsed_time");

changeentityproperty(vSelf, "velocity", 0, 0 , 0); // This is to stop entity


from moving forward
changeentityproperty(vSelf, "tosstime", iTime + 190);
}
if(frame==8)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==9)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==10)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==11)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
if(frame==12)
{
knife(75, 20, 0, 90, "ANI_FOLLOW2");
}
return;
}
if(animhandle==1519)
{
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_FOLLOW1");
}
return;
}
if(animhandle==1520)
{
if(frame==0)
{
degravity(-0.15);
}
if(frame==0)
{
hurt4(5);
}
if(frame==1)
{
anichange("ANI_FOLLOW2");
}
return;
}

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


# data/chars/1dragon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1622)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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(1);
}
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(1);
}
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(1);
}
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==1623)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 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==1627)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dragon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1629)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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(1);
}
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(1);
}
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(1);
}
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==1630)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 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==1634)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dragon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1639)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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(1);
}
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(1);
}
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(1);
}
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==1640)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 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==1644)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dragon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1646)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
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(1);
}
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(1);
}
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(1);
}
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==1647)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 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==1651)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/roper/weapons/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1652)
{
if(frame==12)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/roper/weapons/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1654)
{
if(frame==0)
{
degravity(-0.10);
}
if(frame==5)
{
degravity(-0.20);
}
return;
}
if(animhandle==1655)
{
if(frame==0)
{
degravity(-0.30);
}
if(frame==0)
{
antiwall4(0, -25);
}
if(frame==7)
{
changeentityproperty(getlocalvar("self"), "animation",
openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==1656)
{
if(frame==0)
{
move(25, 0, 40);
}
if(frame==0)
{
antiwall4(0, -25);
}
if(frame==0)
{
degravity(0.30);
}
if(frame==1)
{
antiwall6(10, "ANI_FOLLOW2");
}
if(frame==1)
{
antiwall6(0, "ANI_FOLLOW2");
}
if(frame==2)
{
antiwall6(10, "ANI_FOLLOW2");
}
if(frame==2)
{
antiwall6(0, "ANI_FOLLOW2");
}
if(frame==3)
{
antiwall6(10, "ANI_FOLLOW2");
}
if(frame==3)
{
antiwall6(0, "ANI_FOLLOW2");
}
if(frame==4)
{
antiwall6(10, "ANI_FOLLOW2");
}
if(frame==4)
{
antiwall6(0, "ANI_FOLLOW2");
}
if(frame==5)
{
antiwall6(10, "ANI_FOLLOW2");
}
if(frame==5)
{
antiwall6(0, "ANI_FOLLOW2");
}
if(frame==6)
{
antiwall6(10, "ANI_FOLLOW2");
}
if(frame==6)
{
antiwall6(0, "ANI_FOLLOW2");
}
if(frame==7)
{
antiwall4(10, -10);
}
if(frame==7)
{
antiwall4(0, -10);
}
if(frame==8)
{
antiwall4(10, -10);
}
if(frame==8)
{
antiwall4(0, -10);
}
if(frame==9)
{
antiwall4(10, -10);
}
if(frame==9)
{
antiwall4(0, -10);
}
if(frame==10)
{
antiwall4(10, -10);
}
if(frame==10)
{
antiwall4(0, -10);
}
if(frame==11)
{
antiwall4(10, -10);
}
if(frame==11)
{
antiwall4(0, -10);
}
if(frame==12)
{
antiwall4(10, -10);
}
if(frame==12)
{
antiwall4(0, -10);
}
if(frame==13)
{
antiwall4(10, -10);
}
if(frame==13)
{
antiwall4(0, -10);
}
if(frame==14)
{
antiwall4(10, -10);
}
if(frame==14)
{
antiwall4(0, -10);
}
if(frame==15)
{
antiwall4(10, -10);
}
if(frame==15)
{
antiwall4(0, -10);
}
if(frame==16)
{
antiwall4(10, -10);
}
if(frame==16)
{
antiwall4(0, -10);
}
return;
}
if(animhandle==1657)
{
if(frame==13)
{
changeentityproperty(getlocalvar("self"), "animation",
openborconstant("ANI_IDLE"));
}
return;
}

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


# data/chars/1dragon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1660)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==1664)
{
if(frame==1)
{
antiwall3(35, -16, 0);
}
if(frame==2)
{
shooter2("dynam", 15, 45, 0, 2.5, 1, 0);
}
return;
}
if(animhandle==1672)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}

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


# data/chars/1dragon/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1677)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}
if(animhandle==1681)
{
if(frame==1)
{
antiwall3(35, -16, 0);
}
if(frame==2)
{
shooter2("dynam", 15, 45, 0, 2.5, 1, 0);
}
return;
}
if(animhandle==1689)
{
if(frame==0)
{
setglobalvar("last_player_spawned", getlocalvar("self"));
}
return;
}

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


# data/chars/1dra/Billy_Army_knife.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1731)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dra/Billy_Bottle.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1743)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dra/Jimmy_Army_knife.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1755)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dra/Jimmy_Bottle.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1767)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

}
#### 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;
}

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


# data/chars/1dra/npc_Bottle.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1783)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dra/npc_sai.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1792)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dra/Billy_sai.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1812)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/1dra/Jimmy_sai.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1824)
{
if(frame==0)
{
anichange("ANI_attack1");
}
return;
}

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


# data/chars/DDII_linda/DDII_linda2.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1825)
{

void self = getlocalvar("self");

setlocalvar("Pain" + self, 0);


setentityvar(self, 5, NULL());
return;
}
if(animhandle==1826)
{

void self = getlocalvar("self");

setlocalvar("Pain" + self, 0);


setentityvar(self, 5, NULL());
if(frame==0)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==0)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==1)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==1)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==2)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==2)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==3)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==3)
{
climberD(20, 20, "ANI_FOLLOW4");
}
return;
}
if(animhandle==1827)
{

void self = getlocalvar("self");

setlocalvar("Pain" + self, 0);


setentityvar(self, 5, NULL());
if(frame==0)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==1)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==2)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==3)
{
climber(20, 10, "ANI_FOLLOW1");
}
return;
}
if(animhandle==1828)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW3");
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW3");
}
return;
}
if(animhandle==1829)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW3");
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW3");
}
return;
}
if(animhandle==1830)
{

void self = getlocalvar("self");

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;

changeentityproperty(self, "Subject_to_Platform", 1);


changeentityproperty(self, "antigravity", 0);

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;
}

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


# data/chars/China/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1868)
{
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_FOLLOW1");
}
return;
}
if(animhandle==1869)
{
if(frame==0)
{
degravity(-0.15);
}
if(frame==0)
{
hurt4(5);
}
if(frame==1)
{
anichange("ANI_FOLLOW2");
}
return;
}

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


# data/chars/Roper/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1898)
{
if(frame==1)
{
shooter2("dynam", 15, 45, 0, 2.5, 1, 0);
}
return;
}

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


# data/chars/dd1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1935)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
if(frame==0)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==1)
{
stairwalk(1);
}
if(frame==1)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==3)
{
stairwalk(1);
}
if(frame==3)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
return;
}
if(animhandle==1936)
{
void self = getlocalvar("self");
int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(1);
}
if(frame==1)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(1);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(1);
}
if(frame==3)
{
climberD(10, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1937)
{
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==1938)
{
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==1939)
{
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==1940)
{

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+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;
}

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


# data/chars/will/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1956)
{

void self = getlocalvar("self");

setlocalvar("Pain" + self, 0);


setentityvar(self, 5, NULL());
if(frame==0)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==0)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==1)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==1)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==2)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==2)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==3)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==3)
{
climberD(20, 20, "ANI_FOLLOW4");
}
return;
}
if(animhandle==1957)
{

void self = getlocalvar("self");

setlocalvar("Pain" + self, 0);


setentityvar(self, 5, NULL());
if(frame==0)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==1)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==2)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==3)
{
climber(20, 10, "ANI_FOLLOW1");
}
return;
}
if(animhandle==1958)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW3");
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW3");
}
return;
}
if(animhandle==1959)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW3");
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW3");
}
return;
}
if(animhandle==1960)
{

void self = getlocalvar("self");

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;

changeentityproperty(self, "Subject_to_Platform", 1);


changeentityproperty(self, "antigravity", 0);

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)
{

void self = getlocalvar("self");

if(frame==2){
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}

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


# data/chars/dd1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1964)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
if(frame==0)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==1)
{
stairwalk(1);
}
if(frame==1)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==1)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==1)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==3)
{
stairwalk(1);
}
if(frame==3)
{
climber(10, 10, "ANI_FOLLOW17");
}
if(frame==3)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==3)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
return;
}
if(animhandle==1965)
{

void self = getlocalvar("self");


int y = getentityproperty(self, "a");
int b = getentityproperty(self, "base");

setlocalvar("PKnee" + self, 0);


setlocalvar("Target" + self, NULL());
if(y > b + 25){
changeentityproperty(self, "animation", openborconstant("ANI_JUMP"));
changeentityproperty(self, "aiflag", "jumping", 1);
changeentityproperty(self, "takeaction", "common_jump");
updateframe(self, 1);
}
if(frame==0)
{
stairwalk(1);
}
if(frame==0)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==0)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==1)
{
stairwalk(1);
}
if(frame==1)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==2)
{
stairwalk(1);
}
if(frame==2)
{
finisher("ANI_PAIN3", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
finisher("ANI_PAIN13", "ANI_FOLLOW8", 0, 1, 1, 1, 1);
}
if(frame==2)
{
climberD(10, 10, "ANI_FOLLOW16");
}
if(frame==3)
{
stairwalk(1);
}
if(frame==3)
{
climberD(10, 10, "ANI_FOLLOW16");
}
return;
}
if(animhandle==1976)
{
if(frame==1)
{
anichange("ANI_idle");
}
return;
}

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


# data/chars/dd1/barel/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1979)
{
if(frame==0)
{
move(5, 0, 50);
}
if(frame==0)
{
antiwall4(0, -5);
}
if(frame==8)
{
changeentityproperty(getlocalvar("self"), "animation",
openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==1981)
{
if(frame==3)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/dd1/barel/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1982)
{
if(frame==8)
{
changeentityproperty(getlocalvar("self"), "animation",
openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==1983)
{
if(frame==6)
{
changeentityproperty(getlocalvar("self"), "animation",
openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==1984)
{
if(frame==25)
{
killentity(getlocalvar("self"));
}
return;
}
if(animhandle==1985)
{
if(frame==3)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/dd1/barel/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1986)
{

void self = getlocalvar("self");


int x = getentityproperty(self, "x");
int y = getentityproperty(self, "a");
int z = getentityproperty(self, "z");
int b = getentityproperty(self, "base");

if(y >= 2+b){


changeentityproperty(self, "subject_to_gravity", 1);
}
if(frame==2)
{
leaper(1.3, 0, 0);
}
if(frame==3)
{
leaper(1, 0, 0);
}
if(frame==4)
{
leaper(0.7, 0, 0);
}
if(frame==8)
{
leaper(0.5, 0, 0);
}
if(frame==9)
{
leaper(0.3, 0, 0);
}
if(frame==11)
{
killentity(getlocalvar("self"));
}
return;
}
if(animhandle==1987)
{
if(frame==3)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/dd1/barel/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1988)
{
if(frame==8)
{
changeentityproperty(getlocalvar("self"), "animation",
openborconstant("ANI_FOLLOW1"));
}
return;
}
if(animhandle==1989)
{
if(frame==6)
{
changeentityproperty(getlocalvar("self"), "animation",
openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==1990)
{
if(frame==25)
{
killentity(getlocalvar("self"));
}
return;
}
if(animhandle==1991)
{
if(frame==3)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/dd1/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==1992)
{
void self = getlocalvar("self");
void P1 = getplayerproperty(0, "entity");
void P2 = getplayerproperty(1, "entity");

if(P1){
changeentityproperty(P1, "colourmap", 0);
}
if(P2){
changeentityproperty(P2, "colourmap", 1);
}
return;
}
if(animhandle==1993)
{

void self = getlocalvar("self");


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

if(P1){
changeentityproperty(P1, "colourmap", 0);
}
if(P2){
changeentityproperty(P2, "colourmap", 1);
}
return;
}
if(animhandle==1995)
{

void self = getlocalvar("self");

if(frame==0){
changeentityproperty(self, "Subject_to_Platform", 0);
}
if(frame==2){
changelevelproperty("scrollspeed", 1);
}
return;
}
if(animhandle==1996)
{

void self = getlocalvar("self");

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;
}

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


# data/chars/DD1_Roper/dd1_roperbarel.txt
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2005)
{
if(frame==0)
{
antiwall3(35, -31, 0);
}
if(frame==1)
{
shooter2("barel1", 10, 20, 1, 0.5, 1, 0);
}
return;
}

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


# data/chars/roper/weapons/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2008)
{
if(frame==0)
{
degravity(-0.30);
}
if(frame==0)
{
antiwall4(0, -25);
}
if(frame==1)
{
antiwall4(0, -25);
}
if(frame==9)
{
changeentityproperty(getlocalvar("self"), "animation",
openborconstant("ANI_IDLE"));
}
return;
}
if(animhandle==2009)
{
if(frame==0)
{
antiwall4(0, -25);
}
if(frame==0)
{
degravity(0.30);
}
return;
}
if(animhandle==2011)
{
if(frame==3)
{
killentity(getlocalvar("self"));
}
return;
}

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


# data/chars/will/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2015)
{
void self = getlocalvar("self");

setlocalvar("Pain" + self, 0);


setentityvar(self, 5, NULL());
if(frame==0)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==0)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==1)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==1)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==2)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==2)
{
climberD(20, 20, "ANI_FOLLOW4");
}
if(frame==3)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==3)
{
climberD(20, 20, "ANI_FOLLOW4");
}
return;
}
if(animhandle==2016)
{

void self = getlocalvar("self");

setlocalvar("Pain" + self, 0);


setentityvar(self, 5, NULL());
if(frame==0)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==1)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==2)
{
climber(20, 10, "ANI_FOLLOW1");
}
if(frame==3)
{
climber(20, 10, "ANI_FOLLOW1");
}
return;
}
if(animhandle==2017)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW3");
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW3");
}
return;
}
if(animhandle==2018)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW3");
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW3");
}
return;
}
if(animhandle==2019)
{

void self = getlocalvar("self");

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;

changeentityproperty(self, "Subject_to_Platform", 1);


changeentityproperty(self, "antigravity", 0);

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)
{

void self = getlocalvar("self");

if(frame==2){
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==2034)
{

void self = getlocalvar("self");

changeentityproperty(self, "velocity", 0, 0, 0);


if(frame==1)
{
degravity(0);
}
return;
}
if(animhandle==2040)
{
if(frame==3)
{
anichange("ANI_FOLLOW10");
}
return;
}
if(animhandle==2041)
{
if(frame==1)
{
anichange("ANI_FOLLOW10");
}
return;
}

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


# data/chars/misc/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2049)
{
if(frame==1)
{
suicide();
}
return;
}

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


# data/chars/linda/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2055)
{

void self = getlocalvar("self");

setlocalvar("Pain" + self, 0);


setentityvar(self, 5, NULL());
if(frame==0)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==0)
{
climberD(20, 3, "ANI_FOLLOW4");
}
if(frame==1)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==1)
{
climberD(20, 3, "ANI_FOLLOW4");
}
if(frame==2)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==2)
{
climberD(20, 3, "ANI_FOLLOW4");
}
if(frame==3)
{
walljump(5, 6, "ANI_FOLLOW13");
}
if(frame==3)
{
climberD(20, 3, "ANI_FOLLOW4");
}
return;
}
if(animhandle==2056)
{

void self = getlocalvar("self");


setlocalvar("Pain" + self, 0);
setentityvar(self, 5, NULL());
if(frame==0)
{
climber(20, 3, "ANI_FOLLOW1");
}
if(frame==1)
{
climber(20, 3, "ANI_FOLLOW1");
}
if(frame==2)
{
climber(20, 3, "ANI_FOLLOW1");
}
if(frame==3)
{
climber(20, 3, "ANI_FOLLOW1");
}
return;
}
if(animhandle==2057)
{
if(frame==0)
{
dasher(0, 1, 0);
}
if(frame==0)
{
climbEnd("U", "ANI_FOLLOW3");
}
if(frame==1)
{
climbEnd("U", "ANI_FOLLOW3");
}
return;
}
if(animhandle==2058)
{
if(frame==0)
{
dasher(0, -1, 0);
}
if(frame==0)
{
climbEnd("D", "ANI_FOLLOW3");
}
if(frame==1)
{
climbEnd("D", "ANI_FOLLOW3");
}
return;
}
if(animhandle==2059)
{

void self = getlocalvar("self");

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;

changeentityproperty(self, "Subject_to_Platform", 1);


changeentityproperty(self, "antigravity", 0);

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)
{

void self = getlocalvar("self");

if(frame==2){
performattack(self, openborconstant("ANI_FOLLOW2"));
}
return;
}
if(animhandle==2074)
{
if(frame==1)
{
anichange("ANI_FOLLOW10");
}
return;
}
if(animhandle==2075)
{

void self = getlocalvar("self");

changeentityproperty(self, "velocity", 0, 0, 0);


if(frame==1)
{
degravity(0);
}
return;
}

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


# data\chars/linda/Whip/[Link]
########################################
void main()
{
int frame = getlocalvar("frame");
int animhandle = getlocalvar("animhandle");
if(animhandle==2088)
{
if(frame==0)
{
move(25, 0, 20);
}
if(frame==0)
{
antiwall4(0, -25);
}
return;
}
if(animhandle==2089)
{
if(frame==4)
{
killentity(getlocalvar("self"));
}
return;
}

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


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

void self = getlocalvar("self");

changeentityproperty(self, "velocity", 0, 0, 0);


if(frame==1)
{
degravity(0);
}
return;
}

You might also like