mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-04-24 06:47:43 -05:00
20 lines
932 B
C
20 lines
932 B
C
#ifndef POKEHEARTGOLD_SCRIPT_POKEMON_UTIL_H
|
|
#define POKEHEARTGOLD_SCRIPT_POKEMON_UTIL_H
|
|
|
|
#include "map_section.h"
|
|
#include "pokemon.h"
|
|
|
|
BOOL GiveMon(enum HeapID heapID, SaveData *saveData, int species, int level, int form, u8 ability, u16 heldItem, int ball, int encounterType);
|
|
BOOL GiveEgg(enum HeapID heapID, SaveData *saveData, int species, u8 metLocation, MapsecType mapsecType, int mapLoc);
|
|
void PartyMonSetMoveInSlot(Party *party, int mon_slot, int move_slot, u16 moveId);
|
|
int GetIdxOfFirstPartyMonWithMove(Party *party, u16 move);
|
|
int CountAlivePokemon(Party *party);
|
|
Pokemon *GetFirstAliveMonInParty_CrashIfNone(Party *party);
|
|
u8 GetIdxOfFirstAliveMonInParty_CrashIfNone(Party *party);
|
|
Pokemon *GetFirstNonEggInParty(Party *party);
|
|
BOOL HasEnoughAlivePokemonForDoubleBattle(Party *party);
|
|
BOOL ApplyPoisonStep(Party *party, u16 location);
|
|
BOOL SurvivePoisoning(Pokemon *mon);
|
|
|
|
#endif // POKEHEARTGOLD_SCRIPT_POKEMON_UTIL_H
|