✰ Meadow platformer ✰

Instructions: ※似たような作品が何個かありますが、本家はこちら　のゲームだと思ってください。\n\n✰ Meadow platformer  ~scroll~ ✰\n\n✰ Method of operation / 操作方法\n\n ~ Lateral movement / 横移動 ~\n・←or→ / 左矢印キーまたは右矢印キー\n・Tap / タップ\n\n ~ Jump / ジャンプ ~\n・↑ / 上矢印キー\n\n ✰ How to play / 遊び方\n・Game over if you touch needles or magma /\n    針またはマグマに触れるとゲームオーバー\n\n・Game over when you fall off the ground /\n    地面から落ちるとゲームオーバー\n\n・If you touch a checkpoint, it will start from that place \n   when the game is over /\n   チェックポイントに触れると、ゲームオーバーにな　　\n   った時に、その場所からのスタートになります\n\n・If you touch the flag with "G", the game is cleared /\n 「G」と書かれた旗に触れると、ゲームクリア\n\n✰ Credit / クレジット ✰\n・Intro / イントロ  @laggylaggy\n・Program / プログラム  @hiron0413_sub\n・Background (sky) / 背景(空)  @TNTend\n・♡, ☆, etc. / ♡、☆など  @-CloudCodes-\n\n✰ caution / 注意 ✰\n・Please refrain from swearing and anti-comments. /\n   悪口やアンチコメントはやめてください。\n\n・Please stop abusing reports. / \n　報告乱用はやめてください。\n\n・Please don't do uncensored remixes. /\n　無変更リミックスはやめてください。\n\n・I may not be able to reply to your comment. /\n　コメントを返信しきれない可能性があります。\n\n・Please comment when you borrow something.Also, 　　please give credit (to respect the community guard line). / \n　何かを借りるときはコメントをしてください。また、クレジット表記もしてください（コミュニティーガードラインを守るため）。\n\n✰ Tag / タグ ✰\n#platformer #scroll #-nekomimi- #game #all\n\n✰ Memo / メモ ✰  ~Japanese~\nこのアカウントでの共有は初めてです。\n3人の方々にプログラムなどを借りました。ありがとうございました。\nもし借りているものなのにクレジット表記をしていないものがあったらコメントで教えてください（きつく言わないでください;）\nできるだけたくさんの人に見てもらいたいです！\n（拡散OKです！）\n❤、⭐️、フォローよろしくお願いします！\nリミックスマジでありがとうぅぅｯ！\n傾向を駆け上がれ！\n\n\n✰ Note / ノート ✰   ~Japanese~ \n・2022年8月11日 公開\n・2022年8月12日 ♡☆の数10突破　参照数100突破\n・2022年8月13日 参照数200人突破\n・2022年8月14日 参照数300人突破\n・2022年8月15日 ♡☆の数20突破\n・2022年8月16日 参照数400人突破\n・2022年8月17日 ♡の数30突破　傾向13p\n・2022年8月18日 ☆の数30突破　参照数500人突破\n・2022年8月19日 参照数555人(ゾロ目♪)\n　　　　　　　　 傾向15p(⬇︎)\n・2022年8月20日 参照数600人突破\n　　　　　　　　 傾向17p(⬇︎)\n・2022年8月21日 参照数800人突破\n　　　　　　　　 ♡の数40突破\n　　　　　　　　 傾向19p(⬇︎)\n・2022年8月22日 ☆の数40突破\n　　　　　　　　 参照数900人突破\n・2022年8月23日 参照数1000突破ぁぁぁｯ！\n・2022年8月24日 参照数1100人突破\n・2022年8月25日 ♡の数50突破\n・2022年8月26日 参照数1200人突破\n・2022年9月2日 参照数1300人突破\n・2022年9月4日 ☆の数50突破\n　　　　　　　  リミックス1名 @Hirorotan さま\n・2022年9月23日 いつの間にか参照数1400人突破\n・2022年11月4日 いつの間にか参照数1500人突破\n　　　　　　　　いつの間にか♡の数60突破\n\n★地道にクリアしてってます（　＾ω＾）…\n\n━━━━━━━━━━━━━━━━━━━━━━━━

@Stage\n\nwhen I receive [play! v]\nstop all sounds\nwait (3.5) seconds\nforever\n    play sound [K-NEXT-First-Flight-tuLE6jU5I8g v] until done\nend\n\nwhen I receive [intro template end v]\nset volume to (100) %\nwait (0.2) seconds\nplay sound [Alone For Now    By@-Xaf- v] until done\n\nwhen I receive [intro template end v]\nrepeat until <not <(meadow  sound♪) = [1]>>\n    play sound [Summer mountains v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (tn v)\n\nwhen I receive [intro template end v]\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.1)\nbroadcast (end v)\n\n@Intro by@laggylaggy\n\nwhen flag clicked\nplay intro || color [30]\n\nwhen I start as a clone\nif <(cloneID) = [dark]> then\n    switch costume to (bg v)\n    set [ghost v] effect to (100)\n    show\n    repeat until <(timer) > [4.93]>\n        change [ghost v] effect by (-1)\n    end\n    set [brightness v] effect to (100)\n    wait until <(timer) > [13.5]>\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\nif <(cloneID) = [flash]> then\n    wait until <(timer) > [4.93]>\n    switch costume to (flash v)\n    show\n    repeat (100)\n        change [ghost v] effect by (1)\n    end\n    delete this clone\nend\nif <(cloneID) = [particle]> then\n    switch costume to (circle v)\n    set [ghost v] effect to (30)\n    set size to (pick random (20) to (60)) %\n    go to x: (pick random (-280) to (120)) y: (-242)\n    point in direction (pick random (-30) to (30))\n    set [particle speed v] to [2]\n    wait until <(timer) > ((4.93) + (time keeper))>\n    show\n    repeat until <(y position) > [180]>\n        change [particle speed v] by ((particle speed) / (24))\n        move (particle speed) steps\n    end\n    delete this clone\nend\nif <(cloneID) = [text]> then\n    switch costume to (text sample v)\n    set size to (100) %\n    wait until <(timer) > [4.93]>\n    show\n    repeat until <(timer) > [6.03]>\n        turn right (((70) - (direction)) / (12)) degrees\n        set [square d v] to (direction)\n        change x by (((-50) - (x position)) / (12))\n        set [square x v] to (x position)\n    end\n    repeat until <(timer) > [7.14]>\n        turn right (((110) - (direction)) / (12)) degrees\n        set [square d v] to (direction)\n        change x by (((50) - (x position)) / (12))\n        set [square x v] to (x position)\n    end\n    repeat (61)\n        turn right ((([abs v] of ((90) - (direction)) ) / (12)) + (0.5)) degrees\n        set [square d v] to (direction)\n        change x by (((0) - (x position)) / (12))\n        set [square x v] to (x position)\n    end\n    repeat until <(timer) > [10.6]>\n        turn right (((110) - (direction)) / (12)) degrees\n        set [square d v] to (direction)\n        change x by (((50) - (x position)) / (12))\n        set [square x v] to (x position)\n    end\n    repeat until <(timer) > [11.76]>\n        turn right (((70) - (direction)) / (12)) degrees\n        set [square d v] to (direction)\n        change x by (((-50) - (x position)) / (12))\n        set [square x v] to (x position)\n    end\n    repeat until <(timer) > [13.5]>\n        turn right (((([abs v] of ((direction) - (90)) ) * (-1)) / (12)) + (-0.5)) degrees\n        set [square d v] to (direction)\n        change x by (((0) - (x position)) / (12))\n        set [square x v] to (x position)\n    end\n    repeat until <(timer) > [14]>\n        turn right (((([abs v] of ((direction) - (90)) ) * (-1)) / (12)) + (-0.5)) degrees\n        set [square d v] to (direction)\n        change x by (((0) - (x position)) / (12))\n        set [square x v] to (x position)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\nif <(cloneID) = [square]> then\n    switch costume to (square1 v)\n    set size to (1) %\n    wait until <(timer) > ((4.93) + (time keeper))>\n    show\n    repeat until <(timer) > [13.5]>\n        switch costume to (size hack v)\n        change size by ((size) / (40))\n        switch costume to (square1 v)\n        point in direction (square d)\n        set x to (square x)\n    end\n    repeat until <(timer) > [14]>\n        switch costume to (size hack v)\n        change size by ((size) / (40))\n        switch costume to (square1 v)\n        point in direction (square d)\n        set x to (square x)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\nif <(cloneID) = [circle line1]> then\n    go to x: (-150) y: (0)\n    set size to (200) %\n    set [fisheye v] effect to (300)\n    switch costume to (1/1024 v)\n    wait until <(timer) > [4.93]>\n    show\n    repeat (19)\n        next costume\n        change x by (((-200) - (x position)) / (12))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle line2]> then\n    go to x: (150) y: (0)\n    point in direction (-90)\n    set size to (200) %\n    set [fisheye v] effect to (300)\n    switch costume to (1/1024 v)\n    wait until <(timer) > [4.93]>\n    show\n    repeat (19)\n        next costume\n        change x by (((100) - (x position)) / (12))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle line3]> then\n    go to x: (-200) y: (0)\n    set size to (200) %\n    set [fisheye v] effect to (300)\n    switch costume to (1/1024-3 v)\n    wait until <(timer) > [6.03]>\n    show\n    repeat (19)\n        next costume\n        change x by (((-100) - (x position)) / (12))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle line4]> then\n    go to x: (100) y: (0)\n    point in direction (-90)\n    set size to (200) %\n    set [fisheye v] effect to (300)\n    switch costume to (1/1024-3 v)\n    wait until <(timer) > [6.03]>\n    show\n    repeat (19)\n        next costume\n        change x by (((150) - (x position)) / (12))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle line5]> then\n    go to x: (-150) y: (0)\n    set size to (200) %\n    set [fisheye v] effect to (300)\n    switch costume to (1/1024-3 v)\n    wait until <(timer) > [9.05]>\n    show\n    repeat (19)\n        next costume\n        change x by (((-100) - (x position)) / (12))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle line6]> then\n    go to x: (150) y: (0)\n    point in direction (-90)\n    set size to (200) %\n    set [fisheye v] effect to (300)\n    switch costume to (1/1024-3 v)\n    wait until <(timer) > [9.05]>\n    show\n    repeat (19)\n        next costume\n        change x by (((200) - (x position)) / (12))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle line7]> then\n    go to x: (-100) y: (0)\n    set size to (200) %\n    set [fisheye v] effect to (300)\n    switch costume to (1/1024 v)\n    wait until <(timer) > [10.6]>\n    show\n    repeat (19)\n        next costume\n        change x by (((-200) - (x position)) / (12))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle line8]> then\n    go to x: (200) y: (0)\n    point in direction (-90)\n    set size to (200) %\n    set [fisheye v] effect to (300)\n    switch costume to (1/1024 v)\n    wait until <(timer) > [10.6]>\n    show\n    repeat (19)\n        next costume\n        change x by (((100) - (x position)) / (12))\n    end\n    delete this clone\nend\nif <(cloneID) = [lineexplosion]> then\n    switch costume to (lineexplosion1 v)\n    wait until <(timer) > ((4.93) + (time keeper))>\n    set [lineexplosion speed v] to [20]\n    show\n    repeat (10)\n        change [lineexplosion speed v] by (((0) - (lineexplosion speed)) / (4))\n        move (lineexplosion speed) steps\n        next costume\n    end\n    delete this clone\nend\nif <(cloneID) = [circle particle1]> then\n    switch costume to (circle particle v)\n    set size to (1) %\n    set [gyogan v] to [12]\n    wait until <(timer) > [7.7]>\n    show\n    repeat (38)\n        set [fisheye v] effect to (gyogan)\n        change [gyogan v] by ((gyogan) / (3))\n        change size by (((420) - (size)) / (10))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle particle2]> then\n    switch costume to (circle particle2 v)\n    set size to (1) %\n    set [gyogan v] to [12]\n    wait until <(timer) > [7.7]>\n    show\n    repeat (38)\n        set [fisheye v] effect to (gyogan)\n        change [gyogan v] by ((gyogan) / (3))\n        change size by (((360) - (size)) / (10))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle particle3]> then\n    switch costume to (circle particle v)\n    set size to (1) %\n    set [gyogan v] to [12]\n    wait until <(timer) > [12.4]>\n    show\n    repeat (38)\n        set [fisheye v] effect to (gyogan)\n        change [gyogan v] by ((gyogan) / (3))\n        change size by (((420) - (size)) / (10))\n    end\n    delete this clone\nend\nif <(cloneID) = [circle particle4]> then\n    switch costume to (circle particle2 v)\n    set size to (1) %\n    set [gyogan v] to [12]\n    wait until <(timer) > [12.4]>\n    show\n    repeat (38)\n        set [fisheye v] effect to (gyogan)\n        change [gyogan v] by ((gyogan) / (3))\n        change size by (((360) - (size)) / (10))\n    end\n    delete this clone\nend\n\ndefine circle particle\nset [time keeper v] to [0]\nset [cloneid v] to [particle]\nrepeat (70)\n    change [time keeper v] by (0.1)\n    create clone of (_myself_ v)\nend\n\ndefine square\nset [time keeper v] to [0]\nset [cloneid v] to [square]\nrepeat (6)\n    change [time keeper v] by (1.2)\n    create clone of (_myself_ v)\nend\n\ndefine circle line\nset [cloneid v] to [circle line1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle line2]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle line3]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle line4]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle line5]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle line6]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle line7]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle line8]\ncreate clone of (_myself_ v)\n\ndefine lineexplosion particle\nset [cloneid v] to [lineexplosion]\nset [time keeper v] to [0]\ngo to x: (-240) y: (180)\npoint in direction (75)\nrepeat (3)\n    turn right (30) degrees\n    create clone of (_myself_ v)\nend\ngo to x: (240) y: (-180)\npoint in direction (-105)\nrepeat (3)\n    turn right (30) degrees\n    create clone of (_myself_ v)\nend\nset [time keeper v] to [1.1]\ngo to x: (-240) y: (-180)\npoint in direction (105)\nrepeat (3)\n    turn right (-30) degrees\n    create clone of (_myself_ v)\nend\ngo to x: (240) y: (180)\npoint in direction (-75)\nrepeat (3)\n    turn right (-30) degrees\n    create clone of (_myself_ v)\nend\nset [time keeper v] to [4.3]\ngo to x: (-240) y: (0)\npoint in direction (30)\nrepeat (3)\n    turn right (30) degrees\n    create clone of (_myself_ v)\nend\ngo to x: (240) y: (0)\npoint in direction (-30)\nrepeat (3)\n    turn right (-30) degrees\n    create clone of (_myself_ v)\nend\nset [time keeper v] to [5.67]\ngo to x: (0) y: (180)\npoint in direction (120)\nrepeat (3)\n    turn right (30) degrees\n    create clone of (_myself_ v)\nend\ngo to x: (0) y: (-180)\npoint in direction (60)\nrepeat (3)\n    turn right (-30) degrees\n    create clone of (_myself_ v)\nend\ngo to x: (0) y: (0)\npoint in direction (90)\n\ndefine play intro || color (color)\ngo to x: (0) y: (0)\npoint in direction (90)\nswitch costume to (size hack v)\nset size to (100) %\nset [color v] effect to (color)\nhide\nreset timer\nstart sound [Diviners - Savannah \(feat. Philly K\) \[NCS Release\] v]\nset [cloneid v] to [dark]\ncreate clone of (_myself_ v)\ncircle particle\nsquare\nlineexplosion particle\ncircle line\nset [cloneid v] to [text]\ncreate clone of (_myself_ v)\nset [cloneid v] to [flash]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle particle1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle particle2]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle particle3]\ncreate clone of (_myself_ v)\nset [cloneid v] to [circle particle4]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nwait (15) seconds\nbroadcast (intro template end v)\n\nwhen I receive [intro template end v]\nstop [this script v]\n\n@Player  by@hiron0413_sub\n\ndefine behavior\nchange [the power of y v] by (-1)\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<[0] > (mouse x)> and <mouse down?>>>> then\n    point in direction (-90)\n    change [the power of x v] by (-1)\nend\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<(mouse x) > [0]> and <mouse down?>>>> then\n    point in direction (90)\n    change [the power of x v] by (1)\nend\nset [the power of x v] to ((The power of x) * (0.88))\nchange x by (The power of x)\nrepeat (6)\n    if <touching (stage v)?> then\n        change y by (1)\n    end\nend\nif <touching (stage v)?> then\n    change y by (-6)\n    Position correction x (() - ((The power of x) / ([abs v] of (The power of x) ))) ([ceiling v] of ([abs v] of (The power of x) ) )\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>> then\n        set [the power of y v] to [12]\n        set [the power of x v] to ((7) - (<(The power of x) > [0]> * (14)))\n    else\n        set [the power of x v] to [0]\n    end\nend\nchange y by (The power of y)\nif <touching (stage v)?> then\n    Position correction y (() - ((The power of y) / ([abs v] of (The power of y) ))) ([ceiling v] of ([abs v] of (The power of y) ) )\nend\nchange y by (-1.1)\nif <<touching (stage v)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>>> then\n    set [the power of y v] to [15]\nend\nif <touching (spring v)?> then\n    set [the power of y v] to [22]\n    start sound [spring jump v]\nend\nchange y by (1.1)\nif <<(Y) < [-550]> or <touching (spike v)?>> then\n    Initial position\nend\nprocessing\nbroadcast (プログラム2 v)\n\nwhen I receive [プログラム v]\nbehavior\n\ndefine processing\nchange [x v] by ((x position) - ((X) - (Camera_x)))\nchange [y v] by ((y position) - (((Y) - (Camera _y)) - (20)))\nchange [camera_x v] by ([floor v] of (((X) - (Camera_x)) * (0.1)) )\nchange [camera _y v] by ([floor v] of (((Y) - (Camera _y)) * (0.2)) )\nset x to ((X) - (Camera_x))\nset y to (((Y) - (Camera _y)) - (20))\n\ndefine Position correction x (direction) (number of times)\nif <(The power of x) = [0]> then\n    stop [this script v]\nend\nset [player: \(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧ v] to [0]\nrepeat until <<not <touching (stage v)?>> or <(Player: \(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧) = ((number of times) + (1))>>\n    change [player: \(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧ v] by (1)\n    change x by (direction)\nend\nchange x by (() - ((direction) * (((number of times) + (1)) * <<(Player: \(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧) = ((number of times) + (1))> and <touching (stage v)?>>)))\n\ndefine Position correction y (direction) (number of times)\nif <(The power of y) = [0]> then\n    stop [this script v]\nend\nset [player: \(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧ v] to [0]\nrepeat until <<not <touching (stage v)?>> or <(Player: \(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧) = ((number of times) + (1))>>\n    change [player: \(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧ v] by (1)\n    change y by (direction)\nend\nchange y by (() - ((direction) * (((number of times) + (1)) * <<(Player: \(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧) = ((number of times) + (1))> and <touching (stage v)?>>)))\nset [the power of y v] to [0]\n\ndefine Initial position\ngo to x: (0) y: (-20)\nset [the power of x v] to [0]\nset [the power of y v] to [0]\nset [camera_x v] to (revival x)\nset [camera _y v] to (revival y)\nset [x v] to (revival x)\nset [y v] to (revival y)\n\nwhen I receive [play! v]\nset volume to (100) %\nshow\n\nwhen I receive [intro template end v]\nforever\n    if <touching (goal v)?> then\n        broadcast (goal v)\n        forever\n            set [goal? v] to [1]\n            hide\n        end\n    else\n        set [goal? v] to [0]\n    end\nend\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [play! v]\npoint in direction (90)\nset rotation style [left-right v]\nhide\nset size to (55) %\ngo to x: (0) y: (-20)\nset [the power of x v] to [0]\nset [the power of y v] to [0]\nset [camera_x v] to [-200]\nset [camera _y v] to [-20]\nset [x v] to [-200]\nset [y v] to [-20]\nset [revival x v] to [-200]\nset [revival y v] to [-20]\n\nwhen I receive [play! v]\nswitch costume to (player)\n\nwhen I receive [goal v]\nforever\n    set volume to (0) %\nend\n\nwhen I receive [end v]\nhide\n\n@Stage\n\nwhen flag clicked\nhide\n\ndefine Stage placement (x) (y) (stage number)\nswitch costume to (none  ~please do not delete this costume!~ v)\nset [my_x v] to (x)\nset [my_y v] to (y)\nswitch costume to ((stage number) + (1))\nset [my_n v] to ((stage number) + (1))\ncreate clone of (_myself_ v)\n\ndefine Move (x) (y)\nswitch costume to (none  ~please do not delete this costume!~ v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    Move ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [play! v]\nStage placement [0] [0] [1]\nStage placement [600] [0] [2]\nStage placement [1200] [0] [3]\nStage placement [1800] [0] [4]\nStage placement [2400] [0] [5]\nStage placement [3000] [0] [6]\nStage placement [3600] [0] [7]\nStage placement [4200] [0] [8]\nStage placement [4800] [0] [9]\nStage placement [5400] [0] [10]\nStage placement [6000] [0] [11]\nswitch costume to (none  ~please do not delete this costume!~ v)\nbroadcast (プログラム v)\n\nwhen I receive [retry v]\nstop [this script v]\n\nwhen I receive [end v]\nhide\n\n@Spike\n\nwhen flag clicked\nhide\n\ndefine Stage placement (x) (y) (number)\nswitch costume to (none v)\nset [my_x v] to (x)\nset [my_y v] to (y)\nswitch costume to ((number) + (1))\nset [my_n v] to ((number) + (1))\ncreate clone of (_myself_ v)\n\ndefine Move (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    Move ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [play! v]\nhide\nStage placement [311] [-60] [1]\nStage placement [1190] [68] [2]\nStage placement [1390] [-60] [3]\nStage placement [2075] [-20] [4]\nStage placement [2460] [150] [5]\nStage placement [3394] [40] [6]\nStage placement [3780] [-185] [7]\nStage placement [4260] [-20] [8]\nStage placement [4900] [-20] [9]\nStage placement [5650] [-20] [10]\nswitch costume to (none v)\n\nwhen I receive [end v]\nhide\n\n@meadow\n\nwhen flag clicked\nhide\n\ndefine Stage placement (x) (y) (number)\nswitch costume to (none v)\nset [my_x v] to (x)\nset [my_y v] to (y)\nswitch costume to ((number) + (1))\nset [my_n v] to ((number) + (1))\ncreate clone of (_myself_ v)\n\ndefine Move (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    Move ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\n\nwhen I receive [play! v]\nStage placement [0] [0] [1]\nStage placement [350] [0] [2]\nStage placement [700] [0] [3]\nStage placement [1050] [0] [4]\nStage placement [1400] [0] [5]\nStage placement [1750] [0] [6]\nStage placement [2100] [0] [7]\nStage placement [2450] [0] [8]\nStage placement [2800] [0] [9]\nStage placement [3150] [0] [10]\nStage placement [3500] [0] [11]\nStage placement [3850] [0] [12]\nStage placement [4200] [0] [13]\nStage placement [4550] [0] [14]\nStage placement [4900] [0] [15]\nStage placement [5250] [0] [16]\nStage placement [5600] [0] [17]\nStage placement [5950] [0] [18]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nwhen I receive [end v]\nhide\n\n@check point\n\nwhen flag clicked\nset [check point? v] to [0]\nset size to (120) %\nswitch costume to (a v)\nhide\n\nwhen I receive [プログラム2 v]\nMove ((1690) - (Camera_x)) ((-120) - (Camera _y))\n\ndefine Move (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nswitch costume to ((check point?) + (2))\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\n    if <<touching (player  by@hiron0413_sub v)?> and <(check point?) = [0]>> then\n        broadcast (check point v)\n        start sound [Collect　〇 v]\n        set [check point? v] to [1]\n        set [revival x v] to [1690]\n        set [revival y v] to [-110]\n    end\nend\nswitch costume to ((check point?) + (2))\n\nwhen I receive [end v]\nhide\n\n@check point2\n\nwhen flag clicked\nset [check point? v] to [0]\nswitch costume to (a v)\nhide\n\nwhen I receive [プログラム2 v]\nMove ((4620) - (Camera_x)) ((-15) - (Camera _y))\n\ndefine Move (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nswitch costume to ((check point?) + (2))\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\n    if <<touching (player  by@hiron0413_sub v)?> and <(check point?) = [0]>> then\n        broadcast (check point2 v)\n        start sound [Collect　〇 v]\n        set [check point? v] to [1]\n        set [revival x v] to [4620]\n        set [revival y v] to [-5]\n    end\nend\nswitch costume to ((check point?) + (2))\n\nwhen I receive [end v]\nhide\n\n@goal\n\nwhen flag clicked\nset [goal? v] to [0]\nhide\n\nwhen I receive [intro template end v]\nhide\nStage placement [6000] [0] [1]\nswitch costume to (none v)\n\nwhen I receive [プログラム2 v]\nif <(costume [number v]) = [1]> then\n    broadcast (プログラム v)\nelse\n    Move ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\ndefine Move (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nif <<([abs v] of (x) ) > ([abs v] of (x position) )> or <([abs v] of (y) ) > ([abs v] of (y position) )>> then\n    hide\nelse\n    show\nend\nswitch costume to (My_n)\n\ndefine Stage placement (x) (y) (number)\nswitch costume to (none v)\nset [my_x v] to (x)\nset [my_y v] to (y)\nswitch costume to ((number) + (1))\nset [my_n v] to ((number) + (1))\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\n\nwhen I receive [end v]\nhide\n\n@You win\n\nwhen flag clicked\ngo to x: (600) y: (0)\nhide\n\nwhen I receive [goal v]\nshow\ngo to [front v] layer\nswitch costume to (you win v)\nrepeat (50)\n    change x by (((-1) - (x position)) / (8))\nend\nforever\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\nwhen I receive [end v]\nhide\n\n@Background  by@TNTend\n\nwhen flag clicked\nhide\nwait (10) seconds\nshow\nforever\n    go to x: (0) y: (() - ((Camera _y) / (4)))\n    go to [back v] layer\n    go to [back v] layer\nend\n\nwhen I receive [end v]\nhide\n\n@home back\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [intro template end v]\nshow\n\nwhen I receive [play! v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [end v]\nhide\n\n@Title\n\ndefine xb\nchange size by (vel)\nset [vel v] to (((vel) * (0.69)) + ((((size) + (-70)) - ((<touching (mouse-pointer v)?> * (15)) - (() * (30)))) * (-0.2)))\n\nwhen I receive [intro template end v]\nset [real x v] to [0]\nwait (0.3) seconds\nshow\nset size to (0) %\ngo to [front v] layer\nforever\n    change [tick v] by ((1) / (30))\n    go to x: (0) y: ((100) + (([sin v] of (((tick) + ()) * (200)) ) * (5)))\n    point in direction ((90) + (([cos v] of (((tick) + ()) * (200)) ) * (2)))\n    xb\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n    else\n        clear graphic effects\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play! v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [end v]\nhide\n\n@Play\n\nwhen flag clicked\nhide\n\nwhen I receive [intro template end v]\nshow\ngo to x: (0) y: (-250)\nrepeat (50)\n    change y by (((-110) - (y position)) / (8))\nend\ngo to [front v] layer\nforever\n    change [tick v] by ((1) / (30))\n    go to x: (0) y: ((-110) + (([sin v] of (((tick) + ()) * (200)) ) * (5)))\n    point in direction ((90) + (([cos v] of (((tick) + ()) * (200)) ) * (2)))\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n    else\n        clear graphic effects\n    end\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        hide\n        broadcast (play! v) and wait\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((150) - (size)) / (3))\n        set [brightness v] effect to (10)\n    else\n        change size by (((130) - (size)) / (3))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [intro template end v]\nset [meadow  sound♪ v] to [1]\n\nwhen flag clicked\nset [meadow  sound♪ v] to [0]\n\nwhen I receive [play! v]\nset [meadow  sound♪ v] to [0]\n\nwhen I receive [end v]\nhide\n\n@left\n\nwhen flag clicked\nhide\n\nwhen I receive [intro template end v]\ngo to [front v] layer\ngo to x: (300) y: (0)\nbroadcast (\(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧ v)\n\nwhen I receive [play! v]\nhide\n\nwhen I receive [\(ﾉ◕ヮ◕\)ﾉ*:･ﾟ✧ v]\nshow\nrepeat (50)\n    change x by (((-71) - (x position)) / (8))\nend\nforever\n    change [tick v] by ((1) / (30))\n    go to x: (-70) y: ((0) + (([sin v] of (((tick) + ()) * (200)) ) * (5)))\n    point in direction ((90) + (([cos v] of (((tick) + ()) * (200)) ) * (2)))\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n    else\n        clear graphic effects\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (left v) and wait\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (3))\n    else\n        change size by (((100) - (size)) / (3))\n    end\nend\n\nwhen I receive [end v]\nhide\n\n@Player Selection\n\nwhen flag clicked\nset [player v] to [1]\nswitch costume to (1 v)\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [intro template end v]\ngo to x: (300) y: (0)\nwait (0.3) seconds\nshow\nrepeat (50)\n    change x by (((-1) - (x position)) / (8))\nend\nforever\n    change [tick v] by ((1) / (30))\n    go to x: (0) y: ((0) + (([sin v] of (((tick) + ()) * (200)) ) * (5)))\n    point in direction ((90) + (([cos v] of (((tick) + ()) * (200)) ) * (2)))\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n    else\n        set [brightness v] effect to (0)\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((90) - (size)) / (3))\n    else\n        change size by (((70) - (size)) / (3))\n    end\nend\n\nwhen I receive [left v]\nif <not <(player) = [1]>> then\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    change [player v] by (-1)\n    switch costume to ((costume [number v]) - (1))\n    repeat (4)\n        change [ghost v] effect by (-25)\n    end\nend\n\nwhen I receive [right v]\nif <not <(player) = [11]>> then\n    repeat (4)\n        change [ghost v] effect by (25)\n    end\n    change [player v] by (1)\n    next costume\n    repeat (4)\n        change [ghost v] effect by (-25)\n    end\nend\n\nwhen I receive [play! v]\nhide\n\nwhen I receive [end v]\nhide\n\n@right\n\nwhen flag clicked\nhide\n\nwhen I receive [intro template end v]\ngo to [front v] layer\ngo to x: (300) y: (0)\nwait (0.6) seconds\nshow\nrepeat (50)\n    change x by (((70) - (x position)) / (8))\nend\nforever\n    change [tick v] by ((1) / (30))\n    go to x: (70) y: ((0) + (([sin v] of (((tick) + ()) * (200)) ) * (5)))\n    point in direction ((90) + (([cos v] of (((tick) + ()) * (200)) ) * (2)))\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (20)\n    else\n        clear graphic effects\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (right v) and wait\n    end\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (3))\n    else\n        change size by (((100) - (size)) / (3))\n    end\nend\n\nwhen I receive [play! v]\nhide\n\nwhen I receive [end v]\nhide\n\n@sun☀\n\nwhen flag clicked\nhide\n\nwhen I receive [intro template end v]\nshow\nset size to (100) %\nforever\n    go to [back v] layer\n    go [forward v] (1) layers\n    change [sun v] by (5)\n    change size by (() - ([cos v] of (sun) ))\nend\n\nwhen I receive [end v]\nhide\n\n@👑goal👑\n\nwhen I start as a clone\nshow\nえふぇくと(effect) (pick random (-10) to (10))\n\ndefine えふぇくと(effect) (x)\nset [-1 v] to [1]\nset [color v] effect to (0)\nset [ghost v] effect to (20)\nforever\n    go to [front v] layer\n    change x by ((x) * (-1))\n    change y by (y)\n    change [y v] by (-2)\n    if <touching (_edge_ v)?> then\n        if <(-1) = [1]> then\n            set [-1 v] to [-1]\n        else\n            set [-1 v] to [1]\n        end\n    end\n    if <(y position) < [-170]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset size to (80) %\ngo to x: (0) y: (-180)\nhide\n\nwhen I receive [goal v]\nwait (0.5) seconds\nset [y v] to [30]\ngo to x: (pick random (-200) to (0)) y: (-180)\nrepeat (15)\n    create clone of (_myself_ v)\n    switch costume to (pick random (1) to (4))\nend\ngo to x: (pick random (0) to (200)) y: (-180)\nrepeat (15)\n    create clone of (_myself_ v)\n    switch costume to (pick random (1) to (4))\nend\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [end v]\nhide\n\n@cloud\n\nwhen flag clicked\nhide\ndelete this clone\n\nwhen I receive [play! v]\nforever\n    go to [back v] layer\n    go [forward v] (1) layers\n    wait (pick random (2) to (5)) seconds\n    set size to (pick random (60) to (80)) %\n    switch costume to (pick random (1) to (2))\n    go to x: (-330) y: (pick random (80) to (130))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat until <(x position) > [250]>\n    move (3) steps\nend\ndelete this clone\n\nwhen I receive [end v]\nhide\n\n