NPC Code:
if (keypressed&&!keydown(0)&&!keydown(1)&&!keydown(2) &&!keydown(3)) {
hideimg 0;
}
you can also code it to ignore asd...but you'd need keydown2 to do that, and i dont feel like typing that out, lol.
emotion icons are stored as image 0 (as said in newfeatures2002.txt

), so if you just hide it, then it should be good.