diff options
author | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2020-04-02 20:26:16 +0800 |
---|---|---|
committer | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2020-04-02 20:26:16 +0800 |
commit | 61b7b450847ec11372288ba42b131cfa577c7427 (patch) | |
tree | 00f36c13f0d6e420613c688bc74ee04a60b251b2 /src | |
parent | 0fe5ff34dc4d7c0f8dc159514bc477a4b5763435 (diff) | |
parent | 3a0a4385f64b0856f39bf4d46663c75a25c89a1d (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald into nonmatching
Diffstat (limited to 'src')
-rw-r--r-- | src/pokedex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pokedex.c b/src/pokedex.c index 49dfaed00..5b2856301 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -3876,6 +3876,7 @@ static void HighlightScreenSelectBarItem(u8 selectedScreen, u16 unused) for (j = 0; j < 7; j++) { + j++;j--; ptr[row + j] = (ptr[row + j] % 0x1000) | newPalette; ptr[row + j + 0x20] = (ptr[row + j + 0x20] % 0x1000) | newPalette; } @@ -3904,6 +3905,7 @@ static void HighlightSubmenuScreenSelectBarItem(u8 a, u16 b) for (j = 0; j < 7; j++) { + j++;j--; ptr[row + j] = (ptr[row + j] % 0x1000) | newPalette; ptr[row + j + 0x20] = (ptr[row + j + 0x20] % 0x1000) | newPalette; } |