Harry Potter Platformer
@Stage\n\nwhen backdrop switches to [achtergrond2 v]\nstart sound [update_dobby.mp3 v]\n\nwhen flag clicked\nswitch backdrop to (home page v)\n\nwhen I receive [harry v]\nswitch backdrop to (level 1 v)\n\nwhen I receive [hermione v]\nswitch backdrop to (level 1 v)\n\nwhen I receive [ron v]\nswitch backdrop to (level 1 v)\n\n@Hermione GrangerPlatform Man2Platform Man\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching color (#00c0ff)?> then\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-252) y: (-83)\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-256) y: (-83)\n\nwhen backdrop switches to [backdrop15 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [level 12 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop17 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (-261) y: (-83)\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nstart sound [Harry Potter and the Sorcerer's Stone Soundtrack -19. Hedwig's Theme-2.mp3 v]\n\nwhen I receive [gryffindor v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [huffelpuf v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [ravenclauw v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [slytherin v]\ngo to x: (-256) y: (-83)\n\nwhen flag clicked\n\nwhen backdrop switches to [character v]\ngo to x: (-231) y: (188)\nshow\nset size to (200) %\n\nwhen I receive [harry v]\nhide\n\nwhen I receive [ron v]\nhide\n\nwhen this sprite clicked\nbroadcast (Hermione v)\nswitch backdrop to (level 1 v)\n\nwhen I receive [hermione v]\nswitch backdrop to (level 1 v)\nset size to (100) %\nshow\ngo to x: (-255) y: (-80)\nset [x speed v] to [0]\nset [y speed v] to [0]\nforever\n    change [y speed v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x speed v] by (-0.7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x speed v] by (0.7)\n    end\n    set [x speed v] to ((x speed) * (0.9))\n    change x by (x speed)\n    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n        change y by (1)\n        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n            change y by (1)\n            if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                change y by (1)\n                if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                            change x by ((x speed) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                if <not <touching color (#dddede)?>> then\n                                    if <(x speed) > [0]> then\n                                        set [x speed v] to [-8]\n                                    else\n                                        set [x speed v] to [8]\n                                    end\n                                    set [y speed v] to [10]\n                                end\n                            else\n                                set [x speed v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y speed)\n    if <touching color (#000000)?> then\n        change y by ((y speed) * (-1))\n        set [y speed v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n            if <not <touching color (#dddede)?>> then\n                set [y speed v] to [10]\n            end\n        end\n    end\n    if <touching color (#48ff00)?> then\n        set [y speed v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-258) y: (-82)\n        set [x speed v] to [0]\n        set [y speed v] to [0]\n    end\n    change y by (1)\nend\n\nwhen I receive [ginny v]\nhide\n\nwhen I receive [neville v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 1 v]\nshow\ngo to x: (0) y: (-2)\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop5 v]\nshow\ngo to x: (294) y: (-27)\nrepeat until <(backdrop [name v]) = [backdrop6]>\n    repeat (40)\n        change x by (-10)\n    end\n    repeat (40)\n        change x by (10)\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\n@Sprite9\n\nwhen flag clicked\nswitch backdrop to (home page v)\nset size to (100) %\ngo to x: (0) y: (0)\nshow\n\nwhen this sprite clicked\nswitch backdrop to (character v)\nhide\n\nswitch backdrop to (year 1 v)\n\nwhen backdrop switches to [platformer1 v]\nhide\ngo to x: (555555555555) y: (555555555555)\n\n@clover\n\nwhen I start as a clone\nshow\nset [brightness v] effect to (pick random (-30) to (30))\ngo to x: (pick random (210) to (-210)) y: (pick random (150) to (-150))\npoint in direction (pick random (1) to (360))\nset [size v] to [0]\nforever\n    set [size v] to ((size) / (1.5))\n    change size by (size)\nend\n\nwhen I receive [great! v]\nstart sound [Ding Sound Effect \(1\).mp3 v]\nif <(costume [number v]) = [1]> then\n    repeat (10)\n        change size by (-10)\n        change [ghost v] effect by (-10)\n    end\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    wait (1) seconds\n    repeat (10)\n        change size by (-10)\n        change [ghost v] effect by (-10)\n    end\n    broadcast (round v)\n    delete this clone\nend\n\nwhen I receive [round v]\nset [check v] to [0]\nhide\nswitch costume to (costume1 v)\nrepeat (((amount) / (2)) - (1))\n    create clone of (_myself_ v)\nend\nswitch costume to (costume2 v)\ncreate clone of (_myself_ v)\nswitch costume to (costume1 v)\nrepeat ((amount) / (2))\n    create clone of (_myself_ v)\nend\nbroadcast (count v)\n\nwhen this sprite clicked\nif <(check) = [0]> then\n    if <(costume [number v]) = [2]> then\n        broadcast (great! v)\n        change [score v] by (1)\n        change [amount v] by (2)\n        set [check v] to [1]\n    end\n    if <(costume [number v]) = [1]> then\n        broadcast (fail v)\n    end\nend\n\nwhen I start as a clone\nset size to (10) %\nset [ghost v] effect to (100)\nrepeat (10)\n    change size by (9)\n    change [ghost v] effect by (-10)\nend\nforever\n    if <(check) = [0]> then\n        if <touching (mouse-pointer v)?> then\n            set [size v] to [10]\n            wait until <not <touching (mouse-pointer v)?>>\n            set [size v] to [-10]\n            wait until <(size) < [101]>\n            set size to (100) %\n        else\n            if <(costume [number v]) = [2]> then\n                go to [front v] layer\n            end\n        end\n    end\nend\n\nwhen I receive [fail v]\nstart sound [studio audience awwww sound FX.mp3 v]\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (-10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    set volume to ([costume name v] of [sound v]) %\nend\n\n@hp\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nswitch backdrop to (level 3 griffindor v)\nbroadcast (Gryffindor v)\nhide\n\nwhen backdrop switches to [level 2 v]\nshow\ngo to x: (16) y: (1)\n\nwhen backdrop switches to [level 3 slytherin v]\nhide\n\nwhen backdrop switches to [level 3 huffelpuf v]\nhide\n\nwhen backdrop switches to [level 3 ravenclauw v]\nhide\n\n@hp2\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nswitch backdrop to (level 3 slytherin v)\nbroadcast (Slytherin v)\nhide\n\nwhen backdrop switches to [level 2 v]\nshow\ngo to x: (16) y: (1)\n\nwhen backdrop switches to [level 3 huffelpuf v]\nhide\n\nwhen backdrop switches to [level 3 griffindor v]\nhide\n\nwhen backdrop switches to [level 3 ravenclauw v]\nhide\n\n@hp3\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nswitch backdrop to (level 3 huffelpuf v)\nbroadcast (Huffelpuf v)\nhide\n\nwhen backdrop switches to [level 2 v]\nshow\ngo to x: (16) y: (1)\n\nwhen backdrop switches to [level 3 griffindor v]\nhide\n\nwhen backdrop switches to [level 3 slytherin v]\nhide\n\nwhen backdrop switches to [level 3 ravenclauw v]\nhide\n\n@hp4\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nswitch backdrop to (level 3 ravenclauw v)\nbroadcast (Ravenclauw v)\nhide\n\nwhen backdrop switches to [level 2 v]\nshow\ngo to x: (16) y: (1)\n\nwhen backdrop switches to [level 3 griffindor v]\nhide\n\nwhen backdrop switches to [level 3 slytherin v]\nhide\n\nwhen backdrop switches to [level 3 huffelpuf v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen backdrop switches to [year 1 v]\nshow\ngo to x: (1) y: (6)\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nswitch backdrop to (level 1 v)\nhide\n\n@Sprite3\n\nwhen I receive [turn left and stop v]\nforever\n    turn right (turning) degrees\n    change [turning v] by (-0.0125)\n    if <<(round (direction)) > [19]> and <(round (direction)) < [21]>> then\n        broadcast (stop and turn right v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [turn right and stop v]\nforever\n    turn right (turning) degrees\n    change [turning v] by (0.0125)\n    if <<(round (direction)) > [-21]> and <(round (direction)) < [-19]>> then\n        broadcast (stop and turn left v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [stop and turn right v]\nforever\n    turn right (turning) degrees\n    change [turning v] by (-0.0125)\n    if <<(round (direction)) > [-1]> and <(round (direction)) < [1]>> then\n        broadcast (turn right and stop v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [stop and turn left v]\nforever\n    turn right (turning) degrees\n    change [turning v] by (0.0125)\n    if <<(direction) > [-1]> and <(direction) < [1]>> then\n        broadcast (turn left and stop v)\n        stop [this script v]\n    end\nend\n\nset [time  v] to [0]\n\nwhen backdrop switches to [level 9 v]\nshow\npoint in direction (-20)\nset [turning v] to [0]\nreset timer\nforever\n    turn right (turning) degrees\n    change [turning v] by (0.0125)\n    if <<(round (direction)) > [-1]> and <(round (direction)) < [1]>> then\n        set [time  v] to (timer)\n        broadcast (turn left and stop v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [level 9 v]\nshow\nset [ghost v] effect to (0)\ngo to x: (0) y: (200)\nforever\n    change y by (-0.2)\nend\n\nwhen backdrop switches to [level 9 v]\nforever\n    repeat (400)\n        change x by (0.2)\n        wait (0.00175) seconds\n    end\n    repeat (400)\n        change x by (0.2)\n        wait (0.00175) seconds\n    end\n    if <touching (_edge_ v)?> then\n        repeat (100)\n            change [ghost v] effect by (1)\n        end\n        hide\n        stop [all v]\n    end\nend\n\nwhen backdrop switches to [level 10 v]\nhide\n\n@Harry Potter\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching color (#00c0ff)?> then\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-252) y: (-83)\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-256) y: (-83)\n\nwhen backdrop switches to [backdrop15 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [level 12 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop17 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (-261) y: (-83)\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\n\nwhen backdrop switches to [character v]\nshow\nset size to (200) %\ngo to x: (-118) y: (186)\n\nwhen flag clicked\nstart sound [Harry Potter and the Sorcerer's Stone Soundtrack -19. Hedwig's Theme-2.mp3 v]\n\nwhen I receive [gryffindor v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [huffelpuf v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [ravenclauw v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [slytherin v]\ngo to x: (-256) y: (-83)\n\nwhen flag clicked\n\nshow\n\nwhen I receive [hermione v]\nhide\n\nwhen I receive [ron v]\nhide\n\nwhen I receive [hedwig v]\nhide\n\nwhen I receive [draco v]\nhide\n\nwhen this sprite clicked\nbroadcast (Harry v)\nswitch backdrop to (level 1 v)\n\nwhen I receive [harry v]\nswitch backdrop to (level 1 v)\nset size to (100) %\ngo to x: (-255) y: (-80)\nset [x speed v] to [0]\nset [y speed v] to [0]\nforever\n    change [y speed v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x speed v] by (-0.7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x speed v] by (0.7)\n    end\n    set [x speed v] to ((x speed) * (0.9))\n    change x by (x speed)\n    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n        change y by (1)\n        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n            change y by (1)\n            if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                change y by (1)\n                if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                            change x by ((x speed) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                if <not <touching color (#dddede)?>> then\n                                    if <(x speed) > [0]> then\n                                        set [x speed v] to [-8]\n                                    else\n                                        set [x speed v] to [8]\n                                    end\n                                    set [y speed v] to [10]\n                                end\n                            else\n                                set [x speed v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y speed)\n    if <touching color (#000000)?> then\n        change y by ((y speed) * (-1))\n        set [y speed v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n            if <not <touching color (#dddede)?>> then\n                set [y speed v] to [10]\n            end\n        end\n    end\n    if <touching color (#48ff00)?> then\n        set [y speed v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-258) y: (-82)\n        set [x speed v] to [0]\n        set [y speed v] to [0]\n    end\n    change y by (1)\nend\n\nwhen backdrop switches to [level 1 v]\nif <touching color (#00c0ff)?> then\n    switch backdrop to (level 2 v)\nend\n\nwhen I receive [luna v]\nhide\n\nwhen I receive [ginny v]\nhide\n\n@Ron WesleyPlatform Man3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching color (#00c0ff)?> then\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-252) y: (-83)\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-256) y: (-83)\n\nwhen backdrop switches to [backdrop15 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [level 12 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop17 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (-261) y: (-83)\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nstart sound [Harry Potter and the Sorcerer's Stone Soundtrack -19. Hedwig's Theme-2.mp3 v]\n\nwhen I receive [gryffindor v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [huffelpuf v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [ravenclauw v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [slytherin v]\ngo to x: (-256) y: (-83)\n\nwhen flag clicked\n\nshow\n\nwhen backdrop switches to [character v]\nshow\nset size to (200) %\ngo to x: (-5) y: (185)\n\nwhen this sprite clicked\nbroadcast (Ron v)\nswitch backdrop to (level 1 v)\n\nwhen I receive [ron v]\nswitch backdrop to (level 1 v)\nset size to (100) %\nshow\ngo to x: (-255) y: (-80)\nset [x speed v] to [0]\nset [y speed v] to [0]\nforever\n    change [y speed v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x speed v] by (-0.7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x speed v] by (0.7)\n    end\n    set [x speed v] to ((x speed) * (0.9))\n    change x by (x speed)\n    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n        change y by (1)\n        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n            change y by (1)\n            if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                change y by (1)\n                if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                            change x by ((x speed) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                if <not <touching color (#dddede)?>> then\n                                    if <(x speed) > [0]> then\n                                        set [x speed v] to [-8]\n                                    else\n                                        set [x speed v] to [8]\n                                    end\n                                    set [y speed v] to [10]\n                                end\n                            else\n                                set [x speed v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y speed)\n    if <touching color (#000000)?> then\n        change y by ((y speed) * (-1))\n        set [y speed v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n            if <not <touching color (#dddede)?>> then\n                set [y speed v] to [10]\n            end\n        end\n    end\n    if <touching color (#48ff00)?> then\n        set [y speed v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-258) y: (-82)\n        set [x speed v] to [0]\n        set [y speed v] to [0]\n    end\n    change y by (1)\nend\n\nwhen I receive [hermione v]\nhide\n\nwhen I receive [harry v]\nhide\n\nif <touching color (#00c0ff)?> then\n    switch backdrop to (level 2 v)\nend\n\nwhen I receive [ginny v]\nhide\n\nwhen I receive [luna v]\nhide\n\nwhen I receive [draco v]\nhide\n\n@Sprite4\n\n@Luna Lovegood\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching color (#00c0ff)?> then\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-252) y: (-83)\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-256) y: (-83)\n\nwhen backdrop switches to [backdrop15 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [level 12 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop17 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (-261) y: (-83)\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\n\nwhen backdrop switches to [character v]\nshow\nset size to (200) %\ngo to x: (-233) y: (49)\n\nwhen flag clicked\nstart sound [Harry Potter and the Sorcerer's Stone Soundtrack -19. Hedwig's Theme-2.mp3 v]\n\nwhen I receive [gryffindor v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [huffelpuf v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [ravenclauw v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [slytherin v]\ngo to x: (-256) y: (-83)\n\nwhen flag clicked\n\nshow\n\nwhen I receive [hermione v]\nhide\n\nwhen I receive [ron v]\nhide\n\nwhen I receive [hedwig v]\nhide\n\nwhen I receive [draco v]\nhide\n\nwhen this sprite clicked\nbroadcast (Luna v)\nswitch backdrop to (level 1 v)\n\nwhen I receive [luna v]\nswitch backdrop to (level 1 v)\nset size to (100) %\ngo to x: (-255) y: (-80)\nset [x speed v] to [0]\nset [y speed v] to [0]\nforever\n    change [y speed v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x speed v] by (-0.7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x speed v] by (0.7)\n    end\n    set [x speed v] to ((x speed) * (0.9))\n    change x by (x speed)\n    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n        change y by (1)\n        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n            change y by (1)\n            if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                change y by (1)\n                if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                            change x by ((x speed) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                if <not <touching color (#dddede)?>> then\n                                    if <(x speed) > [0]> then\n                                        set [x speed v] to [-8]\n                                    else\n                                        set [x speed v] to [8]\n                                    end\n                                    set [y speed v] to [10]\n                                end\n                            else\n                                set [x speed v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y speed)\n    if <touching color (#000000)?> then\n        change y by ((y speed) * (-1))\n        set [y speed v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n            if <not <touching color (#dddede)?>> then\n                set [y speed v] to [10]\n            end\n        end\n    end\n    if <touching color (#48ff00)?> then\n        set [y speed v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-258) y: (-82)\n        set [x speed v] to [0]\n        set [y speed v] to [0]\n    end\n    change y by (1)\nend\n\nwhen backdrop switches to [level 1 v]\n\nif <touching color (#00c0ff)?> then\n    switch backdrop to (level 2 v)\nend\n\nwhen I receive [harry v]\nhide\n\nwhen I receive [ginny v]\nhide\n\n@GinnyRon WesleyPlatform Man2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching color (#00c0ff)?> then\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-252) y: (-83)\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-256) y: (-83)\n\nwhen backdrop switches to [backdrop15 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [level 12 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop17 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (-261) y: (-83)\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nstart sound [Harry Potter and the Sorcerer's Stone Soundtrack -19. Hedwig's Theme-2.mp3 v]\n\nwhen I receive [gryffindor v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [huffelpuf v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [ravenclauw v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [slytherin v]\ngo to x: (-256) y: (-83)\n\nwhen flag clicked\n\nshow\n\nwhen backdrop switches to [character v]\nshow\nset size to (200) %\ngo to x: (118) y: (185)\n\nwhen this sprite clicked\nbroadcast (Ginny v)\nswitch backdrop to (level 1 v)\n\nwhen I receive [ginny v]\nswitch backdrop to (level 1 v)\nset size to (100) %\nshow\ngo to x: (-255) y: (-80)\nset [x speed v] to [0]\nset [y speed v] to [0]\nforever\n    change [y speed v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x speed v] by (-0.7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x speed v] by (0.7)\n    end\n    set [x speed v] to ((x speed) * (0.9))\n    change x by (x speed)\n    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n        change y by (1)\n        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n            change y by (1)\n            if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                change y by (1)\n                if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                            change x by ((x speed) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                if <not <touching color (#dddede)?>> then\n                                    if <(x speed) > [0]> then\n                                        set [x speed v] to [-8]\n                                    else\n                                        set [x speed v] to [8]\n                                    end\n                                    set [y speed v] to [10]\n                                end\n                            else\n                                set [x speed v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y speed)\n    if <touching color (#000000)?> then\n        change y by ((y speed) * (-1))\n        set [y speed v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n            if <not <touching color (#dddede)?>> then\n                set [y speed v] to [10]\n            end\n        end\n    end\n    if <touching color (#48ff00)?> then\n        set [y speed v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-258) y: (-82)\n        set [x speed v] to [0]\n        set [y speed v] to [0]\n    end\n    change y by (1)\nend\n\nwhen I receive [hermione v]\nhide\n\nwhen I receive [harry v]\nhide\n\nwhen I receive [ron v]\nshow\n\nwhen backdrop switches to [level 1 v]\nif <touching color (#00c0ff)?> then\n    switch backdrop to (level 2 v)\nend\n\nwhen I receive [draco v]\nhide\n\nwhen I receive [hedwig v]\nhide\n\nwhen I receive [luna v]\nhide\n\n@Drace\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching color (#00c0ff)?> then\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-252) y: (-83)\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-256) y: (-83)\n\nwhen backdrop switches to [backdrop15 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [level 12 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop17 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (-261) y: (-83)\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nstart sound [Harry Potter and the Sorcerer's Stone Soundtrack -19. Hedwig's Theme-2.mp3 v]\n\nwhen I receive [gryffindor v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [huffelpuf v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [ravenclauw v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [slytherin v]\ngo to x: (-256) y: (-83)\n\nwhen flag clicked\n\nshow\n\nwhen backdrop switches to [character v]\nshow\nset size to (200) %\ngo to x: (120) y: (53)\n\nwhen this sprite clicked\nbroadcast (Draco v)\nswitch backdrop to (level 1 v)\n\nwhen I receive [draco v]\nswitch backdrop to (level 1 v)\nset size to (100) %\nshow\ngo to x: (-255) y: (-80)\nset [x speed v] to [0]\nset [y speed v] to [0]\nforever\n    change [y speed v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x speed v] by (-0.7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x speed v] by (0.7)\n    end\n    set [x speed v] to ((x speed) * (0.9))\n    change x by (x speed)\n    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n        change y by (1)\n        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n            change y by (1)\n            if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                change y by (1)\n                if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                            change x by ((x speed) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                if <not <touching color (#dddede)?>> then\n                                    if <(x speed) > [0]> then\n                                        set [x speed v] to [-8]\n                                    else\n                                        set [x speed v] to [8]\n                                    end\n                                    set [y speed v] to [10]\n                                end\n                            else\n                                set [x speed v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y speed)\n    if <touching color (#000000)?> then\n        change y by ((y speed) * (-1))\n        set [y speed v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n            if <not <touching color (#dddede)?>> then\n                set [y speed v] to [10]\n            end\n        end\n    end\n    if <touching color (#48ff00)?> then\n        set [y speed v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-258) y: (-82)\n        set [x speed v] to [0]\n        set [y speed v] to [0]\n    end\n    change y by (1)\nend\n\nwhen I receive [hermione v]\nhide\n\nwhen I receive [harry v]\nhide\n\nif <touching color (#00c0ff)?> then\n    switch backdrop to (level 2 v)\nend\n\nwhen I receive [ron v]\nhide\n\nwhen I receive [ginny v]\nhide\n\nwhen I receive [luna v]\nhide\n\nwhen I receive [hedwig v]\nhide\n\nwhen I receive [neville v]\nhide\n\n@GinnyRon WesleyPlatform Man3\n\nwhen I receive [draco v]\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching color (#00c0ff)?> then\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 7 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 8 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 4 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 10 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 9 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 6 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [level 5 v]\ngo to x: (-255) y: (-83)\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 3 v]\ngo to x: (-259) y: (-83)\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-252) y: (-83)\n\nwhen backdrop switches to [level 2 v]\ngo to x: (-256) y: (-83)\n\nwhen backdrop switches to [backdrop15 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [level 12 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop17 v]\ngo to x: (-261) y: (-83)\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (-261) y: (-83)\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nstart sound [Harry Potter and the Sorcerer's Stone Soundtrack -19. Hedwig's Theme-2.mp3 v]\n\nwhen I receive [gryffindor v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [huffelpuf v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [ravenclauw v]\ngo to x: (-256) y: (-83)\n\nwhen I receive [slytherin v]\ngo to x: (-256) y: (-83)\n\nwhen flag clicked\n\nshow\n\nwhen backdrop switches to [character v]\nshow\nset size to (200) %\ngo to x: (-118) y: (50)\n\nwhen this sprite clicked\nbroadcast (Neville v)\nswitch backdrop to (level 1 v)\n\nwhen I receive [ginny v]\nswitch backdrop to (level 1 v)\nset size to (100) %\nshow\ngo to x: (-255) y: (-80)\nset [x speed v] to [0]\nset [y speed v] to [0]\nforever\n    change [y speed v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x speed v] by (-0.7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x speed v] by (0.7)\n    end\n    set [x speed v] to ((x speed) * (0.9))\n    change x by (x speed)\n    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n        change y by (1)\n        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n            change y by (1)\n            if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                change y by (1)\n                if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                            change x by ((x speed) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                if <not <touching color (#dddede)?>> then\n                                    if <(x speed) > [0]> then\n                                        set [x speed v] to [-8]\n                                    else\n                                        set [x speed v] to [8]\n                                    end\n                                    set [y speed v] to [10]\n                                end\n                            else\n                                set [x speed v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y speed)\n    if <touching color (#000000)?> then\n        change y by ((y speed) * (-1))\n        set [y speed v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n            if <not <touching color (#dddede)?>> then\n                set [y speed v] to [10]\n            end\n        end\n    end\n    if <touching color (#48ff00)?> then\n        set [y speed v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-258) y: (-82)\n        set [x speed v] to [0]\n        set [y speed v] to [0]\n    end\n    change y by (1)\nend\n\nwhen I receive [hermione v]\nhide\n\nwhen I receive [harry v]\nhide\n\nwhen I receive [ron v]\nshow\n\nwhen backdrop switches to [level 1 v]\nif <touching color (#00c0ff)?> then\n    switch backdrop to (level 2 v)\nend\n\nwhen I receive [draco v]\nhide\n\nwhen I receive [hedwig v]\nhide\n\nwhen I receive [luna v]\nhide\n\ngo to [front v] layer\n\ngo to x: (118) y: (185)\n\nwhen I receive [neville v]\nswitch backdrop to (level 1 v)\nset size to (100) %\nshow\ngo to x: (-255) y: (-80)\nset [x speed v] to [0]\nset [y speed v] to [0]\nforever\n    change [y speed v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x speed v] by (-0.7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x speed v] by (0.7)\n    end\n    set [x speed v] to ((x speed) * (0.9))\n    change x by (x speed)\n    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n        change y by (1)\n        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n            change y by (1)\n            if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                change y by (1)\n                if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                    change y by (1)\n                    if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                        change y by (1)\n                        if <<touching color (#000000)?> and <not <touching (sprite5 v)?>>> then\n                            change x by ((x speed) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n                                if <not <touching color (#dddede)?>> then\n                                    if <(x speed) > [0]> then\n                                        set [x speed v] to [-8]\n                                    else\n                                        set [x speed v] to [8]\n                                    end\n                                    set [y speed v] to [10]\n                                end\n                            else\n                                set [x speed v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y speed)\n    if <touching color (#000000)?> then\n        change y by ((y speed) * (-1))\n        set [y speed v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <key (space v) pressed?>>> then\n            if <not <touching color (#dddede)?>> then\n                set [y speed v] to [10]\n            end\n        end\n    end\n    if <touching color (#48ff00)?> then\n        set [y speed v] to [15]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-258) y: (-82)\n        set [x speed v] to [0]\n        set [y speed v] to [0]\n    end\n    change y by (1)\nend\n\nhide\n\nshow\n\n
Introduction:\nWelcome to the most enchanting and hilariously magical platformer ever created on Scratch! In this zany masterpiece, you'll take on the role of a Harry Potter character as he/she navigates through the whimsical wizarding world. Get ready for a broomstick-riding, spell-casting, troll-dodging adventure that will have you giggling like a house-elf on butterbeer!\n\nControls:\n\nUse the arrow keys (← → ↑ ↓) or the classic WDSA (W - Up, A - Left, S - Down, D - Right) keys to guide our bespectacled hero.\nTap the space bar to jump\n\nSpecial Color Mechanics:\n\nTry to reach the BLUE color platforms to advance to the next level. It's like catching the Hogwarts Express, but even more exciting!\nBeware of the RED color platforms! Stepping on them will set you back to the beginning of the level faster than you can say "Expelliarmus!"\nAnd last but not least, jump onto the GREEN color platforms to soar through the sky like a particularly agile Hippogriff! It's like a trampoline with a magical twist!\n-------------------------------------------------------------------------\nUPDATE 1-6-2022\nGinny, Draco and Luna are add to the game!\n------------------------------------------------------------------------\nUPDATE 31-5-2022\nNew Backgrounds\nNew characters\n-------------------------------------------------------------------------\nUPDATE 30-5-2022\n- All houses finally works!\n- New backgrounds\n- New levels\n- Option to choose your character\n-------------------------------------------------------------------------\nPls like and share for more Harrry Potter games!\nThanks for playing my game.......\n\nKind regards,\nTechno_bot_SGN community