TOGGLING CAPTURABILITY OF POKEMON: EM
Basically, it is a port of FBI's Toggling Capturability Routine available only on Fire Red to Emerald. This port makes a certain Pokemon uncapturable by just setting var 8000 to 0x1. This only works on Emerald .
How to insert:
First compile the following ASM code and insert into free space:
Here is a compiled version:
Code:
05 48 01 68 03 4A 12 78 01 2A 01 D0 03 48 00 47 03 48 00 47 D8 75 03 02 EC 2F 02 02 5D 63 05 08 2B 63 05 08
Now navigate to 0x5631E and insert the following:
Code:
01 48 00 47 00 00 XX XX XX 08
Where XX+1 XX XX is the reverse hex pointer to where you inserted the above routine. That's it :)
NOTE: This only prints the text "The TRAINER blocked the ball! Don't be a Thief!". I suggest changing this to "The ball is Blocked! This Pokemon cannot be caught!"
Optional:
Insert the following in free-space location in your ROM:
AAAAAA:
Code:
CE DC D9 00 BC BB C6 C6 00 DD E7 00 D6 E0 E3 D7 DF D9 D8 AB FF
BBBBBB:
Code:
CE DC DD E7 00 CA E3 DF D9 E1 E3 E2 00 D7 D5 E2 E2 E3 E8 00 D6 D9 00 D7 D5 E9 DB DC E8 AB FF
In 0x5CC64C, insert the reverse pointer of AAAAAA (do not add 1)
In 0x5CC650, insert the reverse pointer of BBBBBB (do not add 1)
NOTE: This will replace the "The TRAINER blocked the BALL" and "Don't be a thief!" strings.
All credits goes to FBI.