Overlapping
The catch happens if our pokeball overlaps with the pokemon. However, like the games, there’s a chance these pokemon will escape out of the pokeball and flee.
Use a Sprites overlap block to check for our projectil overlaping with the pokemon (Enemy).
Add the Logic “if true then else” block filled with a “65% chance” block. The pokemon can escape, but we still want the odds to be in our favor.
The next two blocks clear the pokeball and announce with long text that we caught it!
In the else section, set the wild image to a cloud, destroy the pokeball, and announce the pokemon ran away.
Outside the Logic section, destroy the wild sprite and call your reset function and ALL DONE!