Lost - A Mobile Platformer | Desert - 14 levels

Instructions: Spam that green flag as many times as you have IQ points otherwise it may glitch or lag. (If there is water on the first level, then spam the green flag again)\n\nWelcome to Lost - A Mobile Platformer. \n\nThis may take a while to load because it has over 1700 blocks of code and a lot of costumes, so please be patient - it is worth the wait :P\n\nPlay here for less lag: https://forkphorus.github.io/#391398802\n\n–––––––––––––––––– Storyline ––––––––––––––––––––\nYou were on a train when it derailed and fell off the sides of the train tracks. You survive, but soon find out no one else is alive. You look around to see that you are in a desert, far from any known land. In this adventure, you must complete each level as you move on with your journey to find your home.\n\n–––––––––––––––––– Instructions ––––––––––––––––––  \n• All levels are 100% possible on mobile and computer ( I have beat all the levels on both)\n• Arrow keys, WASD, or mobile controls to move \n• Press "S" to skip or pres the skip button\n• Press "R" to retry or press the retry button\n• Down arrow/ s key to drop through some platforms\n• Up arrow to climb ladders\n• Up arrow to swim\n• Bounce on mushrooms to jump higher\n• Get to the other side of the screen to advance to the next level\n• Don't touch the cacti or fall down\n• Water slows you down\n• You can jump through tree leaves, but not branches\n• Click on the mute button or press "M" to mute or unmute\n• And lastly, try to find the Easter egg! (Hint: you can find it if you click "see inside")\n

@Stage\n\nwhen I receive [turn page v]\nswitch backdrop to (backdrop18 v)\n\n@This\n\n@is\n\nwhen I receive [turn page v]\nReset Level\nforever\n    if <(dead?) = [0]> then\n        set [x v] to (x position)\n        set [y v] to (y position)\n        switch costume to (hitbox v)\n    end\n    next level?\n    Controls - Jump, Crouch\n    Gravity\n    Check Hit Ceiling / Floor <(speed y) > [0]>\n    Spikes?\n    if <(y position) < [-189]> then\n        set [dead? v] to [1]\n        Reset Level\n    end\n    Spikes?\n    if <(wall jump) > [0]> then\n        change [wall jump v] by (-1)\n    else\n        Controls - Left and Right\n    end\n    next level?\n    Spikes?\n    if <(speed x) < [-0.5]> then\n        Walk (-90) (speed x) max step (([ceiling v] of ([abs v] of ((speed x) * (1.3)) ) ) + (1))\n    else\n        if <(speed x) > [0.5]> then\n            Walk (90) (speed x) max step (([ceiling v] of ([abs v] of ((speed x) * (1.3)) ) ) + (1))\n        else\n            set [frame v] to [0]\n        end\n    end\n    Spikes?\n    Set Costume\n    broadcast (tick v) and wait\nend\n\ndefine Reset Level\nset [dead? v] to [0]\nbroadcast (Background stop! v)\npoint in direction (90)\nset size to (25) %\nset rotation style [left-right v]\nif <(level) = [7]> then\n    go to x: (-200) y: (130)\nelse\n    if <(level) = [9]> then\n        go to x: (-200) y: (-50)\n    else\n        go to x: (-200) y: (0)\n    end\nend\nreset timer\nshow\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [falling? v] to [10]\nset [in platforrm v] to [1]\nset [frame v] to [0]\nset [wall jump v] to [0]\n\ndefine Controls - Jump, Crouch\nSpikes?\nif <<(dead?) = [0]> or <<<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> or <key (up arrow v) pressed?>>> then\n    if <<<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> or <key (up arrow v) pressed?>> then\n        if <(jump key) = [0]> then\n            if <(dead?) = [0]> then\n                if <(falling?) < [3]> then\n                    set [speed y v] to [14]\n                    set [falling? v] to [6]\n                    set [jump key v] to [1]\n                else\n                    if <<<touching (dragon v)?> or <touching (projects v)?>> or <touching (like v)?>> then\n                        set [speed y v] to [6]\n                        set [falling? v] to [3]\n                        set [jump key v] to [1]\n                    end\n                end\n            end\n        end\n    else\n        set [jump key v] to [0]\n    end\n    if <<key (s v) pressed?> or <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>>> then\n        set [in platforrm v] to [2]\n    end\nend\n\ndefine Gravity\nif <<(speed y) < [4]> or <<<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> or <key (up arrow v) pressed?>>> then\n    if <not <<<touching (dragon v)?> or <touching (projects v)?>> or <touching (like v)?>>> then\n        change [speed y v] by (-1)\n    else\n        change [speed y v] by (-0.1)\n    end\nelse\n    if <not <<<touching (dragon v)?> or <touching (projects v)?>> or <touching (like v)?>>> then\n        change [speed y v] by (-2)\n    else\n        change [speed y v] by (-0.2)\n    end\nend\nchange y by (speed y)\nchange [falling? v] by (1)\n\nif <touching (dragon v)?> then\n    change [speed y v] by (-0.5)\nelse\n    change [speed y v] by (-1)\nend\n\ndefine Check Hit Ceiling / Floor <up?>\nGet Touching \nif <(touch) = [0]> then\n    set [in platforrm v] to [1]\nelse\n    if <<up?> and <(touch) = [1]>> then\n        set [in platforrm v] to [2]\n    end\nend\nrepeat until <(touch) < (in platforrm)>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    Get Touching <not <up?>>\n    set [speed y v] to [0]\nend\n\ndefine Walk (direction) (speed) max step (step)\npoint in direction (direction)\nchange x by (speed)\nchange [frame v] by (([abs v] of (speed) ) / (8))\nset [slope v] to [0]\nGet Touching <(in platforrm) = [1]>\nrepeat until <<(slope) = (step)> or <(touch) = [0]>>\n    change y by (1)\n    change [slope v] by (1)\n    Get Touching <(in platforrm) = [1]>\nend\nif <(slope) = (step)> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\n    if <<(touch) = [1]> and <(in platforrm) = [1]>> then\n        set [in platforrm v] to [2]\n        Walk (direction) (speed) max step (step)\n        if <(speed x) = [0]> then\n            set [in platforrm v] to [1]\n        end\n    else\n        if <<<<<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> or <key (up arrow v) pressed?>> and <([abs v] of (speed) ) > [3.5]>> and <(touch) > [1]>> then\n            set [speed x v] to ((-1.2) * (speed))\n            set [speed y v] to [11]\n            set [falling? v] to [6]\n            set [wall jump v] to [15]\n        else\n            set [speed x v] to [0]\n        end\n    end\nend\n\ndefine Controls - Left and Right\nset [speed x v] to ((speed x) * (0.7))\nif <<key (a v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (left arrow v) pressed?>>> then\n    if <not <<<touching (dragon v)?> or <touching (projects v)?>> or <touching (like v)?>>> then\n        change [speed x v] by (-1.5)\n    else\n        change [speed x v] by (-0.3)\n    end\nend\nif <<key (d v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>>> then\n    if <not <<<touching (dragon v)?> or <touching (projects v)?>> or <touching (like v)?>>> then\n        change [speed x v] by (1.5)\n    else\n        change [speed x v] by (.3)\n    end\nend\n\ndefine Set Costume\nif <(falling?) < [6]> then\n    if <(frame) = [0]> then\n        switch costume to (stand_1 v)\n    else\n        switch costume to ([floor v] of ((4) + ((frame) mod (8))) )\n    end\nelse\n    if <(speed y) > [0]> then\n        switch costume to (jump_1 v)\n    else\n        switch costume to (fall_1 v)\n    end\nend\n\ndefine Get Touching <check platform?>\nif <touching (the v)?> then\n    set [touch v] to [9]\nelse\n    if <<check platform?> and <touching (easter v)?>> then\n        set [touch v] to [1]\n    else\n        set [touch v] to [0]\n    end\nend\n\nwhen flag clicked\nwait (1.5) seconds\nbroadcast (turn page v) and wait\n\ndefine Spikes?\nif <touching (egg v)?> then\n    set [speed y v] to [0]\n    set [dead? v] to [1]\n    switch costume to (die1 v)\n    repeat (5)\n        Dying fall\n    end\n    positioning after the death\n    Die\n    wait (.5) seconds\n    Reset Level\nend\n\ndefine Die\nrepeat until <touching (the v)?>\n    go to [front v] layer\n    Check Hit Ceiling / Floor <(speed y) > [0]>\n    Dying gravity\nend\n\ndefine Dying gravity\nif <(speed y) < [4]> then\n    change [speed y v] by (-0.1)\nelse\n    change [speed y v] by (-0.05)\nend\nchange y by (speed y)\nchange [falling? v] by (1)\n\nwhen I receive [turn page v]\nset [level v] to [1]\n\ndefine next level?\nif <[230] < (x position)> then\n    broadcast (next level v)\n    change [level v] by (1)\n    Reset Level\nend\n\nwhen I receive [reset v]\nReset Level\n\nwhen I receive [skip v]\nReset Level\n\nwhen I receive [green flag v]\nwait (1) seconds\ngo to x: (-200) y: (0)\n\ndefine Dying fall\nnext costume\nrepeat (7)\n    if <not <touching (the v)?>> then\n        Dying gravity\n    end\nend\n\ndefine positioning after the death\nrepeat until <not <touching (the v)?>>\n    change y by (3)\nend\nrepeat until <touching (the v)?>\n    change y by (-1)\nend\n\nwhen I receive [turn page v]\ngo to [front v] layer\nforever\n    if <<[0] = (dead?)> and <<touching (more v)?> and <not <touching (egg v)?>>>> then\n        set [speed y v] to [17.1]\n    end\nend\n\nif <[18] < (falling?)> then\n\n@the\n\nwhen I receive [green flag v]\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\n@Easter\n\nwhen I receive [green flag v]\ngo to x: (0) y: (0)\nforever\n    show\n    set [ghost v] effect to (100)\n    switch costume to (level)\nend\n\n@egg\n\nwhen I receive [green flag v]\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\n@.\n\nwhen I receive [background stop! v]\nset size to (70) %\nshow\nswitch costume to (costume2 v)\ngo to [back v] layer\nset [ghost v] effect to (50)\nset x to (-91)\nset y to (-100)\nforever\n    change y by ((() - (speed y)) / (7))\n    if <<[-230] < (x)> and <(x) < [230]>> then\n        change x by ((() - (speed x)) / (4))\n    end\n    if <(dead?) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [green flag v]\nset size to (70) %\nshow\nswitch costume to (costume2 v)\ngo to [back v] layer\nset [ghost v] effect to (50)\nset x to (-91)\nset y to (-80)\n\n@Please\n\nwhen I receive [background stop! v]\nset size to (70) %\nshow\nswitch costume to (costume3 v)\ngo to [back v] layer\nset [ghost v] effect to (50)\nset x to (245)\nset y to (-144)\nforever\n    change y by ((() - (speed y)) / (7))\n    if <<[-230] < (x)> and <(x) < [230]>> then\n        change x by ((() - (speed x)) / (4))\n    end\n    if <(dead?) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [green flag v]\nset size to (70) %\nshow\nswitch costume to (costume2 v)\ngo to [back v] layer\nset [ghost v] effect to (50)\nset x to (-91)\nset y to (-124)\n\n@love\n\nwhen I receive [background stop! v]\nset size to (70) %\nshow\nswitch costume to (costume3 v)\ngo to [back v] layer\nset [ghost v] effect to (70)\nset x to (-81)\nset y to (-88)\nforever\n    go to [back v] layer\n    change y by ((() - (speed y)) / (14))\n    if <<[-230] < (x)> and <(x) < [230]>> then\n        change x by ((() - (speed x)) / (8))\n    end\n    if <(dead?) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [green flag v]\nset size to (70) %\nshow\nswitch costume to (costume2 v)\ngo to [back v] layer\nset [ghost v] effect to (50)\nset x to (-91)\nset y to (-88)\n\n@,\n\nwhen I receive [background stop! v]\nset size to (70) %\nshow\nswitch costume to (costume3 v)\ngo to [back v] layer\nset [ghost v] effect to (70)\nset x to (255)\nset y to (-77)\nforever\n    go to [back v] layer\n    change y by ((() - (speed y)) / (14))\n    if <<[-230] < (x)> and <(x) < [230]>> then\n        change x by ((() - (speed x)) / (8))\n    end\n    if <(dead?) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [green flag v]\nset size to (70) %\nshow\nswitch costume to (costume2 v)\ngo to [back v] layer\nset [ghost v] effect to (50)\nset x to (-91)\n\nset y to (-77)\n\n@favorite\n\nwhen I receive [turn page v]\nset [ghost v] effect to (70)\nset size to (60) %\nhide\n\nwhen I receive [turn page v]\ncreate clone of (_myself_ v)\n\n    wait (pick random (3) to (7)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset x to (300)\nset y to (pick random (30) to (170))\nswitch costume to (costume1 v)\nrepeat (pick random (0) to (4))\n    next costume\nend\nshow\nset [ghost v] effect to (pick random (60) to (80))\nset size to (pick random (55) to (65)) %\nset [cloud speed v] to (pick random (-0.8) to (-1.5))\nrepeat until <(x position) < [-280]>\n    change x by (cloud speed)\nend\nhide\ndelete this clone\n\n@ ,\n\nwhen I start as a clone\nswitch costume to (costume5 v)\ngo to [back v] layer\nset [ghost v] effect to (pick random (75) to (90))\nset size to (pick random (20) to (50)) %\nset [rot v] to (pick random (-5) to (5))\nset [sub2twintrick v] to (pick random (-4) to (-5))\nshow\npoint in direction (pick random (-180) to (180))\nset y to (pick random (-92) to (160))\nset x to (240)\nrepeat until <[-230] > (x position)>\n    turn right (Rotation) degrees\n    change x by (Sub2TwinTrick)\nend\nhide\ndelete this clone\n\nwhen I receive [turn page v]\nhide\nforever\n    create clone of (_myself_ v)\n    go to [front v] layer\nend\n\n\n    create clone of (_myself_ v)\nend\n\nset [speed v] to [0]\nset [rotation v] to [0]\n\n@and\n\nwhen I receive [green flag v]\ngo to x: (-2) y: (5)\nforever\n    set size to (100) %\n    switch costume to (level)\nend\n\n@follow\n\nwhen flag clicked\nbroadcast (Green Flag v)\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nwait (1) seconds\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nforever\n    switch costume to (actuall thumnail  v)\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    show\nend\n\n@me\n\nwhen I receive [turn page v]\ngo to x: (-100) y: (-139)\nforever\n    point in direction ((([sin v] of ((timer) * (300)) ) * (4)) + (90))\nend\n\n\n\nwhen I receive [turn page v]\nshow\ngo [forward v] (10000) layers\nforever\n    if <touching (mouse-pointer v)?> then\n        if <(level) < [14]> then\n            show\n            set [brightness v] effect to (10)\n            set size to (130) %\n        else\n            set [brightness v] effect to (0)\n            set size to (120) %\n        end\n    else\n        set [brightness v] effect to (0)\n        set size to (120) %\n    end\nend\n\nchange [brightness v] effect by (25)\n\nwhen this sprite clicked\nif <(level) < [14]> then\n    change [level v] by (1)\n    broadcast (Skip v)\nend\n\n\n\nwhen I receive [turn page v]\nforever\n    if <(level) < [14]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [turn page v]\nrepeat until <[13] < (level)>\n    if <key (s v) pressed?> then\n        if <(level) < [14]> then\n            change [level v] by (1)\n            broadcast (Skip v)\n            show\n            set [brightness v] effect to (10)\n            set size to (130) %\n            wait (1) seconds\n        end\n    end\nend\n\ngo [forward v] (10000) layers\n\n@@\n\nwhen I receive [turn page v]\nforever\n    point in direction ((([sin v] of ((timer) * (300)) ) * (4)) + (90))\nend\n\nwhen I receive [turn page v]\ngo [forward v] (10000) layers\ngo to x: (-190) y: (-139)\nforever\n    if <<key (r v) pressed?> or <touching (mouse-pointer v)?>> then\n        set [brightness v] effect to (15)\n        set size to (130) %\n    else\n        set [brightness v] effect to (0)\n        set size to (120) %\n    end\nend\n\nwhen this sprite clicked\nbroadcast (reset v)\n\nwhen I receive [turn page v]\nrepeat until <[14] < (level)>\n    if <key (r v) pressed?> then\n        if <(level) < [15]> then\n            broadcast (reset v)\n        end\n    end\nend\n\nchange [level v] by (1)\n\n@The-\n\nwhen I receive [green flag v]\ngo to x: (0) y: (0)\nforever\n    set [ghost v] effect to (65)\n    switch costume to (level)\nend\n\n@Green-\n\nwhen I receive [turn page v]\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\n@Dragon\n\nwhen I start as a clone\nif <(costume) = [1]> then\n    switch costume to (costume1 v)\n    repeat until <[3] < (level)>\n        repeat (10)\n            change y by (0.9)\n        end\n        wait (0.2) seconds\n        repeat (10)\n            change y by (-0.9)\n        end\n        wait (0.2) seconds\n    end\n    delete this clone\nelse\n    if <(costume) = [2]> then\n        switch costume to (costume2 v)\n        repeat until <[3] < (level)>\n            repeat (10)\n                change y by (0.75)\n            end\n            wait (0.2) seconds\n            repeat (10)\n                change y by (-.75)\n            end\n            wait (0.2) seconds\n        end\n        delete this clone\n    else\n        if <(costume) = [3]> then\n            switch costume to (costume3 v)\n            repeat until <[3] < (level)>\n                repeat (10)\n                    change y by (.5)\n                end\n                wait (0.2) seconds\n                repeat (10)\n                    change y by (-0.5)\n                end\n                wait (0.2) seconds\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [green flag v]\ngo to x: (0) y: (-80)\nforever\n    if <(level) = [3]> then\n        go to [front v] layer\n        go [backward v] (10) layers\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [green flag v]\nwait until <(level) = [3]>\nset [ghost v] effect to (50)\nshow\nset [costume v] to [1]\ncreate clone of (_myself_ v)\nset [costume v] to [2]\ncreate clone of (_myself_ v)\nset [costume v] to [3]\ncreate clone of (_myself_ v)\n\nstop [this script v]\n\n@for\n\nwhen flag clicked\nforever\n    hide\nend\n\nwhen I receive [green flag v]\nforever\n    hide\nend\n\n@more\n\nwhen I receive [green flag v]\ngo to x: (-60) y: (0)\nswitch costume to (costume1 v)\nforever\n    if <touching (is v)?> then\n        switch costume to (costume2 v)\n        wait (0) seconds\n        switch costume to (costume3 v)\n        wait (0) seconds\n        switch costume to (costume2 v)\n        wait (0) seconds\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [green flag v]\nforever\n    if <(level) = [6]> then\n        go to x: (-60) y: (0)\n        go to [front v] layer\n        go [backward v] (10) layers\n        show\n    else\n        if <(level) = [11]> then\n            go to x: (-100) y: (0)\n            go to [front v] layer\n            go [backward v] (10) layers\n            show\n        else\n            if <(level) = [14]> then\n                go to x: (-100) y: (28)\n                go to [front v] layer\n                go [backward v] (10) layers\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\n@projects\n\nwhen I start as a clone\nif <(costume) = [1]> then\n    switch costume to (costume1 v)\n    repeat until <[10] < (level)>\n        repeat (10)\n            change y by (0.9)\n        end\n        wait (0.2) seconds\n        repeat (10)\n            change y by (-0.9)\n        end\n        wait (0.2) seconds\n    end\n    delete this clone\nelse\n    if <(costume) = [2]> then\n        switch costume to (costume2 v)\n        repeat until <[10] < (level)>\n            repeat (10)\n                change y by (0.75)\n            end\n            wait (0.2) seconds\n            repeat (10)\n                change y by (-.75)\n            end\n            wait (0.2) seconds\n        end\n        delete this clone\n    else\n        if <(costume) = [3]> then\n            switch costume to (costume3 v)\n            repeat until <[10] < (level)>\n                repeat (10)\n                    change y by (.5)\n                end\n                wait (0.2) seconds\n                repeat (10)\n                    change y by (-0.5)\n                end\n                wait (0.2) seconds\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [green flag v]\ngo to x: (0) y: (-80)\nforever\n    if <(level) = [10]> then\n        go to [front v] layer\n        go [backward v] (10) layers\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [green flag v]\nwait until <(level) = [10]>\nset [ghost v] effect to (50)\nshow\nset [costume v] to [1]\ncreate clone of (_myself_ v)\nset [costume v] to [2]\ncreate clone of (_myself_ v)\nset [costume v] to [3]\ncreate clone of (_myself_ v)\n\nstop [this script v]\n\n@like\n\nwhen I start as a clone\nif <(costume) = [1]> then\n    switch costume to (costume1 v)\n    repeat until <[14] < (level)>\n        repeat (10)\n            change y by (0.9)\n        end\n        wait (0.2) seconds\n        repeat (10)\n            change y by (-0.9)\n        end\n        wait (0.2) seconds\n    end\n    delete this clone\nelse\n    if <(costume) = [2]> then\n        switch costume to (costume2 v)\n        repeat until <[14] < (level)>\n            repeat (10)\n                change y by (0.75)\n            end\n            wait (0.2) seconds\n            repeat (10)\n                change y by (-.75)\n            end\n            wait (0.2) seconds\n        end\n        delete this clone\n    else\n        if <(costume) = [3]> then\n            switch costume to (costume3 v)\n            repeat until <[14] < (level)>\n                repeat (10)\n                    change y by (.5)\n                end\n                wait (0.2) seconds\n                repeat (10)\n                    change y by (-0.5)\n                end\n                wait (0.2) seconds\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [green flag v]\ngo to x: (0) y: (-40)\nforever\n    if <(level) = [14]> then\n        go to [front v] layer\n        go [backward v] (10) layers\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [green flag v]\nwait until <(level) = [14]>\nset [ghost v] effect to (50)\nshow\nset [costume v] to [1]\ncreate clone of (_myself_ v)\nset [costume v] to [2]\ncreate clone of (_myself_ v)\nset [costume v] to [3]\ncreate clone of (_myself_ v)\n\nstop [this script v]\n\n@this!\n\nwhen this sprite clicked\nnext costume\nwait (0.2) seconds\n\nwhen I receive [green flag v]\nswitch costume to (costume5 v)\nshow\n\n    if <(costume [number v]) = [2]> then\n        set [mute button on off v] to [1]\n        set volume to (100) %\n    end\nend\n\nwhen I receive [green flag v]\ngo to x: (-215) y: (160)\nset size to (35) %\n\n    if <key (m v) pressed?> then\n        next costume\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [green flag v]\nshow\n\n    if <(costume [number v]) = [1]> then\n        set [mute button on off v] to [0]\n        set volume to (0) %\n    end\nend\n\nwhen I receive [green flag v]\nforever\n    play sound [bensound-anewbeginning v] until done\nend\n\n