SPRITE_HEAD		= 0;
SPRITE_BODY00	= 1;
SPRITE_BODY01	= 2;
SPRITE_BODY02	= 3;
SPRITE_MOUTH00	= 4;
SPRITE_MOUTH01	= 5;

SOUND_DAMAGE	= 0;
SOUND_TOBIDASU	= 1;
SOUND_HORU		= 2;
SOUND_BITE		= 3;
SOUND_CLASH		= 4;
SOUND_DRAIN		= 5;

PARTS_HEAD      = 0;
PARTS_MOUTH00   = 1;
PARTS_MOUTH01   = 2;
PARTS_BODY00    = 3;
PARTS_BODY01    = 4;
PARTS_BODY02    = 5;
PARTS_BODY03    = 6;
PARTS_BODY04    = 7;
PARTS_BODY05    = 8;
PARTS_BODY06    = 9;
PARTS_BODY07    =10;
PARTS_BODY08    =11;
PARTS_BODY09    =12;
PARTS_BODY10    =13;
PARTS_BODY11    =14;
PARTS_BODY12    =15;

STAND			= 0;
WALK			= 1;
TACKLE			= 2;
TURN			= 3;
OUT				= 4;
INTO			= 5;
INTOMOVE		= 6;
BITE_HORIZON	= 7;
BITE_VERTICAL	= 8;
BITE_VERTICAL2	= 9;
CATCH_HORIZON	= 10;
CATCH_VERTICAL	= 11;
CATCH_VERTICAL2	= 12;
DEAD_MOTION		= 13;
BIND_CATCH_HORIZON	= 0;
BIND_CATCH_VERTICAL	= 1;
BIND_CATCH_VERTICAL2= 2;
/*----------------------------------------*/

/* K{Xe[^X */
HP = 2000;

MotionNumber		= 20;
KeyFrameNumber		= 25;
PartsNumber			= 16;
BindNumber			= 3;
BindKeyFrameNumber	= 1;

ProcessNum[PARTS_HEAD   ] = 0; DrawNum[PARTS_HEAD   ] =15; ParentParts[PARTS_HEAD   ] =           -1; SpriteParts[PARTS_HEAD   ] = SPRITE_HEAD   
ProcessNum[PARTS_MOUTH00] = 1; DrawNum[PARTS_MOUTH00] =14; ParentParts[PARTS_MOUTH00] =   PARTS_HEAD; SpriteParts[PARTS_MOUTH00] = SPRITE_MOUTH00;
ProcessNum[PARTS_MOUTH01] = 2; DrawNum[PARTS_MOUTH01] =13; ParentParts[PARTS_MOUTH01] =   PARTS_HEAD; SpriteParts[PARTS_MOUTH01] = SPRITE_MOUTH01;
ProcessNum[PARTS_BODY00 ] = 3; DrawNum[PARTS_BODY00 ] =12; ParentParts[PARTS_BODY00 ] =   PARTS_HEAD; SpriteParts[PARTS_BODY00 ] = SPRITE_BODY00 ;
ProcessNum[PARTS_BODY01 ] = 4; DrawNum[PARTS_BODY01 ] =11; ParentParts[PARTS_BODY01 ] = PARTS_BODY00; SpriteParts[PARTS_BODY01 ] = SPRITE_BODY01 ;
ProcessNum[PARTS_BODY02 ] = 5; DrawNum[PARTS_BODY02 ] =10; ParentParts[PARTS_BODY02 ] = PARTS_BODY01; SpriteParts[PARTS_BODY02 ] = SPRITE_BODY00 ;
ProcessNum[PARTS_BODY03 ] = 6; DrawNum[PARTS_BODY03 ] = 9; ParentParts[PARTS_BODY03 ] = PARTS_BODY02; SpriteParts[PARTS_BODY03 ] = SPRITE_BODY01 ;
ProcessNum[PARTS_BODY04 ] = 7; DrawNum[PARTS_BODY04 ] = 8; ParentParts[PARTS_BODY04 ] = PARTS_BODY03; SpriteParts[PARTS_BODY04 ] = SPRITE_BODY00 ;
ProcessNum[PARTS_BODY05 ] = 8; DrawNum[PARTS_BODY05 ] = 7; ParentParts[PARTS_BODY05 ] = PARTS_BODY04; SpriteParts[PARTS_BODY05 ] = SPRITE_BODY01 ;
ProcessNum[PARTS_BODY06 ] = 9; DrawNum[PARTS_BODY06 ] = 6; ParentParts[PARTS_BODY06 ] = PARTS_BODY05; SpriteParts[PARTS_BODY06 ] = SPRITE_BODY00 ;
ProcessNum[PARTS_BODY07 ] =10; DrawNum[PARTS_BODY07 ] = 5; ParentParts[PARTS_BODY07 ] = PARTS_BODY06; SpriteParts[PARTS_BODY07 ] = SPRITE_BODY01 ;
ProcessNum[PARTS_BODY08 ] =11; DrawNum[PARTS_BODY08 ] = 4; ParentParts[PARTS_BODY08 ] = PARTS_BODY07; SpriteParts[PARTS_BODY08 ] = SPRITE_BODY00 ;
ProcessNum[PARTS_BODY09 ] =12; DrawNum[PARTS_BODY09 ] = 3; ParentParts[PARTS_BODY09 ] = PARTS_BODY08; SpriteParts[PARTS_BODY09 ] = SPRITE_BODY01 ;
ProcessNum[PARTS_BODY10 ] =13; DrawNum[PARTS_BODY10 ] = 2; ParentParts[PARTS_BODY10 ] = PARTS_BODY09; SpriteParts[PARTS_BODY10 ] = SPRITE_BODY00 ;
ProcessNum[PARTS_BODY11 ] =14; DrawNum[PARTS_BODY11 ] = 1; ParentParts[PARTS_BODY11 ] = PARTS_BODY10; SpriteParts[PARTS_BODY11 ] = SPRITE_BODY01 ;
ProcessNum[PARTS_BODY12 ] =15; DrawNum[PARTS_BODY12 ] = 0; ParentParts[PARTS_BODY12 ] = PARTS_BODY11; SpriteParts[PARTS_BODY12 ] = SPRITE_BODY02 ;

/*----------------------------------------*/
MoveMode = 1;

HeadCollision	= noone;
HeadPosX		= 0;
HeadPosY		= 0;
preHeadPosX		= 0;
preHeadPosY		= 0;
if(!EDIT()){
	HeadCollision = instance_create(x,y,objExistOnlyEnemy);
	HeadCollision.mask_index = sprMaskExLarge;
}