Marshall 4
@Stage\n\nwhen I receive [next v]\nwait (0.05) seconds\nif <([background # v] of [_stage_ v]) = [23]> then\n    stop all sounds\nend\n\nwhen flag clicked\nwait until <([background # v] of [_stage_ v]) = [23]>\nrepeat until <([background # v] of [_stage_ v]) = [28]>\n    play sound [Stage Three v] until done\nend\n\nwhen flag clicked\nwait until <([background # v] of [_stage_ v]) = [12]>\nrepeat until <([background # v] of [_stage_ v]) > [22]>\n    play sound [Stage Two v] until done\nend\n\nwhen I receive [next v]\nwait (0.05) seconds\nif <([background # v] of [_stage_ v]) = [12]> then\n    stop all sounds\nend\n\nwhen I receive [next v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (title screen v)\nset volume to (100) %\nplay sound [Title v] until done\n\nwhen I receive [begin v]\nswitch backdrop to (stage1a v)\nstop all sounds\nwait (0.1) seconds\nrepeat until <([background # v] of [_stage_ v]) > [11]>\n    play sound [Stage One v] until done\nend\n\nwhen I receive [next v]\nwait (0.05) seconds\nif <([background # v] of [_stage_ v]) = [28]> then\n    stop all sounds\nend\n\nwhen flag clicked\nwait until <([background # v] of [_stage_ v]) = [28]>\nstop all sounds\nrepeat until <([background # v] of [_stage_ v]) > [28]>\n    play sound [Boss Theme v] until done\nend\n\nwhen I receive [next v]\nwait (0.05) seconds\nif <([background # v] of [_stage_ v]) = [29]> then\n    stop all sounds\nend\n\nwhen flag clicked\nwait until <([background # v] of [_stage_ v]) = [29]>\nstop all sounds\nforever\n    play sound [Ending Theme v] until done\nend\n\n@Terrain\n\nwhen I receive [begin v]\nforever\n    hide\nend\n\nwhen flag clicked\ngo to x: (0) y: (-3)\nshow\n\n@Title\n\nwhen I receive [begin v]\nforever\n    hide\nend\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (title v)\ngo to x: (-472) y: (141)\nshow\nrepeat until <(x position) > [-1]>\n    change x by (3)\nend\ngo to x: (0) y: (141)\nbroadcast (Appear v)\n\n@Foa\n\nwhen I receive [begin v]\nforever\n    hide\nend\n\nwhen flag clicked\ngo to x: (0) y: (21)\nhide\n\nwhen I receive [appear v]\nwait (1.5) seconds\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\nwait (1) seconds\nbroadcast (Appear2 v)\n\n@Button\n\nwhen I receive [appear2 v]\nwait (1) seconds\nrepeat (4)\n    show\n    wait (0.05) seconds\n    hide\n    wait (0.05) seconds\nend\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\ngo to x: (10) y: (-116)\nhide\n\nwhen this sprite clicked\nstart sound [button v]\nbroadcast (Begin v)\n\nwhen I receive [begin v]\nforever\n    hide\nend\n\n@Marshall\n\nwhen I receive [begin v]\nwait (0.2) seconds\nset [egb v] to [1]\nforever\n    if <<touching color (#ff0000)?> or <<touching (prince alien v)?> and <([costume # v] of [prince alien v]) = [1]>>> then\n        start sound [Hurt v]\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [begin v]\nshow\ngo to x: (-214) y: (-107)\n\nwhen I receive [begin v]\nwait (0.01) seconds\nshow\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        switch costume to (goright1 v)\n        wait (0.05) seconds\n        switch costume to (goright2 v)\n        wait (0.05) seconds\n        switch costume to (goright3 v)\n        wait until <not <<key (right arrow v) pressed?> or <key (d v) pressed?>>>\n        switch costume to (goright2 v)\n        wait (0.05) seconds\n        switch costume to (goright1 v)\n        wait (0.05) seconds\n        switch costume to (marshall v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        switch costume to (goright1 v)\n        wait (0.05) seconds\n        switch costume to (goright2 v)\n        wait (0.05) seconds\n        switch costume to (goright3 v)\n        wait until <not <<key (left arrow v) pressed?> or <key (a v) pressed?>>>\n        switch costume to (goright2 v)\n        wait (0.05) seconds\n        switch costume to (goright1 v)\n        wait (0.05) seconds\n        switch costume to (marshall v)\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        change y by (-10)\n        if <<<touching color (#633900)?> or <touching color (#00ff52)?>> or <touching color (#e7e7e7)?>> then\n            set [yv v] to [8]\n        end\n        change y by (10)\n    end\n    if <(yv) < [3]> then\n        change y by (-1)\n        if <not <<<touching color (#633900)?> or <touching color (#00ff52)?>> or <touching color (#e7e7e7)?>>> then\n            change [yv v] by (-1)\n        end\n        change y by (1)\n    end\n    set [xv v] to ((xv) * (0.84))\n    change x by (xv)\n    if <<<touching color (#633900)?> or <touching color (#00ff52)?>> or <touching color (#e7e7e7)?>> then\n        change y by ([abs v] of ((([abs v] of (xv) ) / ((xv) + (0.00001))) + (xv)) )\n        if <<<touching color (#633900)?> or <touching color (#00ff52)?>> or <touching color (#e7e7e7)?>> then\n            change y by (([abs v] of ((([abs v] of (xv) ) / ((xv) + (0.00001))) + (xv)) ) * (-1))\n            change x by ((xv) * (-1))\n            set [xv v] to [0]\n        end\n    end\n    set [yv v] to ((yv) * (0.9))\n    change y by (yv)\n    if <<<touching color (#633900)?> or <touching color (#00ff52)?>> or <touching color (#e7e7e7)?>> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    if <([x position v] of [marshall v]) > [230]> then\n        clear graphic effects\n        broadcast (next v)\n        go to x: (-210) y: (-115)\n    end\n    if <([y position v] of [marshall v]) < [-175]> then\n        start sound [Hurt v]\n        go to x: (-210) y: (-115)\n        change [lives v] by (-1)\n    end\n    if <<touching color (#ff0000)?> and <(egb) = [1]>> then\n        change [lives v] by (-1)\n        set size to (100) %\n        repeat (24)\n            change size by (-4)\n        end\n        go to x: (-210) y: (-115)\n        repeat (24)\n            change size by (4)\n        end\n        set size to (100) %\n    end\n    if <touching color (#8400ff)?> then\n        start sound [Spring v]\n        set [yv v] to [24]\n    end\n    if <touching color (#9cb5ff)?> then\n        change [xv v] by (0.75)\n        change [yv v] by (1)\n    end\n    if <<key (r v) pressed?> and <<<touching color (#633900)?> or <touching color (#00ff52)?>> or <touching color (#e7e7e7)?>>> then\n        go to x: (-210) y: (-115)\n    end\n    if <touching (alien hithead v)?> then\n        broadcast (hit v)\n        set [yv v] to [16]\n    end\n    if <<touching (prince alien v)?> and <([costume # v] of [prince alien v]) = [1]>> then\n        change [lives v] by (-1)\n        set size to (100) %\n        repeat (24)\n            change size by (-4)\n        end\n        go to x: (-210) y: (-115)\n        repeat (24)\n            change size by (4)\n        end\n        set size to (100) %\n    end\n    if <<touching (prince alien v)?> and <([costume # v] of [prince alien v]) = [2]>> then\n        broadcast (alienkeygot v)\n    end\n    if <([background # v] of [_stage_ v]) = [29]> then\n        go to x: (0) y: (0)\n        hide\n    end\n    if <touching (platform1 v)?> then\n        change [yv v] by (5)\n    end\nend\n\nwhen flag clicked\nset [egb v] to [0]\npoint in direction (90)\ngo to x: (-220) y: (118)\nset size to (100) %\nswitch costume to (marshall v)\nclear graphic effects\nhide\n\nwhen I receive [begin v]\nwait (0.2) seconds\nset [egb v] to [1]\nforever\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        set size to (100) %\n        repeat (12)\n            change size by (-5)\n        end\n        repeat until <not <<key (down arrow v) pressed?> or <key (s v) pressed?>>>\n            set size to (40) %\n        end\n        repeat (12)\n            change size by (5)\n            if <touching color (#00ff52)?> then\n                change y by (3)\n            end\n            if <<touching color (#633900)?> and <(direction) = [90]>> then\n                change x by (-3)\n            end\n            if <<touching color (#633900)?> and <(direction) = [-90]>> then\n                change x by (3)\n            end\n        end\n        set size to (100) %\n    end\nend\n\n@Live-0-Meter\n\nwhen I receive [begin v]\nshow\nforever\n    go to [front v] layer\n    if <(Lives) = [5]> then\n        switch costume to (five v)\n    end\n    if <(Lives) = [4]> then\n        switch costume to (four v)\n    end\n    if <(Lives) = [3]> then\n        switch costume to (three v)\n    end\n    if <(Lives) = [2]> then\n        switch costume to (two v)\n    end\n    if <(Lives) = [1]> then\n        switch costume to (one v)\n    end\n    if <(Lives) = [0]> then\n        set [dead v] to [1]\n        hide\n    end\nend\n\nwhen flag clicked\nset [dead v] to [0]\nset [lives v] to [5]\ngo to x: (203) y: (153)\nhide\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) = [29]> then\n        go to x: (0) y: (0)\n        hide\n    end\nend\n\nwhen flag clicked\ngo [backward v] (100) layers\n\n@Key1\n\nwhen flag clicked\ngo to x: (-106) y: (78)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [3]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key1got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall1\n\nwhen flag clicked\ngo to x: (172) y: (144)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [3]> then\n    show\nend\n\nwhen I receive [key1got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Ball1\n\nwhen I receive [begin v]\nforever\n    glide (1.5) secs to x: (-26) y: (-35)\n    glide (1.5) secs to x: (-26) y: (46)\nend\n\nwhen flag clicked\ngo to x: (-26) y: (46)\nhide\nforever\n    if <([background # v] of [_stage_ v]) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\n@Ball2\n\nwhen I receive [begin v]\nforever\n    glide (1) secs to x: (-10) y: (79)\n    glide (1) secs to x: (-10) y: (167)\nend\n\nwhen flag clicked\ngo to x: (-10) y: (167)\nhide\nforever\n    if <([background # v] of [_stage_ v]) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\n@Extra1\n\nwhen flag clicked\ngo to x: (82) y: (118)\nset size to (300) %\nhide\nforever\n    repeat (4)\n        change y by (-1)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nhide\nwait until <([background # v] of [_stage_ v]) = [5]>\nshow\n\nwhen flag clicked\nwait (0.01) seconds\nwait until <touching (marshall v)?>\nif <(Lives) < [5]> then\n    start sound [1up v]\n    change [lives v] by (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nelse\n    start sound [1up v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [5]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [5]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [5]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [5]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [5]> then\n        hide\n    end\nend\n\n@Extra2\n\nwhen flag clicked\ngo to x: (-129) y: (113)\nset size to (300) %\nhide\nforever\n    repeat (4)\n        change y by (-1)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nhide\nwait until <([background # v] of [_stage_ v]) = [9]>\nshow\n\nwhen flag clicked\nwait (0.01) seconds\nwait until <touching (marshall v)?>\nif <(Lives) < [5]> then\n    start sound [1up v]\n    change [lives v] by (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nelse\n    start sound [1up v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [9]> then\n        hide\n    end\nend\n\n@Key2\n\nwhen flag clicked\ngo to x: (-151) y: (-106)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [6]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key2got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall2\n\nwhen flag clicked\ngo to x: (-117) y: (-88)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [6]> then\n    show\nend\n\nwhen I receive [key2got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Key3\n\nwhen flag clicked\ngo to x: (-17) y: (-106)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [6]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key3got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall3\n\nwhen flag clicked\ngo to x: (14) y: (-88)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [6]> then\n    show\nend\n\nwhen I receive [key3got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Key4\n\nwhen flag clicked\ngo to x: (-96) y: (115)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [8]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key4got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall4\n\nwhen flag clicked\ngo to x: (62) y: (153)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [8]> then\n    show\nend\n\nwhen I receive [key4got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Ball3\n\nwhen I receive [begin v]\nforever\n    glide (1) secs to x: (-29) y: (24)\n    glide (1) secs to x: (-29) y: (-51)\nend\n\nwhen flag clicked\ngo to x: (-29) y: (-51)\nhide\nforever\n    if <([background # v] of [_stage_ v]) = [8]> then\n        show\n    else\n        hide\n    end\nend\n\n@Wall5\n\nwhen flag clicked\ngo to x: (-107) y: (-36)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [9]> then\n    show\nend\n\nwhen I receive [key5got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Key5\n\nwhen flag clicked\ngo to x: (-151) y: (-75)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [9]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key5got v)\n    start sound [Key v]\n    hide\nend\n\n@GameOver\n\nwhen I receive [begin v]\nwait until <(dead) = [1]>\nshow\ngo to [front v] layer\nwait (0.01) seconds\nstop [all v]\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n@Key6\n\nwhen flag clicked\ngo to x: (-35) y: (56)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [9]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key6got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall6\n\nwhen flag clicked\ngo to x: (211) y: (98)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [9]> then\n    show\nend\n\nwhen I receive [key6got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Platform1\n\nwhen flag clicked\ngo to x: (-142) y: (84)\nhide\nforever\n    if <([background # v] of [_stage_ v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [begin v]\nforever\n    go [backward v] (1) layers\n    glide (6) secs to x: (-142) y: (-111)\n    glide (6) secs to x: (-142) y: (84)\nend\n\n@Key7\n\nwhen flag clicked\ngo to x: (126) y: (125)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [13]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key7got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall7\n\nwhen flag clicked\ngo to x: (-116) y: (117)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [13]> then\n    show\nend\n\nwhen I receive [key7got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Extra3\n\nwhen flag clicked\ngo to x: (-187) y: (86)\nset size to (300) %\nhide\nforever\n    repeat (4)\n        change y by (-1)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nhide\nwait until <([background # v] of [_stage_ v]) = [13]>\nshow\n\nwhen flag clicked\nwait (0.01) seconds\nwait until <touching (marshall v)?>\nif <(Lives) < [5]> then\n    start sound [1up v]\n    change [lives v] by (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nelse\n    start sound [1up v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [13]> then\n        hide\n    end\nend\n\n@Wall8\n\nwhen flag clicked\ngo to x: (50) y: (21)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [14]> then\n    show\nend\n\nwhen I receive [key8got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [15]> then\n    hide\nend\n\n@Key8\n\nwhen flag clicked\ngo to x: (-147) y: (109)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [14]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key8got v)\n    start sound [Key v]\n    hide\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [15]> then\n    hide\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [15]> then\n    hide\nend\n\n@Ball4\n\nwhen I receive [begin v]\nforever\n    glide (1) secs to x: (17) y: (-19)\n    glide (1) secs to x: (17) y: (-113)\nend\n\nwhen flag clicked\ngo to x: (17) y: (-113)\nhide\nforever\n    if <([background # v] of [_stage_ v]) = [15]> then\n        show\n    else\n        hide\n    end\nend\n\n@Ball5\n\nwhen I receive [begin v]\nforever\n    glide (1) secs to x: (123) y: (-19)\n    glide (1) secs to x: (123) y: (-113)\nend\n\nwhen flag clicked\ngo to x: (123) y: (-113)\nhide\nforever\n    if <([background # v] of [_stage_ v]) = [15]> then\n        show\n    else\n        hide\n    end\nend\n\n@Key9\n\nwhen flag clicked\ngo to x: (-203) y: (130)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [16]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (key9got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall9\n\nwhen flag clicked\ngo to x: (180) y: (132)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [16]> then\n    show\nend\n\nwhen I receive [key9got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Platform2\n\nwhen flag clicked\ngo to x: (-47) y: (-88)\nhide\nforever\n    if <([background # v] of [_stage_ v]) = [16]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [begin v]\nforever\n    go [backward v] (1) layers\n    glide (3.5) secs to x: (73) y: (-88)\n    glide (3.5) secs to x: (-47) y: (-88)\nend\n\n@Key10\n\nwhen flag clicked\ngo to x: (-121) y: (5)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [17]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key10got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall10\n\nwhen flag clicked\ngo to x: (216) y: (130)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [17]> then\n    show\nend\n\nwhen I receive [key10got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Extra4\n\nwhen flag clicked\ngo to x: (167) y: (6)\nset size to (300) %\nhide\nforever\n    repeat (4)\n        change y by (-1)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nhide\nwait until <([background # v] of [_stage_ v]) = [19]>\nshow\n\nwhen flag clicked\nwait (0.01) seconds\nwait until <touching (marshall v)?>\nif <(Lives) < [5]> then\n    start sound [1up v]\n    change [lives v] by (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nelse\n    start sound [1up v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [19]> then\n        hide\n    end\nend\n\n@Key11\n\nwhen flag clicked\ngo to x: (-211) y: (52)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [23]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key11got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall11\n\nwhen flag clicked\ngo to x: (129) y: (113)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [23]> then\n    show\nend\n\nwhen I receive [key11got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Wall12\n\nwhen flag clicked\ngo to x: (-23) y: (-3)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [24]> then\n    show\nend\n\nwhen I receive [key12got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Key12\n\nwhen flag clicked\ngo to x: (8) y: (-16)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [24]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key12got v)\n    start sound [Key v]\n    hide\nend\n\n@Key13\n\nwhen flag clicked\ngo to x: (-104) y: (-16)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [24]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key13got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall13\n\nwhen flag clicked\ngo to x: (-140) y: (-3)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [24]> then\n    show\nend\n\nwhen I receive [key13got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Extra5\n\nwhen flag clicked\ngo to x: (-118) y: (73)\nset size to (300) %\nhide\nforever\n    repeat (4)\n        change y by (-1)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nhide\nwait until <([background # v] of [_stage_ v]) = [24]>\nshow\n\nwhen flag clicked\nwait (0.01) seconds\nwait until <touching (marshall v)?>\nif <(Lives) < [5]> then\n    start sound [1up v]\n    change [lives v] by (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nelse\n    start sound [1up v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) > [24]> then\n        hide\n    end\nend\n\n@Wall14\n\nwhen flag clicked\ngo to x: (107) y: (-19)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [25]> then\n    show\nend\n\nwhen I receive [key14got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Key14\n\nwhen flag clicked\ngo to x: (210) y: (-31)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [25]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key14got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall15\n\nwhen flag clicked\ngo to x: (79) y: (57)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [25]> then\n    show\nend\n\nwhen I receive [key15got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Key15\n\nwhen flag clicked\ngo to x: (-145) y: (139)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [25]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key15got v)\n    start sound [Key v]\n    hide\nend\n\n@Ball6\n\nwhen I receive [begin v]\nforever\n    glide (1) secs to x: (-47) y: (60)\n    glide (1) secs to x: (-47) y: (-19)\nend\n\nwhen flag clicked\ngo to x: (-47) y: (-19)\nhide\nforever\n    if <([background # v] of [_stage_ v]) = [26]> then\n        show\n    else\n        hide\n    end\nend\n\n@Key16\n\nwhen flag clicked\ngo to x: (10) y: (-122)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [27]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key16got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall16\n\nwhen flag clicked\ngo to x: (47) y: (-108)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [27]> then\n    show\nend\n\nwhen I receive [key16got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Key17\n\nwhen flag clicked\ngo to x: (-79) y: (45)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [27]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (Key17got v)\n    start sound [Key v]\n    hide\nend\n\n@Wall17\n\nwhen flag clicked\ngo to x: (137) y: (35)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [27]> then\n    show\nend\n\nwhen I receive [key17got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Extra6\n\nwhen flag clicked\ngo to x: (-129) y: (40)\nset size to (300) %\nhide\nforever\n    repeat (4)\n        change y by (-1)\n        wait (0.05) seconds\n    end\n    repeat (4)\n        change y by (1)\n        wait (0.05) seconds\n    end\nend\n\nwhen flag clicked\nhide\nwait until <([background # v] of [_stage_ v]) = [27]>\nshow\n\nwhen flag clicked\nwait (0.01) seconds\nwait until <touching (marshall v)?>\nif <(Lives) < [5]> then\n    start sound [1up v]\n    change [lives v] by (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nelse\n    start sound [1up v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [28]> then\n    hide\nend\n\n@Wall18\n\nwhen flag clicked\ngo to x: (228) y: (0)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [28]> then\n    go [backward v] (1) layers\n    show\nend\n\nwhen I receive [alienkeygot v]\nstart sound [Key v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) = [29]> then\n        hide\n    end\nend\n\n@Prince alien\n\nwhen I receive [alienkeygot v]\nforever\n    hide\nend\n\nwhen flag clicked\nset [alien health v] to [6]\ngo to x: (19) y: (100)\npoint in direction (90)\nset [color v] effect to (20)\nset size to (150) %\nswitch costume to (alien v)\nhide\n\nwhen I receive [hit v]\nchange [alien health v] by (-1)\nstart sound [Hit v]\nrepeat (4)\n    hide\n    wait (0.03) seconds\n    show\n    wait (0.03) seconds\nend\n\nwhen flag clicked\nwait (0.1) seconds\nwait until <(Alien Health) = [0]>\nswitch costume to (key v)\nset size to (80) %\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) = [29]> then\n        hide\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [28]> then\n    show\n    go to [front v] layer\n    say [MARSHALL!!] for (2.5) seconds\n    say [I've been expecting you.] for (3) seconds\n    say [I was planning to destroy you since my father died...] for (4.5) seconds\n    say [..But it looks like you've surrendered!] for (4) seconds\n    say [FACE MY WRATH!] for (3) seconds\n    glide (2.5) secs to x: (161) y: (-117)\n    repeat until <(Alien Health) = [0]>\n        point in direction (90)\n        glide (3) secs to x: (-181) y: (-117)\n        point in direction (-90)\n        glide (3) secs to x: (161) y: (-117)\n    end\nend\n\n@Alien hithead\n\nwhen flag clicked\ngo to (prince alien v)\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [28]> then\n    show\n    forever\n        go to (prince alien v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <([background # v] of [_stage_ v]) = [29]> then\n        hide\n    end\nend\n\nwhen flag clicked\nwait (0.01) seconds\nwait until <(Alien Health) = [0]>\nhide\n\n@Ending Marshall\n\nwhen flag clicked\nset [endingv v] to [0]\ngo to x: (159) y: (-100)\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [29]> then\n    show\n    forever\n        set [endingv v] to [0]\n        repeat (20)\n            change [endingv v] by (0.6)\n            change y by (Endingv)\n        end\n        set [endingv v] to [0]\n        repeat (20)\n            change [endingv v] by (-0.6)\n            change y by (Endingv)\n        end\n    end\nend\n\n@Ending\n\nwhen flag clicked\ngo to x: (-48) y: (138)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [29]> then\n    show\n    go to [front v] layer\n    forever\n        repeat (4)\n            turn right (2) degrees\n        end\n        repeat (4)\n            turn left (2) degrees\n        end\n        repeat (4)\n            turn left (2) degrees\n        end\n        repeat (4)\n            turn right (2) degrees\n        end\n    end\nend\n\n@Ending2\n\nwhen flag clicked\nset size to (100) %\ngo to x: (-60) y: (3)\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [29]> then\n    show\n    go to [front v] layer\n    forever\n        repeat (5)\n            change size by (1)\n        end\n        repeat (5)\n            change size by (-1)\n        end\n    end\nend\n\n@Wall19\n\nwhen flag clicked\ngo to x: (174) y: (21)\nset size to (100) %\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [14]> then\n    show\nend\n\nwhen I receive [key18got v]\nrepeat (10)\n    change size by (5)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [15]> then\n    hide\nend\n\n@Key18\n\nwhen flag clicked\ngo to x: (-54) y: (11)\nhide\nforever\n    repeat (4)\n        change y by (1)\n        wait (0.04) seconds\n    end\n    repeat (4)\n        change y by (-1)\n        wait (0.04) seconds\n    end\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [14]> then\n    show\n    wait until <touching (marshall v)?>\n    broadcast (key18got v)\n    start sound [Key v]\n    hide\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [15]> then\n    hide\nend\n\nwhen I receive [next v]\nwait (0.01) seconds\nif <([background # v] of [_stage_ v]) = [15]> then\n    hide\nend\n\n
EVERY LEVEL IS POSSIBLE\nInstructions in-game\nLevel 1: Spring Greens\nLevel 2: Volcanic Caverns\nLevel 3: Sky High\nFinal Boss: Prince Alien\n\n