• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Charm Case

v21.1 Charm Case V1.5

This resource pertains to version 21.1 of Pokémon Essentials.
# V1.5 - Added Debug features - Found under Items section > Charms Case > (Divided into add and remove menus)
# Included are most of the commands in the script.
# Fixed an issue where the prompt was inside the loop for the deactivate all method, causing a ton of messages.
Plugin should now be fully compatible with Bag Screen w/int party.
Added a refresh to the loop. Plugin should no longer have the updating issue where the text overwrites other text when scrolling through the bag.
  • Like
Reactions: ClessioTV
# V1.4 - Fixed potential issue with Elemental charmlist
# Added Nature Charm - Allows player to select a nature and has a chance to encounter a Pokemon with that nature. (setting)
# Finally added the long awaiting hiding of the "special" charms.
# Wishing Charm, Elemental Charm, and Nature Charm texts are all hidden until player receives them.
# Added image for elemental charm icon.
# Fixed issue where Link Charm would cause on_step issue.
# Fixed max charm text not properly being displayed.
# Fixed other minor issues I ran into.
# Added any missing INTL commands to messages that didn't have them.
# Pulled variables that were used in messages and properly formatting them using string parameters.
# *Making them easier to read and adjust, if desired.
# Slightly adjusted item text's Y position.
Fixed a nil issue with the new Max Charm additions. Also redid the calculations to make the Case much faster, when using Max Charms.
# V1.3 - I've went through an redesigned a bit of the code to allow better capability with other Plugins / Script changes. The following are the Charms and methods that are effected.
# The changes should now just run the modifications, followed by the original script.
# Changed the handling of pbItemBall for Twin Charm. This will add for much better capability with other Plugins/script changes with the pbItemBall method.
# Changed the handling of the Link Charm a bit to work with Plugins like "Automatic Level Scaling". When using the script and enabling Automatic Evolutions, the Link Charm
# wasn't properly tracking the Species due to the way it was originally coded. Now the Link Charm should properly track the Species within the Encounter List, and change it accordingly,
# even if the Pokemon that is created for Battle is different.
# Changed the handling of the Berry Charm. pbPickBerry in CharmCase script will only now multiply the quantity before sending back into original script.
# Added missing INTL language to pbMessages for translation purposes.
# Added Silent Method to add and remove Charms, without notifying the player. It's usage is situational, but am adding it for the Ultima Charm.
# Added new settings to the Key Charm. Added a setting (default: false) that if true, will take all the Hidden Abilities you have listed in the Pokemon PBS file,
# and add them to the possible list to receive, instead of it always being the ability_index 2.
# I've set it to false by default, in case of situations like Own Tempo for Rockruff, and similar.
# Fixed Spirit Charms activation.
# Added Shortcut calls for just about every method. Instructions has been added to the Meta file and on the main plugin page.
# Added ability to modify max charm count as the game progresses. pbIncMaxCharm(x) and pbDecMaxCharm(x) will raise and lower max charm count by x.
# The Increase and Decrease will default to 1, if left pbIncMaxCharm or pbDecMaxCharm.
# If you want to increase more than one (maybe for an extra hard battle) you can add an argument to it; pbIncMaxCharm(3) to increase by 3, for example.
# Adjusted "Active Charm" display to display more when max active charms is set to more than 10.
Added Color Charm - Doubles chance of encountering a Pokemon with a special Hue.
#Pokemon Color Variants is REQUIRED.

Added Crafting Charm - Gains an extra item when crafting and reduces materials needed when crafting by 1.
#Either Item Crafting UI or Item Crafting UI Plus is REQUIRED. DO NOT INSTALL BOTH.
**For the time being, the screen does not display the modifications. It pops up with a "surprise message" that alerts them that the Crafting Charm did something. I might change this in the future. It does calculate correctly, however.

pbGainCharm on the Color Charm, Crafting Charm, and Points Charm will no longer be usable if the proper plugin is not installed.
Added missing Contest Charm into PBS file and into Meta file.

As always, please let me know if you run into any issues.
# V1.1 - Added Link Charm - A charm which increases and decreases probability of encounters.
# Link Charm - For Captured / KO'ed Pokemon, it will increase encounter chance by 10 * the Chain Count. Stores 1 Species.
# Link Charm - For Fled From Pokemon, it will decrease encounter chance by 10 * the Fled Chain Count. Can store the rest of the Species.
# Constantly Chaining will eventually reduce the chances to 100% chance of 1 Species(Capture/KOed), and 0% for the rest(Fled).
# At Chain Count 30, it will add a small chance that encountered Pokemon will have perfect IVs. This is a togglable setting and a setting for the chance.
# By Default, it's a 1000 / 65535 chance, starting at Chain Count 31(Approx ~1.5%). Every additional Count adds another "roll"(chance).
# Chain Count will also increase Chance that a Pokemon will be Shiny. Every Chain Count will add an additional "roll"(chance).
#
# Fixed issue where Gold Charm wasn't displaying proper gained value from Trainer Battles and dropped after battle wasn't working properly.
# Added Contest Charm item image. Contest Charm was added in V1.09 with no image.
# Contest Charm - Adds 50% more balls and 10% more score for captured Pokemon.
# Fixed an issue with using pbGainCharm after adding the new max charm setting.
# Added Kurt the Apricorn Ball guy into the script. Calling apricornToBall will activate the entire "Kurt Event" without the needs for a several page event.
# Time needed for Ball to be ready is an adjustable setting. Default is 24 hours.
# Added Apricorn Charm - Doubles Ball gain from Apricorn conversion and reduces Ball Ready time.
# Added Points Charm - Doubles BP gain. # Requires Lin's BP System
#
# V1.09 - Added setting to limit Active Charms used. By default, set to false.
# If true, can set the number of maximum Charms that can be active at once.
# Added PBS items file for V21.1 users. Should be able to drag and drop and not have to mess with PBS.
# ****The original 4 charms (Exp, Catching, Oval, and Shiny) have not been included into this file, to avoid duplication.
# Restructured pbGiveAllCharms and pbGiveAllECharms
# Added pbRemoveCharm(charm). You can now remove a Charm, if you wish. (Maybe make an event NPC for
# players that don't want certain charms?) Use Ex: pbRemoveCharm(:MININGCHARM) Will remove Mining Charm.
# Added pbDeactivateAll method that will deactive all active Charms. Useful if you want them going into a certain area
# without the added bonuses of Charms.
# Switched the Auto Generate for the Wishing Charm back to Egg Group. Not sure which plugin did it, but using
# flags seemed to still allow certain Legendary and Mythical Pokemon through.
# Going back to the Egg Group, I have added a "Blacklist" of Pokemon that are in the egg group, but not to take out.
# I.E. Riolu, Baby Species, Nidorina, etc. This file is separate, in the Charm Effects file, and not to be messed with unless
# you want to exclude Pokemon from the removal process. *I.E. you want them to be able to roll a Mewtwo, add Mewtwo to the list.
# Fixed a spelling error allowing Ivysaur to be rolled for, when excluding starters.
# A couple of the Graphics for the Charm Case have been updated for the inclusion of the display for the charm limiting.
# As such, please overwrite the graphics when redownloading.
# Added all unused Item Images.
# Bug Contest Charm has been coded, but an image has not be created yet, so I don't want to say it's "Added" quite yet.
# Noticed the way I had the Legendary removal coded also removed a few random Pokemon and all Baby Species.
# Changed to work with flags instead of egg group. Should be working as intended.
## Side note: I did notice XERNEAS did not have a flag listed in my PBS file. Not sure if there are any others that have been missed, but XERNEAS was added to the Blacklist, for now.
If not using Blacklist, add Flags = Legendary to the bottom of XERNEAS' PBS entry.
Please let me know if you find another one.
# Added Safari Charm - Increases Steps, Balls, and Catch Rate by 50%. Also decreases flee rate. - While in Safari Zone.
# Added Roaming Charm - Roaming Pokemon are 25% more likely to be encountered.
# Added Trading Charm - In game trades gain 10 IVs to all stats and have a 20% chance of being shiny.
# Added Trip Triad Charm - Gains an extra reward from winning Mini-Game Triple Triad.
# Frugal Charm now doubles sell prices, as well.
# Fixed issue with pbPokemonMart issue displaying a include? issuefor V20.1.
# Fixed issue with Easy Charm removing party members when not active.
# Recoded toggling of the charms. Makes it easier to read and add to.
# Added more charms to exclusive list. Only one of these can be active at a time, since they conflict.
# Easy / Hard Charms. Heart / Mercy Charms. Corrupt / Purify Charms. Balance / Elemental Charms.
# Added message about turning off old charm when turning on new charm.
# Modified Heart Cham PBS entry to make it fit within the description screen on Case.
Back
Top