diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pokedex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokedex.c b/src/pokedex.c index 94f090891..606642221 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -5248,12 +5248,12 @@ void SetSearchRectHighlight(u8 flags, u8 x, u8 y, u8 width) temp &= 0xFFF; temp |= (flags << 12); - *(u16 *)(ptr + (y*64 + (x + i)*2) = temp; + *(u16 *)(ptr + (y*64 + (x + i)*2)) = temp; temp = *(u16 *)(ptr + (y + 1)*64 + (x + i)*2); temp &= 0xFFF; temp |= (flags << 12); - *(u16 *)(ptr + (y + 1)*64 + (x + i)*2) = temp; + *(u16 *)(ptr + (y + 1)*64 + (x + i)*2)) = temp; } } |