name		PlatferN2
health		1
type		npc
nomove		1
death		1
hostile		none
setlayer	100
antigravity	100
subject_to_wall 0
subject_to_obstacle 0
subject_to_platform 0


anim spawn
@script
    void self = getlocalvar("self");

    if(frame == 13){
      changeentityproperty(self, "velocity", 0, 0, 0);
    }
@end_script
	delay	 10
	offset	 32 14
	move	 -240
	jumpframe	 1 0 2 0
	platform 32 14 -32 -32 32 32 15 15
	frame	 data/chars/misc/platform/platfer2.png
	move	 0
	frame	 data/chars/misc/platform/platfer1.png
	frame	 data/chars/misc/platform/platfer2.png
	frame	 data/chars/misc/platform/platfer1.png
	frame	 data/chars/misc/platform/platfer2.png
	frame	 data/chars/misc/platform/platfer1.png
	frame	 data/chars/misc/platform/platfer2.png
	frame	 data/chars/misc/platform/platfer1.png
	frame	 data/chars/misc/platform/platfer2.png
	frame	 data/chars/misc/platform/platfer1.png
	frame	 data/chars/misc/platform/platfer2.png #10
	frame	 data/chars/misc/platform/platfer1.png
	frame	 data/chars/misc/platform/platfer2.png
	frame	 data/chars/misc/platform/platfer1.png #Stop
	frame	 data/chars/misc/platform/platfer2.png
	frame	 data/chars/misc/platform/platfer1.png

anim idle
	loop	 1
	delay	 10
	offset	 32 14
	bbox	 17 0 30 16
	platform 32 14 -32 -32 32 32 15 15
	frame	 data/chars/misc/platform/platfer1.png
	frame	 data/chars/misc/platform/platfer2.png

anim death
@script
    void self = getlocalvar("self");
    changeentityproperty(self, "antigravity", 0);
@end_script
	delay	 10
	offset	 32 14
	frame	 data/chars/misc/platform/platfer1.png
	frame	 data/chars/misc/platform/platfer1.png
