Advertiser Content

Script Silph scope script

Started by Rendan 4 Weeks Ago 7:41 AM
  • 4 replies
Seen 4 Weeks Ago
Posted 4 Weeks Ago
28 posts
1.9 Years
Hi everyone, I can't figure out how to remove the need of having silph scope to see the pokemon (in lavender's tower). I noticed that it's not a flag, you only need the silph scope in your bag.
But where is it written in the rom ? I can't find how to change the item needed or even removing the need of an item.
I checked the level scripts, the script of the silph scope and giovanni... there is nothing related to a checkitem command or anything.

I would be very grateful to be helped.


Heiki Hecchara‌‌

Age 26
Seen 1 Day Ago
Posted 1 Week Ago
1,609 posts
10 Years
The check for the Silph Scope revealing unidentifiable ghosts is located in two places in the ROM, one for the Marowak fight and another for all the Gastly/ Haunter you find in the wild. I'm not good enough with ASM to completely bypass the check, but its pretty easy to change the item that the routine checks in order to reveal the Pokemon. The item ID to be checked when fighting the Marowak is loaded at 0x7F94C, while the item ID for wild Pokemon is loaded at 0x7F6F8. When you go to those locations in a hex editor you should see that the bytes at those locations read '67 01', which is the hexadecimal value for the Silph Scope (0x167). To change which item should be checked, just change those values. Since I'm not good enough to bypass it, my advice would be to change the item the functions are looking for to another key item that the player is required to get earlier in your game. This could be something like the Teachy TV or a HM; so long as the player can't avoid getting it and they can't throw it away. It's not a perfect solution, but its a workable solution :P
Advertiser Content