Pangolin Love Platformer

Instructions: Double click the flag!!! (I had to put this at the top so you would actually read it!) Other instructions in game.\n-------------------------------------------------------------------------\nNearly every five minutes, 1 pangolin is remove from its habitat by smugglers. Play this game to raise pangolin awareness! Save the Pangolins!!!\n....................................................................................... \n(If you want to save the pangolins with me, then love, favorite, and comment!)

@Stage\n\nwhen flag clicked\nwait (1) seconds\nswitch backdrop to (open v)\n\nwhen I receive [message1 v]\nnext backdrop\n\nwhen flag clicked\nif <(backdrop [name v]) = [water]> then\n    set [terrain v] to [water]\nelse\n    set [terrain v] to [land]\nend\n\nwhen flag clicked\nhide variable [lives v]\nhide variable [countdown v]\nhide variable [score v]\n\nwhen flag clicked\nforever\n    play sound [Pangolin Love Song.mp3 v] until done\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [2]>\n    switch backdrop to (weak v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [5]>\n    switch backdrop to (middle v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [1]>\n    switch backdrop to (weak v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [6]>\n    switch backdrop to (middle v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [8]>\n    switch backdrop to (middle v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [10]>\n    switch backdrop to (full v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [4]>\n    switch backdrop to (weak v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [9]>\n    switch backdrop to (middle v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [3]>\n    switch backdrop to (weak v)\nend\n\nwhen I receive [end v]\nwait (5) seconds\nforever\n    wait until <(Score) = [7]>\n    switch backdrop to (middle v)\nend\n\nwhen I receive [start v]\nshow variable [score v]\nshow variable [lives v]\nshow variable [countdown v]\n\n@Flower\n\nwhen backdrop switches to [land2 v]\nshow\ngo to x: (-5) y: (-41)\n\nwhen backdrop switches to [land4 v]\nshow\ngo to x: (4) y: (160)\n\nwhen backdrop switches to [water v]\nshow\ngo to x: (-8) y: (-48)\n\nwhen backdrop switches to [water2 v]\ngo to x: (-116) y: (9)\nshow\n\nwhen backdrop switches to [water3 v]\ngo to x: (-118) y: (115)\nshow\n\nwhen backdrop switches to [land5 v]\nshow\ngo to x: (201) y: (41)\n\nwhen backdrop switches to [land6 v]\nshow\ngo to x: (-202) y: (3)\n\nwhen backdrop switches to [land7 v]\nshow\ngo to x: (162) y: (120)\n\nwhen backdrop switches to [land8 v]\nhide\n\nwhen backdrop switches to [land3 v]\nshow\ngo to x: (211) y: (-79)\n\nwhen flag clicked\nforever\n    turn right (3) degrees\n    wait (0.0001) seconds\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        wait (.1) seconds\n        change y by (3)\n    end\n    repeat (10)\n        wait (.1) seconds\n        change y by (-3)\n    end\nend\n\nwhen I receive [start v]\nset [score v] to [0]\nshow\ngo to x: (-30) y: (77)\nforever\n    if <touching (pangolin v)?> then\n        change [score v] by (1)\n        hide\n        play sound [pop v] until done\n    end\nend\n\nwhen flag clicked\nhide\n\n@Saws\n\nwhen backdrop switches to [land2 v]\ngo to x: (-6) y: (-117)\n\nwhen flag clicked\nswitch costume to (ground v)\nshow\ngo to x: (87) y: (-115)\n\nwhen backdrop switches to [land3 v]\nhide\n\nwhen backdrop switches to [water2 v]\nshow\nswitch costume to (water v)\ncreate clone of (_myself_ v)\ngo to x: (-114) y: (62)\n\nwhen backdrop switches to [land4 v]\nhide\n\nwhen I start as a clone\ngo to x: (88) y: (63)\n\nwhen backdrop switches to [land7 v]\nshow\nset [terrain v] to [land]\ngo to x: (206) y: (150)\n\nwhen backdrop switches to [land2 v]\nshow\n\nwhen backdrop switches to [land4 v]\nshow\nswitch costume to (water v)\ngo to x: (140) y: (100)\n\nwhen backdrop switches to [land5 v]\nhide\n\nwhen backdrop switches to [land8 v]\nhide\n\nwhen flag clicked\nhide\n\n@Letter\n\nwhen backdrop switches to [land3 v]\ngo to x: (216) y: (33)\n\nwhen backdrop switches to [land5 v]\ngo to x: (205) y: (154)\n\nwhen backdrop switches to [land6 v]\ngo to x: (4) y: (-148)\n\nwhen backdrop switches to [water v]\ngo to x: (205) y: (141)\n\nwhen backdrop switches to [water3 v]\ngo to x: (124) y: (162)\n\nwhen backdrop switches to [land7 v]\nswitch costume to (costume2 v)\ngo to x: (172) y: (-70)\nwait until <touching (pangolin v)?>\n\nwhen backdrop switches to [land v]\nshow\nswitch costume to (download \(3\) v)\ngo to x: (191) y: (-87)\n\nwhen backdrop switches to [land8 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    repeat (5)\n        wait (.1) seconds\n        change y by (3)\n    end\n    repeat (5)\n        wait (.1) seconds\n        change y by (-3)\n    end\nend\n\n@Turtle\n\nwhen flag clicked\nforever\n    play sound [Pangolin Love Song.mp3 v] until done\nend\n\nwhen backdrop switches to [land5 v]\nhide\n\nwhen flag clicked\nforever\n    wait (pick random (1) to (5)) seconds\n    switch costume to (download \(4\)2 v)\n    wait (0.2) seconds\n    switch costume to (download \(4\) v)\nend\n\nwhen backdrop switches to [land8 v]\nhide\n\nwhen backdrop switches to [land7 v]\nshow\ngo to x: (279) y: (0)\n\nwhen backdrop switches to [land v]\nhide\n\nwhen backdrop switches to [land4 v]\ngo to x: (-16) y: (-59)\nshow\n\nwhen flag clicked\nhide\n\n@pangolin2\n\nwhen backdrop switches to [land8 v]\npoint in direction (90)\ngo to x: (204) y: (-103)\nshow\nglide (2) secs to x: (33) y: (-101)\nthink [❤️❤️❤️] for (2) seconds\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [weak v]\nhide\n\nwhen backdrop switches to [middle v]\nhide\n\nwhen backdrop switches to [full v]\nhide\n\nwhen backdrop switches to [middle v]\nhide\n\nwhen backdrop switches to [weak v]\nhide\n\n@backdrop1\n\nwhen flag clicked\ngo [backward v] (15) layers\nhide\n\nwhen backdrop switches to [water v]\nset [ghost v] effect to (25)\nshow\ngo to x: (55) y: (-11)\n\nwhen backdrop switches to [water2 v]\nshow\ngo to x: (-102) y: (-13)\nforever\n    wait (0.2) seconds\n    next costume\nend\n\nwhen backdrop switches to [water3 v]\nshow\ngo to x: (16) y: (-11)\nforever\n    wait (0.2) seconds\n    next costume\nend\n\nwhen backdrop switches to [land7 v]\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nwait (1) seconds\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\n\n@Sprite2\n\nwhen backdrop switches to [land2 v]\nhide\n\nwhen I receive [start v]\ngo to x: (-30) y: (-32)\nshow\ngo [backward v] (10) layers\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen backdrop switches to [land5 v]\nhide\n\nwhen backdrop switches to [water v]\nhide\n\nwhen backdrop switches to [land v]\nshow\nswitch costume to (costume1 v)\nshow\ngo [backward v] (100000) layers\nset [ghost v] effect to (25)\ngo to x: (-289) y: (105)\nforever\n    glide (10) secs to x: (371) y: (105)\n    go to x: (-289) y: (105)\n    next costume\nend\n\nwhen backdrop switches to [land7 v]\nshow\n\nwhen backdrop switches to [land8 v]\nhide\n\nwhen flag clicked\nhide\n\n@Sprite4\n\nwhen backdrop switches to [water v]\nshow\nswitch costume to (costume3 v)\nrepeat until <(backdrop [name v]) = [land7]>\n    wait (0.1) seconds\n    next costume\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nhide\ngo [backward v] (10) layers\ngo to x: (-289) y: (-10)\nforever\n    glide (10) secs to x: (371) y: (-20)\n    go to x: (-289) y: (-20)\nend\n\nwhen backdrop switches to [land7 v]\nhide\n\nwhen flag clicked\nhide\n\n@Pangolin\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen backdrop switches to [water v]\nset [terrain v] to [water]\n\nwhen backdrop switches to [land5 v]\ngo to x: (-189) y: (-98)\n\nwhen backdrop switches to [land8 v]\nbroadcast (end v)\npoint in direction (90)\ngo to x: (-180) y: (-101)\nglide (2) secs to x: (4) y: (-101)\nstop [other scripts in sprite v]\n\nwhen I start as a clone\nrepeat (4)\n    change [ghost v] effect by (25)\n    change size by (-0.5)\nend\ndelete this clone\n\nwhen backdrop switches to [middle v]\nhide\n\nwhen backdrop switches to [weak v]\nhide\n\nwhen backdrop switches to [full v]\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [x v] to [0]\nset [y v] to [0]\n\nwhen backdrop switches to [land7 v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(terrain) = [land]> then\n        change [y v] by (-1)\n        if <key (left arrow v) pressed?> then\n            turn left (10) degrees\n            change [x v] by (-1)\n        end\n        if <key (right arrow v) pressed?> then\n            turn right (10) degrees\n            change [x v] by (1)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if <touching color (#00ff55)?> then\n            change y by (1)\n        end\n        if <touching color (#00ff55)?> then\n            change y by (1)\n        end\n        if <touching color (#00ff55)?> then\n            change y by (1)\n        end\n        if <touching color (#00ff55)?> then\n            change y by (1)\n        end\n        if <touching color (#00ff55)?> then\n            change y by (-4)\n            change x by ((x) * (-1))\n            if <key (up arrow v) pressed?> then\n                set [y v] to [15]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-10]\n                else\n                    set [x v] to [10]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (y)\n        if <touching color (#00ff55)?> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<key (up arrow v) pressed?> and <touching color (#00ff55)?>> then\n            set [y v] to [15]\n        end\n        change y by (1)\n    end\nend\n\nwhen backdrop switches to [weak v]\nhide\n\nwhen backdrop switches to [middle v]\nhide\n\nwhen backdrop switches to [full v]\nhide\n\nwhen I receive [start v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    repeat until <(backdrop [number v]) = [11]>\n        if <(terrain) = [land]> then\n            repeat until <(terrain) = [water]>\n                change [y v] by (-1)\n                if <key (left arrow v) pressed?> then\n                    turn left (10) degrees\n                    change [x v] by (-1)\n                end\n                if <key (right arrow v) pressed?> then\n                    turn right (10) degrees\n                    change [x v] by (1)\n                end\n                set [x v] to ((x) * (0.9))\n                change x by (x)\n                if <touching color (#00ff55)?> then\n                    change y by (1)\n                end\n                if <touching color (#00ff55)?> then\n                    change y by (1)\n                end\n                if <touching color (#00ff55)?> then\n                    change y by (1)\n                end\n                if <touching color (#00ff55)?> then\n                    change y by (1)\n                end\n                if <touching color (#00ff55)?> then\n                    change y by (-4)\n                    change x by ((x) * (-1))\n                    if <key (up arrow v) pressed?> then\n                        set [y v] to [15]\n                        if <([abs v] of (x) ) = (x)> then\n                            set [x v] to [-10]\n                        else\n                            set [x v] to [10]\n                        end\n                    else\n                        set [x v] to [0]\n                    end\n                end\n                change y by (y)\n                if <touching color (#00ff55)?> then\n                    change y by ((y) - ((y) * (2)))\n                    set [y v] to [0]\n                end\n                change y by (-1)\n                if <<key (up arrow v) pressed?> and <touching color (#00ff55)?>> then\n                    set [y v] to [15]\n                end\n                change y by (1)\n            end\n        end\n        if <(terrain) = [water]> then\n            repeat until <(backdrop [number v]) = [11]>\n                if <key (right arrow v) pressed?> then\n                    turn right (7) degrees\n                    change x by (3)\n                else\n                    change y by (-1)\n                end\n                if <key (up arrow v) pressed?> then\n                    change y by (5)\n                else\n                    change y by (-1)\n                end\n                if <key (left arrow v) pressed?> then\n                    turn left (7) degrees\n                    change x by (-3)\n                else\n                    change y by (-1)\n                end\n                if <touching color (#cccc00)?> then\n                    change y by (1)\n                    if <touching color (#cccc00)?> then\n                        change y by (1)\n                        if <touching color (#cccc00)?> then\n                            change y by (1)\n                            if <touching color (#cccc00)?> then\n                                change y by (1)\n                                if <touching color (#cccc00)?> then\n                                    change y by (1)\n                                    if <touching color (#cccc00)?> then\n                                        change y by (1)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\ngo to x: (-196) y: (-17)\nshow\n\nwhen I receive [start v]\nforever\n    if <touching (turtle v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching color (#ff00bf)?> then\n        change [lives v] by (-1)\n        go to x: (-211) y: (-92)\n    end\nend\n\nwhen I receive [start v]\nset [terrain v] to [land]\nforever\n    if <touching (letter v)?> then\n        switch backdrop to (next backdrop v)\n        go to x: (-211) y: (-92)\n    end\nend\n\nwhen I receive [start v]\nswitch costume to (pangolin v)\nforever\n    if <(Countdown) = [0]> then\n        switch costume to (pangolin2 v)\n        say [Oh No, you didn't make it in time!] for (2) seconds\n        stop [all v]\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (saws v)?> then\n        change [lives v] by (-1)\n        go to x: (-211) y: (-92)\n        switch costume to (pangolin2 v)\n        wait (1) seconds\n        switch costume to (pangolin v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(Lives) = [0]> then\n        switch costume to (pangolin2 v)\n        say [Oh No, you didn't make it!] for (2) seconds\n        stop [all v]\n    end\nend\n\nwhen I receive [start v]\nset [countdown v] to [100]\nrepeat until <(backdrop [number v]) = [11]>\n    wait (1) seconds\n    change [countdown v] by (-1)\nend\n\nwhen I receive [start v]\nforever\n    show\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide variable [countdown v]\nhide variable [lives v]\nshow variable [score v]\n\nwhen I receive [start v]\nset [lives v] to [3]\ngo to x: (-211) y: (-92)\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\nforever\n    repeat (10)\n        change [ghost v] effect by (-10)\n        wait (.1) seconds\n    end\n    wait (8) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n        wait (.1) seconds\n    end\n    next costume\nend\n\nwhen flag clicked\nhide\n\n@Outro Friends..?\n\nwhen I start as a clone\ngo to x: (pick random (-240) to (240)) y: (180)\nshow\nforever\n    change y by (pick random (-2) to (-5))\nend\n\nwhen I start as a clone\nforever\n    wait (1) seconds\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nset y to (180)\nwait (6) seconds\nhide\nforever\n    create clone of (_myself_ v)\n    wait (.1) seconds\nend\n\nwhen flag clicked\nhide\n\n@Pangolin2\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nswitch costume to (pangolin v)\nwait (1) seconds\nswitch backdrop to (open v)\ngo to x: (-191) y: (-104)\nshow\n\nwhen flag clicked\npoint in direction (90)\nwait (1) seconds\nglide (3.5) secs to x: (59) y: (-104)\n\nwhen flag clicked\nwait (1) seconds\nrepeat (100)\n    turn right (15) degrees\nend\npoint in direction (90)\nswitch costume to (pangolin2 v)\nwait (1) seconds\nbroadcast (play v)\n\nwhen I receive [next v]\nglide (3) secs to x: (-287) y: (-102)\n\nwhen I receive [next v]\nrepeat (3)\n    switch costume to (pangolin4 v)\n    wait (.5) seconds\n    switch costume to (pangolin3 v)\n    wait (.5) seconds\nend\nhide\nbroadcast (intro v)\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\ngo to [front v] layer\nswitch costume to (unnamed v)\ngo to x: (0) y: (0)\nrepeat (67)\n    next costume\n    wait (.001) seconds\nend\nhide\nbroadcast (next v)\n\n@Sprite7\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [intro v]\nshow\nwait until <<mouse down?> = [true]>\nhide\nbroadcast (start v)\nswitch backdrop to (land v)\n\n