Neon-platformer III

Instructions: the Neon platformer 3: không hướng dẫn nữa\nKhó nhất: LVL7\nThứ nguy hiểm mới: cưa\n\nthe Neon platformer 3: no tutorial\nHardest: LVL7\nNew dangerous thing: saw blade

@Stage\n\n@love, faVE............\n\nwhen flag clicked\nhide\ngo to x: (0) y: (51)\nforever\n    wait (pick random (10) to (15)) seconds\n    show\n    glide (0.5) secs to x: (0) y: (0)\n    wait (5) seconds\n    glide (0.5) secs to x: (0) y: (51)\n    hide\nend\n\n@player\n\nwhen flag clicked\ngo to x: (-200) y: (-159)\nset [level v] to [1]\nforever\n    move\nend\n\ndefine move\nif <key (right arrow v) pressed?> then\n    change [xv v] by (1)\nend\nif <key (left arrow v) pressed?> then\n    change [xv v] by (-1)\nend\nchange x by (xv)\nset [xv v] to ((xv) * (0.8))\nif <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.25))\n                change y by (-3)\n                if <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\nend\nchange [yv v] by (-1)\nchange y by (yv)\nif <touching (stage v)?> then\n    change y by ((yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <key (space v) pressed?> then\n    if <touching (stage v)?> then\n        set [yv v] to [12]\n    end\nend\nchange y by (1)\nif <(x position) = [240]> then\n    go to x: (-200) y: (-159)\n    change [level v] by (1)\nend\nif <touching (saws v)?> then\n    go to x: (-200) y: (-159)\nend\nif <touching (danger v)?> then\n    go to x: (-200) y: (-159)\nend\n\n@light of player\n\nwhen flag clicked\nforever\n    set [brightness v] effect to (50)\n    go to (player v)\nend\n\n@effect\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\n    set size to (100) %\n    go to (player v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nwait (0) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    set [brightness v] effect to (50)\nend\n\n@stage\n\nwhen flag clicked\nforever\n    set [brightness v] effect to (50)\n    switch costume to (level)\nend\n\n@light for stage\n\nwhen flag clicked\nforever\n    set [brightness v] effect to (0)\n    switch costume to (level)\nend\n\n@Saws\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (level)\n    turn right (10) degrees\n    if <(level) = [2]> then\n        set size to (90) %\n        go to x: (0) y: (-170)\n    end\n    if <(level) = [6]> then\n        go to x: (-25) y: (-170)\n        set size to (120) %\n    end\n    if <(level) = [7]> then\n        go to x: (135) y: (55)\n        set size to (120) %\n    end\nend\n\ngo to x: (0) y: (0)\n\ngo to x: (0) y: (0)\n\n@light for danger things\n\nwhen flag clicked\nforever\n    set [brightness v] effect to (50)\n    go to [back v] layer\n    switch costume to (level)\nend\n\n@DANGER\n\nwhen flag clicked\nforever\n    go [backward v] (10) layers\n    switch costume to (level)\nend\n\n@Text\n\nset [brightness v] effect to (10)\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@sound button\n\nwhen flag clicked\nswitch costume to (unmute v)\nplay sound [Sound v] until done\n\nwhen this sprite clicked\nnext costume\nforever\n    if <(costume [name v]) = [mute]> then\n        stop all sounds\n    else\n        play sound [Sound v] until done\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    go [forward v] (999) layers\nend\n\n