do this
NPC Code:
if (weaponfired) {
this.hb=1;
disabledefmovement;
timeout=.1; }
if (timeout&&this.hb==1) {
if (keydown(1)) { i--; }
if (keydown(3)) { i++; }
if (keydown(5)) { enabledefmovement; this.hb=0; }
// SHOWIMG STUFF HERE
// SHOWIMG STUFF HERE
// SHOWIMG STUFF HERE
// SHOWIMG STUFF HERE
// SHOWIMG STUFF HERE
timeout=.1; }