~ PINK ~ The Platformer

Instructions: WASD or ARROW KEYS to move. \n-----\nNew levels will be added within updates!\n-----\nPlease Heart and Favorite the game so I know you are liking it so far ;)\n-----\nPlease report any bugs\n-----\n*IMPORTANT* Please report any advertisements and don't click on the links. :)

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\nforever\n    if <(level) > [5]> then\n        switch backdrop to (backdrop3 v)\n    end\n    if <(level) > [6]> then\n        switch backdrop to (backdrop4 v)\n    end\n    if <(level) > [8]> then\n        switch backdrop to (backdrop5 v)\n    end\n    if <(level) > [9]> then\n        switch backdrop to (backdrop6 v)\n    end\nend\n\n@Player\n\nwhen flag clicked\nshow\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-200) y: (-57)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching (stage v)?> then\n        change y by (1)\n        if <touching (stage v)?> then\n            change y by (1)\n            if <touching (stage v)?> then\n                change y by (1)\n                if <touching (stage v)?> then\n                    change y by (1)\n                    if <touching (stage v)?> then\n                        change y by (1)\n                        if <touching (stage v)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching (stage v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n        if <touching (stage v)?> then\n            change [yv v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-200) y: (-57)\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-5)\n    change [brightness v] effect by (2.5)\n    change [ghost v] effect by (-10)\nend\ndelete this clone\n\ndefine reset\ngo to x: (-200) y: (-57)\n\nwhen flag clicked\nrepeat until <(level) > [10]>\n    if <<touching (lava v)?> or <key (r v) pressed?>> then\n        reset\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Jnathyn - Dioma \[NCS Release\] v] until done\nend\n\n@Stage\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (level)\nend\n\n@Effect\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset size to (pick random (50) to (100)) %\ngo to x: (pick random (-230) to (230)) y: (-180)\ngo to [back v] layer\nshow\nrepeat until <(y position) > [170]>\n    change y by (3)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    wait (pick random (0.1) to (0.3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen backdrop switches to [backdrop2 v]\nswitch costume to (1 v)\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (2 v)\n\nif <(level) > [9]> then\n    switch costume to (3 v)\nend\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (pick random (3) to (4))\n\n@Lava\n\nwhen flag clicked\nforever\n    show\n    go to [back v] layer\n    switch costume to (level)\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nwait (0.001) seconds\nhide\n\n@light\n\nwhen flag clicked\nforever\n    if <<(level) < [7]> or <(level) > [9]>> then\n        hide\n    else\n        show\n        go to (player v)\n        go to [back v] layer\n    end\nend\n\n@thumbnail\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    show\n    set [ghost v] effect to (100)\nend\n\n