Newer
Older
System38 / project / scenes / e04-03-desm2 / actors / actor_3.gbsres
{
  "_resourceType": "actor",
  "id": "866a9a14-a1c8-46e8-a11b-743e6c2cd30e",
  "_index": 2,
  "symbol": "actor_32",
  "prefabId": "",
  "name": "",
  "x": 4,
  "y": 6,
  "frame": 0,
  "animate": false,
  "spriteSheetId": "94d68f39-5181-49db-bfb3-51525f7965c3",
  "paletteId": "",
  "direction": "down",
  "moveSpeed": 1,
  "animSpeed": 15,
  "isPinned": false,
  "persistent": false,
  "collisionGroup": "",
  "prefabScriptOverrides": {},
  "script": [
    {
      "command": "EVENT_SOUND_PLAY_EFFECT",
      "args": {
        "type": "crash",
        "priority": "medium",
        "pitch": 4,
        "frequency": 200,
        "duration": 0.2,
        "wait": true,
        "effect": 0
      },
      "id": "28bf417f-ff79-4212-aee3-242214b76c47"
    },
    {
      "command": "EVENT_DEC_VALUE",
      "args": {
        "variable": "T0",
        "__collapse": true
      },
      "id": "2545c94e-53e7-48a6-a2c5-179bb2c0905c"
    },
    {
      "command": "EVENT_IF",
      "args": {
        "variable": "T0",
        "operator": "==",
        "comparator": "0",
        "__collapseElse": true,
        "__collapse": false,
        "condition": {
          "type": "eq",
          "valueA": {
            "type": "variable",
            "value": "T0"
          },
          "valueB": {
            "type": "number",
            "value": 0
          }
        }
      },
      "children": {
        "true": [
          {
            "command": "EVENT_SWITCH_SCENE",
            "args": {
              "sceneId": "278658f1-dff0-4595-8ca9-c86414302808",
              "x": {
                "type": "number",
                "value": 9
              },
              "y": {
                "type": "number",
                "value": 11
              },
              "direction": "",
              "fadeSpeed": "2"
            },
            "id": "762b389f-8465-46ba-9dff-62c0c966994f"
          }
        ],
        "false": []
      },
      "id": "e2372240-0a0a-4b0c-9d51-8ccc027b1a3c"
    },
    {
      "command": "EVENT_ACTOR_HIDE",
      "args": {
        "actorId": "$self$"
      },
      "id": "8cf512a7-0e73-4229-aa20-9b7963ddd26d"
    },
    {
      "command": "EVENT_ACTOR_COLLISIONS_DISABLE",
      "args": {
        "actorId": "$self$"
      },
      "id": "ff320839-aa1a-42d0-92a3-7e7bd10eeeca"
    }
  ],
  "startScript": [],
  "updateScript": [],
  "hit1Script": [],
  "hit2Script": [],
  "hit3Script": []
}