Advertisement
Guest User

Plazza fixed picole

a guest
Jun 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1.  
  2. var ENGINE = _global.getCurrentEngine();
  3. var INTERFACE = _global.getCurrentInterface();
  4. var start_x = 360;
  5. var start_y = 400;
  6. var SHELL = _global.getCurrentShell();
  7. var language;
  8. var localized_frame = 1;
  9. if (SHELL.getLocalizedFrame != undefined)
  10. {
  11. localized_frame = SHELL.getLocalizedFrame();
  12. }
  13. if ((__reg0 = localized_frame) === 1)
  14. {
  15. language = "english";
  16. }
  17. else if (__reg0 === 2)
  18. {
  19. language = "portuguese";
  20. }
  21. else if (__reg0 === 3)
  22. {
  23. language = "french";
  24. }
  25. else if (__reg0 === 4)
  26. {
  27. language = "spanish";
  28. }
  29. else
  30. {
  31. language = "english";
  32. }
  33. lightinterior.lang_off_mc.lang_text_mc.gotoAndStop(language);
  34. triggers_mc.forts_mc.triggerFunction = function ()
  35. {
  36. ENGINE.sendJoinRoom("forts", 668, 235);
  37. }
  38. ;
  39. triggers_mc.pet_mc.triggerFunction = function ()
  40. {
  41. ENGINE.sendJoinRoom("pet", 414, 260);
  42. }
  43. ;
  44. triggers_mc.cave_mc.triggerFunction = function ()
  45. {
  46. SHELL.stampEarned(UNDERGROUND_STAMP_ID);
  47. ENGINE.sendJoinRoom("cave", 590, 307);
  48. }
  49. ;
  50. triggers_mc.stage_mc.triggerFunction = function ()
  51. {
  52. ENGINE.sendJoinRoom("stage", 105, 330);
  53. }
  54. ;
  55. triggers_mc.hotel_mc.triggerFunction = function ()
  56. {
  57. ENGINE.sendJoinRoom("hotellobby", 105, 330);
  58. }
  59. ;
  60. triggers_mc.pizza_mc.triggerFunction = function ()
  61. {
  62. ENGINE.sendJoinRoom("pizza", 414, 250);
  63. }
  64. ;
  65. triggers_mc.forest_mc.triggerFunction = function ()
  66. {
  67. ENGINE.sendJoinRoom("forest", 91, 180);
  68. }
  69. ;
  70. background_mc.pet_btn.onRelease = function ()
  71. {
  72. ENGINE.sendPlayerMove(160, 250);
  73. }
  74. ;
  75. cave_btn.onRelease = function ()
  76. {
  77. ENGINE.sendPlayerMove(228, 280);
  78. }
  79. ;
  80. booth_mc.useHandCursor = false;
  81. booth_mc.onRelease = function ()
  82. {
  83. ENGINE.sendPlayerMove(423, 213);
  84. }
  85. ;
  86. background_mc.mall_btn.onRelease = function ()
  87. {
  88. ENGINE.sendPlayerMove(431, 235);
  89. }
  90. ;
  91. background_mc.pizza_btn.onRelease = function ()
  92. {
  93. ENGINE.sendPlayerMove(590, 234);
  94. }
  95. ;
  96. background_mc.hotel_btn.onRelease = function ()
  97. {
  98. ENGINE.sendPlayerMove(292, 232);
  99. }
  100. ;
  101. triggers_mc.mp3_mc.triggerFunction = function ()
  102. {
  103. INTERFACE.buyInventory(232425);
  104. }
  105. ;
  106. triggers_mc.fondo_mc.triggerFunction = function ()
  107. {
  108. INTERFACE.buyInventory(909192);
  109. }
  110. ;
  111. triggers_mc._visible = false;
  112. block_mc._visible = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement