mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-19 12:08:34 +01:00
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 &= 0xFFF;
|
||||||
temp |= (flags << 12);
|
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 = *(u16 *)(ptr + (y + 1)*64 + (x + i)*2);
|
||||||
temp &= 0xFFF;
|
temp &= 0xFFF;
|
||||||
temp |= (flags << 12);
|
temp |= (flags << 12);
|
||||||
*(u16 *)(ptr + (y + 1)*64 + (x + i)*2) = temp;
|
*(u16 *)(ptr + (y + 1)*64 + (x + i)*2)) = temp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user