Changelog 01.08.2023:
Reworked the Exp code.
We use the official gen7 formulas now.
Coded Exp. Share ร la gen2.
Coded Party Exp. Share.
Disabled for now.
Coded Lucky Egg.
Coded Exp. Candies.
Catching Pokemon gives EXP now.
Reworked almost the entire API the client uses to interact with the scripts.
While it might sound small, it was actually quite significant and took up most of the time, aside from the EXP rework.
Added global rare encounter announcements.
Players can anonymize their rare encounters and choose to show or hide the messages in the client options.
By default, the messages are displayed, and rare encounters are anonymized.
Only forms and shinies of Pokemon that are uncommon or rare will be displayed.
Players are move locked while fishing now.
Added battle delay and cd reset for a slightly better fishing mechanic.
Slightly changed the form/shiny sprite display in the Pokedex.
Left-clicking shows the next form, right-clicking shows the previous form, and middle-clicking resets to the base sprite.
Fixed Z-Move not being selectable if Transform enabled them.
The client no longer displays the mega button for Rayquaza if it holds a Z-Crystal.
Corrected misspellings such as Never-Melt Ice and King's Shield.
Reworked Final Gambit.
Reworked Seismic Toss.
The server kicks users that exceed 190s in PvP battles now.
Lightning Rod now properly checks temporary types when protecting against paralysis.
Fixed Hydration message.
Fixed Entraintment message.
Pokemon with Natural Cure will no longer be cured on switch-out if they lost their ability.
If a Pokemon dies due to Leech Seed damage, the opposing Pokemon recovers the HP equal to the damage taken.
Previously, it always recoverd 1/8th of the max HP of the seeded Pokemon.
Coded a server-sided speed hack detection.
Few small reworks, clean-ups and optimizations.