@@ -1098,24 +1098,24 @@ static void PrintTrainerMemo(Window *window, Pokemon *mon, BOOL monOTMatches)
1098
1098
{
1099
1099
PokemonInfoDisplayStruct * infoDisplay = sub_02092494 (mon , monOTMatches , HEAP_ID_POKEMON_SUMMARY_SCREEN );
1100
1100
1101
- if (infoDisplay -> notepad . nature != NULL ) {
1102
- Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> notepad . nature , 0 , (infoDisplay -> notepad . natureLine - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1101
+ if (infoDisplay -> nature . string != NULL ) {
1102
+ Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> nature . string , 0 , (infoDisplay -> nature . line - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1103
1103
}
1104
1104
1105
- if (infoDisplay -> notepad . dateLocationMet != NULL ) {
1106
- Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> notepad . dateLocationMet , 0 , (infoDisplay -> notepad . dateLocationMetLine - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1105
+ if (infoDisplay -> metDateAndLocation . string != NULL ) {
1106
+ Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> metDateAndLocation . string , 0 , (infoDisplay -> metDateAndLocation . line - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1107
1107
}
1108
1108
1109
- if (infoDisplay -> notepad . characteristic != NULL ) {
1110
- Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> notepad . characteristic , 0 , (infoDisplay -> notepad . characteristicLine - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1109
+ if (infoDisplay -> characteristic . string != NULL ) {
1110
+ Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> characteristic . string , 0 , (infoDisplay -> characteristic . line - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1111
1111
}
1112
1112
1113
- if (infoDisplay -> notepad . flavorPreference != NULL ) {
1114
- Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> notepad . flavorPreference , 0 , (infoDisplay -> notepad . flavorPreferenceLine - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1113
+ if (infoDisplay -> flavorPreference . string != NULL ) {
1114
+ Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> flavorPreference . string , 0 , (infoDisplay -> flavorPreference . line - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1115
1115
}
1116
1116
1117
- if (infoDisplay -> notepad . eggWatch != NULL ) {
1118
- Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> notepad . eggWatch , 0 , (infoDisplay -> notepad . eggWatchLine - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1117
+ if (infoDisplay -> eggWatch . string != NULL ) {
1118
+ Text_AddPrinterWithParamsAndColor (window , FONT_SYSTEM , infoDisplay -> eggWatch . string , 0 , (infoDisplay -> eggWatch . line - 1 ) * 16 , TEXT_SPEED_NO_TRANSFER , SUMMARY_TEXT_BLACK , NULL );
1119
1119
}
1120
1120
1121
1121
sub_0209282C (infoDisplay );
0 commit comments