Don't do DP english->jpn bug for BDSP

This commit is contained in:
Kurt 2021-12-26 00:06:10 -08:00
parent 192ef23052
commit b348e38a3e

View file

@ -37,12 +37,9 @@
base.ApplyDetails(sav, criteria, pk);
var pb8 = (PB8)pk;
// Has German Language ID for all except German origin, which is English
// Has German Language ID for all except German origin, which is Japanese
if (Species == (int)Core.Species.Magikarp)
pb8.Language = (int)(pb8.Language == (int)LanguageID.German ? LanguageID.English : LanguageID.German);
// All other trades received: English games have a Japanese language ID instead of English.
else if (pb8.Language == (int)LanguageID.English)
pb8.Language = (int)LanguageID.Japanese;
pb8.Language = (int)(pb8.Language == (int)LanguageID.German ? LanguageID.Japanese : LanguageID.German);
this.CopyContestStatsTo(pb8);
pb8.HT_Language = sav.Language;