I wanted to share this code, but I'm also hoping someone can help improve it if possible. I found this using bgb on Pokemon Blue.
Always catch Pokemon successfully:
01431ED1
Address: D11E
Value 43
Caveat: Code must be turned off when not in use because it will freeze the game if another action, like attack, is used.
Help Wanted
Rather than relying on the internal RAM value at D11E I would like to locate the opcode that determines whether an attempt catch will be successful or not. I recommend setting an access breakpoint at D11E and throwing a pokeball a few times. You will notice a sort of fork in the code that is run for successful catches vs failed catches. I'm trying to narrow it down to the precise opcode address so that it always jumps to the success sequence. Unfortunately, I'm not sure it is possible due to many opcodes serving multiple functions in the game.
Yes, I realize one could simply use a code for unlimited master balls, but for a game that's been around this long, this seems like a code that should exist by now and it's a fun challenge to find new codes. If you don't get it then this post is not for you.
Let me know if you find anything. If not, enjoy using
the code as is.
Always catch Pokemon successfully:
01431ED1
Address: D11E
Value 43
Caveat: Code must be turned off when not in use because it will freeze the game if another action, like attack, is used.
Help Wanted
Rather than relying on the internal RAM value at D11E I would like to locate the opcode that determines whether an attempt catch will be successful or not. I recommend setting an access breakpoint at D11E and throwing a pokeball a few times. You will notice a sort of fork in the code that is run for successful catches vs failed catches. I'm trying to narrow it down to the precise opcode address so that it always jumps to the success sequence. Unfortunately, I'm not sure it is possible due to many opcodes serving multiple functions in the game.
Yes, I realize one could simply use a code for unlimited master balls, but for a game that's been around this long, this seems like a code that should exist by now and it's a fun challenge to find new codes. If you don't get it then this post is not for you.
Let me know if you find anything. If not, enjoy using
the code as is.
Comment