Update ritual stone reactor script (see PR 135 discussion)

This commit is contained in:
Charlie Unfricht
2022-09-23 17:32:34 -04:00
parent 18fe7b9906
commit 991873dcbe

View File

@@ -1,5 +1,7 @@
function act() {
rm.killMonster(3230300);
rm.killMonster(3230301);
rm.message("The Jr. Boogies have been scared away.");
if (rm.isAllReactorState(1029000, 0x04)) { // 0x04 appears to be the destroyed state
rm.killMonster(3230300);
rm.killMonster(3230301);
rm.playerMessage(6, "Once the rock crumbled, Jr. Boogie was in great pain and disappeared.");
}
}