Browse Source

fix weight/size positions

SBird1337 6 years ago
parent
commit
f1ff253d38
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/pokedex/pokedex_detail.c

+ 2
- 2
src/pokedex/pokedex_detail.c View File

@@ -98,7 +98,7 @@ void dexdetail_load_pokemon(u16 dexindex, enum DexFormType formType) {
98 98
     pstrcat(string_buffer, pdex_str_weight_unit);
99 99
     u16 weightTwidth = font_get_width_of_string(FONT_DEX_STD, string_buffer, 0x0000);
100 100
 
101
-    rboxid_print(TB_PKSIZE, FONT_DEX_STD, TB_STD_RIGHT(weightTwidth, TB_SW_W * 8) - 6, 1, &pdex_text_color, 0,
101
+    rboxid_print(TB_PKSIZE, FONT_DEX_STD, TB_STD_RIGHT(weightTwidth, TB_SW_W * 8) - 6, 14, &pdex_text_color, 0,
102 102
                  string_buffer);
103 103
 
104 104
     u16 sizeNumber = pokedex_data[dexindex].height / 10;
@@ -109,7 +109,7 @@ void dexdetail_load_pokemon(u16 dexindex, enum DexFormType formType) {
109 109
     pstrcat(string_buffer, buffer);
110 110
     pstrcat(string_buffer, pdex_str_size_unit);
111 111
 
112
-    rboxid_print(TB_PKSIZE, FONT_DEX_STD, TB_STD_RIGHT(weightTwidth, TB_SW_W * 8) - 6, 14, &pdex_text_color, 0,
112
+    rboxid_print(TB_PKSIZE, FONT_DEX_STD, TB_STD_RIGHT(weightTwidth, TB_SW_W * 8) - 6, 1, &pdex_text_color, 0,
113 113
                  string_buffer);
114 114
 
115 115
     rboxid_print(TB_DESC, FONT_DEX_STD, 3, 2, &pdex_text_color, 0, pokedex_data[dexindex].description1);