Rocket Man (Platformer+animation) 

Instructions: EVERY LEVEL IS POSSIBLE!!!!!!!!\nUse 1,2,3, and 4 to switch powerups efficiently. \nThis is mobile!\nUse the powerups to figure out a way to pass the level and get to the right side.\nThanks for checking out my game and check out the credits in the credits section.\nPLEASE DON'T ADVERTISE!

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [play v]\nswitch backdrop to (backdrop1 v)\n\n@Portal\n\nwhen flag clicked\nset size to (70) %\nforever\n    hide\nend\n\nwhen I receive [next stage v]\nwait (0.1) seconds\nif <(lvl) = [5]> then\n    wait (0.1) seconds\n    go to x: (-170) y: (-40)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [6]> then\n    wait (0.1) seconds\n    go to x: (-55) y: (-25)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [7]> then\n    wait (0.1) seconds\n    go to x: (-160) y: (-50)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [10]> then\n    wait (0.1) seconds\n    go to x: (0) y: (0)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [11]> then\n    wait (0.1) seconds\n    go to x: (-68) y: (-39)\n    create clone of (_myself_ v)\n    go to x: (-68) y: (-39)\n    create clone of (_myself_ v)\n    go to x: (59) y: (-39)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [13]> then\n    wait (0.1) seconds\n    go to x: (-170) y: (-80)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [16]> then\n    wait (0.1) seconds\n    go to x: (103) y: (-52)\n    create clone of (_myself_ v)\n    go to x: (-154) y: (155)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [17]> then\n    wait (0.1) seconds\n    go to x: (-15) y: (-65)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [play v]\ndelete this clone\n\nwhen I receive [next stage v]\ndelete this clone\n\nwhen I receive [change v]\nhide\nset [ghost v] effect to (100)\nwait (3) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I start as a clone\nforever\n    turn right (5) degrees\nend\n\nwhen I start as a clone\ngo [backward v] (3) layers\nshow\nset [ghost v] effect to (0)\nswitch costume to (play v)\nforever\n    repeat (50)\n        change y by (-0.2)\n        wait (0.05) seconds\n    end\n    repeat (50)\n        change y by (0.2)\n        wait (0.05) seconds\n    end\nend\n\nshow\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen I receive [next stage v]\nwait (0.1) seconds\nif <(lvl) = [4]> then\n    wait (0.1) seconds\n    go to x: (-165) y: (-25)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    play sound [LoFi 3 Min Countdown - Chill Sunset v] until done\nend\n\n@Flash\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nforever\n    if <(mode) = [ground]> then\n        create clone of (_myself_ v)\n        wait until <not <(mode) = [ground]>>\n    else\n        create clone of (_myself_ v)\n        wait until <not <(mode) = [air]>>\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nwhen I receive [next stage v]\ncreate clone of (_myself_ v)\ndelete this clone\n\nwhen I receive [play v]\ncreate clone of (_myself_ v)\ndelete this clone\n\n@Goal\n\nwhen flag clicked\nhide\nforever\n    turn right (5) degrees\nend\n\nwhen I receive [play v]\ngo [backward v] (3) layers\nshow\npoint in direction (90)\ngo to x: (210) y: (-75)\nset [ghost v] effect to (0)\nswitch costume to (play v)\nset size to (70) %\nforever\n    repeat (50)\n        change y by (-0.2)\n        wait (0.05) seconds\n    end\n    repeat (50)\n        change y by (0.2)\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [end v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\nwhen [9 v] key pressed\nshow\ngo to [front v] layer\nset [ghost v] effect to (0)\n\nwhen [0 v] key pressed\nhide\nset [ghost v] effect to (-100)\n\n@saws\n\nwhen flag clicked\nhide\nset size to (85) %\ngo to x: (15) y: (-100)\ncreate clone of (_myself_ v)\ngo to x: (-130) y: (-100)\ncreate clone of (_myself_ v)\n\nwhen I receive [play v]\ndelete this clone\n\nwhen I start as a clone\ngo [backward v] (3) layers\nset [ghost v] effect to (0)\nshow\nforever\n    turn right (15) degrees\n    if <(mode) = [ground]> then\n        switch costume to (ground v)\n    else\n        switch costume to (air v)\n    end\nend\n\nwhen I receive [next stage v]\ndelete this clone\n\nwhen I receive [next stage v]\nwait (0.1) seconds\nif <(lvl) = [11]> then\n    wait (0.1) seconds\n    set size to (100) %\n    go to x: (-2) y: (15)\n    create clone of (_myself_ v)\n    set size to (50) %\n    go to x: (-119) y: (-105)\n    create clone of (_myself_ v)\n    go to x: (109) y: (-102)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [12]> then\n    wait (0.1) seconds\n    set size to (100) %\n    go to x: (-111) y: (-37)\n    create clone of (_myself_ v)\n    go to x: (19) y: (-37)\n    create clone of (_myself_ v)\n    set size to (50) %\n    go to x: (98) y: (43)\n    create clone of (_myself_ v)\n    go to x: (-45) y: (43)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [13]> then\n    wait (0.1) seconds\n    set size to (400) %\n    go to x: (0) y: (0)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [14]> then\n    wait (0.1) seconds\n    set size to (100) %\n    go to x: (-66) y: (-72)\n    create clone of (_myself_ v)\n    go to x: (57) y: (-72)\n    create clone of (_myself_ v)\n    go to x: (-7) y: (33)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [15]> then\n    wait (0.1) seconds\n    set size to (100) %\n    go to x: (0) y: (-44)\n    create clone of (_myself_ v)\n    go to x: (-4) y: (-84)\n    create clone of (_myself_ v)\n    go to x: (75) y: (63)\n    create clone of (_myself_ v)\n    go to x: (-45) y: (-85)\n    create clone of (_myself_ v)\n    go to x: (-116) y: (60)\n    create clone of (_myself_ v)\n    go to x: (46) y: (-72)\n    create clone of (_myself_ v)\n    set size to (50) %\n    go to x: (60) y: (-53)\n    create clone of (_myself_ v)\n    go to x: (-51) y: (-67)\n    create clone of (_myself_ v)\n    go to x: (-8) y: (-13)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [16]> then\n    wait (0.1) seconds\n    set size to (150) %\n    go to x: (-100) y: (-20)\n    create clone of (_myself_ v)\n    set size to (100) %\n    go to x: (83) y: (128)\n    create clone of (_myself_ v)\n    go to x: (-74) y: (122)\n    create clone of (_myself_ v)\n    go to x: (6) y: (35)\n    create clone of (_myself_ v)\n    go to x: (-107) y: (90)\n    create clone of (_myself_ v)\n    go to x: (-124) y: (-96)\n    set size to (50) %\n    go to x: (131) y: (16)\n    create clone of (_myself_ v)\n    go to x: (68) y: (15)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [17]> then\n    wait (0.1) seconds\n    set size to (200) %\n    go to x: (-80) y: (31)\n    create clone of (_myself_ v)\n    go to x: (60) y: (31)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [next stage v]\nwait (0.1) seconds\nif <(lvl) = [2]> then\n    wait (0.1) seconds\n    set size to (100) %\n    go to x: (38) y: (-52)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [next stage v]\nwait (0.1) seconds\nif <(lvl) = [3]> then\n    wait (0.1) seconds\n    set size to (100) %\n    go to x: (-110) y: (-100)\n    create clone of (_myself_ v)\n    set size to (100) %\n    go to x: (0) y: (-100)\n    create clone of (_myself_ v)\n    go to x: (110) y: (-100)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [4]> then\n    wait (0.1) seconds\n    set size to (100) %\n    go to x: (-99) y: (-90)\n    create clone of (_myself_ v)\n    set size to (100) %\n    go to x: (99) y: (-90)\n    create clone of (_myself_ v)\n    set size to (175) %\n    go to x: (0) y: (-60)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [5]> then\n    wait (0.1) seconds\n    set size to (125) %\n    go to x: (-98) y: (7)\n    create clone of (_myself_ v)\n    set size to (125) %\n    go to x: (36.5) y: (86)\n    create clone of (_myself_ v)\n    set size to (125) %\n    go to x: (168) y: (3)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [6]> then\n    wait (0.1) seconds\n    set size to (110) %\n    go to x: (-118) y: (-98)\n    create clone of (_myself_ v)\n    set size to (110) %\n    go to x: (19) y: (-46)\n    create clone of (_myself_ v)\n    set size to (110) %\n    go to x: (76) y: (-46)\n    create clone of (_myself_ v)\n    set size to (110) %\n    go to x: (133) y: (-46)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [7]> then\n    wait (0.1) seconds\n    set size to (100) %\n    go to x: (-100) y: (-109)\n    create clone of (_myself_ v)\n    go to x: (-100) y: (-10)\n    create clone of (_myself_ v)\n    go to x: (-55) y: (-109)\n    create clone of (_myself_ v)\n    go to x: (-55) y: (-10)\n    create clone of (_myself_ v)\n    go to x: (-10) y: (-109)\n    create clone of (_myself_ v)\n    go to x: (-10) y: (-10)\n    create clone of (_myself_ v)\n    go to x: (35) y: (-109)\n    create clone of (_myself_ v)\n    go to x: (35) y: (-10)\n    create clone of (_myself_ v)\n    go to x: (80) y: (-109)\n    create clone of (_myself_ v)\n    go to x: (80) y: (-10)\n    create clone of (_myself_ v)\n    go to x: (125) y: (-109)\n    create clone of (_myself_ v)\n    go to x: (125) y: (-10)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [8]> then\n    wait (0.1) seconds\n    set size to (50) %\n    go to x: (0) y: (-125)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [9]> then\n    wait (0.1) seconds\n    set size to (50) %\n    go to x: (-10) y: (-51)\n    create clone of (_myself_ v)\n    set size to (50) %\n    go to x: (139) y: (0)\n    create clone of (_myself_ v)\nend\nif <(lvl) = [10]> then\n    broadcast (chicken v)\n    set [fin v] to [yes]\nend\n\nwait (0.1) seconds\nset size to (100) %\ngo to x: (146) y: (121)\ncreate clone of (_myself_ v)\ngo to x: (-146) y: (102)\ncreate clone of (_myself_ v)\ngo to x: (13) y: (19)\ncreate clone of (_myself_ v)\ngo to x: (-21) y: (-67)\ncreate clone of (_myself_ v)\ngo to x: (-113) y: (-22)\ncreate clone of (_myself_ v)\ngo to x: (61) y: (-137)\ncreate clone of (_myself_ v)\ngo to x: (115) y: (-43)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (100)\ncreate clone of (_myself_ v)\n\n@Light Beam\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (3) seconds\nend\n\nwhen I start as a clone\ngo [backward v] (3) layers\nswitch costume to (pick random (1) to (3))\ngo to x: (pick random (-200) to (240)) y: (0)\nset size to (pick random (150) to (300)) %\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-1)\n    if <(costume [number v]) = [1]> then\n        move (-0.5) steps\n    end\n    if <(costume [number v]) = [2]> then\n        move (-1) steps\n    end\n    if <(costume [number v]) = [3]> then\n        move (-2) steps\n    end\nend\nrepeat until <(x position) < [-240]>\n    if <(costume [number v]) = [1]> then\n        move (-0.5) steps\n    end\n    if <(costume [number v]) = [2]> then\n        move (-1) steps\n    end\n    if <(costume [number v]) = [3]> then\n        move (-2) steps\n    end\nend\nrepeat (20)\n    change [ghost v] effect by (2)\n    if <(costume [number v]) = [1]> then\n        move (-0.5) steps\n    end\n    if <(costume [number v]) = [2]> then\n        move (-1) steps\n    end\n    if <(costume [number v]) = [3]> then\n        move (-2) steps\n    end\nend\ndelete this clone\n\n@lvl\n\nwhen flag clicked\nset [lvl v] to [1]\ngo to [front v] layer\ngo [backward v] (2) layers\ngo to x: (0) y: (0)\nswitch costume to (menu v)\n\nwhen I receive [play v]\nforever\n    if <(lvl) = [1]> then\n        if <(mode) = [ground]> then\n            switch costume to (1-g v)\n        else\n            switch costume to (1-a v)\n        end\n    end\n    if <(lvl) = [2]> then\n        if <(mode) = [ground]> then\n            switch costume to (2-g v)\n        else\n            switch costume to (1-a v)\n        end\n    end\n    if <(lvl) = [3]> then\n        if <(mode) = [ground]> then\n            switch costume to (3-g v)\n        else\n            switch costume to (3-a v)\n        end\n    end\n    if <(lvl) = [4]> then\n        if <(mode) = [ground]> then\n            switch costume to (4-g v)\n        else\n            switch costume to (4-a v)\n        end\n    end\n    if <(lvl) = [5]> then\n        if <(mode) = [ground]> then\n            switch costume to (5-g v)\n        else\n            switch costume to (5-a v)\n        end\n    end\n    if <(lvl) = [6]> then\n        if <(mode) = [ground]> then\n            switch costume to (6-g v)\n        else\n            switch costume to (6-a v)\n        end\n    end\n    if <(lvl) = [7]> then\n        if <(mode) = [ground]> then\n            switch costume to (7-g v)\n        else\n            switch costume to (7-a v)\n        end\n    end\n    if <(lvl) = [8]> then\n        if <(mode) = [ground]> then\n            switch costume to (8-g v)\n        else\n            switch costume to (8-a v)\n        end\n    end\n    if <(lvl) = [9]> then\n        if <(mode) = [ground]> then\n            switch costume to (9-g v)\n        else\n            switch costume to (9-a v)\n        end\n    end\n    if <(lvl) = [10]> then\n        if <(mode) = [ground]> then\n            switch costume to (10-g v)\n        else\n            switch costume to (10-a v)\n        end\n    end\n    if <(lvl) = [11]> then\n        if <(mode) = [ground]> then\n            switch costume to (11-g v)\n        else\n            switch costume to (11-a v)\n        end\n    end\n    if <(lvl) = [12]> then\n        if <(mode) = [ground]> then\n            switch costume to (12-g v)\n        else\n            switch costume to (12-a v)\n        end\n    end\n    if <(lvl) = [13]> then\n        if <(mode) = [ground]> then\n            switch costume to (13-g v)\n        else\n            switch costume to (13-a v)\n        end\n    end\n    if <(lvl) = [14]> then\n        if <(mode) = [ground]> then\n            switch costume to (14-g v)\n        else\n            switch costume to (14-a v)\n        end\n    end\n    if <(lvl) = [15]> then\n        if <(mode) = [ground]> then\n            switch costume to (15-g v)\n        else\n            switch costume to (15-a v)\n        end\n    end\n    if <(lvl) = [16]> then\n        if <(mode) = [ground]> then\n            switch costume to (16-g v)\n        else\n            switch costume to (16-a v)\n        end\n    end\n    if <(lvl) = [17]> then\n        if <(mode) = [ground]> then\n            switch costume to (17-g v)\n        else\n            switch costume to (17-a v)\n        end\n    end\n    if <(lvl) = [18]> then\n        switch costume to (18-g v)\n        broadcast (End v)\n        stop [this script v]\n    end\nend\n\n@detection\n\nwhen flag clicked\nset size to (100) %\nshow\nset [ghost v] effect to (100)\nforever\n    go to (hitbox v)\nend\n\nwhen flag clicked\nforever\n    if <touching (lvl v)?> then\n        switch costume to (yes v)\n    else\n        switch costume to (no v)\n    end\nend\n\n@Play\n\nwhen this sprite clicked\nbroadcast (広告 v)\nbroadcast (controls v)\nbroadcast (despawn v)\nbroadcast (Play v)\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        if <not <(size) > [180]>> then\n            change size by (1)\n        end\n    else\n        if <not <(size) < [149]>> then\n            change size by (-1)\n        end\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nshow\npoint in direction (90)\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nswitch costume to (play v)\nset size to (150) %\nforever\n    repeat (50)\n        change y by (-0.2)\n    end\n    repeat (50)\n        change y by (0.2)\n    end\nend\n\n@Title\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (2) layers\nshow\ngo to x: (0) y: (100)\nswitch costume to (title v)\nset size to (200) %\nforever\n    repeat (50)\n        change size by (0.5)\n        change [ghost v] effect by (-0.25)\n        wait (0.05) seconds\n    end\n    repeat (50)\n        change size by (-0.5)\n        change [ghost v] effect by (0.25)\n        wait (0.05) seconds\n    end\nend\n\nwhen I receive [play v]\nhide\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (4) layers\nhide\n\nwhen I receive [play v]\nerase all\npoint in direction (90)\nshow\nset size to (70) %\nforever\n    if <(mode) = [ground]> then\n        switch costume to (ground v)\n        set y to ([y position v] of [hitbox v])\n        move ((distance to [hitbox v]) / (5)) steps\n        point towards (hitbox v)\n        change x by (x)\n        set [x v] to ((x) * (0.95))\n    end\n    if <(mode) = [air]> then\n        switch costume to (air v)\n        move ((distance to [hitbox v]) / (5)) steps\n        point towards (hitbox v)\n        go to (x)\n        set [x v] to ((x) * (0.95))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(anti-lag) = [no]> then\n        create clone of (_myself_ v)\n    end\n    if <touching (goal v)?> then\n        broadcast (Next Stage v)\n        wait (0.1) seconds\n        change [lvl v] by (1)\n        go to x: (-210) y: (-75)\n    end\n    if <touching (portal v)?> then\n        broadcast (Change v)\n        if <(mode) = [ground]> then\n            set [mode v] to [air]\n        else\n            set [mode v] to [ground]\n        end\n    end\n    if <<touching (saws v)?> or <<touching (_edge_ v)?> and <(y position) < [-160]>>> then\n        set [mode v] to [ground]\n        broadcast (dead v)\n        go to x: (-210) y: (-75)\n    end\nend\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [end v]\nhide\n\nwhen I receive [play v]\ngo to x: (-210) y: (-75)\n\n@Trail\n\nwhen I start as a clone\ngo to (player v)\nshow\ngo to [back v] layer\nset [ghost v] effect to (0)\nset size to (100) %\nrepeat (20)\n    change [brightness v] effect by (1)\n    change [ghost v] effect by (5)\n    change size by (-2.5)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen flag clicked\nhide\n\nforever\n    change [color v] effect by (1)\nend\n\nwhen I receive [play v]\nforever\n    create clone of (trail v)\n    wait (0) seconds\nend\n\n@hitbox\n\nwhen flag clicked\nset [mode v] to [ground]\nhide\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        change x by (6)\n        if <touching (lvl v)?> then\n            change x by (-6)\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        change x by (-6)\n        if <touching (lvl v)?> then\n            change x by (6)\n        end\n    end\n    if <(mode) = [air]> then\n        if <key (up arrow v) pressed?> then\n            change y by (6)\n            if <touching (lvl v)?> then\n                change y by (-6)\n            end\n        end\n        if <key (down arrow v) pressed?> then\n            change y by (-6)\n            if <touching (lvl v)?> then\n                change y by (6)\n            end\n        end\n    end\n    if <(mode) = [ground]> then\n        if <touching (lvl v)?> then\n            if <([costume # v] of [detection v]) = [2]> then\n                fix\n            end\n        end\n    end\nend\n\ndefine fix\nset [jumping v] to [no]\nrepeat until <not <touching (lvl v)?>>\n    change y by (-1)\nend\nset [jumping v] to [yes]\n\nwhen I receive [next stage v]\ngo to x: (-210) y: (-75)\nset [mode v] to [ground]\nset [yv v] to [0]\n\nwhen I receive [play v]\nset [jumping v] to [yes]\nshow\nset [ghost v] effect to (100)\nset size to (110) %\ngo to x: (-210) y: (-75)\nset [yv v] to [0]\nforever\n    if <(mode) = [ground]> then\n        change y by (yv)\n        if <(yv) > [-10]> then\n            change [yv v] by (-0.5)\n        end\n        if <touching (lvl v)?> then\n            change y by ([abs v] of (yv) )\n            change y by (-0.5)\n            set [yv v] to [0]\n        end\n        if <key (up arrow v) pressed?> then\n            if <([costume # v] of [detection v]) = [1]> then\n                if <(jumping) = [yes]> then\n                    set [yv v] to [8]\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [dead v]\nset [mode v] to [ground]\ngo to x: (-210) y: (-75)\nset [yv v] to [0]\n\n@stars\n\nwhen I start as a clone\nif <(pick random (1) to (4)) = [1]> then\n    set [v v] to (pick random (5.0) to (7.0))\nelse\n    set [v v] to (pick random (0.6) to (2.0))\nend\nrepeat until <(y position) > [179]>\n    change y by (v)\nend\ndelete this clone\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (pick random (30) to (80))\nswitch costume to (resize v)\nset size to (pick random (40) to (100)) %\nswitch costume to (pick random (1) to (2))\nforever\n    if <(pick random (1) to (0)) = [1]> then\n        wait (pick random (12) to (5)) seconds\n    else\n        wait (pick random (0.1) to (0.3)) seconds\n    end\n    repeat (3)\n        change [ghost v] effect by (10)\n    end\n    repeat (3)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I receive [yessir v]\nforever\n    go to x: (pick random (-240) to (240)) y: (-180)\n    create clone of (_myself_ v)\n    wait (0.4) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nbroadcast (yessir v)\n\n@bubble_effect\n\nwhen I start as a clone\nshow\nset [spd v] to (pick random (1) to (5))\nset [sidespd v] to (pick random (-2) to (2))\nset size to (pick random (30) to (200)) %\nset [ghost v] effect to ((size) / (2.2))\nif <<(backdrop [name v]) = [white1]> or <(backdrop [name v]) = [black1]>> then\n    go to x: (-240) y: (pick random (-180) to (180))\nend\nif <<(backdrop [name v]) = [white2]> or <(backdrop [name v]) = [black2]>> then\n    go to x: (240) y: (pick random (-180) to (180))\nend\nif <<(backdrop [name v]) = [white3]> or <(backdrop [name v]) = [black3]>> then\n    go to x: (pick random (-240) to (240)) y: (-180)\nend\nif <<(backdrop [name v]) = [white4]> or <(backdrop [name v]) = [black4]>> then\n    go to x: (pick random (-240) to (240)) y: (180)\nend\nif <(backdrop [name v]) = [dead]> then\n    go to x: (pick random (-240) to (240)) y: (-180)\nend\nforever\n    if <<(backdrop [name v]) = [white1]> or <(backdrop [name v]) = [black1]>> then\n        change y by (sidespd)\n        change x by (spd)\n    end\n    if <<(backdrop [name v]) = [white2]> or <(backdrop [name v]) = [black2]>> then\n        change y by (sidespd)\n        change x by ((spd) * (-1))\n    end\n    if <<(backdrop [name v]) = [white3]> or <(backdrop [name v]) = [black3]>> then\n        change y by (spd)\n        change x by (sidespd)\n    end\n    if <<(backdrop [name v]) = [white4]> or <(backdrop [name v]) = [black4]>> then\n        change y by ((spd) * (-1))\n        change x by (sidespd)\n    end\n    if <(backdrop [name v]) = [dead]> then\n        change y by (spd)\n        change x by (sidespd)\n    end\nend\n\nwhen flag clicked\nswitch costume to (black v)\nhide\nforever\n    if <(anti-lag?) = [false]> then\n        wait (0.5) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(end?) = [true]> then\n        set [ghost v] effect to (70)\n    end\nend\n\nwhen I receive [all.daredevil_end\(\) v]\nforever\n    switch costume to (dead v)\nend\n\nwhen I receive [all.daredevil_death\(\) v]\nforever\n    switch costume to (dead v)\nend\n\nwhen I receive [all.mode_siwtch\(\) v]\nif <(mode) = [black]> then\n    switch costume to (black v)\nelse\n    switch costume to (white v)\nend\n\nwhen I start as a clone\nforever\n    if <(anti-lag?) = [true]> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <<(backdrop [name v]) = [white1]> or <(backdrop [name v]) = [black1]>> then\n        if <(x position) > [210]> then\n            repeat (20)\n                change size by (-5)\n                change [ghost v] effect by (5)\n            end\n            delete this clone\n        end\n    end\n    if <<(backdrop [name v]) = [white2]> or <(backdrop [name v]) = [black2]>> then\n        if <(x position) < [-210]> then\n            repeat (20)\n                change size by (-5)\n                change [ghost v] effect by (5)\n            end\n            delete this clone\n        end\n    end\n    if <<(backdrop [name v]) = [white3]> or <(backdrop [name v]) = [black3]>> then\n        if <(y position) > [150]> then\n            repeat (20)\n                change size by (-5)\n                change [ghost v] effect by (5)\n            end\n            delete this clone\n        end\n    end\n    if <<(backdrop [name v]) = [white4]> or <(backdrop [name v]) = [black4]>> then\n        if <(y position) < [-150]> then\n            repeat (20)\n                change size by (-5)\n                change [ghost v] effect by (5)\n            end\n            delete this clone\n        end\n    end\n    if <(backdrop [name v]) = [dead]> then\n        if <(y position) > [150]> then\n            repeat (20)\n                change size by (-5)\n                change [ghost v] effect by (5)\n            end\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [all.nextlevel\(\) v]\ndelete this clone\n\n@Figur4\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    set size to (pick random (28) to (45)) %\n    go to [front v] layer\n    set [ghost v] effect to (pick random (5) to (60))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (-220) y: (pick random (175) to (-175))\n        repeat (160)\n            change x by (2.5)\n        end\n        hide\n        wait (pick random (2) to (7)) seconds\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (175) to (-175))\n        repeat (160)\n            change x by (-3.5)\n        end\n        hide\n        wait (pick random (3) to (5)) seconds\n    end\nend\n\nwhen I receive [chicken v]\nrepeat (20)\n    change [color v] effect by (28)\n    create clone of (_myself_ v)\n    wait (0.3) seconds\nend\n\nwhen I receive [chicken v]\nshow\n\n@Figur2\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    set size to (pick random (28) to (45)) %\n    go to [front v] layer\n    set [ghost v] effect to (pick random (5) to (60))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (-220) y: (pick random (175) to (-175))\n        repeat (160)\n            change x by (2.5)\n        end\n        hide\n        wait (pick random (2) to (7)) seconds\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (175) to (-175))\n        repeat (160)\n            change x by (-3.5)\n        end\n        hide\n        wait (pick random (3) to (5)) seconds\n    end\nend\n\nwhen I receive [chicken v]\nrepeat (20)\n    change [color v] effect by (28)\n    create clone of (_myself_ v)\n    wait (0.3) seconds\nend\n\nwhen I receive [chicken v]\nshow\n\n@Figur3\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    set size to (pick random (28) to (45)) %\n    go to [front v] layer\n    set [ghost v] effect to (pick random (5) to (60))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (-220) y: (pick random (175) to (-175))\n        repeat (160)\n            change x by (2.5)\n        end\n        hide\n        wait (pick random (2) to (7)) seconds\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (175) to (-175))\n        repeat (160)\n            change x by (-3.5)\n        end\n        hide\n        wait (pick random (3) to (5)) seconds\n    end\nend\n\nwhen I receive [chicken v]\nrepeat (20)\n    change [color v] effect by (28)\n    create clone of (_myself_ v)\n    wait (0.3) seconds\nend\n\nwhen I receive [chicken v]\nshow\n\n@Figur5\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    set size to (pick random (28) to (45)) %\n    go to [front v] layer\n    set [ghost v] effect to (pick random (5) to (60))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (-220) y: (pick random (175) to (-175))\n        repeat (160)\n            change x by (2.5)\n        end\n        hide\n        wait (pick random (2) to (7)) seconds\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (175) to (-175))\n        repeat (160)\n            change x by (-3.5)\n        end\n        hide\n        wait (pick random (3) to (5)) seconds\n    end\nend\n\nwhen I receive [chicken v]\nrepeat (20)\n    change [color v] effect by (28)\n    create clone of (_myself_ v)\n    wait (0.3) seconds\nend\n\nwhen I receive [chicken v]\nshow\n\n@Lava\n\nwhen this sprite clicked\nbroadcast (Play v)\nhide\n\nwhen flag clicked\ngo to [front v] layer\nshow\npoint in direction (90)\ngo to x: (126) y: (-170)\nset [ghost v] effect to (0)\nswitch costume to (lava v)\nforever\n    repeat (50)\n        change y by (-0.2)\n    end\n    repeat (50)\n        change y by (0.2)\n    end\nend\n\nwhen I receive [despawn v]\nforever\n    hide\nend\n\n@Controls\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nhide\n\nwhen I receive [controls v]\nshow\nset [ghost v] effect to (0)\ngo to x: (2) y: (43)\nwait (3.8) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Like, Star, Follow\n\nwhen flag clicked\nhide\n\nwhen I receive [広告 v]\ncreate clone of (_myself_ v)\ngo to x: (152) y: (250)\nswitch costume to (ぐれー v)\nset size to (40) %\npoint in direction (90)\nshow\nstart sound [ポップ v]\nrepeat (30)\n    change y by (((145) - (y position)) / (4))\nend\nrepeat (3)\n    next costume\n    wait (0.75) seconds\nend\nrepeat (30)\n    change y by (((220) - (y position)) / (4))\nend\nhide\n\nwhen I start as a clone\ngo to x: (66) y: (92)\nset [ghost v] effect to (100)\nswitch costume to (マウス v)\ngo to [front v] layer\nset size to (45) %\npoint in direction (90)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (20)\n    change x by (((115) - (x position)) / (4))\n    change y by (((140) - (y position)) / (4))\nend\nwait (0.05) seconds\nrepeat (20)\n    change x by (((156) - (x position)) / (4))\nend\nwait (0.05) seconds\nrepeat (20)\n    change x by (((195) - (x position)) / (4))\nend\nrepeat (20)\n    change x by (((195) - (x position)) / (4))\nend\nwait (0.05) seconds\nrepeat (20)\n    change x by (((229) - (x position)) / (4))\n    change y by (((95) - (y position)) / (4))\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nset [ghost v] effect to (0)\ndelete this clone\n\nwhen I receive [音◯ v]\nrepeat (20)\n    change volume by (-5)\nend\n\nwhen I receive [音 v]\nrepeat (20)\n    change volume by (5)\nend\n\nwhen I receive [広告 v]\nwait (1) seconds\nplay sound [Click v] until done\nwait (.5) seconds\nplay sound [Click v] until done\nwait (.5) seconds\nplay sound [Click v] until done\n\nrepeat (10)\n\nwhen I receive [\[intro\] over v]\n\nwhen flag clicked\n\n@Love and fave reminder2\n\nwhen I receive [controls v]\nwait (18) seconds\nforever\n    if <(Actions \(love/fave\)) < [2]> then\n        switch costume to (costume1 v)\n        go to x: (-95) y: (126)\n        show\n        go to [front v] layer\n        repeat (11)\n            change y by (-6)\n        end\n        repeat (7)\n            change y by (3)\n        end\n        repeat (6)\n            change y by (-2)\n        end\n        wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n        repeat (17)\n            change y by (7)\n        end\n        hide\n        stop [this script v]\n    else\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait (2.5) seconds\ngo to [front v] layer\n\nwhen flag clicked\n\n@fin2\n\nwhen flag clicked\nset [fin v] to [no]\nset [ghost v] effect to (100)\nhide\n\nset [fin v] to [yes]\ngo to [front v] layer\ngo [forward v] (1) layers\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [chicken v]\n\n@fin3\n\nwhen flag clicked\nset [fin v] to [no]\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [chicken v]\nset [fin v] to [yes]\ngo to [front v] layer\ngo [forward v] (1) layers\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@Love and fave reminder3\n\nwhen I receive [controls v]\nwait (10) seconds\nforever\n    if <(Actions \(love/fave\)) < [2]> then\n        switch costume to (costume1 v)\n        go to x: (215) y: (70)\n        show\n        go to [front v] layer\n        repeat (11)\n            change y by (-6)\n        end\n        repeat (7)\n            change y by (3)\n        end\n        repeat (6)\n            change y by (-2)\n        end\n        wait until <<touching (mouse-pointer v)?> and <mouse down?>>\n        repeat (17)\n            change y by (7)\n        end\n        hide\n        stop [this script v]\n    else\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait (2.5) seconds\ngo to [front v] layer\n\nwhen flag clicked\n\n