Strange III [Platformer]
@Stage\n\nwhen flag clicked\nswitch backdrop to (wait v)\n\nwhen I receive [start v]\nswitch backdrop to (lab v)\n\nbroadcast (Start v)\nbroadcast (Player Start v)\n\nwhen I receive [start2 v]\nswitch backdrop to (exitlab1 v)\n\nwhen I receive [next level v]\nif <(Level) < [16]> then\n    switch backdrop to (lab v)\nelse\n    if <(Level) = [16]> then\n        switch backdrop to (exitlab1 v)\n    else\n        if <(backdrop [name v]) = [Exit Lab]> then\n            switch backdrop to (outside1 v)\n        else\n            if <(backdrop [name v]) = [Outside1]> then\n                switch backdrop to (outside2 v)\n            else\n                if <(backdrop [name v]) = [Outside2]> then\n                    if <(Level) = [22]> then\n                        switch backdrop to (outside1 v)\n                    else\n                        switch backdrop to (outside3 v)\n                    end\n                else\n                    switch backdrop to (outside1 v)\n                end\n            end\n        end\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.1)\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\n\n@Player\n\nwhen I receive [bounce v]\nset [controlbounce v] to [1]\nwait (0.1) seconds\nwait until <<touching (ground v)?> or <<touching (mushrooms v)?> or <touching (moving ground v)?>>>\nset [controlbounce v] to [0]\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\ndefine Touch Ground <up?>\nchange [falling? v] by (1)\nrepeat until <not <<touching (ground v)?> or <touching (moving ground v)?>>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine Walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(Slope) = [8]> or <not <<touching (ground v)?> or <touching (moving ground v)?>>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(Slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (Slope))\nend\nif <(speed) < [0]> then\n    change [frame v] by ((speed) / (-8))\nelse\n    change [frame v] by ((speed) / (8))\nend\n\ndefine Set Costume\nif <(Falling?) < [6]> then\n    if <(Frame) = [0]> then\n        switch costume to (costume1 v)\n    else\n        switch costume to ([floor v] of ((5) + ((Frame) mod (5))) )\n    end\nelse\n    if <(Speed Y) > [0]> then\n        switch costume to (jump v)\n    else\n        switch costume to (fall v)\n    end\nend\n\nwhen I receive [start v]\nset [level v] to [1]\nbroadcast (Player Start v)\n\nwhen I receive [teleport v]\ngo to (portal2 v)\n\nwhen I receive [teleport2 v]\ngo to (portal1 v)\n\nwhen I receive [start2 v]\nset [level v] to [16]\nbroadcast (Player Start v)\n\nwhen I receive [player start v]\ngo to x: (-226) y: (-95)\npoint in direction (90)\nshow\nset [falling? v] to [0]\nset [speed y v] to [0]\nset rotation style [left-right v]\ngo to [front v] layer\ngo [backward v] (1) layers\nforever\n    switch costume to (hitbox v)\n    change y by (Speed Y)\n    if <(ControlBounce) = [1]> then\n        change [speed y v] by (-2)\n    else\n        if <<(Falling?) < [4]> or <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n            change [speed y v] by (-1)\n        else\n            change [speed y v] by (-2)\n        end\n    end\n    Touch Ground <(Speed Y) > [1]>\n    set [speed x v] to ((Speed X) * (0.7))\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [speed x v] by (-1.5)\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [speed x v] by (1.5)\n    end\n    if <(Speed X) < [-0.5]> then\n        Walk [-90] (Speed X)\n    else\n        if <(Speed X) > [0.5]> then\n            Walk [90] (Speed X)\n        else\n            set [frame v] to [0]\n        end\n    end\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        if <<(Jump Key) = [0]> and <(Falling?) < [4]>> then\n            set [speed y v] to [12]\n            set [jump key v] to [1]\n            set [falling? v] to [6]\n        end\n    else\n        set [jump key v] to [0]\n    end\n    if <<(x position) > [239]> or <key (p v) pressed?>> then\n        if <(Level) = [15]> then\n            broadcast (Cut-Scene2 v)\n            stop [other scripts in sprite v]\n            hide\n            stop [this script v]\n        else\n            if <(Level) = [30]> then\n                broadcast (Cut-Scene3 v)\n                stop [other scripts in sprite v]\n                hide\n                stop [this script v]\n            else\n                if <key (p v) pressed?> then\n                    switch costume to (costume1 v)\n                    wait until <not <key (p v) pressed?>>\n                end\n                change [level v] by (1)\n                broadcast (Next Level v)\n                if <<(Level) = [2]> or <<(Level) = [6]> or <(Level) = [8]>>> then\n                    go to x: (-226) y: (127)\n                else\n                    if <(Level) = [12]> then\n                        go to x: (-226) y: (150)\n                    else\n                        go to x: (-226) y: (-95)\n                    end\n                end\n                point in direction (90)\n            end\n        end\n    end\n    if <touching (bad v)?> then\n        if <not <touching (mushrooms v)?>> then\n            broadcast (Die v)\n            if <<(Level) = [2]> or <<(Level) = [6]> or <(Level) = [8]>>> then\n                go to x: (-226) y: (135)\n            else\n                if <(Level) = [12]> then\n                    go to x: (-226) y: (150)\n                else\n                    go to x: (-226) y: (-95)\n                end\n            end\n            set [speed y v] to [0]\n        end\n    end\n    Set Costume\nend\n\nwhen I receive [start v]\nforever\n    play sound [404 - Strange III soundtrack v] until done\n    wait (1) seconds\nend\n\nwhen I receive [start2 v]\nforever\n    play sound [404 - Strange III soundtrack v] until done\n    wait (1) seconds\nend\n\n@Ground\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nswitch costume to (level1 v)\nshow\n\nwhen I receive [next level v]\nswitch costume to (join [Level] (Level))\n\nwhen I receive [start2 v]\nswitch costume to (join [Level] (Level))\nshow\n\n@Moving Ground\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nstop [other scripts in sprite v]\nbroadcast (Start For MG v)\n\nwhen I receive [next level v]\nif <not <(Level) = [13]>> then\n    if <not <(Level) = [14]>> then\n        if <not <(Level) = [15]>> then\n            if <not <(Level) = [20]>> then\n                if <not <(Level) = [22]>> then\n                    if <not <(Level) = [25]>> then\n                        if <not <(Level) = [28]>> then\n                            if <not <(Level) = [30]>> then\n                                hide\n                                stop [other scripts in sprite v]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen I receive [cut-scene2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [start for mg v]\nif <(Level) = [13]> then\n    switch costume to (level13 v)\n    show\n    go to x: (-75) y: (-125)\n    wait until <touching (player v)?>\n    repeat until <not <(Level) = [13]>>\n        repeat (70)\n            change x by (2)\n        end\n        repeat (70)\n            change x by (-2)\n        end\n    end\nelse\n    if <(Level) = [14]> then\n        switch costume to (level14 v)\n        show\n        go to x: (0) y: (0)\n        wait until <touching (player v)?>\n        repeat until <not <(Level) = [14]>>\n            repeat (106)\n                change y by (2)\n            end\n            repeat (106)\n                change y by (-2)\n            end\n        end\n    else\n        if <(Level) = [15]> then\n            switch costume to (level15 v)\n            show\n            go to x: (-145) y: (-153)\n            wait until <touching (player v)?>\n            repeat until <not <(Level) = [15]>>\n                repeat (150)\n                    change x by (2)\n                end\n                repeat (150)\n                    change x by (-2)\n                end\n            end\n        else\n            if <(Level) = [20]> then\n                switch costume to (level20 v)\n                show\n                go to x: (-210) y: (80)\n                wait until <touching (player v)?>\n                repeat until <not <(Level) = [20]>>\n                    repeat (420)\n                        change x by (1)\n                    end\n                    repeat (420)\n                        change x by (-1)\n                    end\n                end\n            else\n                if <(Level) = [22]> then\n                    switch costume to (level22/25/28 v)\n                    show\n                    go to x: (-21) y: (-122)\n                    wait until <touching (player v)?>\n                    repeat until <not <(Level) = [22]>>\n                        change x by (3)\n                        if <(x position) > [240]> then\n                            hide\n                            stop [this script v]\n                        end\n                    end\n                else\n                    if <(Level) = [25]> then\n                        switch costume to (level22/25/28 v)\n                        show\n                        go to x: (-120) y: (40)\n                        wait until <touching (player v)?>\n                        repeat until <not <(Level) = [25]>>\n                            repeat (120)\n                                change x by (2)\n                            end\n                            repeat (120)\n                                change x by (-2)\n                            end\n                        end\n                    else\n                        if <(Level) = [28]> then\n                            switch costume to (level22/25/28 v)\n                            show\n                            go to x: (15) y: (-136)\n                            wait until <touching (player v)?>\n                            repeat until <not <(Level) = [28]>>\n                                repeat (70)\n                                    change y by (2)\n                                end\n                                repeat (70)\n                                    change y by (-2)\n                                end\n                            end\n                        else\n                            if <(Level) = [30]> then\n                                switch costume to (level30 v)\n                                show\n                                go to x: (1) y: (-128)\n                                wait until <touching (player v)?>\n                                repeat until <not <(Level) = [30]>>\n                                    repeat (80)\n                                        change y by (2)\n                                    end\n                                    repeat (80)\n                                        change y by (-2)\n                                    end\n                                end\n                            else\n                                hide\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [die v]\nstop [other scripts in sprite v]\nbroadcast (Start For MG v)\n\n@Bad\n\nwhen flag clicked\ngo to x: (0) y: (0)\nclear graphic effects\nhide\n\nwhen I receive [start v]\ngo to x: (0) y: (0)\nclear graphic effects\nswitch costume to (level1 v)\nshow\n\nwhen I receive [next level v]\ngo to x: (0) y: (0)\nswitch costume to (join [Level] (Level))\nshow\n\nwhen I receive [start2 v]\ngo to x: (0) y: (0)\nswitch costume to (join [Level] (Level))\nshow\n\n@Portal1\n\nwhen flag clicked\nhide\n\nwhen I receive [player start v]\nset [teleportable? v] to [yes]\ngo to [back v] layer\nforever\n    if <<(Level) = [3]> or <<(Level) = [5]> or <<(Level) = [7]> or <<(Level) = [8]> or <<(Level) = [9]> or <<(Level) = [10]> or <<(Level) = [11]> or <<(Level) = [13]> or <<(Level) = [13]> or <<(Level) = [15]> or <<(Level) = [17]> or <<(Level) = [18]> or <<(Level) = [20]> or <<(Level) = [22]> or <<(Level) = [24]> or <<(Level) = [26]> or <<(Level) = [28]> or <<(Level) = [29]> or <(Level) = [30]>>>>>>>>>>>>>>>>>>> then\n        show\n        if <(Level) = [3]> then\n            go to x: (-120) y: (-110)\n        else\n            if <(Level) = [5]> then\n                go to x: (-190) y: (50)\n            else\n                if <(Level) = [7]> then\n                    go to x: (115) y: (60)\n                else\n                    if <(Level) = [8]> then\n                        go to x: (-120) y: (-20)\n                    else\n                        if <(Level) = [9]> then\n                            if <<(x position) = [-50]> and <(y position) = [85]>> then\n                                go to x: (-50) y: (85)\n                            else\n                                go to x: (-50) y: (-85)\n                            end\n                        else\n                            if <(Level) = [10]> then\n                                go to x: (125) y: (50)\n                            else\n                                if <(Level) = [11]> then\n                                    if <<(x position) = [49]> and <(y position) = [-70]>> then\n                                        go to x: (49) y: (-70)\n                                    else\n                                        go to x: (-43) y: (100)\n                                    end\n                                else\n                                    if <(Level) = [13]> then\n                                        go to x: (200) y: (-50)\n                                    else\n                                        if <(Level) = [15]> then\n                                            go to x: (70) y: (-30)\n                                        else\n                                            if <(Level) = [17]> then\n                                                go to x: (-100) y: (-70)\n                                            else\n                                                if <(Level) = [18]> then\n                                                    if <<(x position) = [-80]> and <(y position) = [20]>> then\n                                                        go to x: (-80) y: (20)\n                                                    else\n                                                        go to x: (-80) y: (-100)\n                                                    end\n                                                else\n                                                    if <(Level) = [20]> then\n                                                        go to x: (-210) y: (15)\n                                                    else\n                                                        if <(Level) = [22]> then\n                                                            go to x: (-50) y: (80)\n                                                        else\n                                                            if <(Level) = [24]> then\n                                                                go to x: (20) y: (140)\n                                                            else\n                                                                if <(Level) = [26]> then\n                                                                    if <<(x position) = [50]> and <(y position) = [50]>> then\n                                                                        go to x: (50) y: (50)\n                                                                    else\n                                                                        go to x: (130) y: (-70)\n                                                                    end\n                                                                else\n                                                                    if <(Level) = [28]> then\n                                                                        go to x: (-70) y: (70)\n                                                                    else\n                                                                        if <(Level) = [30]> then\n                                                                            if <<(x position) = [-50]> and <(y position) = [150]>> then\n                                                                                go to x: (-50) y: (150)\n                                                                            else\n                                                                                go to x: (-200) y: (130)\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        if <(Teleportable?) = [yes]> then\n            if <touching (player v)?> then\n                if <not <<(x position) = [49]> and <(y position) = [-70]>>> then\n                    wait (0.2) seconds\n                end\n                set [teleportable? v] to [no]\n                broadcast (Teleport v)\n                if <(Level) = [9]> then\n                    if <not <<(x position) = [-50]> and <(y position) = [85]>>> then\n                        repeat (5)\n                            change size by (-20)\n                        end\n                        go to x: (-50) y: (85)\n                        repeat (5)\n                            change size by (18)\n                        end\n                    end\n                else\n                    if <(Level) = [11]> then\n                        if <not <<(x position) = [49]> and <(y position) = [-70]>>> then\n                            repeat (5)\n                                change size by (-20)\n                            end\n                            go to x: (49) y: (-70)\n                            repeat (5)\n                                change size by (18)\n                            end\n                        end\n                    else\n                        if <(Level) = [18]> then\n                            if <not <<(x position) = [-80]> and <(y position) = [20]>>> then\n                                repeat (5)\n                                    change size by (-20)\n                                end\n                                go to x: (-80) y: (20)\n                                repeat (5)\n                                    change size by (18)\n                                end\n                            end\n                        else\n                            if <(Level) = [26]> then\n                                if <not <<(x position) = [50]> and <(y position) = [50]>>> then\n                                    repeat (5)\n                                        change size by (-20)\n                                    end\n                                    go to x: (50) y: (50)\n                                    repeat (5)\n                                        change size by (18)\n                                    end\n                                end\n                            else\n                                if <(Level) = [30]> then\n                                    if <not <<(x position) = [-50]> and <(y position) = [150]>>> then\n                                        repeat (5)\n                                            change size by (-20)\n                                        end\n                                        go to x: (-50) y: (150)\n                                        repeat (5)\n                                            change size by (18)\n                                        end\n                                        set [teleportable? v] to [no]\n                                        wait (3) seconds\n                                        set [teleportable? v] to [yes]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [teleport2 v]\nwait until <not <touching (player v)?>>\nset [teleportable? v] to [yes]\n\nwhen I receive [die v]\nif <(Level) = [9]> then\n    go to x: (-50) y: (-85)\nelse\n    if <(Level) = [11]> then\n        go to x: (-43) y: (100)\n    else\n        if <(Level) = [18]> then\n            go to x: (-80) y: (-100)\n        else\n            if <(Level) = [26]> then\n                go to x: (130) y: (-70)\n            else\n                if <(Level) = [30]> then\n                    go to x: (-200) y: (130)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [cut-scene2 v]\nhide\nstop [other scripts in sprite v]\n\n\n\ngo to x: (-50) y: (150)\n\ngo to x: (-180) y: (100)\n\n@Portal2\n\nwhen I receive [cut-scene2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\n\nwhen I receive [player start v]\ngo to [back v] layer\nforever\n    if <<(Level) = [3]> or <<(Level) = [5]> or <<(Level) = [7]> or <<(Level) = [8]> or <<(Level) = [9]> or <<(Level) = [10]> or <<(Level) = [11]> or <<(Level) = [13]> or <<(Level) = [15]> or <<(Level) = [17]> or <<(Level) = [18]> or <<(Level) = [20]> or <<(Level) = [22]> or <<(Level) = [24]> or <<(Level) = [26]> or <<(Level) = [28]> or <<(Level) = [29]> or <(Level) = [30]>>>>>>>>>>>>>>>>>> then\n        show\n        if <(Level) = [3]> then\n            go to x: (-70) y: (65)\n        else\n            if <(Level) = [5]> then\n                go to x: (0) y: (130)\n            else\n                if <(Level) = [7]> then\n                    go to x: (-160) y: (40)\n                else\n                    if <(Level) = [8]> then\n                        go to x: (-10) y: (130)\n                    else\n                        if <(Level) = [9]> then\n                            if <<(x position) = [190]> and <(y position) = [20]>> then\n                                go to x: (190) y: (20)\n                            else\n                                go to x: (60) y: (140)\n                            end\n                        else\n                            if <(Level) = [10]> then\n                                go to x: (0) y: (150)\n                            else\n                                if <(Level) = [11]> then\n                                    if <<(x position) = [140]> and <(y position) = [100]>> then\n                                        go to x: (140) y: (100)\n                                    else\n                                        go to x: (49) y: (100)\n                                    end\n                                else\n                                    if <(Level) = [13]> then\n                                        go to x: (-20) y: (100)\n                                    else\n                                        if <(Level) = [15]> then\n                                            go to x: (-70) y: (55)\n                                        else\n                                            if <(Level) = [17]> then\n                                                go to x: (-50) y: (0)\n                                            else\n                                                if <(Level) = [18]> then\n                                                    if <<(x position) = [-220]> and <(y position) = [140]>> then\n                                                        go to x: (-220) y: (140)\n                                                    else\n                                                        go to x: (-220) y: (20)\n                                                    end\n                                                else\n                                                    if <(Level) = [20]> then\n                                                        go to x: (-210) y: (140)\n                                                    else\n                                                        if <(Level) = [22]> then\n                                                            go to x: (100) y: (120)\n                                                        else\n                                                            if <(Level) = [24]> then\n                                                                go to x: (50) y: (-70)\n                                                            else\n                                                                if <(Level) = [26]> then\n                                                                    if <<(x position) = [200]> and <(y position) = [55]>> then\n                                                                        go to x: (200) y: (55)\n                                                                    else\n                                                                        go to x: (-115) y: (120)\n                                                                    end\n                                                                else\n                                                                    if <(Level) = [28]> then\n                                                                        go to x: (15) y: (-90)\n                                                                    else\n                                                                        if <(Level) = [29]> then\n                                                                            go to x: (70) y: (70)\n                                                                        else\n                                                                            if <(Level) = [30]> then\n                                                                                if <<(x position) = [102]> and <(y position) = [100]>> then\n                                                                                    go to x: (102) y: (100)\n                                                                                else\n                                                                                    go to x: (2) y: (100)\n                                                                                end\n                                                                            end\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        if <(Teleportable?) = [yes]> then\n            if <touching (player v)?> then\n                wait (0.2) seconds\n                set [teleportable? v] to [no]\n                broadcast (Teleport2 v)\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [teleport v]\nif <(Level) = [9]> then\n    if <not <<(x position) = [190]> and <(y position) = [20]>>> then\n        repeat (5)\n            change size by (-20)\n        end\n        go to x: (190) y: (20)\n        repeat (5)\n            change size by (18)\n        end\n    end\nelse\n    if <(Level) = [11]> then\n        if <not <<(x position) = [140]> and <(y position) = [100]>>> then\n            repeat (5)\n                change size by (-20)\n            end\n            go to x: (140) y: (100)\n            repeat (5)\n                change size by (18)\n            end\n        end\n    else\n        if <(Level) = [18]> then\n            if <not <<(x position) = [-220]> and <(y position) = [140]>>> then\n                repeat (5)\n                    change size by (-20)\n                end\n                go to x: (-220) y: (140)\n                repeat (5)\n                    change size by (18)\n                end\n            end\n        else\n            if <(Level) = [26]> then\n                if <not <<(x position) = [200]> and <(y position) = [55]>>> then\n                    repeat (5)\n                        change size by (-20)\n                    end\n                    go to x: (200) y: (55)\n                    repeat (5)\n                        change size by (18)\n                    end\n                end\n            else\n                if <(Level) = [30]> then\n                    if <not <<(x position) = [102]> and <(y position) = [100]>>> then\n                        repeat (5)\n                            change size by (-20)\n                        end\n                        go to x: (102) y: (100)\n                        repeat (5)\n                            change size by (18)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nwait until <not <touching (player v)?>>\nset [teleportable? v] to [yes]\n\nwhen I receive [die v]\nif <(Level) = [9]> then\n    go to x: (60) y: (140)\nelse\n    if <(Level) = [11]> then\n        go to x: (49) y: (100)\n    else\n        if <(Level) = [18]> then\n            go to x: (-220) y: (20)\n        else\n            if <(Level) = [26]> then\n                go to x: (-115) y: (120)\n            else\n                if <(Level) = [30]> then\n                    go to x: (2) y: (100)\n                end\n            end\n        end\n    end\nend\n\ngo to x: (2) y: (100)\n\n@Mushrooms\n\nwhen I receive [cut-scene3 v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nset [controlbounce v] to [0]\nhide\n\nwhen I receive [player start v]\nforever\n    if <<(Level) = [23]> or <<(Level) = [24]> or <<(Level) = [25]> or <<(Level) = [26]> or <<(Level) = [27]> or <<(Level) = [28]> or <<(Level) = [29]> or <(Level) = [30]>>>>>>>> then\n        switch costume to (join [Level] (Level))\n        show\n    else\n        hide\n    end\n    if <touching (player v)?> then\n        set [speed y v] to [25]\n        broadcast (Bounce v)\n    end\nend\n\n@Text\n\nwhen I receive [player start v]\ngo to [front v] layer\nwait (0.3) seconds\nforever\n    switch costume to (join [Level] (Level))\n    if <touching (player v)?> then\n        set [ghost v] effect to (100)\n    else\n        show\n        if <([x position v] of [player v]) < [-20]> then\n            set [ghost v] effect to ((-1) * ([x position v] of [player v]))\n        else\n            if <([x position v] of [player v]) > [20]> then\n                set [ghost v] effect to ([x position v] of [player v])\n            else\n                set [ghost v] effect to (0)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [cut-scene2 v]\nhide\nstop [other scripts in sprite v]\n\n@CUT-SCENE 1\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (wait v)\ngo to x: (0) y: (0)\nshow\nstart sound [Mystery3 v]\nwait (11) seconds\nrepeat (2)\n    wait (0.05) seconds\n    next costume\nend\nwait (1) seconds\nrepeat (2)\n    wait (0.03) seconds\n    switch costume to ((costume [number v]) - (1))\nend\nwait (1) seconds\nrepeat (3)\n    wait (0.03) seconds\n    next costume\nend\nwait (0.5) seconds\nrepeat until <(costume [name v]) = [Blink11]>\n    next costume\nend\nwait (2.5) seconds\nswitch costume to (creepilywatchinghimsleep1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [CreepilyWatchingHimSleep4]>\n    wait (0.03) seconds\n    next costume\nend\nwait (1) seconds\nrepeat until <(costume [name v]) = [CreepilyWatchingHimSleep11]>\n    wait (0.03) seconds\n    next costume\nend\nwait (0.5) seconds\nswitch costume to (questioning1 v)\nrepeat until <(costume [name v]) = [Questioning13]>\n    next costume\nend\nrepeat (4)\n    repeat until <(costume [name v]) = [Questioning11]>\n        wait (0.01) seconds\n        switch costume to ((costume [number v]) - (1))\n    end\n    repeat until <(costume [name v]) = [Questioning13]>\n        wait (0.01) seconds\n        next costume\n    end\nend\nrepeat until <(costume [name v]) = [Questioning1]>\n    switch costume to ((costume [number v]) - (1))\nend\nwait (2) seconds\nswitch costume to (explanation\(1\)1 v)\nwait (5.5) seconds\nswitch costume to (standup1 v)\nrepeat until <(costume [name v]) = [StandUp9]>\n    next costume\n    wait (0.03) seconds\nend\nwait (3.5) seconds\nswitch costume to (beckon1 v)\nwait (0.1) seconds\nrepeat until <(costume [name v]) = [Beckon7]>\n    next costume\n    wait (0.01) seconds\nend\nrepeat (3)\n    repeat until <(costume [name v]) = [Beckon10]>\n        next costume\n    end\n    repeat until <(costume [name v]) = [Beckon7]>\n        switch costume to ((costume [number v]) - (1))\n    end\n    wait (0.1) seconds\nend\nwait (1) seconds\ngo to x: (0) y: (0)\nswitch costume to (walking1 v)\ncreate clone of (_myself_ v)\nbroadcast (Extra Movement v)\nrepeat (6)\n    repeat (5)\n        change y by (2)\n    end\n    repeat (10)\n        change y by (1)\n    end\n    repeat (5)\n        change y by (-2)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\ngo to x: (0) y: (0)\nbroadcast (Cut-Scene1 pt. 2 v)\n\nswitch costume to (flashback19 v)\nwait (3) seconds\nrepeat (27)\n    next costume\nend\n\nwait (0.01) seconds\n\nwhen I receive [player start v]\n\nwhen I start as a clone\ngo to [front v] layer\nswitch costume to (walkingwords1 v)\ngo to x: (0) y: (0)\nwait (6.3) seconds\ndelete this clone\n\nwhen I receive [cut-scene1 pt. 2 v]\nswitch costume to (flashback1 v)\nwait (0.1) seconds\nrepeat until <(costume [name v]) = [Flashback6]>\n    wait (0.01) seconds\n    next costume\nend\nrepeat (50)\n    wait (0.01) seconds\n    switch costume to (flashback5 v)\n    wait (0.01) seconds\n    switch costume to (flashback6 v)\nend\nrepeat until <(costume [name v]) = [Flashback9]>\n    go to x: (0) y: (0)\n    next costume\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\nend\ngo to x: (0) y: (0)\nwait (0.2) seconds\nswitch costume to (flashback10 v)\nrepeat (70)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change y by (pick random (-1) to (1))\n    change x by (pick random (-1) to (1))\n    wait (0.01) seconds\nend\ngo to x: (0) y: (0)\nswitch costume to (flashback11 v)\nrepeat (10)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change y by (pick random (-5) to (5))\n    change x by (pick random (-5) to (5))\n    wait (0.01) seconds\nend\nrepeat until <(costume [name v]) = [Flashback18]>\n    go to x: (0) y: (0)\n    next costume\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\nrepeat (50)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    switch costume to (flashback16 v)\n    change y by (pick random (-10) to (10))\n    change x by (pick random (-10) to (10))\n    wait (0.01) seconds\n    switch costume to (flashback17 v)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    switch costume to (flashback18 v)\n    change y by (pick random (-10) to (10))\n    change x by (pick random (-10) to (10))\nend\ngo to x: (0) y: (0)\nswitch costume to (flashback19 v)\nwait (3) seconds\nrepeat (28)\n    next costume\nend\nrepeat (10)\n    go to x: (0) y: (0)\n    wait (0) seconds\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\ngo to x: (0) y: (0)\nwait (2.5) seconds\nswitch costume to (computer1 v)\nwait (6) seconds\nswitch costume to (computer2 v)\nwait (6) seconds\nswitch costume to (arguement1 v)\nrepeat until <(costume [name v]) = [Arguement4]>\n    wait (0.02) seconds\n    next costume\nend\nwait (5) seconds\nswitch costume to (complication1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [Complication5]>\n    wait (0.02) seconds\n    next costume\nend\nwait (3) seconds\nswitch costume to (explanation\(2\)1 v)\nwait (12) seconds\nswitch costume to (understanding1 v)\nwait (4) seconds\nswitch costume to (explanation\(2\)2 v)\nwait (8) seconds\nswitch costume to (explanation\(2\)3 v)\nwait (14) seconds\nswitch costume to (explanation\(2\)4 v)\nwait (5) seconds\nswitch costume to (understanding3 v)\nwait (4) seconds\nswitch costume to (threaten1 v)\nwait (0.1) seconds\nrepeat until <(costume [name v]) = [Threaten13]>\n    next costume\nend\nwait (2) seconds\nswitch costume to (bossmove1 v)\nwait (0.5) seconds\nrepeat until <(costume [name v]) = [BossMove14]>\n    next costume\nend\nwait (0.01) seconds\nrepeat until <(costume [name v]) = [BossMove25]>\n    next costume\nend\nwait (0.01) seconds\nswitch costume to (bossmove24 v)\nwait (0) seconds\nswitch costume to (bossmove26 v)\nwait (0.5) seconds\nswitch costume to (chasm1 v)\nwait (2) seconds\nswitch costume to (anotherway1 v)\nwait (6) seconds\nswitch costume to (chokehold1 v)\nwait (3) seconds\nswitch costume to (drophim1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [DropHim5]>\n    next costume\nend\nwait (3) seconds\nswitch costume to (submission1 v)\nwait (3) seconds\nswitch costume to (myth1 v)\nwait (5) seconds\nswitch costume to (myth2 v)\nwait (3) seconds\nswitch costume to (wait v)\nwait (2) seconds\nbroadcast (Start v)\nhide\n\n@CUT-SCENE 2\n\nwhen I receive [cut-scene2 v]\nswitch costume to (wait v)\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\nwait (2) seconds\nswitch costume to (aboveground1 v)\nwait (2.5) seconds\nrepeat until <(costume [name v]) = [AboveGround7]>\n    next costume\n    wait (0.031) seconds\nend\nrepeat (3)\n    switch costume to ((costume [number v]) - (1))\n    wait (0.031) seconds\nend\nwait (0.7) seconds\nrepeat until <(costume [name v]) = [AboveGround12]>\n    next costume\n    wait (0.031) seconds\nend\nwait (2) seconds\nswitch costume to (aboveground13 v)\nwait (2) seconds\nswitch costume to (chaos1 v)\nwait (0.06) seconds\nrepeat until <(costume [name v]) = [Chaos11]>\n    next costume\n    wait (0.06) seconds\nend\nrepeat (20)\n    switch costume to (wait v)\n    wait (0.01) seconds\n    switch costume to (chaos11 v)\nend\nswitch costume to (reaction1 v)\nwait (2) seconds\nswitch costume to (pullmaskdown1 v)\nwait (3) seconds\nrepeat until <(costume [name v]) = [PullMaskDown7]>\n    next costume\n    wait (0.03) seconds\nend\nwait (0.2) seconds\nrepeat until <(costume [name v]) = [PullMaskDown10]>\n    next costume\nend\nwait (0.4) seconds\nrepeat until <(costume [name v]) = [PullMaskDown17]>\n    next costume\n    wait (0.02) seconds\nend\nwait (7) seconds\nswitch costume to (explanation1 v)\nwait (8) seconds\nswitch costume to (explanation2 v)\nwait (8) seconds\nswitch costume to (explanation3 v)\nwait (4) seconds\nswitch costume to (anticipation1 v)\nwait (1) seconds\nswitch costume to (biggerportal1 v)\nwait (9) seconds\nswitch costume to (machine1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [Machine6]>\n    next costume\n    wait (0.02) seconds\nend\nwait (3.5) seconds\nswitch costume to (brace1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [Brace4]>\n    next costume\nend\nwait (0.5) seconds\nswitch costume to (energypulse1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [EnergyPulse7]>\n    go to x: (0) y: (0)\n    next costume\n    wait (0.01) seconds\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\ngo to x: (0) y: (0)\nrepeat (30)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\ngo to x: (0) y: (0)\nrepeat until <(costume [name v]) = [EnergyPulse11]>\n    go to x: (0) y: (0)\n    next costume\n    wait (0.01) seconds\n    change x by (pick random (-15) to (15))\n    change y by (pick random (-15) to (15))\nend\ngo to x: (0) y: (0)\nrepeat (60)\n    switch costume to (energypulse10 v)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-15) to (15))\n    change y by (pick random (-15) to (15))\n    switch costume to (energypulse11 v)\n    wait (0.01) seconds\nend\ngo to x: (0) y: (0)\nrepeat (45)\n    switch costume to (entrypoint1 v)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-15) to (15))\n    change y by (pick random (-15) to (15))\n    switch costume to (entrypoint2 v)\n    wait (0.01) seconds\nend\ngo to x: (0) y: (0)\nswitch costume to (shockwave1 v)\nrepeat (30)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\ngo to x: (0) y: (0)\nrepeat until <(costume [name v]) = [ShockWave7]>\n    go to x: (0) y: (0)\n    next costume\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\ngo to x: (0) y: (0)\nrepeat until <(costume [name v]) = [ShockWave12]>\n    go to x: (0) y: (0)\n    next costume\n    wait (0.01) seconds\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\ngo to x: (0) y: (0)\nrepeat (30)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\ngo to x: (0) y: (0)\nrepeat (60)\n    switch costume to (exitpoint1 v)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-15) to (15))\n    change y by (pick random (-15) to (15))\n    switch costume to (exitpoint2 v)\n    wait (0.01) seconds\nend\ngo to x: (0) y: (0)\nswitch costume to (excitement1 v)\nrepeat (50)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\nend\ngo to x: (0) y: (0)\nswitch costume to (openingvoid1 v)\nrepeat (30)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-15) to (15))\n    change y by (pick random (-15) to (15))\nend\ngo to x: (0) y: (0)\nrepeat until <(costume [name v]) = [OpeningVoid13]>\n    go to x: (0) y: (0)\n    next costume\n    wait (0.01) seconds\n    change x by (pick random (-20) to (20))\n    change y by (pick random (-20) to (20))\nend\ngo to x: (0) y: (0)\nrepeat (20)\n    go to x: (0) y: (0)\n    wait (0.01) seconds\n    change x by (pick random (-20) to (20))\n    change y by (pick random (-20) to (20))\nend\ngo to x: (0) y: (0)\nrepeat until <(costume [name v]) = [OpeningVoid1]>\n    go to x: (0) y: (0)\n    switch costume to ((costume [number v]) - (1))\n    change x by (pick random (-20) to (20))\n    change y by (pick random (-20) to (20))\nend\ngo to x: (0) y: (0)\nswitch costume to (openingvoid14 v)\nwait (1.5) seconds\nswitch costume to (belief1 v)\nwait (2) seconds\nswitch costume to (belief2 v)\nwait (1.4) seconds\nswitch costume to (belief3 v)\nwait (2) seconds\nswitch costume to (wait v)\nwait (3) seconds\nbroadcast (Start2 v)\nhide\n\nwhen flag clicked\nhide\n\nwhen [2 v] key pressed\n\n@CUT-SCENE 3 pt. 1\n\nwhen I receive [cut-scene3 v]\nswitch costume to (wait v)\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\nwait (2) seconds\nswitch costume to (debrishop1 v)\nwait (2) seconds\nrepeat until <(costume [name v]) = [DebrisHop6]>\n    next costume\n    wait (0.0325) seconds\nend\nwait (0.5) seconds\nrepeat until <(costume [name v]) = [DebrisHop40]>\n    next costume\n    wait (0.03) seconds\nend\nswitch costume to (debrishop39 v)\nwait (0.03) seconds\nswitch costume to (debrishop38 v)\nwait (0.7) seconds\nswitch costume to (meetup1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [MeetUp7]>\n    next costume\n    wait (0.03) seconds\nend\nwait (1) seconds\nswitch costume to ("compliment"1 v)\nwait (0.3) seconds\nswitch costume to ("compliment"2 v)\nwait (1.5) seconds\nswitch costume to ("compliment"3 v)\nwait (3) seconds\nswitch costume to ("compliment"4 v)\nwait (1.5) seconds\nswitch costume to ("compliment"5 v)\nwait (2.5) seconds\nswitch costume to ("compliment"6 v)\nwait (3) seconds\nswitch costume to ("compliment"7 v)\nwait (1.5) seconds\nswitch costume to (plan1 v)\nwait (5.5) seconds\ngo to x: (-30) y: (0)\nswitch costume to (plan2 v)\nbroadcast (Extra Movement v)\ncreate clone of (_myself_ v)\nwait (1) seconds\nrepeat until <(x position) = [0]>\n    change x by (2)\nend\ngo to x: (0) y: (0)\nrepeat until <(costume [name v]) = [Plan8]>\n    next costume\n    wait (0.031) seconds\nend\nwait (5) seconds\nswitch costume to (questioning1 v)\nwait (1) seconds\nswitch costume to (questioning2 v)\nwait (9) seconds\nswitch costume to (plancontinued1 v)\nwait (7) seconds\nswitch costume to (ready1 v)\nwait (0.2) seconds\nrepeat until <(costume [name v]) = [Ready6]>\n    next costume\n    wait (0.03) seconds\nend\nwait (1) seconds\nswitch costume to (strangerthings1 v)\nwait (3.5) seconds\nrepeat until <(costume [name v]) = [StrangerThings8]>\n    next costume\n    wait (0.01) seconds\nend\nwait (0.1) seconds\nrepeat until <(costume [name v]) = [StrangerThings15]>\n    next costume\n    wait (0.01) seconds\nend\nwait (0.5) seconds\nswitch costume to (prep1 v)\nwait (0.03) seconds\nrepeat until <(costume [name v]) = [Prep15]>\n    next costume\n    wait (0.03) seconds\nend\nwait (2) seconds\nswitch costume to (prep16 v)\nwait (3.5) seconds\nswitch costume to (liftoff1 v)\nbroadcast (Extra Movement v)\nwait (8.46) seconds\nswitch costume to (skyward1 v)\nbroadcast (Extra Movement v)\nwait (4) seconds\nswitch costume to (cockpit1 v)\nbroadcast (Extra Movement v)\nwait (3) seconds\nswitch costume to (cockpit2 v)\nwait (7) seconds\nswitch costume to (acreature1 v)\nwait (3) seconds\nrepeat until <(costume [name v]) = [ACreature20]>\n    next costume\nend\nwait (0.5) seconds\nswitch costume to (underattack1 v)\nrepeat until <(costume [name v]) = [UnderAttack23]>\n    next costume\nend\nrepeat (4)\n    switch costume to (underattack1 v)\n    repeat until <(costume [name v]) = [UnderAttack23]>\n        next costume\n    end\nend\nswitch costume to (shotguncock1 v)\nwait (0.5) seconds\nrepeat until <(costume [name v]) = [ShotgunCock4]>\n    next costume\nend\nwait (0.15) seconds\nrepeat until <(costume [name v]) = [ShotgunCock1]>\n    switch costume to ((costume [number v]) - (1))\nend\nwait (0.2) seconds\nswitch costume to (shotguncock5 v)\nwait (2) seconds\nswitch costume to (recognition1 v)\nwait (6) seconds\nswitch costume to (fight?1 v)\nwait (3) seconds\nswitch costume to (insurmountable1 v)\nwait (4) seconds\nswitch costume to (insurmountable2 v)\nwait (6) seconds\nswitch costume to (outofoptions1 v)\nwait (2) seconds\nrepeat until <(costume [name v]) = [OutOfOptions7]>\n    next costume\nend\nwait (2) seconds\nswitch costume to (cockpit1 v)\nwait (2) seconds\nswitch costume to (warning1 v)\nwait (0.1) seconds\nrepeat until <(costume [name v]) = [Warning4]>\n    next costume\n    wait (0.1) seconds\nend\nrepeat (12)\n    switch costume to (warning3 v)\n    wait (0.1) seconds\n    switch costume to (warning4 v)\n    wait (0.1) seconds\nend\nswitch costume to (warning5 v)\nbroadcast (Extra Movement v)\nwait (5) seconds\nswitch costume to (turning1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [Turning6]>\n    next costume\nend\nwait (1) seconds\nswitch costume to (imminentcollision1 v)\nwait (2) seconds\nrepeat (3)\n    switch costume to (underattack1 v)\n    repeat until <(costume [name v]) = [UnderAttack23]>\n        next costume\n    end\nend\nswitch costume to (underattack1 v)\nrepeat until <(costume [name v]) = [UnderAttack7]>\n    next costume\nend\nswitch costume to (collision1 v)\nrepeat until <(costume [name v]) = [Collision5]>\n    change x by (pick random (5) to (10))\n    change y by (pick random (5) to (10))\n    next costume\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nbroadcast (Extra Movement v)\nrepeat (10)\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nwait (0.2) seconds\nrepeat until <(costume [name v]) = [Collision16]>\n    next costume\n    wait (0.03) seconds\nend\nswitch costume to (inside1 v)\ncreate clone of (_myself_ v)\nrepeat (20)\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nrepeat until <(costume [name v]) = [Inside8]>\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    next costume\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nrepeat (2)\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nrepeat until <(costume [name v]) = [Inside15]>\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    next costume\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nrepeat (10)\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nswitch costume to (outside1 v)\nwait (0.3) seconds\nrepeat until <(costume [name v]) = [Outside15]>\n    next costume\nend\nwait (0.5) seconds\nswitch costume to (falling1 v)\nbroadcast (Extra Movement v)\nwait (4) seconds\nswitch costume to (creaturedefeated1 v)\nbroadcast (Extra Movement v)\nwait (2.5) seconds\nswitch costume to (epickick1 v)\nbroadcast (Extra Movement v)\nrepeat (50)\n    switch costume to (epickick1 v)\n    wait (0.02) seconds\n    next costume\nend\nrepeat until <(costume [name v]) = [EpicKick44]>\n    next costume\nend\nwait (0.3) seconds\nbroadcast (Cut-Scene3 sprite 2 v)\nhide\nswitch costume to (wait v)\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif < (costume [name v]) contains [Plan]?> then\n    go to x: (0) y: (0)\n    switch costume to (planwords1 v)\n    go to [front v] layer\n    show\n    wait (6.8) seconds\n    delete this clone\nelse\n    go to x: (0) y: (0)\n    switch costume to (insidewords1 v)\n    go to [front v] layer\n    show\n    wait (3.1) seconds\n    delete this clone\nend\n\n@CUT-SCENE 3 pt. 2\n\nwhen I receive [cut-scene3 sprite 2 v]\nswitch costume to (barelysaved1 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\nwait (0.3) seconds\nbroadcast (Extra Movement v)\nwait (3.21) seconds\nswitch costume to (artificialfalling1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [ArtificialFalling33]>\n    next costume\nend\nswitch costume to (collisionending1 v)\nbroadcast (Extra Movement v)\nwait (5) seconds\nrepeat until <(costume [name v]) = [CollisionEnding5]>\n    next costume\n    wait (0.03) seconds\nend\nswitch costume to (collisionending5 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [CollisionEnding15]>\n    next costume\n    wait (0.03) seconds\nend\nwait (2) seconds\nswitch costume to (normalfallingagain1 v)\nwait (0.03) seconds\nrepeat until <(costume [name v]) = [NormalFallingAgain13]>\n    next costume\n    wait (0.03) seconds\nend\nwait (0.3) seconds\nrepeat until <(costume [name v]) = [NormalFallingAgain28]>\n    next costume\n    wait (0.03) seconds\nend\nwait (0.5) seconds\nswitch costume to (building1 v)\nwait (2) seconds\nrepeat until <(costume [name v]) = [Building12]>\n    next costume\n    wait (0.03) seconds\nend\nwait (1) seconds\nswitch costume to (incoming1 v)\nbroadcast (Extra Movement v)\nwait (5.16) seconds\nswitch costume to (roughlanding1 v)\nwait (0.1) seconds\nrepeat until <(costume [name v]) = [RoughLanding17]>\n    next costume\n    wait (0.03) seconds\nend\nwait (2) seconds\nswitch costume to (ultimatumacknowledged1 v)\nwait (5) seconds\nswitch costume to (apology1 v)\nwait (7) seconds\nswitch costume to (apology2 v)\nwait (4) seconds\nswitch costume to (onthesameteam1 v)\nwait (5) seconds\nswitch costume to (ajobtobedone1 v)\nwait (2.5) seconds\nswitch costume to (ajobtobedone2 v)\nwait (4) seconds\nswitch costume to (survivors1 v)\nwait (3) seconds\nrepeat until <(costume [name v]) = [Survivors11]>\n    next costume\n    wait (0.03) seconds\nend\nwait (1.5) seconds\nrepeat until <(costume [name v]) = [Survivors26]>\n    next costume\n    wait (0.01) seconds\nend\nwait (1) seconds\nswitch costume to (presson1 v)\nwait (3.5) seconds\nswitch costume to (clear1 v)\nwait (5) seconds\nswitch costume to (nextphase1 v)\nwait (4) seconds\nswitch costume to (team2\(1\) v)\nbroadcast (Extra Movement v)\nwait (5) seconds\nswitch costume to (landing1 v)\nbroadcast (Extra Movement v)\nwait (5.1) seconds\nswitch costume to (landing2 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [Landing12]>\n    next costume\n    wait (0.03) seconds\nend\nwait (3) seconds\nswitch costume to (you'reup1 v)\nwait (3) seconds\nswitch costume to (betweendimensions1 v)\nwait (0.1) seconds\nrepeat until <(costume [name v]) = [BetweenDimensions14]>\n    next costume\n    wait (0.03) seconds\nend\nwait (3) seconds\nswitch costume to (inposition1 v)\nwait (4) seconds\nswitch costume to (massacre1 v)\nrepeat (50)\n    next costume\n    wait (0.03) seconds\n    switch costume to (massacre1 v)\nend\nrepeat until <(costume [name v]) = [Massacre15]>\n    next costume\n    wait (0.03) seconds\nend\nrepeat (10)\n    next costume\n    wait (0.03) seconds\n    switch costume to (massacre15 v)\nend\nrepeat until <(costume [name v]) = [Massacre18]>\n    next costume\nend\nrepeat until <(costume [name v]) = [Massacre20]>\n    next costume\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nrepeat until <(costume [name v]) = [Massacre35]>\n    next costume\nend\nwait (0.5) seconds\nswitch costume to (reaction1 v)\nwait (7) seconds\nswitch costume to (doomedskies1 v)\nbroadcast (Extra Movement v)\nrepeat (10)\n    switch costume to (doomedskies1 v)\n    wait (0.03) seconds\n    repeat until <(costume [name v]) = [DoomedSkies5]>\n        next costume\n        wait (0.03) seconds\n    end\n    wait (0.05) seconds\n    repeat until <(costume [name v]) = [DoomedSkies1]>\n        switch costume to ((costume [number v]) - (1))\n        wait (0.03) seconds\n    end\n    wait (0.05) seconds\nend\nswitch costume to (energypumpactivated1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [EnergyPumpActivated11]>\n    next costume\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nrepeat (20)\n    switch costume to (energypumpactivated10 v)\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\n    wait (0) seconds\n    go to x: (0) y: (0)\n    switch costume to (energypumpactivated11 v)\nend\nswitch costume to (energywave1 v)\nwait (1.5) seconds\nrepeat until <(costume [name v]) = [EnergyWave4]>\n    next costume\n    change x by (pick random (-15) to (15))\n    change y by (pick random (-15) to (15))\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nrepeat (50)\n    switch costume to (energywave3 v)\n    change x by (pick random (-15) to (15))\n    change y by (pick random (-15) to (15))\n    wait (0) seconds\n    go to x: (0) y: (0)\n    switch costume to (energywave4 v)\nend\npoint in direction (90)\nrepeat (135)\n    switch costume to (defensepositions1 v)\n    turn right (1) degrees\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    next costume\n    go to x: (0) y: (0)\nend\npoint in direction (90)\nswitch costume to (shotgun1 v)\nrepeat (20)\n    switch costume to (shotgun2 v)\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\n    switch costume to (shotgun1 v)\nend\nrepeat until <(costume [name v]) = [Shotgun14]>\n    next costume\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\nend\nrepeat (10)\n    switch costume to (shotgun13 v)\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\n    switch costume to (shotgun14 v)\nend\nswitch costume to (rearingtostrike1 v)\nwait (0.03) seconds\nrepeat (3)\n    repeat until <(costume [name v]) = [RearingToStrike5]>\n        next costume\n        change x by (pick random (-1) to (1))\n        change y by (pick random (-1) to (1))\n        wait (0.03) seconds\n        go to x: (0) y: (0)\n    end\n    repeat until <(costume [name v]) = [RearingToStrike1]>\n        switch costume to ((costume [number v]) - (1))\n        change x by (pick random (-1) to (1))\n        change y by (pick random (-1) to (1))\n        wait (0.03) seconds\n        go to x: (0) y: (0)\n    end\nend\nrepeat (5)\n    repeat until <(costume [name v]) = [RearingToStrike10]>\n        next costume\n        change x by (pick random (-1) to (1))\n        change y by (pick random (-1) to (1))\n        wait (0.03) seconds\n        go to x: (0) y: (0)\n    end\n    repeat until <(costume [name v]) = [RearingToStrike6]>\n        switch costume to ((costume [number v]) - (1))\n        change x by (pick random (-1) to (1))\n        change y by (pick random (-1) to (1))\n        wait (0.03) seconds\n        go to x: (0) y: (0)\n    end\nend\nswitch costume to (dive1 v)\nbroadcast (Extra Movement v)\nrepeat (10)\n    switch costume to (dive1 v)\n    wait (0.03) seconds\n    next costume\nend\nrepeat (2)\n    switch costume to (dive2 v)\n    wait (0.03) seconds\n    repeat until <(costume [name v]) = [Dive4]>\n        next costume\n        wait (0.03) seconds\n    end\n    repeat until <(costume [name v]) = [Dive2]>\n        switch costume to ((costume [number v]) - (1))\n        wait (0.03) seconds\n    end\nend\nrepeat (10)\n    switch costume to (dive1 v)\n    wait (0.03) seconds\n    next costume\nend\nswitch costume to (dive5 v)\nrepeat until <(costume [name v]) = [Dive28]>\n    next costume\nend\nrepeat (10)\n    switch costume to (dive27 v)\n    wait (0.03) seconds\n    next costume\nend\nrepeat (5)\n    switch costume to (intothevoid1 v)\n    wait (0) seconds\n    next costume\nend\nswitch costume to (intothevoid1 v)\nrepeat until <(costume [name v]) = [IntoTheVoid31]>\n    next costume\nend\nrepeat (30)\n    switch costume to (intothevoid30 v)\n    wait (0) seconds\n    next costume\nend\nswitch costume to (void1 v)\nwait (4) seconds\nrepeat until <(costume [name v]) = [Void12]>\n    next costume\nend\nrepeat until <(costume [name v]) = [Void33]>\n    next costume\n    wait (0.03) seconds\nend\nwait (1) seconds\nswitch costume to (adjusting1 v)\nwait (4) seconds\nswitch costume to (nothingness1 v)\nrepeat (2)\n    wait (2) seconds\n    next costume\nend\nwait (4) seconds\nrepeat (30)\n    switch costume to (leave1 v)\n    change x by (pick random (-5) to (5))\n    change y by (pick random (-5) to (5))\n    wait (0) seconds\n    go to x: (0) y: (0)\n    next costume\nend\nswitch costume to (leave3 v)\nwait (2) seconds\nswitch costume to (leave4 v)\nwait (8) seconds\nswitch costume to (leave5 v)\nwait (3) seconds\nswitch costume to (fading1 v)\nbroadcast (Extra Movement v)\nwait (5) seconds\nswitch costume to (desperateplan1 v)\nwait (2) seconds\nswitch costume to (desperateplan2 v)\nwait (3) seconds\nswitch costume to (desperateplan3 v)\nwait (8) seconds\nswitch costume to (desperateplan4 v)\nwait (4.5) seconds\nswitch costume to (desperateplan5 v)\nwait (3.5) seconds\nswitch costume to (beastinthevoid1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [BeastInTheVoid27]>\n    next costume\n    wait (0.03) seconds\nend\nswitch costume to (slowingdown1 v)\nbroadcast (Extra Movement v)\nwait (2.36) seconds\nswitch costume to (slowingdown2 v)\nwait (3) seconds\nswitch costume to (surrendering1 v)\nwait (1) seconds\nrepeat until <(costume [name v]) = [Surrendering7]>\n    next costume\n    wait (0.03) seconds\nend\nwait (3) seconds\nswitch costume to (lightning1 v)\nwait (2) seconds\nbroadcast (Extra Movement v)\nrepeat (20)\n    repeat until <(costume [name v]) = [Lightning5]>\n        next costume\n        change x by (pick random (-5) to (5))\n        change y by (pick random (-5) to (5))\n        wait (0.03) seconds\n        go to x: (0) y: (0)\n    end\n    switch costume to (lightning2 v)\n    wait (0.03) seconds\nend\nswitch costume to (crater1 v)\nwait (7) seconds\nswitch costume to (standup1 v)\nwait (2) seconds\nrepeat until <(costume [name v]) = [StandUp6]>\n    next costume\n    wait (0.03) seconds\nend\nwait (2) seconds\nswitch costume to (success1 v)\nwait (2) seconds\nrepeat until <(costume [name v]) = [Success9]>\n    next costume\n    wait (0.03) seconds\nend\nwait (0.06) seconds\nrepeat until <(costume [name v]) = [Success14]>\n    next costume\n    wait (0.03) seconds\nend\nwait (2) seconds\nswitch costume to (success15 v)\nwait (4) seconds\nswitch costume to (it'sover1 v)\nwait (4) seconds\nswitch costume to (it'sover2 v)\nwait (5) seconds\nswitch costume to (wait v)\nwait (4) seconds\nstop [all v]\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif < (costume [name v]) contains [Plan]?> then\n    go to x: (0) y: (0)\n    switch costume to (planwords1 v)\n    go to [front v] layer\n    show\n    wait (6.8) seconds\n    delete this clone\nelse\n    go to x: (0) y: (0)\n    switch costume to (insidewords1 v)\n    go to [front v] layer\n    show\n    wait (3.1) seconds\n    delete this clone\nend\n\nwhen I receive [extra movement v]\nif < (costume [name v]) contains [Dive]?> then\n    repeat until <not < (costume [name v]) contains [Dive]?>>\n        change x by (pick random (-5) to (5))\n        change y by (pick random (-5) to (5))\n        wait (0) seconds\n        go to x: (0) y: (0)\n    end\n    repeat until <not < (costume [name v]) contains [IntoTheVoid]?>>\n        change x by (pick random (-10) to (10))\n        change y by (pick random (-10) to (10))\n        wait (0) seconds\n        go to x: (0) y: (0)\n    end\nend\n\n@Fade/Cut-Scene Extras\n\nwhen flag clicked\ngo to x: (0) y: (0)\npoint in direction (90)\nhide\nswitch costume to (strange iii v)\nset [ghost v] effect to (100)\nset size to (100) %\nshow\nwait (2) seconds\ngo to [front v] layer\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (3) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\nwhen I receive [next level v]\nswitch costume to (fade v)\ngo to [front v] layer\nset [ghost v] effect to (100)\nset size to (100) %\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\nrepeat (3)\n    change [ghost v] effect by (-33)\nend\nchange [ghost v] effect by (-1)\nwait (0.1) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [start v]\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [die v]\nswitch costume to (fade v)\ngo to [front v] layer\nset [ghost v] effect to (100)\nset size to (100) %\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\nrepeat (3)\n    change [ghost v] effect by (-33)\nend\nchange [ghost v] effect by (-1)\nwait (0.1) seconds\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [extra movement v]\nif < ([costume name v] of [cut-scene 1 v]) contains [Walking]?> then\n    go to [front v] layer\n    go [backward v] (3) layers\n    switch costume to (sizer1 v)\n    clear graphic effects\n    set size to (100) %\n    switch costume to (panorama \(walk\) v)\n    go to x: (0) y: (0)\n    point in direction (90)\n    show\n    repeat until <([costume name v] of [cut-scene 1 v]) = [Flashback1]>\n        change x by (-1.5)\n    end\n    hide\nelse\n    if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [Plan]?> then\n        switch costume to (panorama \(building\) v)\n        clear graphic effects\n        go to [front v] layer\n        set size to (100) %\n        go to x: (0) y: (0)\n        point in direction (90)\n        show\n        wait (1) seconds\n        repeat until <(x position) < [-127]>\n            change x by ((-1) + ((x position) / (2)))\n        end\n        hide\n    else\n        if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [LiftOff]?> then\n            switch costume to (helicopter1 v)\n            clear graphic effects\n            go to [front v] layer\n            set size to (67) %\n            go to x: (29) y: (-13)\n            point in direction (90)\n            show\n            wait (2) seconds\n            repeat (5)\n                switch costume to (helicopter1 v)\n                repeat until <(costume [name v]) = [Helicopter9]>\n                    next costume\n                end\n            end\n            switch costume to (helicopter10 v)\n            wait (0.03) seconds\n            repeat until <(costume [name v]) = [Helicopter18]>\n                next costume\n                wait (0.03) seconds\n            end\n            repeat (15)\n                switch costume to (helicopter16 v)\n                wait (0.03) seconds\n                repeat until <(costume [name v]) = [Helicopter18]>\n                    next costume\n                    wait (0.03) seconds\n                end\n            end\n            switch costume to (helicopter16 v)\n            repeat (100)\n                if <(costume [name v]) = [Helicopter16]> then\n                    switch costume to (sizer2 v)\n                else\n                    if <(costume [name v]) = [Helicopter17]> then\n                        switch costume to (sizer3 v)\n                    else\n                        switch costume to (sizer1 v)\n                    end\n                end\n                change size by (0.5)\n                turn left (1) degrees\n                if <(costume [name v]) = [Sizer1]> then\n                    switch costume to (helicopter17 v)\n                else\n                    if <(costume [name v]) = [Sizer2]> then\n                        switch costume to (helicopter18 v)\n                    else\n                        switch costume to (helicopter16 v)\n                    end\n                end\n            end\n            hide\n        else\n            if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [Skyward]?> then\n                go to [front v] layer\n                clear graphic effects\n                go to x: (0) y: (0)\n                point in direction (90)\n                switch costume to (skyward \(layer-3\) v)\n                switch costume to (sizer1 v)\n                clear graphic effects\n                set size to (100) %\n                repeat (5)\n                    change size by (1)\n                    create clone of (_myself_ v)\n                end\n                set size to (100) %\n                switch costume to (skyward \(layer-3\) v)\n                show\n                glide (4) secs to x: (0) y: (-30)\n                hide\n            else\n                if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [Cockpit]?> then\n                    go to [front v] layer\n                    go to x: (0) y: (-348)\n                    point in direction (90)\n                    switch costume to (shadow v)\n                    clear graphic effects\n                    set size to (100) %\n                    show\n                    glide (10) secs to x: (0) y: (0)\n                    hide\n                else\n                    if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [Warning]?> then\n                        go to [front v] layer\n                        go to x: (0) y: (0)\n                        point in direction (90)\n                        switch costume to (warning v)\n                        clear graphic effects\n                        set size to (100) %\n                        set [ghost v] effect to (100)\n                        show\n                        repeat until < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [UnderAttack]?>\n                            repeat (20)\n                                change [ghost v] effect by (-5)\n                                if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [UnderAttack]?> then\n                                    hide\n                                    stop [this script v]\n                                end\n                            end\n                            repeat (10)\n                                change [ghost v] effect by (10)\n                                if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [UnderAttack]?> then\n                                    hide\n                                    stop [this script v]\n                                end\n                            end\n                        end\n                        hide\n                    else\n                        if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [Falling]?> then\n                            go to [front v] layer\n                            clear graphic effects\n                            go to x: (0) y: (0)\n                            point in direction (90)\n                            switch costume to (sizer1 v)\n                            set size to (100) %\n                            switch costume to (falling1 v)\n                            show\n                            glide (4) secs to x: (0) y: (100)\n                            hide\n                        else\n                            if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [CreatureDefeated]?> then\n                                go to [front v] layer\n                                clear graphic effects\n                                go to x: (0) y: (0)\n                                point in direction (90)\n                                switch costume to (sizer1 v)\n                                set size to (100) %\n                                switch costume to (creaturedefeated1 v)\n                                show\n                                repeat (30)\n                                    switch costume to (sizer1 v)\n                                    change size by (-1)\n                                    switch costume to (creaturedefeated1 v)\n                                end\n                                repeat (25)\n                                    switch costume to (sizer1 v)\n                                    change size by (-1)\n                                    change [brightness v] effect by (-1)\n                                    change [ghost v] effect by (4)\n                                    switch costume to (creaturedefeated1 v)\n                                end\n                                hide\n                            else\n                                if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [BarelySaved]?> then\n                                    go to [front v] layer\n                                    clear graphic effects\n                                    go to x: (0) y: (301)\n                                    point in direction (90)\n                                    switch costume to (sizer1 v)\n                                    set size to (100) %\n                                    switch costume to (barelysaved1 v)\n                                    show\n                                    repeat until <(y position) < [1]>\n                                        change y by (((y position) - (0)) / (-12))\n                                    end\n                                    wait (1) seconds\n                                    hide\n                                else\n                                    if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [EpicKick]?> then\n                                        go to [front v] layer\n                                        go [backward v] (1) layers\n                                        clear graphic effects\n                                        go to x: (0) y: (0)\n                                        point in direction (90)\n                                        switch costume to (sizer1 v)\n                                        set size to (100) %\n                                        switch costume to (epickick\(background\)1 v)\n                                        show\n                                        repeat (10)\n                                            wait (0.3) seconds\n                                            create clone of (_myself_ v)\n                                        end\n                                    else\n                                        if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [Ending]?> then\n                                            go to [front v] layer\n                                            clear graphic effects\n                                            go to x: (0) y: (0)\n                                            point in direction (90)\n                                            switch costume to (sizer1 v)\n                                            set size to (100) %\n                                            set [ghost v] effect to (100)\n                                            switch costume to (warning v)\n                                            show\n                                            repeat (4)\n                                                repeat (20)\n                                                    change [ghost v] effect by (-5)\n                                                end\n                                                repeat (10)\n                                                    change [ghost v] effect by (10)\n                                                end\n                                            end\n                                            hide\n                                        else\n                                            if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [Collision]?> then\n                                                go to [front v] layer\n                                                clear graphic effects\n                                                go to x: (0) y: (0)\n                                                point in direction (90)\n                                                switch costume to (sizer1 v)\n                                                go to [front v] layer\n                                                set size to (100) %\n                                                switch costume to (collision1 v)\n                                                show\n                                                repeat (10)\n                                                    change x by (pick random (-5) to (5))\n                                                    change y by (pick random (-5) to (5))\n                                                    wait (0) seconds\n                                                    if <(costume [name v]) = [Collision4]> then\n                                                        switch costume to (collision1 v)\n                                                    else\n                                                        next costume\n                                                    end\n                                                    go to x: (0) y: (0)\n                                                end\n                                                hide\n                                            else\n                                                if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [Incoming]?> then\n                                                    hide\n                                                    switch costume to (incoming\(helicopter\)1 v)\n                                                    create clone of (_myself_ v)\n                                                    go to [front v] layer\n                                                    clear graphic effects\n                                                    go to x: (0) y: (0)\n                                                    point in direction (90)\n                                                    switch costume to (sizer1 v)\n                                                    go to [front v] layer\n                                                    set size to (100) %\n                                                    switch costume to (incoming1 v)\n                                                    show\n                                                    wait (1) seconds\n                                                    repeat until <(costume [name v]) = [Incoming9]>\n                                                        next costume\n                                                        wait (0.02) seconds\n                                                    end\n                                                    wait (3) seconds\n                                                    repeat until <(costume [name v]) = [Incoming17]>\n                                                        next costume\n                                                    end\n                                                    wait (0.1) seconds\n                                                    repeat until <(costume [name v]) = [Incoming20]>\n                                                        next costume\n                                                        wait (0.02) seconds\n                                                    end\n                                                    switch costume to (incoming1 v)\n                                                    hide\n                                                else\n                                                    if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [Team2]?> then\n                                                        go to [front v] layer\n                                                        clear graphic effects\n                                                        go to x: (0) y: (0)\n                                                        point in direction (90)\n                                                        switch costume to (skyward \(layer-3\) v)\n                                                        switch costume to (sizer1 v)\n                                                        clear graphic effects\n                                                        set size to (100) %\n                                                        repeat (5)\n                                                            change size by (1)\n                                                            create clone of (_myself_ v)\n                                                        end\n                                                        set size to (100) %\n                                                        switch costume to (skyward \(layer-3\) v)\n                                                        show\n                                                        glide (5) secs to x: (0) y: (-30)\n                                                        hide\n                                                    else\n                                                        if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [Landing]?> then\n                                                            go to [front v] layer\n                                                            clear graphic effects\n                                                            go to x: (-160) y: (181)\n                                                            point in direction (90)\n                                                            switch costume to (sizer1 v)\n                                                            clear graphic effects\n                                                            set size to (100) %\n                                                            switch costume to (landing1 v)\n                                                            show\n                                                            glide (5) secs to x: (-150) y: (-120)\n                                                            repeat (3)\n                                                                turn right (1) degrees\n                                                            end\n                                                            hide\n                                                            wait (3) seconds\n                                                        else\n                                                            if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [DoomedSkies]?> then\n                                                                go to [front v] layer\n                                                                clear graphic effects\n                                                                go to x: (0) y: (0)\n                                                                point in direction (90)\n                                                                switch costume to (sizer1 v)\n                                                                clear graphic effects\n                                                                set size to (100) %\n                                                                set [ghost v] effect to (100)\n                                                                switch costume to (flash v)\n                                                                show\n                                                                repeat (4)\n                                                                    repeat (2)\n                                                                        change [ghost v] effect by (-50)\n                                                                    end\n                                                                    repeat (2)\n                                                                        change [ghost v] effect by (50)\n                                                                    end\n                                                                    wait (pick random (0.3) to (1.5)) seconds\n                                                                end\n                                                            else\n                                                                if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [Fading]?> then\n                                                                    go to [front v] layer\n                                                                    clear graphic effects\n                                                                    go to x: (0) y: (150)\n                                                                    point in direction (90)\n                                                                    switch costume to (sizer1 v)\n                                                                    clear graphic effects\n                                                                    set size to (100) %\n                                                                    switch costume to (fading v)\n                                                                    show\n                                                                    glide (5) secs to x: (0) y: (0)\n                                                                    hide\n                                                                else\n                                                                    if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [SlowingDown]?> then\n                                                                        go to [front v] layer\n                                                                        clear graphic effects\n                                                                        go to x: (-400) y: (0)\n                                                                        point in direction (90)\n                                                                        switch costume to (sizer1 v)\n                                                                        clear graphic effects\n                                                                        set size to (100) %\n                                                                        switch costume to (slowingdown v)\n                                                                        show\n                                                                        repeat until <(x position) > [-10]>\n                                                                            change x by (((x position) - (100)) / (-12))\n                                                                            turn right (15) degrees\n                                                                        end\n                                                                        repeat until <(x position) > [25]>\n                                                                            change x by (((x position) - (100)) / (-12))\n                                                                            if <(x position) < [55]> then\n                                                                                turn right (10) degrees\n                                                                            end\n                                                                        end\n                                                                        repeat until <(x position) > [99]>\n                                                                            change x by (((x position) - (100)) / (-12))\n                                                                            if <(x position) < [70]> then\n                                                                                turn right (5) degrees\n                                                                            end\n                                                                        end\n                                                                        wait (3) seconds\n                                                                        hide\n                                                                    else\n                                                                        if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [Lightning]?> then\n                                                                            go to [front v] layer\n                                                                            go to x: (0) y: (0)\n                                                                            point in direction (90)\n                                                                            switch costume to (sizer1 v)\n                                                                            clear graphic effects\n                                                                            set size to (100) %\n                                                                            switch costume to (void v)\n                                                                            set [ghost v] effect to (100)\n                                                                            show\n                                                                            wait (3) seconds\n                                                                            repeat (50)\n                                                                                change [ghost v] effect by (-2)\n                                                                            end\n                                                                            wait (2) seconds\n                                                                            repeat (100)\n                                                                                change [ghost v] effect by (1)\n                                                                            end\n                                                                            hide\n                                                                        end\n                                                                    end\n                                                                end\n                                                            end\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nhide\n\nwhen I start as a clone\nif < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [Skyward]?> then\n    show\n    go to [front v] layer\n    if <(size) = [101]> then\n        switch costume to (skyward \(layer-2\) v)\n        go to [front v] layer\n        glide (4) secs to x: (0) y: (-40)\n        delete this clone\n    else\n        if <(size) = [102]> then\n            switch costume to (skyward \(layer-1\) v)\n            go to [front v] layer\n            glide (4) secs to x: (0) y: (-60)\n            delete this clone\n        else\n            if <(size) = [103]> then\n                switch costume to (skyward \(layer 0\) v)\n                go to [front v] layer\n                wait (4) seconds\n                delete this clone\n            else\n                if <(size) = [104]> then\n                    switch costume to (skyward \(layer1\) v)\n                    go to [front v] layer\n                    glide (4) secs to x: (0) y: (-90)\n                    delete this clone\n                else\n                    switch costume to (skyward \(layer2\) v)\n                    go to [front v] layer\n                    glide (4) secs to x: (0) y: (-130)\n                    delete this clone\n                end\n            end\n        end\n    end\nelse\n    if < ([costume name v] of [cut-scene 3 pt. 1 v]) contains [EpicKick]?> then\n        switch costume to (join [EpicKick] (pick random (1) to (4)))\n        go to x: (pick random (-210) to (210)) y: (-240)\n        set size to (pick random (100) to (150)) %\n        go to [front v] layer\n        go [backward v] (1) layers\n        show\n        repeat (13)\n            change y by (30)\n        end\n        delete this clone\n    else\n        if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [Incoming]?> then\n            clear graphic effects\n            go to x: (0) y: (260)\n            point in direction (90)\n            switch costume to (sizer1 v)\n            go to [front v] layer\n            go [backward v] (1) layers\n            set size to (20) %\n            switch costume to (incoming\(helicopter\)1 v)\n            show\n            wait (4) seconds\n            repeat (20)\n                switch costume to (sizer1 v)\n                change y by (-6)\n                change size by (3)\n                switch costume to (incoming\(helicopter\)1 v)\n            end\n            repeat (10)\n                switch costume to (sizer1 v)\n                change y by (-5)\n                change size by (4)\n                switch costume to (incoming\(helicopter\)1 v)\n            end\n            repeat (5)\n                switch costume to (sizer1 v)\n                change y by (-4)\n                change size by (5)\n                switch costume to (incoming\(helicopter\)1 v)\n            end\n            delete this clone\n        else\n            if < ([costume name v] of [cut-scene 3 pt. 2 v]) contains [Team2]?> then\n                show\n                go to [front v] layer\n                if <(size) = [101]> then\n                    switch costume to (skyward \(layer-2\) v)\n                    go to [front v] layer\n                    glide (5) secs to x: (0) y: (-40)\n                    delete this clone\n                else\n                    if <(size) = [102]> then\n                        switch costume to (skyward \(layer-1\) v)\n                        go to [front v] layer\n                        glide (5) secs to x: (0) y: (-60)\n                        delete this clone\n                    else\n                        if <(size) = [103]> then\n                            switch costume to (team2 \(layer 0\) v)\n                            go to [front v] layer\n                            wait (5) seconds\n                            delete this clone\n                        else\n                            if <(size) = [104]> then\n                                switch costume to (skyward \(layer1\) v)\n                                go to [front v] layer\n                                glide (5) secs to x: (0) y: (-90)\n                                delete this clone\n                            else\n                                switch costume to (skyward \(layer2\) v)\n                                go to [front v] layer\n                                glide (5) secs to x: (0) y: (-130)\n                                delete this clone\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ngo to x: (-150) y: (-120)\n\nset [ghost v] effect to (100)\n\nchange y by (-10)\n\n
--PLAY THE FIRST TWO BEFORE PLAYING THIS--\n\nSpam the flag a LOT and don't have too many tabs open.\nWASD/Arrow Keys: Move\nP: Skip\nDon't touch the obstacles\n\nMake sure to watch the cutscenes in small screen, otherwise it'll crash\n\nI still think Strange II's thumbnail is better than this one, but I like it :)