The PokéCommunity Forums Fan Games Custom Game Development Pokémon Essentials
Restrict access to the party screen

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.

Thread Tools
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!

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,657
In PokemonPauseMenu, change

commands[cmdPokemon=commands.length]=_INTL("Pokémon") if $>0
commands[cmdBag=commands.length]=_INTL("Bag") if !pbInBugContest?
commands[cmdPokemon=commands.length]=_INTL("Pokémon") if $>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
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 5:06 AM.