Changelog 11.08.2020:
Bumped Unity to newest version.
Ball animations show the ball while summoning and catching a Pokemon now.
We save the balls you caught Pokemon with from now on.
All previously caught Pokemon were set to Pokeball.
The ball used to catch a Pokemon is displayed in the Pokemon card now.
[*]Reworked swaping move positions in pokecards from arrows to drag and drop. BEFORE, AFTER
[*]Reworked the client options menu.
Added Show D-Pad and Relative Touch Control options.
Keybindings can be removed with Escape now.
[*]Reworked code parts in the Windows client patcher to make verifying a lot faster.
[*]Fixed a bug where changing your Pokemon resulted in changing enemies Pokemon.
[*]Super/Not very effective sound parsing which resulted in playing the wrong sound sometimes works correctly now.
[*]Fixed Ferroseeds abilities, it can no longer become Anticipation.
[*]Struggle no longer gets the priority from the selected move.
[*]Fixed/Improves EXP mathematics.
[*]Poison Touch works properly with Protect now.
[*]Contrary works correctly with Intimidate now.
[*]Outrage and Protect work correctly together now.
[*]Outrage can only hit three times now.
[*]Life Orb and Water Shuriken work properly with Water Absorb now.
[*]Pressure works as intended now.
[*]White Herb gets consumed now.
[*]Encore and Disable work as intended now.
[*]U-Turn works properly now.
[*]Volt Switch works properly now.
[*]Baton Pass works properly now.
Baton Pass passes SPATK now.
Baton Pass has priority with Prankster now.
[*]Healing Wish works now.
[*]Lunar Dance works now.
[*]Substitute works now.
[*]Protect works correctly after enemy's switch out now.
[*]Foul Play ignores enemies ability and holding item now.
[*]Choice items do not lock you anymore when the move does not go off due to paralyze, flinch etc.
[*]Minimize now raises the user's evasion by two stages, instead of one.
[*]Simple Beam works now.
[*]Leech Life heals correctly now. For some reason it healed 50% of the attackers life.
[*]A few moves still had Gen5-6 Base Powers and Accuracies. They were updated to Gen7.
Base Power: Assurance, Chatter, Draco Meteor, Energy Ball, Hydro Pump, Lick, Magma Storm, Overheat, Power Gem, Smog,
Surf, Thunder, Thunderbolt, Vine Whip, Meteor Mash and Leaf Storm.
Accuracy: Gunk Shot, Poison Gas, Psycho Shift, Will-O-Wisp, Meteor Mash, Roar, Topsy-Turvy and Whirlwind.
[*]Trick Room and Wonder Room will now be used if the opponent switches in a Pokemon that dies to Stealth Rock.
[*]Battle Bond works now.
Water Shuriken gets 20 BP and always hits 3 times with activated Battle Bond.
Greninja with Battle Bond is not yet catchable.
[*]Stance Change works now.
[*]King's Shield works now.
[*]Mega Evolutions are implemented now.
Megastones cannot be removed in battles (via Knock Off, Trick or Thief f.e.).
NPCs can mega evolve their Pokemon correctly now.
Pokemon can hold Megastones but Pokemon holding Megastones and Megastones are not tradable.
More and more Megastones will be available in-game with new content over time.
[*]If a Pokemon dies before the opponent used a move the move will be used and fail now.
This is the correct behaviour, triggers choice items lock and reveals a possible new move.
[*]Fixed a bug where Destiny Bond killed the wrong Pokemon.
[*]Fake Out and Truant work correctly with U-Turn, Volt Switch and Baton Pass now.
They used to fail if used after getting switched in via one of these moves.
[*]Tailwind works correctly with Prankster now. Prankster should be fully fixed with that.
[*]Filter works now.
[*]Endure may fail if used in succession now.
[*]White Herb gets consumed correctly now.
[*]Reworked Encore and Disable, Struggle works correctly with that now.
[*]Focus Sash works correctly with Hazards, Stealth Rock, Spikes and Poison now.
Shedinja with Focus Sash is no longer banned in Ranked PvP.
[*]Added [iCODE]/surrender[/iCODE] command and button in battles.
[iCODE]/surrender[/iCODE] works in all battles, counts as a loss and has a five minutes cooldown in Ranked PvP battles.
The five minutes cooldown is only for the command and has nothing to do with the battles.
[iCODE]/surrender[/iCODE] does not add a ten minutes cooldown to enter the Ranked PvP Queue again.
[*]Added [iCODE]/draw[/iCODE] command in Ranked PvP battles.
[iCODE]/draw[/iCODE] only works in PvP battles and ends without a winner or loser.
Draw requests can only be sent alternately to avoid spam requests.
The draw requests expire after 30 seconds.
[*]Technician works properly now. It didn't use the base power before.
[*]Expert Belt works properly for physical moves now.
[*]Fixed three bugs that possibly made your PvP battles go stuck.
The first bug happened when both Pokemon died with Weather Effects involved.
The second bug happened when you went in Queue with a dead Pokemon.
That's the bug where you summoned a Pokemon and it instantly died and made your battle stuck.
[*]The third bug was a combination of switching moves and Choice lock items.
[*]Fixed an urgent bug in received and sent mails.
[*]Removed Xanascript shops entirely from the server code.
[*]Added user.gender in Python.
[*]Changed quite a bit of the client-server API.
We use the UID instead of the index in many cases now.
[*]Pokemon instantly get an UID now.
[*]Fixed a bug with the max visible users. The code was simply wrong and caused that users stopped moving, disappeared or took too long to appear.
Reworked NPC LoS with the same code.
[*]Fixed a bug where Xanascript NPCs returned the wrong Hidden Power.
[*]Client battle code completely reworked and battle animations slightly changed. This does not include attack animations.
[*]Catch rate was adjusted to the handhelds and every shake has a chance to break out now.
[*]Added many cosmetics (mounts, headgears) and tiles for future content.
[*]Reworked PvP timer. Everyone has a 180 seconds overall timer that gets +15 seconds every round.
Infinite time stalling should not be possible anymore.
[*]Improved layer handling. The Pokedex and other stuff don't flicker anymore.
[*]The catch rate chance has been reworked based on gen7 and works as intend now. It should be easier to catch pokemon like Beldum.
[*]Many, many, many code optimizations, clean-ups, small reworks and bug fixes.
Known Issues in Mega Edition These are no new bugs but affect this update
Multi-hits do not heal absorb abilities (escept Water Absorb).
Multi-hits do not have Independent calculations.