mirror of https://github.com/pret/pokeemerald.git
Fix error
This commit is contained in:
parent
987ef556e5
commit
5a375b9236
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue