Ball World(Platformer) #games#all#mobile friendly

Instructions: *Instructions Are In The Game\n* I Spent 2 Weeks On This\n*What Do You Like About This Game\n*What Don't You Like About This Game

@Stage\n\nwhen flag clicked\nbroadcast (Menu v)\n\ndelete all of [star v]\ndelete all of [coin v]\ndelete all of [player v]\ndelete all of [worlds v]\nadd [1] to [player v]\nadd [12] to [worlds v]\ndelete all of [claimedstars v]\ndelete all of [scratchers who played v]\nset [coins v] to [0]\nset [star v] to [0]\nset [clone_x v] to [0]\nset [clone_y v] to [0]\nset [level v] to [1]\nset [player v] to [1]\nset [menu_music v] to [Yes]\nset [skip v] to [10]\n\nwhen I receive [start v]\nforever\n    if <<(Level) > [30]> and <(Level) < [61]>> then\n        set [world v] to [2]\n        switch backdrop to (2 v)\n    end\nend\n\nwhen I receive [start v]\nset [time v] to [0]\nforever\n    change [time v] by (1)\nend\n\nwhen I receive [start v]\nforever\n    if <<(Level) > [60]> and <(Level) < [91]>> then\n        set [world v] to [3]\n        switch backdrop to (3 v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) < [30]> then\n        set [world v] to [1]\n        switch backdrop to (1 v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <<(Level) > [90]> and <(Level) < [121]>> then\n        set [world v] to [4]\n        switch backdrop to (4 v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) > [120]> then\n        set [world v] to [5]\n        switch backdrop to (1 v)\n    end\nend\n\n@Blank\n\n@Player\n\ndefine Game On\nset [sx v] to [0]\nset [sy v] to [0]\nset [x v] to [-225]\nset [y v] to [-99]\nset [in air v] to [0]\nset [finish v] to []\nset rotation style [left-right v]\npoint in direction (90)\nclear graphic effects\nshow\n\ndefine Movement\nswitch costume to (hitbox v)\nif <(Mode) = [Hide]> then\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [sx v] by (-1.5)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        change [sx v] by (1.5)\n    end\n    if <(Friction) = [0]> then\n        set [sx v] to ((sx) * (0.8))\n        if <([abs v] of (sx) ) > [0.9]> then\n            Change Player x by (round (sx))\n        end\n    else\n        if <(Friction) = [1]> then\n            set [sx v] to ((sx) * (0.4))\n            if <([abs v] of (sx) ) > [0.5]> then\n                Change Player x by (round (sx))\n            end\n        else\n            if <(Friction) = [2]> then\n                set [sx v] to ((sx) * (0.9))\n                if <([abs v] of (sx) ) > [1]> then\n                    Change Player x by (round (sx))\n                end\n            end\n        end\n    end\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(in air) < [4]> then\n            set [sy v] to [14]\n        end\n    end\n    if <(sy) > [-20]> then\n        change [sy v] by (-2)\n    end\n    Change Player y by (sy)\n    Die\n    Position\nend\nswitch costume to (Player)\nif <(y position) < [-180]> then\n    set [finish v] to [No]\nend\nif <not <touching (frictionpad v)?>> then\n    set [friction v] to [0]\nend\n\nwhen I receive [start v]\ngo to x: (-225) y: (-101)\nbroadcast (Delete v)\nbroadcast (Create v)\ngo to [front v] layer\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(Finish) > []>\n        Movement\n    end\n    if <(Finish) = [Yes]> then\n        Game Con\n    else\n        Game End\n    end\nend\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <<touching (2nd_platform v)?> or <touching (platform v)?>>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: (x) y: (y)\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <<touching (platform v)?> or <touching (2nd_platform v)?>> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <<touching (platform v)?> or <touching (2nd_platform v)?>>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-15]\n        else\n            set [sx v] to [15]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <<touching (platform v)?> or <touching (2nd_platform v)?>>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game End\nbroadcast (Transition v)\nrepeat (5)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\nwait (0.08) seconds\nset [finish v] to []\n\ndefine Die\nif <<touching (danger v)?> or <touching (saw v)?>> then\n    set [finish v] to [No]\nend\n\ndefine Game Con\nhide\nbroadcast (Transition v)\nwait (1.5) seconds\nif <[star v] contains (Level)?> then\n    add (Level) to [claimedstars v]\nend\nchange [level v] by (1)\nbroadcast (Check v)\nbroadcast (Delete v)\nbroadcast (Create v)\n\nwhen I receive [bounce v]\nset [sy v] to [24]\n\nwhen I receive [s_bounce v]\nset [sy v] to [20]\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nwait until <(Level) > [30]>\nif <not <[worlds v] contains [12Finished]?>> then\n    add [14] to [worlds v]\n    add [12Finished] to [worlds v]\nend\nwait until <(Level) > [60]>\nif <not <[worlds v] contains [14Finished]?>> then\n    add [17] to [worlds v]\n    add [14Finished] to [worlds v]\nend\nwait until <(Level) > [90]>\nif <not <[worlds v] contains [17Finished]?>> then\n    add [20] to [worlds v]\n    add [17Finished] to [worlds v]\nend\nwait until <(Level) > [120]>\nif <not <[worlds v] contains [20Finished]?>> then\n    add [20Finished] to [worlds v]\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <(x) < [-247]> then\n        set [x v] to [-247]\n    end\n    if <<(x) > [247]> and <not <(Level) > [120]>>> then\n        set [finish v] to [Yes]\n    end\n    if <<(x) > [247]> and <(Level) > [120]>> then\n        set [x v] to [247]\n    end\nend\n\nwhen I receive [info v]\ngo to x: (-225) y: (-101)\n\nwhen I receive [check v]\nwait (0.05) seconds\nif <(Level) = [1]> then\n    broadcast (Info v)\nend\nif <(Level) = [31]> then\n    broadcast (Info v)\nend\nif <(Level) = [61]> then\n    broadcast (Info v)\nend\nif <(Level) = [91]> then\n    broadcast (Info v)\nend\nif <(Level) > [119]> then\n    broadcast (Info v)\nend\n\nwhen I receive [start v]\nwait (1) seconds\nforever\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(in air) < [4]> then\n            if <<(Mode) = [Hide]> and <<(Transition) = [No]> and <(Finish) = []>>> then\n                if <(Sounds) = [0]> then\n                    play sound [Jump v] until done\n                end\n            end\n        end\n    end\nend\n\n@Weapon \n\nwhen I receive [start v]\nhide\ngo to [back v] layer\nforever\n    if <<<key (space v) pressed?> and <(Finish) = []>> and <<(Mode) = [Hide]> and <(Transition) = [No]>>> then\n        if <(Player) = [12]> then\n            if <(Sounds) = [0]> then\n                start sound [woosh1 v]\n            end\n            create clone of (_myself_ v)\n        end\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\nwhen I start as a clone\nset size to (80) %\nshow\ngo to (player v)\npoint in direction ([direction v] of [player v])\nrepeat until <<touching (_edge_ v)?> or <<touching (enemy v)?> or <<<touching (platform v)?> or <touching (danger v)?>> or <<touching (saw v)?> or <touching (trampoline v)?>>>>>\n    move (10) steps\nend\ndelete this clone\n\nwhen I start as a clone\nswitch costume to (star1 v)\nforever\n    next costume\n    wait (0.05) seconds\n    if <(costume [number v]) > [1]> then\n        switch costume to (star1 v)\n    end\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Platform\n\nwhen I receive [start v]\nshow\nforever\n    go to [back v] layer\n    go [forward v] (2) layers\n    switch costume to (Level)\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Danger\n\nwhen I receive [start v]\nshow\nforever\n    go to [back v] layer\n    go to x: (0) y: (0)\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Coins\n\ndefine Create a clone at x: (x) y: (y) coin (no.)\ngo to x: (x) y: (y)\nset [coin v] to (no.)\ncreate clone of (_myself_ v)\n\nwhen I receive [delete v]\nif < (Coin) contains (coin)?> then\n    set [done v] to [yes]\nend\ndelete this clone\n\nwhen I receive [create v]\nhide\nif <(Level) = [1]> then\n    Create a clone at x: [-140] y: [-70] coin [1]\n    Create a clone at x: [-121] y: [-42] coin [2]\n    Create a clone at x: [-105] y: [-70] coin [3]\n    Create a clone at x: [-23] y: [-48] coin [4]\n    Create a clone at x: [23] y: [-48] coin [5]\n    Create a clone at x: [140] y: [-70] coin [6]\n    Create a clone at x: [123] y: [-42] coin [7]\n    Create a clone at x: [105] y: [-70] coin [8]\nend\nif <(Level) = [2]> then\n    Create a clone at x: [-37] y: [70] coin [9]\n    Create a clone at x: [37] y: [70] coin [10]\nend\nif <(Level) = [3]> then\n    Create a clone at x: [-90] y: [15] coin [11]\n    Create a clone at x: [90] y: [15] coin [12]\n    Create a clone at x: [6] y: [95] coin [13]\nend\nif <(Level) = [4]> then\n    Create a clone at x: [24] y: [-55] coin [14]\n    Create a clone at x: [24] y: [-5] coin [15]\nend\nif <(Level) = [5]> then\n    Create a clone at x: [55] y: [58] coin [16]\n    Create a clone at x: [138] y: [58] coin [17]\nend\nif <(Level) = [6]> then\n    Create a clone at x: [-49] y: [-48] coin [18]\n    Create a clone at x: [-49] y: [-92] coin [19]\n    Create a clone at x: [73] y: [-48] coin [20]\n    Create a clone at x: [73] y: [-92] coin [21]\nend\nif <(Level) = [7]> then\n    Create a clone at x: [-102] y: [70] coin [22]\n    Create a clone at x: [22] y: [70] coin [23]\n    Create a clone at x: [152] y: [70] coin [24]\nend\nif <(Level) = [8]> then\n    Create a clone at x: [-60] y: [-40] coin [25]\n    Create a clone at x: [8] y: [55] coin [26]\nend\nif <(Level) = [9]> then\n    Create a clone at x: [-127] y: [-40] coin [27]\n    Create a clone at x: [-65] y: [-40] coin [28]\n    Create a clone at x: [-3] y: [-40] coin [29]\n    Create a clone at x: [59] y: [-40] coin [30]\n    Create a clone at x: [121] y: [-40] coin [31]\nend\nif <(Level) = [10]> then\n    Create a clone at x: [-144] y: [-10] coin [32]\n    Create a clone at x: [-120] y: [-10] coin [33]\n    Create a clone at x: [-144] y: [-36] coin [34]\n    Create a clone at x: [-120] y: [-36] coin [35]\n    Create a clone at x: [-144] y: [-62] coin [36]\n    Create a clone at x: [-120] y: [-62] coin [37]\nend\nif <(Level) = [11]> then\n    Create a clone at x: [50] y: [-11] coin [38]\n    Create a clone at x: [50] y: [39] coin [39]\nend\nif <(Level) = [12]> then\n    Create a clone at x: [-13] y: [56] coin [40]\n    Create a clone at x: [123] y: [56] coin [41]\n    Create a clone at x: [221] y: [112] coin [42]\nend\nif <(Level) = [13]> then\n    Create a clone at x: [-161] y: [-44] coin [43]\n    Create a clone at x: [-161] y: [-84] coin [44]\n    Create a clone at x: [-135] y: [-44] coin [45]\n    Create a clone at x: [-135] y: [-84] coin [46]\n    Create a clone at x: [51] y: [116] coin [47]\n    Create a clone at x: [205] y: [116] coin [48]\nend\nif <(Level) = [14]> then\n    Create a clone at x: [-78] y: [64] coin [49]\n    Create a clone at x: [33] y: [64] coin [50]\n    Create a clone at x: [-78] y: [112] coin [51]\n    Create a clone at x: [33] y: [112] coin [52]\nend\nif <(Level) = [15]> then\n    Create a clone at x: [-52] y: [-56] coin [53]\n    Create a clone at x: [0] y: [-56] coin [54]\n    Create a clone at x: [52] y: [-56] coin [55]\n    Create a clone at x: [-52] y: [-4] coin [56]\n    Create a clone at x: [0] y: [-4] coin [57]\n    Create a clone at x: [52] y: [-4] coin [58]\nend\nif <(Level) = [16]> then\n    Create a clone at x: [28] y: [-72] coin [59]\n    Create a clone at x: [-72] y: [-11] coin [60]\n    Create a clone at x: [-72] y: [30] coin [61]\n    Create a clone at x: [198] y: [106] coin [62]\nend\nif <(Level) = [17]> then\n    Create a clone at x: [68] y: [31] coin [63]\n    Create a clone at x: [68] y: [-6] coin [64]\n    Create a clone at x: [68] y: [-43] coin [65]\nend\nif <(Level) = [18]> then\n    Create a clone at x: [99] y: [41] coin [66]\n    Create a clone at x: [120] y: [72] coin [67]\n    Create a clone at x: [134] y: [41] coin [68]\nend\nif <(Level) = [20]> then\n    Create a clone at x: [34] y: [35] coin [69]\n    Create a clone at x: [34] y: [13] coin [70]\n    Create a clone at x: [-114] y: [35] coin [71]\n    Create a clone at x: [-114] y: [13] coin [72]\nend\nif <(Level) = [21]> then\n    Create a clone at x: [-10] y: [130] coin [73]\n    Create a clone at x: [45] y: [130] coin [74]\n    Create a clone at x: [95] y: [130] coin [75]\nend\nif <(Level) = [22]> then\n    Create a clone at x: [-196] y: [-17] coin [76]\n    Create a clone at x: [-196] y: [7] coin [77]\nend\nif <(Level) = [23]> then\n    Create a clone at x: [38] y: [76] coin [78]\n    Create a clone at x: [-93] y: [76] coin [79]\n    Create a clone at x: [175] y: [110] coin [80]\n    Create a clone at x: [216] y: [110] coin [81]\nend\nif <(Level) = [24]> then\n    Create a clone at x: [63] y: [110] coin [82]\n    Create a clone at x: [63] y: [74] coin [83]\nend\nif <(Level) = [25]> then\n    Create a clone at x: [12] y: [84] coin [84]\n    Create a clone at x: [82] y: [20] coin [85]\n    Create a clone at x: [82] y: [-20] coin [86]\nend\nif <(Level) = [26]> then\n    Create a clone at x: [-48] y: [-85] coin [87]\n    Create a clone at x: [-10] y: [-85] coin [88]\n    Create a clone at x: [28] y: [-85] coin [89]\nend\nif <(Level) = [27]> then\n    Create a clone at x: [-30] y: [0] coin [90]\n    Create a clone at x: [-30] y: [36] coin [91]\n    Create a clone at x: [75] y: [100] coin [92]\n    Create a clone at x: [75] y: [60] coin [93]\nend\nif <(Level) = [28]> then\n    Create a clone at x: [-100] y: [-62] coin [94]\n    Create a clone at x: [11] y: [-15] coin [95]\n    Create a clone at x: [110] y: [-62] coin [96]\nend\nif <(Level) = [30]> then\n    Create a clone at x: [7] y: [-53] coin [97]\n    Create a clone at x: [109] y: [-72] coin [98]\n    Create a clone at x: [168] y: [-72] coin [99]\nend\nif <(Level) = [32]> then\n    Create a clone at x: [2] y: [71] coin [100]\n    Create a clone at x: [2] y: [102] coin [101]\nend\nif <(Level) = [33]> then\n    Create a clone at x: [-74] y: [90] coin [102]\n    Create a clone at x: [82] y: [90] coin [103]\nend\nif <(Level) = [34]> then\n    Create a clone at x: [10] y: [-67] coin [104]\n    Create a clone at x: [10] y: [-17] coin [105]\n    Create a clone at x: [-224] y: [-25] coin [106]\n    Create a clone at x: [-224] y: [18] coin [107]\n    Create a clone at x: [-200] y: [-25] coin [108]\n    Create a clone at x: [-200] y: [18] coin [109]\nend\nif <(Level) = [35]> then\n    Create a clone at x: [-150] y: [57] coin [110]\n    Create a clone at x: [-125] y: [57] coin [111]\n    Create a clone at x: [13] y: [-75] coin [112]\n    Create a clone at x: [13] y: [-41] coin [113]\nend\nif <(Level) = [36]> then\n    Create a clone at x: [-188] y: [3] coin [114]\n    Create a clone at x: [-1] y: [98] coin [115]\n    Create a clone at x: [-188] y: [-25] coin [116]\nend\nif <(Level) = [38]> then\n    Create a clone at x: [-55] y: [25] coin [117]\n    Create a clone at x: [47] y: [95] coin [118]\nend\nif <(Level) = [40]> then\n    Create a clone at x: [-31] y: [-56] coin [119]\n    Create a clone at x: [-7] y: [-56] coin [120]\n    Create a clone at x: [-31] y: [-22] coin [121]\n    Create a clone at x: [-7] y: [-22] coin [122]\nend\nif <(Level) = [41]> then\n    Create a clone at x: [-84] y: [132] coin [123]\n    Create a clone at x: [-33] y: [132] coin [124]\n    Create a clone at x: [16] y: [132] coin [125]\nend\nif <(Level) = [42]> then\n    Create a clone at x: [-32] y: [120] coin [126]\n    Create a clone at x: [0] y: [120] coin [127]\n    Create a clone at x: [32] y: [120] coin [128]\nend\nif <(Level) = [43]> then\n    Create a clone at x: [-40] y: [-50] coin [129]\n    Create a clone at x: [-138] y: [-50] coin [130]\n    Create a clone at x: [60] y: [-50] coin [131]\nend\nif <(Level) = [44]> then\n    Create a clone at x: [116] y: [-2] coin [132]\n    Create a clone at x: [116] y: [-29] coin [133]\n    Create a clone at x: [116] y: [-57] coin [134]\nend\nif <(Level) = [46]> then\n    Create a clone at x: [-77] y: [-41] coin [135]\n    Create a clone at x: [11] y: [-65] coin [136]\n    Create a clone at x: [98] y: [-41] coin [137]\nend\nif <(Level) = [47]> then\n    Create a clone at x: [35] y: [-28] coin [138]\n    Create a clone at x: [58] y: [-28] coin [139]\n    Create a clone at x: [46] y: [-48] coin [140]\nend\nif <(Level) = [48]> then\n    Create a clone at x: [18] y: [74] coin [141]\n    Create a clone at x: [104] y: [59] coin [142]\n    Create a clone at x: [-63] y: [59] coin [143]\nend\nif <(Level) = [49]> then\n    Create a clone at x: [-61] y: [-17] coin [144]\n    Create a clone at x: [-83] y: [-17] coin [145]\n    Create a clone at x: [-61] y: [-40] coin [146]\n    Create a clone at x: [-83] y: [-40] coin [147]\n    Create a clone at x: [61] y: [-17] coin [148]\n    Create a clone at x: [83] y: [-17] coin [149]\n    Create a clone at x: [61] y: [-40] coin [150]\n    Create a clone at x: [83] y: [-40] coin [151]\nend\nif <(Level) = [51]> then\n    Create a clone at x: [-14] y: [32] coin [152]\n    Create a clone at x: [11] y: [32] coin [153]\n    Create a clone at x: [-14] y: [7] coin [154]\n    Create a clone at x: [11] y: [7] coin [155]\nend\nif <(Level) = [52]> then\n    Create a clone at x: [-41] y: [54] coin [156]\n    Create a clone at x: [-41] y: [31] coin [157]\n    Create a clone at x: [50] y: [54] coin [158]\n    Create a clone at x: [50] y: [31] coin [159]\nend\nif <(Level) = [53]> then\n    Create a clone at x: [-158] y: [112] coin [160]\n    Create a clone at x: [-132] y: [112] coin [161]\n    Create a clone at x: [-158] y: [87] coin [162]\n    Create a clone at x: [-132] y: [87] coin [163]\n    Create a clone at x: [50] y: [127] coin [164]\n    Create a clone at x: [20] y: [148] coin [165]\n    Create a clone at x: [80] y: [148] coin [166]\nend\nif <(Level) = [54]> then\n    Create a clone at x: [105] y: [-31] coin [167]\n    Create a clone at x: [117] y: [-6] coin [168]\n    Create a clone at x: [128] y: [-31] coin [169]\nend\nif <(Level) = [56]> then\n    Create a clone at x: [-85] y: [132] coin [170]\n    Create a clone at x: [-62] y: [132] coin [171]\n    Create a clone at x: [-85] y: [108] coin [172]\n    Create a clone at x: [-62] y: [108] coin [173]\n    Create a clone at x: [94] y: [132] coin [174]\n    Create a clone at x: [116] y: [132] coin [175]\n    Create a clone at x: [94] y: [108] coin [176]\n    Create a clone at x: [116] y: [108] coin [177]\nend\nif <(Level) = [58]> then\n    Create a clone at x: [70] y: [-6] coin [178]\n    Create a clone at x: [91] y: [-6] coin [179]\n    Create a clone at x: [70] y: [-30] coin [180]\n    Create a clone at x: [91] y: [-30] coin [181]\nend\nif <(Level) = [60]> then\n    Create a clone at x: [-8] y: [44] coin [182]\n    Create a clone at x: [-8] y: [66] coin [183]\n    Create a clone at x: [-8] y: [0] coin [184]\n    Create a clone at x: [-8] y: [22] coin [185]\n    Create a clone at x: [-8] y: [-22] coin [186]\n    Create a clone at x: [-8] y: [-44] coin [187]\n    Create a clone at x: [-8] y: [-88] coin [188]\n    Create a clone at x: [-8] y: [-66] coin [189]\nend\nif <(Level) = [62]> then\n    Create a clone at x: [-120] y: [-14] coin [190]\n    Create a clone at x: [-96] y: [-14] coin [191]\n    Create a clone at x: [-120] y: [-38] coin [192]\n    Create a clone at x: [-96] y: [-38] coin [193]\n    Create a clone at x: [120] y: [-14] coin [194]\n    Create a clone at x: [96] y: [-14] coin [195]\n    Create a clone at x: [120] y: [-38] coin [196]\n    Create a clone at x: [96] y: [-38] coin [197]\nend\nif <(Level) = [63]> then\n    Create a clone at x: [17] y: [148] coin [198]\n    Create a clone at x: [17] y: [114] coin [199]\n    Create a clone at x: [17] y: [82] coin [200]\nend\nif <(Level) = [65]> then\n    Create a clone at x: [-4] y: [112] coin [201]\n    Create a clone at x: [20] y: [112] coin [202]\n    Create a clone at x: [-4] y: [137] coin [203]\n    Create a clone at x: [20] y: [137] coin [204]\nend\nif <(Level) = [67]> then\n    Create a clone at x: [0] y: [70] coin [205]\n    Create a clone at x: [20] y: [50] coin [206]\n    Create a clone at x: [-20] y: [50] coin [207]\nend\nif <(Level) = [68]> then\n    Create a clone at x: [22] y: [-30] coin [208]\n    Create a clone at x: [0] y: [-30] coin [209]\n    Create a clone at x: [-22] y: [-30] coin [210]\n    Create a clone at x: [-44] y: [-30] coin [211]\nend\nif <(Level) = [69]> then\n    Create a clone at x: [-12] y: [-2] coin [212]\n    Create a clone at x: [-32] y: [10] coin [213]\n    Create a clone at x: [-50] y: [-4] coin [214]\n    Create a clone at x: [-45] y: [-25] coin [215]\n    Create a clone at x: [-35] y: [-45] coin [216]\n    Create a clone at x: [-24] y: [-63] coin [217]\n    Create a clone at x: [-14] y: [-82] coin [218]\n    Create a clone at x: [-3] y: [-63] coin [219]\n    Create a clone at x: [9] y: [-45] coin [220]\n    Create a clone at x: [20] y: [-25] coin [221]\n    Create a clone at x: [24] y: [-4] coin [222]\n    Create a clone at x: [6] y: [10] coin [223]\nend\nif <(Level) = [70]> then\n    Create a clone at x: [78] y: [76] coin [224]\n    Create a clone at x: [78] y: [36] coin [225]\n    Create a clone at x: [78] y: [56] coin [226]\nend\nif <(Level) = [71]> then\n    Create a clone at x: [-68] y: [-45] coin [227]\n    Create a clone at x: [-68] y: [-70] coin [228]\n    Create a clone at x: [-68] y: [-95] coin [229]\nend\nif <(Level) = [72]> then\n    Create a clone at x: [-15] y: [-44] coin [230]\n    Create a clone at x: [10] y: [-44] coin [231]\n    Create a clone at x: [35] y: [-44] coin [232]\n    Create a clone at x: [60] y: [-44] coin [233]\nend\nif <(Level) = [74]> then\n    Create a clone at x: [48] y: [-2] coin [234]\n    Create a clone at x: [48] y: [-24] coin [235]\n    Create a clone at x: [48] y: [-46] coin [236]\n    Create a clone at x: [48] y: [-68] coin [237]\n    Create a clone at x: [48] y: [-90] coin [238]\nend\nif <(Level) = [75]> then\n    Create a clone at x: [-76] y: [-50] coin [239]\n    Create a clone at x: [4] y: [-50] coin [240]\n    Create a clone at x: [82] y: [-50] coin [241]\nend\nif <(Level) = [76]> then\n    Create a clone at x: [-20] y: [-1] coin [242]\n    Create a clone at x: [4] y: [-1] coin [243]\n    Create a clone at x: [-20] y: [-24] coin [244]\n    Create a clone at x: [4] y: [-24] coin [245]\nend\nif <(Level) = [77]> then\n    Create a clone at x: [-225] y: [95] coin [246]\n    Create a clone at x: [-200] y: [95] coin [247]\n    Create a clone at x: [-175] y: [95] coin [248]\n    Create a clone at x: [-150] y: [95] coin [249]\nend\nif <(Level) = [78]> then\n    Create a clone at x: [-10] y: [40] coin [250]\n    Create a clone at x: [10] y: [40] coin [251]\n    Create a clone at x: [-10] y: [20] coin [252]\n    Create a clone at x: [10] y: [20] coin [253]\nend\nif <(Level) = [80]> then\n    Create a clone at x: [-76] y: [-53] coin [254]\n    Create a clone at x: [4] y: [-53] coin [255]\n    Create a clone at x: [84] y: [-53] coin [256]\nend\nif <(Level) = [81]> then\n    Create a clone at x: [-35] y: [-41] coin [257]\n    Create a clone at x: [123] y: [-41] coin [258]\nend\nif <(Level) = [82]> then\n    Create a clone at x: [-40] y: [-38] coin [259]\n    Create a clone at x: [10] y: [-38] coin [260]\nend\nif <(Level) = [83]> then\n    Create a clone at x: [123] y: [0] coin [261]\n    Create a clone at x: [150] y: [0] coin [262]\n    Create a clone at x: [177] y: [0] coin [263]\n    Create a clone at x: [204] y: [0] coin [264]\nend\nif <(Level) = [84]> then\n    Create a clone at x: [-6] y: [95] coin [265]\n    Create a clone at x: [-6] y: [70] coin [266]\n    Create a clone at x: [113] y: [125] coin [267]\n    Create a clone at x: [113] y: [150] coin [268]\nend\nif <(Level) = [85]> then\n    Create a clone at x: [42] y: [66] coin [269]\n    Create a clone at x: [0] y: [66] coin [270]\n    Create a clone at x: [84] y: [66] coin [271]\nend\nif <(Level) = [86]> then\n    Create a clone at x: [6] y: [136] coin [272]\n    Create a clone at x: [-20] y: [110] coin [273]\n    Create a clone at x: [28] y: [110] coin [274]\nend\nif <(Level) = [87]> then\n    Create a clone at x: [-12] y: [74] coin [275]\n    Create a clone at x: [-12] y: [94] coin [276]\n    Create a clone at x: [66] y: [41] coin [277]\n    Create a clone at x: [-77] y: [41] coin [278]\nend\nif <(Level) = [88]> then\n    Create a clone at x: [-44] y: [-40] coin [279]\n    Create a clone at x: [-20] y: [-40] coin [279]\n    Create a clone at x: [4] y: [-40] coin [280]\n    Create a clone at x: [28] y: [-40] coin [281]\nend\nif <(Level) = [89]> then\n    Create a clone at x: [-100] y: [-70] coin [282]\n    Create a clone at x: [-86] y: [-42] coin [283]\n    Create a clone at x: [-75] y: [-70] coin [284]\n    Create a clone at x: [100] y: [-70] coin [285]\n    Create a clone at x: [89] y: [-42] coin [286]\n    Create a clone at x: [75] y: [-70] coin [287]\nend\nif <(Level) = [90]> then\n    Create a clone at x: [-15] y: [5] coin [288]\n    Create a clone at x: [15] y: [5] coin [289]\n    Create a clone at x: [45] y: [5] coin [290]\nend\nif <(Level) = [91]> then\n    Create a clone at x: [-30] y: [-18] coin [291]\n    Create a clone at x: [-30] y: [-38] coin [292]\n    Create a clone at x: [-10] y: [-18] coin [293]\n    Create a clone at x: [-10] y: [-38] coin [294]\n    Create a clone at x: [10] y: [-18] coin [295]\n    Create a clone at x: [10] y: [-38] coin [296]\nend\nif <(Level) = [92]> then\n    Create a clone at x: [-78] y: [-86] coin [297]\n    Create a clone at x: [-78] y: [-56] coin [298]\n    Create a clone at x: [48] y: [-86] coin [299]\n    Create a clone at x: [48] y: [-56] coin [300]\nend\nif <(Level) = [93]> then\n    Create a clone at x: [-10] y: [-15] coin [301]\n    Create a clone at x: [-10] y: [-40] coin [302]\n    Create a clone at x: [-10] y: [-65] coin [303]\nend\nif <(Level) = [94]> then\n    Create a clone at x: [148] y: [111] coin [304]\n    Create a clone at x: [148] y: [90] coin [305]\n    Create a clone at x: [170] y: [111] coin [306]\n    Create a clone at x: [170] y: [90] coin [307]\nend\nif <(Level) = [95]> then\n    Create a clone at x: [-76] y: [50] coin [308]\n    Create a clone at x: [8] y: [50] coin [309]\n    Create a clone at x: [92] y: [50] coin [310]\nend\nif <(Level) = [96]> then\n    Create a clone at x: [-222] y: [110] coin [311]\n    Create a clone at x: [-200] y: [110] coin [312]\n    Create a clone at x: [-178] y: [110] coin [313]\n    Create a clone at x: [-156] y: [110] coin [314]\n    Create a clone at x: [-134] y: [110] coin [315]\n    Create a clone at x: [-112] y: [110] coin [316]\n    Create a clone at x: [-90] y: [110] coin [317]\n    Create a clone at x: [-68] y: [110] coin [318]\n    Create a clone at x: [-46] y: [110] coin [319]\n    Create a clone at x: [-24] y: [110] coin [320]\nend\nif <(Level) = [98]> then\n    Create a clone at x: [-120] y: [34] coin [321]\n    Create a clone at x: [-20] y: [100] coin [322]\n    Create a clone at x: [0] y: [100] coin [323]\n    Create a clone at x: [20] y: [100] coin [324]\n    Create a clone at x: [124] y: [34] coin [325]\nend\nif <(Level) = [100]> then\n    Create a clone at x: [6] y: [-4] coin [326]\n    Create a clone at x: [6] y: [20] coin [327]\nend\nif <(Level) = [101]> then\n    Create a clone at x: [-60] y: [-33] coin [328]\n    Create a clone at x: [30] y: [30] coin [329]\nend\nif <(Level) = [104]> then\n    Create a clone at x: [112] y: [-90] coin [330]\n    Create a clone at x: [112] y: [-60] coin [331]\n    Create a clone at x: [112] y: [-30] coin [332]\nend\nif <(Level) = [105]> then\n    Create a clone at x: [212] y: [46] coin [333]\n    Create a clone at x: [212] y: [23] coin [334]\nend\nif <(Level) = [106]> then\n    Create a clone at x: [60] y: [97] coin [335]\n    Create a clone at x: [60] y: [120] coin [336]\nend\nif <(Level) = [107]> then\n    Create a clone at x: [124] y: [118] coin [337]\n    Create a clone at x: [144] y: [118] coin [338]\n    Create a clone at x: [164] y: [118] coin [339]\n    Create a clone at x: [184] y: [118] coin [340]\n    Create a clone at x: [204] y: [118] coin [341]\n    Create a clone at x: [224] y: [118] coin [342]\nend\nif <(Level) = [108]> then\n    Create a clone at x: [178] y: [-10] coin [343]\n    Create a clone at x: [178] y: [-30] coin [344]\nend\nif <(Level) = [110]> then\n    Create a clone at x: [-178] y: [-30] coin [345]\n    Create a clone at x: [-158] y: [-30] coin [346]\n    Create a clone at x: [-138] y: [-30] coin [347]\n    Create a clone at x: [-178] y: [-50] coin [348]\n    Create a clone at x: [-158] y: [-50] coin [349]\n    Create a clone at x: [-138] y: [-50] coin [350]\nend\nif <(Level) = [114]> then\n    Create a clone at x: [114] y: [52] coin [351]\n    Create a clone at x: [134] y: [52] coin [352]\n    Create a clone at x: [114] y: [72] coin [353]\n    Create a clone at x: [134] y: [72] coin [354]\nend\nif <(Level) = [115]> then\n    Create a clone at x: [-184] y: [82] coin [355]\n    Create a clone at x: [-163] y: [82] coin [356]\n    Create a clone at x: [184] y: [82] coin [357]\n    Create a clone at x: [163] y: [82] coin [358]\nend\n\nwhen I start as a clone\nshow\nforever\n    set [brightness v] effect to (((5) * ([cos v] of ((timer) * (600)) )) + (5))\n    switch costume to (hitcoin v)\n    if <<(Level) > [30]> and <(Level) < [61]>> then\n        switch costume to (level2coin v)\n    else\n        switch costume to (coin v)\n    end\nend\n\nwhen I start as a clone\nif <not < (Coin) contains (coin)?>> then\n    set [done v] to [no]\nend\nwait until <touching (player v)?>\nif <not < (Coin) contains (coin)?>> then\n    add (coin) to [coin v]\nend\nif <(Sounds) = [0]> then\n    start sound [Coin v]\nend\nchange [coins v] by (1)\nforever\n    change x by ((([x position v] of [showcoins v]) - (x position)) / (16))\n    change y by (((([y position v] of [showcoins v]) - (10)) - ((y position) - (18))) / (16))\n    if <<(y position) > [161]> and <(x position) < [-222]>> then\n        set [done v] to [yes]\n        delete this clone\n    end\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if << (Coin) contains (coin)?> and <(done) = [yes]>> then\n        delete this clone\n    end\nend\n\n@Star\n\ndefine Create a clone at x: (x) y: (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    set [brightness v] effect to (((5) * ([cos v] of ((timer) * (600)) )) + (5))\n    switch costume to (hitstar v)\n    switch costume to (world1star v)\nend\n\nwhen I start as a clone\nwait until <<touching (player v)?> and <<(Finish) = []> and <(Transition) = [No]>>>\nif <(Sounds) = [0]> then\n    start sound [star v]\nend\nif <(Finish) = []> then\n    change [star v] by (1)\n    add (Level) to [star v]\nend\nforever\n    change x by ((([x position v] of [showstar v]) - (x position)) / (16))\n    change y by (((([y position v] of [showstar v]) - (10)) - ((y position) - (18))) / (16))\n    if <<(y position) > [136]> and <(x position) < [-222]>> then\n        delete this clone\n    end\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\nif <<[star v] contains (Level)?> and <not <[claimedstars v] contains (Level)?>>> then\n    change [star v] by (-1)\n    delete (item # of (Level) in [star v]) of [star v]\nend\nif <(Level) = [17]> then\n    Create a clone at x: [-33] y: [-90]\nend\nif <(Level) = [18]> then\n    Create a clone at x: [15] y: [-90]\nend\nif <(Level) = [21]> then\n    Create a clone at x: [-199] y: [25]\nend\nif <(Level) = [22]> then\n    Create a clone at x: [-44] y: [17]\nend\nif <(Level) = [28]> then\n    Create a clone at x: [14] y: [148]\nend\nif <(Level) = [33]> then\n    Create a clone at x: [6] y: [-24]\nend\nif <(Level) = [34]> then\n    Create a clone at x: [-53] y: [-76]\nend\nif <(Level) = [38]> then\n    Create a clone at x: [-226] y: [12]\nend\nif <(Level) = [45]> then\n    Create a clone at x: [71] y: [157]\nend\nif <(Level) = [51]> then\n    Create a clone at x: [8] y: [160]\nend\nif <(Level) = [54]> then\n    Create a clone at x: [-29] y: [-20]\nend\nif <(Level) = [56]> then\n    Create a clone at x: [19] y: [150]\nend\nif <(Level) = [58]> then\n    Create a clone at x: [-84] y: [155]\nend\nif <(Level) = [66]> then\n    Create a clone at x: [-227] y: [2]\nend\nif <(Level) = [70]> then\n    Create a clone at x: [-169] y: [107]\nend\nif <(Level) = [84]> then\n    Create a clone at x: [53] y: [-70]\nend\nif <(Level) = [94]> then\n    Create a clone at x: [-120] y: [110]\nend\nif <(Level) = [104]> then\n    Create a clone at x: [-50] y: [-90]\nend\nif <(Level) = [105]> then\n    Create a clone at x: [115] y: [146]\nend\nif <(Level) = [115]> then\n    Create a clone at x: [-8] y: [148]\nend\nif <(Level) = [116]> then\n    Create a clone at x: [-135] y: [111]\nend\nif <(Level) = [117]> then\n    Create a clone at x: [40] y: [-72]\nend\n\nwhen I receive [menu v]\nif <<[star v] contains (Level)?> and <not <[claimedstars v] contains (Level)?>>> then\n    change [star v] by (-1)\n    delete (item # of (Level) in [star v]) of [star v]\nend\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <[claimedstars v] contains (Level)?> then\n        delete this clone\n    end\nend\n\n@ShowCoins\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    set size to (30) %\n    go to x: (((digits) * (12)) - (235)) y: (155)\n    if <(length of (join [c] (Coins))) < (digits)> then\n        hide\n    else\n        show\n        switch costume to (letter (digits) of (join [c] (Coins)))\n    end\nend\n\nwhen I receive [menu v]\ndelete this clone\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\nhide\nforever\n    go to x: (-223) y: (155)\nend\n\ndefine delete this clone\ndelete this clone\n\nwhen I receive [help v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [viewed v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <(Level) = [121]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\n@ShowStar\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    set size to (30) %\n    go to x: (((digits) * (12)) - (235)) y: (130)\n    if <(length of (join [s] (Star))) < (digits)> then\n        hide\n    else\n        show\n        switch costume to (letter (digits) of (join [s] (Star)))\n    end\nend\n\nwhen I receive [menu v]\ndelete this clone\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\nhide\nforever\n    go to x: (-223) y: (130)\nend\n\ndefine delete this clone\ndelete this clone\n\nwhen I receive [help v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [viewed v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <(Level) = [121]> then\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\nif <(Level) = [20]> then\n    Clone at x: [-114] y: [-90]\n    Clone at x: [35] y: [-90]\nend\nif <(Level) = [21]> then\n    Clone at x: [-76] y: [-90]\nend\nif <(Level) = [22]> then\n    Clone at x: [-114] y: [-90]\n    Clone at x: [15] y: [-90]\nend\nif <(Level) = [23]> then\n    Clone at x: [-152] y: [-90]\nend\nif <(Level) = [24]> then\n    Clone at x: [-120] y: [-90]\nend\nif <(Level) = [25]> then\n    Clone at x: [-67] y: [-22]\nend\nif <(Level) = [32]> then\n    Clone at x: [-157] y: [-90]\nend\nif <(Level) = [35]> then\n    Clone at x: [-142] y: [-90]\nend\nif <(Level) = [37]> then\n    Clone at x: [-82] y: [-90]\nend\nif <(Level) = [43]> then\n    Clone at x: [-138] y: [-90]\n    Clone at x: [-40] y: [-90]\n    Clone at x: [60] y: [-90]\nend\nif <(Level) = [45]> then\n    Clone at x: [60] y: [-90]\nend\nif <(Level) = [47]> then\n    Clone at x: [-145] y: [-90]\nend\nif <(Level) = [57]> then\n    Clone at x: [-148] y: [-90]\nend\nif <(Level) = [65]> then\n    Clone at x: [-162] y: [-90]\nend\nif <(Level) = [66]> then\n    Clone at x: [-152] y: [-90]\n    Clone at x: [-92] y: [-90]\n    Clone at x: [-32] y: [-90]\n    Clone at x: [28] y: [-90]\n    Clone at x: [88] y: [-90]\n    Clone at x: [148] y: [-90]\nend\nif <(Level) = [69]> then\n    Clone at x: [-112] y: [-90]\n    Clone at x: [112] y: [-90]\nend\nif <(Level) = [72]> then\n    Clone at x: [-108] y: [-20]\nend\nif <(Level) = [73]> then\n    Clone at x: [115] y: [-90]\nend\nif <(Level) = [74]> then\n    Clone at x: [2] y: [-90]\nend\nif <(Level) = [95]> then\n    Clone at x: [-142] y: [-90]\n    Clone at x: [-57] y: [-90]\n    Clone at x: [25] y: [-90]\n    Clone at x: [110] y: [-90]\nend\nif <(Level) = [96]> then\n    Clone at x: [-30] y: [-90]\nend\nif <(Level) = [105]> then\n    Clone at x: [0] y: [-20]\nend\nif <(Level) = [111]> then\n    Clone at x: [-132] y: [-90]\nend\nif <(Level) = [116]> then\n    Clone at x: [-132] y: [-90]\nend\nif <(Level) = [118]> then\n    Clone at x: [-55] y: [-90]\nend\n\ndefine Clone at x: (x) y: (y)\ngo to x: (x) y: (y)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (7) layers\nshow\nforever\n    if <(Level) < [30]> then\n        set [color v] effect to (30)\n    else\n        if <<(Level) > [30]> and <(Level) < [60]>> then\n            set [color v] effect to (0)\n        else\n            set [color v] effect to (130)\n        end\n    end\n    if <<touching (player v)?> and <(Finish) = []>> then\n        broadcast (Bounce v)\n        if <(Sounds) = [0]> then\n            start sound [Bounce v]\n        end\n        stop [other scripts in sprite v]\n        switch costume to (1 v)\n        repeat (7)\n            next costume\n        end\n        if <(costume [number v]) > [7]> then\n            switch costume to (1 v)\n        end\n    end\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Saw\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Create A Clone At x: (x) y: (y) Speed: (speed) Distance: (distance) Type: (type)\nset [x v] to (x)\nset [y v] to (y)\nset [speed v] to (speed)\nset [distance v] to (distance)\nset [type v] to (type)\ngo to [back v] layer\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nif <<(Level) > [60]> and <(Level) < [89]>> then\n    switch costume to (saw2 v)\nelse\n    if <(Level) > [90]> then\n        switch costume to (saw3 v)\n    else\n        switch costume to (saw v)\n    end\nend\nif <(Level) = [40]> then\n    Create A Clone At x: [-15] y: [-110] Speed: [3] Distance: [60] Type: [1]\n    Create A Clone At x: [-15] y: [-110] Speed: [3] Distance: [-60] Type: [1]\nend\nif <(Level) = [41]> then\n    Create A Clone At x: [-80] y: [-40] Speed: [3] Distance: [40] Type: [2]\n    Create A Clone At x: [-9] y: [-40] Speed: [3] Distance: [-40] Type: [2]\nend\nif <(Level) = [42]> then\n    Create A Clone At x: [1] y: [53] Speed: [5] Distance: [80] Type: [1]\n    Create A Clone At x: [1] y: [53] Speed: [5] Distance: [-80] Type: [1]\nend\nif <(Level) = [43]> then\n    Create A Clone At x: [-13] y: [12] Speed: [5] Distance: [200] Type: [1]\nend\nif <(Level) = [45]> then\n    Create A Clone At x: [20] y: [142] Speed: [0] Distance: [0] Type: [0]\n    Create A Clone At x: [118] y: [71] Speed: [0] Distance: [0] Type: [0]\nend\nif <(Level) = [47]> then\n    Create A Clone At x: [113] y: [-112] Speed: [4] Distance: [50] Type: [1]\n    Create A Clone At x: [198] y: [-53] Speed: [4] Distance: [30] Type: [2]\nend\nif <(Level) = [52]> then\n    Create A Clone At x: [-80] y: [-42] Speed: [4] Distance: [40] Type: [1]\n    Create A Clone At x: [86] y: [-42] Speed: [4] Distance: [-40] Type: [1]\n    Create A Clone At x: [5] y: [20] Speed: [4] Distance: [20] Type: [2]\nend\nif <(Level) = [58]> then\n    Create A Clone At x: [-110] y: [-112] Speed: [0] Distance: [0] Type: [0]\nend\nif <(Level) = [60]> then\n    Create A Clone At x: [-60] y: [-8] Speed: [3] Distance: [70] Type: [2]\n    Create A Clone At x: [-60] y: [-8] Speed: [3] Distance: [-70] Type: [2]\n    Create A Clone At x: [45] y: [-8] Speed: [5] Distance: [-50] Type: [2]\nend\nif <(Level) = [64]> then\n    Create A Clone At x: [-30] y: [-42] Speed: [4] Distance: [60] Type: [1]\n    Create A Clone At x: [-30] y: [-42] Speed: [4] Distance: [-60] Type: [1]\nend\nif <(Level) = [68]> then\n    Create A Clone At x: [0] y: [-112] Speed: [4] Distance: [120] Type: [1]\n    Create A Clone At x: [0] y: [-112] Speed: [4] Distance: [-120] Type: [1]\n    Create A Clone At x: [0] y: [-112] Speed: [1] Distance: [20] Type: [1]\nend\nif <(Level) = [70]> then\n    Create A Clone At x: [-80] y: [-112] Speed: [4] Distance: [75] Type: [1]\nend\nif <(Level) = [71]> then\n    Create A Clone At x: [160] y: [-112] Speed: [5] Distance: [55] Type: [1]\nend\nif <(Level) = [72]> then\n    Create A Clone At x: [45] y: [-112] Speed: [6] Distance: [100] Type: [1]\n    Create A Clone At x: [45] y: [-112] Speed: [6] Distance: [-100] Type: [1]\nend\nif <(Level) = [77]> then\n    Create A Clone At x: [148] y: [-112] Speed: [8] Distance: [50] Type: [1]\nend\nif <(Level) = [78]> then\n    Create A Clone At x: [-50] y: [-112] Speed: [8] Distance: [70] Type: [1]\nend\nif <(Level) = [83]> then\n    Create A Clone At x: [0] y: [-112] Speed: [8] Distance: [50] Type: [1]\nend\nif <(Level) = [87]> then\n    Create A Clone At x: [223] y: [-24] Speed: [4] Distance: [60] Type: [2]\nend\nif <(Level) = [ 88]> then\n    Create A Clone At x: [-13] y: [-112] Speed: [4] Distance: [50] Type: [1]\n    Create A Clone At x: [3] y: [100] Speed: [4] Distance: [40] Type: [2]\nend\nif <(Level) = [97]> then\n    Create A Clone At x: [12] y: [20] Speed: [4] Distance: [50] Type: [1]\n    Create A Clone At x: [12] y: [108] Speed: [4] Distance: [-50] Type: [1]\nend\nif <(Level) = [98]> then\n    Create A Clone At x: [2] y: [50] Speed: [6] Distance: [60] Type: [1]\nend\nif <(Level) = [105]> then\n    Create A Clone At x: [-100] y: [23] Speed: [8] Distance: [70] Type: [1]\nend\nif <(Level) = [106]> then\n    Create A Clone At x: [150] y: [-112] Speed: [4] Distance: [50] Type: [1]\n    Create A Clone At x: [60] y: [-40] Speed: [4] Distance: [-50] Type: [2]\nend\nif <(Level) = [107]> then\n    Create A Clone At x: [104] y: [-36] Speed: [6] Distance: [50] Type: [2]\nend\nif <(Level) = [113]> then\n    Create A Clone At x: [0] y: [-10] Speed: [6] Distance: [90] Type: [1]\n    Create A Clone At x: [0] y: [-112] Speed: [6] Distance: [90] Type: [1]\nend\nif <(Level) = [114]> then\n    Create A Clone At x: [8] y: [-120] Speed: [6] Distance: [70] Type: [2]\nend\nif <(Level) = [116]> then\n    Create A Clone At x: [164] y: [-112] Speed: [6] Distance: [30] Type: [1]\nend\nif <(Level) = [117]> then\n    Create A Clone At x: [-85] y: [50] Speed: [8] Distance: [30] Type: [1]\n    Create A Clone At x: [170] y: [50] Speed: [8] Distance: [-30] Type: [1]\nend\nif <(Level) = [118]> then\n    Create A Clone At x: [140] y: [-112] Speed: [8] Distance: [50] Type: [1]\nend\n\nwhen I start as a clone\nshow\nforever\n    go to [back v] layer\n    turn right (8) degrees\n    if <(type) = [1]> then\n        go to x: ((x) + (([cos v] of ((Time) * (speed)) ) * (distance))) y: (y)\n    else\n        go to x: (x) y: ((y) + (([cos v] of ((Time) * (speed)) ) * (distance)))\n    end\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Enemy\n\nwhen I start as a clone\nset [die v] to [No]\nset [x v] to [0]\nset [y v] to [0]\ngo to [front v] layer\ngo [backward v] (2) layers\nset size to (60) %\nshow\nforever\n    switch costume to (2 v)\n    if <(die) = [No]> then\n        change [y v] by (-1)\n        if <([x position v] of [player v]) < ((x position) - (10))> then\n            change [x v] by ((sx) * (-1))\n            point in direction (-90)\n        end\n        if <((x position) - (-10)) < ([x position v] of [player v])> then\n            change [x v] by (sx)\n            point in direction (90)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change y by (-3)\n                            change x by ((x) * (-1))\n                            if <<(y position) < ([y position v] of [player v])> or <(y position) < ([x position v] of [player v])>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [12]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (y)\n        if <touching (platform v)?> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n    end\n    switch costume to (1 v)\nend\n\nwhen flag clicked\nhide\n\ndefine Create A Clone at x: (x) y: (y) speed: (sx)\ngo to x: (x) y: (y)\nset [sx v] to (sx)\ncreate clone of (_myself_ v)\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\nhide\nif <(Level) = [50]> then\n    Create A Clone at x: [215] y: [-102] speed: [.5]\nend\nif <(Level) = [51]> then\n    Create A Clone at x: [215] y: [-102] speed: [.5]\nend\nif <(Level) = [53]> then\n    Create A Clone at x: [224] y: [55] speed: [.5]\n    Create A Clone at x: [224] y: [55] speed: [0.3]\nend\nif <(Level) = [54]> then\n    Create A Clone at x: [215] y: [-102] speed: [.5]\nend\nif <(Level) = [58]> then\n    Create A Clone at x: [215] y: [-102] speed: [.5]\n    Create A Clone at x: [215] y: [-102] speed: [.3]\n    Create A Clone at x: [215] y: [-102] speed: [.2]\nend\nif <(Level) = [66]> then\n    Create A Clone at x: [215] y: [-102] speed: [.5]\nend\nif <(Level) = [76]> then\n    Create A Clone at x: [215] y: [-102] speed: [.5]\n    Create A Clone at x: [215] y: [-102] speed: [.3]\nend\nif <(Level) = [90]> then\n    Create A Clone at x: [225] y: [-36] speed: [.5]\n    Create A Clone at x: [225] y: [-36] speed: [.3]\n    Create A Clone at x: [225] y: [-36] speed: [.2]\nend\nif <(Level) = [115]> then\n    Create A Clone at x: [225] y: [-102] speed: [.5]\n    Create A Clone at x: [225] y: [43] speed: [.2]\n    Create A Clone at x: [-225] y: [43] speed: [.2]\n    Create A Clone at x: [-225] y: [43] speed: [.6]\nend\n\nwhen I start as a clone\nforever\n    if <<<touching (danger v)?> or <touching (saw v)?>> or <touching (weapon  v)?>> then\n        wait (0.05) seconds\n        delete this clone\n    end\n    if <touching (player v)?> then\n        if <<(Player) > [7]> and <(Finish) = []>> then\n            if <<([y position v] of [player v]) > (y position)> and <([sy v] of [player v]) < [-1]>> then\n                stop [other scripts in sprite v]\n                set [die v] to [Yes]\n                broadcast (s_Bounce v)\n                if <(Sounds) = [0]> then\n                    start sound [Die v]\n                end\n                repeat (5)\n                    change [ghost v] effect by (20)\n                end\n                delete this clone\n            else\n                set [finish v] to [No]\n            end\n        else\n            set [finish v] to [No]\n        end\n    end\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Menu\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\ndelete this clone\nstop [other scripts in sprite v]\nCreate a clone at x: [0] y: [100] clone: [2]\nCreate a clone at x: [9] y: [-10] clone: [4]\nCreate a clone at x: [9] y: [-50] clone: [6]\nCreate a clone at x: [9] y: [-90] clone: [8]\nshow\nforever\n    set size to (100) %\n    go to x: (0) y: (0)\n    switch costume to (backdrop v)\n    set [color v] effect to (0)\n    go to [back v] layer\nend\n\ndefine Create a clone at x: (x) y: (y) clone: (no.)\ngo to x: (x) y: (y)\nset [clone# v] to (no.)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nset size to (110) %\nshow\nforever\n    if <not <<(clone#) > [8]> and <(clone#) < [24]>>> then\n        if <not <(clone#) = [2]>> then\n            switch costume to ((clone#) - (1))\n        end\n        if <<touching (mouse-pointer v)?> and <not <(clone#) = [2]>>> then\n            if <(clone#) = [24]> then\n                change size by: [90]\n            else\n                if <(clone#) = [28]> then\n                    change size by: [100]\n                else\n                    change size by: [130]\n                end\n            end\n            if <mouse down?> then\n                if <(clone#) = [4]> then\n                    broadcast (Worlds v)\n                end\n                if <(clone#) = [6]> then\n                    set [screen v] to [1]\n                    broadcast (Shop v)\n                end\n                if <(clone#) = [8]> then\n                    broadcast (Help v)\n                end\n                if <(clone#) = [24]> then\n                    broadcast (Menu v)\n                end\n                if <(clone#) = [25]> then\n                    if <(Screen) = [1]> then\n                        set [screen v] to [2]\n                    else\n                        set [screen v] to [1]\n                    end\n                    broadcast (Shop v)\n                end\n                if <(clone#) = [28]> then\n                    switch costume to (continue v)\n                    broadcast (Music_Stop v)\n                    wait (0.001) seconds\n                    broadcast (Start v)\n                    broadcast (Music_2 v)\n                    broadcast (Music_3 v)\n                end\n                if <(clone#) = [30]> then\n                    broadcast (Viewed v)\n                    delete this clone\n                end\n                if <(Sounds) = [0]> then\n                    start sound [click v]\n                end\n            end\n        else\n            if <(clone#) = [24]> then\n                change size by: [80]\n            else\n                if <(clone#) = [28]> then\n                    change size by: [90]\n                else\n                    change size by: [110]\n                end\n            end\n        end\n        switch costume to (clone#)\n    end\nend\n\ndefine change size by: (size)\nchange size by (((size) - (size)) / (4))\n\nwhen I receive [worlds v]\ndelete this clone\nstop [other scripts in sprite v]\nCreate a clone at x: [-55] y: [60] clone: [12]\nCreate a clone at x: [55] y: [60] clone: [14]\nCreate a clone at x: [-55] y: [-40] clone: [17]\nCreate a clone at x: [55] y: [-40] clone: [20]\nCreate a clone at x: [220] y: [165] clone: [24]\nif <not <(Level) = [1]>> then\n    Create a clone at x: [0] y: [-160] clone: [28]\nend\nforever\n    switch costume to (worldsbg v)\n    set [color v] effect to (0)\n    go to [back v] layer\n    go to x: (0) y: (0)\nend\n\ndefine delete this clone\ndelete this clone\n\nwhen I receive [shop v]\ndelete this clone\nstop [other scripts in sprite v]\nCreate a clone at x: [220] y: [165] clone: [24]\nif <(Screen) = [1]> then\n    point in direction (90)\n    Create a clone at x: [200] y: [0] clone: [25]\nelse\n    point in direction (-90)\n    Create a clone at x: [-200] y: [0] clone: [25]\nend\npoint in direction (90)\nforever\n    set [color v] effect to (0)\n    go to [back v] layer\n    go to x: (0) y: (0)\n    if <(Screen) = [1]> then\n        switch costume to (shopbg v)\n    else\n        switch costume to (shopbg2 v)\n    end\nend\n\nwhen I receive [help v]\ndelete this clone\nstop [other scripts in sprite v]\nCreate a clone at x: [220] y: [165] clone: [24]\nforever\n    switch costume to (helpbg v)\n    set [color v] effect to (0)\n    go to [back v] layer\n    go to x: (0) y: (0)\nend\n\nwhen I start as a clone\nforever\n    if <<(clone#) > [8]> and <(clone#) < [24]>> then\n        if <[worlds v] contains (clone#)?> then\n            if <[worlds v] contains (join (clone#) [Finished])?> then\n                if <not <(clone#) = [12]>> then\n                    switch costume to ((clone#) + (2))\n                else\n                    switch costume to ((clone#) + (1))\n                end\n            else\n                switch costume to (clone#)\n            end\n        else\n            if <not <(clone#) = [12]>> then\n                switch costume to ((clone#) + (1))\n            else\n                switch costume to (clone#)\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\ndelete this clone\nstop [other scripts in sprite v]\nCreate a clone at x: [220] y: [165] clone: [24]\nhide\n\nwhen I start as a clone\nwait until <not <mouse down?>>\nforever\n    go to [front v] layer\n    if <<(clone#) > [8]> and <(clone#) < [24]>> then\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (-5)\n            if <mouse down?> then\n                if <[worlds v] contains (clone#)?> then\n                    if <(clone#) = [12]> then\n                        set [world v] to [1]\n                        set [level v] to [1]\n                    end\n                    if <(clone#) = [14]> then\n                        set [world v] to [2]\n                        set [level v] to [31]\n                    end\n                    if <(clone#) = [17]> then\n                        set [world v] to [3]\n                        set [level v] to [61]\n                    end\n                    if <(clone#) = [20]> then\n                        set [world v] to [4]\n                        set [level v] to [91]\n                    end\n                    broadcast (Music_Stop v)\n                    wait (0.001) seconds\n                    if <(Sounds) = [0]> then\n                        start sound [click_2 v]\n                    end\n                    broadcast (Start v)\n                    broadcast (Music_2 v)\n                    broadcast (Music_3 v)\n                    broadcast (Music_4 v)\n                end\n            end\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen I receive [viewed v]\nhide list [scratchers who played v]\ndelete this clone\nstop [other scripts in sprite v]\nCreate a clone at x: [0] y: [-160] clone: [24]\nforever\n    switch costume to (viewedbg v)\n    set [color v] effect to (0)\n    go to [back v] layer\n    go to x: (0) y: (0)\nend\n\n@Shop\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [help v]\nshow\nforever\n    go to x: (0) y: (0)\n    switch costume to (help v)\nend\n\nwhen I receive [shop v]\ndelete this clone\nset [cloned v] to [No]\nhide\nif <(Screen) = [1]> then\n    switch costume to (1 v)\n    go to x: (-126) y: (60)\n    set [clone# v] to [1]\n    repeat (4)\n        create clone of (_myself_ v)\n        change [clone# v] by (1)\n        next costume\n        change x by (80)\n    end\n    go to x: (-126) y: (16)\n    set [cost# v] to [1]\n    switch costume to (cost1 v)\n    repeat (4)\n        create clone of (_myself_ v)\n        change [cost# v] by (1)\n        next costume\n        change x by (80)\n    end\n    go to x: (-87) y: (-25)\n    switch costume to (5 v)\n    repeat (3)\n        create clone of (_myself_ v)\n        change [clone# v] by (1)\n        next costume\n        change x by (80)\n    end\n    go to x: (-88) y: (-70)\n    switch costume to (cost5 v)\n    repeat (3)\n        create clone of (_myself_ v)\n        change [cost# v] by (1)\n        next costume\n        change x by (80)\n    end\nelse\n    go to x: (-87) y: (60)\n    set [clone# v] to [8]\n    switch costume to (8 v)\n    repeat (3)\n        create clone of (_myself_ v)\n        change [clone# v] by (1)\n        next costume\n        change x by (80)\n    end\n    go to x: (-87) y: (16)\n    set [cost# v] to [8]\n    switch costume to (cost8 v)\n    repeat (3)\n        create clone of (_myself_ v)\n        change [cost# v] by (1)\n        next costume\n        change x by (80)\n    end\n    switch costume to (11 v)\n    go to x: (-88) y: (-25)\n    repeat (2)\n        create clone of (_myself_ v)\n        change [clone# v] by (1)\n        next costume\n        change x by (80)\n    end\n    go to x: (-87) y: (-70)\n    set [cost# v] to [11]\n    switch costume to (cost11 v)\n    repeat (2)\n        create clone of (_myself_ v)\n        change [cost# v] by (1)\n        next costume\n        change x by (80)\n    end\n    set [cloned v] to [Yes]\n    set [clone# v] to [Select]\n    create clone of (_myself_ v)\nend\nshow\nforever\n    switch costume to (hit_in_use v)\n    go to x: (Shop_x) y: (Shop_y)\n    if <touching (mouse-pointer v)?> then\n        change size by [90]\n    else\n        change size by [80]\n    end\n    if <<(Screen) = [1]> and <not <(Shop_x) = [0]>>> then\n        show\n    else\n        hide\n    end\n    switch costume to (in_use v)\nend\n\nwhen I start as a clone\nshow\nforever\n    if <not <(costume [number v]) > [12]>> then\n        switch costume to (clone#)\n        if <<(costume [number v]) = (Player)> and <(Screen) = [1]>> then\n            set [clone_x v] to [0]\n            set [clone_y v] to [0]\n            if <not <(clone#) > [8]>> then\n                set [shop_x v] to (x position)\n                set [shop_y v] to (y position)\n            end\n        end\n        if <<(costume [number v]) = (Player)> and <(Screen) = [2]>> then\n            set [shop_x v] to [0]\n            set [shop_y v] to [0]\n            if <not <(clone#) < [8]>> then\n                set [clone_x v] to (x position)\n                set [clone_y v] to (y position)\n            end\n        end\n        if <touching (mouse-pointer v)?> then\n            change size by [90]\n            if <mouse down?> then\n                if <not <[player v] contains (costume [number v])?>> then\n                    if <(clone#) < [8]> then\n                        if <(Coins) > [19]> then\n                            if <(Sounds) = [0]> then\n                                start sound [Coin v]\n                            end\n                            change [coins v] by (-20)\n                            add (costume [number v]) to [player v]\n                        end\n                    end\n                    if <(clone#) = [8]> then\n                        if <(Coins) > [79]> then\n                            if <(Sounds) = [0]> then\n                                start sound [Coin v]\n                            end\n                            change [coins v] by (-80)\n                            add (costume [number v]) to [player v]\n                        end\n                    end\n                    if <(clone#) = [9]> then\n                        if <(Coins) > [119]> then\n                            if <(Sounds) = [0]> then\n                                start sound [Coin v]\n                            end\n                            change [coins v] by (-120)\n                            add (costume [number v]) to [player v]\n                        end\n                    end\n                    if <(clone#) = [10]> then\n                        if <(Star) > [9]> then\n                            if <(Sounds) = [0]> then\n                                start sound [Coin v]\n                            end\n                            change [star v] by (-10)\n                            add (costume [number v]) to [player v]\n                        end\n                    end\n                    if <(clone#) = [11]> then\n                        if <(Star) > [19]> then\n                            if <(Sounds) = [0]> then\n                                start sound [Coin v]\n                            end\n                            change [star v] by (-20)\n                            add (costume [number v]) to [player v]\n                        end\n                    end\n                else\n                    if <(Sounds) = [0]> then\n                        start sound [click v]\n                    end\n                    set [player v] to (costume [number v])\n                end\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by [80]\n        end\n    end\nend\n\ndefine delete this clone\ndelete this clone\n\ndefine change size by (size)\nchange size by (((size) - (size)) / (4))\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) > [12]> then\n        set size to (80) %\n        if <[player v] contains (cost#)?> then\n            if <not <(cost#) = [1]>> then\n                switch costume to (bought v)\n            else\n                switch costume to (cost1 v)\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(clone#) = [Select]> then\n        switch costume to (hit_in_use v)\n        if <<not <(Clone_x) = [0]>> and <(Screen) = [2]>> then\n            show\n        else\n            hide\n        end\n        go to x: (Clone_x) y: (Clone_y)\n        if <touching (mouse-pointer v)?> then\n            change size by [90]\n        else\n            change size by [80]\n        end\n        switch costume to (in_use v)\n    end\nend\n\n@FrictionPad\n\ndefine create a clone at x: (x) y: (y) clone: (no.)\ngo to x: (x) y: (y)\nswitch costume to (no.)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nif <(Level) = [75]> then\n    create a clone at x: [-120] y: [-110] clone: [1]\n    create a clone at x: [-40] y: [-110] clone: [1]\n    create a clone at x: [40] y: [-110] clone: [1]\n    create a clone at x: [120] y: [-110] clone: [1]\nend\nif <(Level) = [76]> then\n    create a clone at x: [-80] y: [-110] clone: [1]\n    create a clone at x: [-45] y: [-110] clone: [1]\n    create a clone at x: [-10] y: [-110] clone: [1]\n    create a clone at x: [24] y: [-110] clone: [1]\n    create a clone at x: [60] y: [-110] clone: [1]\nend\nif <(Level) = [78]> then\n    create a clone at x: [-45] y: [-110] clone: [1]\n    create a clone at x: [-10] y: [-110] clone: [1]\n    create a clone at x: [24] y: [-110] clone: [1]\nend\nif <(Level) = [80]> then\n    create a clone at x: [-120] y: [-110] clone: [2]\n    create a clone at x: [-40] y: [-110] clone: [2]\n    create a clone at x: [40] y: [-110] clone: [2]\n    create a clone at x: [120] y: [-110] clone: [2]\nend\nif <(Level) = [81]> then\n    create a clone at x: [-120] y: [-110] clone: [2]\n    create a clone at x: [-40] y: [-110] clone: [1]\n    create a clone at x: [40] y: [-110] clone: [2]\n    create a clone at x: [120] y: [-110] clone: [1]\nend\nif <(Level) = [82]> then\n    create a clone at x: [-38] y: [-110] clone: [2]\n    create a clone at x: [-4] y: [-110] clone: [2]\nend\nif <(Level) = [83]> then\n    create a clone at x: [-100] y: [-110] clone: [2]\nend\nif <(Level) = [86]> then\n    create a clone at x: [-120] y: [70] clone: [2]\n    create a clone at x: [-86] y: [70] clone: [2]\n    create a clone at x: [-75] y: [70] clone: [2]\n    create a clone at x: [130] y: [70] clone: [1]\n    create a clone at x: [96] y: [70] clone: [1]\n    create a clone at x: [80] y: [70] clone: [1]\nend\nif <(Level) = [90]> then\n    create a clone at x: [-138] y: [-45] clone: [1]\n    create a clone at x: [-103] y: [-45] clone: [1]\n    create a clone at x: [-68] y: [-45] clone: [1]\n    create a clone at x: [-33] y: [-45] clone: [1]\n    create a clone at x: [2] y: [-45] clone: [1]\n    create a clone at x: [38] y: [-45] clone: [1]\n    create a clone at x: [73] y: [-45] clone: [1]\n    create a clone at x: [108] y: [-45] clone: [1]\n    create a clone at x: [143] y: [-45] clone: [1]\n    create a clone at x: [178] y: [-45] clone: [1]\n    create a clone at x: [213] y: [-45] clone: [1]\n    create a clone at x: [248] y: [-45] clone: [1]\nend\nif <(Level) = [108]> then\n    create a clone at x: [-102] y: [-110] clone: [2]\nend\nif <(Level) = [110]> then\n    create a clone at x: [-42] y: [-110] clone: [1]\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    go to [back v] layer\n    if <touching (player v)?> then\n        set [friction v] to (costume [number v])\n    end\nend\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [menu v]\nstop [other scripts in sprite v]\ndelete this clone\n\n@Music\n\nwhen I receive [menu v]\nif <(Music) = [0]> then\n    set volume to (30) %\nelse\n    set volume to (0) %\nend\nbroadcast (Volume v)\nwait until <(Menu_Music) = [Yes]>\nstop [other scripts in sprite v]\nbroadcast (Volume v)\nset [menu_music v] to [No]\nforever\n    play sound [Menu Music v] until done\n    set [menu_music v] to [Yes]\nend\n\nwhen I receive [start v]\nif <(Music) = [0]> then\n    set volume to (30) %\nelse\n    set volume to (0) %\nend\nset [menu_music v] to [Yes]\nwait until <(World) = [1]>\nforever\n    play sound [Nebula v] until done\nend\n\nwhen I receive [start v]\nwait until <not <(World) = [1]>>\nif <(World) = [2]> then\n    repeat (100)\n        change volume by (-.3)\n    end\n    stop [other scripts in sprite v]\n    broadcast (Music_2 v)\n    wait until <(World) = [2]>\n    if <(Music) = [0]> then\n        set volume to (30) %\n    else\n        set volume to (0) %\n    end\n    forever\n        play sound [World 2 v] until done\n    end\nelse\n    stop [this script v]\nend\n\nwhen I receive [music_stop v]\nstop [other scripts in sprite v]\n\nwhen I receive [music_2 v]\nwait until <not <(World) = [2]>>\nif <(World) = [3]> then\n    repeat (100)\n        change volume by (-.3)\n    end\n    stop [other scripts in sprite v]\n    broadcast (Music_3 v)\n    if <(Music) = [0]> then\n        set volume to (30) %\n    else\n        set volume to (0) %\n    end\n    forever\n        play sound [Tobu - Higher v] until done\n    end\nelse\n    stop [this script v]\nend\n\nwhen I receive [music_3 v]\nwait until <not <(World) = [3]>>\nif <(World) = [4]> then\n    repeat (100)\n        change volume by (-.3)\n    end\n    broadcast (Music_4 v)\n    stop [other scripts in sprite v]\n    if <(Music) = [0]> then\n        set volume to (30) %\n    else\n        set volume to (0) %\n    end\n    forever\n        play sound [Revolt v] until done\n    end\nelse\n    stop [this script v]\nend\n\nwhen I receive [volume v]\nforever\n    if <(Music) = [0]> then\n        set volume to (30) %\n    else\n        set volume to (0) %\n    end\nend\n\nwhen I receive [music_4 v]\nwait until <not <(World) = [4]>>\nif <(World) = [5]> then\n    repeat (100)\n        change volume by (-.3)\n    end\n    stop [other scripts in sprite v]\n    if <(Music) = [0]> then\n        set volume to (30) %\n    else\n        set volume to (0) %\n    end\n    start sound [Win v]\nelse\n    stop [this script v]\nend\n\n@2nd_Platform\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Create A Clone At x: (x) y: (y) clone: (no.)\ngo to x: (x) y: (y)\ngo to [back v] layer\nswitch costume to (no.)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nif <(Level) = [100]> then\n    Create A Clone At x: [5] y: [-66] clone: [1]\nend\nif <(Level) = [101]> then\n    Create A Clone At x: [-60] y: [-74] clone: [1]\n    Create A Clone At x: [30] y: [-15] clone: [1]\nend\nif <(Level) = [103]> then\n    Create A Clone At x: [-68] y: [-60] clone: [1]\n    Create A Clone At x: [0] y: [0] clone: [1]\n    Create A Clone At x: [68] y: [-60] clone: [1]\nend\nif <(Level) = [104]> then\n    Create A Clone At x: [28] y: [-28] clone: [1]\nend\nif <(Level) = [106]> then\n    Create A Clone At x: [-52] y: [-40] clone: [1]\nend\nif <(Level) = [107]> then\n    Create A Clone At x: [-45] y: [-40] clone: [1]\nend\nif <(Level) = [108]> then\n    Create A Clone At x: [18] y: [-14] clone: [1]\nend\nif <(Level) = [110]> then\n    Create A Clone At x: [60] y: [-20] clone: [1]\nend\nif <(Level) = [111]> then\n    Create A Clone At x: [-56] y: [6] clone: [1]\n    Create A Clone At x: [86] y: [6] clone: [1]\nend\nif <(Level) = [112]> then\n    Create A Clone At x: [-76] y: [-30] clone: [2]\n    Create A Clone At x: [18] y: [-56] clone: [2]\n    Create A Clone At x: [106] y: [-30] clone: [2]\nend\nif <(Level) = [116]> then\n    Create A Clone At x: [-9] y: [19] clone: [1]\nend\nif <(Level) = [120]> then\n    Create A Clone At x: [-54] y: [-60] clone: [2]\n    Create A Clone At x: [54] y: [-60] clone: [2]\nend\n\nwhen I start as a clone\nif <(Level) = [120]> then\n    set [*time v] to (pick random (1) to (2))\nelse\n    set [*time v] to (pick random (2) to (3))\nend\nshow\nset [ghost v] effect to (0)\nforever\n    wait (*Time) seconds\n    hide\n    wait (*Time) seconds\n    show\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Detector\n\nwhen flag clicked\nset [faved v] to [0]\nset [loved v] to [0]\nhide\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(Loved) = [1]> and <(Faved) = [1]>>\nchange [coins v] by (50)\nchange [star v] by (8)\nadd [12] to [player v]\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved v] to [1]\n        end\n    end\nend\n\n@Transition\n\nwhen I start as a clone\nswitch costume to (join (Player) [a])\ngo to x: (0) y: (-163)\nshow\nrepeat until <touching color (#ffb98e)?>\n    change y by (11)\nend\nwait (1) seconds\nrepeat until <(y position) < [-162]>\n    change y by (-11)\nend\ndelete this clone\n\nwhen I receive [transition v]\ndelete this clone\nset [transition v] to [Yes]\ngo to [front v] layer\nshow\nswitch costume to (Player)\ngo to x: (0) y: (166)\ncreate clone of (_myself_ v)\nrepeat until <(y position) < [10]>\n    change y by (-11)\nend\nwait (1) seconds\nrepeat until <(y position) > [163]>\n    change y by (11)\nend\nhide\nstop [other scripts in sprite v]\nset [transition v] to [No]\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [start v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [transition v]\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\ndefine delete this clone\ndelete this clone\n\n@Sounds\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\ncreate clone of (_myself_ v)\nshow\nforever\n    if <(Music) = [0]> then\n        switch costume to (music v)\n    else\n        switch costume to (mute v)\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(Sounds) = [0]> then\n        switch costume to (sounds on v)\n    else\n        switch costume to (sounds off v)\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: (220) y: (-161)\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-10)\n        change size by [95]\n        if <mouse down?> then\n            if <(Sounds) = [0]> then\n                start sound [click v]\n            end\n            if <(Sounds) = [0]> then\n                set [sounds v] to [2]\n                wait until <not <mouse down?>>\n            else\n                if <(Sounds) = [2]> then\n                    set [sounds v] to [0]\n                    wait until <not <mouse down?>>\n                end\n            end\n        end\n    else\n        change size by [90]\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [menu v]\nshow\nforever\n    go to x: (188) y: (-161)\n    if <touching (mouse-pointer v)?> then\n        change size by [95]\n        set [brightness v] effect to (-10)\n        if <mouse down?> then\n            if <(Sounds) = [0]> then\n                start sound [click v]\n            end\n            if <(Music) = [0]> then\n                set [music v] to [2]\n                wait until <not <mouse down?>>\n            else\n                if <(Music) = [2]> then\n                    set [music v] to [0]\n                    wait until <not <mouse down?>>\n                end\n            end\n        end\n    else\n        change size by [90]\n        set [brightness v] effect to (0)\n    end\nend\n\ndefine change size by (size)\nchange size by (((size) - (size)) / (4))\n\nwhen flag clicked\nset [sounds v] to [0]\nset [music v] to [0]\n\nwhen I receive [worlds v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [shop v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [viewed v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [help v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [menu v]\nwait until <not <mouse down?>>\nwait (1) seconds\nset [click v] to [Yes]\n\n@Skip\n\nwhen I receive [start v]\nshow\nset size to (0) %\nforever\n    switch costume to ((Skip) + (1))\n    go to x: (195) y: (-158)\n    if <touching (mouse-pointer v)?> then\n        change size by [95]\n        if <<mouse down?> and <(Transition) = [No]>> then\n            if <not <(Skip) < [1]>> then\n                if <(Sounds) = [0]> then\n                    start sound [click v]\n                end\n                set [finish v] to [Yes]\n                change [skip v] by (-1)\n                wait until <not <mouse down?>>\n            end\n        end\n    else\n        change size by [90]\n    end\nend\n\ndefine change size by (size)\nchange size by (((size) - (size)) / (4))\n\nwhen I receive [start v]\nshow\nforever\n    if <not <(Level) = [121]>> then\n        show\n    else\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    if <(clone#) = [1]> then\n        switch costume to (skip v)\n        go to x: (73) y: (-25)\n        if <touching (mouse-pointer v)?> then\n            change size by [90]\n            if <mouse down?> then\n                if <<not <(Skip) > [9]>> and <(Coins) > [4]>> then\n                    if <(Sounds) = [0]> then\n                        start sound [Coin v]\n                    end\n                    change [coins v] by (-5)\n                    change [skip v] by (1)\n                end\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by [80]\n        end\n    end\nend\n\nwhen I receive [shop v]\ndelete this clone\nwait until <(Cloned) = [Yes]>\nif <(Screen) = [2]> then\n    set [clone# v] to [1]\n    create clone of (_myself_ v)\n    set [clone# v] to [2]\n    create clone of (_myself_ v)\nend\nstop [other scripts in sprite v]\n\ndefine delete this clone\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <(clone#) = [2]> then\n        if <(Skip) > [9]> then\n            switch costume to (full v)\n        else\n            switch costume to (cost v)\n        end\n        go to x: (72) y: (-70)\n        change size by [80]\n    end\nend\n\n@Info\n\nwhen flag clicked\nhide\n\nwhen I receive [info v]\ndelete this clone\nset [mode v] to [Show]\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nrepeat until <(y position) < [-234]>\n    change y by (-10)\nend\nhide\nstop [other scripts in sprite v]\nset [mode v] to [Hide]\nstop [this script v]\n\nwhen I receive [info v]\ngo to x: (0) y: (0)\nif <(Level) = [1]> then\n    switch costume to (world1 v)\nend\nif <(Level) = [31]> then\n    switch costume to (world2 v)\nend\nif <(Level) = [61]> then\n    switch costume to (world3 v)\nend\nif <(Level) = [91]> then\n    switch costume to (world4 v)\nend\nif <(Level) = [121]> then\n    switch costume to (world v)\nend\nshow\nforever\n    set [ghost v] effect to (20)\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: (0) y: (0)\n    switch costume to (background v)\n    set [ghost v] effect to (20)\n    go to [front v] layer\n    go [backward v] (2) layers\n    if <(Mode) = [Hide]> then\n        delete this clone\n    end\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\nset [mode v] to [Hide]\ndelete all of [infogiven v]\n\nwhen I receive [start v]\nhide\nif <(Level) = [1]> then\n    if <not <[infogiven v] contains [World1]?>> then\n        broadcast (Info v)\n        switch costume to (world1 v)\n        add [World1] to [infogiven v]\n    end\nend\nif <(Level) = [31]> then\n    if <not <[infogiven v] contains [World2]?>> then\n        broadcast (Info v)\n        switch costume to (world2 v)\n        add [World2] to [infogiven v]\n    end\nend\nif <(Level) = [61]> then\n    if <not <[infogiven v] contains [World3]?>> then\n        broadcast (Info v)\n        switch costume to (world3 v)\n        add [World3] to [infogiven v]\n    end\nend\nif <(Level) = [91]> then\n    if <not <[infogiven v] contains [World4]?>> then\n        broadcast (Info v)\n        switch costume to (world4 v)\n        add (costume [name v]) to [infogiven v]\n    end\nend\nif <(Level) = [121]> then\n    broadcast (Info v)\n    switch costume to (world v)\nend\n\ndefine delete this clone\ndelete this clone\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\nend\n\n