this is a tool to calculate the corruption type of a gen3 pokemon given the PID

this code was wrote with xcode on High Sierra

feel free to download and modify it if you want:)