Adventure Platformer

Instructions: If you find it even a little fun, please give us a ♡ and ☆ and follow us!\n【advebture world】\n操作方法は?ボタンを押して確認してみてください。\n

@Stage\n\n@player\n\nwhen flag clicked\nhide\nset volume to (100) %\nset size to (80) %\ngo to x: (-220) y: (60)\nset rotation style [left-right v]\n\nwhen I receive [start v]\nbroadcast (player on v)\nshow\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nrepeat until <(GOAL) = [1]>\n    バネジャン\n    if <touching (水 v)?> then\n        if <not <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n            set [y v] to [-2]\n        end\n        if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n            set [y v] to [5]\n        end\n    end\n    if <<touching (障害物 v)?> or <touching (障害物2 v)?>> then\n        hide\n        play sound [ショット v] until done\n        go to x: (-220) y: (45)\n        show\n    end\n    if <touching (敵 v)?> then\n        hide\n        set [player kill v] to [1]\n        play sound [ショット v] until done\n        go to x: (-220) y: (-67)\n        set [player kill v] to [0]\n        show\n    end\n    if <(y position) < [-179]> then\n        hide\n        set [player kill v] to [1]\n        play sound [ショット v] until done\n        go to x: (-220) y: (50)\n        show\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-0.8)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (0.8)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    はねとび\n    change y by (-1)\n    jump [13]\n    change y by (1)\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (stage v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    next [-220] [45]\nend\n\ndefine jump (ジャンプ力)\nif <touching (stage v)?> then\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        start sound [ジャンプ v]\n        set [y v] to (ジャンプ力)\n    end\nend\n\ndefine next (x) (y)\nif <(x position) > [239]> then\n    hide\n    broadcast (next v)\n    wait (0.6) seconds\n    go to x: (x) y: (y)\n    set [x v] to [0]\n    set [y v] to [0]\n    show\nend\n\nif <(next number) = [13]> then\n    hide\n    broadcast (最終シーン v)\n    forever\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-210) y: (-67)\n    end\nend\n\ndefine はねとび\nif <touching (stage v)?> then\n    change y by (1)\n    if <touching (stage v)?> then\n        change y by (1)\n        if <touching (stage v)?> then\n            change y by (1)\n            if <touching (stage v)?> then\n                change y by (1)\n                if <touching (stage v)?> then\n                    change y by (1)\n                    if <touching (stage v)?> then\n                        change x by ((X) * (-1))\n                        change y by (-5)\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                            start sound [ジャンプの着地 v]\n                            if <(X) > [0]> then\n                                set [x v] to [-7]\n                            else\n                                set [x v] to [7]\n                            end\n                            set [y v] to [12]\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine player body movements\nif <(キャラ) = [1]> then\n    switch costume to (pkayer\(黒\) v)\nend\nif <(キャラ) = [2]> then\n    switch costume to (pkayer\(青\)1 v)\nend\nif <(キャラ) = [3]> then\n    switch costume to (pkayer\(赤\)1 v)\nend\nif <(キャラ) = [4]> then\n    switch costume to (pkayer\(ピンク\)1 v)\nend\nif <(キャラ) = [5]> then\n    switch costume to (pkayer\(緑\)2 v)\nend\nif <(キャラ) = [6]> then\n    switch costume to (pkayer\(黄色\)7 v)\nend\nplayer 右向き\nplayer 左向き\nplayer 上向き\nplayer 上右向き\nplayer 上左向き\n\nwhen I receive [player on v]\nforever\n    player body movements\nend\n\ndefine player 右向き\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    if <(キャラ) = [1]> then\n        switch costume to (pkayer\(黒\)2 v)\n    end\n    if <(キャラ) = [2]> then\n        switch costume to (pkayer\(青\)2 v)\n    end\n    if <(キャラ) = [3]> then\n        switch costume to (pkayer\(赤\)9 v)\n    end\n    if <(キャラ) = [4]> then\n        switch costume to (pkayer\(ピンク\)2 v)\n    end\n    if <(キャラ) = [5]> then\n        switch costume to (pkayer\(緑\)3 v)\n    end\n    if <(キャラ) = [6]> then\n        switch costume to (pkayer\(黄色\)8 v)\n    end\nend\n\ndefine player 左向き\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    if <(キャラ) = [1]> then\n        switch costume to (pkayer\(黒\)3 v)\n    end\n    if <(キャラ) = [2]> then\n        switch costume to (pkayer\(青\)6 v)\n    end\n    if <(キャラ) = [3]> then\n        switch costume to (pkayer\(赤\)10 v)\n    end\n    if <(キャラ) = [4]> then\n        switch costume to (pkayer\(ピンク\)3 v)\n    end\n    if <(キャラ) = [5]> then\n        switch costume to (pkayer\(緑\)4 v)\n    end\n    if <(キャラ) = [6]> then\n        switch costume to (pkayer\(黄色\)9 v)\n    end\nend\n\ndefine player 上向き\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    if <(キャラ) = [1]> then\n        switch costume to (pkayer\(黒\)6 v)\n    end\n    if <(キャラ) = [2]> then\n        switch costume to (pkayer\(青\)4 v)\n    end\n    if <(キャラ) = [3]> then\n        switch costume to (pkayer\(赤\)2 v)\n    end\n    if <(キャラ) = [4]> then\n        switch costume to (pkayer\(ピンク\)6 v)\n    end\n    if <(キャラ) = [5]> then\n        switch costume to (pkayer\(緑\)7 v)\n    end\n    if <(キャラ) = [6]> then\n        switch costume to (pkayer\(黄色\)2 v)\n    end\nend\n\ndefine player 上右向き\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    if <(キャラ) = [1]> then\n        switch costume to (pkayer\(黒\)4 v)\n    end\n    if <(キャラ) = [2]> then\n        switch costume to (pkayer\(青\)7 v)\n    end\n    if <(キャラ) = [3]> then\n        switch costume to (pkayer\(赤\)11 v)\n    end\n    if <(キャラ) = [4]> then\n        switch costume to (pkayer\(ピンク\)4 v)\n    end\n    if <(キャラ) = [5]> then\n        switch costume to (pkayer\(緑\)5 v)\n    end\n    if <(キャラ) = [6]> then\n        switch costume to (pkayer\(黄色\)10 v)\n    end\nend\n\ndefine player 上左向き\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    if <(キャラ) = [1]> then\n        switch costume to (pkayer\(黒\)5 v)\n    end\n    if <(キャラ) = [2]> then\n        switch costume to (pkayer\(青\)8 v)\n    end\n    if <(キャラ) = [3]> then\n        switch costume to (pkayer\(赤\)12 v)\n    end\n    if <(キャラ) = [4]> then\n        switch costume to (pkayer\(ピンク\)5 v)\n    end\n    if <(キャラ) = [5]> then\n        switch costume to (pkayer\(緑\)6 v)\n    end\n    if <(キャラ) = [6]> then\n        switch costume to (pkayer\(黄色\)11 v)\n    end\nend\n\ndefine バネジャン\nif <touching (バネ v)?> then\n    set [y v] to [18]\nend\n\nwhen I receive [ロード2 v]\nhide\nset volume to (100) %\nset size to (80) %\ngo to x: (-220) y: (60)\nset rotation style [left-right v]\n\nwhen I receive [goal v]\nhide\n\n@stage\n\nwhen flag clicked\nset [goal v] to [0]\nset [next number v] to [0]\nswitch costume to (stage v)\nhide\n\nwhen I receive [start v]\nshow\nchange [next number v] by (1)\n\nwhen I receive [next v]\nwait (0.5) seconds\nchange [next number v] by (1)\nbroadcast (バネ v)\nbroadcast (障害物 v)\nbroadcast (水 v)\nbroadcast (背景 v)\nnext costume\nif <(next number) = [31]> then\n    broadcast (GOAL v)\n    set [goal v] to [1]\nend\n\nwhen I receive [ロード2 v]\nset [goal v] to [0]\nset [next number v] to [0]\nswitch costume to (stage v)\nhide\n\n@バネ\n\nwhen flag clicked\ngo to x: (-162) y: (-78)\nswitch costume to (コスチューム1 v)\nset size to (50) %\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [バネ v]\nswitch costume to (コスチューム1 v)\nif <(next number) = [12]> then\n    go to [front v] layer\n    show\n    go to x: (-162) y: (-78)\n    repeat until <not <(next number) = [12]>>\n        バネジャンプ\n    end\nend\nif <(next number) = [21]> then\n    go to [front v] layer\n    go to x: (45) y: (-78)\n    show\n    repeat until <not <(next number) = [21]>>\n        バネジャンプ\n    end\nend\nif <(next number) = [22]> then\n    go to [front v] layer\n    go to x: (-140) y: (-60)\n    show\n    repeat until <not <(next number) = [22]>>\n        バネジャンプ\n    end\nend\nhide\n\ndefine バネジャンプ\nif <touching (player v)?> then\n    start sound [ジャンプ v]\n    switch costume to (コスチューム1 v)\n    wait (0.02) seconds\n    switch costume to (コスチューム2 v)\n    wait (0.02) seconds\n    switch costume to (コスチューム3 v)\n    wait (0.02) seconds\n    switch costume to (コスチューム1 v)\n    wait (0.02) seconds\n    wait until <not <touching (player v)?>>\nend\n\nwhen I receive [ロード2 v]\ngo to x: (-162) y: (-78)\nswitch costume to (コスチューム1 v)\nset size to (50) %\nhide\n\n@障害物\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [start v]\nshow\n\nwhen I receive [障害物 v]\ngo to x: (0) y: (0)\ngo to [front v] layer\nnext costume\nif <(next number) = [17]> then\n    go to x: (0) y: (-75)\n    go to [back v] layer\n    repeat until <not <(next number) = [17]>>\n        repeat (25)\n            change y by (3)\n        end\n        wait (0.5) seconds\n        repeat (25)\n            change y by (-3)\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [ロード2 v]\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nhide\n\n@水\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (35)\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [ロード2 v]\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nset [ghost v] effect to (35)\nhide\n\nwhen I receive [goal v]\nhide\ngo to [back v] layer\n\nwhen I receive [水 v]\nhide\nif <(next number) = [29]> then\n    go to [back v] layer\n    show\n    repeat until <not <(next number) = [29]>>\n        if <touching (player v)?> then\n            start sound [水面に石投げ2 v]\n            wait until <not <touching (player v)?>>\n            start sound [水面に浮かび上がる \(1\) v]\n        end\n    end\nend\n\n@背景\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [start v]\nshow\n\nwhen I receive [障害物 v]\ngo to x: (0) y: (0)\ngo to [front v] layer\nnext costume\n\nwhen I receive [ロード2 v]\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [背景 v]\n\n@障害物2\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (コスチューム1 v)\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [next v]\nwait (0.55) seconds\nhide\nnext costume\nif <(next number) = [9]> then\n    go to x: (7) y: (-90)\n    switch costume to (コスチューム1 v)\n    go to [back v] layer\n    show\n    repeat until <not <(next number) = [9]>>\n        turn right (3) degrees\n    end\nend\nif <(next number) = [11]> then\n    go to x: (-19) y: (19)\n    switch costume to (コスチューム2 v)\n    go to [back v] layer\n    show\n    repeat until <not <(next number) = [11]>>\n        turn left (2) degrees\n    end\nend\nif <(next number) = [24]> then\n    go to x: (91) y: (59)\n    switch costume to (コスチューム2 v)\n    go to [back v] layer\n    show\n    repeat until <not <(next number) = [24]>>\n        turn left (2) degrees\n    end\nend\n\nwhen I receive [ロード2 v]\npoint in direction (90)\nswitch costume to (コスチューム1 v)\nhide\n\n@ロード\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\npoint in direction (90)\ngo to x: (0) y: (0)\n\ndefine ロード中\ngo to [front v] layer\nshow\npoint in direction (90)\nrepeat (pick random (15) to (35))\n    turn right (40) degrees\nend\nhide\n\nwhen I receive [ロード v]\nロード中\nbroadcast (start v)\n\nwhen I receive [ロード2 v]\nロード中\nbroadcast (タイトル画面 v)\n\n@画面\n\nwhen flag clicked\nhide\n\nwhen I receive [ロード v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen I receive [ロード2 v]\nshow\n\nwhen I receive [タイトル画面 v]\nhide\n\n@スタートボタン\n\nwhen flag clicked\nset [ボタン v] to [0]\nhide\nswitch costume to (startボタン v)\nset [brightness v] effect to (0)\ngo to x: (-141) y: (30)\n\nwhen I receive [タイトル画面 v]\nshow\nrepeat until <(ボタン) = [1]>\n    set [brightness v] effect to (0)\n    if <<touching (mouse-pointer v)?> and <not <(詳細 switch) = [1]>>> then\n        set [brightness v] effect to (10)\n        if <mouse down?> then\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す52 v]\n            set [ボタン v] to [1]\n            broadcast (ロード v)\n        end\n    end\nend\nhide\n\nwhen I receive [ロード2 v]\nset [ボタン v] to [0]\nhide\nswitch costume to (startボタン v)\nset [brightness v] effect to (0)\ngo to x: (-141) y: (30)\n\n@詳細ボタン\n\nwhen flag clicked\nhide\nset [詳細 switch v] to [0]\nset [音量 v] to [100]\nset volume to (100) %\nset size to (100) %\nswitch costume to (？ボタン v)\nset [brightness v] effect to (0)\ngo to x: (-141) y: (-70)\n\nwhen I receive [タイトル画面 v]\nshow\nrepeat until <(ボタン) = [1]>\n    set [brightness v] effect to (0)\n    if <<touching (mouse-pointer v)?> and <not <(詳細 switch) = [1]>>> then\n        set [brightness v] effect to (10)\n        if <mouse down?> then\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す52 v]\n            create clone of (_myself_ v)\n        end\n    end\nend\nhide\n\nwhen I start as a clone\nset [詳細 switch v] to [1]\ngo to x: (0) y: (0)\nhide\nset size to (0) %\nswitch costume to (コスチューム1 v)\ngo to [front v] layer\nshow\nrepeat (10)\n    change size by ((30) / (3))\nend\nwait until <mouse down?>\nwait until <not <mouse down?>>\nset [詳細 switch v] to [0]\ndelete this clone\n\nwhen I receive [ロード2 v]\nset [詳細 switch v] to [0]\nset [音量 v] to [100]\nset volume to (100) %\nset size to (100) %\nhide\nswitch costume to (？ボタン v)\nset [brightness v] effect to (0)\ngo to x: (-141) y: (-70)\n\n@text\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [タイトル画面 v]\nshow\n\nwhen I receive [ロード v]\nhide\n\nwhen I receive [ロード2 v]\nhide\n\n@キャラ選択ボタン（左）2\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (-60)\n\nwhen I receive [タイトル画面 v]\nshow\nrepeat until <(ボタン) = [1]>\n    set [brightness v] effect to (0)\n    if <<touching (mouse-pointer v)?> and <not <(詳細 switch) = [1]>>> then\n        set [brightness v] effect to (10)\n        if <mouse down?> then\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す35 v]\n            change [キャラ v] by (-1)\n            if <(キャラ) = [0]> then\n                set [キャラ v] to [6]\n            end\n        end\n    end\nend\nhide\n\nwhen I receive [ロード2 v]\nhide\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (-60)\n\n@キャラ選択ボタン（右）\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\ngo to x: (197) y: (-60)\n\nwhen I receive [タイトル画面 v]\nshow\nrepeat until <(ボタン) = [1]>\n    set [brightness v] effect to (0)\n    if <<touching (mouse-pointer v)?> and <not <(詳細 switch) = [1]>>> then\n        set [brightness v] effect to (10)\n        if <mouse down?> then\n            wait until <not <mouse down?>>\n            start sound [決定ボタンを押す35 v]\n            change [キャラ v] by (1)\n            if <(キャラ) = [7]> then\n                set [キャラ v] to [1]\n            end\n        end\n    end\nend\nhide\n\nwhen I receive [ロード2 v]\nhide\nswitch costume to (コスチューム1 v)\ngo to x: (197) y: (-60)\n\n@player選択\n\nwhen flag clicked\nset [キャラ v] to [1]\nhide\ngo to x: (98) y: (-60)\n\nwhen I receive [タイトル画面 v]\nshow\nrepeat until <(ボタン) = [1]>\n    if <(キャラ) = [1]> then\n        switch costume to (player1 v)\n    end\n    if <(キャラ) = [2]> then\n        switch costume to (player2 v)\n    end\n    if <(キャラ) = [3]> then\n        switch costume to (player3 v)\n    end\n    if <(キャラ) = [4]> then\n        switch costume to (player4 v)\n    end\n    if <(キャラ) = [5]> then\n        switch costume to (player5 v)\n    end\n    if <(キャラ) = [6]> then\n        switch costume to (player6 v)\n    end\nend\nhide\n\nwhen I receive [ロード2 v]\nset [キャラ v] to [1]\nhide\ngo to x: (98) y: (-60)\n\n@サムネ・イル\n\nwhen flag clicked\nshow\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (intro start! v)\nwait (3) seconds\nclear graphic effects\nhide\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@intro\n\nwhen I start as a clone\nshow\nif <(costume [number v]) = [1]> then\n    go to [front v] layer\n    set [brightness v] effect to (100)\n    set size to (1) %\n    go to x: (240) y: (0)\n    point in direction (90)\n    repeat until <(size) > [140]>\n        turn right (5) degrees\n        change size by ((size) / (4))\n        change x by (((0) - (x position)) / (7))\n    end\n    point in direction (90)\n    wait (3) seconds\n    delete this clone\nelse\n    if <(costume [number v]) = [2]> then\n        go to [front v] layer\n        set size to (1) %\n        go to x: (240) y: (0)\n        point in direction (90)\n        repeat until <(size) > [140]>\n            turn right (5) degrees\n            change size by ((size) / (4))\n            change x by (((0) - (x position)) / (7))\n        end\n        point in direction (90)\n        wait (3) seconds\n        delete this clone\n    else\n        if <(costume [number v]) = [3]> then\n            go to [front v] layer\n            set size to (1) %\n            go to x: (240) y: (0)\n            point in direction (90)\n            repeat until <(size) > [140]>\n                turn right (5) degrees\n                change size by ((size) / (4))\n                change x by (((0) - (x position)) / (7))\n            end\n            point in direction (90)\n            wait until <[11] < (timer)>\n            repeat until <[2] > (size)>\n                turn right (-5) degrees\n                change size by ((size) / (-4))\n            end\n            delete this clone\n        else\n            if <(costume [number v]) = [4]> then\n                go to [front v] layer\n                set size to (100) %\n                go to x: (2405) y: (0)\n                point in direction (90)\n                broadcast (メッセージ1 v)\n                repeat until <[0.5] > (x position)>\n                    change x by (((0) - (x position)) / (4))\n                end\n                wait until <[8] < (timer)>\n                set x to (-1)\n                repeat until <[-449] > (x position)>\n                    change x by ((x position) / (4))\n                end\n                go to x: (2405) y: (0)\n                switch costume to (star heart v)\n                repeat until <[0.5] > (x position)>\n                    change x by (((0) - (x position)) / (4))\n                end\n                wait until <[11] < (timer)>\n                repeat until <[3] > (size)>\n                    turn right (-5) degrees\n                    change size by ((size) / (-4))\n                end\n                hide\n                wait (1) seconds\n                broadcast (タイトル画面 v)\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I receive [メッセージ1 v]\nif <(costume [number v]) = [4]> then\n    set [w v] to [0]\n    repeat until <[11] < (timer)>\n        change [w v] by (17.5)\n        point in direction ((([sin v] of (w) ) * (5)) + (90))\n    end\nend\n\nwhen I receive [intro start! v]\nreset timer\nstart sound [Fox Stevenson & Curbi - Hoohah \(VIP Edit\)2 v]\nrepeat (7)\n    switch costume to (square2 v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\n    switch costume to (square v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nswitch costume to (square3 v)\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nswitch costume to (icon name v)\ncreate clone of (_myself_ v)\nwait (0.1) seconds\n\n@タイトル画面\n\nwhen flag clicked\ngo to x: (0) y: (-50)\nhide\ngo to [back v] layer\n\nwhen I receive [タイトル画面 v]\nshow\nrepeat until <(ボタン) = [1]>\n    repeat (30)\n        change y by (((1) + (2)) / (3))\n    end\n    repeat (30)\n        change y by (((1) - (4)) / (3))\n    end\nend\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [ロード2 v]\ngo to x: (0) y: (-50)\nhide\ngo to [back v] layer\n\n@ホームボタン\n\nwhen flag clicked\nhide\nset [brightness v] effect to (0)\nswitch costume to (コスチューム1 v)\ngo to x: (-184) y: (-125)\n\nwhen I receive [goal v]\nwait (1) seconds\nshow\ngo to [front v] layer\nrepeat until <(GOAL) = [0]>\n    set [brightness v] effect to (0)\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (5)\n        if <mouse down?> then\n            set [goal v] to [0]\n            set [main bgm v] to [0]\n            start sound [決定ボタンを押す52 v]\n            broadcast (ロード2 v)\n        end\n    end\nend\n\nwhen I receive [ロード2 v]\nhide\nset [brightness v] effect to (0)\nswitch costume to (コスチューム1 v)\ngo to x: (-184) y: (-125)\n\n@BGM/SONG\n\nwhen I receive [タイトル画面 v]\nset volume to (100) %\nstop all sounds\nstart sound [Plugged \(post mastering\) v]\n\nwhen I receive [start v]\nset volume to (35) %\nset [main bgm v] to [1]\nstop all sounds\nrepeat until <(main BGM) = [0]>\n    play sound [Inferno v] until done\nend\n\nwhen flag clicked\nset [main bgm v] to [0]\n\n@スプライト1\n\n@スプライト2\n\nwhen flag clicked\nhide\n\n@スプライト3\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nset [pixelate v] effect to (100)\n\nwhen I receive [goal v]\nshow\ngo to [front v] layer\nrepeat (20)\n    change [pixelate v] effect by (-5)\nend\nwait until <not <(GOAL) = [1]>>\nhide\n\nwhen I receive [ロード2 v]\nhide\ngo to x: (0) y: (0)\nset [pixelate v] effect to (100)\n\n