15 lines
No EOL
363 B
Ruby
15 lines
No EOL
363 B
Ruby
class Game_Interpreter
|
|
def command_355
|
|
script = @list[@index].parameters[0] + "\n"
|
|
while next_event_code == 655
|
|
@index += 1
|
|
script += @list[@index].parameters[0] + "\n"
|
|
end
|
|
begin
|
|
eval(script)
|
|
rescue ScriptError, StandardError
|
|
$! = 'exception raised' if not $!
|
|
p "ERR: ", $!, "\n"
|
|
end
|
|
end
|
|
end |