Paper World ✨ A Platformer (entry)

Instructions: Use arrow keys or WAD. If on mobile, drag your finger. If on computer and you want a challenge, drag your mouse. May have to press green flag twice.\n===========================\nDo you have the skill to beat the boss? Kool\n===========================\n-My second platformer. Want to see more? Check out my other platformers.\n-Music released!!!\n===========================\nUPDATE Mar 24: Added intro\n                             Added reset button. Press "p" to \n                             reset level.\n                             When you press stop sign, it shows \n                              the title screen.\n==========================\nLet's try to get this to #Trending!!!

@Stage\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (15)\nend\n\nwhen I receive [start v]\nforever\n    play sound [Mondo v] until done\n    wait (.05) seconds\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-200) y: (-100)\nset rotation style [left-right v]\npoint in direction (90)\nset [y vel. v] to [0]\nset [x vel. v] to [0]\nset [stage v] to [1]\nset size to (120) %\nshow\nclear graphic effects\nforever\n    Platform Physics jump height: [11] move speed: [1.75] fricton: [0.75]\n    tick\nend\n\ndefine Platform Physics jump height: (y) move speed: (speed) fricton: (friction)\ngo to [front v] layer\nswitch costume to (hitbox v)\nif <<<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> or <key (d v) pressed?>> then\n    change [x vel. v] by (speed)\n    point in direction (90)\nend\nif <<<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> or <key (a v) pressed?>> then\n    change [x vel. v] by ((speed) * (-1))\n    point in direction (-90)\nend\nset [x vel. v] to ((x vel.) * (friction))\nchange x by (x vel.)\nif <touching (stage v)?> then\n    set [slope v] to [0]\n    repeat until <<not <touching (stage v)?>> or <(slope) = [8]>>\n        change [slope v] by (1)\n        change y by (1)\n    end\n    if <touching (stage v)?> then\n        change y by ((slope) * (-1))\n        repeat ([ceiling v] of ([abs v] of (x vel.) ) )\n            if <touching (stage v)?> then\n                change x by ((([abs v] of (x vel.) ) / (x vel.)) * (-1))\n            end\n        end\n        set [x vel. v] to [0]\n    end\nend\nif <touching (bouncepads v)?> then\n    broadcast (bounce v)\n    set [y vel. v] to ((y) * (1.5))\nend\nchange y by (y vel.)\nif <touching (stage v)?> then\n    repeat ([ceiling v] of ([abs v] of (y vel.) ) )\n        if <touching (stage v)?> then\n            change y by ((([abs v] of (y vel.) ) / (y vel.)) * (-1))\n        end\n    end\n    if <<(([abs v] of (y vel.) ) / (y vel.)) = [-1]> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        set [y vel. v] to (y)\n    else\n        set [y vel. v] to [0]\n    end\nelse\n    change [y vel. v] by (-1)\nend\nswitch costume to (idle v)\nif <<<<<key (left arrow v) pressed?> or <key (right arrow v) pressed?>> or <mouse down?>> or <key (a v) pressed?>> or <key (d v) pressed?>> then\n    switch costume to (walk)\nend\nif <(y vel.) > [0]> then\n    switch costume to (jump v)\nend\nif <[-1] > (y vel.)> then\n    switch costume to (fall v)\nend\n\nwhen flag clicked\nset [walk v] to [5]\nforever\n    change [walk v] by (1)\n    if <(walk) > [8]> then\n        set [walk v] to [5]\n    end\n    wait (0.06) seconds\nend\n\ndefine tick\nif <touching (flag v)?> then\n    broadcast (refresh boucepads v)\n    broadcast (transist v)\n    change [stage v] by (1)\n    go to x: (-220) y: (-140)\nend\nif <<(y position) < [-170]> or <touching (spikes v)?>> then\n    create clone of (_myself_ v)\n    go to x: (-220) y: (-140)\n    reset timer\n    set [x vel. v] to [0]\n    set [y vel. v] to [0]\nend\nif <key (p v) pressed?> then\n    broadcast (refresh boucepads v)\n    broadcast (transist v)\n    go to x: (-220) y: (-140)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (50)\nrepeat (10)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nwait until <(Stage) = [22]>\nwait (2) seconds\nrepeat (100)\n    wait (.05) seconds\n    change [ghost v] effect by (1)\n    wait (.05) seconds\n    change [ghost v] effect by (1)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to x: (-200) y: (-100)\n\n@Stage\n\nwhen flag clicked\nhide\nset [stage v] to [1]\ngo to x: (0) y: (0)\nforever\n    switch costume to (Stage)\nend\n\nwhen I receive [start v]\nshow\n\n@Flag\n\nwhen flag clicked\nforever\n    next costume\n    wait (.2) seconds\nend\n\nwhen flag clicked\nforever\n    point in direction (90)\n    go to [front v] layer\n    if <(Stage) = [1]> then\n        go to x: (216) y: (-143)\n    end\n    if <(Stage) = [2]> then\n        go to x: (216) y: (-143)\n    end\n    if <(Stage) = [3]> then\n        go to x: (216) y: (-143)\n    end\n    if <(Stage) = [4]> then\n        go to x: (216) y: (-143)\n    end\n    if <(Stage) = [5]> then\n        go to x: (216) y: (-143)\n    end\n    if <(Stage) = [6]> then\n        go to x: (216) y: (-143)\n    end\n    if <(Stage) = [7]> then\n        go to x: (215) y: (-44)\n    end\n    if <(Stage) = [8]> then\n        go to x: (-211) y: (67)\n    end\n    if <(Stage) = [9]> then\n        go to x: (-49) y: (74)\n    end\n    if <(Stage) = [10]> then\n        go to x: (179) y: (-144)\n    end\n    if <(Stage) = [11]> then\n        go to x: (210) y: (-144)\n    end\n    if <(Stage) = [12]> then\n        go to x: (-148) y: (65)\n    end\n    if <(Stage) = [13]> then\n        go to x: (-2) y: (-42)\n    end\n    if <(Stage) = [14]> then\n        go to x: (230) y: (-87)\n    end\n    if <(Stage) = [15]> then\n        go to x: (-208) y: (113)\n    end\n    if <(Stage) = [16]> then\n        go to x: (-216) y: (31)\n    end\n    if <(Stage) = [17]> then\n        go to x: (-17) y: (-19)\n    end\n    if <(Stage) = [18]> then\n        go to x: (218) y: (-6)\n    end\n    if <(Stage) = [19]> then\n        go to x: (178) y: (-145)\n    end\n    if <(Stage) = [20]> then\n        go to x: (-115) y: (-145)\n    end\n    if <(Stage) = [21]> then\n        go to x: (1) y: (-13)\n    end\n    if <(Stage) = [22]> then\n        go to x: (0) y: (0)\n        hide\n    end\nend\n\nwhen I receive [boss v]\nhide\n\nwhen I receive [boss defeated v]\nwait (1) seconds\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@SPIKES\n\nwhen flag clicked\nhide\nclear graphic effects\nswitch costume to (1 v)\nset [stage v] to [1]\ngo to x: (0) y: (0)\npoint in direction (90)\nforever\n    switch costume to (Stage)\n    go to [front v] layer\nend\n\nwhen I start as a clone\nset [distance v] to [0]\nset size to (60) %\nset [ghost v] effect to (100)\nshow\nswitch costume to (projectile v)\ngo to (boss v)\nset x to (pick random (-225) to (225))\npoint towards (player v)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat until <<<touching (stage v)?> or <touching (player v)?>> or <(distance) > [100]>>\n    point towards (player v)\n    move (3) steps\n    change [distance v] by (1)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nwait until <(Stage) = [22]>\nswitch costume to (projectile v)\n\nwhen I receive [start v]\nshow\n\nwhen I start as a clone\nset [distance v] to [0]\nset size to (60) %\nset [ghost v] effect to (100)\nshow\nswitch costume to (projectile v)\ngo to (boss v)\nset x to (pick random (-225) to (225))\npoint towards (player v)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat until <<<touching (stage v)?> or <touching (player v)?>> or <(distance) > [100]>>\n    point towards (player v)\n    move (3) steps\n    change [distance v] by (1)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Bouncepads\n\nwhen flag clicked\nset [stage v] to [1]\ngo to x: (0) y: (0)\nhide\nforever\n    wait until <(Stage) = [5]>\n    clone at x: [-84] y: [-150]\n    wait until <(Stage) = [6]>\n    clone at x: [-97] y: [-149]\n    wait until <(Stage) = [9]>\n    clone at x: [-1] y: [-151]\n    wait until <(Stage) = [11]>\n    clone at x: [-86] y: [-151]\n    wait until <(Stage) = [12]>\n    clone at x: [-135] y: [-157]\n    clone at x: [-9] y: [-95]\n    clone at x: [120] y: [-39]\n    clone at x: [9] y: [76]\n    wait until <(Stage) = [13]>\n    clone at x: [-102] y: [-157]\n    clone at x: [-102] y: [-27]\n    wait until <(Stage) = [17]>\n    clone at x: [30] y: [-151]\n    wait until <(Stage) = [18]>\n    clone at x: [-15] y: [-151]\n    clone at x: [91] y: [-151]\n    clone at x: [-105] y: [-151]\n    wait until <(Stage) = [19]>\n    clone at x: [-6] y: [-152]\n    clone at x: [-52] y: [-19]\n    clone at x: [11] y: [75]\n    wait until <(Stage) = [21]>\n    clone at x: [73] y: [-159]\n    clone at x: [-73] y: [-161]\nend\n\ndefine clone at x: (x) y: (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nset size to (100) %\nswitch costume to (2 v)\nshow\nforever\n    if <touching (player v)?> then\n        repeat (8)\n            next costume\n        end\n    end\nend\n\nwhen I receive [refresh boucepads v]\ndelete this clone\n\nwhen flag clicked\nforever\n    set [mouse v] to (join (mouse x) (join [,] (mouse y)))\nend\n\nbroadcast (refresh boucepads v)\n\n@Background\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nhide\nforever\n    wait until <(Stage) = [2]>\n    show\n    wait until <(Stage) = [8]>\n    go to x: (302) y: (76)\n    wait until <(Stage) = [10]>\n    hide\n    wait until <(Stage) = [11]>\n    show\n    wait until <(Stage) = [13]>\n    hide\n    wait until <(Stage) = [17]>\n    show\n    wait until <(Stage) = [18]>\n    switch costume to (costume2 v)\n    wait until <(Stage) = [19]>\n    switch costume to (costume1 v)\n    hide\n    wait until <(Stage) = [20]>\n    go to x: (0) y: (0)\n    show\n    switch costume to (costume3 v)\n    wait until <(Stage) = [21]>\n    hide\n    wait until <(Stage) = [22]>\n    wait (5) seconds\n    switch costume to (end v)\n    show\nend\n\n@TB\n\nwhen flag clicked\nset size to (100) %\ngo to x: (0) y: (0)\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (.1)\ngo to [front v] layer\nset [brightness v] effect to (1)\nshow\n\n@boss\n\nwhen flag clicked\nclear graphic effects\nset size to (120) %\nswitch costume to (1 v)\nhide\nwait until <(Stage) = [21]>\nswitch costume to (1 v)\npoint in direction (90)\ngo to x: (-200) y: (103)\nshow\nbroadcast (boss v)\nwait (2) seconds\nrepeat (4)\n    switch costume to (1 v)\n    wait (0.05) seconds\n    switch costume to (2 v)\n    wait (0.05) seconds\nend\nwait (1) seconds\nrepeat (10)\n    switch costume to (3 v)\n    wait (0.05) seconds\n    switch costume to (4 v)\n    wait (0.05) seconds\nend\nset [pitch v] effect to (0)\nset volume to (200) %\nreset timer\nrepeat (15)\n    create clone of (spikes v)\n    switch costume to (3 v)\n    wait (1) seconds\n    create clone of (spikes v)\n    switch costume to (4 v)\n    wait (1) seconds\nend\nswitch costume to (5 v)\nwait (1) seconds\nrepeat (100)\n    switch costume to (5 v)\n    wait (0.05) seconds\n    change [ghost v] effect by (1)\n    switch costume to (6 v)\n    wait (0.05) seconds\n    change [ghost v] effect by (1)\nend\nset volume to (100) %\nhide\nbroadcast (BOSS DEFEATED v)\n\n@Sprite1\n\ndefine transist\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nset [ghost v] effect to (0)\nwait (0.05) seconds\nrepeat (25)\n    go to [front v] layer\n    change [ghost v] effect by (4)\nend\nhide\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [transist v]\ntransist\n\n@thumbnail\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    set size to (100) %\nend\n\nwhen I receive [thumbnail v]\nshow\n\nwhen I receive [thumbnail v]\nforever\n    if <key (space v) pressed?> then\n        broadcast (start v)\n        hide\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@Logo\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (0) %\nhide\n\nwhen I receive [name v]\nwait (4) seconds\nbroadcast (size swipe v)\nwait (1) seconds\nhide\n\nwhen I receive [logo v]\npoint in direction (90)\nshow\nrepeat (20)\n    set [rotate/move v] to (((ROTATE/MOVE) * (0.7)) + (((100) - (size)) / (1.5)))\n    change size by (ROTATE/MOVE)\nend\nrepeat (50)\n    point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\nend\npoint in direction (90)\nrepeat (5)\n    change size by (-10)\nend\nrepeat (20)\n    set [rotate/move v] to (((ROTATE/MOVE) * (0.7)) + (((100) - (size)) / (1.5)))\n    change size by (ROTATE/MOVE)\nend\nbroadcast (name v)\nrepeat (400)\n    point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\nend\n\n@font\n\ndefine dialogue (text)\nbroadcast (clear v)\nif <(Info selected?) = [2]> then\n    go to x: (0) y: (0)\n    print (item (Funkepedia Selected) of [funkemon names v])\nend\ngo to x: (-75) y: (-100)\nset [autonewline v] to [1]\nprint slow (text)\nif <<(Dialogue Box?) = [2]> or <(Dialogue Box?) = [4]>> then\n    if <(battle?) = [1]> then\n        go to x: (-170) y: (-24)\n        print [Yes]\n        go to x: (-170) y: (-56)\n        print [No]\n    else\n        go to x: (150) y: (-24)\n        print [Yes]\n        go to x: (150) y: (-56)\n        print [No]\n    end\n    set [dialogue box? v] to ((Dialogue Box?) + (1))\n    set [decision type v] to [2]\n    set [selected option v] to [1]\n    wait until <not <<key (z v) pressed?> or <key (x v) pressed?>>>\n    repeat until <<key (z v) pressed?> or <key (x v) pressed?>>\n        if <key (up arrow v) pressed?> then\n            set [selected option v] to [1]\n            wait until <not <key (up arrow v) pressed?>>\n        end\n        if <key (down arrow v) pressed?> then\n            set [selected option v] to [0]\n            wait until <not <key (down arrow v) pressed?>>\n        end\n    end\n    if <key (x v) pressed?> then\n        set [selected option v] to [0]\n    end\n    set [decision type v] to [0]\nelse\n    wait (6) seconds\nend\n\nwhen I receive [clear v]\ndelete this clone\n\ndefine print (text)\nset [letter v] to [0]\nrepeat (length of (text))\n    change [letter v] by (1)\nend\nset [length of next word v] to [0]\nline check (text)\nswitch costume to (null v)\nswitch costume to (letter (letter) of (text))\nif <(costume [number v]) = [1]> then\n    switch costume to (join (letter (letter) of (text)) [2])\n    if <(costume [number v]) = [19]> then\n        switch costume to (null v)\n    end\nend\nif <<((x position) + ((length of next word) * (16))) > [220]> and <(autonewline) = [1]>> then\n    change y by (-32)\n    set x to (-212)\nend\nif <(letter (letter) of (text)) = [;]> then\n    change y by (-32)\n    set x to (-212)\nelse\n    if <not <(letter (letter) of (text)) = [ ]>> then\n        create clone of (_myself_ v)\n    end\n    change x by (16)\nend\n\ndefine print slow (text)\nset [brightness v] effect to (-100)\nset [ghost v] effect to (0)\nset [color v] effect to (125)\nset [letter v] to [0]\nset [line v] to [1]\nset [fast text? v] to [0]\nrepeat until <(letter) > ((length of (text)) - (1))>\n    print letter (text)\n    if <<(fast text?) = [1]> and <(letter) < (length of (text))>> then\n        print letter (text)\n    end\nend\n\ndefine line check (text)\nrepeat until <<(letter ((letter) + (length of next word)) of (text)) = [ ]> or <((letter) + (length of next word)) > (length of (text))>>\n    change [length of next word v] by (1)\nend\n\nwhen I start as a clone\nshow\nif <[2] < (line)> then\n    set [line v] to [2]\nend\nset [x v] to (x position)\nset [y v] to (y position)\nforever\n    go to x: ((x) + (Rumble X)) y: ((y) + (Rumble Y))\nend\n\nwhen I receive [newline v]\nchange [y v] by (32)\nchange y by (32)\nchange [line v] by (-1)\nif <(line) < [1]> then\n    delete this clone\nend\n\ndefine print letter (text)\nchange [letter v] by (1)\nset [length of next word v] to [0]\nline check (text)\nswitch costume to (null v)\nswitch costume to (letter (letter) of (text))\nif <(costume [number v]) = [1]> then\n    switch costume to (join (letter (letter) of (text)) [2])\n    if <(costume [number v]) = [19]> then\n        switch costume to (null v)\n    end\nend\nif <<((x position) + ((length of next word) * (16))) > [220]> and <(autonewline) = [1]>> then\n    change y by (-32)\n    set x to (-212)\n    change [line v] by (1)\n    if <(line) > [2]> then\n        change y by (32)\n        wait until <key (z v) pressed?>\n        set [fast text? v] to [0]\n        broadcast (newline v)\n    end\nend\nif <(letter (letter) of (text)) = [;]> then\n    change y by (-32)\n    set x to (-212)\nelse\n    if <not <(letter (letter) of (text)) = [ ]>> then\n        create clone of (_myself_ v)\n    end\n    if <<(line) > [2]> and <(x position) = [-212]>> then\n        change y by (-32)\n        change [line v] by (0)\n    end\n    change x by (16)\nend\nif <(fast text?) = [2]> then\n    set [fast text? v] to [1]\nend\nif <<key (x v) pressed?> and <(fast text?) = [0]>> then\n    set [fast text? v] to [2]\nend\n\nwhen I receive [letter v]\ndialogue [SourBoylemon]\ndialogue []\n\nwhen flag clicked\n\nwhen flag clicked\nswitch costume to ( name v)\nhide\n\nwhen I receive [name v]\ngo to [front v] layer\nshow\ngo to x: (0) y: (-70)\n\nwhen I receive [size swipe v]\nhide\n\n@Intro\n\nforever\n    if <<key (space v) pressed?> and <(backdrop [number v]) = [3]>> then\nend\n\nwhen I start as a clone\nset size to (0) %\nshow\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\nif <(cid) = [1]> then\n    switch costume to (costume6 v)\n    go to [front v] layer\n    repeat until <(round (size)) = [69]>\n        change size by (((69) - (size)) / (5))\n    end\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\nend\nif <(cid) = [2]> then\n    switch costume to (costume7 v)\n    go to [front v] layer\n    repeat until <(round (size)) = [69]>\n        change size by (((69) - (size)) / (5))\n    end\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\nend\nif <(cid) = [3]> then\n    switch costume to (costume8 v)\n    go to [front v] layer\n    repeat until <(round (size)) = [69]>\n        change size by (((69) - (size)) / (5))\n    end\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\nend\nif <(cid) = [4]> then\n    switch costume to (costume9 v)\n    go to [front v] layer\n    repeat until <(round (size)) = [69]>\n        change size by (((69) - (size)) / (5))\n    end\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    broadcast (end v)\nend\nif <(cid) = [5]> then\n    switch costume to (costume10 v)\n    go to [front v] layer\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) / (5))\n    end\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\nend\nwait (1) seconds\n\nwhen I receive [size swipe v]\nset [brightness v] effect to (0)\nhide\nswitch costume to (costume2 v)\ncreate clone of (_myself_ v)\nset [cid v] to [1]\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nset [cid v] to [2]\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cid v] to [3]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cid v] to [4]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [cid v] to [5]\nwait (5) seconds\nbroadcast (thumbnail v)\nerase all\nwait (2) seconds\n\n@PEN\n\nwhen flag clicked\nstart sound [Multex - Gravity v]\ngo to [front v] layer\ngo to x: (-220) y: (-180)\nerase all\npen up\npen down\nset pen size to (150)\nset pen color to (#e61616)\nrepeat (10)\n    change y by (55)\nend\npen up\ngo to x: (-130) y: (180)\npen down\nset pen size to (150)\nset pen color to (#ff9a2f)\nrepeat (10)\n    change y by (-55)\nend\npen up\ngo to x: (-40) y: (-180)\npen down\nset pen size to (150)\nset pen color to (#ff0000)\nrepeat (10)\n    change y by (55)\nend\npen up\ngo to x: (50) y: (180)\npen down\nset pen size to (150)\nset pen color to (#c12a00)\nrepeat (10)\n    change y by (-55)\nend\npen up\ngo to x: (140) y: (-180)\npen down\nset pen size to (150)\nset pen color to (#ff9b2f)\nrepeat (10)\n    change y by (55)\nend\npen up\ngo to x: (230) y: (180)\npen down\nset pen size to (150)\nset pen color to (#b50000)\nrepeat (10)\n    change y by (-55)\nend\nbroadcast (Logo v)\n\npen up\ngo to x: (20) y: (-180)\npen down\nset pen size to (100)\nset pen color to (#ffce00)\nrepeat (10)\n    change y by (55)\nend\npen up\ngo to x: (60) y: (180)\npen down\nset pen size to (100)\nset pen color to (#ffea60)\nrepeat (10)\n    change y by (-55)\nend\npen up\ngo to x: (100) y: (-180)\npen down\nset pen size to (100)\nset pen color to (#ffce00)\nrepeat (10)\n    change y by (55)\nend\npen up\ngo to x: (140) y: (180)\npen down\nset pen size to (50)\nset pen color to (#ffea60)\nrepeat (10)\n    change y by (-55)\nend\npen up\ngo to x: (180) y: (-180)\npen down\nset pen size to (50)\nset pen color to (#ffd000)\nrepeat (10)\n    change y by (55)\nend\npen up\ngo to x: (220) y: (180)\npen down\nset pen size to (50)\nset pen color to (#ffea60)\nrepeat (10)\n    change y by (-55)\nend\n\n