The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Silph scope script

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old August 17th, 2019 (7:41 AM).
Rendan Rendan is offline
 
Join Date: Nov 2017
Posts: 37
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.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 17th, 2019 (3:53 PM).
dGxx dGxx is offline
 
Join Date: Oct 2015
Gender: Male
Posts: 46
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
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 18th, 2019 (12:43 AM).
Rendan Rendan is offline
 
Join Date: Nov 2017
Posts: 37
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.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old August 18th, 2019 (1:57 AM). Edited August 18th, 2019 by DrFuji.
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 30
Gender: Male
Nature: Jolly
Posts: 1,693
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
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old August 18th, 2019 (2:56 AM).
Rendan Rendan is offline
 
Join Date: Nov 2017
Posts: 37
Thank you DrFuji, I just changed the value of the item checked and it worked !
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:19 AM.