mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-31 00:13:58 +01:00
if
This commit is contained in:
parent
1771e8b458
commit
70ec55386c
@ -636,8 +636,10 @@ static void sub_80D5070(u8 berryId)
|
||||
{
|
||||
struct CompressedSpritePalette pal;
|
||||
|
||||
if (berryId == ITEM_TO_BERRY(ITEM_ENIGMA_BERRY) - 1)
|
||||
IsEnigmaBerryValid(); // what's the point of calling it if the return value is ignored?
|
||||
if (berryId == ITEM_TO_BERRY(ITEM_ENIGMA_BERRY) - 1 && IsEnigmaBerryValid())
|
||||
{
|
||||
// unknown empty if statement
|
||||
}
|
||||
|
||||
pal.data = gBerryPicTable[berryId].pal;
|
||||
pal.tag = 0x7544;
|
||||
|
Loading…
x
Reference in New Issue
Block a user