diff options
author | Travis Howell | 2007-05-28 01:11:43 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-28 01:11:43 +0000 |
commit | 45e8fbe8f52ca7d4dd774884eae2718d4ca6422f (patch) | |
tree | 9cb5633a4a4b91af319fd905a846179a5ab47ccc /engines | |
parent | 572a4b3191ba90a0740370acd7e43a1824f9e5af (diff) | |
download | scummvm-rg350-45e8fbe8f52ca7d4dd774884eae2718d4ca6422f.tar.gz scummvm-rg350-45e8fbe8f52ca7d4dd774884eae2718d4ca6422f.tar.bz2 scummvm-rg350-45e8fbe8f52ca7d4dd774884eae2718d4ca6422f.zip |
Rename script opcode in Elvira 2.
svn-id: r26986
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.h | 2 | ||||
-rw-r--r-- | engines/agos/debug.h | 2 | ||||
-rw-r--r-- | engines/agos/script_e2.cpp | 6 |
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() { |