The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Placing and scripting event arguments in FRLG

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 July 22nd, 2015 (11:56 AM).
theparanoiabug97's Avatar
theparanoiabug97 theparanoiabug97 is offline
 
Join Date: Jul 2015
Gender: Male
Nature: Adamant
Posts: 4
Working on my new hack, Pokemon FireRed Pro, I decided that I would allow access to the trainers on Route 3 before beating the Gym to soften the blow of the difficulty of Brock's new loadout a bit (he has a Solrock and Lunatone and both Hoenn fossils in a double battle XD). However, the player should not be able to access Mt. Moon before beating the Gym, so I'm thinking of extending one of the ledges the player can only approach from one side and blocking the remaining space with a person. However, how would I program that person, their speech and the fact that they disappear once you've beaten the gym? I'm a n00b in hex coding, so please help me out here. I might just move one of the existing trainers to de-complicate things, but I'd still like them to disappear after the Gym is beaten. Thanks.
__________________
~paranoiabug
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old July 22nd, 2015 (2:39 PM).
esperance's Avatar
esperance esperance is offline
 
Join Date: Mar 2010
Location: OH
Age: 26
Gender: Male
Nature: Relaxed
Posts: 3,830
A really simple way of doing it would be to set the NPC's "Person ID" to the flag for Brock's badge (0x820). Once the flag for the badge is set, the NPC will no longer be there when the player returns.
__________________
What are you so afraid of?
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old July 23rd, 2015 (9:02 AM). Edited July 23rd, 2015 by theparanoiabug97.
theparanoiabug97's Avatar
theparanoiabug97 theparanoiabug97 is offline
 
Join Date: Jul 2015
Gender: Male
Nature: Adamant
Posts: 4
Alright, thanks a bunch. I'll try it and report back.

EDIT: Worked like a charm. All is going as planned. Thanks again!
__________________
~paranoiabug
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:11 AM.