Tiny Square - Generic Platformer - First Game - hard - 

Instructions: Now in contest -https://scratch.mit.edu/projects/630053517/\n\nFirst time making a scratch game. Hope you enjoy. All levels are possible, Hate asking but plz heart.\nAdding new levels so can be broken at times. Finally understand variables and now use them for everything :)\nR - reset to last checkpoint or starthttps://scratch.mit.edu/explore/projects/all\nS - Skip (why would you do this though?) \nGreen - checkpoint\nPurple - Bounce pad\nBlue - Clear level\nBrown - Door\nYellow - Key\nRed - bad stuff\nGrey - more bad stuff

@Stage\n\nwhen flag clicked\nforever\n    if <(lv number) = [1]> then\n        switch backdrop to (lv 1 v)\n    end\n    if <(lv number) = [2]> then\n        switch backdrop to (download \(10\) v)\n    end\n    if <(lv number) = [3]> then\n        switch backdrop to (download \(17\) v) and wait\n    end\n    if <(lv number) = [4]> then\n        switch backdrop to (download \(24\) v) and wait\n    end\n    if <(lv number) = [5]> then\n        switch backdrop to (download \(27\) v) and wait\n    end\n    if <(lv number) = [6]> then\n        switch backdrop to (download \(36\) v) and wait\n    end\n    if <(lv number) = [7]> then\n        switch backdrop to (download \(37\) v) and wait\n    end\n    if <(lv number) = [8]> then\n        switch backdrop to (download \(55\)2 v) and wait\n    end\n    if <(lv number) = [9]> then\n        switch backdrop to (download \(63\) v) and wait\n    end\n    if <(lv number) = [10]> then\n        switch backdrop to (download \(65\) v) and wait\n    end\n    if <(lv number) = [11]> then\n        switch backdrop to (download \(73\) v) and wait\n    end\n    if <(lv number) = [12]> then\n        switch backdrop to (download \(75\) v) and wait\n    end\n    if <(lv number) = [14]> then\n        switch backdrop to (download \(67\) v) and wait\n    end\n    if <(lv number) = [13]> then\n        switch backdrop to (download \(81\) v) and wait\n    end\n    if <(lv number) = [14]> then\n        switch backdrop to (download \(96\) v) and wait\n    end\n    if <(lv number) = [15]> then\n        switch backdrop to (download \(96\) v) and wait\n        broadcast (win v)\n    end\nend\n\n@bob\n\nwhen flag clicked\nswitch costume to (costume2 v)\nset [check point spot y v] to [20]\nset [check point x v] to [-10]\npoint in direction (90)\nset [deaths v] to [0]\nset size to (35) %\nswitch backdrop to (lv 1 v)\nReset Player Position\nhide variable [deaths v]\nset [force up v] to [1.5]\nset [force walk v] to [1.5]\nset [force gravity v] to [-.8]\nset [force jump v] to [8]\nset [player speed x v] to [0]\nset [player speed y v] to [0]\nforever\n    Check Player Gravity\n    Check Player Walk\n    Check Player Touching\n    check player up/down\nend\n\ndefine move out (dx) (dy)\nrepeat until <not <<touching color (#000000)?> or <<touching (door v)?> or <<touching color (#ffcd03)?> or <touching color (#f7ff14)?>>>>>\n    change x by (dx)\n    change y by (dy)\nend\n\ndefine Check Player Gravity\nif <not <touching color (#00fff7)?>> then\n    change [player speed y v] by (FORCE GRAVITY)\n    change y by (Player Speed Y)\n    if <<touching color (#000000)?> or <<touching (door v)?> or <<touching color (#ffcd03)?> or <touching color (#f7ff14)?>>>> then\n        if <(Player Speed Y) > [0]> then\n            move out [0] [-1]\n            set [player speed y v] to [0]\n        else\n            move out [0] [1]\n            if <key (up arrow v) pressed?> then\n                set [player speed y v] to (FORCE JUMP)\n            else\n                set [player speed y v] to [0]\n            end\n        end\n    end\nend\n\ndefine Check Player Walk\nif <key (left arrow v) pressed?> then\n    change [player speed x v] by ((-1) * (FORCE WALK))\nend\nif <key (right arrow v) pressed?> then\n    change [player speed x v] by ((1) * (FORCE WALK))\nend\nset [player speed x v] to ((Player Speed X) * (0.7))\nchange x by (Player Speed X)\nif <(Player Speed X) > [0]> then\n    move out [-1] [0]\nelse\n    move out [1] [0]\nend\n\ndefine Check Player Touching\nif <touching color (#a100ff)?> then\n    set [player speed y v] to [12]\nend\nif <touching color (#ff05b4)?> then\n    set [player speed x v] to [-15]\nend\nif <touching color (#ff9100)?> then\n    set [player speed x v] to [20]\n    set [player speed y v] to [1]\nend\nif <<touching color (#ff0000)?> or <touching color (#ff0011)?>> then\n    if <not <touching (gun v)?>> then\n        broadcast (death v)\n        wait (.3) seconds\n    end\nend\nif <touching color (#09ff00)?> then\n    set [check point spot y v] to (y position)\n    set [check point x v] to (x position)\nend\nif <<touching color (#0a23ff)?> or <touching color (#0800ff)?>> then\n    change [lv number v] by (1)\n    broadcast (Complete level v)\nend\nif <<<touching (flying thing2 v)?> or <touching (flying thing v)?>> or <<touching (bolt v)?> or <touching (bolt 2 v)?>>> then\n    broadcast (death v)\n    wait (.3) seconds\nend\n\ndefine Reset Player Position\nshow\nclear graphic effects\nset [player speed x v] to [0]\nset [player speed y v] to [0]\ngo to x: (check point x) y: (check point spot y)\nchange x by (-1)\n\nwhen flag clicked\nforever\n    set [player position x v] to (x position)\n    set [player position y v] to (y position)\nend\n\nwhen I receive [complete level v]\nif <(lv number) > [1]> then\n    set [check point spot y v] to [135]\n    set [check point x v] to [-205]\nend\nif <(lv number) = [2]> then\n    set [check point spot y v] to [140]\n    set [check point x v] to [-216]\nend\nif <(lv number) = [5]> then\n    set [check point spot y v] to [-146]\n    set [check point x v] to [-211]\nend\nif <(lv number) = [7]> then\n    set [check point spot y v] to [-90]\n    set [check point x v] to [-210]\nend\nif <(lv number) = [8]> then\n    set [check point spot y v] to [-90]\n    set [check point x v] to [-210]\nend\nif <(lv number) = [9]> then\n    set [check point spot y v] to [150]\n    set [check point x v] to [-210]\nend\nif <(lv number) = [10]> then\n    set [check point spot y v] to [131]\n    set [check point x v] to [33]\nend\nif <(lv number) = [11]> then\n    set [check point spot y v] to [131]\n    set [check point x v] to [-215]\nend\nif <(lv number) = [12]> then\n    set [check point spot y v] to [-75]\n    set [check point x v] to [-219]\nend\nif <(lv number) = [13]> then\n    set [check point spot y v] to [-150]\n    set [check point x v] to [-140]\nend\nif <(lv number) = [14]> then\n    set [check point spot y v] to [-113]\n    set [check point x v] to [-221]\nend\nReset Player Position\nwait (.01) seconds\nReset Player Position\n\nwhen [r v] key pressed\nReset Player Position\n\nwhen [s v] key pressed\nbroadcast (Complete level v)\nchange [lv number v] by (1)\n\nwhen I receive [death v]\nset [death spot x v] to (x position)\nset [death spot y v] to (y position)\nhide\nwait (.00001) seconds\nReset Player Position\n\nwhen I receive [boss ded v]\nwait (7) seconds\nchange [lv number v] by (1)\nbroadcast (Complete level v)\n\nwhen flag clicked\nhide\nwait until <(lv number) = [1]>\nshow\n\nwhen flag clicked\nforever\n    play sound [Stargunner \(PC, DOS\) Title Theme v] until done\nend\n\ndefine check player up/down\nif <touching color (#00fff7)?> then\n    if <key (down arrow v) pressed?> then\n        change [player speed y v] by ((-1) * (force up))\n    end\n    if <key (up arrow v) pressed?> then\n        change [player speed y v] by ((1) * (force up))\n    end\n    set [player speed y v] to ((player speed y) * (0.7))\nend\nchange y by (player speed y)\nif <(player speed y) > [0]> then\n    move out [0] [-1]\nelse\n    move out [0] [1]\nend\n\nwhen flag clicked\nforever\n    if <not <touching color (#00fff7)?>> then\n        set [player speed y v] to [0]\n        set [force up v] to [0]\n    else\n        set [force up v] to [1.5]\n    end\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@key\n\nwhen flag clicked\nset [key found-2 v] to [0]\nset [lv number v] to [1]\nif <(lv number) = [1]> then\n    go to x: (-222) y: (-145)\n    show\nend\nforever\n    if <touching (bob v)?> then\n        broadcast (key found v)\n        hide\n    end\nend\n\nwhen I receive [complete level v]\nset [key found-2 v] to [0]\nif <(lv number) = [2]> then\n    go to x: (220) y: (-87)\n    show\nend\nif <(lv number) = [3]> then\n    go to x: (-219) y: (99)\n    show\nend\nif <(lv number) = [4]> then\n    go to x: (-96) y: (147)\n    show\nend\nif <(lv number) = [5]> then\n    go to x: (-201) y: (106)\n    show\nend\nif <(lv number) = [6]> then\n    go to x: (-121) y: (82)\n    show\nend\nif <(lv number) = [7]> then\n    hide\nend\nif <(lv number) = [9]> then\n    set [key number v] to [0]\n    repeat (4)\n        change [key number v] by (1)\n        create clone of (_myself_ v)\n    end\nend\nif <(lv number) = [13]> then\n    go to x: (195) y: (34)\n    show\nend\nif <(lv number) = [14]> then\n    go to x: (222) y: (138)\n    show\nend\n\nwhen I start as a clone\nshow\nif <(lv number) = [9]> then\n    if <(key number) = [1]> then\n        go to x: (-203) y: (36)\n    end\n    if <(key number) = [2]> then\n        go to x: (-214) y: (-44)\n    end\n    if <(key number) = [3]> then\n        go to x: (-218) y: (-118)\n    end\n    if <(key number) = [4]> then\n        go to x: (-33) y: (-125)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (bob v)?> then\n        hide\n        change [key found-2 v] by (1)\n        if <(key found-2) = [4]> then\n            broadcast (door unlocked v)\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <not <(lv number) = [9]>> then\n        delete this clone\n    end\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@door\n\nwhen flag clicked\nrepeat (2)\n    if <(lv number) = [1]> then\n        set size to (100) %\n        go to x: (-97) y: (151)\n        show\n    end\nend\n\nwhen I receive [key found v]\nhide\n\nwhen I receive [complete level v]\nif <(lv number) = [2]> then\n    set size to (135) %\n    go to x: (199) y: (108)\n    show\nend\nif <(lv number) = [3]> then\n    set size to (135) %\n    go to x: (174) y: (-30)\n    show\nend\nif <(lv number) = [4]> then\n    set size to (70) %\n    go to x: (-145) y: (36)\n    show\nend\nif <(lv number) = [5]> then\n    set size to (100) %\n    go to x: (199) y: (145)\n    show\nend\nif <(lv number) = [6]> then\n    set size to (87.5) %\n    go to x: (206) y: (0)\n    show\nend\nif <(lv number) = [7]> then\n    hide\nend\nif <(lv number) = [9]> then\n    set size to (100) %\n    go to x: (152) y: (-139)\n    show\nend\nif <(lv number) = [10]> then\n    hide\nend\nif <(lv number) = [13]> then\n    go to x: (199) y: (-79)\n    show\nend\nif <(lv number) = [14]> then\n    set size to (67) %\n    go to x: (-203) y: (-136)\n    show\nend\n\nwhen I receive [door unlocked v]\nhide\n\nwhen I receive [win v]\nstop [all v]\n\n@flying thing\n\nwhen flag clicked\nhide\nforever\n    if <(lv number) = [1]> then\n        go to x: (230) y: (110)\n        create clone of (_myself_ v)\n        wait (3.5) seconds\n    end\nend\n\nwhen I start as a clone\nif <(lv number) = [1]> then\n    go to x: (230) y: (110)\n    show\n    glide (7) secs to x: (-85) y: (110)\n    delete this clone\nend\nif <(lv number) = [10]> then\n    if <(spike place) = [1]> then\n        go to x: (-133) y: (27)\n        show\n        forever\n            glide (1) secs to x: (-133) y: (-41)\n            glide (1) secs to x: (-133) y: (27)\n        end\n    end\nend\nif <(lv number) = [10]> then\n    if <(spike place) = [2]> then\n        go to x: (-80) y: (80)\n        show\n        forever\n            glide (1) secs to x: (-80) y: (-41)\n            glide (1) secs to x: (-80) y: (80)\n        end\n    end\nend\nif <(lv number) = [10]> then\n    if <(spike place) = [3]> then\n        go to x: (27) y: (80)\n        show\n        forever\n            glide (1) secs to x: (27) y: (-41)\n            glide (1) secs to x: (27) y: (80)\n        end\n    end\nend\nif <(lv number) = [10]> then\n    if <(spike place) = [4]> then\n        go to x: (106) y: (1)\n        show\n        forever\n            glide (1) secs to x: (106) y: (-41)\n            glide (1) secs to x: (106) y: (1)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    wait (.01) seconds\n    turn right (12) degrees\nend\n\nwhen I start as a clone\nforever\n    if <not <<(lv number) = [10]> or <(lv number) = [1]>>> then\n        delete this clone\n    end\nend\n\nwhen I receive [complete level v]\nset [spike place v] to [0]\nif <(lv number) = [10]> then\n    repeat (4)\n        change [spike place v] by (1)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@flying thing2\n\nwhen flag clicked\nset [spike 2 placment v] to [0]\nhide\nset size to (30) %\nforever\n    if <(lv number) = [1]> then\n        go to x: (130) y: (-141)\n        create clone of (_myself_ v)\n        wait (1.5) seconds\n    end\nend\n\nwhen I start as a clone\nif <(lv number) = [1]> then\n    go to x: (136) y: (-141)\n    go to [back v] layer\n    show\n    glide (1.5) secs to x: (-100) y: (-141)\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    wait (.01) seconds\n    turn right (5) degrees\nend\n\nwhen I start as a clone\nforever\n    if <not <<(lv number) = [1]> or <(lv number) = [14]>>> then\n        delete this clone\n    end\nend\n\nwhen I receive [complete level v]\nif <(lv number) = [14]> then\n    repeat (6)\n        change [spike 2 placment v] by (1)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nshow\nif <(lv number) = [14]> then\n    if <(spike 2 placment) = [1]> then\n        go to x: (204) y: (-144)\n        forever\n            glide (pick random (1.4) to (1.6)) secs to x: (-180) y: (-144)\n            glide (pick random (1.4) to (1.6)) secs to x: (204) y: (-144)\n        end\n    end\n    if <(spike 2 placment) = [2]> then\n        go to x: (-155) y: (-116)\n        forever\n            glide (pick random (1.4) to (1.6)) secs to x: (204) y: (-116)\n            glide (pick random (1.4) to (1.6)) secs to x: (-155) y: (-116)\n        end\n    end\n    if <(spike 2 placment) = [3]> then\n        go to x: (204) y: (-89)\n        forever\n            glide (pick random (1.4) to (1.6)) secs to x: (-218) y: (-89)\n            glide (pick random (1.4) to (1.6)) secs to x: (204) y: (-89)\n        end\n    end\n    if <(spike 2 placment) = [4]> then\n        go to x: (-200) y: (-64)\n        forever\n            glide (pick random (1.4) to (1.6)) secs to x: (204) y: (-64)\n            glide (pick random (1.4) to (1.6)) secs to x: (-200) y: (-64)\n        end\n    end\n    if <(spike 2 placment) = [5]> then\n        go to x: (204) y: (-38)\n        forever\n            glide (pick random (1.4) to (1.6)) secs to x: (-200) y: (-38)\n            glide (pick random (1.4) to (1.6)) secs to x: (204) y: (-38)\n        end\n    end\n    if <(spike 2 placment) = [6]> then\n        go to x: (-198) y: (-12)\n        forever\n            glide (pick random (1.4) to (1.6)) secs to x: (204) y: (-12)\n            glide (pick random (1.4) to (1.6)) secs to x: (-198) y: (-12)\n        end\n    end\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@download (7)\n\nwhen flag clicked\nset size to (50) %\n\nwhen flag clicked\nswitch costume to (download \(9\) v)\nhide\nforever\n    set [random y value v] to (pick random (-40) to (110))\n    wait (.2) seconds\n    go to x: (200) y: (random y value)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nhide\nforever\n    if <<touching color (#f7ff14)?> or <touching color (#000000)?>> then\n        delete this clone\n    end\n    glide (6) secs to x: (-45) y: (random y value)\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    if <(lv number) = [2]> then\n        show\n    end\n    if <not <<(lv number) = [2]> or <(lv number) = [1]>>> then\n        delete this clone\n    end\n    if <(lv number) = [1]> then\n        hide\n    end\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@up and down\n\nwhen flag clicked\nset size to (50) %\nhide\n\nwhen I receive [complete level v]\nif <(lv number) = [4]> then\n    set [clone location v] to [1]\n    create clone of (_myself_ v)\n    wait (.01) seconds\n    set [clone location v] to [2]\n    create clone of (_myself_ v)\n    wait (.01) seconds\n    set [clone location v] to [3]\n    create clone of (_myself_ v)\n    wait (.01) seconds\n    set [clone location v] to [4]\n    create clone of (_myself_ v)\n    wait (.01) seconds\n    set [clone location v] to [5]\n    create clone of (_myself_ v)\n    wait (.01) seconds\n    set [clone location v] to [6]\n    create clone of (_myself_ v)\n    wait (.01) seconds\nend\n\nwhen I start as a clone\nshow\nif <(clone location) = [1]> then\n    forever\n        if <not <(lv number) = [4]>> then\n            delete this clone\n        else\n            go to x: (-120) y: (27)\n            glide (1.5) secs to x: (-120) y: (98)\n            glide (1.5) secs to x: (-120) y: (27)\n        end\n    end\nend\nif <(clone location) = [2]> then\n    forever\n        if <(lv number) > [4]> then\n            delete this clone\n        else\n            go to x: (-52) y: (-44)\n            glide (1.5) secs to x: (-73) y: (27)\n            glide (1.5) secs to x: (-52) y: (-44)\n        end\n    end\nend\nif <(clone location) = [3]> then\n    forever\n        if <(lv number) > [4]> then\n            delete this clone\n        else\n            go to x: (80) y: (-72)\n            glide (1.5) secs to x: (80) y: (8)\n            glide (1.5) secs to x: (80) y: (-72)\n        end\n    end\nend\nif <(clone location) = [4]> then\n    forever\n        if <(lv number) > [4]> then\n            delete this clone\n        else\n            go to x: (16) y: (13)\n            glide (1.5) secs to x: (16) y: (86)\n            glide (1.5) secs to x: (16) y: (13)\n        end\n    end\nend\nif <(clone location) = [5]> then\n    forever\n        if <(lv number) > [4]> then\n            delete this clone\n        else\n            go to x: (126) y: (67)\n            glide (1.5) secs to x: (126) y: (114)\n            glide (1.5) secs to x: (126) y: (67)\n        end\n    end\nend\nif <(clone location) = [6]> then\n    forever\n        if <(lv number) > [4]> then\n            delete this clone\n        else\n            go to x: (178) y: (0)\n            glide (1.5) secs to x: (178) y: (54)\n            glide (1.5) secs to x: (178) y: (0)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <not <(lv number) = [4]>> then\n        delete this clone\n    end\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@download (28)\n\nwhen flag clicked\nhide\nset size to (67) %\ngo to x: (186) y: (-108)\n\nwhen I receive [complete level v]\nif <(lv number) = [6]> then\n    show\nend\nif <not <(lv number) = [6]>> then\n    hide\nend\n\nwhen I receive [2nd key found v]\nhide\n\nwhen I receive [win v]\nstop [all v]\n\n@download (31)\n\nwhen flag clicked\nhide\nset size to (43) %\ngo to x: (-207) y: (143)\n\nwhen I receive [key found v]\nif <(lv number) = [6]> then\n    show\n    forever\n        if <touching (bob v)?> then\n            broadcast (2nd key found v)\n            hide\n        end\n    end\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@download (38)\n\nwhen flag clicked\nhide\nswitch costume to (download \(38\) v)\nset size to (20) %\ngo to x: (220) y: (-90)\n\nwhen I receive [complete level v]\nif <(lv number) = [7]> then\n    show\n    forever\n        if <<touching (bob v)?> and <<(boss fight) = [7]> and <not <(costume [name v]) = [1]>>>> then\n            switch costume to (1 v)\n            broadcast (boss ded v)\n        end\n    end\nend\n\nwhen I receive [complete level v]\nif <not <(lv number) = [7]>> then\n    hide\nend\n\n@download (40)\n\nwhen flag clicked\nhide\nset [boss fight v] to [0]\nset size to (20) %\nswitch costume to (download \(40\) v)\ngo to x: (-76) y: (-90)\ncreate clone of (_myself_ v)\ngo to x: (-10) y: (9)\ncreate clone of (_myself_ v)\ngo to x: (70) y: (-97)\ncreate clone of (_myself_ v)\ngo to x: (109) y: (-10)\ncreate clone of (_myself_ v)\ngo to x: (176) y: (108)\ncreate clone of (_myself_ v)\ngo to x: (24) y: (108)\ncreate clone of (_myself_ v)\ngo to x: (-188) y: (36)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    go to [back v] layer\n    if <(lv number) = [7]> then\n        show\n        if <<touching (bob v)?> and <(costume [number v]) = [1]>> then\n            change [boss fight v] by (1)\n            switch costume to (download \(39\) v)\n        end\n    end\nend\n\nwhen I receive [complete level v]\nif <not <(lv number) = [7]>> then\n    switch costume to (download \(40\) v)\n    hide\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@BOSS\n\nwhen flag clicked\nchange [color v] effect by (3)\nset [ghost v] effect to (100)\nset size to (0) %\ngo to [back v] layer\nhide\n\ndefine looking right\nif <(x position) > [0]> then\n    show\n    switch costume to (download \(42\) v)\n    wait (.1) seconds\n    switch costume to (download \(43\) v)\n    wait (.1) seconds\n    switch costume to (download \(45\) v)\n    wait (.1) seconds\n    switch costume to (download \(44\) v)\n    wait (.1) seconds\nend\n\ndefine looking left\nif <(x position) < [0]> then\n    show\n    switch costume to (download \(42\)2 v)\n    wait (.1) seconds\n    switch costume to (download \(44\)2 v)\n    wait (.1) seconds\n    switch costume to (download \(45\)2 v)\n    wait (.1) seconds\n    switch costume to (download \(43\)2 v)\n    wait (.1) seconds\nend\n\nwhen I receive [complete level v]\nwait (1) seconds\nif <(lv number) = [7]> then\n    go to x: (200) y: (99)\n    show\n    repeat (30)\n        change size by (3)\n        change [ghost v] effect by (-3.333)\n        wait (.001) seconds\n    end\n    forever\n        show\n        wait (2) seconds\n        broadcast (1st attack v)\n        wait (4) seconds\n        broadcast (2nd attack v)\n        wait (2) seconds\n        set [move v] to (pick random (1) to (4))\n        show\n        move to spot\n        show\n    end\nend\nif <not <(lv number) = [7]>> then\n    hide\nend\n\ndefine move to spot\nif <(move) = [1]> then\n    glide (1) secs to x: (-157) y: (-112)\nend\nif <(move) = [2]> then\n    glide (1) secs to x: (157) y: (-112)\nend\nif <(move) = [4]> then\n    glide (1) secs to x: (157) y: (83)\nend\nif <(move) = [3]> then\n    glide (1) secs to x: (-157) y: (83)\nend\n\nwhen I receive [complete level v]\nif <(lv number) = [7]> then\n    forever\n        looking right\n        looking left\n    end\nend\n\nwhen I receive [complete level v]\nif <(lv number) = [7]> then\n    show\nelse\n    hide\nend\n\nwhen I receive [boss ded v]\nstop [other scripts in sprite v]\nglide (.7) secs to x: (-1) y: (0)\nswitch costume to (download \(47\) v)\nwait (.7) seconds\nswitch costume to (download \(48\) v)\nwait (.7) seconds\nforever\n    change [brightness v] effect by (3)\n    switch costume to (download \(51\) v)\n    wait (.1) seconds\n    change [brightness v] effect by (3)\n    switch costume to (download \(50\) v)\n    wait (.1) seconds\n    change [brightness v] effect by (3)\n    switch costume to (download \(49\) v)\n    wait (.1) seconds\nend\n\nrepeat (30)\n    change size by (3)\n    change [ghost v] effect by (-3.333)\n    wait (.001) seconds\nend\nforever\n    show\n    wait (2) seconds\n    broadcast (1st attack v)\n    wait (4) seconds\n    broadcast (2nd attack v)\n    wait (2) seconds\n    set [move v] to (pick random (1) to (4))\n    show\n    move to spot\n    show\nend\n\nwhen I receive [win v]\nstop [all v]\n\n@bolt\n\nwhen flag clicked\nhide\n\nwhen I receive [2nd attack v]\nrepeat (4)\n    create clone of (_myself_ v)\n    wait (.2) seconds\nend\n\nwhen I start as a clone\nset size to (250) %\ngo to x: (-240) y: (random y value)\nglide (3) secs to x: (300) y: (random y value)\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    wait (.1) seconds\n    next costume\nend\n\n@bolt 2\n\nwhen flag clicked\npoint in direction (180)\ngo to x: (-157) y: (0)\nhide\n\nwhen I receive [1st attack v]\npoint in direction (180)\ngo to x: (-289) y: (-15)\ncreate clone of (_myself_ v)\ngo to x: (170) y: (-15)\ncreate clone of (_myself_ v)\ngo to x: (pick random (-186) to (186)) y: (0)\ncreate clone of (_myself_ v)\npoint in direction (90)\ngo to x: (5) y: (pick random (100) to (-100))\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nset size to (1000) %\nshow\nforever\n    wait (.1) seconds\n    next costume\nend\n\nwhen I start as a clone\nwait (2) seconds\ndelete this clone\n\n@Sprite1\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\n@download (53)\n\nwhen flag clicked\nhide\nforever\n    if <(lv number) = [9]> then\n        point in direction (90)\n        go to x: (-177) y: (138)\n        set size to (85) %\n        glide (1) secs to x: (-99) y: (137)\n        point in direction (180)\n        glide (1) secs to x: (-99) y: (-8)\n        point in direction (90)\n        glide (1) secs to x: (-215) y: (-9)\n        point in direction (180)\n        glide (1) secs to x: (-215) y: (-146)\n        point in direction (90)\n        glide (4) secs to x: (184) y: (-146)\n        glide (2) secs to x: (184) y: (137)\n    end\nend\n\nwhen flag clicked\n\nforever\n    if <<(lv number) = [9]> or <(lv number) > [9]>> then\n        show\n    end\n    if <not <<(lv number) = [9]> or <(lv number) > [9]>>> then\n        hide\n    end\nend\n\n@download (56)\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (download \(94\) v)\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\n\n@breaking platform\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [placment v] to [0]\ngo to [back v] layer\nset [ghost v] effect to (0)\nclear graphic effects\nset size to (35) %\nforever\n    hide\nend\n\nwhen I receive [complete level v]\nset [placment v] to [0]\nif <<(lv number) = [9]> or <(lv number) = [10]>> then\n    repeat (8)\n        change [placment v] by (1)\n        create clone of (_myself_ v)\n    end\nend\nif <not <(lv number) = [9]>> then\n    hide\nend\nif <(lv number) = [14]> then\n    repeat (9)\n        change [placment v] by (1)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif <(lv number) = [9]> then\n    show\n    if <(placment) = [1]> then\n        go to x: (-159) y: (112)\n        wait until <(lv number) = [10]>\n        delete this clone\n    end\n    if <(placment) = [2]> then\n        go to x: (-74) y: (112)\n        wait until <(lv number) = [10]>\n        delete this clone\n    end\n    if <(placment) = [3]> then\n        go to x: (4) y: (112)\n        wait until <(lv number) = [10]>\n        delete this clone\n    end\n    if <(placment) = [4]> then\n        go to x: (78) y: (112)\n        wait until <(lv number) = [10]>\n        delete this clone\n    end\n    if <(placment) = [5]> then\n        go to x: (135) y: (132)\n        wait until <(lv number) = [10]>\n        delete this clone\n    end\n    if <(placment) = [6]> then\n        go to x: (107) y: (57)\n        wait until <(lv number) = [10]>\n        delete this clone\n    end\n    if <(placment) = [7]> then\n        go to x: (111) y: (-53)\n        wait until <(lv number) = [10]>\n        delete this clone\n    end\n    if <(placment) = [8]> then\n        go to x: (78) y: (-106)\n        wait until <(lv number) = [10]>\n        delete this clone\n    end\nend\nif <(lv number) = [10]> then\n    show\n    if <(placment) = [1]> then\n        go to x: (-177) y: (-115)\n    end\n    if <(placment) = [2]> then\n        go to x: (-130) y: (-135)\n    end\n    if <(placment) = [3]> then\n        go to x: (-103) y: (-120)\n    end\n    if <(placment) = [4]> then\n        go to x: (-51) y: (-104)\n    end\n    if <(placment) = [5]> then\n        go to x: (16) y: (-130)\n    end\n    if <(placment) = [6]> then\n        go to x: (69) y: (-113)\n    end\n    if <(placment) = [7]> then\n        go to x: (124) y: (-128)\n    end\n    if <(placment) = [8]> then\n        go to x: (190) y: (-120)\n    end\nend\nif <(lv number) = [14]> then\n    show\n    if <(placment) = [1]> then\n        go to x: (-163) y: (111)\n    end\n    if <(placment) = [2]> then\n        go to x: (-130) y: (78)\n    end\n    if <(placment) = [3]> then\n        go to x: (-67) y: (45)\n    end\n    if <(placment) = [4]> then\n        go to x: (-22) y: (65)\n    end\n    if <(placment) = [5]> then\n        go to x: (24) y: (89)\n    end\n    if <(placment) = [6]> then\n        go to x: (92) y: (86)\n    end\n    if <(placment) = [7]> then\n        go to x: (153) y: (69)\n    end\n    if <(placment) = [8]> then\n        go to x: (204) y: (87)\n    end\n    if <(placment) = [9]> then\n        go to x: (171) y: (117)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <not <<<(lv number) = [9]> or <(lv number) = [10]>> or <(lv number) = [14]>>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <touching (bob v)?> then\n        wait (.2) seconds\n        repeat (10)\n            wait (.05) seconds\n            change [ghost v] effect by (10)\n        end\n        hide\n        wait (2) seconds\n        show\n        repeat (10)\n            wait (.05) seconds\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\n@Death\n\nwhen I receive [death v]\nrepeat (4)\n    wait (pick random (.00001) to (.000001)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: (death spot x) y: (death spot y)\nset size to (7) %\nchange x by (pick random (-10) to (10))\nforever\n    if <touching (_edge_ v)?> then\n        delete this clone\n    else\n        change y by (-8)\n        change [ghost v] effect by (5)\n    end\nend\n\nwhen flag clicked\nhide\n\n@gun\n\nwhen flag clicked\nset size to (15) %\nhide\n\nwhen I start as a clone\nswitch costume to (download \(77\) v)\n\nwhen I receive [complete level v]\nset [bullet amount v] to [0]\nset [gun number v] to [0]\nif <(lv number) = [13]> then\n    repeat (3)\n        change [gun number v] by (1)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <not <(lv number) = [13]>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\nset size to (15) %\nif <(gun number) = [1]> then\n    go to x: (220) y: (-143)\n    delete left\nend\nif <(gun number) = [2]> then\n    go to x: (-28) y: (-116)\n    delete right\nend\nif <(gun number) = [3]> then\n    go to x: (178) y: (-83)\n    delete left\nend\n\ndefine look left\nswitch costume to (download \(82\)2 v)\nwait (pick random (.2) to (.5)) seconds\nswitch costume to (download \(78\)2 v)\nwait (pick random (.2) to (.5)) seconds\nswitch costume to (download \(77\)2 v)\nwait (pick random (.2) to (.5)) seconds\nswitch costume to (download \(76\)2 v)\nwait (pick random (.2) to (.5)) seconds\nset [gun position x v] to (x position)\nset [gun position y v] to (y position)\nset [shoot right v] to [0]\nbroadcast (shoot v)\n\ndefine look right\nswitch costume to (download \(82\) v)\nwait (pick random (.2) to (.5)) seconds\nswitch costume to (download \(78\) v)\nwait (pick random (.2) to (.5)) seconds\nswitch costume to (download \(77\) v)\nwait (pick random (.2) to (.5)) seconds\nswitch costume to (download \(76\) v)\nwait (pick random (.2) to (.5)) seconds\nset [gun position x v] to (x position)\nset [gun position y v] to (y position)\nset [shoot right v] to [1]\nbroadcast (shoot v)\n\nwhen I start as a clone\n\nif <(lv number) = [14]> then\n    repeat (6)\n        change [gun number v] by (1)\n        create clone of (_myself_ v)\n    end\nend\n\nset size to (10) %\nshow\nif <(lv number) = [14]> then\n    if <(gun number) = [1]> then\n        forever\n            go to x: (210) y: (-146)\n            look left\n        end\n    end\n    if <(gun number) = [2]> then\n        forever\n            go to x: (-153) y: (-119)\n            look right\n        end\n    end\n    if <(gun number) = [3]> then\n        forever\n            go to x: (-214) y: (-93)\n            look right\n        end\n    end\n    if <(gun number) = [4]> then\n        forever\n            go to x: (199) y: (-67)\n            look left\n        end\n    end\n    if <(gun number) = [5]> then\n        forever\n            go to x: (-200) y: (-40)\n            look right\n        end\n    end\n    if <(gun number) = [6]> then\n        forever\n            go to x: (202) y: (-13)\n            look left\n        end\n    end\nend\n\ndefine delete left\nforever\n    if <(lv number) = [14]> then\n        delete this clone\n    end\n    if <(lv number) = [13]> then\n        look left\n    end\nend\n\ndefine delete right\nforever\n    if <(lv number) = [14]> then\n        delete this clone\n    end\n    if <(lv number) = [13]> then\n        look right\n    end\nend\n\n@bullet\n\nwhen flag clicked\nset size to (30) %\nhide\n\nwhen I receive [shoot v]\nif <(bullet amount) < [10]> then\n    change [bullet amount v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: (gun position x) y: ((gun position y) + (4.5))\nif <(shoot right) = [1]> then\n    repeat until <<touching (_edge_ v)?> or <touching color (#000000)?>>\n        move (10) steps\n    end\n    change [bullet amount v] by (-1)\n    delete this clone\nend\nif <(shoot right) = [0]> then\n    repeat until <<touching (_edge_ v)?> or <touching color (#000000)?>>\n        move (-10) steps\n    end\n    change [bullet amount v] by (-1)\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    if <touching (bob v)?> then\n        broadcast (death v)\n        wait (.01) seconds\n    end\nend\n\nwhen I start as a clone\nforever\n    if <not <(lv number) = [13]>> then\n        delete this clone\n    end\nend\n\n@head\n\nwhen flag clicked\ngo to x: (59) y: (90)\nhide\nset size to (50) %\nforever\n    looking left\n    looking right\nend\n\ndefine looking right\nif <(x position) > [0]> then\n    show\n    switch costume to (download \(86\)2 v)\n    wait (.1) seconds\n    switch costume to (download \(90\)2 v)\n    wait (.1) seconds\n    switch costume to (download \(91\)2 v)\n    wait (.1) seconds\n    switch costume to (download \(92\)2 v)\n    wait (.1) seconds\n    switch costume to (download \(93\)2 v)\n    wait (.1) seconds\nend\n\ndefine looking left\nif <(x position) < [0]> then\n    show\n    switch costume to (download \(86\) v)\n    wait (.1) seconds\n    switch costume to (download \(93\) v)\n    wait (.1) seconds\n    switch costume to (download \(92\) v)\n    wait (.1) seconds\n    switch costume to (download \(91\) v)\n    wait (.1) seconds\n    switch costume to (download \(90\) v)\n    wait (.1) seconds\nend\n\nwhen flag clicked\nforever\n    if <(lv number) = [15]> then\n        show\n    end\n    if <not <(lv number) = [15]>> then\n        hide\n    end\nend\n\nwhen I receive [complete level v]\nif <(lv number) = [15]> then\n    forever\n    end\nend\n\ndefine dash\n\ndefine swipe\n\ndefine hit\n\ndefine death\n\ndefine enter\nbroadcast (spawn hands v)\n\n@hand w/ sword\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (187) y: (125)\nhide\nset size to (50) %\nforever\n    wait (.1) seconds\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <(lv number) = [15]> then\n        show\n    end\n    if <not <(lv number) = [15]>> then\n        hide\n    end\nend\n\nwhen I receive [swipe v]\nrepeat (20)\n    create clone of (_myself_ v)\n    change x by (-2)\n    create clone of (_myself_ v)\n    change y by (-2)\n    create clone of (_myself_ v)\n    change x by (-7)\n    create clone of (_myself_ v)\n    change y by (-3)\nend\nrepeat (40)\n    change x by (-3)\n    create clone of (_myself_ v)\n    change y by (3)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait (.1) seconds\ndelete this clone\n\nwhen I receive [spawn hands v]\nset [ghost v] effect to (100)\nset size to (0) %\nrepeat (30)\n    change size by (1.6)\n    change [ghost v] effect by (-3.33333)\nend\n\n@hand w/ fist\n\nwhen flag clicked\nclear graphic effects\ngo to x: (67) y: (47)\nset size to (50) %\nhide\nforever\n    wait (.1) seconds\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <(lv number) = [15]> then\n        show\n    end\n    if <not <(lv number) = [15]>> then\n        hide\n    end\nend\n\nwhen I receive [swipe v]\nrepeat (20)\n    create clone of (_myself_ v)\n    change x by (-2)\n    create clone of (_myself_ v)\n    change y by (-2)\n    create clone of (_myself_ v)\n    change x by (-10)\n    create clone of (_myself_ v)\n    change y by (-2)\nend\n\nwhen [f v] key pressed\nset [lv number v] to [15]\n\nwhen I start as a clone\nwait (.1) seconds\ndelete this clone\n\nwhen I receive [spawn hands v]\nset [ghost v] effect to (100)\nset size to (0) %\nrepeat (30)\n    change size by (1.6)\n    change [ghost v] effect by (-3.33333)\nend\n\n@aura\n\nwhen flag clicked\nhide\nforever\n    wait (.1) seconds\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <(lv number) = [15]> then\n        show\n    end\n    if <not <(lv number) = [15]>> then\n        hide\n    end\nend\n\n@death count 1s\n\nwhen flag clicked\nswitch costume to (0 v)\npoint in direction (90)\ngo to x: (-137) y: (-173)\nset size to (27) %\nshow\n\nwhen flag clicked\nforever\n    if <(deaths) = [0]> then\n        switch costume to (0 v)\n    end\n    if <(deaths) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(deaths) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(deaths) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(deaths) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(deaths) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(deaths) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(deaths) = [7]> then\n        switch costume to (7 v)\n    end\n    if <(deaths) = [8]> then\n        switch costume to (8 v)\n    end\n    if <(deaths) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(deaths) = [10]> then\n        set [deaths v] to [0]\n    end\nend\n\nwhen I receive [death v]\nchange [deaths v] by (1)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@death count 10s\n\nwhen flag clicked\nset [10s place v] to [0]\nset [number 10s v] to [0]\nswitch costume to (0 v)\npoint in direction (90)\ngo to x: (-147) y: (-173)\nhide\nset size to (27) %\nshow\n\nwhen I receive [death v]\nchange [10s place v] by (1)\n\nwhen flag clicked\nforever\n    if <(number 10s) = [0]> then\n        switch costume to (0 v)\n    end\n    if <(number 10s) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(number 10s) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(number 10s) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(number 10s) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(number 10s) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(number 10s) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(number 10s) = [7]> then\n        switch costume to (7 v)\n    end\n    if <(number 10s) = [8]> then\n        switch costume to (8 v)\n    end\n    if <(number 10s) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(10s place) = [10]> then\n        set [10s place v] to [0]\n        change [number 10s v] by (1)\n    end\n    if <(number 10s) = [10]> then\n        set [number 10s v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@death count 100s\n\nwhen flag clicked\nset [number 100s v] to [0]\nset [100s place v] to [0]\nswitch costume to (0 v)\npoint in direction (90)\ngo to x: (-157) y: (-173)\nhide\nset size to (27) %\nshow\n\nwhen flag clicked\nforever\n    if <(number 100s) = [0]> then\n        switch costume to (0 v)\n    end\n    if <(number 100s) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(number 100s) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(number 100s) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(number 100s) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(number 100s) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(number 100s) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(number 100s) = [7]> then\n        switch costume to (7 v)\n    end\n    if <(number 100s) = [8]> then\n        switch costume to (8 v)\n    end\n    if <(number 100s) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(100s place) = [100]> then\n        set [100s place v] to [0]\n        change [number 100s v] by (1)\n    end\n    if <(number 100s) = [10]> then\n        set [number 100s v] to [0]\n    end\nend\n\nwhen I receive [death v]\nchange [100s place v] by (1)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@download - 2022-01-14T123622\n\nwhen flag clicked\nset size to (28) %\ngo to x: (-200) y: (-173)\nshow\n\nwhen flag clicked\nswitch costume to (download - 2022-01-14t123622 v)\nforever\n    go to [front v] layer\nend\n\n@death count 1s2\n\nwhen flag clicked\nswitch costume to (0 v)\npoint in direction (90)\ngo to x: (218) y: (-173)\nset size to (27) %\nshow\n\nwhen flag clicked\nforever\n    if <(timer) = [0]> then\n        switch costume to (0 v)\n    end\n    if <(timer) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(timer) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(timer) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(timer) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(timer) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(timer) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(timer) = [7]> then\n        switch costume to (7 v)\n    end\n    if <(timer) = [8]> then\n        switch costume to (8 v)\n    end\n    if <(timer) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nset [timer v] to [0]\nforever\n    wait (1) seconds\n    change [timer v] by (1)\n    if <(timer) = [10]> then\n        set [timer v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@death count 10s2\n\nwhen flag clicked\nset [10 of timer v] to [0]\nset [10s timer v] to [0]\nswitch costume to (0 v)\npoint in direction (90)\ngo to x: (208) y: (-173)\nhide\nset size to (27) %\nshow\n\nwhen flag clicked\nforever\n    if <(10s timer) = [0]> then\n        switch costume to (0 v)\n    end\n    if <(10s timer) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(10s timer) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(10s timer) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(10s timer) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(10s timer) = [5]> then\n        switch costume to (5 v)\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [10 of timer v] by (1)\n    if <(10 of timer) = [10]> then\n        set [10 of timer v] to [0]\n        change [10s timer v] by (1)\n    end\n    if <(10s timer) = [6]> then\n        set [10s timer v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@death count 100s2\n\nwhen flag clicked\nset [100s timer v] to [0]\nset [100 of timer v] to [0]\nswitch costume to (0 v)\npoint in direction (90)\ngo to x: (188) y: (-173)\nhide\nset size to (27) %\nshow\n\nwhen flag clicked\nforever\n    if <(100s timer) = [0]> then\n        switch costume to (0 v)\n    end\n    if <(100s timer) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(100s timer) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(100s timer) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(100s timer) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(100s timer) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(100s timer) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(100s timer) = [7]> then\n        switch costume to (7 v)\n    end\n    if <(100s timer) = [8]> then\n        switch costume to (8 v)\n    end\n    if <(100s timer) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [100 of timer v] by (1)\n    if <(100 of timer) = [60]> then\n        set [100 of timer v] to [0]\n        change [100s timer v] by (1)\n    end\n    if <(100s timer) = [10]> then\n        set [100s timer v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@death count 100s3\n\nwhen flag clicked\nset [1000 of timer v] to [0]\nset [1000s timer v] to [0]\nswitch costume to (0 v)\npoint in direction (90)\ngo to x: (179) y: (-173)\nhide\nset size to (27) %\nshow\n\nwhen flag clicked\nforever\n    if <(1000s timer) = [0]> then\n        switch costume to (0 v)\n    end\n    if <(1000s timer) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(1000s timer) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(1000s timer) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(1000s timer) = [4]> then\n        switch costume to (4 v)\n    end\n    if <(1000s timer) = [5]> then\n        switch costume to (5 v)\n    end\n    if <(1000s timer) = [6]> then\n        switch costume to (6 v)\n    end\n    if <(1000s timer) = [7]> then\n        switch costume to (7 v)\n    end\n    if <(1000s timer) = [8]> then\n        switch costume to (8 v)\n    end\n    if <(1000s timer) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    change [1000 of timer v] by (1)\n    wait (1) seconds\n    if <(1000 of timer) = [600]> then\n        set [1000 of timer v] to [0]\n        change [1000s timer v] by (1)\n    end\n    if <(1000s timer) = [6]> then\n        set [number 100s v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@download - 2022-01-18T091928\n\nwhen flag clicked\nset size to (28) %\ngo to x: (135) y: (-173)\nshow\n\nwhen flag clicked\nswitch costume to (download - 2022-01-18t091928 v)\nforever\n    go to [front v] layer\nend\n\n@download - 2022-01-18T091938\n\nwhen flag clicked\nswitch costume to (download - 2022-01-18t091938 v)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nset size to (28) %\ngo to x: (198) y: (-173)\nshow\n\n