Clone of Travoos' NPC source, heavily edited. BlackRayquaza's side project!