# executes as player when they catch a pokemon through fishing

# schedule catch detection
schedule function pokemonfishing:catch/detect_catch 1t

# reset advancement
advancement revoke @s only pokemonfishing:catch_pokemon