Switched effectiveness functions to receive the target pokemon's types as a parameter