Waluigi: A platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (scene #1 v)\n\nwhen flag clicked\nforever\n    play sound [Ghost Fight v] until done\nend\n\nplay sound [knife sound effect v] until done\n\nstop all sounds\n\n@Waluigi\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        switch costume to (costume \(1\) v)\n        wait (0.05) seconds\n        switch costume to (costume2 v)\n        wait (0.05) seconds\n        switch costume to (costume3 v)\n        wait (0.05) seconds\n        switch costume to (costume4 v)\n        wait (0.05) seconds\n        switch costume to (costume5 v)\n        wait (0.05) seconds\n        switch costume to (costume6 v)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        switch costume to (costume \(1\) v)\n        wait (0.05) seconds\n        switch costume to (costume2 v)\n        wait (0.05) seconds\n        switch costume to (costume3 v)\n        wait (0.05) seconds\n        switch costume to (costume4 v)\n        wait (0.05) seconds\n        switch costume to (costume5 v)\n        wait (0.05) seconds\n        switch costume to (costume6 v)\n    end\n    if <not <<<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> or <key (up arrow v) pressed?>>> then\n        switch costume to (costume7 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        switch costume to (costume2 \(1\) v)\n    end\nend\n\nwait (0.05) seconds\nswitch costume to (costume1 v)\nwait (0.05) seconds\nswitch costume to (costume v)\n\nwait (0.05) seconds\nswitch costume to (costume8 v)\nwait (0.05) seconds\nswitch costume to (costume9 v)\n\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [browsy v]\nhide\n\nswitch backdrop to (browsy v)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (goomba v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (goomba2 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (goomba3 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (blooper-1 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (blooper-2 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (goomba4 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (big guy v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (spring mario v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (spring mario2 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (shell7 \(1\) v)?> then\n        go to x: (-84) y: (-67)\n    end\n    if <touching (shell7 v)?> then\n        go to x: (-84) y: (-67)\n    end\n    if <touching (boo v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (boo3 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (boo2 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (boo4 v)?> then\n        go to x: (-213) y: (-112)\n    end\n    if <touching (sprite1 v)?> then\n        go to x: (-213) y: (-112)\n    end\nend\n\ngo to x: (-213) y: (-112)\n\ngo to x: (-213) y: (-112)\n\ndefine Platform Gravity (gravity) Jump Height (jump height) Side Movement Speed (movement speed) Friction (friction) Slope (slope)\nchange [gravity v] by (gravity)\nchange y by (Gravity)\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change y by ((([abs v] of (Gravity) ) / (Gravity)) * (-1))\n    end\n    set [gravity v] to (<<key (up arrow v) pressed?> and <(([abs v] of (Gravity) ) / (Gravity)) = [-1]>> * (jump height))\nend\nset [gravity x v] to ((((Gravity x) + (<key (left arrow v) pressed?> * ((movement speed) * (-1)))) + (<key (right arrow v) pressed?> * (movement speed))) * (friction))\nchange x by (Gravity x)\nset [slope v] to [0]\nrepeat until <<(slope) = ((slope) * (-1))> or <not <touching (ground v)?>>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching (ground v)?> then\n    change y by (slope)\n    repeat until <not <touching (ground v)?>>\n        change x by ((([abs v] of (Gravity x) ) / (Gravity x)) * (-1))\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (flag v)?> then\n        next backdrop\n        go to x: (-213) y: (-112)\n    end\n    if <touching (lucky block v)?> then\n        set [gravity v] to [16]\n    end\n    if <touching (donkey kong v)?> then\n        switch backdrop to (monke v)\n    end\n    if <touching (walk 1 v)?> then\n        switch backdrop to (browsy v)\n    end\n    if <touching (sprite2 v)?> then\n        go to x: (-213) y: (-112)\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (-192) y: (-107)\nset [gravity v] to [0]\nset [gravity x v] to [0]\nset [score v] to [0]\nforever\n    Platform Gravity [-1] Jump Height [13] Side Movement Speed [2] Friction [0.7] Slope [8]\nend\n\n@Ground\n\nwhen flag clicked\ngo to x: (33) y: (26)\nshow\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [scene #2 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [scene #3 v]\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [scene #4 v]\nswitch costume to (costume4 v)\n\nwhen backdrop switches to [scene #5 v]\nswitch costume to (costume5 v)\n\nwhen backdrop switches to [scene #6 v]\nswitch costume to (costume6 v)\n\nwhen backdrop switches to [scene #7 v]\nswitch costume to (costume7 v)\n\nwhen backdrop switches to [scene #8 v]\nswitch costume to (costume8 v)\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [scene #9 v]\nswitch costume to (costume9 v)\n\nwhen backdrop switches to [scene #10 v]\nswitch costume to (costume10 v)\n\nwhen backdrop switches to [browsy v]\nhide\n\nwhen backdrop switches to [scene #11 v]\nswitch costume to (costume11 v)\n\nwhen backdrop switches to [scene #12 v]\nswitch costume to (costume12 v)\n\nwhen backdrop switches to [scene #13 v]\nswitch costume to (costume13 v)\n\nwhen backdrop switches to [scene #14 v]\nswitch costume to (costume14 v)\n\nwhen backdrop switches to [scene #15 v]\nswitch costume to (costume15 v)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Flag\n\nwhen flag clicked\nswitch costume to (costume2 v)\nshow\ngo to x: (215) y: (-110)\n\nwhen backdrop switches to [scene #4 v]\ngo to x: (219) y: (-2)\n\nwhen backdrop switches to [scene #5 v]\ngo to x: (99) y: (123)\n\nwhen backdrop switches to [scene #6 v]\ngo to x: (220) y: (-112)\n\nwhen backdrop switches to [scene #7 v]\ngo to x: (143) y: (131)\n\nwhen backdrop switches to [scene #8 v]\ngo to x: (-222) y: (145)\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [scene #9 v]\ngo to x: (215) y: (-109)\n\nwhen backdrop switches to [scene #10 v]\ngo to x: (218) y: (45)\n\nwhen backdrop switches to [browsy v]\nhide\n\nwhen backdrop switches to [scene #11 v]\ngo to x: (212) y: (105)\n\nwhen backdrop switches to [scene #12 v]\nswitch costume to (costume3 v)\ngo to x: (214) y: (144)\n\nwhen backdrop switches to [scene #13 v]\ngo to x: (-221) y: (145)\n\nwhen backdrop switches to [scene #14 v]\ngo to x: (204) y: (101)\n\nwhen backdrop switches to [scene #15 v]\ngo to x: (-215) y: (151)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (36) y: (28)\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\n\n@Cloud 1\n\nwhen flag clicked\nshow\ngo to x: (129) y: (130)\nforever\n    change x by (-3)\n    if <touching (_edge_ v)?> then\n        go to x: (129) y: (pick random (90) to (170))\n    end\nend\n\ngo to x: (-55) y: (-23)\n\nforever\n    change x by (-3)\n    if <touching (_edge_ v)?> then\nend\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [browsy v]\nhide\n\nwhen backdrop switches to [scene #12 v]\nhide\n\n@Cloud 2\n\nwhen flag clicked\nshow\ngo to x: (122) y: (105)\nforever\n    change x by (-1)\n    if <touching (_edge_ v)?> then\n        go to x: (122) y: (pick random (90) to (170))\n    end\nend\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [browsy v]\nhide\n\nwhen backdrop switches to [scene #12 v]\nhide\n\n@Cloud 3\n\nwhen flag clicked\nshow\ngo to x: (155) y: (89)\nforever\n    change x by (-2.1)\n    if <touching (_edge_ v)?> then\n        go to x: (155) y: (pick random (90) to (170))\n    end\nend\n\ngo to x: (122) y: (105)\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [browsy v]\nhide\n\nwhen backdrop switches to [scene #12 v]\nhide\n\n@Lucky block\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #2 v]\nshow\ngo to x: (-16) y: (-72)\nforever\n    if <touching (waluigi v)?> then\n        wait (1) seconds\n        hide\n    end\nend\n\nwhen backdrop switches to [scene #3 v]\nhide\n\n@Goomba\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #3 v]\nshow\ngo to x: (213) y: (-125)\nforever\n    change x by (-2)\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #4 v]\nhide\n\n@Goomba2\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #4 v]\nshow\ngo to x: (178) y: (-126)\nforever\n    change x by (-2)\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [scene #5 v]\nhide\n\n@Goomba3\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #4 v]\nshow\ngo to x: (166) y: (-124)\nforever\n    change x by (-4)\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [scene #5 v]\nhide\n\n@Bug machine\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to x: (-13) y: (-10)\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [browsy v]\nhide\n\nwhen backdrop switches to [scene #10 v]\nshow\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [scene #12 v]\nhide\n\n@Blooper-1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #5 v]\nshow\ngo to x: (81) y: (-32)\nswitch costume to (blooper-1 v)\nforever\n    next costume\n    wait (1) seconds\nend\n\nwhen backdrop switches to [scene #6 v]\nhide\n\n@Blooper-2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #5 v]\nshow\ngo to x: (-40) y: (-120)\nswitch costume to (blooper-1 v)\nforever\n    next costume\n    wait (1) seconds\nend\n\ngo to x: (81) y: (-32)\n\nwhen backdrop switches to [scene #6 v]\nhide\n\n@Goomba4\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #6 v]\nshow\ngo to x: (166) y: (-124)\nforever\n    change x by (-3)\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [scene #7 v]\nhide\n\n@big guy\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #6 v]\nswitch costume to (thwomp1 v)\ngo to x: (38) y: (140)\nshow\nforever\n    if <(y position) > []> then\n        switch costume to (thwomp2 v)\n        change y by (-3)\n    end\n    if <touching (ground v)?> then\n        change y by (10000)\n    end\nend\n\nwait (0.1) seconds\n\nwait (1) seconds\n\nwhen backdrop switches to [scene #7 v]\nhide\n\n@Spring Mario\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #7 v]\nshow\ngo to x: (-63) y: (-116)\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #8 v]\nhide\n\n@Spring Mario2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #7 v]\nshow\ngo to x: (32) y: (-121)\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #8 v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #7 v]\nshow\ngo to x: (214) y: (-17)\n\nwhen backdrop switches to [scene #8 v]\nhide\n\n@Donkey Kong\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #8 v]\nshow\ngo to x: (194) y: (-121)\npoint in direction (-90)\nforever\n    change x by (-3)\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.03) seconds\nend\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [scene #9 v]\nhide\n\n@Shell7 (1)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [scene #8 v]\nshow\ngo to x: (164) y: (-32)\n\nwhen backdrop switches to [scene #9 v]\nhide\n\n@Shell7\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [monke v]\nhide\ngo to x: (59) y: (101)\n\nwhen backdrop switches to [scene #8 v]\nshow\n\nwhen backdrop switches to [scene #9 v]\nhide\n\n@Walk 1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #10 v]\nshow\ngo to x: (165) y: (-93)\nforever\n    change x by (-0.75)\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.03) seconds\nend\n\nwhen backdrop switches to [browsy v]\nhide\n\nwhen backdrop switches to [scene #11 v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [monke v]\nhide\n\nwhen backdrop switches to [browsy v]\nhide\n\nwhen backdrop switches to [scene #12 v]\nshow\ngo to x: (-12) y: (-46)\n\n@Boo\n\nwhen flag clicked\nset size to (35) %\nhide\n\nwhen backdrop switches to [scene #12 v]\nshow\ngo to x: (215) y: (3)\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #13 v]\nset size to (20) %\ngo to x: (-90) y: (123)\n\nhide\n\nwhen backdrop switches to [scene #14 v]\nhide\n\nwhen backdrop switches to [scene #15 v]\nshow\ngo to x: (65) y: (-66)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Boo2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #12 v]\nshow\ngo to x: (87) y: (-34)\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #13 v]\ngo to x: (-158) y: (35)\n\nwhen backdrop switches to [scene #14 v]\nhide\n\n@Boo3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [scene #12 v]\nshow\ngo to x: (210) y: (-127)\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #13 v]\ngo to x: (217) y: (144)\n\nwhen backdrop switches to [scene #14 v]\nhide\n\n@Boo4\n\nwhen flag clicked\nset size to (20) %\nhide\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen backdrop switches to [scene #13 v]\n\nhide\n\nwhen backdrop switches to [scene #15 v]\nshow\ngo to x: (68) y: (76)\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n
-------------------Instructions-------------------------------------\n-Arrow keys to move\n-Avoid bad guys\n- Death Screen only appears for Donkey Kong and Bowser. SO DON'T TOUCH THEM\n------------------------------------------------------------------------\n- no ads\n