Platty The Platformer
@Stage\n\nwhen flag clicked\nshow variable [screen v]\nset [secretkonamicode v] to [0]\nhide variable [secretkonamicode v]\nreset timer\nwait until <key (up arrow v) pressed?>\nwait until <key (down arrow v) pressed?>\nwait until <key (up arrow v) pressed?>\nwait until <key (down arrow v) pressed?>\nwait until <key (left arrow v) pressed?>\nwait until <key (right arrow v) pressed?>\nwait until <key (left arrow v) pressed?>\nwait until <key (right arrow v) pressed?>\nwait until <key (b v) pressed?>\nwait until <key (a v) pressed?>\nwait until <key (space v) pressed?>\nchange [secretkonamicode v] by (1)\nstart sound [Pew v]\n\nwhen flag clicked\nforever\n    if <(timer) > [5]> then\n        if <(SecretKonamiCode) = [1]> then\n            stop all sounds\n            broadcast (KONAMI v)\n            stop [this script v]\n        else\n            stop [other scripts in sprite v]\n            broadcast (Keep In Touch v)\n            forever\n                reset timer\n            end\n        end\n    end\nend\n\nwhen I receive [keep in touch v]\nrepeat until <(Screen) = [12]>\n    wait (1) seconds\nend\nstop all sounds\nplay sound [Microsoft Windows XP Shutdown Sound v] until done\n\nwhen flag clicked\nhide variable [☁ total screens completed v]\n\nwhen I receive [outro v]\nshow variable [☁ total screens completed v]\n\nwhen [timer v] > (6)\nhide variable [☁ total screens completed v]\nhide variable [screen v]\n\n@Player\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (wil-quinn-player1-walk v)\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\ngo to x: (-200) y: (0)\nset size to (60) %\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        move (10) steps\n        next costume\n        wait (0.03) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#67ff66)?> or <touching color (#6de76c)?>> then\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        move (10) steps\n        next costume\n        wait (0.03) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        if <touching color (#67ff66)?> then\n            repeat (10)\n                change y by (20)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-200) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#fffd00)?> then\n        repeat (10)\n            change y by (25)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#a8a8a8)?> then\n        go to x: (-200) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#9f7840)?> then\n        move (-10) steps\n    end\nend\n\nwhen I receive [object test v]\nswitch backdrop to (backdrop1 v)\ngo to x: (0) y: (0)\n\nbroadcast (Object Test v)\n\nwhen flag clicked\nforever\n    set [screen v] to ((backdrop [number v]) - (1))\nend\n\nwhen I receive [konami v]\nforever\n    change [color v] effect by (25)\nend\n\nwhen flag clicked\nhide variable [x v]\nhide variable [y v]\nforever\n    if <<touching color (#ff94dd)?> or <touching color (#e791cc)?>> then\n        change [☁ total screens completed v] by (1)\n        next backdrop\n        go to x: (-200) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [-230]> then\n        move (-10) steps\n    end\nend\n\nwhen flag clicked\nforever\n    set [x v] to (x position)\n    set [y v] to (y position)\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [230]> then\n        move (-10) steps\n    end\nend\n\nwhen I receive [konami v]\nstop all sounds\nplay sound [Glidewing - Shovel Knight King of Cards Soundtrack v] until done\n\nwhen I receive [konami v]\nchange [pixelate v] effect by (100)\n\nwhen flag clicked\nset [cutscene v] to [0]\nhide variable [cutscene v]\nforever\n    if <touching color (#ff8d00)?> then\n        repeat (10)\n            change x by (20)\n        end\n    end\nend\n\nwhen flag clicked\nrepeat until <(Screen) = [17]>\nrepeat until <(Cutscene) = [1]>\n    if <(x) = [100]> then\n        go to x: (100) y: (-100)\n        switch costume to (wil-quinn-player1-walk v)\n        broadcast (showyourself.exe v)\n        change [cutscene v] by (1)\n    end\nend\n\nwhen I receive [showyourself.exe v]\nrepeat until <(End) = [1]>\n    go to x: (100) y: (-100)\n    switch costume to (wil-quinn-player1-walk v)\nend\n\nwhen flag clicked\nshow\nforever\n    if <touching color (#9966ff)?> then\n        change [☁ total screens completed v] by (1)\n        hide\n        hide variable [screen v]\n        broadcast (Outro v)\n    end\nend\n\nwhen I receive [outro v]\nstop all sounds\nswitch backdrop to (backdrop21 v)\nplay sound [627158_ClockWorks v] until done\n\nwhen I receive [mobileleft v]\npoint in direction (-90)\nmove (10) steps\nnext costume\nwait (0.03) seconds\n\nwhen I receive [mobileright v]\npoint in direction (90)\nmove (10) steps\nnext costume\nwait (0.03) seconds\n\nwhen I receive [mobilejump v]\nif <touching color (#67ff66)?> then\n    repeat (10)\n        change y by (20)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nswitch costume to (costume2 v)\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nplay sound [you reposted in the wrong neighborhood \(instrumental version\) v] until done\n\nwhen I receive [cutscene... v]\nplay sound [you reposted in the wrong neighborhood \(instrumental version\) v] until done\n\n@...\n\nwhen flag clicked\nset [end v] to [0]\nhide variable [end v]\ngo to x: (-157) y: (-97)\nhide\n\nwhen I receive [showyourself.exe v]\nshow\nplay sound [Undertale OST 029 - Danger Mystery v] until done\nwait (1) seconds\nchange x by (10)\nwait (1) seconds\nchange x by (10)\nwait (5) seconds\nglide (1) secs to x: (80) y: (-97)\nbroadcast (Cutscene... v)\nhide\nchange [end v] by (1)\nnext backdrop\n\n