Fix various other scripts with broken comparisons

This commit is contained in:
P0nk
2022-08-05 22:33:40 +02:00
parent fcdf3d6e1e
commit bfb2c1cb3d
24 changed files with 33 additions and 33 deletions

View File

@@ -36,9 +36,9 @@ function act() {
var eim = rm.getPlayer().getEventInstance();
if (eim != null) {
var status = eim.getProperty("stage1status");
if (status != null && !status.equals("waiting")) {
if (status != null && status !== "waiting") {
var stage = parseInt(eim.getProperty("stage1phase"));
if (status.equals("display")) {
if (status === "display") {
if (!rm.getReactor().isRecentHitFromAttack()) {
var prevCombo = eim.getProperty("stage1combo");
var n = "" + (rm.getReactor().getObjectId() % 1000);