Code

Here lie all of the docstrings in the PokemonBattle.jl codebase.

PokemonBattle.boutMethod

Run a full bout of combat until one combatant is victorious. Return that combatant and the final battle state

PokemonBattle.domoveMethod

Do the move.

Check if mons need switched after move result. If other (the non-acting) pkmn switched, return true.

PokemonBattle.turnMethod
turn(b::Battle, move::Int)::Battle

Do one full turn of battle. Use move as the selected player move.