//Orange//Platformer

Instructions: ll Orange//Platformer//\n<>to move\nll 50 ❤️ for a part 2\n11 levels\n//Music l l Sunshine//\n//Happy l l Holidays//\nintro account @SquishedMango\npart 2 : https://scratch.mit.edu/projects/466777671/

@Stage\n\nwhen flag clicked\nforever\n    play sound [Sunlight v] until done\nend\n\n@Sprite2\n\nwhen [down arrow v] key pressed\nswitch costume to (cat1 flying-a v)\nwait (2) seconds\n\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nstart sound [PixelPeekerPolka v]\nwait (200) seconds\nforever\n\nwhen flag clicked\nswitch backdrop to (poop v)\n\nwhen backdrop switches to [poop v]\nswitch costume to (costume 1 v)\nhide variable [end v]\nshow\ngo to x: (-149) y: (-145)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <(end) = [0]> then\n        show\n        if <not <key (down arrow v) pressed?>> then\n            switch costume to (costume 1 v)\n        end\n        if <key (down arrow v) pressed?> then\n            switch costume to (cat1 flying-a v)\n        end\n        if <key (right arrow v) pressed?> then\n            change [xv v] by (1)\n            switch costume to (costume 3 v)\n            switch costume to (costume 2 v)\n        end\n        if <key (left arrow v) pressed?> then\n            change [xv v] by (-1)\n            switch costume to (costume 2 v)\n            switch costume to (costume 3 v)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <touching color (#ffc015)?> then\n            change y by (1)\n            if <touching color (#ffc015)?> then\n                change y by (1)\n                if <touching color (#ffc015)?> then\n                    change y by (1)\n                    if <touching color (#ffc015)?> then\n                        change y by (1)\n                        if <touching color (#ffc015)?> then\n                            change y by (1)\n                            if <touching color (#ffc015)?> then\n                                change x by ((Xv) * (-1))\n                                change y by (-5)\n                                if <key (up arrow v) pressed?> then\n                                    if <(Xv) > [0]> then\n                                        set [xv v] to [-5]\n                                    else\n                                        set [xv v] to [5]\n                                    end\n                                    set [yv v] to [10]\n                                else\n                                    set [xv v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [yv v] by (-1)\n        change y by (Yv)\n        if <touching color (#ffc015)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (-1)\n        if <touching color (#ffc015)?> then\n            if <key (up arrow v) pressed?> then\n                set [yv v] to [15]\n            end\n        end\n        change y by (1)\n    else\n        hide\n        switch backdrop to (game over v)\n    end\n    if <touching color (#1000ff)?> then\n        go to x: (-149) y: (-145)\n    end\n    if <(y position) < [-210]> then\n        broadcast (message1 v)\n        wait (.3) seconds\n        go to x: (-149) y: (-145)\n    end\n    if <touching color (#ffb100)?> then\n        go to x: (-149) y: (-145)\n    end\n    if <touching color (#efc34a)?> then\n        set [yv v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [270]> then\n        broadcast (next v)\n        go to x: (-149) y: (-145)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next v]\nnext costume\n\n@Sprite3\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n