Mersenne Twister generator, same as the game uses
Use correct NPC sprite.