From 17a6ab37944e3cc9fc98ee93262bd4385bf4e626 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Sat, 26 Feb 2022 13:21:40 -0500 Subject: Decomped CanUseOnTargetWithStatusChecker() --- include/moves.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/moves.h') diff --git a/include/moves.h b/include/moves.h index 44b324b..b612e69 100644 --- a/include/moves.h +++ b/include/moves.h @@ -18,7 +18,7 @@ s32 GetMoveAccuracy(struct PokemonMove *move, u32 accuracyType); u32 GetMoveMaxPP(struct PokemonMove *move); u8 GetMoveUnk12(struct PokemonMove *move); u8 GetMoveCriticalHitChance(struct PokemonMove *move); -u8 GetMoveCannotHitFrozen(struct PokemonMove *move); +u8 MoveCannotHitFrozen(struct PokemonMove *move); u8 MoveDealsDirectDamage(struct PokemonMove *move); u32 GetMoveRangeType(struct PokemonMove *move); void sub_8092C84(u8 *buffer, u16 moveID); -- cgit v1.2.3 From 458001dbbdb9c11a129cfe4286b536cfefc349f0 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Wed, 9 Mar 2022 22:19:20 -0500 Subject: Decomped IsMoveUsable() --- include/moves.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/moves.h') diff --git a/include/moves.h b/include/moves.h index b612e69..a811f0b 100644 --- a/include/moves.h +++ b/include/moves.h @@ -18,14 +18,14 @@ s32 GetMoveAccuracy(struct PokemonMove *move, u32 accuracyType); u32 GetMoveMaxPP(struct PokemonMove *move); u8 GetMoveUnk12(struct PokemonMove *move); u8 GetMoveCriticalHitChance(struct PokemonMove *move); -u8 MoveCannotHitFrozen(struct PokemonMove *move); -u8 MoveDealsDirectDamage(struct PokemonMove *move); +bool8 MoveCannotHitFrozen(struct PokemonMove *move); +bool8 MoveDealsDirectDamage(struct PokemonMove *move); u32 GetMoveRangeType(struct PokemonMove *move); void sub_8092C84(u8 *buffer, u16 moveID); u8 *GetMoveUseText(u16 moveID); -u8 GetMoveAffectedByMagicCoat(u16 moveID); -u8 GetMoveTargetsUser(u16 moveID); -u8 GetMoveAffectedByMuzzled(u16 moveID); +bool8 GetMoveAffectedByMagicCoat(u16 moveID); +bool8 GetMoveTargetsUser(u16 moveID); +bool8 GetMoveAffectedByMuzzled(u16 moveID); bool8 IsBlockedBySoundproof(struct PokemonMove *move); bool8 DoesMoveCharge(u16 move); -- cgit v1.2.3 From 64651ef8188a0b3fd269959046914990181f9c27 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Thu, 10 Mar 2022 22:59:38 -0500 Subject: Renamed move boolean functions --- include/moves.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/moves.h') diff --git a/include/moves.h b/include/moves.h index a811f0b..24b5249 100644 --- a/include/moves.h +++ b/include/moves.h @@ -23,9 +23,9 @@ bool8 MoveDealsDirectDamage(struct PokemonMove *move); u32 GetMoveRangeType(struct PokemonMove *move); void sub_8092C84(u8 *buffer, u16 moveID); u8 *GetMoveUseText(u16 moveID); -bool8 GetMoveAffectedByMagicCoat(u16 moveID); -bool8 GetMoveTargetsUser(u16 moveID); -bool8 GetMoveAffectedByMuzzled(u16 moveID); +bool8 MoveAffectedByMagicCoat(u16 moveID); +bool8 MoveTargetsUser(u16 moveID); +bool8 MoveAffectedByMuzzled(u16 moveID); bool8 IsBlockedBySoundproof(struct PokemonMove *move); bool8 DoesMoveCharge(u16 move); -- cgit v1.2.3