string Name	= "Ôø±ò";
int Model = 100;
int Weapon = 16;
int Weapon2 =34;
int Team = 1;
int View = 10000;
int Think = 10000;
int	Attack1	= 30;
int Attack2 = 34;
int Attack3 = 34;
int	Guard =	20;
int	Dodge =	0;
int Jump = 5;
int Look = 1;
int Burst = 30;
int Aim = 100;
int GetItem = 1;
int Spawn = 7;
int HP = 20000;	 

int g_selfAddr;
int g_self;
int HPlast=300;
int Stat=0;
int realHP=0;
int timer=0;

OnInit(int this)
{
	g_selfAddr = this;
}

OnStart()
{
	g_self = GetSelf(g_selfAddr);
	ChangeBehavior(g_self, "wait");
}
OnUpdate()
{

if(Stat==0)
{
Stat++;return 0;
}

if(Stat==1)
{Stat++;realHP=GetHP(g_self);HPlast=realHP;return 0;}

if(timer%60==0)
{
Perform(g_self,"use",3);Perform(g_self,"use",4);Perform(g_self,"use",5);Perform(g_self,"use",8);Perform(g_self,"use",19);Perform(g_self,"use",40);Perform(g_self,"use",41);Perform(g_self,"use",33);timer=0;
}

timer++;
int HPnow=GetHP(g_self);

if(HPnow==realHP&&HPlast<realHP)
{
HPlast=realHP;
}


}