Platformer
@Stage\n\nwhen I receive [end screen v]\nswitch backdrop to (blue sky 2  v)\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\n@platformer guy\n\nwhen flag clicked\nswitch costume to (cube v)\nset size to (400) %\nset [xv v] to [0]\nset [yv v] to [0]\nset [level v] to [1]\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        broadcast (level 2 v)\n        go to x: (item (2) of [spawn position x v]) y: (item (2) of [spawn position y v])\n        forever\n            change [yv v] by (-0.5)\n            if <key (right arrow v) pressed?> then\n                change [xv v] by (1)\n                point in direction (90)\n            end\n            if <key (left arrow v) pressed?> then\n                change [xv v] by (-0.7)\n                point in direction (-90)\n            end\n            set [xv v] to ((Xv) * (0.9))\n            change x by (Xv)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change y by (1)\n                            if <touching color (#000000)?> then\n                                change y by (1)\n                                if <touching color (#000000)?> then\n                                    change x by ((Xv) * (-1))\n                                    change x by (-1)\n                                    change y by (-5)\n                                    change x by (1)\n                                    if <key (up arrow v) pressed?> 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 [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 y by (Yv)\n            if <touching color (#000000)?> then\n                change y by ((Yv) * (-1))\n                set [yv v] to [0]\n            end\n            change y by (-1)\n            if <touching color (#000000)?> then\n                if <key (up arrow v) pressed?> then\n                    set [yv v] to [8]\n                end\n            end\n            change y by (1)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(level) = [2]> and <touching (portal v)?>> then\n        broadcast (level 3 v)\n        change [level v] by (1)\n        go to x: (item (3) of [spawn position x v]) y: (item (3) of [spawn position y v])\n    end\n    if <<(level) = [3]> and <touching (portal v)?>> then\n        broadcast (level 4 v)\n        change [level v] by (1)\n        go to x: (item (4) of [spawn position x v]) y: (item (4) of [spawn position y v])\n    end\n    if <<(level) = [4]> and <touching (portal v)?>> then\n        broadcast (level 5 v)\n        change [level v] by (1)\n        go to x: (item (5) of [spawn position x v]) y: (item (5) of [spawn position y v])\n    end\n    if <<(level) = [5]> and <touching (portal v)?>> then\n        broadcast (level 6 v)\n        change [level v] by (1)\n        go to x: (item (6) of [spawn position x v]) y: (item (6) of [spawn position y v])\n    end\n    if <<(level) = [6]> and <touching (portal v)?>> then\n        broadcast (level 7 v)\n        change [level v] by (1)\n        go to x: (item (7) of [spawn position x v]) y: (item (7) of [spawn position y v])\n        set size to (400) %\n    end\n    if <<(level) = [7]> and <touching (portal v)?>> then\n        broadcast (level 8 v)\n        change [level v] by (1)\n        go to x: (item (8) of [spawn position x v]) y: (item (8) of [spawn position y v])\n        set size to (400) %\n    end\n    if <<(level) = [8]> and <touching (portal v)?>> then\n        broadcast (level 9 v)\n        change [level v] by (1)\n        go to x: (item (9) of [spawn position x v]) y: (item (9) of [spawn position y v])\n        set size to (400) %\n    end\n    if <<(level) = [9]> and <touching (portal v)?>> then\n        broadcast (level 10 \(last level\) v)\n        change [level v] by (1)\n        go to x: (item (10) of [spawn position x v]) y: (item (10) of [spawn position y v])\n        set size to (400) %\n    end\n    if <<(level) = [10]> and <touching (portal v)?>> then\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        go to x: (37) y: (12)\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        set size to (900) %\n        broadcast (End screen v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nset size to (900) %\ngo to x: (37) y: (12)\n\nwhen flag clicked\ngo to x: (item (1) of [spawn position x v]) y: (item (1) of [spawn position y v])\nset size to (400) %\nshow variable [level v]\n\nwhen flag clicked\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.7)\n        point in direction (-90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <key (up arrow v) pressed?> 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 [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 y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [8]\n        end\n    end\n    change y by (1)\n    if <(level) = [2]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff9b00)?> then\n        set size to (200) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ee00ff)?> then\n        set [yv v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (item (level) of [spawn position x v]) y: (item (level) of [spawn position y v])\n        set size to (400) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#d0f6ff)?> then\n        set size to (900) %\n        go to x: (51) y: (13)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#d0f6ff)?> then\n        set size to (900) %\n        go to x: (51) y: (13)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#d0f6ff)?> then\n        set size to (900) %\n        go to x: (51) y: (13)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#d0f6ff)?> then\n        set size to (900) %\n        go to x: (51) y: (13)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#d0f6ff)?> then\n        set size to (900) %\n        go to x: (51) y: (13)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#d0f6ff)?> then\n        set size to (900) %\n        go to x: (51) y: (13)\n    end\nend\n\nwhen flag clicked\ngo to x: (item (1) of [spawn position x v]) y: (item (1) of [spawn position y v])\nset size to (400) %\nset size to (400) %\nforever\n    forever\n        forever\n            if <<(level) = [10]> and <touching (portal v)?>> then\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                broadcast (End screen v)\n                wait (1) seconds\n                stop [all v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (item (1) of [spawn position x v]) y: (item (1) of [spawn position y v])\nset size to (400) %\nset size to (400) %\nforever\n    forever\n        forever\n            if <<(level) = [10]> and <touching (portal v)?>> then\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                broadcast (End screen v)\n                stop [all v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (item (1) of [spawn position x v]) y: (item (1) of [spawn position y v])\nset size to (400) %\nset size to (400) %\nforever\n    forever\n        forever\n            if <<(level) = [10]> and <touching (portal v)?>> then\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                broadcast (End screen v)\n                wait (1) seconds\n                stop [all v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (item (1) of [spawn position x v]) y: (item (1) of [spawn position y v])\nset size to (400) %\nset size to (400) %\nforever\n    forever\n        forever\n            if <<(level) = [10]> and <touching (portal v)?>> then\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                broadcast (End screen v)\n                stop [all v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (item (1) of [spawn position x v]) y: (item (1) of [spawn position y v])\nset size to (400) %\nset size to (400) %\nforever\n    forever\n        forever\n            if <<(level) = [10]> and <touching (portal v)?>> then\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                go to x: (37) y: (12)\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                set size to (900) %\n                broadcast (End screen v)\n                wait (1) seconds\n                stop [all v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nshow list [goal position x v]\nshow list [goal position y v]\n\n@level\n\nwhen flag clicked\nset size to (100) %\ngo to x: (-35) y: (7)\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        forever\n            switch costume to (costume2 v)\n            show\n        end\n    end\nend\n\nwhen I receive [level 3 v]\nforever\n    switch costume to (costume3 v)\n    show\nend\n\nwhen flag clicked\nforever\n    switch costume to (start screen v)\n    show\nend\n\nwhen I receive [level 4 v]\nforever\n    switch costume to (costume4 v)\n    show\nend\n\nwhen I receive [level 5 v]\nforever\n    switch costume to (costume5 v)\n    show\nend\n\nwhen I receive [level 6 v]\nforever\n    switch costume to (costume6 v)\n    show\nend\n\nwhen I receive [level 7 v]\nforever\n    switch costume to (costume7 v)\n    show\nend\n\nwhen I receive [level 8 v]\nforever\n    switch costume to (costume8 v)\n    show\nend\n\nwhen I receive [level 9 v]\nforever\n    switch costume to (costume9 v)\n    show\nend\n\nwhen I receive [level 10 \(last level\) v]\nforever\n    switch costume to (costume10 v)\n    show\nend\n\nwhen I receive [end screen v]\nforever\n    set [end v] to [1]\n    go to x: (-35) y: (7)\n    switch costume to (end screen v)\n    show\n    hide variable [level v]\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    show\nend\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        forever\n            switch costume to (costume2 v)\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide variable [end v]\nset [end v] to [0]\n\n@portal\n\nwhen flag clicked\nshow\nforever\n    go to x: (item (level) of [goal position x v]) y: ((item (level) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 2 v]\nforever\n    go to x: (item (2) of [goal position x v]) y: ((item (2) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 3 v]\nforever\n    go to x: (item (3) of [goal position x v]) y: ((item (3) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 4 v]\nforever\n    go to x: (item (4) of [goal position x v]) y: ((item (4) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 5 v]\nforever\n    go to x: (item (5) of [goal position x v]) y: ((item (5) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 6 v]\nforever\n    go to x: (item (6) of [goal position x v]) y: ((item (6) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 7 v]\nforever\n    go to x: (item (7) of [goal position x v]) y: ((item (7) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 8 v]\nforever\n    go to x: (item (8) of [goal position x v]) y: ((item (8) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 9 v]\nforever\n    go to x: (item (9) of [goal position x v]) y: ((item (9) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [level 10 \(last level\) v]\nforever\n    go to x: (item (10) of [goal position x v]) y: ((item (10) of [goal position y v]) + ((5) * ([cos v] of (((timer) - (1)) * (200)) )))\nend\n\nwhen I receive [end screen v]\nhide\n\n@yesssss triangle2\n\nwhen I receive [level 3 v]\ngo to x: (21) y: (25)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 5 v]\ngo to x: (-41) y: (45)\nshow\n\nwhen I receive [level 6 v]\nhide\n\nwhen I receive [level 7 v]\ngo to x: (35) y: (-149)\nshow\n\nwhen I receive [level 8 v]\ngo to x: (104) y: (-109)\nshow\n\nwhen I receive [level 9 v]\nhide\n\nwhen I receive [end screen v]\ngo to x: (-98) y: (-94)\nshow\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (-64) y: (16)\nshow\n\nwhen flag clicked\nhide\nhide\ngo to x: (0) y: (-95)\nforever\n    if <(level) = [2]> then\n        show\n    end\nend\n\n@yesssss triangle5\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 5 v]\ngo to x: (25) y: (-92)\nshow\n\nwhen I receive [level 6 v]\nhide\n\nwhen I receive [level 7 v]\ngo to x: (-57) y: (-149)\nshow\n\nwhen I receive [level 3 v]\ngo to x: (-110) y: (-45)\nshow\n\nwhen I receive [level 8 v]\ngo to x: (-138) y: (-109)\nshow\n\nwhen I receive [level 9 v]\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (20) y: (-36)\nshow\n\nwhen I receive [end screen v]\ngo to x: (-66) y: (-94)\nshow\n\nwhen flag clicked\nhide\nhide\ngo to x: (-31) y: (-95)\nforever\n    if <(level) = [2]> then\n        show\n    end\nend\n\n@yesssss triangle3\n\nwhen I receive [level 3 v]\ngo to x: (137) y: (-96)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 5 v]\ngo to x: (57) y: (-92)\nshow\n\nwhen I receive [level 6 v]\nhide\n\nwhen I receive [level 7 v]\ngo to x: (98) y: (-149)\nshow\n\nwhen I receive [level 8 v]\nhide\n\nwhen I receive [level 9 v]\nhide\n\nwhen I receive [level 7 v]\nhide\n\nwhen I receive [end screen v]\ngo to x: (-33) y: (-94)\nshow\n\nwhen flag clicked\nhide\nhide\ngo to x: (27) y: (-95)\nforever\n    if <(level) = [2]> then\n        show\n    end\nend\n\n@yesssss triangle4\n\nwhen flag clicked\nhide\nhide\ngo to x: (27) y: (-95)\nforever\n    if <(level) = [2]> then\n        show\n    end\nend\n\nwhen I receive [level 3 v]\ngo to x: (137) y: (-96)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 5 v]\ngo to x: (-7) y: (-92)\nshow\n\nwhen I receive [level 6 v]\nhide\n\nwhen I receive [level 7 v]\ngo to x: (66) y: (-149)\nshow\n\nwhen I receive [level 8 v]\ngo to x: (180) y: (-109)\nshow\n\nwhen I receive [level 9 v]\nhide\n\nwhen I receive [end screen v]\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (59) y: (-92)\nshow\n\n@yesssss triangle6\n\nwhen flag clicked\nhide\nhide\ngo to x: (0) y: (-95)\nforever\n    if <(level) = [2]> then\n        show\n    end\nend\n\nwhen I receive [level 3 v]\ngo to x: (21) y: (25)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 5 v]\ngo to x: (-41) y: (45)\nshow\n\nwhen I receive [level 6 v]\nhide\n\nwhen I receive [level 7 v]\ngo to x: (5) y: (-149)\nshow\n\nwhen I receive [level 8 v]\ngo to x: (27) y: (-109)\nshow\n\nwhen I receive [level 9 v]\nhide\n\nwhen I receive [end screen v]\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (144) y: (-92)\nshow\n\n@yesssss triangle7\n\nwhen flag clicked\nhide\nhide\ngo to x: (0) y: (-95)\nforever\n    if <(level) = [2]> then\n        show\n    end\nend\n\nwhen I receive [level 3 v]\ngo to x: (21) y: (25)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 5 v]\ngo to x: (-41) y: (45)\nshow\n\nwhen I receive [level 6 v]\nhide\n\nwhen I receive [level 7 v]\ngo to x: (-25) y: (-149)\nshow\n\nwhen I receive [level 8 v]\ngo to x: (-55) y: (-109)\nshow\n\nwhen I receive [level 9 v]\nhide\n\nwhen I receive [end screen v]\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (101) y: (-92)\nshow\n\n@yesssss triangle8\n\nwhen flag clicked\nhide\nhide\ngo to x: (0) y: (-95)\nforever\n    if <(level) = [2]> then\n        show\n    end\nend\n\nwhen I receive [level 3 v]\ngo to x: (21) y: (25)\nshow\n\nwhen I receive [level 4 v]\nhide\n\nwhen I receive [level 5 v]\ngo to x: (-41) y: (45)\nshow\n\nwhen I receive [level 6 v]\nhide\n\nwhen I receive [level 7 v]\ngo to x: (-25) y: (-149)\nshow\n\nwhen I receive [level 8 v]\ngo to x: (-55) y: (-109)\nshow\n\nwhen I receive [level 9 v]\nhide\n\nwhen I receive [end screen v]\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (95) y: (39)\nshow\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [level 4 v]\ngo to x: (-103) y: (-139)\nshow\n\nwhen I receive [level 6 v]\nhide\n\nwhen I receive [level 7 v]\nhide\n\nwhen I receive [level 5 v]\ngo to x: (-103) y: (-139)\nshow\n\nwhen I receive [level 10 \(last level\) v]\nhide\n\nwhen I receive [end screen v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [level 6 v]\ngo to x: (-55) y: (-35)\nshow\n\nwhen I receive [level 7 v]\nhide\n\nwhen I receive [level 8 v]\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (-55) y: (-35)\nshow\n\nwhen I receive [end screen v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [level 9 v]\ngo to x: (-156) y: (-52)\nshow\n\nwhen I receive [level 10 \(last level\) v]\nhide\n\nwhen I receive [end screen v]\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (-144) y: (-128)\nshow\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen I receive [level 9 v]\nswitch costume to (costume1 v)\ngo to x: (108) y: (39)\nshow\n\nwhen I receive [end screen v]\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (-39) y: (-58)\nnext costume\nshow\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen I receive [end screen v]\nhide\n\nwhen I receive [level 9 v]\ngo to x: (-41) y: (79)\nshow\n\nwhen I receive [level 10 \(last level\) v]\nhide\n\nwhen I receive [level 6 v]\nhide\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (36) y: (28)\nshow\n\nwhen I receive [end screen v]\nhide\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (120) y: (-24)\nshow\n\nwhen I receive [end screen v]\nhide\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (195) y: (51)\nshow\n\nwhen I receive [end screen v]\nhide\n\n@Sprite11\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 \(last level\) v]\ngo to x: (195) y: (51)\nshow\n\nwhen I receive [end screen v]\nhide\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (0)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\n
------------------------PLEASE READ----------------------\nThis is my first platformer, I am very excited to share it with everyone! Arrow keys to move. If there are any glitches please tell me about them, also sorry if it is short    I just wanted to see if it would be good. If it is good please consider giving it a love ❤️ and a favourite ⭐. Maybe a follow? If you give it a love AND a favourite or you follow me please tell me I will follow you back. Also, F4F if you want.