[object_prototype]
id="chopple_npc"
on_create="animation('stand')"
on_end_stand_anim="[if(turn_to_face_player,set(facing, if(level.player.x < x, -1, 1))), animation('stand')]"
on_have_distance="[set(level.player.control_lock, ['ctrl_right']), schedule(2, fire_event('start_talking'))]"
on_interact="[set(level.zoom, 2), set(level.player.control_lock, ['ctrl_left']), set(level.player.tmp.running, 0), schedule(20, fire_event('have_distance'))]"
on_start_talking="[set(level.player.control_lock, null()), fire_event('talk'), set(level.zoom, 1)]"
on_talk="speech_dialog( level.player, ['Hi, Chopple.'],
								self, ['Hey.', 'Welcome to the store.'],
									['Take your time, look around.'])"
solid_area="9,20,29,45"
solid_dimensions="npc"
zorder="-2"
	[animation]
	accel_y="80"
	duplicates="3"
	duration="7"
	frame_info="4,7,4,1,446,604,30,40,3,8,3,1,476,604,32,39,3,7,3,1,508,604,32,40"
	frames="3"
	id="stand"
	image="compiled-1.png"
	interact_area="all"
	play_backwards="yes"
	rect="442,597,479,644"
	reverse="yes"
	[/animation]

	[animation]
	accel_y="80"
	duration="7"
	frame_info="3,7,3,1,259,604,32,40,3,8,3,1,291,604,32,39,4,7,4,1,323,604,30,40"
	frames="3"
	id="stand"
	image="compiled-1.png"
	interact_area="all"
	rect="256,597,293,644"
	reverse="yes"
	[/animation]

[/object_prototype]

