Skip to content

Pinsplash/ExpSqueeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpSqueeze

ExpSqueeze finds the average amount of experience in Pokemon that can be gained from a single wild encounter within an encounter table. It prints out data for every encounter table in the specified game at once and the output can easily be externally filtered and sorted to analyze it. ExpSqueeze only considers the most straightforward training possible and does not consider more niche methods like SOS encounters or training on Ditto. ExpSqueeze works for most mainline Pokemon games except Generation 8+.

The files in the pkmndata folder were taken from the PokeAPI database. The exp-gain-stats files were made using tables from Bulbapedia.

ExpSqueeze uses Imgui for its UI.

The data generated by ExpSqueeze can be filtered and manipulated in many different ways to make it easier to find the perfect place to train a pokemon or for other analytical uses.

  • Accounting for factors that change encounter tables, like the time of day.
  • Ability to filter by the types of pokemon.
  • Adjusting calculated experience when repels are used.
  • And a lot more!

How it works

Encounter tables consist of encounter slots. Every slot has a Pokemon, minimum and maximum level, and % chance value. ExpSqueeze finds the average level given the minimum and maximum level, solves the leftmost fraction of the experience gain formula, and then weighs this according to the slot's % chance. This is done for every slot. When the numbers are added up, you get the encounter table's average experience per encounter.

image