Skip to content

Add an Interpreter command to guess the Hidden Power type of a Pokemon

Rey requested to merge TheRey/pokemonsdk:demo/hidden_power_checker into development

MR Description

  • This MR adds an Interpreter command which help in setting up a NPC able to tell the Hidden Power type of a given Pokémon.

Notes to acknowledge before testing

  • This new method uses calculation methods already available in the Battle Engine. This means that any problem that could occur during the calculation of the type isn't due to this MR but comes from the Hidden Power class of the Battle Engine.

Tests to realize

  • Create an event with the pokemon_hidden_power(index_or_pokemon) method

  • Replace the index_or_pokemon by the index of the tested Pokemon in the team (starting at 0): the method should send back the Symbol of the type.

  • Replace the index_or_pokemon by the tested Pokemon: the method should send back the Symbol of the type.

  • Test that the calculation are the right one. Not that it is flawed, but let's be cautious.

Edited by Zøzo

Merge request reports