The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

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  
Unread December 21st, 2012, 03:54 AM
Rayd12smitty's Avatar
Rayd12smitty
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
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  
Unread December 21st, 2012, 11:13 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
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  
Unread December 22nd, 2012, 10:14 PM
Rayd12smitty's Avatar
Rayd12smitty
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
Thank you I feel stupid now. This helps
__________________

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. The time now is 03:37 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.