From 991873dcbea71890e40d2bcd4b06186663a227c4 Mon Sep 17 00:00:00 2001 From: Charlie Unfricht Date: Fri, 23 Sep 2022 17:32:34 -0400 Subject: [PATCH] Update ritual stone reactor script (see PR 135 discussion) --- scripts/reactor/1029000.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/reactor/1029000.js b/scripts/reactor/1029000.js index fabf7f8a4f..a59817a399 100644 --- a/scripts/reactor/1029000.js +++ b/scripts/reactor/1029000.js @@ -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."); + } } \ No newline at end of file