x.x Well it wasn't the keydown but now....I looped timeouts and it's totally weird x.x it puts me off screen even
NPC Code:
// NPC made by Sage Deamon Slayer {Dragon Warrior}
if (playerenters) {
}
if (playertouchsme) {
toweapons Flying shoes;
}
if(weaponfired){
timeout = .5;
}
while(timeout){
if (playerdir=0) { playery-=3; }
if (playerdir=1) { playery-=3; }
if (playerdir=2) { playerx+=3; }
if (playerdir=3) { playerx+=3; }
timeout = .5;
}