Updated NPC initialization with initial y velocity