summaryrefslogtreecommitdiff
path: root/src/pokedex_area_screen.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-12-26 10:07:56 -0600
committerGitHub <noreply@github.com>2018-12-26 10:07:56 -0600
commit7480a41cfe9b7d871e7217e4f46378fa4ccda8cd (patch)
tree14996bf160fc925f34692bd838cd01a03e8a7bf4 /src/pokedex_area_screen.c
parent2dd706ca5410d98ad214ceff7026d6db276f4d5a (diff)
parentb9ad5de8a044623b9d4d76307a76c00e2fcf0da6 (diff)
Merge pull request #482 from DizzyEggg/bg
Fix raw SetGpuReg and SetBgAttribute args
Diffstat (limited to 'src/pokedex_area_screen.c')
-rwxr-xr-xsrc/pokedex_area_screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokedex_area_screen.c b/src/pokedex_area_screen.c
index 30a127c71..a268b5382 100755
--- a/src/pokedex_area_screen.c
+++ b/src/pokedex_area_screen.c
@@ -533,7 +533,7 @@ static void Task_PokedexAreaScreen_0(u8 taskId)
HideBg(0);
break;
case 1:
- SetBgAttribute(3, BG_CTRL_ATTR_VISIBLE, 3);
+ SetBgAttribute(3, BG_ATTR_CHARBASEINDEX, 3);
sub_81C4D70(&sUnknown_085B4018);
StringFill(sPokedexAreaScreen->charBuffer, CHAR_SPACE, 16);
break;
@@ -628,8 +628,8 @@ static void Task_PokedexAreaScreen_1(u8 taskId)
static void sub_813D6B4(void)
{
- SetBgAttribute(3, BG_CTRL_ATTR_VISIBLE, 0);
- SetBgAttribute(3, BG_CTRL_ATTR_SCREENSIZE, 0);
+ SetBgAttribute(3, BG_ATTR_CHARBASEINDEX, 0);
+ SetBgAttribute(3, BG_ATTR_PALETTEMODE, 0);
}
static void CreateAreaMarkerSprites(void)