It is defined in def pbSpindaSpots(pkmn, bitmap).
if pkmn.shiny? #The last three parameters decide the color of spots.
drawSpot(bitmap, spot1, b + 33, a + 25, -75, -10, -150)
drawSpot(bitmap, spot2, d + 21, c + 24, -75, -10, -150)
drawSpot(bitmap, spot3, f + 39, e + 7, -75, -10...