NPC Code: this.testx=int(playerx+1.5*2); this.testy=int(playery+2*2); if (board[this.testx+(this.testy*16)]==322) { dostuff; }
this.testx=int(playerx+1.5*2); this.testy=int(playery+2*2); if (board[this.testx+(this.testy*16)]==322) { dostuff; }