Fortnite Laser Tag! - A Platformer                           #games

Instructions: [Arrow Keys] or [Space] or [Click] to navigate\n\nIf you failed at coding the script on you own, go here: https://scratch.mit.edu/projects/680450480/

@Stage\n\nwhen flag clicked\nswitch backdrop to (ネザー v)\nwait until <(すてじ) = [13]>\nswitch backdrop to (blue sky 2  v)\n\nwhen flag clicked\nstop all sounds\nforever\n    play sound [Sunset\(instrumental\) v] until done\nend\n\n@Steve\n\nwhen flag clicked\nswitch costume to (普通 v)\n初期\nset [すてじ v] to [1]\nforever\n    ブロック名 [1] [7] [14] [-1]\nend\n\ndefine 初期\ngo to x: (-208) y: (5)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen I receive [♥と★ v]\nswitch costume to (コスチューム1 v)\nforever\n    change [color v] effect by (5)\nend\n\ndefine ブロック名 (x) (x) (y) (y)\nset rotation style [left-right v]\nif <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n    point in direction (90)\n    change [x v] by (x)\nend\nif <<<mouse down?> and <(mouse x) < (x position)>> or <key (left arrow v) pressed?>> then\n    point in direction (-90)\n    change [x v] by ((x) - ((x) + (x)))\nend\nset [x v] to ((X) * (0.9))\nchange x by (X)\nif <touching (地面 v)?> then\n    change y by ((() + (1)) * (5))\nend\nif <touching (地面 v)?> 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)>>> then\n        if <(X) < [0]> then\n            set [x v] to (x)\n        else\n            set [x v] to ((x) - ((x) + (x)))\n        end\n        set [y v] to (y)\n    else\n        set [x v] to [0]\n    end\nend\nchange [y v] by (y)\nchange y by (Y)\nif <touching (地面 v)?> then\n    change y by ((Y) * (y))\n    set [y v] to [0]\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n        set [y v] to (y)\n    end\nend\n\nwhen flag clicked\nforever\n    if  then\n        if <<(♥) = [1]> and <(★) = [1]>> then\n        else\n            switch costume to (スティーブ やられた v)\n            wait () seconds\n            switch costume to (普通 v)\n            change [hp v] by (-1)\n            broadcast (しんじゃった v)\n            start sound [j v]\n            初期\n            if <(HP) < [0]> then\n                stop [all v]\n            end\n        end\n    end\n    if <touching (おけん v)?> then\n        broadcast (uio v)\n    end\n    if <touching (おけん2 v)?> then\n        broadcast (ｊふいｈぬいｊｋふにｊふい v)\n    end\n    if <touching (おけん3 v)?> then\n        broadcast (hubyuhiuhiu v)\n    end\n    if <touching (おけん4 v)?> then\n        broadcast (tipoko v)\n    end\n    if <not <<(すてじ) = [13]> or <<not <(ういざあHP) < [0]>> and <(すてじ) = [12]>>>> then\n        if <[235] < (x position)> then\n            初期\n            set [hp v] to [20]\n            change [すてじ v] by (1)\n        end\n    end\nend\n\n@地面\n\nwhen flag clicked\nforever\n    switch costume to (すてじ)\nend\n\n@HP\n\nwhen flag clicked\nset [hp v] to [20]\nforever\n    switch costume to ((HP) + (1))\nend\n\n@よーがん\n\nwhen flag clicked\nforever\n    switch costume to (すてじ)\nend\n\n@ぞんび\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nforever\n    wait until <(すてじ) = [3]>\n    create clone of (_myself_ v)\n    wait until <(すてじ) = [5]>\n    create clone of (_myself_ v)\n    wait until <(すてじ) = [7]>\n    create clone of (_myself_ v)\n    wait until <(すてじ) = [11]>\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to x: (220) y: (0)\nset [ゾンビ hp v] to [10]\nshow\nset rotation style [left-right v]\nforever\n    if <(x position) < ([x position v] of [steve v])> then\n        if <touching (おみず v)?> then\n            change [ゾンビx v] by (0.5)\n            point in direction (90)\n        else\n            change [ゾンビx v] by (0.8)\n            point in direction (90)\n        end\n    end\n    if <([x position v] of [steve v]) < (x position)> then\n        if <touching (おみず v)?> then\n            change [ゾンビx v] by (-0.5)\n            point in direction (-90)\n        else\n            change [ゾンビx v] by (-0.8)\n            point in direction (-90)\n        end\n    end\n    set [ゾンビx v] to ((ゾンビX) * (0.8))\n    change x by (ゾンビX)\n    if <touching (地面 v)?> then\n        change y by ((() + (1)) * (5))\n        if <touching (地面 v)?> then\n            change x by ((ゾンビX) * (-1))\n            change y by (-5)\n            if <(y position) < ([y position v] of [steve v])> then\n                set [ゾンビy v] to [11]\n                if <(ゾンビX) < [0]> then\n                    set [ゾンビx v] to [6]\n                else\n                    set [ゾンビx v] to [-6]\n                end\n            else\n                set [ゾンビx v] to [0]\n            end\n        end\n    end\n    change [ゾンビy v] by (-1)\n    change y by (ゾンビY)\n    if <touching (地面 v)?> then\n        change y by ((ゾンビY) * (-1))\n        set [ゾンビy v] to [0]\n        if <(y position) < ([y position v] of [steve v])> then\n            set [ゾンビy v] to [14]\n        end\n    end\nend\n\nwhen I receive [しんじゃった v]\ngo to x: (220) y: (0)\n\nwhen I receive [こーげき v]\nif  then\n    change [ゾンビ hp v] by ([costume name v] of [ken4 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [ゾンビx v] to [-10]\n        set [ゾンビy v] to [12]\n    else\n        set [ゾンビx v] to [10]\n        set [ゾンビy v] to [12]\n    end\n    if <(ゾンビ HP) < [0]> then\n        start sound [pigdeath v]\n        switch costume to (ぞび v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (1) to (2))\n        switch costume to (ぞび v)\n        wait (0.1) seconds\n        switch costume to (ぞんび v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (ぞんび v)\n\nwhen I receive [こーげき v]\nif  then\n    change [ゾンビ hp v] by ([costume name v] of [ken2 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [ゾンビx v] to [-10]\n        set [ゾンビy v] to [12]\n    else\n        set [ゾンビx v] to [10]\n        set [ゾンビy v] to [12]\n    end\n    if <(ゾンビ HP) < [0]> then\n        start sound [pigdeath v]\n        switch costume to (ぞび v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (1) to (2))\n        switch costume to (ぞび v)\n        wait (0.1) seconds\n        switch costume to (ぞんび v)\n    end\nend\n\nwhen I receive [こーげき v]\nif  then\n    change [ゾンビ hp v] by ([costume name v] of [ken3 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [ゾンビx v] to [-10]\n        set [ゾンビy v] to [12]\n    else\n        set [ゾンビx v] to [10]\n        set [ゾンビy v] to [12]\n    end\n    if <(ゾンビ HP) < [0]> then\n        start sound [pigdeath v]\n        switch costume to (ぞび v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (1) to (2))\n        switch costume to (ぞび v)\n        wait (0.1) seconds\n        switch costume to (ぞんび v)\n    end\nend\n\n\n\n@おけん2\n\nwhen flag clicked\nclear graphic effects\ngo to x: (0) y: (0)\nforever\n    if <<(すてじ) = [2]> or > then\n        set size to (70) %\n        show\n        switch costume to (おいしのけん v)\n    else\n        hide\n    end\nend\n\nwhen I receive [ｊふいｈぬいｊｋふにｊふい v]\nset [ghost v] effect to (100)\nbroadcast (うふふ v)\n\nwhen flag clicked\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\n@ken2\n\nwhen flag clicked\nhide\nforever\n    if <([direction v] of [steve v]) = [90]> then\n        switch costume to (-4.0 v)\n        go to x: (([x position v] of [steve v]) + (30)) y: ([y position v] of [steve v])\n    else\n        switch costume to (-4 v)\n        go to x: (([x position v] of [steve v]) - (30)) y: ([y position v] of [steve v])\n    end\nend\n\nwhen I receive [うふふ v]\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        if <<key (space v) pressed?> or <mouse down?>> then\n            repeat (3)\n                turn left (15) degrees\n            end\n            broadcast (こーげき v)\n            repeat (3)\n                turn right (15) degrees\n            end\n        end\n    else\n        if <<key (space v) pressed?> or <mouse down?>> then\n            repeat (3)\n                turn right (15) degrees\n            end\n            broadcast (こーげき v)\n            repeat (3)\n                turn left (15) degrees\n            end\n        end\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [しｓｂ v]\nforever\n    hide\nend\n\n@すけさん\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nforever\n    wait until <(すてじ) = [7]>\n    create clone of (_myself_ v)\n    wait until <(すてじ) = [8]>\n    create clone of (_myself_ v)\n    wait until <(すてじ) = [10]>\n    create clone of (_myself_ v)\n    \nend\n\nwhen I start as a clone\ngo to x: (220) y: (0)\nset [すけちゃんhp v] to [16]\nshow\nset rotation style [left-right v]\nforever\n    if <(x position) < ([x position v] of [steve v])> then\n        if <touching (おみず v)?> then\n            change [すけさん x v] by (0.5)\n            point in direction (90)\n        else\n            change [すけさん x v] by (0.6)\n            point in direction (90)\n        end\n    end\n    if <([x position v] of [steve v]) < (x position)> then\n        if <touching (おみず v)?> then\n            change [すけさん x v] by (-0.5)\n            point in direction (-90)\n        else\n            change [すけさん x v] by (-0.6)\n            point in direction (-90)\n        end\n    end\n    set [すけさん x v] to ((すけさん X) * (0.8))\n    change x by (すけさん X)\n    if <touching (地面 v)?> then\n        change y by ((() + (1)) * (5))\n        if <touching (地面 v)?> then\n            change x by ((すけさん X) * (-1))\n            change y by (-5)\n            if <(x position) < ([x position v] of [steve v])> then\n                if <(すけさん X) < [0]> then\n                    set [すけさん x v] to [6]\n                else\n                    set [すけさん x v] to [-6]\n                end\n                set [すけるy v] to [11]\n            else\n                set [すけさん x v] to [0]\n            end\n        end\n    end\n    change [すけるy v] by (-1)\n    change y by (すけるy)\n    if <touching (地面 v)?> then\n        change y by ((すけるy) * (-1))\n        set [すけるy v] to [0]\n        if <(y position) < ([y position v] of [steve v])> then\n            set [すけるy v] to [12]\n        end\n    end\nend\n\nwhen I receive [しんじゃった v]\ngo to x: (220) y: (0)\n\nwhen I receive [こーげき v]\nif  then\n    change [すけちゃんhp v] by ([costume name v] of [ken4 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [すけさん x v] to [-10]\n        set [すけるy v] to [12]\n    else\n        set [すけさん x v] to [10]\n        set [すけるy v] to [12]\n    end\n    if <(すけちゃんHP) < [0]> then\n        start sound [Skeleton_death v]\n        switch costume to (スケルトン2 v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (2) to (3))\n        switch costume to (スケルトン2 v)\n        wait (0.1) seconds\n        switch costume to (スケルトン v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (スケルトン v)\n\nwhen I receive [こーげき v]\nif  then\n    change [すけちゃんhp v] by ([costume name v] of [ken2 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [すけさん x v] to [-10]\n        set [すけるy v] to [12]\n    else\n        set [すけさん x v] to [10]\n        set [すけるy v] to [12]\n    end\n    if <(すけちゃんHP) < [0]> then\n        start sound [Skeleton_death v]\n        switch costume to (スケルトン2 v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (2) to (3))\n        switch costume to (スケルトン2 v)\n        wait (0.1) seconds\n        switch costume to (スケルトン v)\n    end\nend\n\nwhen I receive [こーげき v]\nif  then\n    change [すけちゃんhp v] by ([costume name v] of [ken3 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [すけさん x v] to [-10]\n        set [すけるy v] to [12]\n    else\n        set [すけさん x v] to [10]\n        set [すけるy v] to [12]\n    end\n    if <(すけちゃんHP) < [0]> then\n        start sound [Skeleton_death v]\n        switch costume to (スケルトン2 v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (2) to (3))\n        switch costume to (スケルトン2 v)\n        wait (0.1) seconds\n        switch costume to (スケルトン v)\n    end\nend\n\n@おけん3\n\nwhen flag clicked\nclear graphic effects\ngo to x: (0) y: (0)\nforever\n    if <<(すてじ) = [6]> or > then\n        set size to (70) %\n        show\n        if <(すてじ) = [6]> then\n            switch costume to (おてつのけん v)\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [hubyuhiuhiu v]\nset [ghost v] effect to (100)\nbroadcast (しｓｂ v)\n\nwhen flag clicked\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\n@ken3\n\nwhen flag clicked\nhide\nforever\n    if <([direction v] of [steve v]) = [90]> then\n        switch costume to (-5 v)\n        go to x: (([x position v] of [steve v]) + (30)) y: ([y position v] of [steve v])\n    else\n        switch costume to (-5.0 v)\n        go to x: (([x position v] of [steve v]) - (30)) y: ([y position v] of [steve v])\n    end\nend\n\nwhen I receive [しｓｂ v]\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        if <<key (space v) pressed?> or <mouse down?>> then\n            repeat (3)\n                turn left (15) degrees\n            end\n            broadcast (こーげき v)\n            repeat (3)\n                turn right (15) degrees\n            end\n        end\n    else\n        if <<key (space v) pressed?> or <mouse down?>> then\n            repeat (3)\n                turn right (15) degrees\n            end\n            broadcast (こーげき v)\n            repeat (3)\n                turn left (15) degrees\n            end\n        end\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [らんらんるー v]\nforever\n    hide\nend\n\n@ウィザーすけさん\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nforever\n    wait until <(すてじ) = [8]>\n    create clone of (_myself_ v)\n    wait until <(すてじ) = [90]>\nend\n\nwhen I start as a clone\ngo to x: (220) y: (0)\nset [hphp v] to [20]\nshow\nset rotation style [left-right v]\nforever\n    if <(x position) < ([x position v] of [steve v])> then\n        if <touching (おみず v)?> then\n            change [すけさん x v] by (0.5)\n            point in direction (90)\n        else\n            change [xx v] by (0.6)\n            point in direction (90)\n        end\n    end\n    if <([x position v] of [steve v]) < (x position)> then\n        if <touching (おみず v)?> then\n            change [すけさん x v] by (-0.5)\n            point in direction (-90)\n        else\n            change [xx v] by (-0.6)\n            point in direction (-90)\n        end\n    end\n    set [xx v] to ((xx) * (0.8))\n    change x by (xx)\n    if <touching (地面 v)?> then\n        change y by ((() + (1)) * (5))\n        if <touching (地面 v)?> then\n            change x by ((xx) * (-1))\n            change y by (-5)\n            if <(x position) < ([x position v] of [steve v])> then\n                if <(xx) < [0]> then\n                    set [xx v] to [6]\n                else\n                    set [xx v] to [-6]\n                end\n                set [すけるy v] to [11]\n            else\n                set [xx v] to [0]\n            end\n        end\n    end\n    change [yy v] by (-1)\n    change y by (yy)\n    if <touching (地面 v)?> then\n        change y by ((yy) * (-1))\n        set [yy v] to [0]\n        if <(y position) < ([y position v] of [steve v])> then\n            set [yy v] to [12]\n        end\n    end\nend\n\nwhen I receive [しんじゃった v]\ngo to x: (220) y: (0)\n\nwhen flag clicked\nswitch costume to (ウィザースケルトン v)\n\nwhen I receive [こーげき v]\nif  then\n    change [hphp v] by ([costume name v] of [ken3 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [xx v] to [-10]\n        set [yy v] to [12]\n    else\n        set [xx v] to [10]\n        set [yy v] to [12]\n    end\n    if <(hphp) < [0]> then\n        start sound [撃破 v]\n        switch costume to (ウィザースケルトン2 v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (2) to (3))\n        switch costume to (ウィザースケルトン2 v)\n        wait (0.1) seconds\n        switch costume to (ウィザースケルトン v)\n    end\nend\n\nstart sound [撃破 v]\n\nwhen I receive [こーげき v]\nif  then\n    change [hphp v] by ([costume name v] of [ken4 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [xx v] to [-10]\n        set [yy v] to [12]\n    else\n        set [xx v] to [10]\n        set [yy v] to [12]\n    end\n    if <(hphp) < [0]> then\n        start sound [撃破 v]\n        switch costume to (ウィザースケルトン2 v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (2) to (3))\n        switch costume to (ウィザースケルトン2 v)\n        wait (0.1) seconds\n        switch costume to (ウィザースケルトン v)\n    end\nend\n\n@エンダーマン先輩\n\nwhen flag clicked\nhide\nset rotation style [left-right v]\nforever\n    wait until <(すてじ) = [10]>\n    create clone of (_myself_ v)\n    wait until <(すてじ) = [90]>\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to x: (220) y: (0)\nset [えんだあああああああ　いやあああああああああああああああああああ v] to [30]\nshow\nset rotation style [left-right v]\nforever\n    if <(x position) < ([x position v] of [steve v])> then\n        if <touching (おみず v)?> then\n            change [すけさん x v] by (0.5)\n            point in direction (90)\n        else\n            change [すけさん x v] by (0.6)\n            point in direction (90)\n        end\n    end\n    if <([x position v] of [steve v]) < (x position)> then\n        if <touching (おみず v)?> then\n            change [すけさん x v] by (-0.5)\n            point in direction (-90)\n        else\n            change [すけさん x v] by (-0.6)\n            point in direction (-90)\n        end\n    end\n    set [すけさん x v] to ((すけさん X) * (0.8))\n    change x by (すけさん X)\n    if <touching (地面 v)?> then\n        change y by ((() + (1)) * (5))\n        if <touching (地面 v)?> then\n            change x by ((すけさん X) * (-1))\n            change y by (-5)\n            if <(x position) < ([x position v] of [steve v])> then\n                if <(すけさん X) < [0]> then\n                    set [すけさん x v] to [6]\n                else\n                    set [すけさん x v] to [-6]\n                end\n                set [すけるy v] to [11]\n            else\n                set [すけさん x v] to [0]\n            end\n        end\n    end\n    change [すけるy v] by (-1)\n    change y by (すけるy)\n    if <touching (地面 v)?> then\n        change y by ((すけるy) * (-1))\n        set [すけるy v] to [0]\n        if <(y position) < ([y position v] of [steve v])> then\n            set [すけるy v] to [12]\n        end\n    end\nend\n\nwhen I receive [しんじゃった v]\ngo to x: (220) y: (0)\n\nwhen flag clicked\nswitch costume to (ウィザースケルトン v)\n\nwhen I receive [こーげき v]\nif  then\n    change [えんだあああああああ　いやあああああああああああああああああああ v] by ([costume name v] of [ken4 v])\n    if <(x position) < ([x position v] of [steve v])> then\n        set [すけさん x v] to [-10]\n        set [すけるy v] to [12]\n    else\n        set [すけさん x v] to [10]\n        set [すけるy v] to [12]\n    end\n    if <(えんだあああああああ　いやあああああああああああああああああああ) < [0]> then\n        start sound [Enderman death v]\n        switch costume to (エンダーマン2 v)\n        repeat (4)\n            change [ghost v] effect by (25)\n        end\n        delete this clone\n    else\n        start sound (pick random (2) to (3))\n        switch costume to (エンダーマン2 v)\n        wait (0.1) seconds\n        switch costume to (エンダーマン v)\n    end\nend\n\n@おけん4\n\nwhen flag clicked\nclear graphic effects\ngo to x: (0) y: (0)\nforever\n    if <<(すてじ) = [9]> or > then\n        set size to (70) %\n        show\n        if <(すてじ) = [9]> then\n            switch costume to (おだいやですわ〜 v)\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [tipoko v]\nset [ghost v] effect to (100)\nbroadcast (らんらんるー v)\n\nwhen flag clicked\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\n@ken4\n\nwhen flag clicked\nhide\nforever\n    if <([direction v] of [steve v]) = [90]> then\n        switch costume to (-7 v)\n        go to x: (([x position v] of [steve v]) + (30)) y: ([y position v] of [steve v])\n    else\n        switch costume to (-7.0 v)\n        go to x: (([x position v] of [steve v]) - (30)) y: ([y position v] of [steve v])\n    end\nend\n\nwhen I receive [らんらんるー v]\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        if <<key (space v) pressed?> or <mouse down?>> then\n            repeat (3)\n                turn right (15) degrees\n            end\n            broadcast (こーげき v)\n            repeat (3)\n                turn left (15) degrees\n            end\n        end\n    else\n        if <<key (space v) pressed?> or <mouse down?>> then\n            repeat (3)\n                turn left (15) degrees\n            end\n            broadcast (こーげき v)\n            repeat (3)\n                turn right (15) degrees\n            end\n        end\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [らんらんるー v]\nforever\nend\n\n@スプライト2\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@スプライト3\n\nwhen flag clicked\nrepeat until <<(♥) = [1]> and <(★) = [1]>>\n    hide\n    go to x: (0) y: (-150)\n    show\n    glide (1) secs to x: (0) y: (0)\n    wait (pick random (1) to (10)) seconds\n    glide (1) secs to x: (0) y: (-150)\n    hide\n    wait (pick random (1) to (10)) seconds\nend\nhide\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@wizaaaaaaaaa\n\nwhen flag clicked\nset [ういざあhp v] to [50]\nswitch costume to (コスチューム2 \(8\) v)\nforever\n    if <<(すてじ) = [12]> and <not <(ういざあHP) < [0]>>> then\n        wait (pick random (0.1) to (10)) seconds\n        show\n        repeat (15)\n            change y by (-7)\n        end\n        wait (pick random (0.1) to (10)) seconds\n        repeat (15)\n            change y by (7)\n        end\n    else\n        hide\n        set y to (50)\n    end\nend\n\nwhen flag clicked\nforever\n    if <([x position v] of [steve v]) < (x position)> then\n        change [ういざぁx v] by (-0.8)\n    end\n    if <(x position) < ([x position v] of [steve v])> then\n        change [ういざぁx v] by (0.8)\n    end\n    change x by (ういざぁX)\n    set [ういざぁx v] to ((ういざぁX) * (0.8))\nend\n\nwhen flag clicked\nset [ういざぁx v] to [0]\n\nchange x by (10)\n\nchange [ういざぁx v] by (1)\n\nforever\n\ngo to x: (0) y: (0)\n\nwhen I receive [こーげき v]\nif <touching (ken4 v)?> then\n    change [ういざあhp v] by (-5)\n    if <(ういざあHP) < [0]> then\n        start sound (pick random (1) to (10))\n        repeat (5)\n            change [ghost v] effect by (25)\n        end\n        hide\n    else\n        start sound (pick random (1) to (10))\n        switch costume to (コスチューム2 \(8\)2 v)\n        wait (0.05) seconds\n        switch costume to (コスチューム2 \(8\) v)\n    end\nend\n\nbroadcast (hi v)\n\nwhen flag clicked\nwait until <(すてじ) = [12]>\nforever\n    if <(すてじ) = [12]> then\n        wait (pick random (0.1) to (10)) seconds\n        broadcast (うひ v)\n    end\nend\n\n@爆発\n\nwhen flag clicked\nhide\n\nwhen I receive [が v]\ngo to x: (0) y: (0)\nshow\ngo to (スプライト1 v)\nswitch costume to (explosion_0 v)\nstart sound [get4 v]\nrepeat (7)\n    wait () seconds\n    switch costume to ((costume [number v]) - (1))\nend\nhide\n\n@スプライト1\n\nwhen flag clicked\nhide\ngo to x: (0) y: (100)\n\nwhen I receive [うひ v]\nset [ういざああああああ　ｙ v] to [0]\nshow\ngo to x: ([x position v] of [wizaaaaaaaaa v]) y: ([y position v] of [wizaaaaaaaaa v])\nrepeat until <touching (地面 v)?>\n    turn right (2) degrees\n    change [ういざああああああ　ｙ v] by (-1)\n    change y by (ういざああああああ　ｙ)\nend\nhide\nbroadcast (が v)\n\n