The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials
Reload this Page Restrict access to the party screen
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read


Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old January 13th, 2013 (11:10 PM).
WinterKirby's Avatar
WinterKirby WinterKirby is offline
 
Join Date: Dec 2012
Age: 4
Gender: Male
Nature: Mild
Posts: 152
In the game I'm working on, there is a part where you're captured, and you have to escape a structure without being caught. However, before escaping, you have to go retrieve your Pokémon, which were confiscated. So, while you are going to retrieve them, you shouldn't be able to see your party screen.

How do I go about doing this? I originally was going to remove all the Pokémon from the player's party, but I thought it would be easier to keep the player from seeing the party, while the Pokémon are still technically there.

Also, how would I do the same for the bag?
__________________
X/Y Friend Code: 1349-5852-1728 | Pinkie | Flying | Hoot-Hoot, Pidgey, and Tropius

Reply With Quote

Relevant Advertising!

  #2    
Old January 20th, 2013 (8:47 AM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,604
In PokemonPauseMenu, change

Code:
commands[cmdPokemon=commands.length]=_INTL("Pokémon") if $Trainer.party.length>0
commands[cmdBag=commands.length]=_INTL("Bag") if !pbInBugContest?
to
Code:
commands[cmdPokemon=commands.length]=_INTL("Pokémon") if $Trainer.party.length>0 && !$game_switches[81]
commands[cmdBag=commands.length]=_INTL("Bag") if !pbInBugContest? && !$game_switches[82]
So when the switch 81 is on the pokémon menu won't shows, same switch 82 and bag.

Take a note that the pokémon side effects like increasing happiness at each 256 steps, hatch eggs and other effects still happen. You can access the pokémon menu by "Give" option in bag and using some items like potion (you probably noticed this). The item registered on F5 still works.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links
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 11:37 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 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 © 2016.