ZoriaRPG

ZScript Timing for 2.55 (Updated for Alpha 45)

Dec 8th, 2019
179
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2.55 Script Timing
  2. 8th December, 2019 for Alpha 45
  3.  
  4. 1. (If firstplay) Global Init; allocate global arrays and variables.
  5. 2. (If firstplay) Link Init
  6. 3. (If loading from a saved file) Global OnLoadSave
  7. 4. Global onLaunch (if not F6 continue)
  8. 5. Global Continue Game (if F6 Continue)
  9. 6. FFCs by Screen Index (1 to 32)
  10. 7. Global Active (prior to Waitdraw)
  11. 8. Link Active  (prior to Waitdraw)
  12. 9. DMap Active (prior  to Waitdraw)
  13. 10. DMap Passive Subscreen
  14. 11. Itemsprite Scripts (by screen index)
  15. 12. NPC Active (by screen index)
  16. 13. EWeapon Active (by screen index)
  17. 14. Clear script one-frame conditions: Clears HitBy[]
  18. 15. Link.animate() : During this function, global, Link, and DMap scripts are run during screen scrolling)
  19. 15a. Global active during scrolling
  20. 15b. Link active, during scrolling, waitdraw may apply
  21. 15c. DMap Active, during scrolling, waitdraw may apply
  22. 15d. DMap Subscreen Passive, during scrolling, waitdraw may apply.
  23. 15e. DMap Subscreen Active, is the player pressed the Start button or the script was already running.
  24.     Running this script executes is its own isolated event loop.
  25.     If the DMap Subscreen Active script is running:
  26.         (a) DMap Active (if the QR to run it is enabled)
  27.         (b) DMap Subscreen Passive (if the QR to run it is enabled)
  28.         (c) DMap Subscreen Active
  29.         (d) Waitdraw
  30.         (e) DMap Active (after waitdraw, if the QR to run it is enabled)
  31.         (f) DMap Subscreen Passive (after waitdraw, if the QR to run it is enabled)
  32.         (g) DMap Subscreen Active (after waitdraw)
  33. 16. Item Collect Scripts
  34. 17. Item Action scripts
  35. 18. Continual item scripts, after first frame (ordered by item ID)
  36. 19. LWeapon scripts (by screen index)
  37. 20. WAITDRAW
  38. 21. Global Active (after Waitdraw pause)
  39. 22. Link Active (after Waitdraw pause)
  40. 23. DMap Active (after Waitdraw pause)
  41. 24. DMap Subscreen passive (after Waitdraw pause)
  42. 25.0. Global Exit  (if applicable)
  43. 25.1. Link Death (if applicable)
  44. 25.2.  Link Win (if Applicable)
  45. 26. Global F6 Script (if the player pressed F6)
RAW Paste Data