The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script How to have someone temporarily block your path?

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 April 5th, 2017 (7:08 PM).
HotSauce2910 HotSauce2910 is offline
 
Join Date: Feb 2016
Gender: Male
Posts: 6
I built a pokemon center in the opening town, and I want to avoid the glitch that occurs when you talk to nurse joy when you have no pokemon.

I'm trying to make a person who stops you if you have no pokemon, but disappears after you receive your starter using PKSVUI.

How do you program it to know when you get your starter?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 5th, 2017 (7:13 PM).
Pinta87's Avatar
Pinta87 Pinta87 is offline
 
Join Date: Mar 2017
Posts: 56
A simple check flag and remove sprite script should work. I could write one for you in xse if you really can't figure it out.

But basically put the person in front of the door, check flag and then make person event disappear.
__________________
..
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old April 5th, 2017 (7:28 PM).
HotSauce2910 HotSauce2910 is offline
 
Join Date: Feb 2016
Gender: Male
Posts: 6
I'm still not sure how to make it check if you got your starter though
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old April 6th, 2017 (1:54 PM).
Uncommon's Avatar
Uncommon Uncommon is offline
Oozma Kappa
 
Join Date: Jun 2015
Location: Johto
Nature: Careful
Posts: 192
Quote:
Originally Posted by HotSauce2910 View Post
I'm still not sure how to make it check if you got your starter though
Check flag 0x828 (assuming FireRed). This is the flag that enables the "Pokémon" Start menu option, and it's set when you receive your first Pokémon.
__________________
My work: HM type-check system hack (FireRed) | Turbo Test patch (FireRed)

Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old April 6th, 2017 (6:28 PM).
Lancekoijerwillborough Lancekoijerwillborough is offline
 
Join Date: Jan 2017
Gender: Male
Posts: 41
Flags or Vars can help you.
Just check if the flag has been set
or compare if the value in a var has been set.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old April 8th, 2017 (2:29 PM).
mbcn10ww mbcn10ww is offline
 
Join Date: Oct 2016
Posts: 352
You just need to change it's Person ID to 828, then it will disappear when you get your starter.
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:17 AM.