• 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?".
  • A reminder that our new forum software has 2FA! It can be accessed by clicking your username and then "Password and security" from the menu. We strongly suggest not reusing passwords for your online accounts and enabling 2FA if possible.
  • Welcome to PokéCommunity! Register now and join one of the best places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

Script: In-Depth Pokedex Data Page [v21.1]

1,341
Posts
9
Years
  • Age 35
  • Seen today
Pokedex Data Page for v21.1
Adds a new page using Modular UI Scenes to display a ton of in-depth info for each species in the Pokedex.
0Du7oHL.gif
giphy.gif


Overview
This plugin showcases the potential of my Modular UI Scenes plugin by utilizing it to add a brand new "Data" page to each species' Pokedex entry in the Pokedex. This new page hosts a plethora of in-depth info about each species that is normally not displayed to the player. If you're like me, and is someone who feels that the Pokedex is deeply lacking in useful content despite the fact that it's literally supposed to be the "Pokemon encyclopedia", then this plugin will probably be for you.

Here is a quick list of the types of data that can be viewed on this page:


  • The number of times you've captured or defeated a species.
  • The capture rate of a species.
  • The gender ratio of a species.
  • A list of species that are in this species' family (for base species).
  • The evolution method to obtain this species (for evolved species).
  • The Mega Evolution or Primal Reversion methods for this species (for Mega/Primal forms, respectively).
  • The habitat a species is found in, as well as all other owned species that share that same habitat.
  • The color and body shape of a species, as well as all other owned species that share the same color and body shape.
  • The egg groups of a species, as well as all other owned species in compatible egg groups to that species.
  • The base stats of a species, represented both as bar graphs and as raw numbers. The base stat total is included, too. In addition, all other owned species that share one or more of those base stats can be viewed.
  • All items a species may be naturally found holding in the wild, if any. Also displays details about each item and its rarity.
  • All abilities a species may have, including hidden abilities. The descriptions of each ability is also displayed.
  • All moves a species may learn through level-up, TM's/tutors, or through breeding. The details of each move and how they are learned are also displayed.


Plugin Features
  • Uses my Modular UI Scenes plugin to add a new Data page to the Pokedex. This plugin will have full compatibility with any other Pokedex UI mod that also utilizes that plugin.
  • Showcases a ton of in-depth information for each species.
  • The ability to toggle the availability of this new page with a switch.
  • The ability to toggle Egg Group names between their default names, and alternative names that I came up with. You may also change these alternative names as you please.
  • The ability to set description text for each Evolution handler to be displayed in the Data page. You can even add this feature to any of your custom Evolution handlers to have custom text appear for those methods.


-DOWNLOAD LINK-


Installation

Spoiler:



Changelog (v1.0.6)
Spoiler:



Plugin Tutorial

Accessing the Data Page
Spoiler:


Data Page Overview
Spoiler:
 
Last edited:
1,341
Posts
9
Years
  • Age 35
  • Seen today
Minor Update (v1.0.1)
**IMPORTANT**
It's come to my attention that if you're using this plugin with scripts and PBS files taken from the Gen 9 pack, the evolution text for some of the species added by that plugin may not display correctly. This is due to the evolution handlers from that plugin not being fully compatible with v21.1 yet. To address this, I've updated this plugin to contain updated evolution methods that are compatible with v21.1. I'll keep these in the plugin as placeholder until the Gen 9 Pack is officially updated to v21.1.

Furthermore, I've noticed that there are several errors and/or missing elements scattered throughout the Gen 9 PBS files, which affects some of the displays in the plugin by displaying incorrect data. To address this, I'm going to include a script below that you can run to fix these errors. I'm not going to include this in the plugin, because it's incredibly niche and only serves a single purpose to be used only once; after which you can simply delete the script.

Again, this is only necessary to use if you're using Gen 9 PBS files. Otherwise, you can mostly ignore this update entirely.

Paste this code anywhere in an empty space in your Essentials script:
Code:
module GameData
  class Item
    attr_accessor :real_portion_name
    attr_accessor :real_portion_name_plural
  end
  class Species
    attr_accessor :real_form_name
    attr_accessor :habitat
    attr_accessor :generation
    attr_accessor :flags
  end
end

module Compiler
  module_function
  
  def update_gen9
    compile_items = false
    items_to_update   = [
      :AUSPICIOUSARMOR, :MALICIOUSARMOR, :BOOSTERENERGY
    ]
    items_to_update.each do |item|
      data = GameData::Item.try_get(item)
      next if !data
      compile_items = true
      case item
      when :AUSPICIOUSARMOR, :MALICIOUSARMOR
        data.real_portion_name = "set of #{data.name}"
        data.real_portion_name_plural = "sets of #{data.name}"
      when :BOOSTERENERGY
        data.real_portion_name = "capsule of #{data.name}"
        data.real_portion_name_plural = "capsules of #{data.name}"
      end
    end
    compile_species = false
    species_to_update = [
      :WYRDEER, :BASCULEGION, :SNEASLER, :OVERQWIL, :ENAMORUS,
      :TAROUNTULA, :SPIDOPS, :NYMBLE, :LOKIX, :WATTREL, :KILOWATTREL,
      :WIGLETT, :WUGTRIO, :BOMBIRDIER, :VAROOM, :REVAVROOM, :CYCLIZAR,
      :GREAVARD, :HOUNDSTONE, :VELUZA, :ANNIHILAPE,
      :DARMANITAN_1, :DARMANITAN_3, 
      :QUILAVA_1, :TYPHLOSION_1, :SNEASEL_1, :DEWOTT_1, :SAMUROTT_1,
      :PETILIL_1, :LILLIGANT_1, :BASCULIN_2, :RUFFLET_1, :BRAVIARY_1,
      :GOOMY_1, :SLIGGOO_1, :GOODRA_1, :BERGMITE_1, :AVALUGG_1,
      :DARTRIX_1, :DECIDUEYE_1, :BASCULEGION_1,
      :REVAVROOM_1, :REVAVROOM_2, :REVAVROOM_3, :REVAVROOM_4, :REVAVROOM_5
    ]
    species_to_update.each do |species|
      data = GameData::Species.try_get(species)
      next if !data
      compile_species = true
      case data.species
      when :QUILAVA_1, :DEWOTT_1, :PETILIL_1, :RUFFLET_1, :GOOMY_1, :BERGMITE_1, :DARTRIX_1
        data.flags.clear
        data.generation = 8
      when :TYPHLOSION_1, :SAMUROTT_1, :LILLIGANT_1, :BRAVIARY_1, :SLIGGOO_1, :GOODRA_1, :AVALUGG_1, :DECIDUEYE_1
        data.flags.clear
      when :DARMANITAN
        data.flags = ["DefaultForm_#{data.form - 1}"]
      when :BASCULIN
        data.real_form_name = "White-Striped"
      when :BASCULEGION
        data.flags = ["DefaultForm_2", "InheritFormWithEverStone"]
      when :SNEASLER
        data.habitat = :Mountain
        data.flags = ["DefaultForm_1", "InheritFormWithEverStone"]
      when :OVERQWIL
        data.flags = ["DefaultForm_1", "InheritFormWithEverStone"]
      when :ENAMORUS
        data.habitat = :Rare
      when :TAROUNTULA, :SPIDOPS
        data.habitat = :Forest
      when :WYRDEER, :NYMBLE, :LOKIX, :CYCLIZAR, :GREAVARD, :HOUNDSTONE
        data.habitat = :Grassland
      when :WATTREL, :KILOWATTREL, :WIGLETT, :WUGTRIO, :VELUZA
        data.habitat = :Sea
      when :SNEASEL, :BOMBIRDIER, :ANNIHILAPE
        data.habitat = :Mountain
      when :VAROOM, :REVAVROOM
        data.habitat = :RoughTerrain
        data.real_form_name = nil
      end
    end
    if compile_items
      GameData::Item.save
      Compiler.write_items
    end
    if compile_species
      GameData::Species.save
      Compiler.write_pokemon
      Compiler.write_pokemon_forms
    end
    if compile_items || compile_species
      Compiler.compile_all(true)
    end
    pbMessage(_INTL("Data successfully updated. You may now delete the Gen 9 Updater script."))
  end
end
Next, in an event, run the script Compiler.update_gen9. The game should start rewriting some of your PBS files, and then begin compiling. After which, a message will display telling you that the data successfully updated. After this is complete, you may close your game and remove the code you pasted above from your scripts, as it has done its job and is no longer needed.

After doing this and installing the latest update, all Gen 9-related issues in the Data pages should be resolved.
 
1,341
Posts
9
Years
  • Age 35
  • Seen today
Minor Update (v1.0.2)


  • Fixed a bug that would cause a crash after registering a new species in the Pokedex.
  • Fixed a bug that could cause a potential crash if the total number of species icons that appear in one of the sub menus happens to be an exact multiple of 12.
 
1,341
Posts
9
Years
  • Age 35
  • Seen today
Minor Update (v1.0.3)


  • Fixed an error that would occur if you have custom Egg Groups or Habitats which you have not assigned an icon position value to.
  • Reconfigured how the graphics for the plugin are stored so that they aren't accidentally deleted for completed projects.
 
1,341
Posts
9
Years
  • Age 35
  • Seen today
NOTICE
This isn't worthy of its own update, but now that the Gen 9 Pack has been updated to v3.0.1, the placeholder evolution handlers for Gen 9 species have been removed from this plugin, since they now properly work in the Gen 9 Pack scripts.
 
71
Posts
2
Years
Looks very cool, but I'm not seeing where exactly I'm supposed to go to enable the extra page, could you maybe provide a video tutorial or smth for the plugin? Might just be my dumbass brain but it would be helpful, thx
 
1,341
Posts
9
Years
  • Age 35
  • Seen today
Looks very cool, but I'm not seeing where exactly I'm supposed to go to enable the extra page, could you maybe provide a video tutorial or smth for the plugin? Might just be my dumbass brain but it would be helpful, thx

Check the first section in the tutorial.
 
1,341
Posts
9
Years
  • Age 35
  • Seen today
Minor Update (v1.0.4)


  • Included a fix for shiny icon sprites displaying in the dex.
  • Fixed an issue with Rapid Strike Urshifu not displaying the correct evolution item in the evolution display text when the Gen 9 plugin installed.
 
1,341
Posts
9
Years
  • Age 35
  • Seen today
Minor Update (v1.0.5)
***NOTE*** If you already have this plugin installed, you MUST delete your existing plugin files before installing this update. ***NOTE***
  • Implemented support for displaying unique form mechanics included in future plugins (Ultra Burst, Gigantamax, Terastal forms).
  • Generalized how data for Primal forms are obtained by adding a new form handler key.
  • Cleaned up some display messages.
  • Renamed some files for more consistency across plugins which utilize Modular UI Scenes.
 
1,341
Posts
9
Years
  • Age 35
  • Seen today
Minor Update (v1.0.6)
  • Minor fixes in preparation for the release of the Dynamax DBK add-on plugin.
 
Back
Top