• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Question] Pokemon Bag

20
Posts
5
Years
  • Age 22
  • Seen May 1, 2020
The last bag pocket is set to be "key items", is it possible to swap places with the "Mail" bag pocket?
(Make it so the 6th bag pocket is "key items "and the 8th" Mail")
Thanks in advance.
 

Diverscope

Pardon me
152
Posts
11
Years
Sure it is possible. I'm assuming you are using Pokémon Essentials?

Every pocket is assigned to a number, e.g Key Items is 8 and Mail is 6. To swap both pockets, first you'll have to go to the Script Editor in RPG Maker and then "Settings" (It's the first script that shows up, if you open the Script Editor). There you go to the line
Code:
def pbPocketNames; return ["",
and swap the entries "Mail" and "Key Items".

Second open the pbs file items.txt in your pbs directory. Now comes the annoying part. You have to change the pocket number of every Mail and Key Item. The pocket number is the number that comes after the plural form of the item. e.g:
Code:
503,BICYCLE,Bicycle,Bicycles,8,0,"A folding Bicycle that enables much faster movement than the Running Shoes.",2,0,6,

"8" indicates that this item goes into the 8th pocket, which is by default the Key Item pocket. Since you changed the pockets, you'll havbe to change the 8 to a 6 and vice versa. Luckily items of the same type/use are arranged together, so searching for a certain type of item shouldn't be difficult.

Don't forget to compile the game after that and making a backup!
 
Back
Top