SPRITE_GUN		= 0;	/* 銃身スプライト */
SPRITE_GUN2		= 1;	/* 台座スプライト */
SPRITE_FIRE		= 2;	/* マズルフラッシュスプライト */

SOUND_ATTACK	= 0;	/* 銃声 */
SOUND_MOTOR		= 1;	/* モーター音 */

PARTS_GUN		= 0;		/* 銃身パーツ */
PARTS_GUN2		= 1;		/* 台座パーツ */
PARTS_FIRE		= 2;		/* マズルフラッシュパーツ */

CHECK_DIR		= 0;
WAIT			= 1;
FIRE			= 2;
DEAD_MOTION		= 3;
/*----------------------------------------*/
/* 任意の変数 */
AnimationIndex = 0;
FireDirection  = image_angle;
Bullet[ 0] = noone;
Bullet[ 1] = noone;
Bullet[ 2] = noone;
Bullet[ 3] = noone;
Bullet[ 4] = noone;
Bullet[ 5] = noone;
Bullet[ 6] = noone;
Bullet[ 7] = noone;
Bullet[ 8] = noone;
Bullet[ 9] = noone;
Bullet[10] = noone;
Bullet[11] = noone;
Bullet[12] = noone;
Bullet[13] = noone;
Bullet[14] = noone;
Bullet[15] = noone;
Bullet[16] = noone;
Bullet[17] = noone;
Bullet[18] = noone;
Bullet[19] = noone;

/* 必須ステータス */
HP = 99999;	/* 極力破壊されないように */

MotionNumber		= 4;
KeyFrameNumber		= 1;
PartsNumber			= 3;
BindNumber			= 0;
BindKeyFrameNumber	= 0;

ProcessNum[PARTS_GUN ] = 0; DrawNum[PARTS_GUN ] = 0; ParentParts[PARTS_GUN ] =        -1; SpriteParts[PARTS_GUN ] = SPRITE_GUN;
ProcessNum[PARTS_GUN2] = 1; DrawNum[PARTS_GUN2] = 1; ParentParts[PARTS_GUN2] =        -1; SpriteParts[PARTS_GUN2] = SPRITE_GUN2;
ProcessNum[PARTS_FIRE] = 2; DrawNum[PARTS_FIRE] = 2; ParentParts[PARTS_FIRE] = PARTS_GUN; SpriteParts[PARTS_FIRE] = SPRITE_FIRE;
/*----------------------------------------*/