Fall（Autumn)Scrolling Platformer【Mobile Support】/秋のスクロールプラットフォーマー【モバイル対応】

Instructions: ーEnglishー\nI'm sorry. I am using a translator, so some of the sentences may be wrong.\n\nBe sure to read to the end.\n\n1. Explanation of the home screen\nAfter the intro, you will go to the home screen. Press "play" to start the game. Then, press the second button from the top to change the skin. Press "ranking" at the end to see  time ranking up to the third place.\n\n2. Instructions during play\nYou can control the game by using the arrow keys or WASD, and tapping or clicking the direction you want to go.\nIf you touch the needle, magma, or fall off the ground, the game will be over, and you will start from the checkpoint if you touched the checkpoint, or from the beginning if you did not.\nYou can start over from the beginning by pressing the R key or the "Retry" button at the bottom left.\nThe number on the top right is your time.\nIf you touch the jumping board, you can make a big jump, and if you touch the water, your movement slows down.\n\n3.Explanation of the screen when the game is cleared.\nTouch the flag with a "G" on it to clear it. (There may be a fake one at .....)\nYour time will be displayed under the "Game Clear" sign. If you are in the third to first place of the world record, you will receive a notification and you can click on the notification to see your ranking.\nLet's aim for first place!\n\nI'd appreciate it if you'd press ♥ and ★!\n\n\nー日本語ー\n必ず最後まで読んでください。\n\n1.ホーム画面の説明\nイントロが終わると、ホーム画面に行きます。「play」を押すとゲームを始めることができます。そして、上から2番目のボタンを押すと、スキンを変更できます。最後の「ranking」を押すとタイムのランキングが３位まで表示されます。\n\n2.プレイ中の説明\n矢印キーまたはWASD、行きたい方向をタップかクリックで操作できます。\n針にまたは、マグマに触れるか、地面から落ちてしまうとゲームオーバーになり、チェックポイントに触れていた場合はチェックポイントの場所から、触れていなかった場合は最初からになります。\nRキーを押すか、左下の「リトライ」を押すことで、初めからやり直しできます。\n右上の数字は自分のタイムです。\nジャンプ台に触れると、大きくジャンプすることができ、水に触れると、動きが遅くなります。\n\n3.クリアしたときの説明。\n「Ｇ」と書かれた旗に触れるとクリアします。（偽物があるかも.....）\nゲームクリアと書かれている下に自分のタイムが表示されます。世界記録の3位から１位までに入った場合、通知が来るので通知をクリックすることでランキングが表示されます。\n１位を目指そう！\n\n♥と★を押してくれると嬉しいです！\n

@Stage\n\nwhen flag clicked\nset [\(ﾟ∀ﾟ\)ｱﾋｬ v] to [0]\nset volume to (50) %\n\nwhen I receive [背景をスタート画面に変更 v]\nset [クリア？ v] to [0]\nswitch backdrop to (スタート画面とプレイ中 v)\nforever\n    play sound [魔王魂  民族31 v] until done\n    play sound [魔王魂 BGM ネオロック72 v] until done\n    play sound [魔王魂  アコースティック27 v] until done\n    play sound [魔王魂  民族13 v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (イントロ v)\n\nwhen I receive [クリア！ v]\nstop [other scripts in sprite v]\n\nwhen flag clicked\nwait until <(\(ﾟ∀ﾟ\)ｱﾋｬ) = [1]>\nrepeat (5)\n    change volume by (-10)\nend\nwait (1) seconds\nrepeat (5)\n    change volume by (10)\nend\n\ndefine ランキングリセット\nset [☁ １位 v] to [10000]\nset [☁ ２位 v] to [20000]\nset [☁ ３位 v] to [30000]\n\n@キャラ\n\nwhen I receive [背景をスタート画面に変更 v]\nshow\npoint in direction (90)\nset [隠せ v] to [0]\nset size to (200) %\ngo to x: (120) y: (-86)\nset rotation style [all around v]\nrepeat until <(隠せ) = [1]>\n    set y to ((-86) + (([sin v] of ((タイマー) * (200)) ) * (15)))\nend\nset size to (100) %\n全初期化\nstop [this script v]\n\nwhen I receive [次のコスチューム v]\nnext costume\n\nwhen [r v] key pressed\nif <(ゴールに触れているか) = [0]> then\n    broadcast (リトライ v)\nend\n\ndefine 全初期化\nset rotation style [left-right v]\npoint in direction (90)\ngo to x: (0) y: (-20)\nset [xの力 v] to [0]\nset [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 [復活x v] to [-200]\nset [復活y v] to [-20]\nset [clearまでにかかった時間 v] to [0]\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\ndefine 動作\nif <not <touching (水 v)?>> then\n    if <not <[-25] > (yの力)>> then\n        change [yの力 v] by (-1)\n    end\nelse\n    change [yの力 v] by (-0.1)\nend\nif <touching (ジャンプ台 v)?> then\n    start sound [大Jump v]\n    set [yの力 v] to [25]\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    if <not <touching (水 v)?>> then\n        change [xの力 v] by (1)\n    else\n        change [xの力 v] by (0.5)\n    end\nend\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    if <not <touching (水 v)?>> then\n        change [xの力 v] by (-1)\n    else\n        change [xの力 v] by (-0.5)\n    end\nend\nset [xの力 v] to ((xの力) * (0.88))\nchange x by (xの力)\nrepeat (6)\n    if <touching (ステージ v)?> then\n        change y by (1)\n    end\nend\nif <touching (ステージ v)?> then\n    change y by (-6)\n    位置補正x (() - ((xの力) / ([abs v] of (xの力) ))) ([ceiling v] of ([abs v] of (xの力) ) )\n    if <not <touching (水 v)?>> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>> then\n            start sound [ジャンプの着地 v]\n            set [yの力 v] to [12]\n            set [xの力 v] to ((7) - (<(xの力) > [0]> * (14)))\n        else\n            set [xの力 v] to [0]\n        end\n    end\nend\nchange y by (yの力)\nif <touching (ステージ v)?> then\n    位置補正y (() - ((yの力) / ([abs v] of (yの力) ))) ([ceiling v] of ([abs v] of (yの力) ) )\nend\nchange y by (-1.1)\nif <not <touching (水 v)?>> then\n    if <<touching (ステージ v)?> and <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>>> then\n        start sound [jump v]\n        set [yの力 v] to [15]\n    end\nelse\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [0]> and <mouse down?>>>> then\n        set [yの力 v] to [3]\n    end\nend\nchange y by (1.1)\nif <<(Y) < [-550]> or <touching (障害物 v)?>> then\n    start sound [カーソル移動7 v]\n    初期位置\nend\n処理\nbroadcast (プログラム2 v)\n\nwhen I receive [プログラム v]\nshow\n動作\n\ndefine 処理\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 位置補正x (向き) (回数)\nif <(xの力) = [0]> then\n    stop [this script v]\nend\nset [i v] to [0]\nrepeat until <<not <touching (ステージ v)?>> or <(i) = ((回数) + (1))>>\n    change [i v] by (1)\n    change x by (向き)\nend\nchange x by (() - ((向き) * (((回数) + (1)) * <<(i) = ((回数) + (1))> and <touching (ステージ v)?>>)))\n\ndefine 位置補正y (向き) (回数)\nif <(yの力) = [0]> then\n    stop [this script v]\nend\nset [i v] to [0]\nrepeat until <<not <touching (ステージ v)?>> or <(i) = ((回数) + (1))>>\n    change [i v] by (1)\n    change y by (向き)\nend\nchange y by (() - ((向き) * (((回数) + (1)) * <<(i) = ((回数) + (1))> and <touching (ステージ v)?>>)))\nset [yの力 v] to [0]\n\ndefine 初期位置\ngo to x: (0) y: (-20)\nset [xの力 v] to [0]\nset [yの力 v] to [0]\nset [camera_x v] to (復活x)\nset [camera _y v] to (復活y)\nset [x v] to (復活x)\nset [y v] to (復活y)\n\nwhen I receive [タイム v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [リトライ v]\n全初期化\n\nwhen flag clicked\nforever\n    if <touching (ゴール！ v)?> then\n        set [ゴールに触れているか v] to [1]\n    else\n        set [ゴールに触れているか v] to [0]\n    end\nend\n\n@ステージ\n\nwhen flag clicked\nhide\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\ndefine 移動 (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    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [スタート準備 v]\nステージ配置 [0] [0] [1]\nステージ配置 [480] [0] [2]\nステージ配置 [960] [0] [3]\nステージ配置 [1440] [0] [4]\nステージ配置 [1920] [0] [5]\nステージ配置 [2400] [200] [6]\nステージ配置 [2880] [200] [7]\nステージ配置 [3360] [200] [8]\nステージ配置 [3840] [200] [9]\nステージ配置 [4800] [200] [10]\nステージ配置 [5280] [200] [11]\nステージ配置 [6240] [200] [12]\nステージ配置 [6720] [200] [13]\nステージ配置 [7200] [200] [14]\nステージ配置 [7680] [200] [15]\nステージ配置 [8640] [450] [16]\nステージ配置 [9120] [450] [17]\nステージ配置 [9600] [450] [18]\nステージ配置 [10080] [450] [19]\nステージ配置 [10560] [450] [20]\nステージ配置 [11040] [450] [21]\nステージ配置 [11520] [450] [22]\nswitch costume to (none v)\nbroadcast (プログラム v)\n\nwhen I receive [タイム v]\nstop [other scripts in sprite v]\nhide\n\n@障害物\n\nwhen flag clicked\nhide\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\ndefine 移動 (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 <not <(costume [number v]) = [1]>> then\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [スタート準備 v]\nステージ配置 [480] [0] [1]\nステージ配置 [960] [0] [2]\nステージ配置 [1440] [0] [3]\nステージ配置 [3360] [200] [4]\nステージ配置 [3840] [200] [5]\nステージ配置 [5280] [200] [6]\nステージ配置 [6240] [200] [7]\nステージ配置 [6720] [200] [8]\nステージ配置 [7680] [200] [9]\nステージ配置 [9120] [450] [10]\nステージ配置 [9600] [450] [11]\nステージ配置 [10560] [450] [12]\nステージ配置 [11040] [450] [13]\nswitch costume to (none v)\n\nwhen I receive [タイム v]\nstop [other scripts in sprite v]\nhide\n\n@チェックポイント\n\nwhen flag clicked\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\n\nwhen I receive [プログラム2 v]\n移動 ((4800) - (Camera_x)) ((163) - (Camera _y))\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nswitch costume to ((チェックポイント到達) + (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 (キャラ v)?> and <(チェックポイント到達) = [0]>> then\n        set [チェックポイント到達 v] to [1]\n        set [復活x v] to [4800]\n        set [復活y v] to [200]\n        start sound [魔王魂 効果音 システム37 v]\n    end\nend\nswitch costume to ((チェックポイント到達) + (2))\n\nwhen I receive [タイム v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [リトライ v]\nswitch costume to (a v)\nset [チェックポイント到達 v] to [0]\n\n@水\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\ndefine 移動 (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 <not <(costume [number v]) = [1]>> then\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [スタート準備 v]\nset [ghost v] effect to (60)\nステージ配置 [480] [0] [1]\nステージ配置 [960] [0] [2]\nステージ配置 [1440] [0] [3]\nステージ配置 [1920] [0] [4]\nステージ配置 [5280] [200] [5]\nステージ配置 [6240] [200] [6]\nステージ配置 [6720] [200] [7]\nswitch costume to (none v)\n\nwhen I receive [タイム v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [スタート準備 v]\n\n@ジャンプ台\n\nwhen flag clicked\nhide\n\ndefine ステージ配置 (x座標) (y座標) (ステージ番号)\nswitch costume to (none v)\nset [my_x v] to (x座標)\nset [my_y v] to (y座標)\nswitch costume to ((ステージ番号) + (1))\nset [my_n v] to ((ステージ番号) + (1))\ncreate clone of (_myself_ v)\n\ndefine 移動 (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 <not <(costume [number v]) = [1]>> then\n    移動 ((My_x) - (Camera_x)) ((My_y) - (Camera _y))\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [スタート準備 v]\nステージ配置 [4320] [200] [1]\nステージ配置 [5760] [300] [2]\nステージ配置 [8160] [350] [3]\nステージ配置 [10080] [450] [4]\nswitch costume to (none v)\n\nwhen I receive [タイム v]\nstop [other scripts in sprite v]\nhide\n\n@黒\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [黒 v]\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-5)\nend\nbroadcast (背景をスタート画面に変更 v)\nrepeat (50)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen I receive [黒2 v]\nshow\ngo to [front v] layer\nrepeat (50)\n    change [ghost v] effect by (-5)\nend\nbroadcast (スタート準備 v)\nrepeat (50)\n    change [ghost v] effect by (5)\nend\nbroadcast (スタート v)\nhide\nforever\n    broadcast (このスクリプトを止める v)\nend\n\nwhen I receive [このスクリプトを止める v]\nstop [other scripts in sprite v]\n\n@メニュー\n\nwhen flag clicked\nhide\n\nwhen I receive [背景をスタート画面に変更 v]\nset [隠せ v] to [0]\nshow\nswitch costume to (プレイ　英語 v)\nクローン [0]\nクローン [1]\nクローン [2]\ngo to x: (-326) y: (100)\nset size to (80) %\nglide (1) secs to x: (-150) y: (100)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((90) - (size)) / (4))\n        if <mouse down?> then\n            start sound [魔王魂 効果音 システム37 v]\n            set [\(ﾟ∀ﾟ\)ｱﾋｬ v] to [1]\n            broadcast (黒2 v)\n            wait until <not <mouse down?>>\n            stop [this script v]\n        end\n    else\n        change size by (((80) - (size)) / (4))\n    end\nend\n\nwhen I start as a clone\nif <(クローン) = [0]> then\n    switch costume to (コスチュームを変更 v)\n    set size to (70) %\n    go to x: (-292) y: (0)\n    hide\n    wait (0.5) seconds\n    show\n    glide (1) secs to x: (-150) y: (0)\n    forever\n        if <touching (mouse-pointer v)?> then\n            change size by (((80) - (size)) / (4))\n            if <mouse down?> then\n                start sound [魔王魂 効果音 システム37 v]\n                broadcast (次のコスチューム v)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((70) - (size)) / (4))\n        end\n    end\nend\n\nwhen I start as a clone\nwait until <(隠せ) = [1]>\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [スタート準備 v]\nhide\nset [隠せ v] to [1]\nstop [other scripts in sprite v]\n\nwhen I start as a clone\nif <(クローン) = [1]> then\n    go to x: (100) y: (79)\n    set size to (80) %\n    switch costume to (題名 v)\n    forever\n        set y to ((79) + (([sin v] of ((タイマー) * (200)) ) * (20)))\n        point in direction ((([cos v] of ((タイマー) * (150)) ) * (5)) + (90))\n    end\nend\n\ndefine クローン (id)\nset [クローン v] to (id)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(クローン) = [2]> then\n    switch costume to (ランキング　英語 v)\n    set size to (80) %\n    go to x: (-320) y: (-100)\n    hide\n    wait (1) seconds\n    show\n    glide (1) secs to x: (-150) y: (-100)\n    forever\n        if <touching (mouse-pointer v)?> then\n            change size by (((90) - (size)) / (4))\n            if <mouse down?> then\n                start sound [魔王魂 効果音 システム37 v]\n                broadcast (ランキング v)\n                wait until <not <mouse down?>>\n            end\n        else\n            change size by (((80) - (size)) / (4))\n        end\n    end\nend\n\n@ブロック\n\nwhen I start as a clone\nset x to (pick random (-230.) to (230))\nswitch costume to (pick random (1) to (6))\nset [ghost v] effect to (60)\nshow\nif <(c) = [0]> then\n    repeat until <(y position) > [250]>\n        set size to (200) %\n        change y by (5)\n        turn right (1) degrees\n        set size to (100) %\n    end\n    delete this clone\nelse\n    repeat until <(y position) > [250]>\n        set size to (200) %\n        change y by (5)\n        turn left (1) degrees\n        set size to (100) %\n    end\n    delete this clone\nend\n\nwhen I receive [背景をスタート画面に変更 v]\ngo to [back v] layer\ngo to x: (36) y: (-211)\nforever\n    set [c v] to (pick random (0) to (1))\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート準備 v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [タイム v]\nstop [other scripts in sprite v]\n\n@数字\n\nwhen I receive [タイム v]\nshow\nstop [other scripts in sprite v]\nbroadcast (消せ! v)\nrepeat (3)\n    書く (CLEARまでにかかった時間) X [70] Y [-80] 大きさ [200] 明るさ [0] 透明度 [0] 色 [110]\nend\nif <not <(CLEARまでにかかった時間) < [1]>> then\n    if <(☁ １位) > (CLEARまでにかかった時間)> then\n        set [☁ ３位 v] to (☁ ２位)\n        wait (0) seconds\n        set [☁ ２位 v] to (☁ １位)\n        wait (0) seconds\n        set [☁ １位 v] to (CLEARまでにかかった時間)\n        wait (0) seconds\n        broadcast (🥇 v)\n    else\n        if <(☁ ２位) > (CLEARまでにかかった時間)> then\n            set [☁ ３位 v] to (☁ ２位)\n            wait (0) seconds\n            set [☁ ２位 v] to (CLEARまでにかかった時間)\n            wait (0) seconds\n            broadcast (🥈 v)\n        else\n            if <(☁ ３位) > (CLEARまでにかかった時間)> then\n                set [☁ ３位 v] to (CLEARまでにかかった時間)\n                wait (0) seconds\n                broadcast (🥉 v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine 書く (数字) X (x) Y (y) 大きさ (大きさ) 明るさ (明るさ) 透明度 (透明度) 色 (色)\nset [color v] effect to (色)\nset [書けた?2 v] to [0]\nhide\ngo to [front v] layer\ngo to x: (x) y: (y)\nset size to (大きさ) %\nset [brightness v] effect to (明るさ)\nset [ghost v] effect to (透明度)\nset [数字の変数 v] to [0]\nrepeat (length of (数字))\n    change [数字の変数 v] by (1)\n    switch costume to (letter (数字の変数) of (数字))\n    create clone of (_myself_ v)\n    change x by ((大きさ) / (9.5))\nend\nset [書けた?2 v] to [1]\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (1) layers\nwait until <(書けた?2) = [1]>\nset [ghost v] effect to (100)\nshow\nrepeat (5)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [消せ! v]\ndelete this clone\n\nwhen I receive [スタート v]\ngo to [front v] layer\nタイム測る\n\ndefine タイム測る\nforever\n    書く (CLEARまでにかかった時間) X [130] Y [144] 大きさ [100] 明るさ [0] 透明度 [0] 色 [0]\n    wait (0.9) seconds\n    broadcast (消せ! v)\n    change [clearまでにかかった時間 v] by (1)\nend\n\nwhen I receive [クリア！ v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [背景をスタート画面に変更 v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [ランキング v]\nbroadcast (消せ! v)\nwait (1) seconds\ngo to [front v] layer\nshow\nrepeat (3)\n    書く (☁ １位) X [-70] Y [140] 大きさ [200] 明るさ [0] 透明度 [200] 色 [0]\n    書く (☁ ２位) X [-70] Y [40] 大きさ [200] 明るさ [0] 透明度 [200] 色 [0]\n    書く (☁ ３位) X [-70] Y [-60] 大きさ [200] 明るさ [0] 透明度 [200] 色 [0]\nend\n\nwhen I receive [ランキングから戻る v]\nstop [other scripts in sprite v]\nbroadcast (消せ! v)\nhide\n\n@バー\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [スタート準備 v]\nshow\n\nwhen I receive [クリア！ v]\nhide\n\n@チェックポイント2\n\nwhen flag clicked\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\n\nwhen I receive [プログラム2 v]\n移動 ((7200) - (Camera_x)) ((163) - (Camera _y))\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nswitch costume to ((チェックポイント到達) + (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 (キャラ v)?> and <(チェックポイント到達) = [0]>> then\n        set [チェックポイント到達 v] to [1]\n        set [復活x v] to [7200]\n        set [復活y v] to [400]\n        start sound [魔王魂 効果音 システム37 v]\n    end\nend\nswitch costume to ((チェックポイント到達) + (2))\n\nwhen I receive [タイム v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [リトライ v]\nswitch costume to (a v)\nset [チェックポイント到達 v] to [0]\n\n@ゴール！\n\nwhen flag clicked\nset [チェックポイント到達 v] to [0]\nswitch costume to (a v)\nhide\n\nwhen I receive [プログラム2 v]\n移動 ((11700) - (Camera_x)) ((414) - (Camera _y))\n\ndefine 移動 (x) (y)\nswitch costume to (none v)\ngo to x: (x) y: (y)\nswitch costume to ((チェックポイント到達) + (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 (キャラ v)?> and <(チェックポイント到達) = [0]>> then\n        set [チェックポイント到達 v] to [1]\n        set [復活x v] to [11520]\n        set [復活y v] to [415]\n        set [クリア？ v] to [1]\n        start sound [魔王魂 効果音 システム37 v]\n        broadcast (クリア！ v)\n    end\nend\nswitch costume to ((チェックポイント到達) + (2))\n\nwhen I receive [タイム v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [リトライ v]\nswitch costume to (a v)\nset [チェックポイント到達 v] to [0]\n\n@クリア！\n\nwhen I receive [クリア！ v]\nshow\nrepeat (50)\n    change y by (((0) - (y position)) / (4))\nend\nbroadcast (タイム v)\nwait until <mouse down?>\n\nwhen flag clicked\ngo to x: (0) y: (346)\nhide\n\n@宣伝\n\nwhen flag clicked\nhide\n\nwhen I receive [スタート v]\nshow\nforever\n    go to [front v] layer\nend\n\nwhen I receive [スタート v]\ngo to x: (140) y: (-210)\nset volume to (50) %\nforever\n    wait (pick random (30.) to (50)) seconds\n    show\n    start sound [ポップ v]\n    repeat (100)\n        change [なめらか v] by ((((-148) - (y position)) / (10)) - ((なめらか) / (4)))\n        change y by (なめらか)\n    end\n    wait (1) seconds\n    repeat (100)\n        change [なめらか v] by ((((-210) - (y position)) / (10)) - ((なめらか) / (4)))\n        change y by (なめらか)\n    end\n    hide\nend\n\nwhen I receive [クリア！ v]\nstop [other scripts in sprite v]\nhide\n\n@リトライ\n\nwhen flag clicked\nhide\ngo to x: (-191) y: (-152)\n\nwhen I receive [スタート準備 v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (20)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nstart sound [魔王魂 効果音 システム37 v]\nif <(ゴールに触れているか) = [1]> then\n    broadcast (リトライ v)\nend\n\nwhen I receive [クリア！ v]\nstop [other scripts in sprite v]\nhide\n\n@ランキングの時の背景\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [ランキング v]\ngo to [front v] layer\nshow\n\nwhen I receive [ランキングから戻る v]\nhide\n\n@戻る\n\nwhen flag clicked\ngo to x: (-169) y: (-150)\nhide\n\nwhen I receive [ランキング v]\nif <(クリア？) = [0]> then\n    show\n    forever\n        go to [front v] layer\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (20)\n        else\n            set [ghost v] effect to (0)\n        end\n    end\nend\n\nwhen this sprite clicked\nstart sound [魔王魂 効果音 システム37 v]\nbroadcast (ランキングから戻る v)\nhide\n\n@通知\n\nwhen flag clicked\nhide\n\nwhen I receive [🥇 v]\n背景効果\nswitch costume to (世界記録１位 v)\nスライド\n\ndefine スライド\nclear graphic effects\ngo to x: (0) y: (270)\ngo to [front v] layer\nstart sound [魔王魂 効果音 システム37 v]\nshow\nrepeat (50)\n    change y by (((0) - (y position)) / (4))\nend\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nstart sound [魔王魂 効果音 システム37 v]\nrepeat (50)\n    set size to (200) %\n    change y by (((-300) - (y position)) / (4))\n    set size to (100) %\nend\nhide\nbroadcast (ランキング v)\n\nwhen I receive [🥈 v]\n背景効果\nswitch costume to (世界記録2位 v)\nスライド\n\nwhen I receive [🥉 v]\n背景効果\nswitch costume to (世界記録3位 v)\nスライド\n\ndefine 背景効果\ngo to x: (0) y: (0)\nset [ghost v] effect to (60)\nswitch costume to (背景 v)\nshow\ncreate clone of (_myself_ v)\n\n@サムネだよ～ン\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nif <(language::translate) = [日本語]> then\n    switch costume to (サムネ　宣伝入り　日本語 v)\nelse\n    switch costume to (サムネ　宣伝入り　英語 v)\nend\ngo to [front v] layer\nstart sound [魔王魂 効果音 システム37 v]\nshow\n\n@タイマー\n\nwhen flag clicked\nタイマーをリセット\nforever\n    set [タイマー v] to (((days since 2000) - (リセット時の2000年からの日数)) * (86400))\nend\n\ndefine タイマーをリセット\nset [リセット時の2000年からの日数 v] to (days since 2000)\n\n@ INTR\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    switch costume to (blue v)\n    go to [front v] layer\n    wait (0.7) seconds\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\n\nwhen I start as a clone\nforever\n    show\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\nreset timer\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [1]\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [3]\ncreate clone of (_myself_ v)\nwait (6) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [4]\ngo to x: (-240) y: (0)\npoint in direction (0)\ncreate clone of (_myself_ v)\nrepeat (9)\n    change x by (55)\n    turn right (1) degrees\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <[2] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    set [ghost v] effect to (40)\n    go to [back v] layer\n    go [forward v] (1) layers\n    go to x: (0) y: (-394)\n    switch costume to (x% v)\n    show\n    glide (2) secs to x: (0) y: (394)\n    delete this clone\nend\n\nwhen flag clicked\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [0]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nrepeat (200)\n    set [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [2]\n    create clone of (_myself_ v)\n    wait (0.8) seconds\nend\n\nwhen I start as a clone\nif <[0] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    switch costume to (black v)\n    go to x: (0) y: (0)\n    show\n    forever\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\nend\n\nwhen I start as a clone\nif <[3] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (3) layers\n    set [ghost v] effect to (100)\n    go to x: (0) y: (186)\n    switch costume to (nanakusa03 v)\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n        change y by ((() - (y position)) / (7))\n    end\n    repeat (2)\n        wait () seconds\n    end\n    set rotation style [all around v]\n    repeat (5)\n        point in direction (-90)\n        set [π v] to [0]\n        set size to (0) %\n        repeat (30)\n            set [π v] to (((π) * (0.75)) + (((90) - (direction)) / (5)))\n            turn right (π) degrees\n            change size by ((((π) + (10)) * (0.5)) + (((100) - (size)) / (3)))\n        end\n    end\nend\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [back v] layer\n    end\nend\n\ngo to x: (0) y: (0)\nswitch costume to (nanakusa03 v)\nshow\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    switch costume to (white v)\n    set [π v] to (direction)\n    set [color v] effect to (((π) mod (2)) * (25))\n    set size to (0) %\n    set [ghost v] effect to (100)\n    show\n    go to x: (0) y: (-361)\n    repeat (20)\n        change size by (((100) - (size)) / (3))\n        set [ghost v] effect to ((100) - (size))\n        change x by ((((-240) + ((55) * (π))) - (x position)) / (3))\n        change y by ((() - (y position)) / (3))\n        turn right (((90) - (direction)) / (3)) degrees\n    end\n    wait (0.2) seconds\n    broadcast (THE END v)\nend\n\nwhen I receive [the end v]\nif <(ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ) = [4]> then\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    broadcast (黒 v)\n    wait ((1) / ()) seconds\n    delete this clone\nelse\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\nwhen flag clicked\nstart sound [Blooom - Be Around \[NCS Release\] v]\n\nrepeat (1)\n\n