Step_0.gml 310 B

123456789101112131415161718192021222324
  1. if !active
  2. exit;
  3. if oMain._jump_p
  4. {
  5. if pos >= string_length(texts[index])
  6. {
  7. pos = 0;
  8. if ++index >= array_length(texts)
  9. {
  10. index--;
  11. active = false;
  12. callback();
  13. }
  14. }
  15. else
  16. pos = string_length(texts[index]);
  17. }
  18. if pos < string_length(texts[index])
  19. if --timer <= 0
  20. {
  21. timer = 2;
  22. pos++;
  23. }