You can do this, follow the tutorial on my website normally, in the print I show the NPC event you will see a script call like this:
muChoosePokemon(1,3,"BUG")
Instead of making this call, you can do this here:
pbChoosePokemon(1,3,proc {|poke|
!poke.egg? && poke.species==25})
In that...