summaryrefslogtreecommitdiff
path: root/src/pokenav_main_menu.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-11-03 09:28:45 -0500
committerGitHub <noreply@github.com>2020-11-03 09:28:45 -0500
commit99dd461befcfe3bef3ce188fea2fb372c2f21b98 (patch)
tree2b0198d394186c371987f018677d12f929a66a44 /src/pokenav_main_menu.c
parent9e55ae22b19d58eca8fc0cdd2fcea9f2cca14319 (diff)
parentca950a8daf6dd95ab5dacc51f250fea7b605361c (diff)
Merge pull request #1189 from aaaaaa123456789/reverts
Undo PokeCodec's PRs and port changes
Diffstat (limited to 'src/pokenav_main_menu.c')
-rw-r--r--src/pokenav_main_menu.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pokenav_main_menu.c b/src/pokenav_main_menu.c
index 806300539..009cf783f 100644
--- a/src/pokenav_main_menu.c
+++ b/src/pokenav_main_menu.c
@@ -438,7 +438,6 @@ static u32 LoopedTask_SlideMenuHeaderDown(s32 a0)
ChangeBgY(0, 0, 0);
return LT_FINISH;
}
-
return LT_PAUSE;
}
@@ -459,9 +458,11 @@ void Pokenav_AllocAndLoadPalettes(const struct SpritePalette *palettes)
{
break;
}
-
- index = (index * 16) + 0x100;
- CopyPaletteIntoBufferUnfaded(current->data, index, 0x20);
+ else
+ {
+ index = (index * 16) + 0x100;
+ CopyPaletteIntoBufferUnfaded(current->data, index, 0x20);
+ }
}
}