• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] Silph scope script

  • 37
    Posts
    7
    Years
    • Seen May 20, 2021
    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.
     
    Well there's a flag related to the scope, i think that's the flag that the marowak battle checks...but u can also just remove the ghost battle and make one up urself to battle any pokemon
     
    Thanks but I'm trying to change the wild battles in the tower (not marowak), gastly and other pokemon show up as ghosts without the silph scope, that's what I want to change.
     
    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
     
    Last edited:
    Thank you DrFuji, I just changed the value of the item checked and it worked !
     
    Back
    Top