Hidden Turns - A Scrolling Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\n@Sprite25\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <not <<<key (w v) pressed?> or <<key (space v) pressed?> or <key (up arrow v) pressed?>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>>> then\n        wait (3) seconds\n        if <not <<<key (w v) pressed?> or <<key (space v) pressed?> or <key (up arrow v) pressed?>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>>> then\n            switch costume to (costume3 v)\n        end\n    end\nend\n\nwhen I receive [start v]\nhide\nwait (3) seconds\nshow\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    change [yv v] by (-0.5)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (0.7)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (sprite6 v)?> then\n        change y by (1)\n        if <touching (sprite6 v)?> then\n            change y by (1)\n            if <touching (sprite6 v)?> then\n                change y by (1)\n                if <touching (sprite6 v)?> then\n                    change y by (1)\n                    if <touching (sprite6 v)?> then\n                        change y by (1)\n                        if <touching (sprite6 v)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <touching (null v)?> then\n                                change x by (Change)\n                            end\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <not <touching color (#00ff55)?>> then\n                                    if <(Xv) > [0]> then\n                                        set [xv v] to [-8]\n                                    else\n                                        set [xv v] to [8]\n                                    end\n                                    set [yv v] to [11]\n                                end\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching (sprite6 v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (null v)?> then\n        change x by (Change)\n    end\n    if <touching (sprite6 v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <not <touching color (#00ff55)?>> then\n                set [yv v] to [8]\n            end\n        end\n    end\n    if <touching color (#003fff)?> then\n        set [yv v] to [15]\n    end\n    change y by (1)\nend\n\nwhen I receive [start v]\nforever\n    if <touching (water v)?> then\n        go to x: (-200) y: ((y position) + (40))\n    end\nend\n\nwhen I receive [start v]\ngo to x: (-200) y: (10)\nset size to (30) %\ngo to [front v] layer\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume1 v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nhide\n\n\nwhen I receive [start v]\nforever\n    if <(x position) > [235]> then\n        broadcast (next level v)\n    end\nend\n\nwhen I receive [bad v]\ngo to x: (-200) y: (11)\n\nwhen I receive [next level v]\ngo to x: (-200) y: (11)\n\nwhen flag clicked\nforever\n    if <(person) = [15]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-200) y: (11)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Relax in a Tranquil Bluebell Wood wo Music-Sounds of Nature-Bird Song-Forest-3D Trees-Dawn Chorus.mp3 v] until done\nend\n\nwhen flag clicked\nforever\n    if <(person) = [15]> then\n        stop [this script v]\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nwait (2) seconds\nshow\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite6\n\nwhen I receive [start v]\nwait (2) seconds\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo [backward v] (0) layers\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nhide\n\n@Sprite18\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [start v]\nwait (2) seconds\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo [backward v] (100) layers\nforever\n    if <touching (sprite25 v)?> then\n        broadcast (bad v)\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nset [ghost v] effect to (25)\n\n@Sprite5\n\nwhen flag clicked\nhide\n\n@Sprite7\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (costume5 v)\n\nwhen I receive [start v]\nwait (1) seconds\nhide\n\n@Sprite8\n\nwhen flag clicked\ngo to x: (0) y: (-50)\nshow\ngo to [front v] layer\nswitch costume to (costume2 v)\n\nwhen flag clicked\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        switch costume to (costume3 v)\n        wait (0.5) seconds\n        switch costume to (costume2 v)\n        broadcast (start v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nhide\nwait (3) seconds\n\nwhen flag clicked\n\nwhen I receive [start v]\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (2) seconds\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nhide\n\nset [ghost v] effect to (100)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (0.05) seconds\nchange [ghost v] effect by (-10)\nwait (2) seconds\n\nhide\n\ngo to [front v] layer\nshow\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\nwait (1) seconds\nshow\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nwait (0.05) seconds\nchange [ghost v] effect by (10)\nhide\n\nwait (3) seconds\n\nwhen flag clicked\nforever\n    if <(person) = [15]> then\n        wait (10) seconds\n        go to [front v] layer\n        show\n        set [ghost v] effect to (100)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n        wait (0.05) seconds\n        change [ghost v] effect by (-10)\n    end\nend\n\nforever\nend\n\n@Sprite12\n\nwhen flag clicked\nshow\n\nwhen flag clicked\ngo [backward v] (5) layers\nforever\n    go to x: ((mouse x) / (-50)) y: ((mouse y) / (-100))\nend\n\nwhen I receive [start v]\nwait (2) seconds\nhide\n\n@Sprite13\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\n\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (costume6 v)\n\nshow\n\n@Sprite14\n\nwhen flag clicked\nhide\nforever\n    go to x: (239) y: (pick random (0) to (140))\n    wait (pick random (0.5) to (2)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\npoint in direction (-90)\nshow\nset size to (pick random (10) to (30)) %\ngo to [front v] layer\nswitch costume to (pick random (1) to (4))\nrepeat until <<(x position) < [-236.5]> or <(y position) > [179]>>\n    move (5) steps\nend\nhide\n\nchange y by (-10)\n\nwhen I start as a clone\nrepeat until <(x position) < [-239]>\n    turn right (pick random (1) to (5)) degrees\n    wait (0.1) seconds\n    turn left (pick random (1) to (5)) degrees\n    wait (0.1) seconds\n    turn right (pick random (1) to (5)) degrees\n    wait (0.1) seconds\n    turn left (pick random (1) to (5)) degrees\n    wait (0.01) seconds\nend\n\nturn right (pick random (10) to (30)) degrees\nwait (1) seconds\nturn left (pick random (10) to (30)) degrees\nwait (1) seconds\n\nwhen flag clicked\n\nforever\n    point in direction ((mouse x) + (mouse y))\nend\n\nwhen I start as a clone\nif <(x position) < [-239]> then\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <(person) = [15]> then\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(person) = [15]> then\n        delete this clone\n    end\nend\n\n@Sprite16\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    go to x: ((mouse x) / (-25)) y: ((mouse y) / (-75))\nend\n\nwhen I receive [start v]\nwait (2) seconds\nhide\n\n@Sprite9\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    go to x: ((mouse x) / (-40)) y: ((mouse y) / (-100))\nend\n\nwhen I receive [start v]\nwait (2) seconds\nhide\n\n@Sprite15\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nshow\n\nwhen I receive [end v]\n\nwhen flag clicked\nforever\n    if <(person) = [15]> then\n        wait (11) seconds\n        repeat (1)\n            go to [front v] layer\n            show\n            set [ghost v] effect to (100)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            wait (0.05) seconds\n            change [ghost v] effect by (-10)\n            stop [all v]\n        end\n    end\nend\n\nshow\n\n@Sprite17\n\nwhen flag clicked\nset [person v] to [0]\nhide\n\nwhen I receive [next level v]\nchange [person v] by (1)\n\nwhen I receive [move v]\n\nwhen flag clicked\nforever\n    if <(person) = [5]> then\n        show\n        go to x: (13) y: (-27)\n        broadcast (move v)\n        forever\n            switch costume to (costume3 v)\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            next costume\n            wait (pick random (1) to (3)) seconds\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite25 v)?> then\n        broadcast (bad v)\n    end\nend\n\nwait (10) seconds\n\nwait (pick random (1) to (3)) seconds\nswitch costume to (costume2 v)\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\n\nwhen flag clicked\n\nforever\n    if <(person) = [8]> then\n        show\n        go to x: (13) y: (-27)\n        broadcast (move v)\n        forever\n            switch costume to (costume3 v)\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            next costume\n            wait (pick random (1) to (3)) seconds\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n        end\n    end\nend\n\nif  then\nend\n\nwhen flag clicked\nforever\n    if <(person) = [6]> then\n        hide\n    end\nend\n\n@Sprite19\n\nwhen flag clicked\nset [person v] to [0]\nhide\n\nwhen I receive [next level v]\n\nwhen I receive [move v]\n\nwhen flag clicked\nforever\n    if <(person) = [6]> then\n        show\n        go to x: (40) y: (-27)\n        broadcast (move v)\n        forever\n            switch costume to (costume4 v)\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            next costume\n            wait (pick random (1) to (3)) seconds\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite25 v)?> then\n        broadcast (bad v)\n    end\nend\n\nwait (10) seconds\n\nwait (pick random (1) to (3)) seconds\nswitch costume to (costume2 v)\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\n\nchange [person v] by (1)\n\nif  then\nend\n\nwhen flag clicked\nforever\n    if <(person) > [6]> then\n        hide\n    end\nend\n\n@Sprite20\n\nwhen flag clicked\nset size to (10) %\ngo to x: (220) y: (-160)\n\nshow\nrepeat (9)\n    change y by (-20)\n    change size by (10)\nend\n\nhide\n\n@Sprite21\n\nwhen flag clicked\nset [person v] to [0]\nhide\n\nwhen I receive [next level v]\n\nwhen I receive [move v]\n\nwhen flag clicked\nforever\n    if <touching (sprite25 v)?> then\n        broadcast (bad v)\n    end\nend\n\nwait (10) seconds\n\nwait (pick random (1) to (3)) seconds\nswitch costume to (costume2 v)\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\nwait (0.1) seconds\nchange x by (10)\n\nchange [person v] by (1)\n\nwhen flag clicked\nforever\n    if <(person) > [13]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(person) = [13]> then\n        show\n        go to x: (127) y: (9)\n        broadcast (move v)\n        forever\n            switch costume to (costume3 v)\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            wait (0.01) seconds\n            change x by (-2)\n            next costume\n            wait (pick random (1) to (3)) seconds\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n            change x by (2)\n            wait (0.01) seconds\n        end\n    end\nend\n\n@Sprite22\n\nwhen flag clicked\n\nwhen I receive [start v]\nforever\n    if <touching (water v)?> then\n        go to x: (-200) y: ((y position) + (40))\n    end\nend\n\nwhen I receive [start v]\ngo to x: (-200) y: (10)\nset size to (30) %\ngo to [front v] layer\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume1 v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\ngo to x: (-200) y: (11)\n\nwhen I receive [start v]\nforever\n    if <(x position) > [235]> then\n        broadcast (next level v)\n    end\nend\n\nforever\nend\n\nwhen I receive [bad v]\ngo to x: (-200) y: (11)\n\nwhen flag clicked\n\nforever\n    if <not <<<key (w v) pressed?> or <<key (space v) pressed?> or <key (up arrow v) pressed?>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>>> then\n        wait (3) seconds\n        if <not <<<key (w v) pressed?> or <<key (space v) pressed?> or <key (up arrow v) pressed?>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>>> then\n            switch costume to (costume3 v)\n        end\n    end\nend\n\n@Sprite23\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    if <(person) = [12]> then\n        go to [front v] layer\n        show\n        forever\n            repeat until <(person) > [12]>\n                wait (0.3) seconds\n                next costume\n            end\n            hide\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(person) > [12]> then\n        hide\n    end\nend\n\n@Sprite24\n\nwhen flag clicked\nforever\n    if <(person) = [14]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\nwait until <(person) = [15]>\ngo to x: (-213) y: (-94)\nshow\nwait (2) seconds\nswitch costume to (costume2 v)\nwait (1) seconds\nswitch costume to (costume1 v)\nglide (5) secs to x: (-35) y: (-94)\nswitch costume to (costume3 v)\n\nif  then\nend\n\nwhen flag clicked\n\nif <(person) = [15]> then\n    wait (10) seconds\n    broadcast (end v)\nend\n\n@Sprite26\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\nforever\n    wait (0.01) seconds\n    next costume\nend\n\n@Sprite11\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\nforever\n    wait (0.01) seconds\n    next costume\nend\n\n
Arrow keys to move\nJump over spikes and avoid dangerous traps\nClimb grass patches and jump high with jump pads\nFollow me, love and fav (Follow to get a chance to get a golden skin!) (just ask me)\nIf you are stuck to the ground jump!\nEnjoy\nPlay my other games NO ADVERTISING