Fix error

This commit is contained in:
PokeCodec 2020-09-02 13:40:22 -04:00
parent 987ef556e5
commit 5a375b9236
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}