• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Resource icon

v21.1 Badgecase 2022-11-12

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
Are you tired of the old fashion badge case inside your trainer card? This plugin is for you!
Sorry for the mess, it's my first time sharing a plugin.

NpWsv0C.png

2sPAsbq.png

xL1yjzr.png

Features:
  • New and better-looking UI for badge case including two pages:
  • The badge case with all of the badges
  • Badge screen including Leader name and sprite, location, main type, and ace Pokemon.
  • New method for getting a badge that uses the UI to show the badge after receiving it (same way as catching a new Pokemon)
  • New method for getting the max number of badges the player can obtain ($player.badge_max)
Installation:
  • Download the zip file from the link above ("Go to download", top right)
  • Extract it into your game main folder
  • Compile before starting to play
  • Have fun!
The zip file contains:
  • Plugins/Badge Case/Badgecase_Config- Some options for you to choose about the UI
  • Plugins/Badge Case/Badgecase_Main- Main script for the plugin's backend
  • Plugins/Badge Case/Badgecase_UI- Main script for the plugin's frontend
  • Plugins/Badge Case/Badgecase_PBS- The script to read the PBS file
  • PBS/badges- The badges list
  • Data/badges- The badges data, you shouldn't touch it
  • Graphics/UI/Badgecase- Almost all the sprites that the plugin uses
  • Graphics/Trainers- Contains sprites for gym leaders used as examples
How to use:
Adding the badge case to your pause menu- add the following code at the bottom of the UI_PauseMenu script:
Ruby:
Expand Collapse Copy
MenuHandlers.add(:pause_menu, :badges, {
  "name"      =>  _INTL("Badges"),
  "order"     => 50,
  "effect"    => proc { |menu|
    pbPlayDecisionSE
    pbFadeOutIn {
      scene = BadgeCase_Scene.new
      screen = BadgeCaseScreen.new(scene)
      screen.pbStartScreen
      menu.pbRefresh
    }
    next false
  }
})

Credit to wrigty12 for instructions
In 005_VoltseonMenu_Entries, add this somewhere:
Ruby:
Expand Collapse Copy
#-------------------------------------------------------------------------------
# Entry for Badge Case
#-------------------------------------------------------------------------------
class MenuEntryBadgeCase < MenuEntry
  def initialize
    @icon = "menuBadgeCase"
    @name = "Badge Case"
  end

  def selected(menu)
    pbFadeOutIn(99999) {
      scene = BadgeCase_Scene.new
      screen = BadgeCaseScreen.new(scene)
      screen.pbStartScreen
      menu.pbRefresh
    }
  end

  def selectable?; return true; end
end
In 001_VoltseonMenu_Config, in MENU_ENTRIES array, add "MenuEntryBadgeCase" to the list, where you want it
Add this to Plugins/Modular Menu/Config [001]/Config
Ruby:
Expand Collapse Copy
#-------------------------------------------------------------------------------
#  Badges
#-------------------------------------------------------------------------------
ModularMenu.add_entry(:BADGES, _INTL("Badges"), "menuBadges") do |menu|
  scene = BadgeCase_Scene.new
  screen = BadgeCaseScreen.new(scene)
  screen.pbStartScreen
end

The function for getting a badge is:
pbGetBadge(:badge_internal_name)

If you want to add another badge- that's easy.
Go to PBS/badges.txt and add your badge.

On Plugins/Badge Case/Badgecase_Config you can change the following:
  • Info Page (for every badge or only for obtained)
  • Badge Name (show always or only when obtained)
  • Location (show always or only when obtained)
  • Main Type (show always or only when obtained)

For any questions, problems, or requests- feel free to reply :)
Credits
ChampChar110
  • icon.png
    icon.png
    52 KB · Views: 5,244
  • example.png
    example.png
    63.9 KB · Views: 4,673
  • example2.png
    example2.png
    38.3 KB · Views: 4,590
  • 1696360762386.png
    1696360762386.png
    4.6 KB · Views: 2,261
  • 1696360768657.png
    1696360768657.png
    5.8 KB · Views: 1,840
  • 1696360775481.png
    1696360775481.png
    39.2 KB · Views: 1,785
Author
ChampChar110
Downloads
3,609
Views
14,119
First release
Last update

Ratings

5.00 star(s) 7 ratings

More resources from ChampChar110

Latest updates

  1. Fixing it better

    Made the following changes: Add an option for regions. All you need to do is add "Region = XXX"...
  2. Even Better!

    Made the following changes: Remove AGREED_SIZES! Not anymore! Added BADGECASE_ROWS and...
  3. Updated For v21.1

    Made the following changes: The plugin is now compatible with v21.1 The plugin shouldn't clash...

Latest reviews

Excellent plugin, even better support. Thanks a bunch!
I keep getting an error saying "stack level too deep." How do I fix this error?
ChampChar110
ChampChar110
On the configuration page, add a smaller accepted size.
Had some slight trouble with installation, but I think that was user-error on my part. I ended up getting it working, and the badge case looks great!
Really cool. Can be more cooler if added support for animated pokemon.
Great resource to display more than just a badge on the trainer card. Allows for better customization and content showing.
Really cool plugin. Default Essentials doesn't have an animation for receiving a badge, so this helps to spice things up a bit.
So nice add-on ! Well done ! I love seeing the images of the champions and their favorite Pokemon
Back
Top