Embark - A Platformer For Scratch 3.0

Instructions: Help Harry Potter to prepare for the Third Task of the Triwizard Tournament.\n\nAnswers to FAQ:\n1) Talk to Ron. TALK TO RON!\n2) Press DA and then SPACE.\n3) Bugs? Press R.\n4) If all else fails, rocket jump.\n5) Yes, I KNOW I spelt the spells wrong. Ron just doesn't know them quite as well as you do.\n\n===CONTROLS===\n⬆ to jump,\n⬅ and ➡ to move left and right,\nSPACE and W A S D to cast spells.

@Stage\n\nwhen flag clicked\nswitch backdrop to (ummmmmmm v)\n\n@Scratch Cat\n\nwhen flag clicked\nset size to (50) %\ngo to x: (-214) y: (-54)\nset [y v] to [0]\nset [x v] to [0]\ngo to [front v] layer\nshow\nforever\n    show\n    if <<touching color (#ff3355)?> or <touching color (#ff6680)?>> then\n        set [y v] to [17]\n    end\n    if <touching (sprite2 v)?> then\n        broadcast (levelswitch2 v)\n        go to x: (-214) y: (-88)\n        show\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [x v] by (1.8)\n        next costume\n        if <(costume [number v]) = [17]> then\n            switch costume to (run-01 v)\n        end\n    end\n    if <not <<key (left arrow v) pressed?> or <<key (up arrow v) pressed?> or <key (right arrow v) pressed?>>>> then\n        switch costume to (stand v)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [x v] by (-1.8)\n        next costume\n        if <(costume [number v]) = [17]> then\n            switch costume to (run-01 v)\n        end\n    end\n    if <not <<key (left arrow v) pressed?> or <<key (up arrow v) pressed?> or <key (right arrow v) pressed?>>>> then\n        switch costume to (stand v)\n    end\n    if <(y position) < [-150]> then\n        go to x: (-214) y: (-88)\n        set [y v] to [0]\n        set [x v] to [0]\n    end\n    set [x v] to ((x) * (0.8))\n    change x by (x)\n    if <<touching (things v)?> or <<touching (spill the tea v)?> or <touching (spill the tea2 v)?>>> then\n        change y by (1)\n        if <<touching (things v)?> or <<touching (spill the tea v)?> or <touching (spill the tea2 v)?>>> then\n            change y by (1)\n            if <<touching (things v)?> or <<touching (spill the tea v)?> or <touching (spill the tea2 v)?>>> then\n                change y by (1)\n                if <<touching (things v)?> or <<touching (spill the tea v)?> or <touching (spill the tea2 v)?>>> then\n                    change y by (1)\n                    if <<touching (things v)?> or <<touching (spill the tea v)?> or <touching (spill the tea2 v)?>>> then\n                        change y by (1)\n                        if <<touching (things v)?> or <<touching (spill the tea v)?> or <touching (spill the tea2 v)?>>> then\n                            change y by (-4)\n                            change x by ((x) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                set [y v] to [9]\n                                if <(x) > [0]> then\n                                    set [x v] to [-20]\n                                else\n                                    set [x v] to [20]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <<touching (things v)?> or <<touching (spill the tea v)?> or <touching (spill the tea2 v)?>>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching (things v)?> or <<touching (spill the tea v)?> or <touching (spill the tea2 v)?>>> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [9]\n        end\n    else\n        change [y v] by (-0.5)\n    end\n    if <touching (but he wasnt a match v)?> then\n        set size to (13) %\n        broadcast (arianaventi v)\n    end\n    if <touching (god is non binary v)?> then\n        set size to (50) %\n        broadcast (arianatall v)\n    end\n    if <<touching (stop some v)?> or <<touching (stop some2 v)?> or <<touching (stop some3 v)?> or <<touching (stop some4 v)?> or <<touching (stop some5 v)?> or <touching (stop some6 v)?>>>>>> then\n        go to x: (-214) y: (-88)\n        set [y v] to [0]\n        set [x v] to [0]\n    end\n    if <touching (t v)?> then\n        broadcast (HI SISTERS! v)\n    end\n    if <touching (t2 v)?> then\n        broadcast (JamES CHaRLeS hERe v)\n    end\nend\n\nchange [y v] by (14)\n\nset [y v] to [14]\n\n@Things\n\nwhen I receive [levelswitch2 v]\nnext costume\n\nwhen flag clicked\nswitch costume to (thank u, next v)\n\nhide\n\nwhen flag clicked\nforever\n    play sound [1 v] until done\nend\n\nwhen flag clicked\n\nset [y v] to [0]\n\n@Sprite2\n\nwhen flag clicked\nshow\nset size to (100) %\ngo to x: (68) y: (-176)\nforever\n    if <([costume # v] of [things v]) = [3]> then\n        set size to (40) %\n        go to x: (-62) y: (-109)\n    end\n    if <([costume # v] of [things v]) = [4]> then\n        set size to (100) %\n        go to x: (68) y: (-176)\n    end\n    if <([costume # v] of [things v]) = [12]> then\n        hide\n    end\nend\n\nwhen flag clicked\nshow\n\n@god is non binary\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [things v]) = [4]> then\n        go to x: (3) y: (32)\n        show\n    end\nend\n\nwhen I receive [arianatall v]\nforever\n    hide\nend\n\n@stop some\n\nwhen flag clicked\ngo to x: (103) y: (-73)\nhide\nforever\n    if <([costume # v] of [things v]) = [5]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset drag mode [not draggable v]\n\n@stop some2\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen flag clicked\ngo to x: (103) y: (-73)\nhide\nforever\n    if <([costume # v] of [things v]) = [7]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\n@stop some3\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen flag clicked\ngo to x: (103) y: (-73)\nhide\nforever\n    if <([costume # v] of [things v]) = [8]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\n@stop some4\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen flag clicked\ngo to x: (103) y: (-73)\nhide\nforever\n    if <([costume # v] of [things v]) = [9]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\n@BUt hE WASnT a MATCH\n\nwhen flag clicked\nhide\ngo to x: (-53) y: (32)\nforever\n    if <([costume # v] of [things v]) = [3]> then\n        show\n    end\nend\n\nwhen I receive [arianaventi v]\nforever\n    hide\nend\n\n@t\n\nwhen flag clicked\nhide\ngo to x: (-7) y: (57)\nforever\n    if <([costume # v] of [things v]) = [9]> then\n        show\n    end\nend\n\nwhen I receive [hi sisters! v]\nforever\n    hide\nend\n\n@spill the tea\n\nwhen flag clicked\nhide\ngo to x: (38) y: (31)\n\nwhen I receive [hi sisters! v]\nshow\nforever\n    if <not <([costume # v] of [things v]) = [9]>> then\n        hide\n    end\nend\n\n@thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    show\n    go to x: (0) y: (1)\n    set [ghost v] effect to (100)\nend\n\n@stop some5\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen flag clicked\ngo to x: (11) y: (-47)\nhide\ngo to [front v] layer\nforever\n    if <([costume # v] of [things v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@spill the tea2\n\nwhen flag clicked\nhide\ngo to x: (-105) y: (21)\nforever\n    if <not <([costume # v] of [things v]) = [10]>> then\n        hide\n    end\n    if <([costume # v] of [things v]) = [10]> then\n        show\n    end\nend\n\n@Block\n\nwhen flag clicked\ngo to x: (14) y: (-104)\nhide\ngo to [front v] layer\nforever\n    if <([costume # v] of [things v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@stop some6\n\nwhen flag clicked\nset drag mode [not draggable v]\n\nwhen flag clicked\ngo to x: (11) y: (-47)\nhide\ngo to [front v] layer\nforever\n    if <([costume # v] of [things v]) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n@Block2\n\nwhen flag clicked\ngo to x: (14) y: (-104)\nhide\ngo to [front v] layer\nforever\n    if <([costume # v] of [things v]) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\n