Step 4 – Trainers

Making Other Trainers


  • Let’s use our same head-start tactic by duplicating our “shinies” function.
  • New function, new name! This one is for the other “trainers”, so let’s name it that.
  • Pick another trainer sprite from our selection we made for you. Duplicate it and add it over the shinyPikachu.
  • Make a new variable called “gary” and change the kind to “Enemy”.
  • Delete the lifespan block. These trainers are here to stay and compete!
  • Don’t forget to change the variables to “gary”!