summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2022-02-05 06:36:49 -0600
committerSeth Barberee <seth.barberee@gmail.com>2022-02-17 19:06:30 -0600
commitf8d0556b20eaa5546596087084bdba0ff4d6dc44 (patch)
tree9e73d48e26d7e0d7fe9f5c90bbd9dbceeebf73f4
parente2eb257c19ee8335e4eabe032ab3c3b9d5664e96 (diff)
remove redudant casts
-rw-r--r--src/items.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/items.c b/src/items.c
index 6f0e587..d1cd07b 100644
--- a/src/items.c
+++ b/src/items.c
@@ -704,13 +704,13 @@ u32 sub_80913E0(struct ItemSlot* slot, u32 a2, struct subStruct_203B240 ** a3)
u8* typestring;
u32 result;
- InitPokemonMove((struct PokemonMove *)buffer8, move);
+ InitPokemonMove(buffer8, move);
sub_80078A4(a2, 4, 82, 200, 7);
xxx_format_and_draw(4, 84, gPtrTypeText, a2, 0);
- moves_data = GetMoveType((struct PokemonMove *)buffer8);
+ moves_data = GetMoveType(buffer8);
typestring = GetUnformattedTypeString(moves_data);
xxx_format_and_draw(64, 84, typestring, a2, 0);
- result = GetMoveMaxPP((struct PokemonMove *)buffer8);
+ result = GetMoveMaxPP(buffer8);
gUnknown_202DE30 = result;
xxx_format_and_draw(128, 84, gPtrPPD0Text, a2, 0);
}