mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-19 12:08:34 +01:00
Get rid of redundant cast
This commit is contained in:
parent
4018017e9e
commit
438521bf21
@ -5463,7 +5463,7 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 type, u16 evolutionItem)
|
|||||||
if (gEvolutionTable[species][i].param == heldItem)
|
if (gEvolutionTable[species][i].param == heldItem)
|
||||||
{
|
{
|
||||||
heldItem = 0;
|
heldItem = 0;
|
||||||
SetMonData(mon, MON_DATA_HELD_ITEM, (u8 *)&heldItem);
|
SetMonData(mon, MON_DATA_HELD_ITEM, &heldItem);
|
||||||
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user