✨Neon Platformer Part 1✨

Instructions: Press Green Flag Twice and press the space bar to start.\n\nYou can get Five different Power-Up Flowers:\n\nFlame Flowers\nThunder Flower\nFreeze Flowers\nEarth Flowers\nLegendary Flowers (Rare)\n\nAll of them except the Freeze Flower defeat enemies, but the Freeze Flowers freezes enemies \n\nControls:\n\nLeft:                                                  Left Arrow\nRight:                                                Right Arrow\nJump:                                               Up Arrow\nAttack (if you have a power-up):      Space Bar\nR:                                                      Reset

@Stage\n\nwhen I receive [intro v]\nforever\n    play sound [Video Game  v] until done\nend\n\nwhen I receive [intro v]\nswitch backdrop to (intro v)\nwait (3) seconds\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nswitch backdrop to (neon platformer v)\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nrepeat until <key (space v) pressed?>\n    change [color v] effect by (10)\nend\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nswitch backdrop to (backdrop1 v)\nclear graphic effects\nbroadcast (Start v) and wait\n\n@Neo\n\ndefine Reset\ngo to x: (-186) y: (-138)\n\nchange y by (1)\nchange y by (1)\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    wait (0.0000001) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <<touching (sphere v)?> and <not <([costume name v] of [sphere v]) = [Frozen]>>> then\n        set [super v] to [Normal]\n    end\n    if <<(costume [number v]) = [1]> and <touching (sphere v)?>> then\n        Reset\n    end\nend\n\nwhen [r v] key pressed\nrepeat (2)\n    Reset\nend\n\nwhen flag clicked\nforever\n    switch costume to (Super)\nend\n\nwhen flag clicked\nforever\n    if <<touching (hitbox v)?> and <([costume # v] of [mystery box??? v]) = [1]>> then\n        set [mystery v] to [Yes]\n        wait (10) seconds\n        set [mystery v] to [No]\n    end\n    if <touching (next level v)?> then\n        change [level v] by (1)\n        Reset\n        wait (2) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (fall v)?> then\n        Reset\n        set [super v] to [Normal]\n    end\n    if <<<touching (thunder sphere v)?> and <not <(Super) = [Normal]>>> and <not <([costume name v] of [thunder sphere v]) = [Costume2]>>> then\n        set [super v] to [Normal]\n        wait (1) seconds\n    end\n    if <<<touching (thunder sphere v)?> and <(Super) = [Normal]>> and <not <([costume name v] of [thunder sphere v]) = [Costume2]>>> then\n        Reset\n    end\nend\n\nwhen I receive [start v]\nset [level v] to [1]\ngo to x: (-229) y: (-160)\nswitch costume to (normal v)\nswitch backdrop to (backdrop1 v)\nshow\ngo to x: (-171) y: (-139)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [x v] by (-1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume4 v)\n        end\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [x v] by (1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume5 v)\n        end\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<<touching (mystery box??? v)?> or <touching (level v)?>> or <<touching (sphere v)?> and <([costume name v] of [sphere v]) = [Frozen]>>> then\n        change y by (1)\n    end\n    if <<<touching (mystery box??? v)?> or <touching (level v)?>> or <<touching (sphere v)?> and <([costume name v] of [sphere v]) = [Frozen]>>> then\n        change y by (1)\n    end\n    if <<<touching (mystery box??? v)?> or <touching (level v)?>> or <<touching (sphere v)?> and <([costume name v] of [sphere v]) = [Frozen]>>> then\n        change y by (1)\n    end\n    if <<<touching (mystery box??? v)?> or <touching (level v)?>> or <<touching (sphere v)?> and <([costume name v] of [sphere v]) = [Frozen]>>> then\n        change y by (1)\n    end\n    if <<<touching (mystery box??? v)?> or <touching (level v)?>> or <<touching (sphere v)?> and <([costume name v] of [sphere v]) = [Frozen]>>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<<touching (mystery box??? v)?> or <touching (level v)?>> or <<touching (sphere v)?> and <([costume name v] of [sphere v]) = [Frozen]>>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <<<touching (sphere v)?> and <([costume name v] of [sphere v]) = [Frozen]>> or <<touching (mystery box??? v)?> or <touching (level v)?>>>> then\n        set [y v] to [17]\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset [super v] to [Normal]\nswitch costume to (pick random (1) to (13))\nset [mystery v] to [No]\nforever\n    if <(Mystery) = [Yes]> then\n        show\n        go to (mystery box??? v)\n        change y by (50)\n        glide (3) secs to x: (2) y: (-164)\n        if <touching (neo v)?> then\n            set [super v] to (costume [name v])\n            repeat (30)\n                change [brightness v] effect by (10)\n            end\n            wait (0.5) seconds\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n        end\n    else\n        hide\n    end\nend\n\nwait (3) seconds\n\n@Intro\n\nwhen flag clicked\npoint in direction (90)\nshow\ngo to x: (0) y: (0)\nswitch backdrop to (tiger v)\nrepeat (156)\n    turn right (30) degrees\nend\n\nwhen flag clicked\nset size to (100) %\nforever\n    repeat (10)\n        change size by (10)\n    end\n    repeat (10)\n        change size by (-10)\n    end\nend\n\nwhen flag clicked\nplay sound [Movie 2 v] until done\nplay sound [Roar v] until done\nbroadcast (Intro v)\nhide\nstop [this script v]\n\nwhen I receive [intro v]\nset size to (40) %\nstop [other scripts in sprite v]\nforever\n    turn right (2) degrees\n    go to x: (185) y: (-131)\n    show\nend\n\n@Mystery Box???\n\nwhen flag clicked\nswitch costume to (mysterious?? v)\nset [level v] to [0]\nhide\nforever\n    if <(Level) = [4]> then\n        show\n        go to x: (0) y: (-52)\n    else\n        hide\n    end\n    if <(Mystery) = [Yes]> then\n        switch costume to (not so mysterious?? v)\n    end\nend\n\nwhen I receive [start v]\nset [level v] to [1]\n\nwhen flag clicked\n\n@Level\n\nwhen flag clicked\nhide\nforever\n    go to x: (36) y: (28)\n    switch costume to (Level)\n    go to [back v] layer\nend\n\nwhen I receive [start v]\nshow\n\nset [super v] to [Flame]\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@Elements\n\nwhen flag clicked\nhide\nforever\n    switch costume to (Super)\nend\n\nwhen [space v] key pressed\ncreate clone of (_myself_ v)\nwait (3) seconds\n\nforever\n\nwhen I start as a clone\nshow\ngo to (neo v)\npoint in direction ([direction v] of [neo v])\nmove (15) steps\nrepeat until <touching (_edge_ v)?>\n    move (10) steps\nend\ndelete this clone\n\n@Next Level\n\n@Hitbox\n\nwhen flag clicked\nhide\nforever\n    go to (mystery box??? v)\n    if <(Level) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sphere\n\nwhen flag clicked\nhide\ngo to x: (182) y: (-129)\nforever\n    if <(Level) = [5]> then\n        show\n        point towards (neo v)\n        move (1) steps\n    else\n        hide\n    end\n    if <<touching (elements v)?> and <(letter (2) of (Super)) = [r]>> then\n        forever\n            switch costume to (frozen v)\n        end\n    end\n    if <<touching (elements v)?> and <not <(letter (2) of (Super)) = [r]>>> then\n        forever\n            hide\n        end\n    end\n    if <(Level) = [6]> then\n        hide\n    end\nend\n\nwhen flag clicked\nswitch costume to (dark sphere1 v)\nforever\n    if <not <(costume [name v]) = [Frozen]>> then\n        switch costume to (dark sphere1 v)\n        repeat (13)\n            next costume\n            wait (0.01) seconds\n        end\n    end\nend\n\n@Fall\n\nwhen flag clicked\ngo to x: (36) y: (-39)\n\n@Thunder Sphere\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nforever\n    if <(Level) = [8]> then\n        show\n        point in direction (pick random (0) to (360))\n        repeat (10)\n            move (20) steps\n        end\n        if <<touching (elements v)?> and <(letter (2) of (Super)) = [r]>> then\n            forever\n                switch costume to (costume2 v)\n                stop [this script v]\n            end\n        end\n        if <<touching (elements v)?> and <not <(letter (2) of (Super)) = [r]>>> then\n            forever\n                hide\n                stop [this script v]\n            end\n        end\n    else\n        hide\n    end\nend\n\npoint towards (mouse-pointer v)\n\n@Spotlight 4\n\nwhen I receive [intro v]\nhide\n\nwhen flag clicked\nshow\npoint in direction (90)\nforever\n    go to x: (173) y: (-195)\n    repeat (40)\n        turn right (1.5) degrees\n    end\n    repeat (40)\n        turn left (1.5) degrees\n    end\n    repeat (40)\n        turn left (1.5) degrees\n    end\n    repeat (40)\n        turn right (1.5) degrees\n    end\nend\n\n@Spotlight 3\n\nwhen flag clicked\nshow\npoint in direction (90)\nforever\n    go to x: (72) y: (-195)\n    repeat (40)\n        turn left (1.5) degrees\n    end\n    repeat (40)\n        turn right (1.5) degrees\n    end\n    repeat (40)\n        turn right (1.5) degrees\n    end\n    repeat (40)\n        turn left (1.5) degrees\n    end\nend\n\nwhen I receive [intro v]\nhide\n\n@Spotlight 1\n\nwhen flag clicked\nshow\npoint in direction (90)\nforever\n    switch costume to (A: Subject)\n    go to x: (-168) y: (-195)\n    repeat (40)\n        turn left (1.5) degrees\n    end\n    repeat (40)\n        turn right (1.5) degrees\n    end\n    repeat (40)\n        turn right (1.5) degrees\n    end\n    repeat (40)\n        turn left (1.5) degrees\n    end\nend\n\nwhen I receive [intro v]\nhide\n\n@Spotlight 2\n\nwhen flag clicked\nshow\npoint in direction (90)\nforever\n    go to x: (-51) y: (-195)\n    repeat (40)\n        turn right (1.5) degrees\n    end\n    repeat (40)\n        turn left (1.5) degrees\n    end\n    repeat (40)\n        turn left (1.5) degrees\n    end\n    repeat (40)\n        turn right (1.5) degrees\n    end\nend\n\nwhen I receive [intro v]\nhide\n\n