Skip to content

Instantly share code, notes, and snippets.

@g0ldPRO
Created June 21, 2016 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save g0ldPRO/ed3d4bea27aac018ded3494d5d70ebcb to your computer and use it in GitHub Desktop.
Save g0ldPRO/ed3d4bea27aac018ded3494d5d70ebcb to your computer and use it in GitHub Desktop.
// API: Check if the PC is open. Moving close the PC, usePC() opens it.
private bool IsPCOpen()
// API: Move to the PC and opens it, refreshing the first box.
private bool UsePC()
// API: Withdraw a pokemon from a known box
private bool WithdrawPokemonFromPC(int boxId, int boxPokemonId)
// API: Deposit a pokemon to the pc
private bool DepositPokemonToPC(int pokemonUid)
// API: Swap a pokemon from the team with a pokemon from the pc
private bool SwapPokemonFromPC(int boxId, int boxPokemonId, int pokemonUid)
// API: Get the active PC Box
private int GetCurrentPCBoxId()
// API: Is the currentPcBox refreshed yet?
private bool IsCurrentPCBoxRefreshed()
// API: Current box size.
private int CurrentPCBoxSize()
// API: Name of the pokemon of the current box matching the ID.
private string GetPokemonNameFromPC(int boxId, int boxPokemonId)
// API: Current HP of the pokemon of the current box matching the ID.
private int GetPokemonCurrentHPFromPC(int boxId, int boxPokemonId)
// API: Max HP of the pokemon of the current box matching the ID.
private int GetPokemonMaxHPFromPC(int boxId, int boxPokemonId)
// API: Total of experience cost of a level for the pokemon of the current box matching the ID.
private int GetPokemonTotalXPFromPC(int boxId, int boxPokemonId)
// API: Remaining experience before the next level of the pokemon of the current box matching the ID.
private int GetPokemonRemainingXPFromPC(int boxId, int boxPokemonId)
// API: Shyniness of the pokemon of the current box matching the ID.
private bool IsPokemonFromPCShiny(int boxId, int boxPokemonId)
// API: Move of the pokemon of the current box matching the ID.
private string GetPokemonMoveFromPC(int boxId, int boxPokemonId, int moveId)
// API: Current move PP of the pokemon of the current box matching the ID.
private int GetPokemonMoveCurrentPPFromPC(int boxId, int boxPokemonId, int moveId);
// API: Max move PP of the pokemon of the current box matching the ID.
private int GetPokemonMoveMaxPPFromPC(int boxId, int boxPokemonId, int moveId);
// API: Nature of the pokemon of the current box matching the ID.
private string GetPokemonNatureFromPC(int boxId, int boxPokemonId);
// API: Ability of the pokemon of the current box matching the ID.
private string GetPokemonAbilityFromPC(int boxId, int boxPokemonId);
// API: Returns the effort value for the specified stat of the specified pokémon in the team.
private int GetPokemonEffortValueFromPC(int boxId, int boxPokemonId, string statType);
// API: Returns the individual value for the specified stat of the specified pokémon in the PC.
private int GetPokemonIndividualValueFromPC(int boxId, int boxPokemonId, string statType);
// API: Happiness of the pokemon of the current box matching the ID.
private int GetPokemonHappinessFromPC(int boxId, int boxPokemonId);
// API: Region of capture of the pokemon of the current box matching the ID.
private string GetPokemonRegionFromPC(int boxId, int boxPokemonId);
// API: Original trainer of the pokemon of the current box matching the ID.
private string GetPokemonOriginalTrainerFromPC(int boxId, int boxPokemonId);
// API: Gender of the pokemon of the current box matching the ID.
private string GetPokemonGenderFromPC(int boxId, int boxPokemonId);
// API: Status of the pokemon of the current box matching the ID.
private string GetPokemonStatusFromPC(int boxId, int boxPokemonId);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment