scene.gbsres 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. {
  2. "_resourceType": "scene",
  3. "id": "3a3af555-f7e1-432a-baf3-84e26d27de48",
  4. "_index": 7,
  5. "name": "Office",
  6. "backgroundId": "81a87917-625c-4528-a8a2-e6a2ec18b576",
  7. "tilesetId": "",
  8. "width": 96,
  9. "height": 48,
  10. "type": "PLATFORM",
  11. "paletteIds": [],
  12. "spritePaletteIds": [],
  13. "collisions": "00c0+012+00344+0f2+005e+0f2+0026+0f4+0016+0f6+0018+0f4+0024+0f4+0016+0f6+0018+0f4+0024+0f2+002+0f4+006+0fc+002+0f6+0016+0f6+0022+0f2+002+0f4+006+0fc+002+0f6+0016+0f6+0022+0f2+00a+0f2+00e+0f2+002+0fa+006+0f10+0020+0f2+00a+0f2+00e+0f2+002+0fa+006+0f10+0020+0f2+00f+20!0f8+012+0f2+004+0f2+004+0f2+00a+0f2+008+0f2+0020+0f2+00e+20!00!0f8+002+0f2+004+0f2+004+0f2+00a+0f2+008+0f2+0020+0f2+007+20!0fa+008+0f2+006+0f2+012+0f2+007+08!00e+0f4+001c+0f2+006+22!02!0fa+008+0f2+006+0f2+002+0f2+007+08!00e+0f4+001c+0f2+001a+0f2+006+0f2+002+0f2+00a+0f2+006+0f2+004+0f2+001c+0f2+001a+0f2+006+0f2+002+0f2+00a+0f2+006+0f2+004+0f2+001c+0f4+30!0015+0f4+006+0f2+002+0f2+00a+0f2+006+0f2+004+0f2+001c+0f4+00!30!0014+0f4+006+0f2+002+0f2+00a+0f2+006+0f2+004+0f2+001c+0f6+30!007+0f10+006+0f2+012+0f18+002+0f2+001c+0f6+00!30!006+0f10+006+0f2+002+0f18+002+0f2+001c+0f2+002+0f6+30!00d+0f2+002+0f2+006+0f2+00e+0f2+00c+0f2+001c+0f2+002+0f6+02!32!00c+0f2+002+0f2+006+0f2+00e+0f2+00c+0f2+001c+0f2+0013+20!0f4+012+0f2+006+0f2+00e+0f2+008+0f6+001c+0f2+0012+20!00!0f4+002+0f2+006+0f2+00e+0f2+008+0f6+001c+0f2+012+00f+20!0f2+006+0f2+006+0f4+002+0f2+0016+0f2+001c+0f2+0010+20!00!0f2+006+0f2+006+0f4+002+0f2+0016+0f2+001c+0f2+007+20!0fa+006+0f4+006+0f8+0010+0f2+004+0f2+001c+0f2+006+20!00!0fa+006+0f4+006+0f8+0010+0f2+004+0f2+001c+0f2+005+20!0f2+0010+0f4+006+0fc+002+0f12+001c+0f2+004+22!02!0f2+0010+0f4+006+0fc+002+0f12+001c+0f2+0016+0f6+006+0f2+003+08!002+0f2+002+012+00e+0f2+001e+0f2+0016+0f6+006+0f2+003+08!002+0f2+0012+0f2+001e+0fe+006+0fa+006+0f2+006+0f!2f!006+0f2+002a+0fe+006+0fa+006+0f2+006+2f!007+0f2+003c+012+006+0f4+004+0f6+00c+0f2+0044+0f4+004+0f6+00c+0f2+0042+0f6+004+0f22+0034+0f6+004+0f22+00e+0fc0+",
  14. "autoFadeSpeed": 1,
  15. "symbol": "scene_8",
  16. "x": 520,
  17. "y": 912,
  18. "script": [
  19. {
  20. "command": "EVENT_GROUP",
  21. "args": {
  22. "__collapse": false
  23. },
  24. "children": {
  25. "true": [
  26. {
  27. "command": "EVENT_SET_INPUT_SCRIPT",
  28. "args": {
  29. "input": [
  30. "a"
  31. ],
  32. "override": true,
  33. "__scriptTabs": "press",
  34. "__collapse": true
  35. },
  36. "children": {
  37. "true": [
  38. {
  39. "command": "EVENT_SOUND_PLAY_EFFECT",
  40. "args": {
  41. "type": "1eec9e8f-6c62-4716-82a0-2b35046e4d6d",
  42. "priority": "high",
  43. "pitch": 4,
  44. "frequency": 200,
  45. "duration": 0.5,
  46. "wait": true,
  47. "effect": 36
  48. },
  49. "id": "08e0a617-5f38-42d1-b697-1ba5644b0121"
  50. },
  51. {
  52. "command": "EVENT_SET_VALUE",
  53. "args": {
  54. "variable": "0",
  55. "value": {
  56. "type": "true"
  57. },
  58. "__collapse": false
  59. },
  60. "id": "cf4a11c3-3c97-400e-a733-8c3d85bda9f1"
  61. },
  62. {
  63. "command": "EVENT_PLAYER_SET_SPRITE",
  64. "args": {
  65. "spriteSheetId": "835fee3e-5a1d-47ed-be2d-5f060686178a",
  66. "__collapse": false
  67. },
  68. "id": "5b347595-62eb-45d1-941e-74bb6da75a29"
  69. },
  70. {
  71. "command": "EVENT_ACTOR_EFFECTS",
  72. "args": {
  73. "effect": "flicker",
  74. "actorId": "$self$",
  75. "distance": 20,
  76. "speed": 2,
  77. "time": 1.5,
  78. "frames": 30,
  79. "__collapse": false
  80. },
  81. "id": "3033891c-bdfe-46b3-a5f2-93ebd2dddfb6"
  82. },
  83. {
  84. "command": "EVENT_SET_VALUE",
  85. "args": {
  86. "variable": "0",
  87. "value": {
  88. "type": "false"
  89. },
  90. "__collapse": false
  91. },
  92. "id": "cebbb1c1-1eda-4a65-8c4e-c6a37c1ca788"
  93. },
  94. {
  95. "command": "EVENT_PLAYER_SET_SPRITE",
  96. "args": {
  97. "spriteSheetId": "6ae2f141-7f1a-4ec8-af30-445db4e3ebac",
  98. "__collapse": false
  99. },
  100. "id": "c75281da-ab18-4627-8335-d9c635f45663"
  101. }
  102. ]
  103. },
  104. "id": "f0866f26-f7f3-43dc-acdb-9573b68fc7c6"
  105. },
  106. {
  107. "command": "EVENT_SET_VALUE",
  108. "args": {
  109. "variable": "2",
  110. "value": {
  111. "type": "false"
  112. },
  113. "__collapse": true
  114. },
  115. "id": "d32909b2-2e61-48cc-9a3e-e0a0946487dd"
  116. },
  117. {
  118. "command": "EVENT_SET_VALUE",
  119. "args": {
  120. "variable": "1",
  121. "value": {
  122. "type": "number",
  123. "value": 4
  124. },
  125. "__collapse": false,
  126. "__comment": true
  127. },
  128. "id": "6f653ed4-50d9-4420-9ec2-6a8776228a66"
  129. },
  130. {
  131. "command": "EVENT_IF",
  132. "args": {
  133. "condition": {
  134. "type": "eq",
  135. "valueA": {
  136. "type": "variable",
  137. "value": "1"
  138. },
  139. "valueB": {
  140. "type": "number",
  141. "value": 0
  142. }
  143. },
  144. "__collapseElse": true,
  145. "__collapse": true,
  146. "__comment": true
  147. },
  148. "children": {
  149. "true": [
  150. {
  151. "command": "EVENT_SET_VALUE",
  152. "args": {
  153. "variable": "1",
  154. "value": {
  155. "type": "number",
  156. "value": 4
  157. }
  158. },
  159. "id": "bdca0be4-aeba-4f95-b9e4-6c5a33f2f4aa"
  160. }
  161. ],
  162. "false": []
  163. },
  164. "id": "94cd34c4-4944-44b1-b45c-72f547df3073"
  165. },
  166. {
  167. "command": "EVENT_CALL_CUSTOM_EVENT",
  168. "args": {
  169. "customEventId": "7a4a0afd-9a83-4ae5-aadd-c77ade95ae42",
  170. "$actor[1]$": "1dfa8e4c-ab3b-4502-885c-ad52bb2e9d1f",
  171. "__collapse": false
  172. },
  173. "id": "a177d81a-f58e-44fc-9f95-2110caed3316"
  174. },
  175. {
  176. "command": "EVENT_ACTOR_COLLISIONS_ENABLE",
  177. "args": {
  178. "actorId": "$self$",
  179. "__collapse": true
  180. },
  181. "id": "acb58909-dbee-4c05-89d1-667e89348d3f"
  182. },
  183. {
  184. "command": "EVENT_SET_INPUT_SCRIPT",
  185. "args": {
  186. "input": [
  187. "select"
  188. ],
  189. "override": true,
  190. "__scriptTabs": "press",
  191. "__collapse": true
  192. },
  193. "children": {
  194. "true": [
  195. {
  196. "command": "EVENT_GROUP",
  197. "args": {},
  198. "children": {
  199. "true": [
  200. {
  201. "command": "EVENT_SCENE_PUSH_STATE",
  202. "args": {},
  203. "id": "bada3446-3f07-42de-b51d-0b5a60f15b02"
  204. },
  205. {
  206. "command": "EVENT_SWITCH_SCENE",
  207. "args": {
  208. "sceneId": "92abe915-473b-4eca-9b66-87874bd76db6",
  209. "x": {
  210. "type": "number",
  211. "value": 18
  212. },
  213. "y": {
  214. "type": "number",
  215. "value": 17
  216. },
  217. "direction": "right",
  218. "fadeSpeed": "2"
  219. },
  220. "id": "fa528455-5684-4780-8bef-f23a3bbd3104"
  221. }
  222. ]
  223. },
  224. "id": "7af50253-025f-4d5a-86c9-dd8db555bfdd"
  225. }
  226. ]
  227. },
  228. "id": "a8589a00-3a79-484d-b2d3-2294fa3b7d79"
  229. },
  230. {
  231. "command": "EVENT_SET_INPUT_SCRIPT",
  232. "args": {
  233. "input": [
  234. "start"
  235. ],
  236. "override": true,
  237. "__scriptTabs": "press",
  238. "__collapse": true
  239. },
  240. "children": {
  241. "true": [
  242. {
  243. "command": "EVENT_MENU",
  244. "args": {
  245. "variable": "L0",
  246. "items": 3,
  247. "option1": "Collectibles",
  248. "option2": "Back to game",
  249. "option3": "Quit game",
  250. "option4": "",
  251. "option5": "",
  252. "option6": "",
  253. "option7": "",
  254. "option8": "",
  255. "cancelOnB": false,
  256. "layout": "dialogue",
  257. "cancelOnLastOption": false
  258. },
  259. "id": "106ae4b9-10ac-4e0a-a98f-1d3b3e31915d"
  260. },
  261. {
  262. "command": "EVENT_SWITCH",
  263. "args": {
  264. "variable": "L0",
  265. "choices": 3,
  266. "__collapseCase0": true,
  267. "value0": 1,
  268. "__collapseCase1": true,
  269. "value1": 2,
  270. "__collapseCase2": false,
  271. "value2": 3,
  272. "__collapseCase3": false,
  273. "value3": 4,
  274. "__collapseCase4": false,
  275. "value4": 5,
  276. "__collapseCase5": false,
  277. "value5": 6,
  278. "__collapseCase6": false,
  279. "value6": 7,
  280. "__collapseCase7": false,
  281. "value7": 8,
  282. "__collapseCase8": false,
  283. "value8": 9,
  284. "__collapseCase9": false,
  285. "value9": 10,
  286. "__collapseCase10": false,
  287. "value10": 11,
  288. "__collapseCase11": false,
  289. "value11": 12,
  290. "__collapseCase12": false,
  291. "value12": 13,
  292. "__collapseCase13": false,
  293. "value13": 14,
  294. "__collapseCase14": false,
  295. "value14": 15,
  296. "__collapseCase15": false,
  297. "value15": 16,
  298. "__collapseElse": false
  299. },
  300. "children": {
  301. "true0": [
  302. {
  303. "command": "EVENT_GROUP",
  304. "args": {},
  305. "children": {
  306. "true": [
  307. {
  308. "command": "EVENT_SCENE_PUSH_STATE",
  309. "args": {},
  310. "id": "9adc7de2-9f87-45a0-9cf5-fbf6fc12f213"
  311. },
  312. {
  313. "command": "EVENT_SWITCH_SCENE",
  314. "args": {
  315. "sceneId": "92abe915-473b-4eca-9b66-87874bd76db6",
  316. "x": {
  317. "type": "number",
  318. "value": 18
  319. },
  320. "y": {
  321. "type": "number",
  322. "value": 16
  323. },
  324. "direction": "right",
  325. "fadeSpeed": "2"
  326. },
  327. "id": "86dd5ea0-0d44-45a8-b976-42b8728d173d"
  328. }
  329. ]
  330. },
  331. "id": "a12974e8-fdb5-4ebc-8dfa-d480ba471e52"
  332. }
  333. ],
  334. "true1": [
  335. {
  336. "command": "EVENT_STOP",
  337. "args": {},
  338. "id": "ee825cac-b82e-4232-9c1d-000460b43833"
  339. }
  340. ],
  341. "true2": [
  342. {
  343. "command": "EVENT_SWITCH_SCENE",
  344. "args": {
  345. "sceneId": "e5f48ef9-e079-4884-adb8-e9fd93eac453",
  346. "x": {
  347. "type": "number",
  348. "value": 0
  349. },
  350. "y": {
  351. "type": "number",
  352. "value": 0
  353. },
  354. "direction": "right",
  355. "fadeSpeed": "2"
  356. },
  357. "id": "84d0dde2-99fd-4f17-84d2-b907376867a3"
  358. }
  359. ],
  360. "true3": [],
  361. "true4": [],
  362. "true5": [],
  363. "true6": [],
  364. "true7": [],
  365. "true8": [],
  366. "true9": [],
  367. "true10": [],
  368. "true11": [],
  369. "true12": [],
  370. "true13": [],
  371. "true14": [],
  372. "true15": [],
  373. "false": []
  374. },
  375. "id": "ae915b20-17ea-468f-b77c-41371dc96f15"
  376. }
  377. ]
  378. },
  379. "id": "d7b0ca6b-9e8c-42fb-8d78-877a69793d22"
  380. },
  381. {
  382. "command": "EVENT_SET_VALUE",
  383. "args": {
  384. "variable": "12",
  385. "value": {
  386. "type": "number",
  387. "value": 2
  388. },
  389. "__collapse": true
  390. },
  391. "id": "bbc2f42a-4d3b-468c-bb2c-9ff5e57837be"
  392. }
  393. ]
  394. },
  395. "id": "138b2950-ba86-4f0c-a17d-45debaa9e4ce"
  396. },
  397. {
  398. "command": "EVENT_IF",
  399. "args": {
  400. "condition": {
  401. "type": "variable",
  402. "value": "15"
  403. },
  404. "__collapseElse": true,
  405. "__collapse": true
  406. },
  407. "children": {
  408. "true": [
  409. {
  410. "command": "EVENT_ACTOR_DEACTIVATE",
  411. "args": {
  412. "actorId": "ab1ca91d-f40d-4203-abc8-d28f54c7e9d4"
  413. },
  414. "id": "ce280285-e5c7-45e9-bd87-163c708fd4f1"
  415. }
  416. ],
  417. "false": []
  418. },
  419. "id": "859e06b9-2dcb-4583-adb2-bd39083ab96f"
  420. },
  421. {
  422. "command": "EVENT_IF",
  423. "args": {
  424. "condition": {
  425. "type": "variable",
  426. "value": "16"
  427. },
  428. "__collapseElse": true,
  429. "__collapse": true
  430. },
  431. "children": {
  432. "true": [
  433. {
  434. "command": "EVENT_ACTOR_DEACTIVATE",
  435. "args": {
  436. "actorId": "ea7270b9-678b-4754-b550-67f14fe915f9"
  437. },
  438. "id": "6c3c6ca8-6698-4656-9823-6fe95b76439b"
  439. }
  440. ],
  441. "false": []
  442. },
  443. "id": "013c25aa-0f86-48e2-9ad1-1cb87518c308"
  444. }
  445. ],
  446. "playerHit1Script": [],
  447. "playerHit2Script": [],
  448. "playerHit3Script": []
  449. }