Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] About Save 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 December 20th, 2012 (07:54 PM).
Rayd12smitty's Avatar
Rayd12smitty Rayd12smitty is offline
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
Posts: 647
Hello. I have a question about the save screen that comes up when saving. It says the number of pokemon caught, out of the total number that are in pokemon.txt

ex: 9/649 if you have all pokemon in the .txt

I want to make it so that it says the number caught out of the regional dex.

ex: 9/285 if the regional dex has 285.

I hope this will be a quick simple thing to do, I just know very little about scripting
__________________
Reply With Quote
  #2    
Old December 21st, 2012 (03:13 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,568
That's not what the numbers mean. The numbers are "owned species"/"seen species". Both values are those from the National Dex (i.e. all Pokémon).

It's easy to change these values to a Regional Dex's values, so long as you only ever want to use one Dex's values. At the top of PokemonSave is the code which sets the displayed information, and it includes the phrase $Trainer.pokedexOwned,$Trainer.pokedexSeen. Change this to $Trainer.pokedexOwned(0),$Trainer.pokedexSeen(0) to use values from the first Regional Dex, or use 1 for the second Regional Dex, etc.

You'll need to do something similar in the PokemonLoad script section too (line 346).

It would be more difficult if you wanted to vary which Regional Dex to take the values from during the game, mainly because the load screen only has a limited amount of information available to use.



If your intention is to make a game with just a limited Pokédex (i.e. create a Regional Dex and call it "the Pokédex", and never access the National Dex), which is easier than cutting species out of pokemon.txt and renaming sprites/icons/cries/footprints, then you can just ignore this "problem". The Dex length is never shown, so the player will never notice that your game has more defined species than appear in it.
__________________
Reply With Quote
  #3    
Old December 22nd, 2012 (02:14 PM).
Rayd12smitty's Avatar
Rayd12smitty Rayd12smitty is offline
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
Posts: 647
Thank you I feel stupid now. This helps
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
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 01:45 AM.