Prevent text glitch if a pokemon has an unspecified custom evolution
This commit is contained in:
parent
475bb8a624
commit
347a173402
@ -638,6 +638,7 @@ extern const u8 gText_EVO_SPECIFIC_MON_IN_PARTY[];
|
||||
extern const u8 gText_EVO_LEVEL_DARK_TYPE_MON_IN_PARTY[];
|
||||
extern const u8 gText_EVO_TRADE_SPECIFIC_MON[];
|
||||
extern const u8 gText_EVO_SPECIFIC_MAP[];
|
||||
extern const u8 gText_EVO_UNKNOWN[];
|
||||
extern const u8 gText_EVO_NONE[];
|
||||
|
||||
extern const u8 gText_FORMS_Buttons_PE[];
|
||||
|
||||
@ -7771,6 +7771,9 @@ static u8 PrintEvolutionTargetSpeciesAndMethod(u8 taskId, u16 species, u8 depth,
|
||||
StringExpandPlaceholders(gStringVar4, gText_EVO_SPECIFIC_MAP );
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
StringExpandPlaceholders(gStringVar4, gText_EVO_UNKNOWN );
|
||||
break;
|
||||
}//Switch end
|
||||
PrintInfoScreenTextSmall(gStringVar4, base_x + depth_x*depth+base_x_offset, base_y + base_y_offset*base_i); //Print actual instructions
|
||||
|
||||
|
||||
@ -1924,6 +1924,7 @@ const u8 gText_EVO_SPECIFIC_MON_IN_PARTY[] = _("LvlUp with {STR_VAR_2}
|
||||
const u8 gText_EVO_LEVEL_DARK_TYPE_MON_IN_PARTY[] = _("LvlUp with dark type in party");
|
||||
const u8 gText_EVO_TRADE_SPECIFIC_MON[] = _("Traded for {STR_VAR_2}");
|
||||
const u8 gText_EVO_SPECIFIC_MAP[] = _("LvlUp on {STR_VAR_2}");
|
||||
const u8 gText_EVO_UNKNOWN[] = _("Method unknown");
|
||||
const u8 gText_EVO_NONE[] = _("{STR_VAR_1} has no evolution.");
|
||||
|
||||
const u8 gText_FORMS_Buttons_PE[] = _("{A_BUTTON}EVOLUTIONS");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user