55#define Trv_Icon_X 0xB8
66#define Trv_Icon_Y 0x2E
77#include "MSS/Display Growths Options/Display Growths Options.txt"
8-
8+
99 PUSH
1010 ORG 0x205b24 //24 for stat screen
1111 POIN MSS_page1|1 MSS_page2|1 MSS_page3|1 MSS_page4|1
1212
13+ /* Let's not make it 4 pages.
1314 ORG $88690
1415 BYTE 4 //make 4 pages
16+ */
1517
1618 ORG $88650
1719 POIN NewPageNameGraphic
2729
2830 ORG $889d0
2931 SHORT $e010 //Temporary r-text fix to prevent freezing
30- ORG $889f2
32+ ORG $889f2
3133 SHORT $BD30
3234 BL(RText_Page4_ladder) //this has to be in bl range somewhere
3335
4648 ORG $8888C
4749 BYTE 0x82
4850 #endif
49-
51+
5052 ORG $88896
5153 SHORT 0x46C0
5254 jumpToHack(Button_Branch)
53-
55+
5456 //Remember whether we were looking at growths or stats
5557 ORG $8895C //Loads byte to store 1 before stat screen struct
5658 callHack_r1(Load_Page)
57-
59+
5860 ORG $888BC //Stores byte to store 1 before stat screen struct
5961 callHack_r3(Store_Page)
60-
62+
6163 //Display an R-button text about pressing Select, since I can't seem to fit it nicely, and make that the default
6264 ORG $889D8
6365 POIN PersonalDataRText
64-
66+
6567 //HP name color
6668 ORG $86ED4
6769 callHack_r3(HP_Name_Color)
7476
7577 ORG $17E98
7678 callHack_r3(New_Unit_Exp)
77- SHORT 0xE005
78-
79+ SHORT 0xE005
80+
7981 POP
8082 ALIGN 4
8183 MSS_page1:
9092 WORD Growth_Options
9193 POIN Growth_Getter_Table
9294 POIN Get_Palette_Index
93-
95+
9496 ALIGN 4
9597 MSS_page2:
9698 #incbin "MSS/mss_page2_original.dmp"
@@ -117,11 +119,11 @@ NewPageNamePalette:
117119 ALIGN 4
118120 Button_Branch:
119121 #incbin "MSS/Button Branch.dmp"
120-
122+
121123 ALIGN 4
122124 Growth_Getter_Table:
123125 POIN Get_Hp_Growth Get_Str_Growth Get_Skl_Growth Get_Spd_Growth Get_Luk_Growth Get_Def_Growth Get_Res_Growth
124-
126+
125127 ALIGN 4
126128 Get_Hp_Growth:
127129 #incbin "MSS/Growth Getters/Get_Hp_Growth.dmp"
@@ -150,63 +152,63 @@ NewPageNamePalette:
150152 Get_Luk_Growth:
151153 #incbin "MSS/Growth Getters/Get_Luk_Growth.dmp"
152154 POIN Extra_Growth_Boosts|1
153-
155+
154156 ALIGN 4
155157 Extra_Growth_Boosts:
156158 #incbin "MSS/Growth Getters/Extra_Growth_Boosts.dmp"
157159 WORD Growth_Options
158160 POIN ItemTable
159-
161+
160162 ALIGN 4
161163 Load_Page:
162164 #incbin "MSS/Load Page.dmp"
163165 WORD Stat_Page_Ram_Loc
164-
166+
165167 ALIGN 4
166168 Store_Page:
167169 #incbin "MSS/Store Page.dmp"
168170 WORD Stat_Page_Ram_Loc
169171
170-
172+
171173 ALIGN 4
172174 Rescue_Arrows:
173175 #incbin "MSS/Check Rescue Arrows.dmp"
174176 POIN SkillTester
175177 WORD SaviorID
176-
178+
177179 ALIGN 4
178180 Get_Palette_Index:
179181 #incbin "MSS/Get_Palette_Index.dmp"
180182 POIN Growth_Color_Table
181-
183+
182184 ALIGN 4
183185 HP_Name_Color:
184186 #incbin "MSS/HP Name Color.dmp"
185187 POIN New_Palettes
186188 WORD Growth_Options
187189 POIN Get_Hp_Growth
188190 POIN Get_Palette_Index
189-
191+
190192 ALIGN 4
191193 Write_Growths_To_Battle_Struct:
192194 #incbin "MSS/Write_Growths_To_Battle_Struct.dmp"
193195 POIN Class_Level_Cap_Table Get_Hp_Growth Get_Str_Growth Get_Skl_Growth Get_Spd_Growth Get_Def_Growth Get_Res_Growth Get_Luk_Growth
194196 WORD Growth_Options
195-
197+
196198 ALIGN 4
197199 Class_Level_Cap_Table:
198200 #incbin "MSS/Display Growths Options/Class_Level_Cap_Table.dmp"
199-
201+
200202 ALIGN 4
201203 Enemy_Autolevel:
202204 #incbin "MSS/Enemy_Autolevel.dmp"
203205 WORD Growth_Options
204-
206+
205207 ALIGN 4
206208 New_Unit_Exp:
207209 #incbin "MSS/New_Unit_Exp.dmp"
208210 POIN Class_Level_Cap_Table
209-
211+
210212 Growth_Color_Table:
211213 #include "MSS/Display Growths Options/Growth Colors Table.txt"
212214
@@ -219,7 +221,7 @@ NewPageNamePalette:
219221 BYTE 0
220222 ALIGN 4
221223 setText(0x0D4B,TxtData0x0D4B)
222-
224+
223225 /*stat screen R menu is at 8a00b38
224226find by breaking on key press while R menu open
225227
0 commit comments