rancidEgg21 switch text description

This commit is contained in:
ReznoRMichael 2022-01-20 17:01:27 +01:00
parent c1c1042c3d
commit 485033a387
3 changed files with 15 additions and 4 deletions

View file

@ -2293,7 +2293,10 @@ var DataChecker = /*#__PURE__*/function () {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconGreen)(this.section, entry);
} else {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(this.section, entry);
}
} // Set Steel Soul text description
this.entries[entry].spoiler = this.entries[entry].spoilerSteelSoul;
} // Normal Mode
else {
// playerData.tukDungEgg
@ -2301,7 +2304,10 @@ var DataChecker = /*#__PURE__*/function () {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconGreen)(this.section, entry);
} else {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(this.section, entry);
}
} // Set Normal Mode text description
this.entries[entry].spoiler = this.entries[entry].spoilerNormal;
}
break;

File diff suppressed because one or more lines are too long

View file

@ -2532,16 +2532,21 @@ class DataChecker {
SetIconRed(this.section, entry);
}
// Set Steel Soul text description
this.entries[entry].spoiler = this.entries[entry].spoilerSteelSoul;
}
// Normal Mode
else {
// playerData.tukDungEgg
if (this.playerData[this.entries[entry].idPlayerData] === true) {
SetIconGreen(this.section, entry);
} else {
SetIconRed(this.section, entry);
}
// Set Normal Mode text description
this.entries[entry].spoiler = this.entries[entry].spoilerNormal;
}
break;