switch some code to pokemon instead PvZ