STARK: Add opcode for changing location to another CD

This commit is contained in:
Bastien Bouclet 2015-09-12 20:08:26 +02:00
parent be41491d4e
commit 6771b93522
2 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,7 @@ Command *Command::execute(uint32 callMode, Script *script) {
case kSetInteractiveMode:
return opSetInteractiveMode(_arguments[1].intValue);
case kLocationGoTo:
case kLocationGoToNewCD:
return opLocationGoTo(_arguments[0].stringValue, _arguments[1].stringValue, _arguments[2].referenceValue, _arguments[3].intValue);
case kScriptPause:
return opScriptPause(script, _arguments[1].referenceValue);

View File

@ -77,6 +77,8 @@ public:
kRumbleScene = 19,
kFadeScene = 20,
kLocationGoToNewCD = 22,
kInventoryOpen = 24,
kItem3DPlaceOn = 81,