| 6 | IMPLEMENT(Multirun); |
| 7 | |
| 8 | bool Multirun::execute(aithread &thread) const |
| 9 | { |
| 10 | // Retrieve parameters |
| 11 | WORD wOffset; |
| 12 | thread.readTuple( std::tie(wOffset) ); |
| 13 | |
| 14 | // Create new script thread |
| 15 | AICreateThread(wOffset, thread.getLocation().center(), thread.town()); |
| 16 | |
| 17 | // Save debug info and return |
| 18 | thread.saveDebug(Text::Green, this->getOpcode(), "p_%04X", wOffset); |
| 19 | return true; |
| 20 | } |
nothing calls this directly
no test coverage detected