Refactored with RYAN THE GREAT, created new refactored file for get_poketype