check Shade Soul Warrior

This commit is contained in:
ReznoRMichael 2022-02-20 14:29:46 +01:00
parent fe7b360403
commit f239a56a19
4 changed files with 11 additions and 41 deletions

View file

@ -960,43 +960,6 @@ function WorldDataActivated(idText, sceneNameText, worldData) {
return false;
}
/**
* Verifies if the data in a specific object are true or false, and appends HTML accordingly. Creates a copy of dataObject.
* @param {object} section ID of the HTML element for data appending
* @param {string} idText Text string inside save data to search for
* @param {object} dataObject Object containing data to be verified
* @param {object} worldData Reference/pointer to specific data where to search
*/
/* function CheckWorldDataTrue(section, idText, dataObject, worldData) {
let orderedArray = [];
let size = ObjectLength(dataObject);
let sFillText = "";
// Order the items before displaying them (creates a copy of dataObject)
for (let i in dataObject) {
orderedArray.push([i, dataObject[i].name, dataObject[i].spoiler, dataObject[i].wiki, false]);
}
// Search for completed items and mark them for display
for (let i = 0, length = worldData.length; i < length; i++) {
for (let j = 0; j < size; j++) {
if (worldData[i].id === idText && worldData[i].sceneName === orderedArray[j][0] && worldData[i].activated === true) {
orderedArray[j][4] = true;
}
}
}
// Display the items as they were initially ordered
for (let i = 0; i < size; i++) {
SetIconRed();
if (orderedArray[i][4] === true) SetIconGreen(section);
sFillText += PrepareHTMLString(section, orderedArray[i][1], orderedArray[i][2], orderedArray[i][3]);
}
// AppendHTML(section, sFillText);
} */
/**
* Verifies if the data in a specific section is true or false, or checks what values they have.
* @param {object} section Reference/pointer to the specific section of the whole hk-database
@ -1285,6 +1248,7 @@ function CheckAdditionalThings(section, saveFile) {
case "paleOreColosseum": // #6
case "pantheonSoulWarrior":
case "shadeSoulWarrior":
case "pantheonCrystalGuardian":
case "pantheonEnragedGuardian":
case "mantisVillageFloorLever":
@ -4535,7 +4499,6 @@ var HK = {
description: "All things that don't count directly towards 112% Game Completion, but are required to achieve a large part of 112% points.",
entries: {
/*
Soul Warrior 2 (Shade Soul)
Absolute Radiance (for P5, achievements)
Sisters of Battle (for P5, achievements)
Winged Nosk (for P5, achievements)
@ -4813,7 +4776,14 @@ var HK = {
spoiler: "City of Tears: Soul Sanctum",
id: "Battle Scene v2",
sceneName: "Ruins1_23",
wiki: "Soul_Warrior"
wiki: "Soul_Warrior#Location"
},
shadeSoulWarrior: {
name: "Shade Soul Warrior",
spoiler: "City of Tears: Soul Sanctum, use Elegant Key",
id: "Battle Scene v2",
sceneName: "Ruins1_31",
wiki: "Shade_Soul#How_to_Acquire"
},
pantheonCrystalGuardian: {
name: "P2 Crystal Guardian",

File diff suppressed because one or more lines are too long

View file

@ -1424,6 +1424,7 @@ function CheckAdditionalThings(section, saveFile) {
case "paleOreGrubfather": // #5
case "paleOreColosseum": // #6
case "pantheonSoulWarrior":
case "shadeSoulWarrior":
case "pantheonCrystalGuardian":
case "pantheonEnragedGuardian":
case "mantisVillageFloorLever":

View file

@ -1071,7 +1071,6 @@ const HK = {
description: "All things that don't count directly towards 112% Game Completion, but are required to achieve a large part of 112% points.",
entries: {
/*
Soul Warrior 2 (Shade Soul)
Absolute Radiance (for P5, achievements)
Sisters of Battle (for P5, achievements)
Winged Nosk (for P5, achievements)