Files
SuperMarioBrosMini/project/scripts/togglepause.gbsres
T
Mico27 43bae641a2 Change log:
- Added "hurry up" music
- Fixed hanging notes when pausing
- Fixed potential soft lock in 14-3
- Fixed Pipe being too tall in 14-2
- Adjusted 11-1 a bit to be easier to get under the fort
- Adjusted 14-1 sub level to prevent soft-lock on random mode when swimming, also added holes at the bottom to get rid of the shells
- Adjusted 15-4 to allow the barrels to exit stage when they reach the bottom
- Adjusted loading trigger in 14-1 to not be in the middle of the pit
- Adjusted multi coin block timer
2024-10-29 04:04:04 -04:00

78 lines
1.8 KiB
Plaintext

{
"_resourceType": "script",
"id": "f6f4357f-bb83-41b9-bcff-7cd7fb5ee8e0",
"name": "TogglePause",
"description": "",
"variables": {},
"actors": {},
"symbol": "script_24",
"script": [
{
"command": "EVENT_SCRIPT_LOCK",
"args": {},
"id": "63b97765-8c2d-4f0e-baae-2650e08e29ec"
},
{
"command": "EVENT_SOUND_PLAY_EFFECT",
"args": {
"type": "bccae2f0-a357-497c-b167-67898b1c631f",
"priority": "medium",
"pitch": 4,
"frequency": 200,
"duration": 0.5,
"wait": true,
"effect": 0
},
"id": "fa833136-5139-4b23-87c7-a032a4a138db"
},
{
"command": "EVENT_GBVM_SCRIPT",
"args": {
"script": "VM_MUSIC_MUTE 0b1111\nVM_SET_CONST_UINT8 _music_play_isr_pause, 1\nVM_MUSIC_MUTE 0b0000"
},
"id": "9dc35d03-87f7-4c47-8ea4-19d48b8222e6"
},
{
"command": "EVENT_WAIT",
"args": {
"time": 0.5,
"frames": 30
},
"id": "2aed1f38-e40f-4c77-9e6f-c2a6471557a3"
},
{
"command": "EVENT_AWAIT_INPUT",
"args": {
"input": [
"start"
]
},
"id": "7ca59d34-c647-4fbd-8e63-27916b7d44ae"
},
{
"command": "EVENT_SOUND_PLAY_EFFECT",
"args": {
"type": "bccae2f0-a357-497c-b167-67898b1c631f",
"priority": "medium",
"pitch": 4,
"frequency": 200,
"duration": 0.5,
"wait": true,
"effect": 0
},
"id": "1611b1ac-a462-46be-983b-50dc041ccce6"
},
{
"command": "EVENT_GBVM_SCRIPT",
"args": {
"script": "VM_SET_CONST_UINT8 _music_play_isr_pause, 0"
},
"id": "fae8f107-d6d3-4ca9-8652-66f85a0b56e3"
},
{
"command": "EVENT_SCRIPT_UNLOCK",
"args": {},
"id": "9c848164-7d31-427e-a786-fbfddae12fe9"
}
]
}