From b484a215fb5be35a0930b9aa2349fdb041efa80f Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sat, 28 Oct 2023 15:22:07 -0300 Subject: [PATCH] Scrollbar moved to the left --- graphics/pokedex/hgss/tilemap_list_screen.bin | Bin 1280 -> 1280 bytes graphics/pokedex/hgss/tileset_menu_list.png | Bin 1538 -> 1553 bytes src/pokedex_plus_hgss.c | 20 +++++++++--------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/graphics/pokedex/hgss/tilemap_list_screen.bin b/graphics/pokedex/hgss/tilemap_list_screen.bin index be59b03594715e31558646290d281cfe32a28f3b..ab4ce179a4082fe18743159ec2429cf3710ccfa7 100644 GIT binary patch delta 13 UcmZqRYT%mCFtJHuzXRYrm?lyH&SU~G7+aBnu5%rpUj0|F z(tpqZ&;j&w?U#AAP1NH$HKClEN@<{#EiZb^)&b=5j7uk~PL$PCQCMRnz9s+64Ho*{pM>M!5fYkfZY5qcY z5M%()>EL93f9+fsqfdBy4cLBuN`F9y0iduUB z>X@`M2bjiv4^UK^&Z7eWMd#TA86^S4=Ck4`^PK|#R1<&;z!k*&SqFa^0DKw5?Ii%m z1V!h@3DeoukVdiG3yptmt7$SOYYPkSFV_-LeI-*kmb@L?vy~nnX4#3=)0f=I2aPm1wxu_H6TnMsz zNA@l@6F)$O)og9+a!~+uaMDHq&KdDpHqlwOl6K-FXT_PVsk2*B9-y8!q4zCed|9}$0w%P7|@=K2!=VB(lainf*j z)TK*x76qVh9U3SG1%NKVp^192G*>8jpn4KYA}RSqmlS}K3pTshvTJ!-XP82WtUu7z z^i)?8Ny#U=L@gyK7v%rffSt%aYmS5C8xG M07*qoM6N<$f?a)eyZ`_I delta 1337 zcmV-91;+Z341x@hBn<>-K}|sb0I`mI`%#mTAwB{HeUW{De}*GE0IgOPO|N?f(3^{;^vj-JCA0I?4NtOi;F0Z5rj0UZ9-btLI1(?n{C(g@v{ znSjq5f*SxOe+@+gAexyup*6%50G|Tfl_3D00N{H7F+2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6m-+m@ z*hD~?P)8pokedexList[entryNum].owned, MON_LIST_X, i * 2, ignored); - CreateMonName(sPokedexView->pokedexList[entryNum].dexNum, MON_LIST_X+5, i * 2); + CreateMonName(sPokedexView->pokedexList[entryNum].dexNum, MON_LIST_X + 5, i * 2); } else { CreateMonDexNum(entryNum, MON_LIST_X+1, i * 2, ignored); CreateCaughtBall(FALSE, MON_LIST_X, i * 2, ignored); - CreateMonName(0, MON_LIST_X+5, i * 2); + CreateMonName(0, MON_LIST_X + 5, i * 2); } } entryNum++; @@ -2755,13 +2755,13 @@ static void CreateMonListEntry(u8 position, u16 b, u16 ignored) { CreateMonDexNum(entryNum, MON_LIST_X+1, sPokedexView->listVOffset * 2, ignored); CreateCaughtBall(sPokedexView->pokedexList[entryNum].owned, MON_LIST_X, sPokedexView->listVOffset * 2, ignored); - CreateMonName(sPokedexView->pokedexList[entryNum].dexNum, MON_LIST_X+5, sPokedexView->listVOffset * 2); + CreateMonName(sPokedexView->pokedexList[entryNum].dexNum, MON_LIST_X + 5, sPokedexView->listVOffset * 2); } else { CreateMonDexNum(entryNum, MON_LIST_X+1, sPokedexView->listVOffset * 2, ignored); CreateCaughtBall(FALSE, MON_LIST_X, sPokedexView->listVOffset * 2, ignored); - CreateMonName(0, MON_LIST_X+5, sPokedexView->listVOffset * 2); + CreateMonName(0, MON_LIST_X + 5, sPokedexView->listVOffset * 2); } } break; @@ -2779,13 +2779,13 @@ static void CreateMonListEntry(u8 position, u16 b, u16 ignored) { CreateMonDexNum(entryNum, MON_LIST_X+1, vOffset * 2, ignored); CreateCaughtBall(sPokedexView->pokedexList[entryNum].owned, MON_LIST_X, vOffset * 2, ignored); - CreateMonName(sPokedexView->pokedexList[entryNum].dexNum, MON_LIST_X+5, vOffset * 2); + CreateMonName(sPokedexView->pokedexList[entryNum].dexNum, MON_LIST_X + 5, vOffset * 2); } else { CreateMonDexNum(entryNum, MON_LIST_X+1, vOffset * 2, ignored); CreateCaughtBall(FALSE, MON_LIST_X, vOffset * 2, ignored); - CreateMonName(0, MON_LIST_X+5, vOffset * 2); + CreateMonName(0, MON_LIST_X + 5, vOffset * 2); } } break; @@ -2802,9 +2802,9 @@ static void CreateMonDexNum(u16 entryNum, u8 left, u8 top, u16 unused) dexNum = sPokedexView->pokedexList[entryNum].dexNum; if (sPokedexView->dexMode == DEX_MODE_HOENN) dexNum = NationalToHoennOrder(dexNum); - text[2] = CHAR_0 + dexNum / 100; - text[3] = CHAR_0 + (dexNum % 100) / 10; - text[4] = CHAR_0 + (dexNum % 100) % 10; + text[2] = CHAR_0 + dexNum / 100; + text[3] = CHAR_0 + (dexNum % 100) / 10; + text[4] = CHAR_0 + (dexNum % 100) % 10; PrintMonDexNumAndName(0, FONT_NARROW, text, left, top); } @@ -3165,7 +3165,7 @@ static void CreateInterfaceSprites(u8 page) gSprites[spriteId].sIsDownArrow = TRUE; gSprites[spriteId].vFlip = TRUE; - CreateSprite(&sScrollBarSpriteTemplate, 8, 20, 0); + CreateSprite(&sScrollBarSpriteTemplate, 6, 20, 0); if (!IsNationalPokedexEnabled() && page == PAGE_MAIN) {