mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-07 06:35:48 -05:00
fix a type
This commit is contained in:
parent
4580b3fb33
commit
dcbeca2beb
|
|
@ -1578,7 +1578,7 @@ void TeachyTvComputeSingleMapTileBlockFromTilesetAndMetaTiles(u8 *blockBuf, u8 *
|
|||
u16 TeachyTvComputePalIndexArrayEntryByMetaTile(u8 *palIndexArrayBuf, u16 metaTile)
|
||||
{
|
||||
u32 pal;
|
||||
u32 i;
|
||||
u16 i;
|
||||
int firstEntry;
|
||||
int temp;
|
||||
|
||||
|
|
@ -1595,7 +1595,7 @@ u16 TeachyTvComputePalIndexArrayEntryByMetaTile(u8 *palIndexArrayBuf, u16 metaTi
|
|||
{
|
||||
while ( 1 )
|
||||
{
|
||||
i = ((i + 1) << 0x10) >> 0x10;
|
||||
++i;
|
||||
if ( i > 0xF )
|
||||
break;
|
||||
temp = palIndexArrayBuf[i];
|
||||
|
|
@ -1609,7 +1609,7 @@ u16 TeachyTvComputePalIndexArrayEntryByMetaTile(u8 *palIndexArrayBuf, u16 metaTi
|
|||
}
|
||||
}
|
||||
}
|
||||
return (u16)(0xF - i);
|
||||
return (0xF - i);
|
||||
}
|
||||
|
||||
#ifdef NONMATCHING
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user