summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-09-02 13:40:22 -0400
committerPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-09-04 19:49:52 -0400
commit5a375b92362961135c10d46c46676dcd2e35764f (patch)
tree5d60e41d24583d1284ecb09e35f829d06fdd27ae /src
parent987ef556e5989dbba5abb93c7d2c7450058d1cee (diff)
Fix error
Diffstat (limited to 'src')
-rw-r--r--src/pokedex.c4
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;
}
}