Notebook 3 || Platformer (Finished)
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [play scene v]\nswitch backdrop to (page2 v)\n\nwhen I receive [intro done v]\nswitch backdrop to (page3 v)\n\n@Blank\n\n@Intro\n\nwhen flag clicked\nset [id v] to [1]\ncreate clone of (_myself_ v)\nset [id v] to [2]\ncreate clone of (_myself_ v)\nset [id v] to [3]\ncreate clone of (_myself_ v)\nset [id v] to [4]\ncreate clone of (_myself_ v)\nstart sound [Never Mind v]\nswitch costume to (1 v)\nshow\ngo to x: (0) y: (0)\npoint in direction (-90)\nset size to (300) %\nset [sine v] to [30]\nrepeat (40)\n    change size by (((100) - (size)) * (1))\n    turn right (((90) - (direction)) * (0.18)) degrees\nend\nset [glide v] to [7]\nrepeat (20)\n    change y by ((glide) - (1))\n    change [glide v] by (-0.34)\nend\nwait (5.8) seconds\nhide\n\nwhen I start as a clone\nif <(id) = [1]> then\n    clear graphic effects\n    show\n    go to x: (0) y: (0)\n    point in direction (90)\n    set size to (100) %\n    switch costume to (bg v)\nelse\n    if <(id) = [2]> then\n        id 2\n    else\n        if <(id) = [3]> then\n            id 3\n        else\n            id 4\n        end\n    end\nend\n\ndefine id 2\ngo to x: (0) y: (0)\nswitch costume to (dot2 v)\nhide\nclear graphic effects\ngo to [front v] layer\nwait (7) seconds\nshow\nset size to (0.5) %\nset [vel v] to [1]\nswitch costume to (dot v)\nrepeat (50)\n    switch costume to (dot2 v)\n    change [vel v] by ((size) / (50))\n    change size by (vel)\n    switch costume to (dot v)\nend\nbroadcast (Play Scene v)\n\nbroadcast (Intro Done v)\n\nwhen I receive [play scene v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\ndefine id 3\ngo to x: (0) y: (0)\nswitch costume to (dot2 v)\nhide\nclear graphic effects\ngo to [front v] layer\nwait (7.2) seconds\nshow\nset size to (0.5) %\nset [vel v] to [1]\nswitch costume to (dot v)\nrepeat (50)\n    switch costume to (dot2 v)\n    change [vel v] by ((size) / (50))\n    change size by (vel)\n    switch costume to (smaller dot v)\nend\n\ndefine id 4\ngo to x: (0) y: (0)\nswitch costume to (dot2 v)\nhide\nclear graphic effects\ngo to [front v] layer\nwait (7.4) seconds\nshow\nset size to (0.5) %\nset [vel v] to [1]\nswitch costume to (dot v)\nrepeat (50)\n    switch costume to (dot2 v)\n    change [vel v] by ((size) / (50))\n    change size by (vel)\n    switch costume to (crazy dot v)\n    turn left (1) degrees\nend\n\n@text\n\nwhen flag clicked\nhide\ngo to [front v] layer\nwait (2.4) seconds\ngo to x: (0) y: (-60)\nset size to (100) %\nset [ghost v] effect to (100)\nshow\nset [rotation v] to [-10]\nrepeat (70)\n    change [ghost v] effect by (rotation)\n    change [rotation v] by (-1)\n    wait (0.01) seconds\nend\nset [ghost v] effect to (0)\n\nwhen I receive [message1 v]\nhide\n\nwhen I receive [play scene v]\nhide\n\n@Player\n\nwhen flag clicked\nforever\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(DOUBLEJUMP) = [2]>> then\n        wait until <not <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>>\n        repeat until <(DOUBLEJUMP) = [1]>\n            if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(DOUBLEJUMP) = [2]>> then\n                if <(PURPLE?) = [1]> then\n                    if <(size) = [100]> then\n                        set [y velocity v] to [12]\n                        set [doublejump v] to [1]\n                    else\n                        set [y velocity v] to [9.99]\n                        set [doublejump v] to [1]\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (-221) y: (-113)\nset volume to (50) %\nset [left? v] to [0]\nset [right? v] to [0]\nset [level v] to [1]\nhide\n\ndefine Platformer Physics (speed) (friction) (jump height)\nif <not <touching (water v)?>> then\n    change [y velocity v] by (-1)\nend\nif <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> and <<not <(Right?) = [1]>> or <not <(Left?) = [1]>>>> then\n    change [x velocity v] by (speed)\nend\nif <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> and <<not <(Right?) = [1]>> or <not <(Left?) = [1]>>>> then\n    change [x velocity v] by ((0) - (speed))\nend\nset [x velocity v] to ((X Velocity) * (Times))\nchange x by (X Velocity)\nset [slope v] to [0]\nif <<touching (level v)?> or <<touching (purple blocks v)?> or >> then\n    repeat until <<not <<touching (level v)?> or <<touching (purple blocks v)?> or >>> or <(Slope) = [-8]>>\n        change [slope v] by (-1)\n        change y by (1)\n    end\nend\nif <<touching (level v)?> or <<touching (purple blocks v)?> or >> then\n    change y by (Slope)\n    repeat until <not <<touching (level v)?> or <<touching (purple blocks v)?> or >>>\n        change x by ((0) - (([abs v] of (X Velocity) ) / (X Velocity)))\n    end\n    set [x velocity v] to [0]\nend\nchange y by (Y Velocity)\nif <<touching (level v)?> or <<touching (purple blocks v)?> or >> then\n    repeat until <not <<touching (level v)?> or <<touching (purple blocks v)?> or >>>\n        change y by ((([abs v] of (Y Velocity) ) / (Y Velocity)) * (-1))\n        set [doublejump v] to [1]\n    end\n    set [y velocity v] to [0]\nend\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <<touching (level v)?> or <<touching (purple blocks v)?> or >>> then\n    set [doublejump v] to [2]\n    if <not <touching (water v)?>> then\n        set [y velocity v] to (jump height)\n    end\nend\nif <touching (level v)?> then\n    set [level? v] to [1]\nelse\n    set [level? v] to [0]\nend\nif <(size) = [100]> then\n    if <touching (ice levels v)?> then\n        set [times v] to [0.899]\n    else\n        set [times v] to [0.798]\n    end\nelse\n    if <touching (ice levels v)?> then\n        set [times v] to [0.85]\n    else\n        set [times v] to [0.79]\n    end\nend\nchange y by (1)\nif <touching color (#af3afd)?> then\n    set [purple? v] to [1]\nend\nif <touching color (#e2a146)?> then\n    set [purple? v] to [0]\nend\n\ndefine Detection\nif <touching (flag v)?> then\n    broadcast (Next v)\n    start sound [Ding Sound Effect v]\n    set [level v] to ((Level) + (1))\n    set [x velocity v] to [0]\n    set [y velocity v] to [0]\n    set [left? v] to [0]\n    set [right? v] to [0]\n    go to x: (-221) y: (-113)\nend\nif <<<<<touching (danger v)?> or <touching (bullet v)?>> or <<touching (saws v)?> or >> or <(y position) = [-179]>> and <not <(CHEAT2) = [1]>>> then\n    broadcast (RESET PURPLE v)\n    set [purple? v] to [0]\n    set [right? v] to [0]\n    start sound [Oops v]\n    repeat (3)\n        hide\n        wait (0.11) seconds\n        show\n        wait (0.11) seconds\n    end\n    hide\n    wait (0.11) seconds\n    show\n    set size to (100) %\n    go to x: (-221) y: (-113)\n    set [x velocity v] to [0]\n    set [y velocity v] to [0]\nend\nif <touching (bouncy v)?> then\n    start sound [Big Boing v]\n    if <(size) = [100]> then\n        set [y velocity v] to [16]\n    else\n        set [y velocity v] to [14]\n    end\nend\nif <touching color (#ff3b3b)?> then\n    set size to (70) %\nend\nif <touching color (#56bf50)?> then\n    set size to (100) %\nend\n\nwhen I receive [intro done v]\nset size to (100) %\nset [cheat2 v] to [0]\nwait (0.1) seconds\nshow\ngo [forward v] (88) layers\ngo to x: (-221) y: (-113)\nset [level v] to [1]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nset [doublejump v] to [1]\nset [purple? v] to [0]\nforever\n    if <touching (activate v)?> then\n        Platformer Physics [2] [0.8] [16]\n        Detection\n    else\n        if <(size) = [70]> then\n            Platformer Physics [2] [0.79] [9.99]\n            Detection\n        else\n            if <(size) = [100]> then\n                Platformer Physics [1.92] [0.798] [12.4]\n                Detection\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    Cheats Menu\n    set [x2 v] to (round (x position))\n    set [y2 v] to (round (y position))\nend\n\ndefine Cheats Menu\nset drag mode [not draggable v]\nif <<<key (1 v) pressed?> and <<(username) = [250119code2]> or <(username) = [-Scrumptious-]>>> and <not <(CHEAT2) = [1]>>> then\n    set [cheat2 v] to [1]\n    wait (1) seconds\nelse\n    if <<key (1 v) pressed?> and <(CHEAT2) = [1]>> then\n        set [cheat2 v] to [0]\n        wait (1) seconds\n    end\nend\nif <<key (up arrow v) pressed?> and <(CHEAT2) = [1]>> then\n    set [y velocity v] to [7]\nend\nif <<key (down arrow v) pressed?> and <(CHEAT2) = [1]>> then\n    set [y velocity v] to [-8]\nend\n\nset [right? v] to [0]\n\ndelete this clone\n\nwhen I receive [transition v]\n\nchange y by (1)\n\nbroadcast (Intro Done v)\n\ngo to x: (-221) y: (-113)\n\nwhen flag clicked\nforever\n    if <touching (water v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (0.8)\n        end\n        if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n            change [y velocity v] by (-0.8)\n        end\n        if <touching (water v)?> then\n            if <not <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>>> then\n                change [y velocity v] by (-0.2)\n            end\n        end\n    end\nend\n\n@Level\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [intro done v]\nshow\n\n@Danger\n\nwhen flag clicked\nhide\n\ngo to [back v] layer\n\nwhen I receive [intro done v]\nshow\nforever\n    switch costume to (Level)\n    go [backward v] (1) layers\nend\n\n@Text\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\nclear graphic effects\nforever\n    switch costume to (Level)\n    if <touching (player v)?> then\n        set [ghost v] effect to (45)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [intro done v]\nshow\n\n@Bouncy\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Flag\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@Turret\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nhide\nwait until <(Level) = [9]>\npoint in direction (180)\ngo to x: (75) y: (123)\nshow\nrepeat until <not <(Level) = [9]>>\n    create clone of (bullet v)\n    wait (1.5) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait until <(Level) = [10]>\nforever\n    point towards (player v)\n    if <not <(Level) = [10]>> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [intro done v]\nhide\nwait until <(Level) = [10]>\npoint in direction (180)\ngo to x: (207) y: (140)\nshow\nrepeat until <not <(Level) = [10]>>\n    create clone of (bullet v)\n    wait (2) seconds\nend\n\nwhen I receive [intro done v]\nhide\nwait until <(Level) = [11]>\npoint in direction (180)\ngo to x: (-207) y: (140)\nshow\nrepeat until <not <(Level) = [11]>>\n    create clone of (bullet v)\n    wait (3) seconds\nend\npoint in direction (-90)\n\nwhen flag clicked\nwait until <(Level) = [11]>\nforever\n    point towards (player v)\n    if <not <(Level) = [11]>> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [intro done v]\nhide\nwait until <(Level) = [12]>\npoint in direction (-90)\ngo to x: (207) y: (140)\nshow\nrepeat until <not <(Level) = [12]>>\n    create clone of (bullet v)\n    wait (3) seconds\nend\n\nwhen I receive [intro done v]\nwait until <(Level) = [14]>\nhide\n\nwhen I receive [intro done v]\nhide\nwait until <(Level) = [13]>\ngo to x: (195) y: (110)\npoint towards (player v)\nshow\nrepeat until <not <(Level) = [13]>>\n    create clone of (bullet v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nwait until <(Level) = [13]>\nforever\n    point towards (player v)\n    if <not <(Level) = [13]>> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait until <(Level) = [15]>\nforever\n    point towards (player v)\n    if <not <(Level) = [15]>> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [intro done v]\nhide\nwait until <(Level) = [15]>\ngo to x: (153) y: (132)\npoint towards (player v)\nshow\nrepeat until <not <(Level) = [15]>>\n    create clone of (bullet v)\n    wait (2) seconds\nend\nhide\n\nwhen I receive [intro done v]\nhide\nwait until <(Level) = [18]>\ngo to x: (206) y: (141)\npoint towards (player v)\nshow\nrepeat until <not <(Level) = [18]>>\n    create clone of (bullet v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nwait until <(Level) = [18]>\nforever\n    point towards (player v)\n    if <not <(Level) = [18]>> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nwait until <(Level) = [19]>\nhide\n\n@Bullet\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\ngo to [back v] layer\ngo to (turret v)\npoint in direction ([direction v] of [turret v])\nrepeat until <<<touching (player v)?> or <touching (level v)?>> or <<touching (_edge_ v)?> or <<touching (purple blocks v)?> or <<touching (danger v)?> or <<touching (saws v)?> or <<touching (ice levels v)?> or >>>>>>\n    move (4.5) steps\nend\ndelete this clone\n\ndefine sa-pause\n\n@Activate\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@Small\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    go to [back v] layer\n    switch costume to (Level)\nend\n\nwhen I receive [intro done v]\nshow\nshow\n\n@TN\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@Normal\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    go to [back v] layer\n    switch costume to (Level)\nend\n\nwhen I receive [intro done v]\nshow\nshow\n\n@Saws\n\nwhen flag clicked\nhide\n\ndefine Clone At X: (x) (y) At Size: (size)\nset size to (size) %\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [next v]\nif  then\n    delete this clone\nend\nif <(Level) = [13]> then\n    Clone At X: [147] [-90] At Size: [80]\n    Clone At X: [71] [38] At Size: [80]\nend\nif <(Level) = [14]> then\n    Clone At X: [-1] [120] At Size: [80]\nend\nif <(Level) = [15]> then\n    Clone At X: [153] [45] At Size: [80]\nend\nif <(Level) = [16]> then\n    Clone At X: [90] [130] At Size: [80]\n    Clone At X: [120] [-115] At Size: [60]\nend\nif <(Level) = [17]> then\n    Clone At X: [165] [-119] At Size: [80]\nend\nif <(Level) = [18]> then\n    Clone At X: [-50] [40] At Size: [70]\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nforever\n    turn right (4) degrees\nend\n\nbroadcast (Next v)\n\nbroadcast (Next v)\n\nbroadcast (Next v)\n\n@Transition\n\nwhen I receive [transition v]\nshow\ngo to [front v] layer\ngo to [front v] layer\nwait (0.8) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nclear graphic effects\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n@Skip\n\nwhen flag clicked\nwait until <(Level) = [21]>\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\ngo to x: (169) y: (-160)\nswitch costume to (costume1 v)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [intro done v]\nwait (0.8) seconds\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [intro done v]\nwait until <(Level) = [21]>\nhide\n\nwhen [s v] key pressed\nbroadcast (Transition v)\nbroadcast (Next v)\nchange [level v] by (1)\n\n@title screen\n\nwhen flag clicked\nset [in v] to [0]\nhide\n\nwhen I receive [in v]\nset [in v] to [1]\nshow\nclear graphic effects\nset size to (10) %\ngo to [front v] layer\nrepeat (20)\n    change size by (((100) - (size)) / (5))\nend\nwait until <<mouse down?> and <touching (mouse-pointer v)?>>\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nset [in v] to [0]\n\n@Text2\n\nwhen flag clicked\nset [screen v] to [0]\nhide\n\nwhen I receive [play scene v]\nset [screen v] to [1]\nwait (0.1) seconds\nshow\ngo [forward v] (9) layers\nforever\n    point in direction ((90) + (([sin v] of ((titleturn) * (5)) ) * (1.5)))\n    if <(SCREEN) = [1]> then\n        change [titleturn v] by (1)\n    end\n    if <(SCREEN) = [1]> then\n        show\n    else\n        hide\n    end\n    if <(SCREEN) = [0]> then\n        go [backward v] (6) layers\n    end\nend\n\n@Play Button\n\nwhen I receive [play scene v]\nshow\nwait until <<<touching (mouse-pointer v)?> and <mouse down?>> and <not <(IN) = [1]>>>\nset [screen v] to [0]\nbroadcast (Transition v)\nbroadcast (Intro Done v)\nbroadcast (st v)\n\nwhen I receive [play scene v]\nforever\n    if <touching (mouse-pointer v)?> then\n        if <<(SCREEN) = [1]> and <not <(IN) = [1]>>> then\n            set volume to (70) %\n            start sound [Touch v]\n            wait until <not <touching (mouse-pointer v)?>>\n        end\n    end\nend\n\nwhen flag clicked\nset [screen v] to [1]\nhide\n\nwhen I receive [play scene v]\nshow\nforever\n    point in direction ((90) + (([sin v] of ((titleturn) * (5)) ) * (1.5)))\n    if <(SCREEN) = [1]> then\n        show\n    else\n        hide\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((80) - (size)) / (5))\n        set [brightness v] effect to (30)\n    else\n        change size by (((75) - (size)) / (5))\n        set [brightness v] effect to (0)\n    end\nend\n\n@instructions\n\nwhen I receive [play scene v]\nforever\n    if <touching (mouse-pointer v)?> then\n        if <<(SCREEN) = [1]> and <not <(IN) = [1]>>> then\n            set volume to (70) %\n            start sound [Touch v]\n            wait until <not <touching (mouse-pointer v)?>>\n        end\n    end\nend\n\nwhen flag clicked\nset [screen v] to [1]\nhide\n\nwhen I receive [play scene v]\nshow\nforever\n    point in direction ((90) + (([sin v] of ((titleturn) * (5)) ) * (1.5)))\n    if <(SCREEN) = [1]> then\n        show\n    else\n        hide\n    end\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (30)\n        change size by (((80) - (size)) / (5))\n        if <<<mouse down?> and <not <(IN) = [1]>>> and <(SCREEN) = [1]>> then\n            broadcast (in v)\n        end\n    else\n        change size by (((75) - (size)) / (5))\n        set [brightness v] effect to (0)\n    end\nend\n\n@Tracker\n\nwhen flag clicked\nset [screen v] to [1]\nhide\n\nwhen I receive [play scene v]\ngo to [back v] layer\nshow\nforever\n    if <(SCREEN) = [1]> then\n        go to x: (-25) y: (-40)\n    else\n        go to x: (-215) y: (-156)\n    end\nend\n\nwhen I receive [play scene v]\nforever\n    if <touching (mouse-pointer v)?> then\n        if <not <(IN) = [1]>> then\n            set volume to (70) %\n            start sound [Touch v]\n            wait until <not <touching (mouse-pointer v)?>>\n        end\n    end\nend\n\nwhen flag clicked\nwait until <(Level) = [15]>\nhide\n\n@Purple Blocks\n\nwhen flag clicked\nhide\n\ndefine Clone At X: (x) (y) At Size: (size)\nset size to (size) %\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [next v]\nif  then\n    delete this clone\nend\nif <(Level) = [4]> then\n    Clone At X: [34] [26] At Size: [80]\n    Clone At X: [125] [57] At Size: [80]\nend\nif <(Level) = [5]> then\n    Clone At X: [-130] [-74] At Size: [80]\n    Clone At X: [-19] [-2] At Size: [80]\n    Clone At X: [204] [-113] At Size: [80]\nend\nif <(Level) = [6]> then\n    Clone At X: [-123] [60] At Size: [80]\nend\nif <(Level) = [7]> then\n    Clone At X: [-95] [80] At Size: [80]\n    Clone At X: [-17] [132] At Size: [80]\nend\nif <(Level) = [9]> then\n    Clone At X: [141] [-125] At Size: [80]\n    Clone At X: [141] [20] At Size: [80]\nend\nif <(Level) = [10]> then\n    Clone At X: [68] [-15] At Size: [80]\nend\nif <(Level) = [11]> then\n    Clone At X: [226] [-8] At Size: [80]\n    Clone At X: [96] [120] At Size: [80]\n    Clone At X: [220] [100] At Size: [80]\nend\nif <(Level) = [12]> then\n    Clone At X: [-107] [95] At Size: [80]\n    Clone At X: [108] [-10] At Size: [80]\nend\nif <(Level) = [13]> then\n    Clone At X: [142] [30] At Size: [80]\nend\nif <(Level) = [14]> then\n    Clone At X: [-226] [-15] At Size: [80]\n    Clone At X: [178] [-60] At Size: [80]\nend\nif <(Level) = [18]> then\n    Clone At X: [93] [10] At Size: [80]\n    Clone At X: [-180] [121] At Size: [80]\n    Clone At X: [-55] [135] At Size: [80]\nend\n\nwhen I start as a clone\n\nwhen [m v] key pressed\nset [mx v] to (mouse x)\nset [my v] to (mouse y)\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\nforever\n    change y by (3)\n    if <touching (player v)?> then\n        wait (0.2) seconds\n        show\n        repeat (10)\n            change [ghost v] effect by (19)\n            change y by (-5)\n        end\n        hide\n        delete this clone\n    end\n    change y by (-3)\nend\n\nwhen I receive [reset purple v]\nif  then\n    delete this clone\nend\nif <(Level) = [4]> then\n    Clone At X: [34] [26] At Size: [80]\n    Clone At X: [125] [57] At Size: [80]\nend\nif <(Level) = [5]> then\n    Clone At X: [-130] [-74] At Size: [80]\n    Clone At X: [-19] [-2] At Size: [80]\n    Clone At X: [204] [-113] At Size: [80]\nend\nif <(Level) = [6]> then\n    Clone At X: [-123] [60] At Size: [80]\nend\nif <(Level) = [7]> then\n    Clone At X: [-95] [80] At Size: [80]\n    Clone At X: [-17] [132] At Size: [80]\nend\nif <(Level) = [9]> then\n    Clone At X: [141] [-125] At Size: [80]\n    Clone At X: [141] [20] At Size: [80]\nend\nif <(Level) = [10]> then\n    Clone At X: [68] [-15] At Size: [80]\nend\nif <(Level) = [11]> then\n    Clone At X: [226] [-8] At Size: [80]\n    Clone At X: [96] [120] At Size: [80]\n    Clone At X: [220] [100] At Size: [80]\nend\nif <(Level) = [12]> then\n    Clone At X: [-107] [95] At Size: [80]\n    Clone At X: [108] [-10] At Size: [80]\nend\nif <(Level) = [13]> then\n    Clone At X: [142] [30] At Size: [80]\nend\nif <(Level) = [14]> then\n    Clone At X: [-226] [-15] At Size: [80]\n    Clone At X: [178] [-60] At Size: [80]\nend\nif <(Level) = [18]> then\n    Clone At X: [93] [10] At Size: [80]\n    Clone At X: [-180] [121] At Size: [80]\n    Clone At X: [-55] [135] At Size: [80]\nend\n\n@Double Jumper\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    go to [back v] layer\n    switch costume to (Level)\nend\n\nwhen I receive [intro done v]\nshow\nshow\n\n@Normal Jumper\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    go to [back v] layer\n    switch costume to (Level)\nend\n\nwhen I receive [intro done v]\nshow\nshow\n\n@Ice Levels\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Level)\n    go to x: (0) y: (0)\nend\n\nwhen I receive [intro done v]\nshow\n\n@Liquid Fire\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\nforever\n    switch costume to (Level)\n    go to [back v] layer\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\nset y to (([sin v] of ((timer) * (100)) ) * (5))\n\n@Water\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Level)\n    go to x: (0) y: (0)\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\n    set [ghost v] effect to (30)\n    go to [back v] layer\nend\n\nwhen I receive [intro done v]\nshow\n\n@Music\n\nwhen flag clicked\nwait until <(Level) = [19]>\nhide\n\nwhen I receive [intro done v]\nwait (2) seconds\nforever\n    play sound [DJVI - Cycles v] until done\nend\n\nwhen this sprite clicked\nif <(volume) = [50]> then\n    switch costume to (costume2 v)\n    set volume to (0) %\nelse\n    switch costume to (costume1 v)\n    set volume to (50) %\nend\n\nwhen I receive [play scene v]\nset volume to (50) %\nshow\nswitch costume to (costume1 v)\nforever\n    point in direction ((90) + (([sin v] of ((titleturn) * (5)) ) * (1.5)))\n    if <(SCREEN) = [1]> then\n        go to x: (-25) y: (-40)\n    else\n        go to x: (-215) y: (-156)\n    end\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (30)\n        change size by (((80) - (size)) / (5))\n    else\n        change size by (((75) - (size)) / (5))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset [screen v] to [1]\nhide\nset volume to (50) %\n\n