{
	"name": "Event sheet 1",
	"events": [
		{
			"eventType": "variable",
			"name": "Side",
			"type": "number",
			"initialValue": "0",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 554209989322474
		},
		{
			"eventType": "variable",
			"name": "Ground",
			"type": "number",
			"initialValue": "-1",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 855422634503872
		},
		{
			"eventType": "variable",
			"name": "isMoving",
			"type": "boolean",
			"initialValue": "false",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 628077939886116
		},
		{
			"eventType": "variable",
			"name": "GameTime",
			"type": "number",
			"initialValue": "60",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 283342318858234
		},
		{
			"eventType": "variable",
			"name": "GameRunning",
			"type": "boolean",
			"initialValue": "false",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 592725142782832
		},
		{
			"eventType": "variable",
			"name": "isDying",
			"type": "boolean",
			"initialValue": "false",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 677369339100137
		},
		{
			"eventType": "variable",
			"name": "spawnBubblesTime",
			"type": "number",
			"initialValue": "4",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 216456466922695
		},
		{
			"eventType": "variable",
			"name": "bubblesKilled",
			"type": "number",
			"initialValue": "0",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 186614717967735
		},
		{
			"eventType": "variable",
			"name": "playerSpeed",
			"type": "number",
			"initialValue": "0.3",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 517277524542938
		},
		{
			"eventType": "variable",
			"name": "GameOver",
			"type": "boolean",
			"initialValue": "false",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 303013786617210
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-start-of-layout",
					"objectClass": "System",
					"sid": 463422522248349
				}
			],
			"actions": [
				{
					"id": "set-text",
					"objectClass": "GameTimerText",
					"sid": 765530654859125,
					"parameters": {
						"text": "str(GameTime)"
					}
				},
				{
					"id": "pin-to-object-properties",
					"objectClass": "P_Particle",
					"sid": 146330057513633,
					"behaviorType": "Pin",
					"parameters": {
						"pin-to": "Player",
						"x": true,
						"y": true,
						"angle": false,
						"width-type": "no",
						"height-type": "no",
						"z": false
					}
				},
				{
					"id": "pin-to-object-properties",
					"objectClass": "P_Particle",
					"sid": 526318609800315,
					"behaviorType": "Pin",
					"parameters": {
						"pin-to": "Player",
						"x": true,
						"y": true,
						"angle": false,
						"width-type": "no",
						"height-type": "no",
						"z": false
					}
				},
				{
					"id": "set-spraying",
					"objectClass": "P_Particle",
					"sid": 145052039009981,
					"disabled": true,
					"parameters": {
						"state": "not-spraying"
					}
				},
				{
					"id": "stop-all",
					"objectClass": "Audio",
					"sid": 795547745010640
				},
				{
					"id": "play",
					"objectClass": "Audio",
					"sid": 176871504030660,
					"parameters": {
						"audio-file": "Music_HipHop_1",
						"loop": "looping",
						"volume": "0",
						"stereo-pan": "0",
						"tag-optional": "\"music1\""
					}
				},
				{
					"id": "set-spraying",
					"objectClass": "P_Particle",
					"sid": 276030957863426,
					"parameters": {
						"state": "not-spraying"
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 545434777346607,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"1_AdjustHSL\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 695263099768374,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"1_Contrast\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 155376721426589,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_AdjustHSL2\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 751472636351542,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Contrast2\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 340623351798582,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Tint\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 935164121210771,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Vignette\""
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 682402234699265,
					"parameters": {
						"variable": "playerSpeed",
						"value": "0.3"
					}
				}
			],
			"sid": 106364911908911
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 997359517633285,
					"parameters": {
						"key": 32
					}
				},
				{
					"id": "compare-boolean-eventvar",
					"objectClass": "System",
					"sid": 258815681344837,
					"parameters": {
						"variable": "isMoving"
					},
					"isInverted": true
				}
			],
			"actions": [],
			"sid": 139857338950663,
			"disabled": true,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [],
					"sid": 391597547325598,
					"disabled": true,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "pick-by-comparison",
									"objectClass": "System",
									"sid": 878841612483752,
									"parameters": {
										"object": "Positions",
										"expression": "Positions.side",
										"comparison": 1,
										"value": "Side"
									}
								},
								{
									"id": "pick-by-comparison",
									"objectClass": "System",
									"sid": 512169653300664,
									"parameters": {
										"object": "Positions",
										"expression": "Positions.ground",
										"comparison": 0,
										"value": "Ground"
									}
								}
							],
							"actions": [
								{
									"id": "tween-two-properties",
									"objectClass": "Player",
									"sid": 239249338687350,
									"behaviorType": "Tween",
									"parameters": {
										"tags": "\"MoveTo\"",
										"property": "position",
										"end-x": "Positions.X",
										"end-y": "Positions.Y",
										"time": ".3",
										"ease": "default",
										"destroy-on-complete": "no",
										"loop": "no",
										"ping-pong": "no",
										"repeat-count": "1"
									}
								},
								{
									"id": "set-eventvar-value",
									"objectClass": "System",
									"sid": 946211924919248,
									"parameters": {
										"variable": "Side",
										"value": "Positions.side"
									}
								},
								{
									"id": "set-boolean-eventvar",
									"objectClass": "System",
									"sid": 288508835888181,
									"parameters": {
										"variable": "isMoving",
										"value": "true"
									}
								},
								{
									"id": "set-instvar-value",
									"objectClass": "Player",
									"sid": 645401320813899,
									"parameters": {
										"instance-variable": "Ground",
										"value": "Positions.ground"
									}
								},
								{
									"id": "set-instvar-value",
									"objectClass": "Player",
									"sid": 777482077402991,
									"parameters": {
										"instance-variable": "Side",
										"value": "Positions.side"
									}
								}
							],
							"sid": 719628547549191,
							"disabled": true,
							"children": [
								{
									"eventType": "block",
									"conditions": [
										{
											"id": "for-each",
											"objectClass": "System",
											"sid": 619693966441165,
											"parameters": {
												"object": "Arrow"
											}
										}
									],
									"actions": [
										{
											"id": "set-visible",
											"objectClass": "Arrow",
											"sid": 444096012776747,
											"parameters": {
												"visibility": "invisible"
											}
										}
									],
									"sid": 712534972369265,
									"disabled": true
								}
							]
						}
					]
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-click",
					"objectClass": "Mouse",
					"sid": 141539762230642,
					"parameters": {
						"mouse-button": "left",
						"click-type": "clicked"
					}
				},
				{
					"id": "compare-boolean-eventvar",
					"objectClass": "System",
					"sid": 627613288807890,
					"parameters": {
						"variable": "isMoving"
					},
					"isInverted": true
				},
				{
					"id": "compare-boolean-eventvar",
					"objectClass": "System",
					"sid": 259861567133386,
					"parameters": {
						"variable": "isDying"
					},
					"isInverted": true
				},
				{
					"id": "is-boolean-instance-variable-set",
					"objectClass": "Player",
					"sid": 628713459365364,
					"parameters": {
						"instance-variable": "isAlive"
					}
				}
			],
			"actions": [],
			"sid": 514535674003058,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [],
					"sid": 105011762168461,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "pick-by-comparison",
									"objectClass": "System",
									"sid": 958674104613563,
									"parameters": {
										"object": "Positions",
										"expression": "Positions.side",
										"comparison": 1,
										"value": "Side"
									}
								},
								{
									"id": "pick-by-comparison",
									"objectClass": "System",
									"sid": 267627210614860,
									"parameters": {
										"object": "Positions",
										"expression": "Positions.ground",
										"comparison": 0,
										"value": "Ground"
									}
								}
							],
							"actions": [
								{
									"id": "play",
									"objectClass": "Audio",
									"sid": 655844892700767,
									"parameters": {
										"audio-file": "Slash",
										"loop": "not-looping",
										"volume": "-15",
										"stereo-pan": "0",
										"tag-optional": "\"slash\""
									}
								},
								{
									"id": "set-playback-rate",
									"objectClass": "Audio",
									"sid": 330611375688273,
									"parameters": {
										"tag": "\"slash\"",
										"playback-rate": "1.5"
									}
								},
								{
									"id": "tween-two-properties",
									"objectClass": "Player",
									"sid": 696095711278654,
									"behaviorType": "Tween",
									"parameters": {
										"tags": "\"MoveTo\"",
										"property": "position",
										"end-x": "Positions.X",
										"end-y": "Positions.Y",
										"time": "playerSpeed",
										"ease": "default",
										"destroy-on-complete": "no",
										"loop": "no",
										"ping-pong": "no",
										"repeat-count": "1"
									}
								},
								{
									"id": "set-eventvar-value",
									"objectClass": "System",
									"sid": 603218057538528,
									"parameters": {
										"variable": "Side",
										"value": "Positions.side"
									}
								},
								{
									"id": "set-boolean-eventvar",
									"objectClass": "System",
									"sid": 295814606787769,
									"parameters": {
										"variable": "isMoving",
										"value": "true"
									}
								},
								{
									"id": "set-instvar-value",
									"objectClass": "Player",
									"sid": 153983937704442,
									"parameters": {
										"instance-variable": "Ground",
										"value": "Positions.ground"
									}
								},
								{
									"id": "set-instvar-value",
									"objectClass": "Player",
									"sid": 616361882871254,
									"parameters": {
										"instance-variable": "Side",
										"value": "Positions.side"
									}
								},
								{
									"id": "set-animation",
									"objectClass": "Player",
									"sid": 578509930758190,
									"parameters": {
										"animation": "\"Hit\"",
										"from": "beginning"
									}
								}
							],
							"sid": 153456842903633
						},
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "for-each",
									"objectClass": "System",
									"sid": 926843622059508,
									"parameters": {
										"object": "BG_Piso"
									}
								}
							],
							"actions": [
								{
									"id": "set-opacity",
									"objectClass": "BG_Piso",
									"sid": 857690232656854,
									"parameters": {
										"opacity": "20"
									}
								}
							],
							"sid": 215992561579457
						}
					]
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-click",
					"objectClass": "Mouse",
					"sid": 249772378768931,
					"parameters": {
						"mouse-button": "left",
						"click-type": "clicked"
					}
				},
				{
					"id": "is-boolean-instance-variable-set",
					"objectClass": "Player",
					"sid": 679160324617464,
					"parameters": {
						"instance-variable": "isAlive"
					},
					"isInverted": true
				}
			],
			"actions": [],
			"sid": 677417689516934,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"callFunction": "Revive",
							"sid": 425183574315569
						}
					],
					"sid": 757262971403082
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 593338951412992,
					"parameters": {
						"key": 38
					}
				}
			],
			"actions": [
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 189354101593844,
					"parameters": {
						"variable": "Ground",
						"value": "0"
					}
				}
			],
			"sid": 962935347184884,
			"disabled": true
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 376728214256681,
					"parameters": {
						"key": 87
					}
				}
			],
			"actions": [
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 731145199928804,
					"parameters": {
						"variable": "Ground",
						"value": "0"
					}
				}
			],
			"sid": 190803831651636,
			"disabled": true
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 499456750006762,
					"parameters": {
						"key": 40
					}
				}
			],
			"actions": [
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 605406817814630,
					"parameters": {
						"variable": "Ground",
						"value": "1"
					}
				}
			],
			"sid": 719070524515020,
			"disabled": true
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 665437741082510,
					"parameters": {
						"key": 83
					}
				}
			],
			"actions": [
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 221329625414407,
					"parameters": {
						"variable": "Ground",
						"value": "1"
					}
				}
			],
			"sid": 382253301669991,
			"disabled": true
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "key-is-down",
					"objectClass": "Keyboard",
					"sid": 906918825591530,
					"parameters": {
						"key": 32
					}
				}
			],
			"actions": [
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 375590269840602,
					"parameters": {
						"variable": "Ground",
						"value": "Player.Ground * -1"
					}
				}
			],
			"sid": 375858778586555
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-released",
					"objectClass": "Keyboard",
					"sid": 797109672090673,
					"parameters": {
						"key": 32
					}
				}
			],
			"actions": [
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 726663034172945,
					"parameters": {
						"variable": "Ground",
						"value": "Player.Ground"
					}
				}
			],
			"sid": 483494681742674
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-tweens-finished",
					"objectClass": "Player",
					"sid": 599331556687051,
					"behaviorType": "Tween",
					"parameters": {
						"tags": "\"MoveTo\""
					}
				}
			],
			"actions": [
				{
					"id": "set-boolean-eventvar",
					"objectClass": "System",
					"sid": 513833880113063,
					"parameters": {
						"variable": "isMoving",
						"value": "false"
					}
				},
				{
					"id": "set-animation",
					"objectClass": "Player",
					"sid": 532369213672149,
					"parameters": {
						"animation": "\"Idle\"",
						"from": "beginning"
					}
				}
			],
			"sid": 243721965281170,
			"children": [
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-instance-variable",
							"objectClass": "Player",
							"sid": 249734731234569,
							"parameters": {
								"instance-variable": "Side",
								"comparison": 0,
								"value": "0"
							}
						}
					],
					"actions": [
						{
							"id": "set-mirrored",
							"objectClass": "Player",
							"sid": 712162294684571,
							"parameters": {
								"state": "not-mirrored"
							}
						}
					],
					"sid": 381968290223978
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-instance-variable",
							"objectClass": "Player",
							"sid": 987352303693612,
							"parameters": {
								"instance-variable": "Side",
								"comparison": 0,
								"value": "1"
							}
						}
					],
					"actions": [
						{
							"id": "set-mirrored",
							"objectClass": "Player",
							"sid": 610103938905857,
							"parameters": {
								"state": "mirrored"
							}
						}
					],
					"sid": 496250129345713
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "is-boolean-instance-variable-set",
							"objectClass": "Player",
							"sid": 830412929989407,
							"parameters": {
								"instance-variable": "isAlive"
							},
							"isInverted": true
						}
					],
					"actions": [
						{
							"callFunction": "Death",
							"sid": 580584630880565
						}
					],
					"sid": 881387695096784
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "every-tick",
					"objectClass": "System",
					"sid": 789603738825632
				},
				{
					"id": "compare-boolean-eventvar",
					"objectClass": "System",
					"sid": 730869266121989,
					"parameters": {
						"variable": "GameRunning"
					}
				},
				{
					"id": "compare-boolean-eventvar",
					"objectClass": "System",
					"sid": 858424290991252,
					"parameters": {
						"variable": "isMoving"
					},
					"isInverted": true
				},
				{
					"id": "is-boolean-instance-variable-set",
					"objectClass": "Player",
					"sid": 626202491505837,
					"parameters": {
						"instance-variable": "isAlive"
					},
					"isInverted": true
				}
			],
			"actions": [
				{
					"callFunction": "Death",
					"sid": 463761865447153
				}
			],
			"sid": 840562795220185
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-collision-with-another-object",
					"objectClass": "Bubble",
					"sid": 970564491830825,
					"parameters": {
						"object": "Player"
					}
				}
			],
			"actions": [
				{
					"id": "tween-two-properties",
					"objectClass": "Bubble",
					"sid": 247723268028895,
					"behaviorType": "Tween",
					"parameters": {
						"tags": "\"DestroyBubble\"",
						"property": "size",
						"end-x": "40",
						"end-y": "40",
						"time": "0.1",
						"ease": "default",
						"destroy-on-complete": "no",
						"loop": "no",
						"ping-pong": "yes",
						"repeat-count": "1"
					}
				},
				{
					"id": "play",
					"objectClass": "Audio",
					"sid": 617284863849190,
					"parameters": {
						"audio-file": "Bubble_1",
						"loop": "not-looping",
						"volume": "0",
						"stereo-pan": "0",
						"tag-optional": "\"bubble\""
					}
				},
				{
					"id": "set-playback-rate",
					"objectClass": "Audio",
					"sid": 154220367253491,
					"parameters": {
						"tag": "\"bubble\"",
						"playback-rate": "0.7 + random(0,0.6)"
					}
				},
				{
					"id": "set-effect-enabled",
					"objectClass": "Bubble",
					"sid": 200664986961319,
					"parameters": {
						"mode": "enable",
						"effect": "\"SetColor\""
					}
				},
				{
					"id": "wait",
					"objectClass": "System",
					"sid": 668542208595709,
					"parameters": {
						"seconds": ".2"
					}
				},
				{
					"id": "set-effect-enabled",
					"objectClass": "Bubble",
					"sid": 351057275189502,
					"parameters": {
						"mode": "disable",
						"effect": "\"SetColor\""
					}
				}
			],
			"sid": 120764774481257
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-tweens-finished",
					"objectClass": "Bubble",
					"sid": 238266123946814,
					"behaviorType": "Tween",
					"parameters": {
						"tags": "\"DestroyBubble\""
					}
				}
			],
			"actions": [
				{
					"id": "subtract-from-instvar",
					"objectClass": "Bubble",
					"sid": 733330423687905,
					"parameters": {
						"instance-variable": "health",
						"value": "1"
					}
				},
				{
					"callFunction": "UpdateBubbleColor",
					"sid": 821193477471947,
					"parameters": [
						"Bubble.UID"
					]
				}
			],
			"sid": 154308035226301,
			"children": [
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-instance-variable",
							"objectClass": "Bubble",
							"sid": 475541008618921,
							"parameters": {
								"instance-variable": "health",
								"comparison": 3,
								"value": "0"
							}
						}
					],
					"actions": [
						{
							"id": "destroy",
							"objectClass": "Bubble",
							"sid": 698989876848636
						}
					],
					"sid": 358672031562419
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-destroyed",
					"objectClass": "Bubble",
					"sid": 744003764627288
				}
			],
			"actions": [
				{
					"callFunction": "CheckBubbles",
					"sid": 357703845488676
				},
				{
					"id": "add-to-eventvar",
					"objectClass": "System",
					"sid": 811606920112774,
					"parameters": {
						"variable": "bubblesKilled",
						"value": "1"
					}
				},
				{
					"id": "set-text",
					"objectClass": "BubblesKilledText",
					"sid": 870367800648739,
					"parameters": {
						"text": "\"Bubbles:\" & bubblesKilled"
					}
				}
			],
			"sid": 519467807231799,
			"children": [
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-eventvar",
							"objectClass": "System",
							"sid": 173808703843797,
							"parameters": {
								"variable": "bubblesKilled",
								"comparison": 0,
								"value": "1"
							}
						}
					],
					"actions": [
						{
							"id": "set-boolean-eventvar",
							"objectClass": "System",
							"sid": 592095026869154,
							"parameters": {
								"variable": "GameRunning",
								"value": "true"
							}
						}
					],
					"sid": 408573349576221
				}
			]
		},
		{
			"functionName": "CheckBubbles",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [],
			"eventType": "function-block",
			"conditions": [],
			"actions": [],
			"sid": 867156311478831,
			"children": [
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 122482069126013,
							"parameters": {
								"first-value": "Bubble.Count",
								"comparison": 0,
								"second-value": "1"
							}
						}
					],
					"actions": [
						{
							"callFunction": "RespawnBubbles",
							"sid": 928429923405888
						}
					],
					"sid": 971021514303984
				}
			]
		},
		{
			"functionName": "RespawnBubbles",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [],
			"eventType": "function-block",
			"conditions": [],
			"actions": [],
			"sid": 214468886012142,
			"children": [
				{
					"eventType": "variable",
					"name": "randomLayout",
					"type": "number",
					"initialValue": "0",
					"comment": "",
					"isStatic": false,
					"isConstant": false,
					"sid": 876003115288664
				},
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 145458858852180,
							"parameters": {
								"variable": "randomLayout",
								"value": "int(random(4))"
							}
						}
					],
					"sid": 286392620924074
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 364672701666964,
							"parameters": {
								"first-value": "randomLayout",
								"comparison": 0,
								"second-value": "0"
							}
						}
					],
					"actions": [
						{
							"callFunction": "CreateBubble",
							"sid": 262835894896543,
							"parameters": [
								"175",
								"50"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 216151193725694,
							"parameters": [
								"231",
								"69"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 225006613024115,
							"parameters": [
								"293",
								"51"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 603341187905347,
							"parameters": [
								"336",
								"67"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 850146667866678,
							"parameters": [
								"384",
								"49"
							]
						}
					],
					"sid": 973387198373569
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 417029763564239,
							"parameters": {
								"first-value": "randomLayout",
								"comparison": 0,
								"second-value": "1"
							}
						}
					],
					"actions": [
						{
							"callFunction": "CreateBubble",
							"sid": 246337434324089,
							"parameters": [
								"191",
								"395"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 993332148138593,
							"parameters": [
								"246",
								"385"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 337128924539778,
							"parameters": [
								"297",
								"411"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 780601566330997,
							"parameters": [
								"346",
								"387"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 765852613145864,
							"parameters": [
								"400",
								"394"
							]
						}
					],
					"sid": 791376965578879
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 626486129242194,
							"parameters": {
								"first-value": "randomLayout",
								"comparison": 0,
								"second-value": "2"
							}
						}
					],
					"actions": [
						{
							"callFunction": "CreateBubble",
							"sid": 164317703128988,
							"parameters": [
								"151",
								"342"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 111384086402317,
							"parameters": [
								"183",
								"299"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 375156421609602,
							"parameters": [
								"283",
								"241"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 573397292035643,
							"parameters": [
								"343",
								"241"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 590145986930690,
							"parameters": [
								"435",
								"180"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 983853466528962,
							"parameters": [
								"469",
								"130"
							]
						}
					],
					"sid": 101476346608838
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 363759675515575,
							"parameters": {
								"first-value": "randomLayout",
								"comparison": 0,
								"second-value": "3"
							}
						}
					],
					"actions": [
						{
							"callFunction": "CreateBubble",
							"sid": 435953392684265,
							"parameters": [
								"469",
								"342"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 624704301486905,
							"parameters": [
								"435",
								"299"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 153142601685410,
							"parameters": [
								"343",
								"241"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 651466698555951,
							"parameters": [
								"283",
								"241"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 233964559363077,
							"parameters": [
								"183",
								"180"
							]
						},
						{
							"callFunction": "CreateBubble",
							"sid": 736569584061610,
							"parameters": [
								"151",
								"130"
							]
						}
					],
					"sid": 539591751007834
				}
			]
		},
		{
			"functionName": "CreateBubble",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [
				{
					"name": "posX",
					"type": "number",
					"initialValue": "0",
					"comment": "",
					"sid": 600378521398834
				},
				{
					"name": "posY",
					"type": "number",
					"initialValue": "0",
					"comment": "",
					"sid": 730110555863782
				}
			],
			"eventType": "function-block",
			"conditions": [],
			"actions": [
				{
					"id": "create-object",
					"objectClass": "System",
					"sid": 185686050954509,
					"parameters": {
						"object-to-create": "Bubble",
						"layer": "0",
						"x": "posX",
						"y": "posY",
						"create-hierarchy": false,
						"template-name": "\"\""
					}
				},
				{
					"id": "set-instvar-value",
					"objectClass": "Bubble",
					"sid": 380588198457048,
					"parameters": {
						"instance-variable": "health",
						"value": "int(random(5)) + 1"
					}
				},
				{
					"callFunction": "UpdateBubbleColor",
					"sid": 970121180068870,
					"parameters": [
						"Bubble.UID"
					]
				}
			],
			"sid": 946771217913978,
			"children": [
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "pick-last-created",
							"objectClass": "System",
							"sid": 932280056267009,
							"parameters": {
								"object": "Bubble"
							}
						}
					],
					"actions": [],
					"sid": 225757456142318,
					"disabled": true
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "mouse-button-is-down",
					"objectClass": "Mouse",
					"sid": 264789881336709,
					"parameters": {
						"mouse-button": "left"
					}
				}
			],
			"actions": [
				{
					"id": "set-position",
					"objectClass": "Player",
					"sid": 741664981790714,
					"parameters": {
						"x": "Mouse.X",
						"y": "Mouse.Y"
					}
				}
			],
			"sid": 961641097388834,
			"disabled": true
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-object-clicked",
					"objectClass": "Mouse",
					"sid": 632020467151187,
					"parameters": {
						"mouse-button": "left",
						"click-type": "clicked",
						"object-clicked": "Positions"
					}
				}
			],
			"actions": [
				{
					"id": "tween-two-properties",
					"objectClass": "Player",
					"sid": 582053278915037,
					"behaviorType": "Tween",
					"parameters": {
						"tags": "\"MoveTo\"",
						"property": "position",
						"end-x": "Positions.X",
						"end-y": "Positions.Y",
						"time": ".3",
						"ease": "default",
						"destroy-on-complete": "no",
						"loop": "no",
						"ping-pong": "no",
						"repeat-count": "1"
					}
				}
			],
			"sid": 666282969379977,
			"disabled": true
		},
		{
			"functionName": "Death",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [],
			"eventType": "function-block",
			"conditions": [],
			"actions": [],
			"sid": 696237110503462,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-animation",
							"objectClass": "Player",
							"sid": 508272617609368,
							"parameters": {
								"animation": "\"Die\"",
								"from": "beginning"
							}
						},
						{
							"id": "set-boolean-eventvar",
							"objectClass": "System",
							"sid": 312839287055136,
							"parameters": {
								"variable": "GameRunning",
								"value": "false"
							}
						}
					],
					"sid": 677293318551804
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 571302991552468,
					"parameters": {
						"key": 82
					}
				}
			],
			"actions": [
				{
					"callFunction": "ResetLevel",
					"sid": 520365109229272
				}
			],
			"sid": 402210480830076
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 420020929938135,
					"parameters": {
						"key": 66
					}
				}
			],
			"actions": [
				{
					"callFunction": "RespawnBubbles",
					"sid": 276085810425768,
					"disabled": true
				},
				{
					"callFunction": "GenerateBubbles",
					"sid": 837319192019185
				}
			],
			"sid": 683021520283192
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "every-x-seconds",
					"objectClass": "System",
					"sid": 164922104798115,
					"parameters": {
						"interval-seconds": "1.0"
					}
				},
				{
					"id": "compare-boolean-eventvar",
					"objectClass": "System",
					"sid": 287978330052134,
					"parameters": {
						"variable": "GameRunning"
					}
				}
			],
			"actions": [],
			"sid": 519812129532020,
			"children": [
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 797356988003673,
							"parameters": {
								"first-value": "GameTime",
								"comparison": 4,
								"second-value": "0"
							}
						},
						{
							"id": "compare-boolean-eventvar",
							"objectClass": "System",
							"sid": 241308142839910,
							"parameters": {
								"variable": "isDying"
							},
							"isInverted": true
						}
					],
					"actions": [
						{
							"id": "subtract-from-eventvar",
							"objectClass": "System",
							"sid": 752528476278446,
							"parameters": {
								"variable": "GameTime",
								"value": "1"
							}
						},
						{
							"id": "set-text",
							"objectClass": "GameTimerText",
							"sid": 337589093610018,
							"parameters": {
								"text": "str(GameTime)"
							}
						}
					],
					"sid": 722027884260959
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 427997554754907,
							"parameters": {
								"first-value": "GameTime",
								"comparison": 3,
								"second-value": "0"
							}
						}
					],
					"actions": [
						{
							"id": "set-boolean-instvar",
							"objectClass": "Player",
							"sid": 275344773467028,
							"parameters": {
								"instance-variable": "isAlive",
								"value": "false"
							}
						}
					],
					"sid": 453329461905063,
					"disabled": true
				}
			]
		},
		{
			"functionName": "ResetLevel",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [],
			"eventType": "function-block",
			"conditions": [],
			"actions": [
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 640777081718869,
					"parameters": {
						"variable": "playerSpeed",
						"value": "0.3"
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 640177898737333,
					"parameters": {
						"variable": "GameTime",
						"value": "60"
					}
				},
				{
					"id": "set-boolean-eventvar",
					"objectClass": "System",
					"sid": 641072390187093,
					"parameters": {
						"variable": "isMoving",
						"value": "false"
					}
				},
				{
					"id": "set-boolean-instvar",
					"objectClass": "Player",
					"sid": 616551492532249,
					"parameters": {
						"instance-variable": "isAlive",
						"value": "true"
					}
				},
				{
					"id": "set-animation",
					"objectClass": "Player",
					"sid": 477621877217444,
					"parameters": {
						"animation": "\"Idle\"",
						"from": "beginning"
					}
				},
				{
					"id": "set-text",
					"objectClass": "GameTimerText",
					"sid": 743571637940590,
					"parameters": {
						"text": "str(GameTime)"
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 842935766465758,
					"parameters": {
						"variable": "bubblesKilled",
						"value": "0"
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 935633721316354,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"1_AdjustHSL\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 885544317835571,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"1_Contrast\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 264306998858295,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_AdjustHSL2\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 113521544766227,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Contrast2\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 504174486297421,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Tint\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 501164654997047,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Vignette\""
					}
				}
			],
			"sid": 805307548394808
		},
		{
			"functionName": "Revive",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [],
			"eventType": "function-block",
			"conditions": [],
			"actions": [],
			"sid": 159404819823328,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-animation",
							"objectClass": "Player",
							"sid": 361967656656099,
							"parameters": {
								"animation": "\"Revive\"",
								"from": "beginning"
							}
						},
						{
							"id": "wait",
							"objectClass": "System",
							"sid": 666862963533686,
							"parameters": {
								"seconds": "2"
							}
						},
						{
							"callFunction": "ResetLevel",
							"sid": 687202924238748
						}
					],
					"sid": 383165018500056
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-collision-with-another-object",
					"objectClass": "Rock",
					"sid": 663446860705763,
					"parameters": {
						"object": "Player"
					}
				}
			],
			"actions": [],
			"sid": 876433547030450,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "stop-all",
							"objectClass": "Audio",
							"sid": 525714440127672
						},
						{
							"id": "set-spraying",
							"objectClass": "P_Particle",
							"sid": 795336476507119,
							"parameters": {
								"state": "not-spraying"
							}
						},
						{
							"id": "play",
							"objectClass": "Audio",
							"sid": 975550560678086,
							"parameters": {
								"audio-file": "Die",
								"loop": "not-looping",
								"volume": "-10",
								"stereo-pan": "0",
								"tag-optional": "\"die\""
							}
						},
						{
							"id": "set-boolean-eventvar",
							"objectClass": "System",
							"sid": 521216157886178,
							"parameters": {
								"variable": "isDying",
								"value": "true"
							}
						},
						{
							"id": "set-boolean-instvar",
							"objectClass": "Player",
							"sid": 980438510545002,
							"parameters": {
								"instance-variable": "isAlive",
								"value": "false"
							}
						},
						{
							"callFunction": "Death",
							"sid": 975007886650479
						},
						{
							"id": "stop-tweens",
							"objectClass": "Player",
							"sid": 740008636691227,
							"behaviorType": "Tween",
							"parameters": {
								"tags": "\"MoveTo\""
							}
						},
						{
							"id": "start-fade",
							"objectClass": "Player",
							"sid": 814215574805512,
							"behaviorType": "Fade"
						},
						{
							"callFunction": "RestartLayout",
							"sid": 691522855887332
						},
						{
							"id": "wait",
							"objectClass": "System",
							"sid": 446305638807369,
							"parameters": {
								"seconds": "0.1"
							}
						},
						{
							"id": "destroy",
							"objectClass": "Rock",
							"sid": 829292269864708
						}
					],
					"sid": 816075404585249
				}
			]
		},
		{
			"functionName": "RestartLayout",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [],
			"eventType": "function-block",
			"conditions": [],
			"actions": [
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 611363421744585,
					"parameters": {
						"variable": "playerSpeed",
						"value": "0.3"
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 586503064895888,
					"parameters": {
						"variable": "Ground",
						"value": "-1"
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 413948983402353,
					"parameters": {
						"variable": "Side",
						"value": "0"
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 671111581096091,
					"parameters": {
						"variable": "GameTime",
						"value": "60"
					}
				},
				{
					"id": "set-boolean-eventvar",
					"objectClass": "System",
					"sid": 520156035800535,
					"parameters": {
						"variable": "isMoving",
						"value": "false"
					}
				},
				{
					"id": "set-boolean-instvar",
					"objectClass": "Player",
					"sid": 675498549898061,
					"parameters": {
						"instance-variable": "isAlive",
						"value": "true"
					}
				},
				{
					"id": "set-text",
					"objectClass": "GameTimerText",
					"sid": 437961713547430,
					"parameters": {
						"text": "str(GameTime)"
					}
				},
				{
					"id": "wait",
					"objectClass": "System",
					"sid": 734608217068754,
					"parameters": {
						"seconds": "3"
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 697304253041393,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"1_AdjustHSL\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 781881115077296,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"1_Contrast\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 653735291921249,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_AdjustHSL2\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 332639553817242,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Contrast2\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 800822368188113,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Tint\""
					}
				},
				{
					"id": "set-layer-effect-enabled",
					"objectClass": "System",
					"sid": 584633832138677,
					"parameters": {
						"layer": "\"FX_Tint\"",
						"mode": "disable",
						"effect": "\"2_Vignette\""
					}
				},
				{
					"id": "restart-layout",
					"objectClass": "System",
					"sid": 823498468112279
				},
				{
					"id": "set-boolean-eventvar",
					"objectClass": "System",
					"sid": 110031247476482,
					"parameters": {
						"variable": "isDying",
						"value": "false"
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 869306050860875,
					"parameters": {
						"variable": "bubblesKilled",
						"value": "0"
					}
				}
			],
			"sid": 969559658222100
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-created",
					"objectClass": "Bubble",
					"sid": 197299804990896
				}
			],
			"actions": [
				{
					"id": "set-animation",
					"objectClass": "Bubble",
					"sid": 359079240986782,
					"parameters": {
						"animation": "choose(\"Angel\",\"Espadita\",\"Bigote\",\"Simple\",\"Simple4\",\"Simple\",\"Simple3\",\"Casco\",\"Simple\",\"Simple4\",\"Simple\",\"Simple3\",\"Simple\",\"Simple4\",\"Simple\",\"Simple3\")",
						"from": "beginning"
					}
				},
				{
					"id": "wait",
					"objectClass": "System",
					"sid": 941763742112050,
					"parameters": {
						"seconds": "0"
					}
				},
				{
					"callFunction": "UpdateBubbleColor",
					"sid": 876363023912486,
					"parameters": [
						"Bubble.UID"
					]
				},
				{
					"id": "wait",
					"objectClass": "System",
					"sid": 973651045978506,
					"parameters": {
						"seconds": "random(0,1)"
					}
				},
				{
					"id": "tween-one-property",
					"objectClass": "Bubble",
					"sid": 317737478434253,
					"behaviorType": "Tween",
					"parameters": {
						"tags": "\"\"",
						"property": "offsetScaleX",
						"end-value": ".4",
						"time": ".5",
						"ease": "easeincubic",
						"destroy-on-complete": "no",
						"loop": "yes",
						"ping-pong": "yes",
						"repeat-count": "1"
					}
				},
				{
					"id": "wait",
					"objectClass": "System",
					"sid": 256923315345973,
					"parameters": {
						"seconds": ".5"
					}
				},
				{
					"id": "tween-one-property",
					"objectClass": "Bubble",
					"sid": 276170551079058,
					"behaviorType": "Tween",
					"parameters": {
						"tags": "\"\"",
						"property": "offsetScaleY",
						"end-value": ".4",
						"time": ".5",
						"ease": "easeincubic",
						"destroy-on-complete": "no",
						"loop": "yes",
						"ping-pong": "yes",
						"repeat-count": "1"
					}
				}
			],
			"sid": 124458117120510
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-destroyed",
					"objectClass": "Bubble",
					"sid": 708079150813766
				}
			],
			"actions": [
				{
					"id": "spawn-another-object",
					"objectClass": "Bubble",
					"sid": 718511749222137,
					"parameters": {
						"object": "Bubbles_Die_FX",
						"layer": "1",
						"image-point": "0",
						"create-hierarchy": false,
						"template-name": "\"\""
					}
				}
			],
			"sid": 134725753740208
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-created",
					"objectClass": "Bubbles_Die_FX",
					"sid": 903553175867677
				}
			],
			"actions": [
				{
					"id": "set-size",
					"objectClass": "Bubbles_Die_FX",
					"sid": 984632123528552,
					"parameters": {
						"width": "32",
						"height": "32"
					}
				},
				{
					"id": "tween-one-property",
					"objectClass": "Bubbles_Die_FX",
					"sid": 896464971846683,
					"behaviorType": "Tween",
					"parameters": {
						"tags": "\"\"",
						"property": "offsetOpacity",
						"end-value": "0",
						"time": ".5",
						"ease": "default",
						"destroy-on-complete": "no",
						"loop": "no",
						"ping-pong": "no",
						"repeat-count": "1"
					}
				},
				{
					"id": "tween-two-properties",
					"objectClass": "Bubbles_Die_FX",
					"sid": 673077057857291,
					"behaviorType": "Tween",
					"parameters": {
						"tags": "\"\"",
						"property": "scale",
						"end-x": "1",
						"end-y": "1",
						"time": ".5",
						"ease": "easeoutquad",
						"destroy-on-complete": "yes",
						"loop": "no",
						"ping-pong": "no",
						"repeat-count": "1"
					}
				},
				{
					"id": "set-angle",
					"objectClass": "Bubbles_Die_FX",
					"sid": 704805866215421,
					"parameters": {
						"angle": "random(0,360)"
					}
				}
			],
			"sid": 136521318251078
		},
		{
			"eventType": "variable",
			"name": "xPadding",
			"type": "number",
			"initialValue": "0",
			"comment": "",
			"isStatic": false,
			"isConstant": false,
			"sid": 127928815595292
		},
		{
			"functionName": "GenerateBubbles",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [],
			"eventType": "function-block",
			"conditions": [],
			"actions": [],
			"sid": 178847642005673,
			"children": [
				{
					"eventType": "variable",
					"name": "posX",
					"type": "number",
					"initialValue": "280",
					"comment": "",
					"isStatic": false,
					"isConstant": false,
					"sid": 896245189571626
				},
				{
					"eventType": "variable",
					"name": "posY",
					"type": "number",
					"initialValue": "160",
					"comment": "",
					"isStatic": false,
					"isConstant": false,
					"sid": 541418662805520
				},
				{
					"eventType": "variable",
					"name": "spaceX",
					"type": "number",
					"initialValue": "60",
					"comment": "",
					"isStatic": false,
					"isConstant": false,
					"sid": 510769984127350
				},
				{
					"eventType": "variable",
					"name": "spaceY",
					"type": "number",
					"initialValue": "60",
					"comment": "",
					"isStatic": false,
					"isConstant": false,
					"sid": 576856497083660
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 634159848467587,
							"parameters": {
								"first-value": "int(random(2))",
								"comparison": 0,
								"second-value": "0"
							}
						}
					],
					"actions": [],
					"sid": 503471233767372,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "for",
									"objectClass": "System",
									"sid": 688370425641895,
									"parameters": {
										"name": "\"\"",
										"start-index": "1",
										"end-index": "5"
									}
								}
							],
							"actions": [],
							"sid": 812980540951893,
							"children": [
								{
									"eventType": "block",
									"conditions": [],
									"actions": [
										{
											"id": "set-eventvar-value",
											"objectClass": "System",
											"sid": 538250651471267,
											"parameters": {
												"variable": "posX",
												"value": "posX + spaceX"
											}
										},
										{
											"callFunction": "CreateBubble",
											"sid": 212102156421600,
											"parameters": [
												"posX",
												"posY"
											]
										}
									],
									"sid": 975329648596628
								}
							]
						}
					]
				},
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 366852094854386,
							"parameters": {
								"variable": "posY",
								"value": "400"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 758374786598582,
							"parameters": {
								"variable": "posX",
								"value": "220"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 927199191384136,
							"parameters": {
								"variable": "posX",
								"value": "posX + spaceX"
							}
						}
					],
					"sid": 611197966091916
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 731943706541116,
							"parameters": {
								"first-value": "int(random(2))",
								"comparison": 0,
								"second-value": "0"
							}
						}
					],
					"actions": [],
					"sid": 311642138743761,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "for",
									"objectClass": "System",
									"sid": 901726314880950,
									"parameters": {
										"name": "\"\"",
										"start-index": "1",
										"end-index": "5"
									}
								}
							],
							"actions": [],
							"sid": 393943140459177,
							"children": [
								{
									"eventType": "block",
									"conditions": [],
									"actions": [
										{
											"id": "set-eventvar-value",
											"objectClass": "System",
											"sid": 268802894018291,
											"parameters": {
												"variable": "posX",
												"value": "posX + spaceX"
											}
										},
										{
											"callFunction": "CreateBubble",
											"sid": 541807660124946,
											"parameters": [
												"posX",
												"posY"
											]
										}
									],
									"sid": 965410674085068
								}
							]
						}
					]
				},
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 978522691829801,
							"parameters": {
								"variable": "posY",
								"value": "200"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 864866779111663,
							"parameters": {
								"variable": "posX",
								"value": "220"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 730004513475702,
							"parameters": {
								"variable": "spaceX",
								"value": "70"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 835400283190116,
							"parameters": {
								"variable": "spaceY",
								"value": "40"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 592028284354851,
							"parameters": {
								"variable": "posX",
								"value": "posX + spaceX"
							}
						}
					],
					"sid": 245213228767769
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 521435167092912,
							"parameters": {
								"first-value": "int(random(2))",
								"comparison": 0,
								"second-value": "0"
							}
						}
					],
					"actions": [],
					"sid": 734917733905570,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "for",
									"objectClass": "System",
									"sid": 136472382597001,
									"parameters": {
										"name": "\"\"",
										"start-index": "1",
										"end-index": "4"
									}
								}
							],
							"actions": [],
							"sid": 262164359353676,
							"children": [
								{
									"eventType": "block",
									"conditions": [],
									"actions": [
										{
											"id": "set-eventvar-value",
											"objectClass": "System",
											"sid": 426794294561776,
											"parameters": {
												"variable": "posX",
												"value": "posX + spaceX"
											}
										},
										{
											"id": "set-eventvar-value",
											"objectClass": "System",
											"sid": 993102275598065,
											"parameters": {
												"variable": "posY",
												"value": "posY + spaceY"
											}
										},
										{
											"callFunction": "CreateBubble",
											"sid": 664677458155024,
											"parameters": [
												"posX",
												"posY"
											]
										}
									],
									"sid": 640857670644850
								}
							]
						}
					]
				},
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 771119629385087,
							"parameters": {
								"variable": "posY",
								"value": "200"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 302755585485653,
							"parameters": {
								"variable": "posX",
								"value": "600"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 508851457584864,
							"parameters": {
								"variable": "spaceX",
								"value": "70"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 124795056680844,
							"parameters": {
								"variable": "spaceY",
								"value": "40"
							}
						},
						{
							"id": "set-eventvar-value",
							"objectClass": "System",
							"sid": 767221999617042,
							"parameters": {
								"variable": "posX",
								"value": "posX + spaceX"
							}
						}
					],
					"sid": 691501542684394
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 187288654195845,
							"parameters": {
								"first-value": "int(random(2))",
								"comparison": 0,
								"second-value": "0"
							}
						}
					],
					"actions": [],
					"sid": 704324390549791,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "for",
									"objectClass": "System",
									"sid": 139774843192327,
									"parameters": {
										"name": "\"\"",
										"start-index": "1",
										"end-index": "int(random(5,6))"
									}
								}
							],
							"actions": [],
							"sid": 718653028359950,
							"children": [
								{
									"eventType": "block",
									"conditions": [],
									"actions": [
										{
											"id": "set-eventvar-value",
											"objectClass": "System",
											"sid": 734993664106985,
											"parameters": {
												"variable": "posX",
												"value": "posX - spaceX"
											}
										},
										{
											"id": "set-eventvar-value",
											"objectClass": "System",
											"sid": 186916181695206,
											"parameters": {
												"variable": "posY",
												"value": "posY + spaceY"
											}
										},
										{
											"callFunction": "CreateBubble",
											"sid": 573264482279988,
											"parameters": [
												"posX",
												"posY"
											]
										}
									],
									"sid": 737722793016976
								}
							]
						}
					]
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-collision-with-another-object",
					"objectClass": "Player",
					"sid": 122693095292247,
					"parameters": {
						"object": "BG_Piso"
					}
				}
			],
			"actions": [
				{
					"id": "set-opacity",
					"objectClass": "BG_Piso",
					"sid": 829953305159270,
					"parameters": {
						"opacity": "100"
					}
				}
			],
			"sid": 670435212501883
		},
		{
			"eventType": "group",
			"disabled": false,
			"title": "Rocks",
			"description": "",
			"isActiveOnStart": true,
			"children": [
				{
					"eventType": "variable",
					"name": "TimeRockFlash",
					"type": "number",
					"initialValue": "1",
					"comment": "",
					"isStatic": false,
					"isConstant": false,
					"sid": 270167151224445
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-eventvar",
							"objectClass": "System",
							"sid": 528415069208157,
							"parameters": {
								"variable": "GameTime",
								"comparison": 0,
								"value": "20"
							}
						}
					],
					"actions": [],
					"sid": 781197866973130,
					"disabled": true,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "pick-random-instance",
									"objectClass": "System",
									"sid": 918701985872864,
									"parameters": {
										"object": "Rock"
									}
								}
							],
							"actions": [],
							"sid": 664349658994989,
							"disabled": true
						}
					]
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 165141146885445,
							"parameters": {
								"first-value": "GameTime % 5",
								"comparison": 0,
								"second-value": "0"
							}
						},
						{
							"id": "compare-two-values",
							"objectClass": "System",
							"sid": 315549309822354,
							"parameters": {
								"first-value": "GameTime",
								"comparison": 2,
								"second-value": "39"
							}
						},
						{
							"id": "trigger-once-while-true",
							"objectClass": "System",
							"sid": 371945460153655
						}
					],
					"actions": [],
					"sid": 674495727859133,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "pick-random-instance",
									"objectClass": "System",
									"sid": 670805155273747,
									"parameters": {
										"object": "Rock"
									}
								}
							],
							"actions": [
								{
									"id": "set-visible",
									"objectClass": "Rock",
									"sid": 430319571869268,
									"parameters": {
										"visibility": "visible"
									}
								},
								{
									"id": "flash",
									"objectClass": "Rock",
									"sid": 877925385371071,
									"behaviorType": "Flash",
									"parameters": {
										"on-time": "0.1",
										"off-time": "0.1",
										"duration": "TimeRockFlash"
									}
								},
								{
									"id": "start-timer",
									"objectClass": "Rock",
									"sid": 850788945408017,
									"behaviorType": "Timer",
									"parameters": {
										"duration": "4.5 - TimeRockFlash",
										"type": "once",
										"tag": "\"RemoveRock\""
									}
								},
								{
									"id": "wait",
									"objectClass": "System",
									"sid": 969451472438089,
									"parameters": {
										"seconds": "TimeRockFlash"
									}
								},
								{
									"id": "set-collisions-enabled",
									"objectClass": "Rock",
									"sid": 523595594848211,
									"parameters": {
										"collisions": "enabled"
									}
								}
							],
							"sid": 419582673801043
						}
					]
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-eventvar",
							"objectClass": "System",
							"sid": 306669461687407,
							"parameters": {
								"variable": "GameTime",
								"comparison": 0,
								"value": "15"
							}
						},
						{
							"id": "trigger-once-while-true",
							"objectClass": "System",
							"sid": 756655712072571
						}
					],
					"actions": [],
					"sid": 622579946032589,
					"disabled": true,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "pick-random-instance",
									"objectClass": "System",
									"sid": 367942698326923,
									"parameters": {
										"object": "Rock"
									}
								}
							],
							"actions": [
								{
									"id": "set-visible",
									"objectClass": "Rock",
									"sid": 795383405978266,
									"parameters": {
										"visibility": "visible"
									}
								},
								{
									"id": "flash",
									"objectClass": "Rock",
									"sid": 559821908712262,
									"behaviorType": "Flash",
									"parameters": {
										"on-time": "0.1",
										"off-time": "0.1",
										"duration": "TimeRockFlash"
									}
								},
								{
									"id": "start-timer",
									"objectClass": "Rock",
									"sid": 820974118316752,
									"behaviorType": "Timer",
									"parameters": {
										"duration": "4.5 - TimeRockFlash",
										"type": "once",
										"tag": "\"RemoveRock\""
									}
								},
								{
									"id": "wait",
									"objectClass": "System",
									"sid": 230522475065321,
									"parameters": {
										"seconds": "TimeRockFlash"
									}
								},
								{
									"id": "set-collisions-enabled",
									"objectClass": "Rock",
									"sid": 595139562713444,
									"parameters": {
										"collisions": "enabled"
									}
								}
							],
							"sid": 145042334672284,
							"disabled": true
						}
					]
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-eventvar",
							"objectClass": "System",
							"sid": 343216827097159,
							"parameters": {
								"variable": "GameTime",
								"comparison": 0,
								"value": "10"
							}
						},
						{
							"id": "trigger-once-while-true",
							"objectClass": "System",
							"sid": 964053098876729
						}
					],
					"actions": [],
					"sid": 746788028007156,
					"disabled": true,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "pick-random-instance",
									"objectClass": "System",
									"sid": 280633020394347,
									"parameters": {
										"object": "Rock"
									}
								}
							],
							"actions": [
								{
									"id": "set-visible",
									"objectClass": "Rock",
									"sid": 683271242706631,
									"parameters": {
										"visibility": "visible"
									}
								},
								{
									"id": "flash",
									"objectClass": "Rock",
									"sid": 697167757029380,
									"behaviorType": "Flash",
									"parameters": {
										"on-time": "0.1",
										"off-time": "0.1",
										"duration": "TimeRockFlash"
									}
								},
								{
									"id": "start-timer",
									"objectClass": "Rock",
									"sid": 295184249928218,
									"behaviorType": "Timer",
									"parameters": {
										"duration": "4.5 - TimeRockFlash",
										"type": "once",
										"tag": "\"RemoveRock\""
									}
								},
								{
									"id": "wait",
									"objectClass": "System",
									"sid": 730123627918691,
									"parameters": {
										"seconds": "TimeRockFlash"
									}
								},
								{
									"id": "set-collisions-enabled",
									"objectClass": "Rock",
									"sid": 456435343926470,
									"parameters": {
										"collisions": "enabled"
									}
								}
							],
							"sid": 666498594263889,
							"disabled": true
						}
					]
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "compare-eventvar",
							"objectClass": "System",
							"sid": 665573197451458,
							"parameters": {
								"variable": "GameTime",
								"comparison": 0,
								"value": "5"
							}
						},
						{
							"id": "trigger-once-while-true",
							"objectClass": "System",
							"sid": 289735178420775
						}
					],
					"actions": [],
					"sid": 254697538773559,
					"disabled": true,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "pick-random-instance",
									"objectClass": "System",
									"sid": 131485980244412,
									"parameters": {
										"object": "Rock"
									}
								}
							],
							"actions": [
								{
									"id": "set-visible",
									"objectClass": "Rock",
									"sid": 322669991975893,
									"parameters": {
										"visibility": "visible"
									}
								},
								{
									"id": "flash",
									"objectClass": "Rock",
									"sid": 675640610478124,
									"behaviorType": "Flash",
									"parameters": {
										"on-time": "0.1",
										"off-time": "0.1",
										"duration": "TimeRockFlash"
									}
								},
								{
									"id": "start-timer",
									"objectClass": "Rock",
									"sid": 491908249762186,
									"behaviorType": "Timer",
									"parameters": {
										"duration": "4.5 - TimeRockFlash",
										"type": "once",
										"tag": "\"RemoveRock\""
									}
								},
								{
									"id": "wait",
									"objectClass": "System",
									"sid": 184020234874267,
									"parameters": {
										"seconds": "TimeRockFlash"
									}
								},
								{
									"id": "set-collisions-enabled",
									"objectClass": "Rock",
									"sid": 407594973367239,
									"parameters": {
										"collisions": "enabled"
									}
								}
							],
							"sid": 806713771107345,
							"disabled": true
						}
					]
				},
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "on-timer",
							"objectClass": "Rock",
							"sid": 456871298133170,
							"behaviorType": "Timer",
							"parameters": {
								"tag": "\"RemoveRock\""
							}
						}
					],
					"actions": [
						{
							"id": "flash",
							"objectClass": "Rock",
							"sid": 765189618621335,
							"behaviorType": "Flash",
							"parameters": {
								"on-time": "0.1",
								"off-time": "0.1",
								"duration": ".5"
							}
						},
						{
							"id": "wait",
							"objectClass": "System",
							"sid": 512944770852040,
							"parameters": {
								"seconds": ".6"
							}
						},
						{
							"id": "set-visible",
							"objectClass": "Rock",
							"sid": 729589040773950,
							"parameters": {
								"visibility": "invisible"
							}
						},
						{
							"id": "set-collisions-enabled",
							"objectClass": "Rock",
							"sid": 357345235644326,
							"parameters": {
								"collisions": "disabled"
							}
						}
					],
					"sid": 715598227660996
				}
			],
			"sid": 486190668161527
		},
		{
			"functionName": "UpdateBubbleColor",
			"functionDescription": "",
			"functionCategory": "",
			"functionReturnType": "none",
			"functionCopyPicked": false,
			"functionIsAsync": false,
			"functionParameters": [
				{
					"name": "UID",
					"type": "number",
					"initialValue": "0",
					"comment": "",
					"sid": 243881175762426
				}
			],
			"eventType": "function-block",
			"conditions": [],
			"actions": [],
			"sid": 266118925735510,
			"children": [
				{
					"eventType": "block",
					"conditions": [
						{
							"id": "for-each",
							"objectClass": "System",
							"sid": 558343171801575,
							"parameters": {
								"object": "Bubble"
							}
						}
					],
					"actions": [],
					"sid": 839659815464575,
					"children": [
						{
							"eventType": "block",
							"conditions": [
								{
									"id": "pick-by-evaluate",
									"objectClass": "System",
									"sid": 142337198727010,
									"parameters": {
										"object": "Bubble",
										"expression": "Bubble.UID = UID"
									}
								}
							],
							"actions": [
								{
									"id": "set-effect-parameter",
									"objectClass": "Bubble",
									"sid": 291417049450218,
									"parameters": {
										"effect": "\"AdjustHSL\"",
										"parameter-index": "0",
										"value": "0"
									}
								},
								{
									"id": "set-effect-parameter",
									"objectClass": "Bubble",
									"sid": 193225364853101,
									"parameters": {
										"effect": "\"AdjustHSL\"",
										"parameter-index": "1",
										"value": "0"
									}
								},
								{
									"id": "set-effect-parameter",
									"objectClass": "Bubble",
									"sid": 443182045764088,
									"parameters": {
										"effect": "\"AdjustHSL\"",
										"parameter-index": "2",
										"value": "70"
									}
								}
							],
							"sid": 734380012760834,
							"children": [
								{
									"eventType": "block",
									"conditions": [
										{
											"id": "compare-instance-variable",
											"objectClass": "Bubble",
											"sid": 995307937209811,
											"parameters": {
												"instance-variable": "health",
												"comparison": 0,
												"value": "5"
											}
										}
									],
									"actions": [
										{
											"id": "set-effect-parameter",
											"objectClass": "Bubble",
											"sid": 377824188316064,
											"parameters": {
												"effect": "\"Tint\"",
												"parameter-index": "0",
												"value": "rgbEx(255, 235, 102)"
											}
										}
									],
									"sid": 329070417039879
								},
								{
									"eventType": "block",
									"conditions": [
										{
											"id": "compare-instance-variable",
											"objectClass": "Bubble",
											"sid": 689300873783292,
											"parameters": {
												"instance-variable": "health",
												"comparison": 0,
												"value": "4"
											}
										}
									],
									"actions": [
										{
											"id": "set-effect-parameter",
											"objectClass": "Bubble",
											"sid": 295909839730860,
											"parameters": {
												"effect": "\"Tint\"",
												"parameter-index": "0",
												"value": "rgbEx(255, 102, 148)"
											}
										}
									],
									"sid": 352264566695444
								},
								{
									"eventType": "block",
									"conditions": [
										{
											"id": "compare-instance-variable",
											"objectClass": "Bubble",
											"sid": 876075193481807,
											"parameters": {
												"instance-variable": "health",
												"comparison": 0,
												"value": "3"
											}
										}
									],
									"actions": [
										{
											"id": "set-effect-parameter",
											"objectClass": "Bubble",
											"sid": 420057475389487,
											"parameters": {
												"effect": "\"Tint\"",
												"parameter-index": "0",
												"value": "rgbEx(179, 102, 255)"
											}
										}
									],
									"sid": 973266532829460
								},
								{
									"eventType": "block",
									"conditions": [
										{
											"id": "compare-instance-variable",
											"objectClass": "Bubble",
											"sid": 171244930429809,
											"parameters": {
												"instance-variable": "health",
												"comparison": 0,
												"value": "2"
											}
										}
									],
									"actions": [
										{
											"id": "set-effect-parameter",
											"objectClass": "Bubble",
											"sid": 781903175389311,
											"parameters": {
												"effect": "\"Tint\"",
												"parameter-index": "0",
												"value": "rgbEx(102, 161, 255)"
											}
										}
									],
									"sid": 904999707220877
								},
								{
									"eventType": "block",
									"conditions": [
										{
											"id": "compare-instance-variable",
											"objectClass": "Bubble",
											"sid": 533928496447356,
											"parameters": {
												"instance-variable": "health",
												"comparison": 0,
												"value": "1"
											}
										}
									],
									"actions": [
										{
											"id": "set-effect-parameter",
											"objectClass": "Bubble",
											"sid": 411500990477100,
											"parameters": {
												"effect": "\"Tint\"",
												"parameter-index": "0",
												"value": "rgbEx(120, 120, 120)"
											}
										}
									],
									"sid": 803891754443314
								}
							]
						}
					]
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "compare-eventvar",
					"objectClass": "System",
					"sid": 158387176666503,
					"parameters": {
						"variable": "GameTime",
						"comparison": 4,
						"value": "0"
					}
				},
				{
					"id": "every-x-seconds",
					"objectClass": "System",
					"sid": 993886586291166,
					"parameters": {
						"interval-seconds": "spawnBubblesTime"
					}
				},
				{
					"id": "compare-boolean-eventvar",
					"objectClass": "System",
					"sid": 998977773628349,
					"parameters": {
						"variable": "GameRunning"
					}
				}
			],
			"actions": [
				{
					"callFunction": "GenerateBubbles",
					"sid": 650024258488329
				}
			],
			"sid": 368567421160097
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 582274358345591,
					"parameters": {
						"key": 69
					}
				}
			],
			"actions": [
				{
					"id": "shake",
					"objectClass": "S_Camera",
					"sid": 773766332994301,
					"behaviorType": "ScrollTo",
					"parameters": {
						"magnitude": "20",
						"duration": "0.4",
						"mode": "reducing-magnitude"
					}
				}
			],
			"sid": 118846507327589
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 960962552893751,
					"parameters": {
						"key": 85
					}
				}
			],
			"actions": [
				{
					"id": "set-effect-parameter",
					"objectClass": "Bubble",
					"sid": 628917546390218,
					"parameters": {
						"effect": "\"AdjustHSL\"",
						"parameter-index": "0",
						"value": "0"
					}
				},
				{
					"id": "set-effect-parameter",
					"objectClass": "Bubble",
					"sid": 858823807624722,
					"parameters": {
						"effect": "\"AdjustHSL\"",
						"parameter-index": "1",
						"value": "0"
					}
				},
				{
					"id": "set-effect-parameter",
					"objectClass": "Bubble",
					"sid": 296606851638938,
					"parameters": {
						"effect": "\"AdjustHSL\"",
						"parameter-index": "2",
						"value": "100"
					}
				}
			],
			"sid": 815542568448185,
			"disabled": true
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "on-key-pressed",
					"objectClass": "Keyboard",
					"sid": 859991408858646,
					"parameters": {
						"key": 73
					}
				}
			],
			"actions": [
				{
					"id": "set-effect-parameter",
					"objectClass": "Bubble",
					"sid": 993692448270445,
					"parameters": {
						"effect": "\"AdjustHSL\"",
						"parameter-index": "0",
						"value": "0"
					}
				},
				{
					"id": "set-effect-parameter",
					"objectClass": "Bubble",
					"sid": 404046555062796,
					"parameters": {
						"effect": "\"AdjustHSL\"",
						"parameter-index": "1",
						"value": "0"
					}
				},
				{
					"id": "set-effect-parameter",
					"objectClass": "Bubble",
					"sid": 761949846171848,
					"parameters": {
						"effect": "\"AdjustHSL\"",
						"parameter-index": "2",
						"value": "50"
					}
				}
			],
			"sid": 692555169388613,
			"disabled": true
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "compare-eventvar",
					"objectClass": "System",
					"sid": 985482240352523,
					"parameters": {
						"variable": "GameTime",
						"comparison": 0,
						"value": "40"
					}
				},
				{
					"id": "trigger-once-while-true",
					"objectClass": "System",
					"sid": 839446516520517
				}
			],
			"actions": [
				{
					"id": "shake",
					"objectClass": "S_Camera",
					"sid": 276754150664913,
					"behaviorType": "ScrollTo",
					"parameters": {
						"magnitude": "20",
						"duration": "0.4",
						"mode": "reducing-magnitude"
					}
				},
				{
					"id": "set-opacity",
					"objectClass": "P_Particle",
					"sid": 636130817805445,
					"parameters": {
						"opacity": "50"
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 913671686805488,
					"parameters": {
						"variable": "playerSpeed",
						"value": "0.25"
					}
				}
			],
			"sid": 871367724072892,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-spraying",
							"objectClass": "P_Particle",
							"sid": 520518492485499,
							"parameters": {
								"state": "spraying"
							}
						}
					],
					"sid": 795142690565701
				},
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-layer-effect-enabled",
							"objectClass": "System",
							"sid": 340368342637571,
							"parameters": {
								"layer": "\"FX_Tint\"",
								"mode": "enable",
								"effect": "\"1_AdjustHSL\""
							}
						},
						{
							"id": "set-layer-effect-enabled",
							"objectClass": "System",
							"sid": 229136075648198,
							"parameters": {
								"layer": "\"FX_Tint\"",
								"mode": "enable",
								"effect": "\"1_Contrast\""
							}
						}
					],
					"sid": 609542799045070
				},
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "stop",
							"objectClass": "Audio",
							"sid": 390198333331317,
							"parameters": {
								"tag": "\"music1\""
							}
						},
						{
							"id": "play",
							"objectClass": "Audio",
							"sid": 668669897718865,
							"parameters": {
								"audio-file": "Music_HipHop_3",
								"loop": "looping",
								"volume": "0",
								"stereo-pan": "0",
								"tag-optional": "\"music2\""
							}
						}
					],
					"sid": 477007347361252
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "compare-eventvar",
					"objectClass": "System",
					"sid": 843900977758976,
					"parameters": {
						"variable": "GameTime",
						"comparison": 0,
						"value": "15"
					}
				},
				{
					"id": "trigger-once-while-true",
					"objectClass": "System",
					"sid": 298886138020044
				}
			],
			"actions": [
				{
					"id": "shake",
					"objectClass": "S_Camera",
					"sid": 105242562994111,
					"behaviorType": "ScrollTo",
					"parameters": {
						"magnitude": "20",
						"duration": "0.4",
						"mode": "reducing-magnitude"
					}
				},
				{
					"id": "set-rate",
					"objectClass": "P_Particle",
					"sid": 296957571510658,
					"parameters": {
						"rate": "50"
					}
				},
				{
					"id": "set-spray-cone",
					"objectClass": "P_Particle",
					"sid": 601001708506022,
					"parameters": {
						"spray-cone": "360"
					}
				},
				{
					"id": "set-speed",
					"objectClass": "P_Particle",
					"sid": 391624727268371,
					"parameters": {
						"speed": "100"
					}
				},
				{
					"id": "set-opacity",
					"objectClass": "P_Particle",
					"sid": 587968617145014,
					"parameters": {
						"opacity": "100"
					}
				},
				{
					"id": "set-eventvar-value",
					"objectClass": "System",
					"sid": 994671375177842,
					"parameters": {
						"variable": "playerSpeed",
						"value": "0.15"
					}
				}
			],
			"sid": 190082360356434,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-layer-effect-enabled",
							"objectClass": "System",
							"sid": 950840578781124,
							"parameters": {
								"layer": "\"FX_Tint\"",
								"mode": "disable",
								"effect": "\"1_AdjustHSL\""
							}
						},
						{
							"id": "set-layer-effect-enabled",
							"objectClass": "System",
							"sid": 568800709426936,
							"parameters": {
								"layer": "\"FX_Tint\"",
								"mode": "disable",
								"effect": "\"1_Contrast\""
							}
						},
						{
							"id": "set-layer-effect-enabled",
							"objectClass": "System",
							"sid": 387110045473285,
							"parameters": {
								"layer": "\"FX_Tint\"",
								"mode": "enable",
								"effect": "\"2_AdjustHSL2\""
							}
						},
						{
							"id": "set-layer-effect-enabled",
							"objectClass": "System",
							"sid": 686336900977503,
							"parameters": {
								"layer": "\"FX_Tint\"",
								"mode": "enable",
								"effect": "\"2_Contrast2\""
							}
						},
						{
							"id": "set-layer-effect-enabled",
							"objectClass": "System",
							"sid": 733698283287876,
							"parameters": {
								"layer": "\"FX_Tint\"",
								"mode": "enable",
								"effect": "\"2_Tint\""
							}
						},
						{
							"id": "set-layer-effect-enabled",
							"objectClass": "System",
							"sid": 561694550404959,
							"parameters": {
								"layer": "\"FX_Tint\"",
								"mode": "enable",
								"effect": "\"2_Vignette\""
							}
						}
					],
					"sid": 589846119686116
				},
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "stop",
							"objectClass": "Audio",
							"sid": 875095098045504,
							"parameters": {
								"tag": "\"music2\""
							}
						},
						{
							"id": "play",
							"objectClass": "Audio",
							"sid": 153300374983635,
							"parameters": {
								"audio-file": "Music_HipHop_2",
								"loop": "looping",
								"volume": "0",
								"stereo-pan": "0",
								"tag-optional": "\"music3\""
							}
						},
						{
							"id": "set-playback-rate",
							"objectClass": "Audio",
							"sid": 360802002311013,
							"parameters": {
								"tag": "\"music3\"",
								"playback-rate": "1.3"
							}
						}
					],
					"sid": 348004168844369
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "compare-eventvar",
					"objectClass": "System",
					"sid": 166612997036763,
					"parameters": {
						"variable": "GameTime",
						"comparison": 0,
						"value": "0"
					}
				},
				{
					"id": "compare-two-values",
					"objectClass": "System",
					"sid": 153716377973235,
					"parameters": {
						"first-value": "Bubble.Count",
						"comparison": 3,
						"second-value": "5"
					}
				},
				{
					"id": "trigger-once-while-true",
					"objectClass": "System",
					"sid": 100223913969575
				}
			],
			"actions": [
				{
					"id": "set-boolean-eventvar",
					"objectClass": "System",
					"sid": 644050232391695,
					"parameters": {
						"variable": "GameOver",
						"value": "true"
					}
				}
			],
			"sid": 361189808353612,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [],
					"sid": 343533524346034
				}
			]
		},
		{
			"eventType": "block",
			"conditions": [
				{
					"id": "compare-eventvar",
					"objectClass": "System",
					"sid": 756078973527345,
					"parameters": {
						"variable": "GameTime",
						"comparison": 0,
						"value": "0"
					}
				},
				{
					"id": "compare-boolean-eventvar",
					"objectClass": "System",
					"sid": 228176331396718,
					"parameters": {
						"variable": "GameOver"
					}
				}
			],
			"actions": [],
			"sid": 505232304505562,
			"children": [
				{
					"eventType": "block",
					"conditions": [],
					"actions": [
						{
							"id": "set-boolean-eventvar",
							"objectClass": "System",
							"sid": 607281879521949,
							"parameters": {
								"variable": "GameRunning",
								"value": "false"
							}
						},
						{
							"id": "wait",
							"objectClass": "System",
							"sid": 678989607067661,
							"parameters": {
								"seconds": "2"
							}
						},
						{
							"id": "go-to-layout",
							"objectClass": "System",
							"sid": 598744377951410,
							"parameters": {
								"layout": "Final"
							}
						}
					],
					"sid": 124603542930480
				}
			]
		}
	],
	"sid": 949116493139227
}