Climate Change Platformer

Instructions: TOP LOVED!!! 7-20-20\n\n---------------------------INSTRUCTIONS----------------------\nDown arrow =up \nLeft arrow =right \nRight arrow =left\nSkip =Reset\nReset =Skip\nSorry Mobile You Don't Get Mixed Controls :(\n\n---------------------------NOTES------------------------------------\nIf you like it make sure to Leave a ❤️, ⭐, and a follow! :)\n\nCheck out my youtube channel!!! (It's about coding on scratch! Make sure to subscribe!)\n\nhttps://www.youtube.com/channel/UC3FJx1sdBUjLCU1YY9gi0CQ\n\n---------------------------CREDITS---------------------------------\nThanks to @timmccool for the heart and fav sprites \nThanks to @-skystudios- for the lava\nThanks To @Plant2 For the skip And reset Button \nThanks to @bookdog17 For everything else

@Stage\n\nwhen flag clicked\nforever\n    play sound [6 v] until done\nend\n\n@プレイヤー\n\ndefine 初期設定プログラム\nshow\nset [x v] to [0]\nset [y v] to [0]\npoint in direction (90)\nset rotation style [left-right v]\ngo to x: (-210) y: (-30)\nset size to (90) %\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [プレイしていいよ！ v]\nshow\n初期設定プログラム\nforever\n    if <<key (right arrow v) pressed?> or <<<mouse down?> and <(x position) < (mouse x)>> or <key (d v) pressed?>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<<mouse down?> and <(mouse x) < (x position)>> or <key (a v) pressed?>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.89))\n    change x by (X)\n    if <touching color (#04ff00)?> then\n        change y by (1)\n        if <touching color (#04ff00)?> then\n            change y by (1)\n            if <touching color (#04ff00)?> then\n                change y by (1)\n                if <touching color (#04ff00)?> then\n                    change y by (1)\n                    if <touching color (#04ff00)?> then\n                        change y by (1)\n                        if <touching color (#04ff00)?> then\n                            change y by (-5)\n                            change x by ((X) * (-1))\n                            if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n                                if <(X) < [0]> then\n                                    start sound [壁キック v]\n                                    set [x v] to [10]\n                                else\n                                    start sound [壁キック v]\n                                    set [x v] to [-10]\n                                end\n                                set [y v] to [15]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching color (#04ff00)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<<mouse down?> and <(y position) < (mouse y)>> or <key (w v) pressed?>>> then\n        if <touching color (#04ff00)?> then\n            start sound [可愛いジャンプ v]\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <[242] < (x position)> then\n        初期設定プログラム\n        broadcast (ネクスト v)\n        stop [this script v]\n    end\n    if <<(y position) < [-180]> or <touching color (#ff0000)?>> then\n        初期設定プログラム\n    end\n    if <touching color (#0014ff)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide variable [time v]\n\n@地面描画\n\nwhen I receive [スタート v]\n初期\nshow\npen down\ngo to x: (-200) y: (-130)\nglide (1) secs to x: (260) y: (-130)\npen up\nbroadcast (プレイしていいよ！ v)\n\ndefine 初期\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\nset pen size to (40)\ngo to x: (-260) y: (-130)\nset pen color to (#04ff00)\nrepeat (10)\n    erase all\nend\n\nwhen I receive [ネクスト v]\n再描画\n\nwhen flag clicked\nset [ステージ v] to [1]\nhide\n\nwhen I receive [プレイしていいよ！ v]\nswitch costume to (コスチューム2 v)\n\ndefine 再描画\n初期\nchange [ステージ v] by (1)\nif <(ステージ) = [2]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (260) y: (-130)\n    pen up\n    pen down\n    go to x: (-50) y: (-130)\n    glide (1) secs to x: (-50) y: (-10)\n    pen up\n    go to x: (70) y: (-130)\n    pen down\n    glide (1) secs to x: (70) y: (55)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [3]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (230) y: (0)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [4]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (260) y: (-130)\n    pen up\n    pen down\n    go to x: (0) y: (-130)\n    glide (1) secs to x: (0) y: (30)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [5]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (230) y: (-130)\n    pen up\n    go to x: (-65) y: (-130)\n    set pen color to (#ff0000)\n    pen down\n    glide (1) secs to x: (65) y: (-130)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [6]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (-30) y: (-130)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [7]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (-100) y: (-130)\n    pen up\n    go to x: (60) y: (-160)\n    pen down\n    glide (1) secs to x: (60) y: (0)\n    pen up\n    pen down\n    glide (1) secs to x: (230) y: (0)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [8]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (230) y: (-130)\n    pen up\n    go to x: (-100) y: (-130)\n    set pen color to (#ff0000)\n    pen down\n    glide (1) secs to x: (100) y: (-130)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [9]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (260) y: (-130)\n    pen up\n    pen down\n    go to x: (-50) y: (-130)\n    glide (1) secs to x: (-50) y: (-10)\n    pen up\n    go to x: (70) y: (-130)\n    pen down\n    glide (1) secs to x: (70) y: (55)\n    pen up\n    pen up\n    go to x: (-50) y: (-130)\n    set pen color to (#ff0000)\n    pen down\n    glide (1) secs to x: (50) y: (-130)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [10]> then\n    pen down\n    go to x: (-200) y: (-130)\n    glide (1) secs to x: (260) y: (-130)\n    pen up\n    go to x: (-70) y: (-130)\n    pen down\n    set pen color to (#0015ff)\n    glide (1) secs to x: (30) y: (-130)\n    pen up\n    go to x: (60) y: (-130)\n    set pen color to (#ff0000)\n    pen down\n    glide (1) secs to x: (60) y: (20)\n    pen up\n    broadcast (プレイしていいよ！ v)\nend\nif <(ステージ) = [11]> then\n    ラスト描画\nend\n\ndefine ラスト描画\ngo to x: (-220) y: (-160)\npen down\ngo to x: (-220) y: (-160)\nglide (1) secs to x: (230) y: (-160)\npen up\ngo to x: (220) y: (-160)\npen down\nglide (1) secs to x: (220) y: (180)\npen up\nbroadcast (プレイしていいよ！ v)\n\n@ありがとう\n\nwhen flag clicked\nhide\nforever\n    go to [back v] layer\n    if <(ステージ) = [11]> then\n        show\n    end\nend\n\n@サムネイル\n\nwhen flag clicked\nhide\nforever\n    set [time v] to (timer)\nend\n\nwhen [timer v] > (time)\nshow\n\n@pen\n\ndefine タイトル描画\nset pen color to (#ff0000)\nset pen size to (9)\ngo to x: ((-180) - (-50)) y: ((0) + (70))\nerase all\npen down\nchange x by (-30)\nchange y by (30)\nchange x by (30)\nchange y by (-60)\npen up\ngo to x: ((-160) - (-50)) y: ((-30) + (70))\npen down\nchange x by (30)\nchange y by (60)\nchange x by (-30)\nchange y by (-60)\npen up\ngo to x: ((-110) - (-50)) y: ((-30) + (70))\npen down\nglide (0.000001) secs to x: ((-70) - (-50)) y: ((30) + (70))\npen up\ngo to x: ((-110) - (-50)) y: ((0) + (70))\npen down\nglide (0) secs to x: ((-80) - (-50)) y: ((30) + (70))\nchange x by (-30)\nchange y by (-30)\npen up\ngo to x: ((-96) - (-50)) y: ((-30) + (70))\npen up\npen down\nglide (0) secs to x: ((-75) - (-50)) y: ((0) + (70))\nchange y by (-30)\nchange x by (-20)\npen up\ngo to x: ((-53) - (-50)) y: ((-30) + (70))\npen down\nchange y by (60)\nchange x by (30)\nchange y by (-30)\nchange x by (-30)\npen up\ngo to x: ((0) - (-50)) y: ((-30) + (70))\npen down\nchange y by (60)\nchange x by (30)\npen up\ngo to x: ((0) - (-50)) y: ((0) + (70))\npen down\nchange x by (30)\npen up\ngo to x: ((0) - (-50)) y: ((-30) + (70))\npen down\nchange x by (30)\npen up\ngo to x: ((50) - (-50)) y: ((-30) + (70))\npen down\nchange y by (60)\ngo to x: ((89) - (-50)) y: ((-30) + (70))\nchange y by (60)\npen up\nプレイ描画 [15] []\npen up\ngo to x: (-230) y: (-177)\nset pen size to (100)\npen down\nset pen color to (#000000)\nglide (0) secs to x: (-230) y: (177)\npen up\ngo to x: (220) y: (-177)\nset pen size to (100)\npen down\nset pen color to (#000000)\nglide (0) secs to x: (220) y: (177)\n\nwhen flag clicked\nタイトル描画\n\ndefine プレイ描画 (太さ) (色)\nset pen size to (太さ)\nset pen color to (#ffc300)\ngo to x: (-130) y: (-100)\npen down\nchange y by (60)\nchange x by (30)\nchange y by (-30)\nchange x by (-30)\npen up\ngo to x: (-70) y: (-40)\npen down\nchange y by (-60)\nchange x by (30)\npen up\ngo to x: (-20) y: (-100)\npen down\nglide (0) secs to x: (4) y: (-40)\nglide (0) secs to x: (28) y: (-100)\npen up\ngo to x: (-7) y: (-75)\npen down\nchange x by (22)\npen up\ngo to x: (50) y: (-40)\npen down\nglide (0) secs to x: (74) y: (-67)\nchange y by (-30)\npen up\ngo to x: (100) y: (-40)\npen down\nglide (0) secs to x: (74) y: (-67)\n\nwhen flag clicked\nforever\n    if <mouse down?> then\n        wait until <not <mouse down?>>\n        broadcast (スタート v)\n        erase all\n        stop [this script v]\n    end\nend\n\nwhen [timer v] > (time)\nwait (1) seconds\n\nset pen color to (#ff0000)\nset pen size to (9)\ngo to x: ((-180) - (-50)) y: ((0) + (70))\nerase all\npen down\nchange x by (-30)\nchange y by (30)\nchange x by (30)\nchange y by (-60)\npen up\ngo to x: ((-160) - (-50)) y: ((-30) + (70))\npen down\nchange x by (30)\nchange y by (60)\nchange x by (-30)\nchange y by (-60)\npen up\ngo to x: ((-110) - (-50)) y: ((-30) + (70))\npen down\nglide (0.000001) secs to x: ((-70) - (-50)) y: ((30) + (70))\npen up\ngo to x: ((-110) - (-50)) y: ((0) + (70))\npen down\nglide (0) secs to x: ((-80) - (-50)) y: ((30) + (70))\nchange x by (-30)\nchange y by (-30)\npen up\ngo to x: ((-96) - (-50)) y: ((-30) + (70))\npen up\npen down\nglide (0) secs to x: ((-75) - (-50)) y: ((0) + (70))\nchange y by (-30)\nchange x by (-20)\npen up\ngo to x: ((-53) - (-50)) y: ((-30) + (70))\npen down\nchange y by (60)\nchange x by (30)\nchange y by (-30)\nchange x by (-30)\npen up\ngo to x: ((0) - (-50)) y: ((-30) + (70))\npen down\nchange y by (60)\nchange x by (30)\npen up\ngo to x: ((0) - (-50)) y: ((0) + (70))\npen down\nchange x by (30)\npen up\ngo to x: ((0) - (-50)) y: ((-30) + (70))\npen down\nchange x by (30)\npen up\ngo to x: ((50) - (-50)) y: ((-30) + (70))\npen down\nchange y by (60)\ngo to x: ((89) - (-50)) y: ((-30) + (70))\nchange y by (60)\npen up\n\n@Detector\n\nwhen flag clicked\nhide\nset [★ v] to [0]\nset [♥ v] to [0]\nset [どっち v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [どっち v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(♥) = [1]> and <(★) = [1]>>\nbroadcast (♥と★ v)\n\nwhen I start as a clone\nif <(どっち) = [0]> then\n    go to x: (-15) y: (0)\n    set [♥ v] to [0]\n    switch costume to (love v)\n    forever\n        set [♥? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [♥ v] to [1]\n        end\n    end\nend\nif <(どっち) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [★ v] to [0]\n    forever\n        set [星? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [★ v] to [1]\n        end\n    end\nend\n\n@☆と❤\n\nwhen flag clicked\nhide\n\nwhen I receive [♥と★ v]\nshow\ngo to x: (150) y: (192)\nrepeat (30)\n    change y by (((160) - (y position)) / (10))\nend\nrepeat (20)\n    change y by (((190) - (y position)) / (10))\nend\nhide\n\n