Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def process_escape_character(code, text, pos)
- pattern = /anime\[(.*?),(.*?)\]/
- case code.upcase
- when '$'
- @gold_window.open
- when '.'
- wait(15)
- when '|'
- wait(60)
- when '!'
- input_pause
- when '>'
- @line_show_fast = true
- when '<'
- @line_show_fast = false
- when '^'
- @pause_skip = true
- when pattern
- frame, speed = $1, $2
- start_animation(frame, speed)
- else
- super
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement