name		 FieldWall
health		 80
type		 enemy
nomove		 1 1
nopain		 1
nodrop		 1
facing		 1
setlayer	 1
death		 1
score		 0 -1
hostile		 none
defense		 normal2 0 100
defense		 normal3 0 100
animationscript	 data/bgs/field/wall.c
takedamagescript data/scripts/blink.c

palette		 data/bgs/field/wall.png
alternatepal	 data/bgs/field/walblink.png

load		 InWall

anim spawn
    delay	 1
    offset	 103 215
    platform	 103 215 -260 -174 200 200 100 200
    frame	 data/bgs/field/wall.png
    @cmd	 spawnBody "InWall" 0 0 0 0
    @cmd	 spawnBody "InWall" -20 0 -30 1
    @cmd	 spawnBody "InWall" -60 0 -60 2
    frame	 data/bgs/field/wall.png

anim idle
    delay	 100
    offset	 103 215
#    bbox	 82 57 34 158 20
    platform	 103 215 -260 -174 200 200 100 200
    frame	 data/bgs/field/wall.png

anim death
    delay	 1
    offset	 103 215
    frame	 data/chars/misc/empty.gif
    @cmd	 killgun 0 0
    @cmd	 killgun 1 0
    @cmd	 killgun 2 0
    frame	 data/chars/misc/empty.gif
    @cmd	 spawn01 "BXPlos" 0 0 0
    @cmd	 spawn01 "BXPlos" -30 0 -30
    @cmd	 spawn01 "BXPlos" -60 0 -60
    frame	 data/chars/misc/empty.gif
