ScratchCat - a Platformer
@Stage\n\n@Catmain\n\nwhen I receive [green flag clicked v]\nReset Level\nchange [☁ plays v] by (1)\nforever\n    switch costume to (hitbox v)\n    Controls - Jump, Crouch\n    Gravity\n    Check Hit Ceiling / Floor <(speed y) > [0]>\n    if <(y position) < [-189]> then\n        resettosamelevel\n    end\n    if <(wall jump) > [0]> then\n        change [wall jump v] by (-1)\n    else\n        Controls - Left and Right\n    end\n    if <(speed x) < [-0.5]> then\n        Walk (-90) (speed x) max steep (([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 steep (([ceiling v] of ([abs v] of ((speed x) * (1.3)) ) ) + (1))\n        else\n            set [frame v] to [0]\n        end\n    end\n    Set Costume\n    broadcast (tick v) and wait\nend\n\ndefine Controls - Left and Right\nset [speed x v] to ((speed x) * (0.7))\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [speed x v] by (-1.5)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [speed x v] by (1.5)\nend\n\ndefine None\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) = (max steep)> or <(touch) = [0]>>\n    change y by (1)\n    change [slope v] by (1)\n    Get Touching <(in platforrm) = [1]>\nend\nif <(slope) = (max steep)> 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 steep (max steep)\n        if <(speed x) = [0]> then\n            set [in platforrm v] to [1]\n        end\n    else\n        if <<<<key (up arrow v) pressed?> or <key (w 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 - Jump, Crouch\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    if <<(jump key) = [0]> and <(falling?) < [3]>> then\n        set [speed y v] to [14]\n        set [falling? v] to [6]\n        set [jump key v] to [1]\n    end\nelse\n    set [jump key v] to [0]\nend\nif <<key (s v) pressed?> or <key (down arrow v) pressed?>> then\n    set [in platforrm v] to [2]\nend\n\ndefine Gravity\nif <<(speed y) < [4]> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n    change [speed y v] by (-1)\nelse\n    change [speed y v] by (-2)\nend\nchange y by (speed y)\nchange [falling? v] by (1)\n\ndefine Check Hit Ceiling / Floor <>\nGet Touching <not >\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 Get Touching <>\nif <touching (ground v)?> then\n    set [touch v] to [9]\nelse\n    if <<check platform?> and <touching (platforms v)?>> then\n        set [touch v] to [1]\n    else\n        set [touch v] to [0]\n    end\nend\n\ndefine Reset Level\nset size to (25) %\nset rotation style [left-right v]\ngo to x: (-200) y: (-80)\nreset timer\nshow\nchange [level v] by (1)\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 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\nwhen I receive [poiuytrew v]\nReset Level\nswitch backdrop to ((backdrop [number v]) + (1))\n\nwhen backdrop switches to [backdrop8 v]\nhide\ngo to x: (-146) y: (-80)\nwait until <key (space v) pressed?>\nshow\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        resettosamelevel\n    end\nend\n\ndefine resettosamelevel\nset size to (25) %\nset rotation style [left-right v]\ngo to x: (-200) y: (-80)\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\nwhen flag clicked\nset [level v] to [0]\nforever\nend\n\nplay sound [251461__joshuaempyre__arcade-music-loop v] until done\nplay sound [351774_cybermad_pixel-song-2 \(online-audio-converter.com\).mp3 v] until done\nplay sound [376734__greek555__sample-128-bpm.mp3 v] until done\n\nwhen flag clicked\nforever\n    if <(level) > [31]> then\n        broadcast (winner! v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) > [7]> then\n        broadcast (world2 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) > [21]> then\n        broadcast (world4 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\nend\n\nstop [all v]\n\nwhen flag clicked\nforever\n    if <(level) > [28]> then\n        broadcast (world5\(last_ v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nerase all\npen up\nswitch backdrop to (backdrop1 v)\nbroadcast (Green Flag clicked v)\nforever\n    if <(level) > [14]> then\n        broadcast (world3 v)\n        stop [this script v]\n    end\nend\n\n@Ground\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\ngo [backward v] (2) layers\n\nwhen I receive [poiuytrew v]\nnext costume\n\nwhen I receive [starting v]\nforever\nend\n\nwhen I receive [world2 v]\n\nplay sound [242080__orangefreesounds__lounge-ambient-music-loop v] until done\n\nstop all sounds\n\n@BLUE-SKY\n\nwhen flag clicked\nhide\n\n@coincloud\n\nwhen flag clicked\nswitch costume to (costume3 v)\nset size to (24) %\nforever\n    show\n    go to x: (280) y: (152)\n    go [backward v] (5) layers\n    glide (15) secs to x: (-280) y: (152)\n    hide\nend\n\nset x to ((0.4) * ((0) - (([x position v] of [catmain v]) + (-200))))\n\nforever\n    if <(Coins:) = [0]> then\n        switch costume to (costume3 v)\n    end\n    if <(Coins:) = [1]> then\n        switch costume to (costume2 v)\n    end\n    if <(Coins:) = [2]> then\n        switch costume to (costume4 v)\n    end\n    if <(Coins:) = [3]> then\n        switch costume to (costume5 v)\n    end\n    if <(Coins:) = [4]> then\n        switch costume to (costume6 v)\n    end\n    if <(Coins:) = [5]> then\n        switch costume to (costume7 v)\n    end\n    if <(Coins:) = [6]> then\n        switch costume to (costume8 v)\n    end\n    if <(Coins:) = [7]> then\n        switch costume to (costume9 v)\n    end\n    if <(Coins:) = [8]> then\n        switch costume to (costume10 v)\n    end\n    if <(Coins:) = [9]> then\n        switch costume to (costume11 v)\n    end\n    if <(Coins:) = [10]> then\n        switch costume to (costume12 v)\n    end\n    if <(Coins:) = [11]> then\n        switch costume to (costume13 v)\n    end\n    if <(Coins:) = [12]> then\n        switch costume to (costume14 v)\n    end\n    if <(Coins:) = [13]> then\n        switch costume to (costume15 v)\n    end\n    if <(Coins:) = [14]> then\n        switch costume to (costume16 v)\n    end\n    if <(Coins:) = [15]> then\n        switch costume to (costume17 v)\n    end\n    if <(Coins:) = [16]> then\n        switch costume to (costume18 v)\n    end\n    if <(Coins:) = [17]> then\n        switch costume to (costume19 v)\n    end\n    if <(Coins:) = [18]> then\n        switch costume to (costume20 v)\n    end\n    if <(Coins:) = [19]> then\n        switch costume to (costume21 v)\n    end\n    if <(Coins:) = [20]> then\n        switch costume to (costume22 v)\n    end\n    if <(Coins:) = [21]> then\n        switch costume to (costume23 v)\n    end\n    if <(Coins:) = [22]> then\n        switch costume to (costume24 v)\n    end\n    if <(Coins:) = [23]> then\n        switch costume to (costume25 v)\n    end\n    if <(Coins:) = [24]> then\n        switch costume to (costume26 v)\n    end\n    if <(Coins:) = [25]> then\n        switch costume to (costume27 v)\n    end\n    if <(Coins:) = [26]> then\n        switch costume to (costume28 v)\n    end\nend\n\nwhen I receive [coinup v]\nnext costume\n\n@levelcloud\n\nwhen flag clicked\nswitch costume to (costume4 v)\ngo [backward v] (3) layers\nset size to (24) %\ngo to x: (85) y: (130)\nforever\n    show\n    go [backward v] (4) layers\n    glide (10) secs to x: (-280) y: (130)\n    hide\n    go to x: (280) y: (130)\nend\n\nif <(level) = [1]> then\n    switch costume to (costume4 v)\nend\nif <(level) = [2]> then\n    switch costume to (costume2 v)\nend\nif <(level) = [3]> then\n    switch costume to (costume3 v)\nend\nif <(level) = [4]> then\n    switch costume to (costume5 v)\nend\nif <(level) = [5]> then\n    switch costume to (costume6 v)\nend\nif <(level) = [6]> then\n    switch costume to (costume7 v)\nend\nif <(level) = [7]> then\n    switch costume to (costume8 v)\nend\nif <(level) = [8]> then\n    switch costume to (costume9 v)\nend\nif <(level) = [9]> then\n    switch costume to (costume10 v)\nend\nif <(level) = [10]> then\n    switch costume to (costume11 v)\nend\nif <(level) = [11]> then\n    switch costume to (costume12 v)\nend\nif <(level) = [12]> then\n    switch costume to (costume13 v)\nend\nif <(level) = [13]> then\n    switch costume to (costume14 v)\nend\nif <(level) = [14]> then\n    switch costume to (costume15 v)\nend\nif <(level) = [15]> then\n    switch costume to (costume16 v)\nend\nif <(level) = [16]> then\n    switch costume to (costume17 v)\nend\nif <(level) = [17]> then\n    switch costume to (costume18 v)\nend\nif <(level) = [18]> then\n    switch costume to (costume19 v)\nend\nif <(level) = [19]> then\n    switch costume to (costume20 v)\nend\nif <(level) = [20]> then\n    switch costume to (costume21 v)\nend\nif <(level) = [21]> then\n    switch costume to (costume22 v)\nend\nif <(level) = [22]> then\n    switch costume to (costume23 v)\nend\nif <(level) = [23]> then\n    switch costume to (costume24 v)\nend\nif <(level) = [24]> then\n    switch costume to (costume25 v)\nend\nif <(level) = [25]> then\n    switch costume to (costume26 v)\nend\n\nwhen I receive [poiuytrew v]\nnext costume\n\n@worldcloud\n\nwhen flag clicked\nset size to (24) %\ngo to x: (-176) y: (113)\nswitch costume to (costume1 v)\ngo [backward v] (3) layers\nforever\n    show\n    go [backward v] (3) layers\n    glide (6) secs to x: (-280) y: (113)\n    hide\n    go to x: (280) y: (113)\nend\n\nset x to ((0.5) * ((0) - (([x position v] of [catmain v]) + (11))))\n\nwhen I receive [world2 v]\nswitch costume to (costume2 v)\n\nwhen I receive [world3 v]\nswitch costume to (costume3 v)\n\nwhen I receive [world4 v]\nswitch costume to (costume4 v)\n\n@5coins\n\nwhen flag clicked\nhide\nset [coins: v] to [0]\nset [clonenumber v] to [0]\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (2) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go [backward v] (4) layers\n    go to x: (71) y: (-54)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (86) y: (-34)\n    show\n    go [backward v] (4) layers\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (108) y: (-20)\n    go [backward v] (5) layers\n    wait until <touching (catmain v)?>\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (132) y: (-33)\n    go [backward v] (5) layers\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go [backward v] (5) layers\n    go to x: (148) y: (-53)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    go [backward v] (0) layers\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\n\n@Platforms\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop6 v]\nshow\ngo [backward v] (3) layers\nswitch costume to (platforms v)\ngo to x: (14) y: (-26)\n\nwhen backdrop switches to [backdrop7 v]\nshow\ngo [backward v] (0) layers\nswitch costume to (costume1 v)\ngo to x: (0) y: (-20)\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@title\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo [backward v] (3) layers\ngo to x: (0) y: (0)\nswitch costume to (costume4 v)\nforever\n    switch costume to (costume5 v)\n    wait (0.8) seconds\n    switch costume to (costume4 v)\n    wait (0.8) seconds\n    switch costume to (costume6 v)\n    wait (0.8) seconds\n    switch costume to (costume4 v)\n    wait (0.8) seconds\n    switch costume to (costume2 v)\n    wait (0.8) seconds\n    switch costume to (costume4 v)\n    wait (0.8) seconds\nend\n\nwhen flag clicked\nforever\nend\n\nwhen I receive [starting v]\nstop [other scripts in sprite v]\nswitch costume to (costume3 v)\nwait until <key (space v) pressed?>\nstop all sounds\nhide\nstop [other scripts in sprite v]\n\nplay sound [273539__tristan-lohengrin__8bit-introduction v] until done\n\n@Start cat\n\nwhen flag clicked\nshow\ngo to [front v] layer\nshow\ngo to x: (-24) y: (-33)\n\nwhen this sprite clicked\nbroadcast (starting v)\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\nend\n\n@5coinsA\n\nwhen backdrop switches to [backdrop3 v]\nhide\nset [clonenumber v] to [0]\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (1) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\ndelete this clone\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-21) y: (73)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-76) y: (107)\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (15) y: (46)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (-109) y: (-43)\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go to x: (-175) y: (35)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\n@3coins\n\nwhen backdrop switches to [backdrop2 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-12) y: (-1)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (15) y: (20)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (48) y: (19)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\n@5coinsB\n\nwhen backdrop switches to [backdrop4 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-16) y: (-77)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-50) y: (-48)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (-76) y: (-8)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (-52) y: (12)\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go to x: (-2) y: (58)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\n\n@sand template\n\nwhen flag clicked\nhide\n\n@world 2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\ngo to [front v] layer\n\nwhen I receive [world2 v]\nshow\ngo to [front v] layer\nwait until <key (space v) pressed?>\nhide\nstop [other scripts in sprite v]\n\n@LevelChanger\n\nwhen flag clicked\nforever\n    if <<(level) = [1]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-131]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [2]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-131]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [3]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [36]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [7]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-118]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [8]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-122]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [6]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [6]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [5]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-104]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [4]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [126]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [9]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-120]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [10]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-122]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [11]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-131]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [12]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-140]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [13]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-100]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [14]> and <<([x position v] of [catmain v]) > [215]> and <([y position v] of [catmain v]) > [-100]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [15 ]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [16]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-190]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [17]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-190]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [18]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-140]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [19]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-140]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [20]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-140]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [22]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [21]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-125]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [23]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [24]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [25]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [26]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [27]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [28]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [29]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-130]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [31]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-140]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [30]> and <<([x position v] of [catmain v]) > [200]> and <([y position v] of [catmain v]) > [-140]>>> then\n        broadcast (poiuytrew v)\n    end\nend\n\n@2coins\n\nwhen backdrop switches to [backdrop5 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (2)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-100) y: (-147)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (53) y: (-145)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\n@world 3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\ngo to [front v] layer\n\nwhen I receive [world3 v]\nshow\ngo to [front v] layer\nwait until <key (space v) pressed?>\nhide\nstop [other scripts in sprite v]\n\n@3coinsA\n\nwhen backdrop switches to [backdrop6 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-94) y: (-32)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-52) y: (-2)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (-13) y: (40)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@3coinsB\n\nwhen backdrop switches to [backdrop7 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-62) y: (90)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-24) y: (132)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (23) y: (130)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@world 4\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\ngo to [front v] layer\n\nwhen I receive [world4 v]\nshow\ngo to [front v] layer\nwait until <key (space v) pressed?>\nhide\nstop [other scripts in sprite v]\n\n@Music1\n\nwhen I receive [world2 v]\nchange [world# v] by (1)\n\nwhen flag clicked\nset [world# v] to [0]\n\nwhen I receive [world4 v]\nchange [world# v] by (1)\n\nwhen I receive [world3 v]\nchange [world# v] by (1)\nstop all sounds\n\nwhen I receive [starting v]\nchange [world# v] by (1)\n\nwhen flag clicked\nforever\n    set volume to ([volume v] of [volume v]) %\nend\n\nwhen I receive [world5\(last_ v]\nchange [world# v] by (1)\n\nwhen flag clicked\nforever\n    if <(world#) = [0]> then\n        repeat until <not <(world#) = [0]>>\n            play sound [273539__tristan-lohengrin__8bit-introduction v] until done\n        end\n    else\n    end\nend\n\n@Music3\n\nwhen I receive [world4 v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    if <(world#) = [3]> then\n        play sound [135127__ecfike__arkansas-traveler v] until done\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to ([volume v] of [volume v]) %\nend\n\n@3coinsB2\n\nwhen backdrop switches to [backdrop9 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-64) y: (76)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-64) y: (56)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (-64) y: (36)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n@3coinsB3\n\nwhen backdrop switches to [backdrop10 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-34) y: (-51)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-52) y: (37)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    broadcast (coinUP v)\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (-11) y: (16)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\n@5coins2\n\nwhen backdrop switches to [backdrop12 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go [backward v] (4) layers\n    go to x: (65) y: (-36)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (86) y: (-34)\n    show\n    go [backward v] (4) layers\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (108) y: (-20)\n    go [backward v] (5) layers\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (132) y: (-33)\n    go [backward v] (5) layers\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go [backward v] (5) layers\n    go to x: (148) y: (-53)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    go [backward v] (0) layers\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop11 v]\nhide\nset [coins: v] to [0]\nset [clonenumber v] to [0]\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (2) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\n@5coins3\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go [backward v] (4) layers\n    go to x: (110) y: (62)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (110) y: (32)\n    show\n    go [backward v] (4) layers\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (110) y: (2)\n    go [backward v] (5) layers\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (110) y: (-28)\n    go [backward v] (5) layers\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go [backward v] (5) layers\n    go to x: (110) y: (-58)\n    wait until <touching (catmain v)?>\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    go [backward v] (0) layers\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop12 v]\nhide\nset [coins: v] to [0]\nset [clonenumber v] to [0]\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (2) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\n@3coinsB4\n\nwhen backdrop switches to [backdrop13 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (25) y: (52)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (8) y: (21)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (208) y: (68)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop14 v]\nhide\n\n@5coins4\n\nwhen backdrop switches to [backdrop15 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go [backward v] (4) layers\n    go to x: (71) y: (-14)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (86) y: (6)\n    show\n    go [backward v] (4) layers\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (108) y: (20)\n    go [backward v] (5) layers\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (132) y: (7)\n    go [backward v] (5) layers\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go [backward v] (5) layers\n    go to x: (148) y: (-13)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    go [backward v] (0) layers\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop14 v]\nhide\nset [coins: v] to [0]\nset [clonenumber v] to [0]\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (2) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\n@3coinsB5\n\nwhen backdrop switches to [backdrop16 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-39) y: (29)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (4) y: (52)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (70) y: (60)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop17 v]\nhide\n\n@3coinsB6\n\nwhen backdrop switches to [backdrop17 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (147) y: (-119)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (170) y: (-134)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (200) y: (-145)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\n@5coins5\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go [backward v] (4) layers\n    go to x: (71) y: (-64)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (86) y: (-44)\n    show\n    go [backward v] (4) layers\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (108) y: (-30)\n    go [backward v] (5) layers\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (132) y: (-43)\n    go [backward v] (5) layers\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go [backward v] (5) layers\n    go to x: (148) y: (-63)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    go [backward v] (0) layers\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop18 v]\nhide\nset [coins: v] to [0]\nset [clonenumber v] to [0]\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (2) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\n@3coinsB7\n\nwhen backdrop switches to [backdrop19 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-150) y: (-137)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-125) y: (-137)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (-100) y: (-137)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop20 v]\nhide\n\n@5coins6\n\nwhen backdrop switches to [backdrop21 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go [backward v] (4) layers\n    go to x: (131) y: (-64)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (146) y: (-44)\n    show\n    go [backward v] (4) layers\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (168) y: (-30)\n    go [backward v] (5) layers\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (192) y: (-43)\n    go [backward v] (5) layers\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go [backward v] (5) layers\n    go to x: (208) y: (-63)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    go [backward v] (0) layers\n    broadcast (coinUP v)\n    set [coins: v] to ((Coins:) + (1))\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop20 v]\nhide\nset [coins: v] to [0]\nset [clonenumber v] to [0]\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (2) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\n@2coins2\n\nwhen backdrop switches to [backdrop23 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go [backward v] (4) layers\n    go to x: (-25) y: (-80)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-45) y: (-76)\n    show\n    go [backward v] (4) layers\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop22 v]\nhide\nset [coins: v] to [0]\nset [clonenumber v] to [0]\nrepeat (2)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (2) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\n@5coins7\n\nwhen backdrop switches to [backdrop24 v]\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go [backward v] (4) layers\n    go to x: (71) y: (-14)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (86) y: (6)\n    show\n    go [backward v] (4) layers\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    show\n    go to x: (108) y: (20)\n    go [backward v] (5) layers\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [4]> then\n    go to x: (132) y: (7)\n    go [backward v] (5) layers\n    show\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [5]> then\n    show\n    go [backward v] (5) layers\n    go to x: (148) y: (-13)\n    wait until <touching (catmain v)?>\n    start sound [135936__bradwesson__collectcoin v]\n    go [backward v] (0) layers\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop23 v]\nhide\nset [coins: v] to [0]\nset [clonenumber v] to [0]\nrepeat (5)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\ngo [backward v] (2) layers\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\n@3coinsB8\n\nwhen backdrop switches to [backdrop24 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (122) y: (51)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    broadcast (coinUP v)\n    start sound [135936__bradwesson__collectcoin v]\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (142) y: (51)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (162) y: (51)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop25 v]\nhide\n\n@3coinsB9\n\nwhen backdrop switches to [backdrop25 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (100) y: (25)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (129) y: (38)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (115) y: (69)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop26 v]\nhide\n\n@Volume\n\nwhen flag clicked\nswitch costume to (100s v)\nshow\ngo to [front v] layer\nforever\n    if <(costume [number v]) = [1]> then\n        set volume to (100) %\n    end\n    if <(costume [number v]) = [2]> then\n        set volume to (60) %\n    end\n    if <(costume [number v]) = [3]> then\n        set volume to (20) %\n    end\n    if <(costume [number v]) = [4]> then\n        set volume to (0) %\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\n@world 5\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\ngo to [front v] layer\n\nwhen I receive [world5\(last_ v]\nshow\ngo to [front v] layer\nwait until <key (space v) pressed?>\nhide\nstop [other scripts in sprite v]\n\n@bulldog_pixel_by_aj_art123-d3i1tap\n\n@3coinsB10\n\nwhen backdrop switches to [backdrop26 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-76) y: (-144)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-48) y: (-144)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (137) y: (-33)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop27 v]\nhide\n\n@2coins3\n\nwhen backdrop switches to [backdrop27 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (2)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (50) y: (-24)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (75) y: (-24)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [backdrop28 v]\nhide\n\n@3coinsB11\n\nwhen backdrop switches to [backdrop28 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-59) y: (-166)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-59) y: (-146)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (-59) y: (-120)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [brik v]\nhide\n\n@3coinsB12\n\nwhen backdrop switches to [brik v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (3)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (-158) y: (-102)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (-147) y: (-74)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [3]> then\n    go to x: (-11) y: (-40)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [brik2 v]\nhide\n\n@2coins4\n\nwhen backdrop switches to [brik2 v]\nhide\nset [clonenumber v] to [0]\ngo [backward v] (1) layers\nrepeat (2)\n    change [clonenumber v] by (1)\n    create clone of (_myself_ v)\nend\nforever\n    go to [front v] layer\n    if <touching (catmain v)?> then\n        hide\n        start sound [135936__bradwesson__collectcoin v]\n        wait (0.5) seconds\n        set [coins: v] to ((Coins:) + (1))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(clonenumber) = [1]> then\n    show\n    go to x: (121) y: (-110)\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\nif <(clonenumber) = [2]> then\n    go to x: (8) y: (-112)\n    show\n    wait until <touching (catmain v)?>\n    set [coins: v] to ((Coins:) + (1))\n    start sound [135936__bradwesson__collectcoin v]\n    broadcast (coinUP v)\n    hide\n    stop [this script v]\nend\n\nwhen backdrop switches to [brik3 v]\nhide\n\n@Music2\n\nwhen I receive [world3 v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    if <(world#) = [2]> then\n        play sound [265251__zagi2__fata-morgana-mirage v] until done\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to ([volume v] of [volume v]) %\nend\n\n@Music4\n\nwhen I receive [world5\(last_ v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    if <(world#) = [4]> then\n        play sound [Ludovico Einaudi- Elegy for the Arctic - Orchestral Version.mp3 v] until done\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to ([volume v] of [volume v]) %\nend\n\n@Music5\n\nwhen I receive [winner! v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    if <(world#) = [5]> then\n        play sound [155140__burning-mir__intense-idm-loop v] until done\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to ([volume v] of [volume v]) %\nend\n\n@Music6\n\nwhen I receive [world2 v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    if <(world#) = [1]> then\n        play sound [242080__orangefreesounds__lounge-ambient-music-loop v] until done\n    else\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to ([volume v] of [volume v]) %\nend\n\n
This is a multi-level platformer I made.\nAdjust volume by clicking the bottom left corner sprite.\nDouble click the green flag to start.\n\nSuggest this to be featured by clicking this link and submitting the link to my project! https://scratch.mit.edu/discuss/topic/198735/