aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/agos.h2
-rw-r--r--engines/agos/debug.h2
-rw-r--r--engines/agos/script_e2.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index 2ffd5c92cd..2913671cb6 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -1333,7 +1333,7 @@ public:
void oe2_ifExitOpen();
void oe2_ifExitClosed();
void oe2_ifExitLocked();
- void oe2_unk174();
+ void oe2_playEffect();
void oe2_getDollar2();
void oe2_setSRExit();
void oe2_unk177();
diff --git a/engines/agos/debug.h b/engines/agos/debug.h
index 0cd22b7797..26f124d6b2 100644
--- a/engines/agos/debug.h
+++ b/engines/agos/debug.h
@@ -603,7 +603,7 @@ static const char *const elvira2_opcodeNameTable[256] = {
/* 172 */
"IWBJ|IF_EXIT_CLOSED",
"IWBJ|IF_EXIT_LOCKED",
- "W|UNK_174",
+ "W|PLAY_EFFECT",
"|getDollar2",
/* 176 */
"IWBB|SET_SUPER_ROOM_EXIT",
diff --git a/engines/agos/script_e2.cpp b/engines/agos/script_e2.cpp
index fde83814d0..ac278a6426 100644
--- a/engines/agos/script_e2.cpp
+++ b/engines/agos/script_e2.cpp
@@ -249,7 +249,7 @@ void AGOSEngine_Elvira2::setupOpcodes() {
/* 172 */
OPCODE(oe2_ifExitClosed),
OPCODE(oe2_ifExitLocked),
- OPCODE(oe2_unk174),
+ OPCODE(oe2_playEffect),
OPCODE(oe2_getDollar2),
/* 176 */
OPCODE(oe2_setSRExit),
@@ -597,10 +597,10 @@ void AGOSEngine_Elvira2::oe2_ifExitLocked() {
setScriptCondition(getExitState(i, n, d) == 3);
}
-void AGOSEngine_Elvira2::oe2_unk174() {
+void AGOSEngine_Elvira2::oe2_playEffect() {
// 174:
uint a = getVarOrWord();
- debug(0, "oe2_unk174: stub (%d)", a);
+ debug(0, "oe2_playEffect: stub (%d)", a);
}
void AGOSEngine_Elvira2::oe2_getDollar2() {