Skip to content

Ch34k0/PokemonBattleEngine

 
 

Repository files navigation

PokemonBattleEngine

Pokémon Battle Engine is a C# library that can emulate Pokémon battles. This repository includes the engine library, a Windows/Linux/MacOS/Android/iOS client, a server, a Discord bot, and some extra code to rip data from the official games. The engine only emulates Pokémon B2W2 versions, so nothing introduced after generation 5 is included and neither are generation 1/2 exclusive items, event Pokémon, and move compatibility.

Client Preview

The engine does not send information a player should not know; information only gets sent to each player/spectator when it is revealed. For example, a client has no way of knowing if the opponent has sent out a Pokémon with Illusion, the opponent's nature, stats, Hidden Power damage/type, unused item/moves, etc. Therefore, a custom/modified client cannot do anything more than an ordinary player unless it is hosting the battle. A lot of work has been done to prevent any cheating, so if there are any exploits, create an issue please!

There are also settings that you can change. Have you ever wanted to have level 200 Pokémon or 8 moves? You can do that!

Currently, you need to change the settings to be identical for the server and all connected clients for the server to accept parties/actions and for the clients to communicate without crashing. This will change in the future as the server will send the settings to all connected clients.


To Do:

  • Triple-battle shifting and Rotation-battles
  • Complete the Pokémon data dumper
  • Separate form-specific moves in Pokémon data and instead have legality checker do some work
  • Add lots of items, moves, and volatile statuses (taunt, torment, etc. are volatile statuses)
  • Finish adding all event Pokémon
  • Add previews of Discord and Android/iOS

PokemonBattleEngine Uses:

PokemonBattleEngineClient Uses:

PokemonBattleEngineDiscord Uses:

PokemonBattleEngineExtras Uses:

About

A C# library that can emulate Pokémon battles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%