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


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

!endif

;!godown #back

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

!endif

;!godown #back

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

!endif

;!godown #back

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

!endif

;!godown #back

!godown #movego
;----------------------------
#movego
;
$npc5anime+$enpc5sx

$rnd=$enpc5sx
$rnd*3
$rnd-1

!if $npc5anime>$rnd
$npc5anime=0
!picarea 130,$npc5anime,$npc5houkou,$enpc5sx,$enpc5sy
!picarea 30,$npc5anime,$npc5houkou,$enpc5sx,$enpc5sy
$npc5houkou=n
$enemyturn=6
!godown #back
!endif
!picarea 130,$npc5anime,$npc5houkou,$enpc5sx,$enpc5sy
!picarea 30,$npc5anime,$npc5houkou,$enpc5sx,$enpc5sy

!picpos 130,$130x,$130y
!picpos 30,$130x,$130y
;--------------------------------------------------------------
#back
!freturn2




































































