![]() |
Make NPC's disappear after certain flags + Can you have unlimited bag space?
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! |
Quote:
Quote:
|
Ah okay, that makes sense. Thank you!
|
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. |
| All times are GMT -8. The time now is 9:16 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.