Harry Potter and the Deathly hallows, the last story. # Scrolling platformer # and Platformer 
@Stage\n\nwhen flag clicked\nstart sound [4 \(2\) v]\nswitch backdrop to (wall \(1\)4 \(1\)2 v)\nwait (1) seconds\nforever\n    repeat (5)\n        change [ghost v] effect by (10)\n    end\n    clear graphic effects\n    switch backdrop to (wall \(1\)4 \(1\) \(1\) v)\n    stop [this script v]\nend\n\nwhen I receive [start v]\nswitch backdrop to (wall \(1\)4 \(1\)3 v)\nstop all sounds\nplay sound [1 \(1\) v] until done\nplay sound [3 \(1\) v] until done\n\nwhen I receive [next level v]\nswitch backdrop to (wall \(1\)4 \(1\)5 v)\nwait (1) seconds\nwait (1) seconds\nswitch backdrop to (111 v)\nbroadcast (5 v)\nswitch backdrop to (d8s0ree-199e5342-c43a-4aed-8497-25e497d18aec v)\n\nwhen I receive [died v]\nswitch backdrop to (d8s0ree-199e5342-c43a-4aed-8497-25e497d18aec2 v)\nwait (1) seconds\nswitch backdrop to (e33c307db3b6d742afcf8ac7d724fbf8 v)\n\nwhen I receive [died v]\nstop all sounds\nwait (1) seconds\nstart sound [Neville the Hero_Alexandre Desplat_Harry Potter and the Deathly Hallows, Pt3 v]\n\nwhen I receive [lose! v]\nswitch backdrop to (wall \(1\)4 \(1\)6 v)\nstop [all v]\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nswitch backdrop to (black! v)\nwait (2) seconds\nswitch backdrop to (배경 1 v)\nstop all sounds\nplay sound [Courtyard Apocalypse_Alexandre Desplat_Harry Potter and the Deathly Hallows, Pt v] until done\nstop [all v]\n\nwhen I receive [5 v]\nstop all sounds\n\nwhen I receive [5 v]\nstop all sounds\n\n@Start\n\nshow\n\nwhen flag clicked\nhide\nwait (2) seconds\nswitch costume to (start! v)\nwait (1) seconds\ngo to x: (0) y: (0)\ngo to [front v] layer\nset [glideee v] to [0.2]\nset [ghost v] effect to (80)\nset size to (200) %\nshow\nrepeat (9)\n    change size by ((glideee) - ((glideee) * (2)))\n    change [ghost v] effect by ((glideee) - ((glideee) * (2)))\n    change [glideee v] by ((glideee) * (1.03))\nend\nrepeat (5)\n    go to x: (pick random (-10) to (10)) y: (pick random (-10) to (10))\n    change size by (-0.05)\nend\ngo to x: (0) y: (0)\nrepeat (30)\n    change size by (-0.05)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n        if <mouse down?> then\n            broadcast (start v)\n            hide\n            stop [this script v]\n        end\n    else\n        set size to (100) %\n    end\nend\n\n@Harry potter\n\nbroadcast (glow v)\n\ndefine reset\nset [yv v] to [0]\nset [xv v] to [0]\nif <(Chackpoint) = [0]> then\n    set [scroll x v] to [0]\n    set [scroll y v] to [0]\n    set [x pos v] to [0]\n    set [y pos v] to [0]\nend\nif <(Chackpoint) = [1]> then\n    set [scroll x v] to [3630]\n    set [scroll y v] to [175]\n    set [x pos v] to [3630]\n    set [y pos v] to [175]\nend\nif <(Chackpoint) = [2]> then\n    set [scroll x v] to [2850]\n    set [scroll y v] to [155]\n    set [x pos v] to [2850]\n    set [y pos v] to [155]\nend\nset [dead? v] to [no]\nset [win? v] to [no]\nset size to (35) %\nset [ghost v] effect to (0)\npoint in direction (90)\nshow\n\ndefine Position\ngo to x: ((X pos) - (SCROLL X)) y: ((Y pos) - (SCROLL Y))\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nshow\nset rotation style [left-right v]\nbroadcast (set up v)\nbroadcast (reset v)\nreset\nforever\n    physics\n    broadcast (Scroll v)\n    if <(dead?) = [yes]> then\n        broadcast (reset v)\n        broadcast (set up v)\n        reset\n    end\nend\n\ndefine physics\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> and <(mouse x) > (x position)>>> then\n    change [xv v] by (1.8)\n    point in direction (90)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> and <(mouse x) < (x position)>>> then\n    change [xv v] by (-1.8)\n    point in direction (-90)\nend\nset [xv v] to ((Xv) * (.8))\nChange x pos (round (Xv))\nChange y pos (Yv)\nif <(Yv) > [-10]> then\n    change [yv v] by (-1)\nend\nif <<<<touching (lavaladder v)?> or <touching (dangers v)?>> or <touching (spinny thing v)?>> and <<touching (fire v)?> or <<touching (dangers3 v)?> or <not <touching (thingy v)?>>>>> then\n    set [dead? v] to [yes]\nend\nif <touching (mushrooms v)?> then\n    set [yv v] to [22]\nend\nif <<<touching (jump pulses v)?> or <<touching (jump pulses2 v)?> or <touching (jump pulses3 v)?>>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n    set [yv v] to [15]\nend\n\ndefine Change x pos (amount)\nchange [x pos v] by (amount)\nPosition\nif <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>> then\n    if <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>> then\n        change [y pos v] by (1)\n        Position\n        if <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>> then\n            change [y pos v] by (1)\n            Position\n            if <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>> then\n                change [y pos v] by (1)\n                Position\n                if <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>> then\n                    change [y pos v] by (1)\n                    Position\n                    if <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>> then\n                        change [y pos v] by (1)\n                        Position\n                    end\n                end\n            end\n        end\n    end\n    change [y pos v] by (-5)\n    repeat until <not <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>>>\n        change [x pos v] by ((amount) * (-1))\n        Position\n        set [xv v] to [0]\n    end\nend\nset [scroll x v] to (X pos)\nif <[0] > (SCROLL X)> then\n    set [scroll x v] to [0]\nend\n\nwhen I receive [start v]\nforever\n    if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n        next costume\n        wait (0.05) seconds\n    end\nend\n\ndefine Change y pos (amount)\nchange [y pos v] by (amount)\nPosition\nif <touching (fire v)?> then\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <(mouse y) > ((y position) + (20))>> then\n        set [yv v] to [5]\n    end\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <(y position) > (mouse y)>> then\n        set [yv v] to [-5]\n    end\nend\nif <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>> then\n    repeat until <not <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>>>\n        if <(Yv) > [0]> then\n            change [y pos v] by (-1)\n        else\n            change [y pos v] by (1)\n        end\n        Position\n        set [yv v] to [0]\n    end\nend\nchange [y pos v] by (-1)\nPosition\nif <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (snake idle v)?> or <touching (moving plats2 v)?>>>> then\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        set [yv v] to [15]\n    end\nend\nchange [y pos v] by (1)\nPosition\nchange [scroll y v] by ((y position) / (10))\nif <[20] > (SCROLL Y)> then\n    set [scroll y v] to [20]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    if <touching (spinny thing3 v)?> then\n        broadcast (Next Level v)\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <<touching (fire v)?> or <<touching (fire v)?> or <touching (dangers3 v)?>>> then\n        broadcast (start v)\n        broadcast (aPPEAR v)\n    end\nend\n\nif  then\nend\n\n@groundFairy\n\nwhen I receive [reset v]\nshow\ngo to x: (0) y: (0)\n\nwhen I receive [set up v]\nswitch costume to (1 v)\nset [x v] to [0]\nset [y v] to [20]\nwait (0) seconds\nClone at [450] [20] [2]\nClone at [450] [20] [3]\nClone at [500] [20] [4]\nClone at [600] [20] [5]\nClone at [480] [20] [6]\nClone at [450] [20] [7]\nClone at [450] [20] [8]\nClone at [600] [20] [9]\nClone at [450] [20] [10]\n\nwhen I receive [scroll v]\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\nset size to (100) %\n\nwhen I start as a clone\nhide\nrepeat (10)\n    wait (.01) seconds\n    show\nend\n\ndefine Clone at (x) (y) (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\ngo to [back v] layer\n\nClone at [450] [20] [11]\n\nwhen I receive [black v]\nhide\n\ndelete this clone\n\nwhen I receive [the other start  v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@dangers\n\nwhen I receive [scroll v]\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\nset size to (100) %\n\nwhen I receive [reset v]\nshow\ndelete this clone\n\nwhen I receive [set up v]\nswitch costume to (1 v)\nset [x v] to [0]\nset [y v] to [20]\nClone at [450] [20] [2]\nClone at [3630] [20] [4]\nClone at [3630] [20] [6]\n\nwhen I start as a clone\nhide\nrepeat (10)\n    wait (.01) seconds\n    show\nend\n\ndefine Clone at (x) (y) (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [the other start  v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@스프라이트 1\n\n@스프라이트 4\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [front v] layer\n\nwhen I receive [5 v]\nhide\n\n@스프라이트 2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to x: (0) y: (0)\n\nwhen I receive [5 v]\nhide\n\n@스프라이트 5\n\ndefine Change y pos (amount)\nchange [y pos v] by (amount)\nPosition\nif <touching (fire v)?> then\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        set [yv v] to [5]\n    end\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        set [yv v] to [-5]\n    end\nend\nif <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (block  v)?> or <touching (moving plats2 v)?>>>> then\n    repeat until <not <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (block  v)?> or <touching (moving plats2 v)?>>>>>\n        if <(Yv) > [0]> then\n            change [y pos v] by (-1)\n        else\n            change [y pos v] by (1)\n        end\n        Position\n        set [yv v] to [0]\n    end\nend\nchange [y pos v] by (-1)\nPosition\nif <<touching (groundfairy v)?> or <<touching (moving plats v)?> or <<touching (block  v)?> or <touching (moving plats2 v)?>>>> then\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n        set [yv v] to [15]\n    end\nend\nchange [y pos v] by (1)\nPosition\nchange [scroll y v] by ((y position) / (10))\nif <[20] > (SCROLL Y)> then\n    set [scroll y v] to [20]\nend\n\n@스프라이트 13\n\n@스프라이트 3\n\n@lavaladder\n\nwhen I receive [scroll v]\ngo to x: ((x) - (SCROLL X)) y: (((([sin v] of ((timer) * (100)) ) * (10)) + (y)) - (SCROLL Y))\nset size to (100) %\n\nwhen I receive [set up v]\nswitch costume to (1 v)\nset [x v] to [0]\nset [y v] to [20]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\nClone at [450] [20] [1]\n\nwhen I start as a clone\nhide\nrepeat (10)\n    wait (.01) seconds\n    show\nend\n\ndefine Clone at (x) (y) (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen flag clicked\nhide\n\nwhen I receive [reset v]\nshow\ndelete this clone\n\nwhen I receive [start v]\nshow\ndelete this clone\n\nwhen I receive [the other start  v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@snake idle\n\nwhen I start as a clone\nhide\nrepeat (10)\n    wait (.02) seconds\n    show\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [scroll v]\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\nset size to (50) %\n\ndefine Clone at (x) (y) (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen I receive [set up v]\nswitch costume to (1 v)\nset [x v] to [0]\nset [y v] to [20]\nClone at [450] [20] [2]\nClone at [3630] [20] [4]\n\nwhen I start as a clone\nforever\n    if <touching (stupefy! v)?> then\n        repeat (5)\n            change [pixelate v] effect by (100)\n        end\n        clear graphic effects\n        change [ghost v] effect by (-100)\n        hide\n        delete this clone\n    end\nend\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [the other start  v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@moving plats\n\nwhen I receive [scroll v]\ngo to x: (((([sin v] of ((timer) * (50)) ) * (200)) + (x)) - (SCROLL X)) y: ((y) - (SCROLL Y))\nset size to (100) %\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [set up v]\nhide\nset [x v] to [1300]\nset [y v] to [80]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [the other start  v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@스프라이트 6\n\nwhen flag clicked\nhide\nwait (2) seconds\nswitch costume to (모양 1 v)\nwait (1) seconds\ngo to x: (0) y: (0)\ngo to [front v] layer\nset [glideee v] to [0.2]\nset [ghost v] effect to (80)\nset size to (200) %\nshow\nrepeat (9)\n    change size by ((glideee) - ((glideee) * (2)))\n    change [ghost v] effect by ((glideee) - ((glideee) * (2)))\n    change [glideee v] by ((glideee) * (1.03))\nend\nrepeat (5)\n    go to x: (pick random (-10) to (10)) y: (pick random (-10) to (10))\n    change size by (-0.01)\nend\ngo to x: (0) y: (0)\nrepeat (30)\n    change size by (-0.01)\nend\nset size to (100) %\n\nbroadcast (3 v)\n\nwhen I receive [start v]\nhide\n\n@Wand\n\nwhen I receive [home v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    go to (harry potter v)\n    point towards (mouse-pointer v)\nend\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [5 v]\nshow\nforever\n    go to (harry potter player v)\n    point towards (mouse-pointer v)\nend\n\nwhen flag clicked\nswitch costume to (모양 1 v)\n\nwhen [space v] key pressed\nswitch costume to (2 \(5\) v)\nwait (5) seconds\nswitch costume to (모양 1 v)\n\nwhen I receive [died v]\nhide\n\nwhen I receive [harry wake up!  v]\nshow\nforever\n    go to (harry harry potter potter v)\n    point towards (mouse-pointer v)\nend\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nhide\n\n@stupefy!\n\nwhen I start as a clone\nshow\nforever\n    move (15) steps\n    if <<touching (_edge_ v)?> or <<touching (snake idle v)?> or <<touching (스프라이트 7 v)?> or <<touching (death eater v)?> or <<touching (dangers3 v)?> or <<touching (스프라이트 10 v)?> or <<touching (gslime3 v)?> or <<touching (gslime v)?> or <<touching (gslime2 v)?> or <<touching (lava monster v)?> or <<touching (he who must not be nameknights - 복사본2 v)?> or <touching (golem2 v)?>>>>>>>>>>>> then\n        wait (0.1) seconds\n        delete this clone\n    end\nend\n\nwhen I receive [start v]\nforever\n    go to (wand v)\n    point towards (mouse-pointer v)\nend\n\nwhen I receive [start v]\nforever\n    if <key (m v) pressed?> then\n        create clone of (_myself_ v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [died v]\nforever\n    go to (wand v)\n    point towards (mouse-pointer v)\nend\n\nwhen flag clicked\nhide\n\ngo to (harry potter player v)\n\n@spinny thing\n\nwhen I receive [reset v]\npoint in direction (90)\nclear graphic effects\nset [x v] to [0]\nset [y v] to [20]\nhide\ngo to x: (0) y: (0)\ndelete this clone\n\nwhen I receive [set up v]\nswitch costume to (1 v)\nwait (0) seconds\nClone at [3180] [80] [1]\nshow\n\nwhen I receive [scroll v]\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\ngo to [back v] layer\ngo [backward v] (3) layers\nturn right (2) degrees\n\ndefine Clone at (x) (y) (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@spinny thing2\n\nwhen I receive [reset v]\npoint in direction (90)\nclear graphic effects\nset [x v] to [0]\nset [y v] to [20]\nhide\ngo to x: (0) y: (0)\ndelete this clone\n\nwhen I receive [set up v]\nswitch costume to (1 v)\nwait (0) seconds\nClone at [3180] [80] [1]\nshow\n\nwhen I receive [scroll v]\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\ngo to [back v] layer\ngo [backward v] (3) layers\nturn right (2) degrees\n\ndefine Clone at (x) (y) (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@spinny thing3\n\nwhen I receive [reset v]\npoint in direction (90)\nclear graphic effects\nset [x v] to [0]\nset [y v] to [20]\nhide\ngo to x: (0) y: (0)\ndelete this clone\n\nwhen I receive [set up v]\nswitch costume to (1 v)\nwait (0) seconds\nClone at [3180] [80] [1]\nshow\n\nwhen I receive [scroll v]\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\ngo to [back v] layer\ngo [backward v] (3) layers\n\ndefine Clone at (x) (y) (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen flag clicked\nhide\n\nturn right (2) degrees\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@dangers2\n\nwhen I receive [scroll v]\n\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\nset size to (100) %\n\nwhen I receive [reset v]\n\nshow\ndelete this clone\n\nwhen I receive [set up v]\n\nswitch costume to (1 v)\nset [x v] to [0]\nset [y v] to [20]\nClone at [450] [20] [2]\nClone at [3630] [20] [4]\nClone at [3630] [20] [6]\n\nwhen I start as a clone\n\ndefine Clone at (x) (y) (costume)\n\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen flag clicked\nhide\n\nhide\nrepeat (10)\n    wait (.01) seconds\n    show\nend\n\nwhen I receive [the other start  v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\n@dangers3\n\nwhen I receive [scroll v]\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\nset size to (100) %\n\nwhen I receive [reset v]\nforever\n    show\nend\n\nwhen I receive [set up v]\nswitch costume to (1 v)\nset [x v] to [0]\nset [y v] to [20]\nClone at [450] [20] [2]\nClone at [3630] [20] [4]\nClone at [3630] [20] [6]\n\nwhen I start as a clone\nhide\nrepeat (10)\n    wait (.01) seconds\n    show\nend\n\ndefine Clone at (x) (y) (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nset [y v] to (y)\nswitch costume to (costume)\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nforever\n    if <touching (stupefy! v)?> then\n        repeat (5)\n            change [pixelate v] effect by (25)\n        end\n        clear graphic effects\n        delete this clone\n    end\nend\n\nwhen I receive [5 v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [the other start  v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [next level v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [start v]\nforever\n    show\nend\n\nwhen I start as a clone\nforever\n    show\nend\n\nwhen I receive [appear v]\nshow\n\n@Harry potter player\n\nwhen flag clicked\nhide\n\nwhen I receive [5 v]\nshow\ngo to x: (-161) y: (-75)\n\nwhen [m v] key pressed\nsay [Stupefy!] for (0.7) seconds\n\nwhen I receive [5 v]\nhide\nset [p2life v] to [5]\nshow\nset [xj v] to [0]\nset [yj v] to [0]\nforever\n    set [xj v] to ((XJ) * (0.9))\n    change x by (XJ)\n    if <<touching (level v)?> or <<touching (level v)?> or <<touching (level3 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n        change y by (1)\n        if <<touching (level v)?> or <<touching (level v)?> or <<touching (<touching (<touching (스프라이트 14 v)?> v)?> v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n            change y by (1)\n            if <<touching (level v)?> or <<touching (level v)?> or <<touching (level3 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n                change y by (1)\n                if <<touching (level v)?> or <<touching (level v)?> or <<touching (스프라이트 3 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <<touching (level v)?> or <<touching (level3 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n                        change y by (1)\n                    end\n                end\n            end\n        end\n    end\n    if <<touching (level v)?> or <<touching (level v)?> or <<touching (level4 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n        change x by ((XJ) * (-3))\n        change y by (-9)\n        if  then\n            if <(XJ) > [0]> then\n                set [xj v] to [-7]\n            else\n                set [xj v] to [7]\n            end\n            set [yj v] to [16]\n        else\n            set [xj v] to [0]\n        end\n    end\n    change [yj v] by (-0.9)\n    change y by (YJ)\n    if <<touching (level v)?> or <<touching (level v)?> or <<touching (level4 v)?> or <<touching (level3 v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n        change y by ((YJ) * (-1))\n        set [yj v] to [0]\n    end\n    change y by (-1)\n    if <<touching (level v)?> or <<touching (level v)?> or <<touching (level4 v)?> or <<touching (level3 v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n        if  then\n            set [yj v] to [13]\n            switch costume to (jump v)\n            if <<touching (level v)?> or <<touching (level v)?> or <<touching (level4 v)?> or <<touching (level3 v)?> or <<touching (스프라이트 9 v)?> or <<touching (스프라이트 10 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n                switch costume to (g v)\n            end\n        end\n    end\n    if <touching (door v)?> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        change [level v] by (1)\n        wait (1) seconds\n        clear graphic effects\n        go to x: (-182) y: (-69)\n    end\n    if <touching (spiks!  v)?> then\n        go to x: (-182) y: (-69)\n    end\n    if <touching (vine v)?> then\n    end\n    if <touching (avada kedabra v)?> then\n        broadcast (DIED v)\n    end\n    if <touching (wind v)?> then\n        if <key (up arrow v) pressed?> then\n            change [yj v] by (0.8)\n        end\n    end\n    if <<touching (스프라이트 10 v)?> or <<touching (스프라이트 8 v)?> or <<touching (golem2 v)?> or <<touching (fireball v)?> or <touching (rock v)?>>>>> then\n        go to x: (-185) y: (-32)\n    end\nend\n\n\n\nwhen I receive [5 v]\nswitch costume to (idle 1 v)\nforever\n    if  then\n        point in direction (90)\n        switch costume to (elf_m_idle_1 v)\n        wait (0.1) seconds\n        switch costume to (elf_m_idle_2 v)\n        wait (.1) seconds\n        switch costume to (elf_m_idle_4 v)\n        wait (.1) seconds\n        switch costume to (elf_m_walk_1 v)\n        wait (.1) seconds\n        switch costume to (elf_m_walk_2 v)\n        wait (.1) seconds\n        switch costume to (elf_m_walk_4 v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (elf_m_idle_3 v)\n        wait (0.1) seconds\n        switch costume to (elf_m_idle_5 v)\n        wait (.1) seconds\n        switch costume to (elf_m_idle_6 v)\n        wait (.1) seconds\n        switch costume to (elf_m_walk_3 v)\n        wait (.1) seconds\n        switch costume to (elf_m_walk_5 v)\n        wait (.1) seconds\n        switch costume to (elf_m_walk_6 v)\n    end\nend\n\nwhen I receive [5 v]\nforever\n    if  then\n        set [sword v] to [0]\n        change [xj v] by (-1)\n    end\n    if  then\n        set [sword v] to [1]\n        change [xj v] by (1)\n    end\n    if <key (down arrow v) pressed?> then\n        set [xj v] to [0]\n        set [yj v] to [0]\n    end\nend\n\nwhen flag clicked\nswitch costume to (elf_m_idle_1 v)\n\nshow\n\nwhen I receive [gone v]\nhide\n\nwhen I receive [5 v]\nforever\n    if <(username) = [HermioneGranger_fan9]> then\n        say [oh Hello Stella! john tell me about you! nice to meet you, btw be careful, XD only you can see this! ] for (10) seconds\n        stop [this script v]\n    end\nend\n\nwhen I receive [5 v]\nforever\n    if <(username) = [HSKnim]> then\n        say [oh Hello Hesara! oh don't worry just you can see this,] for (4) seconds\n        stop [this script v]\n    end\nend\n\nwhen [space v] key pressed\nsay [Protego! ] for (2) seconds\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [7]> then\n        hide\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-153) y: (-91)\n\nwhen I receive [died v]\n\ngo to [front v] layer\n\nwhen [m v] key pressed\nsay [Stupefy!] for (1) seconds\n\nwhen [n v] key pressed\nsay [Wingardium Leviosa!] for (1) seconds\n\n@스프라이트 7\n\nwhen flag clicked\nhide\nforever\n    if <(LEVEL) = [2]> then\n        show\n        go to x: (24) y: (-103)\n    else\n        hide\n    end\nend\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [2]> then\n        next costume\n        wait (0.1) seconds\n        if <touching (stupefy! v)?> then\n            repeat (5)\n                change [mosaic v] effect by (25)\n            end\n            wait (0.1) seconds\n            clear graphic effects\n            hide\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\n@Golem2\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [3]> then\n        go to x: (122) y: (-14)\n        broadcast (Attack v) and wait\n    else\n        hide\n    end\nend\n\nwait (0.1) seconds\n\nwhen I receive [attack v]\nwait (2) seconds\nrepeat until <(GOLEM LIFE) = [0]>\n    wait (3) seconds\n    switch costume to (golem throw1 v)\n    wait (0.1) seconds\n    switch costume to (golem throw2 v)\n    wait (0.1) seconds\n    switch costume to (golem throw3 v)\n    wait (0.1) seconds\n    switch costume to (golem throw4 v)\n    wait (0.05) seconds\n    switch costume to (golem throw5 v)\n    broadcast (ROCK v)\n    wait (0.05) seconds\n    switch costume to (golem throw7 v)\n    wait (0.05) seconds\n    switch costume to (golem throw6 v)\n    wait (0.3) seconds\nend\n\nwhen I receive [attack v]\nset [golem life v] to [1]\nswitch costume to (golem_idle_1 v)\nshow\nwait (0.5) seconds\nrepeat (5)\n    switch costume to (golem_idle_1 v)\n    wait (0.1) seconds\n    switch costume to (golem_idle_2 v)\n    wait (0.1) seconds\n    switch costume to (golem_idle_3 v)\n    wait (0.1) seconds\n    switch costume to (golem_idle_4 v)\n    wait (0.1) seconds\n    switch costume to (golem_idle_5 v)\n    wait (0.1) seconds\n    switch costume to (golem_idle_6 v)\n    wait (0.1) seconds\nend\n\nstop [other scripts in sprite v]\n\nbroadcast (Attack v)\n\nwhen I receive [attack v]\nforever\n    if <<touching (stupefy! v)?> or <touching (weapon v)?>> then\n        change [brightness v] effect by (10)\n        broadcast (Golem Hit v)\n        clear graphic effects\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [golem hide v]\nforever\n    repeat (10)\n        change [pixelate v] effect by (25)\n    end\n    clear graphic effects\n    hide\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\n@LEVEL\n\nwhen flag clicked\nhide\nset [level v] to [0]\n\nwhen I receive [3 v]\ngo to x: (-2) y: (-25)\n\nwhen I receive [4 v]\ngo to x: (-2) y: (-25)\n\nwhen I receive [5 v]\ngo to x: (-2) y: (-25)\n\nwhen flag clicked\n\nwhen I receive [gone v]\nhide\n\nwhen I receive [5 v]\nshow\nset [level v] to [0]\nforever\n    if <[0] = (LEVEL)> then\n        switch costume to (1 v)\n    end\n    if <[1] = (LEVEL)> then\n        switch costume to (2 v)\n    end\n    if <[2] = (LEVEL)> then\n        switch costume to (3 v)\n    end\n    if <[3] = (LEVEL)> then\n        switch costume to (4 v)\n    end\n    if <[4] = (LEVEL)> then\n        switch costume to (5 v)\n    end\n    if <[5] = (LEVEL)> then\n        switch costume to (6 v)\n    end\n    if <[6] = (LEVEL)> then\n        switch costume to (7 v)\n    end\n    if <[7] = (LEVEL)> then\n        switch costume to (8 v)\n    end\nend\n\nset [나의 변수 v] to [0]\n\nwhen I receive [5 v]\nif <[3] = (LEVEL)> then\n    broadcast (NEXT v)\nend\n\nwhen I receive [died v]\nhide\n\n@스프라이트 8\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [3]> then\n        show\n        go to x: (-62) y: (22)\n        go to [back v] layer\n    else\n        hide\n    end\nend\n\ngo to [back v] layer\n\n@door\n\nwhen flag clicked\nhide\nset [level v] to [0]\n\nwhen I receive [5 v]\nshow\nforever\n    if <(LEVEL) = [0]> then\n        go to x: (196) y: (-77)\n    end\n    if <(LEVEL) = [1]> then\n        go to x: (193) y: (-81)\n    end\n    if <(LEVEL) = [2]> then\n        go to x: (188) y: (-73)\n    end\n    if <(LEVEL) = [3]> then\n        show\n        go to x: (197) y: (-75)\n    end\n    if <(LEVEL) = [4]> then\n        go to x: (185) y: (-105)\n    end\n    if <(LEVEL) = [5]> then\n        go to x: (196) y: (-83)\n    end\n    if <(LEVEL) = [6]> then\n        go to x: (196) y: (-83)\n    end\n    if <(LEVEL) = [7]> then\n        hide\n    end\nend\n\n@Spiks! \n\nwhen flag clicked\nhide\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [1]> then\n        show\n        go to x: (36) y: (28)\n        switch costume to (모양 1 v)\n    end\n    if <(LEVEL) = [2]> then\n        hide\n    end\n    if <(LEVEL) = [3]> then\n        hide\n    end\n    if <(LEVEL) = [4]> then\n        show\n        go to x: (-14) y: (25)\n        switch costume to (모양 2 v)\n    end\n    if <(LEVEL) = [5]> then\n        hide\n    end\nend\n\ngo to x: (36) y: (28)\n\n@ROCK\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to (golem2 v)\nend\n\nwhen I receive [rock v]\nforever\n    create clone of (_myself_ v)\n    wait (3) seconds\nend\n\nwhen I start as a clone\nswitch costume to (golem throw2 v)\nshow\npoint towards (harry potter player v)\nforever\n    if <not <(GOLEM LIFE) = [0]>> then\n        move (10) steps\n        if <<<touching (weapon v)?> or <<touching (_edge_ v)?> or <touching (harry potter player v)?>>> or <<touching color (#75cada)?> or <touching color (#97eaff)?>>> then\n            start sound [Crunch v]\n            switch costume to (golem throw2 v)\n            wait (0.05) seconds\n            switch costume to (cra v)\n            wait (0.05) seconds\n            switch costume to (cra2 v)\n            wait (0.05) seconds\n            switch costume to (cra3 v)\n            wait (0.05) seconds\n            switch costume to (cra4 v)\n            wait (0.05) seconds\n            switch costume to (cra5 v)\n            wait (0.05) seconds\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [golem hide v]\nforever\n    hide\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\n@스프라이트 10\n\nwhen flag clicked\nhide\nforever\n    if <(LEVEL) = [4]> then\n        show\n        go to x: (36) y: (28)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(LEVEL) = [4]> then\n        switch costume to (모양 1 v)\n        if <touching (stupefy! v)?> then\n            switch costume to (모양 1 v)\n            wait (0.2) seconds\n            switch costume to (모양 2 v)\n            wait (0.2) seconds\n            switch costume to (모양 3 v)\n            wait (0.2) seconds\n            switch costume to (모양 4 v)\n            wait (0.2) seconds\n            switch costume to (모양 5 v)\n            wait (0.2) seconds\n            switch costume to (모양 6 v)\n            wait (0.2) seconds\n            switch costume to (모양 7 v)\n            wait (0.2) seconds\n            switch costume to (모양 8 v)\n            wait (0.2) seconds\n            switch costume to (모양 9 v)\n            hide\n            stop [this script v]\n        end\n    end\nend\n\n@FIREBALL\n\nwhen flag clicked\nhide\nforever\n    if <(LEVEL) = [5]> then\n        go to (lava monster v)\n        wait (2) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nforever\n    if <<touching (level v)?> or <<touching (weapon v)?> or <<touching (wand v)?> or <touching (_edge_ v)?>>>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    repeat until <<touching (weapon v)?> or <touching (_edge_ v)?>>\n        change x by (-10)\n    end\nend\n\nwhen I receive [dead v]\nforever\n    hide\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\n@Golem Life\n\nwhen flag clicked\nhide\n\nwhen I receive [attack v]\nswitch costume to (17 v)\nforever\n    hide\n    if <(LEVEL) = [3]> then\n        go to x: (117) y: (8)\n        show\n    else\n        hide\n    end\n    if <(LEVEL) = [4]> then\n        hide\n    end\nend\n\nwhen I receive [golem hit v]\nwait (0.05) seconds\nnext costume\nforever\n    if <(costume [number v]) = [18]> then\n        hide\n        broadcast (Golem Hide v)\n        stop [this script v]\n    else\n        show\n    end\nend\n\nwhen I receive [golem hide v]\nforever\n    switch costume to (18 v)\n    hide\nend\n\n@Lava Monster\n\nwhen flag clicked\nswitch costume to (모양 1 v)\nhide\nforever\n    if <(LEVEL) = [5]> then\n        show\n        go to x: (67) y: (-91)\n    end\n    if <(LEVEL) = [5]> then\n        switch costume to (모양 1 v)\n        wait (0.1) seconds\n        switch costume to (모양 2 v)\n        wait (0.1) seconds\n        switch costume to (모양 3 v)\n        wait (0.1) seconds\n        switch costume to (모양 4 v)\n        wait (0.1) seconds\n    end\n    if <(LEVEL) = [6]> then\n        hide\n    end\nend\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [5]> then\n        if <touching (stupefy! v)?> then\n            repeat (10)\n                change [mosaic v] effect by (25)\n            end\n            broadcast (dead v)\n            clear graphic effects\n            hide\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\n@스프라이트 9\n\nwhen flag clicked\nhide\n\nwhen I receive [golem hide v]\nwait (1) seconds\nshow\ngo to x: (22) y: (37)\nstop [this script v]\n\nwhen I receive [5 v]\nforever\n    if <[3] < (LEVEL)> then\n        hide\n    end\nend\n\n@스프라이트 11\n\nwhen flag clicked\nhide\n\nwhen I receive [died v]\nswitch costume to (모양 1 v)\nwait (1) seconds\nshow\ngo to x: (21) y: (-6)\n\nwhen I receive [harry wake up!  v]\nswitch costume to (모양 2 v)\n\nwait (1) seconds\nshow\ngo to x: (21) y: (-6)\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nhide\nhide variable [voldemort live v]\n\n@스프라이트 12\n\nwhen flag clicked\nhide\n\nwhen I receive [died v]\nwait (1) seconds\nshow\ngo to x: (36) y: (28)\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nhide\n\n@Harry harry Potter Potter\n\nwhen flag clicked\nhide\n\nwhen I receive [harry wake up!  v]\ngo to x: (-131) y: (-47)\nswitch backdrop to (blue sky 2 2 v)\nhide\nset [p2life v] to [5]\nshow\nset [xr v] to [0]\nset [yr v] to [0]\nforever\n    set [xr v] to ((XR) * (0.9))\n    change x by (XR)\n    if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (level3 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n        change y by (1)\n        if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (<touching (<touching (스프라이트 14 v)?> v)?> v)?> or <<touching (level4 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n            change y by (1)\n            if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (level3 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n                change y by (1)\n                if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (스프라이트 3 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n                    change y by (1)\n                    if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (level3 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n                        change y by (1)\n                    end\n                end\n            end\n        end\n    end\n    if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (level4 v)?> or <<touching (level4 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n        change x by ((XR) * (-2))\n        change y by (-5)\n        if  then\n            if <(XR) > [0]> then\n                set [xr v] to [-5]\n            else\n                set [xr v] to [5]\n            end\n            set [yr v] to [12]\n        else\n            set [xr v] to [0]\n        end\n    end\n    change [yr v] by (-0.9)\n    change y by (YR)\n    if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (level4 v)?> or <<touching (level3 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n        change y by ((YR) * (-1))\n        set [yr v] to [0]\n    end\n    change y by (-1)\n    if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (level4 v)?> or <<touching (level3 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n        if  then\n            set [yr v] to [15]\n            switch costume to (jump v)\n            if <<touching (스프라이트 11 v)?> or <<touching (level v)?> or <<touching (level4 v)?> or <<touching (level3 v)?> or <<touching (스프라이트 20 v)?> or <<touching (스프라이트 22 v)?> or <touching (스프라이트 14 v)?>>>>>>> then\n                switch costume to (g v)\n            end\n        end\n    end\n    if <touching (vine v)?> then\n        go to x: (-198) y: (-90)\n    end\n    if <touching (costume1 \(3\)2 v)?> then\n        wait (0.1) seconds\n        go to x: (-195) y: (-83)\n    end\n    if <touching (costume1 \(3\)2 v)?> then\n        change [level v] by (1)\n    end\n    if <touching (gate0 \(1\) v)?> then\n        change [level v] by (1)\n        wait (0.1) seconds\n        go to x: (-195) y: (-83)\n    end\n    if <<touching (door v)?> and <(Door) = [Open]>> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        change [level v] by (1)\n        wait (1) seconds\n        clear graphic effects\n        go to x: (-182) y: (-69)\n    end\n    if <touching (three head dog v)?> then\n        go to x: (-182) y: (-69)\n    end\n    if <touching (vine v)?> then\n        go to x: (-182) y: (-69)\n    end\n    if <touching (avada kedabra v)?> then\n        broadcast (DIED v)\n    end\nend\n\nwhen I receive [harry wake up!  v]\nforever\n    if  then\n        set [sword v] to [0]\n        change [xr v] by (-1)\n    end\n    if  then\n        set [sword v] to [1]\n        change [xr v] by (1)\n    end\n    if <key (down arrow v) pressed?> then\n        set [xr v] to [0]\n        set [yr v] to [0]\n    end\nend\n\nwhen flag clicked\nswitch costume to (elf_m_walk_6 v)\nforever\n    if  then\n        point in direction (90)\n        switch costume to (elf_m_walk_5 v)\n        wait (0.1) seconds\n        switch costume to (elf_m_idle_5 v)\n        wait (.1) seconds\n        switch costume to (elf_m_walk_3 \(2\) v)\n        wait (.1) seconds\n        switch costume to (elf_m_idle_6 v)\n        wait (.1) seconds\n        switch costume to (elf_m_idle_3 v)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        switch costume to (1 v)\n        wait (0.1) seconds\n        switch costume to (2 v)\n        wait (.1) seconds\n        switch costume to (3 v)\n        wait (.1) seconds\n        switch costume to (4 v)\n        wait (.1) seconds\n        switch costume to (5 v)\n        wait (.1) seconds\n        switch costume to (6 v)\n    end\nend\n\nwhen I receive [gone v]\nhide\n\nwhen I receive [harry wake up!  v]\nforever\n    if <<touching (gslime2 v)?> or <<touching (gslime v)?> or <<touching (gslime3 v)?> or <touching (fireball2 v)?>>>> then\n        broadcast (health down! v)\n        go to x: (-167) y: (78)\n    end\nend\n\nwhen [n v] key pressed\nsay [Wingardium Leviosa!] for (1) seconds\n\nwhen [m v] key pressed\nsay [Stupefy!] for (1) seconds\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nhide\n\n@Harry potter player2\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [7]> then\n        show\n        go to x: (-175) y: (-89)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [died v]\nhide\n\n@Wind\n\nforever\n\nwhen flag clicked\nhide\n\nwhen I receive [5 v]\nforever\n    hide\n    if <(LEVEL) = [6]> then\n        show\n    end\nend\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [5]> then\n        repeat (30)\n            change [pixelate v] effect by (5)\n        end\n        repeat (30)\n            change [pixelate v] effect by (-5)\n        end\n    end\nend\n\n@GSlime2\n\nif <(x position) > [234]> then\n    go to x: (-230) y: (y position)\nend\nif <(x position) < [-234]> then\n    go to x: (230) y: (y position)\nend\n\nif <(x position) > [234]> then\n    go to x: (-230) y: (y position)\nend\nif <(x position) < [-234]> then\n    go to x: (230) y: (y position)\nend\n\nif <(x position) > [234]> then\n    go to x: (-230) y: (y position)\nend\nif <(x position) < [-234]> then\n    go to x: (230) y: (y position)\nend\n\nif <(x position) > [234]> then\n    go to x: (-230) y: (y position)\nend\nif <(x position) < [-234]> then\n    go to x: (230) y: (y position)\nend\n\nwhen I start as a clone\nshow\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nshow\nforever\n    change x by (1.5)\n    if <(x position) > [234]> then\n        go to x: (-230) y: (y position)\n    end\nend\n\nwhen flag clicked\nhide\nset [slime 2 v] to [10]\ngo to x: (-207) y: (-52)\n\ngo to x: (-211) y: (-62)\n\nwhen I receive [harry wake up!  v]\nwait (1) seconds\nset [slime 2 v] to [10]\nwait (5) seconds\nrepeat (15)\n    wait (3) seconds\n    create clone of (_myself_ v)\n    change [slime 2 v] by (-1)\nend\n\nwhen I receive [harry wake up!  v]\nwait (1) seconds\nforever\n    if <(Slime 2) = [0]> then\n        broadcast (Next Round v)\n        broadcast (AVADA v)\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <<touching (stupefy! v)?> or <<touching (fire v)?> or <touching (fire2 v)?>>> then\n        repeat (10)\n            change [pixelate v] effect by (25)\n        end\n        clear graphic effects\n        delete this clone\n    end\n    if <touching (wingardium leviosa! v)?> then\n        repeat (10)\n            change y by (20)\n            turn right (15) degrees\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <touching (crucio! v)?> then\n        say [AHH!]\n        repeat (10)\n            turn left (15) degrees\n        end\n        delete this clone\n    end\nend\n\n@FIREBALL2\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nforever\n    if <<touching (level v)?> or <<touching (weapon v)?> or <<<touching color (#75cada)?> or <touching color (#97eaff)?>> or <touching (_edge_ v)?>>>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    repeat until <<touching (weapon v)?> or <touching (_edge_ v)?>>\n        change x by (-10)\n    end\nend\n\nwhen I receive [abada lol! v]\ngo to (he who must not be nameknights - 복사본2 v)\nwait (1) seconds\nrepeat (5)\n    wait (3) seconds\n    create clone of (_myself_ v)\nend\nbroadcast (ABDW! v)\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nforever\n    hide\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\nwhen I receive [next round v]\nforever\n    if <(voldemort live) = [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@GSlime\n\nwhen I receive [harry wake up!  v]\nwait (1) seconds\nset [slime v] to [10]\nwait (5) seconds\nrepeat (15)\n    wait (3) seconds\n    create clone of (_myself_ v)\n    change [slime v] by (-1)\nend\n\nwhen I start as a clone\nshow\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nshow\nforever\n    if <<touching (stupefy! v)?> or <<touching (fire v)?> or <touching (fire2 v)?>>> then\n        repeat (10)\n            change [pixelate v] effect by (25)\n        end\n        clear graphic effects\n        delete this clone\n    end\n    if <touching (wingardium leviosa! v)?> then\n        repeat (10)\n            change y by (20)\n            turn right (15) degrees\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\npoint in direction (90)\n\nwhen I start as a clone\nshow\nforever\n    change x by (-1.5)\n    if <(x position) < [-234]> then\n        go to x: (225) y: (y position)\n    end\nend\n\nwhen I receive [harry wake up!  v]\nwait (1) seconds\nset [slime v] to [10]\ngo to x: (219) y: (-49)\nhide\n\nwhen I receive [harry wake up!  v]\nwait (1) seconds\nforever\n    if <(Slime) = [0]> then\n        broadcast (Next Round v)\n        broadcast (AVADA v)\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    if <touching (crucio! v)?> then\n        say [AHH!]\n        repeat (10)\n            turn left (15) degrees\n        end\n        delete this clone\n    end\nend\n\nwait (0.5) seconds\n\n@GSlime3\n\nif <(x position) > [234]> then\n    go to x: (-230) y: (y position)\nend\nif <(x position) < [-234]> then\n    go to x: (230) y: (y position)\nend\n\nif <(x position) > [234]> then\n    go to x: (-230) y: (y position)\nend\nif <(x position) < [-234]> then\n    go to x: (230) y: (y position)\nend\n\nif <(x position) > [234]> then\n    go to x: (-230) y: (y position)\nend\nif <(x position) < [-234]> then\n    go to x: (230) y: (y position)\nend\n\nif <(x position) > [234]> then\n    go to x: (-230) y: (y position)\nend\nif <(x position) < [-234]> then\n    go to x: (230) y: (y position)\nend\n\nwhen I start as a clone\nshow\nforever\n    next costume\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nshow\nforever\n    change x by (1.5)\n    if <(x position) > [234]> then\n        go to x: (-230) y: (y position)\n    end\nend\n\nwhen flag clicked\nhide\nset [goblin ! v] to [10]\ngo to x: (-211) y: (-62)\n\nwhen I receive [abdw! v]\nset [goblin ! v] to [10]\nwait (3) seconds\nrepeat (15)\n    wait (2) seconds\n    create clone of (_myself_ v)\n    change [goblin ! v] by (-1)\nend\n\nwhen I receive [abdw! v]\nforever\n    if <(Goblin !) = [0]> then\n        broadcast (Next Round v)\n        broadcast (AVADA v)\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <<touching (stupefy! v)?> or <<touching (fire v)?> or <<touching color (#75cada)?> or <touching color (#97eaff)?>>>> then\n        repeat (10)\n            change [mosaic v] effect by (25)\n        end\n        clear graphic effects\n        delete this clone\n    end\n    if <touching (wingardium leviosa! v)?> then\n        repeat (10)\n            change y by (20)\n            turn right (15) degrees\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <touching (crucio! v)?> then\n        say [AHH!]\n        repeat (10)\n            turn left (15) degrees\n        end\n        delete this clone\n    end\nend\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nforever\n    hide\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nforever\n    delete this clone\nend\n\n@he who must not be nameknights - 복사본\n\nwhen flag clicked\nswitch costume to (knights - 복사본 v)\nhide\n\nwhen I receive [gone v]\nhide\nstop [all v]\n\nwhen flag clicked\nhide\n\nwhen I receive [died v]\nforever\n    hide\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [7]> then\n        say [Harry Potter] for (2) seconds\n        wait (1) seconds\n        say [The boy who live...] for (2) seconds\n        wait (1) seconds\n        say [Come to died] for (2) seconds\n        wait (1) seconds\n        say [AVADA KEDABRA!] for (2) seconds\n        broadcast (DIed v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [5 v]\nforever\n    if <(LEVEL) = [7]> then\n        show\n        go to x: (197) y: (-75)\n    end\nend\n\n@스프라이트 14\n\nwhen flag clicked\nhide\n\nwhen I receive [died v]\nwait (1) seconds\nshow\ngo to x: (36) y: (28)\nwait (1) seconds\nsay [I have something to tell you] for (2) seconds\nwait (1) seconds\nsay [doesn't matter Harry's gone] for (2) seconds\nwait (0.5) seconds\nsay [People died every day!] for (2) seconds\nwait (1) seconds\nsay [Friend, Family...] for (2) seconds\nwait (1) seconds\nsay [we lost Harry tonight] for (2) seconds\nwait (1) seconds\nsay [but he still with us, in here!] for (2) seconds\nwait (1) seconds\nsay [Fred, remus, tonks.. all of them] for (2) seconds\nwait (1) seconds\nsay [they didn't died in vain] for (2) seconds\nwait (1) seconds\nsay [but you will! because you are wrong! ] for (3) seconds\nwait (1) seconds\nsay [Harry heart did for us! for all of us! it's not over!] for (4) seconds\nwait (1) seconds\nbroadcast (Harry WAKE UP!  v)\nhide\n\ngo to [front v] layer\n\n@he who must not be nameknights - 복사본2\n\nwhen I receive [gone v]\nhide\nstop [all v]\n\nwhen flag clicked\nhide\n\nwhen I receive [died v]\nset size to (100) %\nwait (1) seconds\nshow\ngo to x: (196) y: (-31)\n\nwhen I receive [harry wake up!  v]\nset [voldemort live v] to [10]\nhide\n\nwhen I receive [next round v]\nshow variable [voldemort live v]\nshow\ngo to x: (196) y: (-31)\nwait (1) seconds\nbroadcast (ABADA LOL! v)\n\nwhen flag clicked\nhide variable [voldemort live v]\nset [voldemort live v] to [10]\n\nwhen I receive [next round v]\nforever\n    if <touching (stupefy! v)?> then\n        change [voldemort live v] by (-1)\n        wait (0.1) seconds\n    end\nend\n\nwhen I receive [next round v]\nforever\n    if <(voldemort live) = [0]> then\n        repeat (6)\n            change size by (10)\n        end\n        repeat (10)\n            change [brightness v] effect by (25)\n        end\n        say [Ahhhhhhhhhhhhhhhhhh!!!!!!!!] for (2) seconds\n        wait (1) seconds\n        clear graphic effects\n        hide\n        broadcast (WINNNNNNNNNNNNNN! v)\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [abdw! v]\nhide\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nforever\n    hide\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nhide\n\n@Harry Health\n\nwhen flag clicked\nhide\n\nwhen I receive [harry wake up!  v]\ngo to x: (-185) y: (157)\nwait (3) seconds\nshow\ngo to [front v] layer\nswitch costume to (모양 1 v)\n\nwhen flag clicked\nset [harry health v] to [4]\n\nwhen I receive [health down! v]\nwait (0.1) seconds\nchange [harry health v] by (-1)\n\nwhen I receive [black v]\n\nwhen I receive [health down! v]\nforever\n    if <(Harry health) = [0]> then\n        broadcast (lose! v)\n        wait (0.1) seconds\n        hide\n        stop [all v]\n    end\nend\n\nwhen I receive [finally! v]\nhide\n\nnext costume\n\nwhen I receive [harry wake up!  v]\nforever\n    if <(Harry health) = [4]> then\n        switch costume to (모양 1 v)\n    end\n    if <(Harry health) = [3]> then\n        switch costume to (모양 2 v)\n    end\n    if <(Harry health) = [2]> then\n        switch costume to (모양 3 v)\n    end\n    if <(Harry health) = [1]> then\n        switch costume to (모양 4 v)\n    end\n    if <(Harry health) = [0]> then\n        switch costume to (모양 5 v)\n    end\nend\n\nwhen I receive [next round v]\nset [harry health v] to [4]\n\nwhen I receive [winnnnnnnnnnnnnn! v]\nhide\nstop [this script v]\n\n@Wingardium Leviosa!\n\nwhen I start as a clone\nshow\nforever\n    move (15) steps\n    if <<touching (_edge_ v)?> or <<touching (snake idle v)?> or <<touching (스프라이트 7 v)?> or <<touching (death eater v)?> or <<touching (dangers3 v)?> or <<touching (스프라이트 10 v)?> or <<touching (gslime3 v)?> or <<touching (gslime v)?> or <<touching (gslime2 v)?> or <<touching (lava monster v)?> or <<touching (he who must not be nameknights - 복사본2 v)?> or <touching (golem2 v)?>>>>>>>>>>>> then\n        wait (0.1) seconds\n        delete this clone\n    end\nend\n\nwhen I receive [harry wake up!  v]\nforever\n    go to (wand v)\n    point towards (mouse-pointer v)\nend\n\nwhen I receive [harry wake up!  v]\nforever\n    if <key (n v) pressed?> then\n        create clone of (_myself_ v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nhide\n\ngo to (harry potter player v)\n\n
The Last Story is finally came!!!!!!!\nArrow key to move M to Stupefy! N to Wingardium Leviosa! Did my spell works? XD\nLevel 1 is a scrolling platform. But the second level is just a platformer. The reason for this is that.... it is hard to make both into a scrolling platform.\nPlease understand this.\nif you stuck on the ground press R \nThere are some bugs on the Scrolling platformer so Be careful and don't fall on the Lava and don't touch the thorn\nPlease press heart and Favorite\n리믹스는 물어보지 말고 해도 됩니다. 아무것도 바꾸지 않고 올려도 상관 없습니다  제발 리믹스 해주세요(?) 