Godmaster backwards compatibility
This commit is contained in:
parent
2029fc0231
commit
adaaedb8ea
3 changed files with 29 additions and 1 deletions
15
build/app.js
15
build/app.js
|
|
@ -944,6 +944,21 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
|
|||
|
||||
break;
|
||||
|
||||
case "killedNailBros":
|
||||
case "killedPaintmaster":
|
||||
case "killedNailsage":
|
||||
if (playerData.hasOwnProperty(i) === false) {
|
||||
CurrentDataBlank();
|
||||
textPrefix = "<del>".concat(textPrefix, "</del>");
|
||||
textSuffix = "<del>".concat(textSuffix, "</del>");
|
||||
} else if (playerData[i] === true) {
|
||||
CurrentDataTrue();
|
||||
} else {
|
||||
CurrentDataFalse();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "mrMushroomState":
|
||||
sFillText += CheckMrMushroomState(divId, dataObject[i], playerData[i]);
|
||||
break;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -989,6 +989,19 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
|
|||
textSuffix = dataObject[i].spoilerUpgradeNail;
|
||||
}
|
||||
break;
|
||||
case "killedNailBros":
|
||||
case "killedPaintmaster":
|
||||
case "killedNailsage":
|
||||
if (playerData.hasOwnProperty(i) === false) {
|
||||
CurrentDataBlank();
|
||||
textPrefix = `<del>${textPrefix}</del>`;
|
||||
textSuffix = `<del>${textSuffix}</del>`;
|
||||
} else if (playerData[i] === true) {
|
||||
CurrentDataTrue();
|
||||
} else {
|
||||
CurrentDataFalse();
|
||||
}
|
||||
break;
|
||||
case "mrMushroomState":
|
||||
sFillText += CheckMrMushroomState(divId, dataObject[i], playerData[i]);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue