- 11
- Posts
- 7
- Years
- Seen Oct 25, 2018
I am trying to work out a check on whether a specific Pokemon has been caught.
The only post remotely related I could find was:
https://www.pokecommunity.com/threads/249530
The way I understand it, the post explains how to pass parameter via R1 and R0 to the ASM routine to check whether a Pokemon is caught/seen.
But how do I get the routine's result back?
The plan is to write my own Thumb routine, that takes in parameter from scripts, call the original game check, and return check result to script variables.
The only post remotely related I could find was:
https://www.pokecommunity.com/threads/249530
The way I understand it, the post explains how to pass parameter via R1 and R0 to the ASM routine to check whether a Pokemon is caught/seen.
But how do I get the routine's result back?
The plan is to write my own Thumb routine, that takes in parameter from scripts, call the original game check, and return check result to script variables.
Last edited: