include "scripts/header.evs"; #asm include "res/charmap.inc" include "entity.inc" #end npc xWalkAround { lock(); say("Hello, World!"); wait(); set_frame("self", ENTITY_FRAME_STEP); repeat 60 { move("self", 12, 0); yield; } set_frame("self", ENTITY_FRAME_IDLE); repeat 60 { yield; } set_frame("self", ENTITY_FRAME_STEP); repeat 60 { move("self", -12, 0); yield; } set_frame("self", ENTITY_FRAME_IDLE); say("Bye!"); wait(); lock(); }