mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-25 07:29:01 -05:00
* Clean up and finish documenting `unk_02096420` * Rename `unk_02096420` -> `party_use_item` * Use macros, rename functions to match first arg * Rename `party_use_item` -> `item_use_pokemon`
14 lines
628 B
C
14 lines
628 B
C
#ifndef POKEPLATINUM_ITEM_USE_POKEMON_H
|
|
#define POKEPLATINUM_ITEM_USE_POKEMON_H
|
|
|
|
#include "party.h"
|
|
#include "pokemon.h"
|
|
|
|
u8 Pokemon_CheckItemEffects(Pokemon *mon, u16 itemId, u16 moveSlot, enum HeapId heapID);
|
|
u8 Pokemon_ApplyItemEffects(Pokemon *mon, u16 itemId, u16 moveSlot, u16 location, enum HeapId heapID);
|
|
u8 Party_CheckItemEffectsOnMember(Party *party, u16 itemId, u8 partySlot, u8 moveSlot, enum HeapId heapID);
|
|
u8 Party_ApplyItemEffectsToMember(Party *party, u16 itemId, u8 partySlot, u8 moveSlot, u16 location, enum HeapId heapID);
|
|
void Party_HealAllMembers(Party *party);
|
|
|
|
#endif // POKEPLATINUM_ITEM_USE_POKEMON_H
|