neonblack

PP Loop

Feb 1st, 2013
106
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Game_Interpreter
  2.   def run
  3.     wait_for_message unless get_character(event_id) &&
  4.                             get_character(event_id).trigger == 4
  5.     while @list[@index] do
  6.       execute_command
  7.       @index += 1
  8.     end
  9.     Fiber.yield
  10.     @fiber = nil
  11.   end
  12. end
RAW Paste Data