Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Restrict access to the party screen

Notices
For all updates, view the main page.

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: 3
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
  #2    
Old January 20th, 2013 (08:47 AM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,409
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 UTC -8. The time now is 05:55 AM.