Minecraft platformer 2 #all #games 


@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [intro done v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    if <(username) = [250119code2]> then\nend\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)\nbroadcast (Setup v)\n\nbroadcast (Intro Done v)\n\nwhen I receive [setup 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 [setup v]\nhide\n\n@Cutscene\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [play scene v]\nstart sound [Kevin MacLeod Sneaky Snitch v]\nswitch costume to (1 v)\nshow\nwait until <<key (space v) pressed?> or <mouse down?>>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nnext costume\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nwait until <<key (space v) pressed?> or <mouse down?>>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nnext costume\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nwait until <<key (space v) pressed?> or <mouse down?>>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nnext costume\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nwait until <<key (space v) pressed?> or <mouse down?>>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nnext costume\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait until <not <<key (space v) pressed?> or <mouse down?>>>\nwait (1) seconds\nbroadcast (Intro Done v)\n\nwhen I receive [intro done v]\nstop all sounds\nhide\n\nbroadcast (Intro Done v)\n\nwhen flag clicked\nforever\n    if <(username) = [250119code2]> then\nend\n\n@Player\n\nwhen flag clicked\nset volume to (50) %\nset [level v] to [1]\nset [deaths v] to [0]\nhide\n\ndefine Platformer Physics (speed) (friction) (jump height)\nchange [y velocity v] by (-1)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> 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)>>> then\n    change [x velocity v] by ((0) - (speed))\nend\nset [x velocity v] to ((X Velocity) * (friction))\nchange x by (X Velocity)\nset [slope v] to [0]\nif <<touching (level v)?> or <touching (locked v)?>> then\n    repeat until <<not <<touching (level v)?> or <touching (locked v)?>>> or <(Slope) = [-8]>>\n        change [slope v] by (-1)\n        change y by (1)\n    end\nend\nif <<touching (level v)?> or <touching (locked v)?>> then\n    change y by (Slope)\n    repeat until <not <<touching (level v)?> or <touching (locked v)?>>>\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 (locked v)?>> then\n    repeat until <not <<touching (level v)?> or <touching (locked v)?>>>\n        change y by ((([abs v] of (Y Velocity) ) / (Y Velocity)) * (-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 (locked v)?>>> then\n    set [y velocity v] to (jump height)\nend\nchange y by (1)\nif <touching (water blue v)?> then\n    set [y velocity v] to [-1]\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [y velocity v] to [5]\n    end\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        set [y velocity v] to [-5]\n    end\nend\n\ndefine Detection\nif <<(x position) = [244]> and <not <(Level) = [21]>>> 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    go to x: (-215) y: (-70)\nend\nif <<<<<touching (danger v)?> or <touching (lava v)?>> or <<touching color (#ff6969)?> or <touching (saws v)?>>> or > and <not <(CHEAT) = [1]>>> then\n    if <<<(Level) = [4]> or <<(Level) = [5]> or <(Level) = [7]>>> or <<(Level) = [10]> or <<(Level) = [11]> or <<(Level) = [12]> or <<(Level) = [13]> or <(Level) = [15]>>>>>> then\n        broadcast (Reset v)\n    end\n    if <(Level) = [16]> then\n    else\n        start sound [Oops v]\n    end\n    set [deaths v] to ((DEATHS) + (1))\n    create clone of (_myself_ v)\n    point in direction (90)\n    go to x: (-215) y: (-70)\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    set [y velocity v] to [18]\nend\nif <touching (trampolines v)?> then\n    set [y velocity v] to [16]\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    point in direction (-90)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    point in direction (90)\nend\nset rotation style [left-right v]\n\nrepeat (3)\n    hide\n    wait (0.11) seconds\n    show\n    wait (0.11) seconds\nend\nhide\nwait (0.11) seconds\nshow\n\nwhen I receive [intro done v]\npoint in direction (90)\nset size to (100) %\nset [cheat v] to [0]\nwait (0.1) seconds\ngo to [back v] layer\nshow\nswitch costume to (player v)\ngo to x: (-215) y: (-78)\nset rotation style [left-right v]\ngo to [back v] layer\nset [level v] to [1]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    Platformer Physics [2] [0.8] [12.5]\n    Detection\nend\n\nwhen flag clicked\nforever\n    Cheats Menu\nend\n\ndefine Cheats Menu\nif <<<key (1 v) pressed?> and <<(username) = [250119code2]> or <(username) = [250119test2]>>> and <not <(CHEAT) = [1]>>> then\n    set [cheat v] to [1]\n    wait (0.3) seconds\nelse\n    if <<key (1 v) pressed?> and <(CHEAT) = [1]>> then\n        set [cheat v] to [0]\n        wait (0.3) seconds\n    end\nend\nif <<key (up arrow v) pressed?> and <(CHEAT) = [1]>> then\n    set [y velocity v] to [8]\nend\nif <<key (down arrow v) pressed?> and <(CHEAT) = [1]>> then\n    set [y velocity v] to [-6]\nend\n\nwhen flag clicked\nforever\n    set [x v] to (round (x position))\n    set [y v] to (round (y position))\nend\n\nwhen I receive [restart v]\nstart sound [Oops v]\nset [deaths v] to ((DEATHS) + (1))\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-215) y: (-70)\n\nwhen I receive [transition v]\npoint in direction (90)\ngo to x: (-215) y: (-70)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\n\nwhen flag clicked\nwait until <(Level) = [7]>\ngo to x: (-215) y: (-56)\n\nwhen I start as a clone\nclear graphic effects\npoint in direction (90)\nset rotation style [all around v]\nrepeat (10)\n    change y by (6)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nforever\n    if <(username) = [250119code2]> then\nend\n\nwhen flag clicked\nforever\n    if <(username) = [250119code2]> then\nend\n\nchange [level v] by (-1)\n\nwhen I receive [animation start v]\nhide\n\n@Level\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\ngo [backward v] (999) layers\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [animation start v]\nhide\n\n@Decoration\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nforever\n    switch costume to (Level)\n    go to [back v] layer\nend\n\nwhen I receive [animation start v]\nhide\n\n@Danger\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\ngo to [back v] layer\ngo to [back v] layer\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [animation start v]\nhide\n\n@Lava\n\nwhen I start as a clone\ngo [backward v] (1) layers\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [intro done v]\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nforever\n    go [backward v] (3) layers\n    switch costume to (Level)\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\nwhen I receive [animation start v]\nhide\n\n@Text\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nforever\n    go to [back v] layer\n    switch costume to (Level)\n    if <touching (player v)?> then\n        set [ghost v] effect to (40)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [animation start v]\nhide\n\n@Level Shading\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\ngo to x: (0) y: (0)\nshow\nshow\nforever\n    go [backward v] (99) layers\n    set [ghost v] effect to (80)\n    switch costume to (Level)\nend\n\nwhen I receive [animation start v]\nhide\n\n@Locked\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait until <(Level) = [4]>\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nswitch costume to (locked v)\n\nwhen I receive [reset v]\nshow\nset [ghost v] effect to (0)\n\nwhen I receive [open v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nwait until <(Level) = [6]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [7]>\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nswitch costume to (locked3 v)\n\nwhen flag clicked\nwait until <(Level) = [10]>\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nswitch costume to (locked4 v)\n\nwhen flag clicked\nwait until <(Level) = [11]>\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nswitch costume to (locked5 v)\n\nwhen flag clicked\nwait until <(Level) = [5]>\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nswitch costume to (locked2 v)\n\nwhen flag clicked\nwait until <(Level) = [12]>\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nswitch costume to (locked6 v)\n\nwhen flag clicked\nwait until <(Level) = [13]>\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nswitch costume to (locked7 v)\n\nwhen flag clicked\nwait until <(Level) = [15]>\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nswitch costume to (locked8 v)\n\nwhen flag clicked\nrepeat (2)\n    hide\nend\n\nwhen I receive [animation start v]\nhide\n\n@Trampolines\n\nwhen flag clicked\nhide\n\ndefine Clone at X: (x) (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\ngo to [back v] layer\npoint in direction (90)\n\nwhen I start as a clone\nshow\nswitch costume to (costume1 v)\nclear graphic effects\nforever\n    if <touching (player v)?> then\n        set volume to (50) %\n        start sound [Big Boing v]\n        repeat (4)\n            next costume\n        end\n        repeat (4)\n            switch costume to ((costume [number v]) - (1))\n        end\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [next v]\nif  then\n    delete this clone\nend\nif <(Level) = [4]> then\n    Clone at X: [176] [-71]\nend\nif <(Level) = [5]> then\n    Clone at X: [-143] [-71]\nend\nif <(Level) = [6]> then\n    Clone at X: [-135] [-71]\nend\nif <(Level) = [7]> then\n    Clone at X: [45] [48]\nend\nif <(Level) = [9]> then\n    Clone at X: [33] [23]\nend\nif <(Level) = [10]> then\n    Clone at X: [-55] [-74]\nend\nif <(Level) = [11]> then\n    Clone at X: [-23] [-65]\nend\nif <(Level) = [12]> then\n    Clone at X: [9] [-62]\nend\nif <(Level) = [14]> then\n    Clone at X: [-63] [-65]\n    Clone at X: [-70] [92]\nend\nif <(Level) = [15]> then\n    Clone at X: [185] [10]\nend\n\nif <(Level) = [24]> then\n    Clone at X: [33] [25]\nend\n\nbroadcast (Next v)\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@Key\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [intro done v]\nswitch costume to (costume1 v)\nhide\nwait until <(Level) = [4]>\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nhide\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\nwhen I receive [reset v]\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nwait until <(Level) = [5]>\nswitch costume to (costume2 v)\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nwait until <(Level) = [7]>\nswitch costume to (costume3 v)\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nwait until <(Level) = [6]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [7]>\nwait until <touching (player v)?>\nbroadcast (Open v)\n\nwhen flag clicked\nwait until <(Level) = [5]>\nswitch costume to (costume2 v)\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nwait until <(Level) = [10]>\nshow\nswitch costume to (costume4 v)\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nwait until <(Level) = [11]>\nswitch costume to (costume5 v)\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nwait until <(Level) = [12]>\nswitch costume to (costume6 v)\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nwait until <(Level) = [13]>\nswitch costume to (costume7 v)\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nbroadcast (Open v)\n\nwhen flag clicked\nwait until <(Level) = [15]>\nswitch costume to (costume8 v)\nshow\nwait until <touching (player v)?>\nbroadcast (Open v)\nstart sound [Magic Spell v]\nhide\n\nwhen flag clicked\nrepeat (2)\n    hide\nend\n\nwhen I receive [animation start v]\nhide\n\n@Water Blue\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\nforever\n    go [backward v] (999) layers\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\n    set [ghost v] effect to (10)\n    switch costume to (Level)\nend\n\nwhen I receive [animation start v]\nhide\n\n@Lasers\n\nwhen flag clicked\nset [laser? v] to [0]\nhide\ngo to x: (-106) y: (3)\ngo to [back v] layer\nwait until <(Level) = [7]>\nshow\nswitch costume to (1 v)\nrepeat until <not <(Level) = [7]>>\n    go to [back v] layer\n    set [laser? v] to [0]\n    switch costume to (1 v)\n    wait (2) seconds\n    set [laser? v] to [1]\n    switch costume to (1up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (2) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\ndefine Bug Fixing\nif <(Level) = [8]> then\n    hide\nend\n\nwhen flag clicked\nforever\n    Bug Fixing\nend\n\ngo to x: (-106) y: (3)\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) = [6]> then\n    Clone At X: [-20] [4] At Size: [120]\nend\nif <(Level) = [7]> then\n    Clone At X: [-25] [-133] At Size: [120]\nend\nif <(Level) = [8]> then\n    Clone At X: [-40] [-70] At Size: [120]\nend\nif <(Level) = [9]> then\n    Clone At X: [33] [170] At Size: [150]\nend\nif <(Level) = [10]> then\n    Clone At X: [65] [-4] At Size: [120]\n    Clone At X: [200] [137] At Size: [150]\nend\nif <(Level) = [11]> then\n    Clone At X: [-212] [45] At Size: [110]\nend\nif <(Level) = [12]> then\n    Clone At X: [197] [167] At Size: [150]\nend\nif <(Level) = [13]> then\n    Clone At X: [-220] [70] At Size: [130]\nend\nif <(Level) = [15]> then\n    Clone At X: [-10] [-50] At Size: [120]\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\n@Skip\n\nwhen I receive [intro done v]\nwait until <(Level) = [16]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [16]>\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\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 this sprite clicked\nbroadcast (Transition v)\nbroadcast (Next v)\nchange [level v] by (1)\n\n@Music Button\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nwait until <(Level) = [21]>\nhide\n\nswitch costume to ((costume [number v]) + (1))\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\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\nset volume to (50) %\nrepeat until <(Level) = [16]>\n    play sound [Adventure v] until done\n    play sound [Creative Minds - Bensound Royalty Free Music - No Copyright Music 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    set volume to (50) %\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nwait until <(Level) = [21]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [16]>\nhide\n\nstop all sounds\n\nwhen flag clicked\nwait until <(Level) = [16]>\nforever\n    stop all sounds\nend\n\n@LasersSuper\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [7]>\nshow\nswitch costume to (1up v)\nrepeat until <not <(Level) = [7]>>\n    set [laser2 v] to [1]\n    switch costume to (1up v)\n    wait (2) seconds\n    set [laser2 v] to [0]\n    switch costume to (1 v)\n    wait (2) seconds\nend\nswitch costume to (2up v)\n\nwhen flag clicked\nforever\n    go [backward v] (3) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [8]>\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\nset [level v] to [7]\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        hide\n    end\nend\n\n@LasersBug\n\nwhen flag clicked\nforever\n    go [backward v] (11) layers\nend\n\nwhen flag clicked\ngo to x: (-62) y: (23)\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [10]>\nswitch costume to (4 v)\nshow\nrepeat until <not <(Level) = [10]>>\n    set [laser? v] to [0]\n    switch costume to (4 v)\n    wait (2) seconds\n    set [laser? v] to [1]\n    switch costume to (4up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nrepeat (2)\n    hide\nend\n\nwhen flag clicked\nwait until <(Level) = [11]>\nhide\n\ngo to x: (-62) y: (23)\n\n@LasersSuperBug\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [8]>\nshow\nswitch costume to (2up v)\nrepeat until <not <(Level) = [8]>>\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (5) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [8]>\nshow\nswitch costume to (2up v)\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\n@LasersSuperBug2\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [8]>\nshow\nswitch costume to (2 v)\nrepeat until <not <(Level) = [8]>>\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (6) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [8]>\nshow\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\n@LasersSuperBug3\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [9]>\nshow\nswitch costume to (2 v)\nrepeat until <not <(Level) = [9]>>\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (2) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [9]>\nshow\n\n@LasersSuperBug4\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [11]>\nshow\nswitch costume to (2 v)\nrepeat until <not <(Level) = [11]>>\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (6) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [12]>\nhide\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@LasersSuperBug5\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [12]>\nshow\nswitch costume to (2 v)\nrepeat until <not <(Level) = [12]>>\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (6) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [13]>\nhide\n\n@LasersSuperBug6\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [12]>\nshow\nswitch costume to (2 v)\nrepeat until <not <(Level) = [12]>>\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (6) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [13]>\nhide\n\n@LasersExtra\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [13]>\nshow\nswitch costume to (2 v)\nrepeat until <not <(Level) = [13]>>\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (6) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\n@Lasers2\n\nwhen flag clicked\nset [laser? v] to [0]\nhide\ngo to x: (-106) y: (3)\ngo to [back v] layer\nwait until <(Level) = [13]>\nshow\nswitch costume to (1 v)\nrepeat until <not <(Level) = [13]>>\n    go to [back v] layer\n    set [laser? v] to [0]\n    switch costume to (1 v)\n    wait (2) seconds\n    set [laser? v] to [1]\n    switch costume to (1up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (2) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [14]>\nhide\n\n@LasersSuperBug7\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [15]>\nshow\nswitch costume to (2 v)\nrepeat until <not <(Level) = [15]>>\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (6) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [8]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [9]>\nhide\n\nwhen flag clicked\nwait until <(Level) = [16]>\nhide\n\n@LasersSuperBug8\n\nwhen flag clicked\nset [laser2 v] to [0]\nhide\ngo to x: (-30) y: (3)\ngo to [back v] layer\nwait until <(Level) = [15]>\nshow\nswitch costume to (2up v)\nrepeat until <not <(Level) = [15]>>\n    set [laser2 v] to [1]\n    switch costume to (2up v)\n    wait (2) seconds\n    set [laser2 v] to [0]\n    switch costume to (2 v)\n    wait (2) seconds\nend\nhide\n\nwhen flag clicked\nforever\n    go [backward v] (6) layers\nend\n\nwhen flag clicked\nwait until <(Level) = [16]>\nhide\n\n@Golden Apple\n\nwhen flag clicked\nhide\n\nwhen I receive [animation start v]\nhide\n\nwhen I receive [intro done v]\nwait until <(Level) = [16]>\nshow\ngo to x: (160) y: (-67)\nwait until <touching (player v)?>\nbroadcast (Animation Start v)\n\n@Win\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [animation start v]\nshow\nforever\n    point in direction ((90) + (([sin v] of ((bine) * (10)) ) * (3)))\n    set size to ((90) + (([sin v] of ((bine) * (15)) ) * (5))) %\n    set y to (([sin v] of ((bine) * (15)) ) * (10))\n    change [bine v] by (1)\n    go [forward v] (1) layers\nend\n\n