One Tear - A Platformer
@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen backdrop switches to [second story v]\nbroadcast (game part is over v)\nwait until <key (space v) pressed?>\nwait until <not <key (space v) pressed?>>\nswitch backdrop to (second story2 v)\nwait until <key (space v) pressed?>\nwait until <not <key (space v) pressed?>>\nswitch backdrop to (second story3 v)\nwait until <key (space v) pressed?>\nwait until <not <key (space v) pressed?>>\nswitch backdrop to (second story4 v)\nwait until <key (space v) pressed?>\nwait until <not <key (space v) pressed?>>\nswitch backdrop to (thumbnail v)\n\nwhen flag clicked\nset [ghost v] effect to (0)\nswitch backdrop to (storyline p1 v)\nwait (3.5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (0.15) seconds\nend\nclear graphic effects\nnext backdrop\nbroadcast (start v)\n\nwhen backdrop switches to [thumbnail v]\nbroadcast (end v)\nstop [all v]\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    play sound [Vexento - Looking Back v] until done\nend\n\nwhen I receive [start v]\ngo to x: (-207) y: (-103)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#663b00)?> or <touching color (#4c0099)?>> then\n        change y by (1)\n    end\n    if <<touching color (#663b00)?> or <touching color (#4c0099)?>> then\n        change y by (1)\n    end\n    if <<touching color (#663b00)?> or <touching color (#4c0099)?>> then\n        change y by (1)\n    end\n    if <<touching color (#663b00)?> or <touching color (#4c0099)?>> then\n        change y by (1)\n    end\n    if <<touching color (#663b00)?> or <touching color (#4c0099)?>> 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 [15]\n            if <([abs v] of (x) ) = (x)> 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 color (#663b00)?> or <touching color (#4c0099)?>> 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 color (#663b00)?> or <touching color (#4c0099)?>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching color (#cd0101)?> or <touching color (#7f7f7f)?>> then\n        go to x: (-207) y: (-103)\n    end\n    if <<(x position) = [245]> or <(x position) > [245]>> then\n        broadcast (next level v)\n        go to x: (-207) y: (-103)\n    end\nend\n\nwhen I receive [game part is over v]\nhide\n\n