mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
Remove redundant statements
This commit is contained in:
parent
cab3728e96
commit
6c07031c85
@ -55,12 +55,10 @@ const struct SpriteTemplate gItemIconSpriteTemplate =
|
|||||||
// code
|
// code
|
||||||
bool8 AllocItemIconTemporaryBuffers(void)
|
bool8 AllocItemIconTemporaryBuffers(void)
|
||||||
{
|
{
|
||||||
gItemIconDecompressionBuffer = gItemIconDecompressionBuffer; // needed to match
|
|
||||||
gItemIconDecompressionBuffer = Alloc(0x120);
|
gItemIconDecompressionBuffer = Alloc(0x120);
|
||||||
if (gItemIconDecompressionBuffer == NULL)
|
if (gItemIconDecompressionBuffer == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
gItemIcon4x4Buffer = gItemIcon4x4Buffer; // needed to match
|
|
||||||
gItemIcon4x4Buffer = AllocZeroed(0x200);
|
gItemIcon4x4Buffer = AllocZeroed(0x200);
|
||||||
if (gItemIcon4x4Buffer == NULL)
|
if (gItemIcon4x4Buffer == NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user