diff --git a/script_v2.cpp b/script_v2.cpp index 710811164cc..c0006d16538 100644 --- a/script_v2.cpp +++ b/script_v2.cpp @@ -151,7 +151,7 @@ void Scumm::setupOpcodes2() { &Scumm::o6_setObjectXY, &Scumm::o6_drawBlastObject, /* 64 */ - &Scumm::o6_samGame, + &Scumm::o6_bompWindow, &Scumm::o6_stopObjectCode, &Scumm::o6_stopObjectCode, &Scumm::o6_endCutscene, @@ -673,17 +673,18 @@ void Scumm::setupOpcodes2() { _opcodes = opcode_list; _opcodes_lookup = opcode_lookup; } -void Scumm::o6_samGame() { +void Scumm::o6_bompWindow() { // Set BOMP processing window int a, b, c, d; - // Sam and Max game opcode + d = pop(); c = pop(); b = pop(); a = pop(); - + warning("o6_bompWindow(%d, %d, %d, %d)", a, b, c, d); // sub_274EF(a, b, c, d); } + int Scumm::popRoomAndObj(int *room) { int obj; diff --git a/scumm.h b/scumm.h index e2302eb71cf..9747673cbc0 100644 --- a/scumm.h +++ b/scumm.h @@ -1414,7 +1414,7 @@ struct Scumm { void o5_oldRoomEffect(); void o5_pickupObjectOld(); - void o6_samGame(); + void o6_bompWindow(); void o6_pushByte(); void o6_pushWord(); void o6_pushByteVar();