if (playertouchsme) { playerdarts += 2 ; toweapons Shaoken; destroy; } if (weaponfired && playerdarts>=2 && this.step<=0) { hideimg 1; hidesword 0.3; this.steplen = 1.5; timeout = 0.05; this.step = 0; this.oldx = playerx; this.oldy = playery; } if (timeout) { this.step++; timeout = 0.05; if (this.step<6) { if (playerdir==0 || playerdir==2) playersprite = 13; else playersprite = 6; if (playerdir==0) showimg 1,wshuri.gif,playerx-0.7,playery+1.4; if (playerdir==1) showimg 1,wshuri.gif,playerx+1.9,playery+1.5; if (playerdir==2) showimg 1,wshuri.gif,playerx+2.3,playery+0.7; if (playerdir==3) showimg 1,wshuri.gif,playerx-0.2,playery+1.5; if (this.step==2) freezeplayer 0.2; } else if (this.step==6) { playersprite = 0; this.mx = 0; this.my = 0; if (playerx>this.oldx) this.mx++; if (playerxthis.oldy) this.my++; if (playery