SHARE
TWEET

init_globals

a guest Oct 15th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Runs inside display manager
  2. global.save_data = ds_map_create();
  3. global.saveGame = false;
  4. global.loadGame = false;
  5. global.lPitch = 1;
  6. global.hPitch = 1;
  7. global.roomName = rm_leana;
  8. global.pause = false;
  9. global.gameSpeed = 1;
  10. //Save trigger ignores itself once and destroys itself without saving, making this false again
  11. //global.saveIgnore = false;
  12. global.clock = 0; //1440 = 24 hours
  13. global.raining = false;
  14. global.snowMap = false; //Switched in room creation code
  15. global.outdoor = false;
  16. global.colMap = -1;
  17. global.ejacColMap = -1;
  18. //Debug
  19. global.debugMode = false;
  20. global.mode_debug = "none";
  21. //os
  22. global.os_mobile = os_type = os_android || os_type == os_ios
  23. //Input
  24. global.input_any = false;
  25. global.input_any_pressed = false;
  26. global.touched = false;
  27.  
  28. global.last_text = "";
  29.  
  30. global.play_time = 0;
  31.  
  32. global.room_grid = -1;
  33. global.pathMap = -1;
  34.  
  35. global.cutscene_bgm = -1;
  36.  
  37. global.second = 0;
  38. global.minute = 0;
  39. global.hour = 0;
  40. global.day = 0;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top