2018-02-02 11:32:12 +00:00
|
|
|
#ifndef GUARD_ITEM_USE_H
|
|
|
|
#define GUARD_ITEM_USE_H
|
|
|
|
|
|
|
|
void ItemUseOutOfBattle_Mail(u8);
|
|
|
|
void ItemUseOutOfBattle_Bike(u8);
|
|
|
|
void ItemUseOutOfBattle_Rod(u8);
|
|
|
|
void ItemUseOutOfBattle_Itemfinder(u8);
|
|
|
|
void ItemUseOutOfBattle_PokeblockCase(u8);
|
|
|
|
void ItemUseOutOfBattle_CoinCase(u8);
|
2023-12-28 10:47:00 +00:00
|
|
|
void ItemUseOutOfBattle_PokemonBoxLink(u8);
|
2018-04-23 23:25:03 +01:00
|
|
|
void ItemUseOutOfBattle_PowderJar(u8);
|
2018-02-02 11:32:12 +00:00
|
|
|
void ItemUseOutOfBattle_SSTicket(u8);
|
|
|
|
void ItemUseOutOfBattle_WailmerPail(u8);
|
|
|
|
void ItemUseOutOfBattle_Medicine(u8);
|
2019-08-17 11:47:25 +01:00
|
|
|
void ItemUseOutOfBattle_AbilityCapsule(u8);
|
2022-05-03 19:14:04 +01:00
|
|
|
void ItemUseOutOfBattle_AbilityPatch(u8);
|
2023-12-27 16:48:17 +00:00
|
|
|
void ItemUseOutOfBattle_Mint(u8);
|
2023-10-08 19:56:09 +01:00
|
|
|
void ItemUseOutOfBattle_ResetEVs(u8);
|
2018-04-23 23:25:03 +01:00
|
|
|
void ItemUseOutOfBattle_ReduceEV(u8);
|
2018-02-02 11:32:12 +00:00
|
|
|
void ItemUseOutOfBattle_SacredAsh(u8);
|
|
|
|
void ItemUseOutOfBattle_PPRecovery(u8);
|
|
|
|
void ItemUseOutOfBattle_PPUp(u8);
|
|
|
|
void ItemUseOutOfBattle_RareCandy(u8);
|
2023-12-27 16:48:17 +00:00
|
|
|
void ItemUseOutOfBattle_DynamaxCandy(u8);
|
2018-02-02 11:32:12 +00:00
|
|
|
void ItemUseOutOfBattle_TMHM(u8);
|
|
|
|
void ItemUseOutOfBattle_Repel(u8);
|
2022-09-12 00:48:27 +01:00
|
|
|
void ItemUseOutOfBattle_Lure(u8);
|
2018-02-02 11:32:12 +00:00
|
|
|
void ItemUseOutOfBattle_EscapeRope(u8);
|
2019-12-22 00:01:38 +00:00
|
|
|
void ItemUseOutOfBattle_BlackWhiteFlute(u8);
|
2018-02-02 11:32:12 +00:00
|
|
|
void ItemUseOutOfBattle_EvolutionStone(u8);
|
2019-12-22 00:01:38 +00:00
|
|
|
void ItemUseOutOfBattle_Berry(u8);
|
|
|
|
void ItemUseOutOfBattle_EnigmaBerry(u8);
|
2021-03-03 19:54:25 +00:00
|
|
|
void ItemUseOutOfBattle_FormChange(u8);
|
|
|
|
void ItemUseOutOfBattle_FormChange_ConsumedOnUse(u8);
|
2023-11-13 20:46:25 +00:00
|
|
|
void ItemUseOutOfBattle_RotomCatalog(u8);
|
|
|
|
void ItemUseOutOfBattle_ZygardeCube(u8);
|
2023-11-23 21:59:51 +00:00
|
|
|
void ItemUseOutOfBattle_Fusion(u8);
|
2022-10-17 00:20:13 +01:00
|
|
|
void ItemUseOutOfBattle_Honey(u8);
|
2019-12-22 00:01:38 +00:00
|
|
|
void ItemUseOutOfBattle_CannotUse(u8);
|
2023-09-08 03:18:18 +01:00
|
|
|
void ItemUseOutOfBattle_ExpShare(u8);
|
2023-04-14 19:25:50 +01:00
|
|
|
void ItemUseInBattle_BagMenu(u8 taskId);
|
|
|
|
void ItemUseInBattle_PartyMenu(u8 taskId);
|
|
|
|
void ItemUseInBattle_PartyMenuChooseMove(u8 taskId);
|
2019-12-22 00:01:38 +00:00
|
|
|
void Task_UseDigEscapeRopeOnField(u8 taskId);
|
2020-03-11 03:13:27 +00:00
|
|
|
u8 CanUseDigOrEscapeRopeOnCurMap(void);
|
2018-02-02 11:32:12 +00:00
|
|
|
u8 CheckIfItemIsTMHMOrEvolutionStone(u16 itemId);
|
2023-11-26 17:58:43 +00:00
|
|
|
void FieldUseFunc_VsSeeker(u8 taskId);
|
|
|
|
void Task_ItemUse_CloseMessageBoxAndReturnToField_VsSeeker(u8 taskId);
|
2023-12-03 12:17:34 +00:00
|
|
|
void DisplayDadsAdviceCannotUseItemMessage(u8 taskId, bool8 isUsingRegisteredKeyItemOnField);
|
2024-10-03 09:52:59 +01:00
|
|
|
void ItemUseOutOfBattle_PokeFlute(u8 taskId);
|
|
|
|
void ItemUseOutOfBattle_TownMap(u8 taskId);
|
2022-04-02 22:09:51 +01:00
|
|
|
|
|
|
|
enum {
|
|
|
|
BALL_THROW_UNABLE_TWO_MONS,
|
|
|
|
BALL_THROW_UNABLE_NO_ROOM,
|
|
|
|
BALL_THROW_UNABLE_SEMI_INVULNERABLE,
|
|
|
|
BALL_THROW_ABLE,
|
2022-09-06 22:00:26 +01:00
|
|
|
BALL_THROW_UNABLE_DISABLED_FLAG,
|
2022-04-02 22:09:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
bool32 CanThrowBall(void);
|
2023-12-24 21:10:01 +00:00
|
|
|
bool32 CannotUseItemsInBattle(u16 itemId, struct Pokemon *mon);
|
2018-02-02 11:32:12 +00:00
|
|
|
|
|
|
|
#endif // GUARD_ITEM_USE_H
|