
;
!if $npc7houkou=48
!godown #ml
!endif
!if $npc7houkou=96
!godown #mr
!endif
!if $npc7houkou=144
!godown #mu
!endif
!if $npc7houkou=0
!godown #md
!endif
;
;------------------------
#movec
!rnd $rnd,10
!if $rnd=0
$npc7houkou=48
!endif
!if $rnd=1
$npc7houkou=96
!endif
!if $rnd=2
$npc7houkou=144
!endif
!if $rnd=3
$npc7houkou=0
!endif
!godown #back


#ml
$135x-8
;----------------------------------------接触判定
!if $rnd=0

!endif

;!godown #back

!godown #movego
#mr
$135x+8
;----------------------------------------接触判定
!if $rnd=0

!endif

;!godown #back

!godown #movego
#mu
$135y-8
;----------------------------------------接触判定
!if $rnd=0

!endif

;!godown #back

!godown #movego
#md
$135y+8
;----------------------------------------接触判定
!if $rnd=0

!endif

;!godown #back

!godown #movego
;----------------------------
#movego
;
$npc7anime+$enpc7sx

$rnd=$enpc7sx
$rnd*3
$rnd-1

!if $npc7anime>127
$npc7anime=0
!picarea 135,$npc7anime,$npc7houkou,$enpc7sx,$enpc7sy
!picarea 35,$npc7anime,$npc7houkou,$enpc7sx,$enpc7sy
$npc7houkou=n
$enemyturn=1
!godown #back
!endif
!picarea 135,$npc7anime,$npc7houkou,$enpc7sx,$enpc7sy
!picarea 35,$npc7anime,$npc7houkou,$enpc7sx,$enpc7sy

!picpos 135,$135x,$135y
!picpos 35,$135x,$135y
;--------------------------------------------------------------
#back
!freturn2




































































