| 482 | } |
| 483 | |
| 484 | bool RunScriptFunctionInRoom(const String &tsname, size_t param_count, const RuntimeScriptValue *params) |
| 485 | { |
| 486 | if (!roomscript) |
| 487 | return false; // room is not loaded yet |
| 488 | |
| 489 | return RunScriptFunction(roomscript.get(), tsname, param_count, params) == kScFnRes_Done; |
| 490 | } |
| 491 | |
| 492 | // Run non-claimable event in all script modules, *excluding* room; |
| 493 | // break if certain changes occured to the game state |
no test coverage detected