You've already forked SuperMarioBrosMini
mirror of
https://github.com/izzy2lost/SuperMarioBrosMini.git
synced 2026-03-26 16:58:34 -07:00
91 lines
1.8 KiB
Plaintext
91 lines
1.8 KiB
Plaintext
{
|
|
"_resourceType": "script",
|
|
"id": "7472c75b-28ba-4e82-9e18-5c1cc4daf097",
|
|
"name": "ResetEnemy",
|
|
"description": "",
|
|
"variables": {
|
|
"V0": {
|
|
"id": "V0",
|
|
"name": "PosX",
|
|
"passByReference": false
|
|
},
|
|
"V1": {
|
|
"id": "V1",
|
|
"name": "PosY",
|
|
"passByReference": false
|
|
},
|
|
"V2": {
|
|
"id": "V2",
|
|
"name": "Behavior",
|
|
"passByReference": false
|
|
}
|
|
},
|
|
"actors": {
|
|
"0": {
|
|
"id": "0",
|
|
"name": "EnemyActor"
|
|
}
|
|
},
|
|
"symbol": "script_10",
|
|
"script": [
|
|
{
|
|
"command": "EVENT_ACTOR_SET_POSITION",
|
|
"args": {
|
|
"actorId": "0",
|
|
"x": {
|
|
"type": "variable",
|
|
"value": "V0"
|
|
},
|
|
"y": {
|
|
"type": "variable",
|
|
"value": "V1"
|
|
},
|
|
"__collapse": true
|
|
},
|
|
"id": "ea1c8c07-4b58-4939-8d65-6972fc5db1fe"
|
|
},
|
|
{
|
|
"command": "EVENT_ACTOR_SET_STATE",
|
|
"args": {
|
|
"actorId": "0",
|
|
"spriteStateId": "",
|
|
"loopAnim": true,
|
|
"__collapse": true
|
|
},
|
|
"id": "7168ff5b-1230-434c-a677-2dfe884eb285"
|
|
},
|
|
{
|
|
"command": "EVENT_SET_ACTOR_BEHAVIOR",
|
|
"args": {
|
|
"actorId": "0",
|
|
"behaviorId": {
|
|
"type": "variable",
|
|
"value": "V2"
|
|
},
|
|
"__collapse": true
|
|
},
|
|
"id": "f85f927d-8be3-471c-be99-fc9404f2c45c"
|
|
},
|
|
{
|
|
"command": "EVENT_SET_ACTOR_STATE",
|
|
"args": {
|
|
"actorId": "0",
|
|
"stateId": {
|
|
"type": "number",
|
|
"value": 0
|
|
},
|
|
"__collapse": true
|
|
},
|
|
"id": "c9b5691a-1e07-44dd-a86f-e50a22a56508"
|
|
},
|
|
{
|
|
"command": "EVENT_ACTOR_ACTIVATE",
|
|
"args": {
|
|
"actorId": "0",
|
|
"__comment": false,
|
|
"__collapse": true
|
|
},
|
|
"id": "5ff32ec9-2e10-4ea2-afd7-09bcbe4310a7"
|
|
}
|
|
]
|
|
} |