The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Make NPC's disappear after certain flags + Can you have unlimited bag space?

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 May 17th, 2021 (12:27 AM).
TheRealBothi TheRealBothi is offline
 
Join Date: May 2021
Posts: 5
Hey Guys!

How do I make NPC's disappear after a certain event / Flag? In my example after the third gym bade.

I came up with this script:

#dynamic 0x800000

#org @start
lock
faceplayer

checkflag 0x807
if 0x0 goto @YouCantPass
if 0x1 goto @t1

release
end

#org @YouCantPass
msgbox @t2 0x6
release
end

#org @t2
= You can't pass!

#org @t1
checkflag 0x1050
hidesprite 8
setflag 0x1050
release
end
-----------------------------------------------------

But this one only activates after talking to the NPC and I want it to activate right after beating the gym.

The second question is, if it's possible to do some hex editing for unlimited bag space ?

The Rom I am hacking is Pokemon Ruby.


Thanks so far!
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old May 17th, 2021 (2:14 AM).
Anon822 Anon822 is offline
 
Join Date: Nov 2017
Posts: 326
Quote:
Originally Posted by TheRealBothi View Post
Hey Guys!
How do I make NPC's disappear after a certain event / Flag? In my example after the third gym bade.
Put the flag as the npc's "Person ID" in advance map and the npc won't spawn if the flag is set.


Quote:
Originally Posted by TheRealBothi View Post
Hey Guys!
The second question is, if it's possible to do some hex editing for unlimited bag space ?
It's definitely possible to expand the bag but I don't think its possible to have unlimited space. I'm also not sure if there even is a bag expansion for ruby as most people hack either firered or emerald.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old May 17th, 2021 (2:32 AM).
TheRealBothi TheRealBothi is offline
 
Join Date: May 2021
Posts: 5
Ah okay, that makes sense. Thank you!
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old May 29th, 2021 (11:08 PM).
Momoro's Avatar
Momoro Momoro is offline
I'm gonna put some dirt in your eye..
 
Join Date: Aug 2019
Location: Castelia City, Unova
Gender: Male
Posts: 269
Unlimited bag space is impossible. There's simply not enough space within the ROM to contain an infinite amount of different items- that would mean that the ROM file size would have to be of an infinite amount, e.x. ∞(infinite) MB, which is impossible.

...Now, expanding the bag to be bigger, rather than infinite, is possible- but it could be difficult.

As for the NPC script:

Have the sprite hidden, and set the Person ID to the desired flag. Then, when the flag is set, the NPC should appear.
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
Thread Tools

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:16 AM.