evscript 0.1.0

An extensible bytecode-based scripting engine
Documentation
include "scripts/header.evs";
#asm
	include "res/charmap.inc"
	include "entity.inc"
#end

npc xWalkAround {
	lock();
	say("Hello, World!<WAITBTN>");
	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\BTN><CLEAR>");
	wait();
	lock();
}