hive knight backwards compatibility

This commit is contained in:
ReznoRMichael 2021-02-16 02:06:17 +01:00
parent e4dd0ca37a
commit d5f3b832d6
2 changed files with 2 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -575,6 +575,7 @@ function CheckIfDataTrue(divId, dataObject, playerData) {
case "gotCharm_40":
case "killedGrimm":
case "grimmChildLevel":
case "killedHiveKnight":
// fades out the entries if save file is from older game versions
if (!playerData.hasOwnProperty(i)) {
CurrentDataBlank();
@ -1283,9 +1284,6 @@ function InitialHTMLPopulate(divIdObj) {
FillHTML(divIdObj.spells, HK.SPELLS[i].name, HK.SPELLS[i].spoiler);
}
// Nightmare King Grimm / Banishment Misc
FillHTML(divIdObj.grimmTroupe, "Nightmare King Grimm / Banishment", "Dirtmouth or Howling Cliffs");
// Godmaster Doors Misc
for (let i in HK.GODMASTER_DOORS) {
FillHTML(divIdObj.godmaster, HK.GODMASTER_DOORS[i].name, HK.GODMASTER_DOORS[i].spoiler);