diff --git a/Codes.xml b/Codes.xml
index 31923a3..054ab14 100644
--- a/Codes.xml
+++ b/Codes.xml
@@ -1253,10 +1253,408 @@
The timer pauses during loading times and FMVs.
:::
-
-
-
-
+
+
+
+
loader
@@ -3699,6 +4097,17 @@
現時点ではクッパ戦で最後の足場を破壊するとやり直しできません。
:::
-
+
diff --git a/scripts/inject_codes.js b/scripts/inject_codes.js
index 876a227..b3edd6f 100644
--- a/scripts/inject_codes.js
+++ b/scripts/inject_codes.js
@@ -107,7 +107,8 @@ const validateXML = (xmlString) => {
// Each source has a valid length
for (let j = 0; j < codeSources.length; j++) {
if (
- codeSources[j].textContent.replace(/[\s\n\r\t]+/gm, '').length % 16 != 0
+ codeSources[j].textContent.replace(/[\s\n\r\t]+/gm, '').length % 16 != 0 ||
+ codeSources[j].textContent.replace(/[\s\n\r\t]+/gm, '').length < 16
)
throw new Error(
`Invalid source length for code '${codeTitle.textContent}' and version ${