Pizza Platformer

Instructions: -Use arrow keys to move\n-Avoid red\n-Purple makes you jump higher\n-Orange makes you jump more higher than purple\n==================ENJOY==================

@Stage\n\nwhen flag clicked\nswitch backdrop to (logo v)\n\nwhen I receive [start level 1 v]\nswitch backdrop to (starting v)\n\n@Pizza [Player]\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching color (#ccffdd)?> then\n        change y by (2)\n        if <touching color (#ccffdd)?> then\n            change y by (2)\n            if <touching color (#ccffdd)?> then\n                change y by (2)\n                if <touching color (#ccffdd)?> then\n                    change y by (2)\n                    if <touching color (#ccffdd)?> then\n                        change y by (2)\n                        if <touching color (#ccffdd)?> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching color (#ccffdd)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#ccffdd)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [13]\n        end\n    end\n    change y by (1)\n    if <touching color (#e5ccff)?> then\n        set [y v] to [22]\n    end\n    if <touching color (#ffd499)?> then\n        set [y v] to [30]\n    end\nend\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-171) y: (-57)\nshow\n\nwhen backdrop switches to [level 2 v]\nforever\n    if <touching (_edge_ v)?> then\n        switch backdrop to (next backdrop v)\n        go to x: (-171) y: (-57)\n    end\nend\n\nwhen backdrop switches to [level 3 v]\nforever\n    if  then\n        switch backdrop to (next backdrop v)\n        go to x: (-171) y: (-57)\n    end\nend\n\nwhen backdrop switches to [level 4 v]\nforever\n    if  then\n        switch backdrop to (next backdrop v)\n        go to x: (-171) y: (-57)\n    end\nend\n\nwhen backdrop switches to [level 5 v]\nforever\n    if  then\n        switch backdrop to (next backdrop v)\n        go to x: (-171) y: (-57)\n    end\nend\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-159) y: (-57)\n    end\nend\n\nwhen I receive [talk v]\nsay [Yes.] for (2) seconds\nbroadcast (Talk Back to YES v)\n\nwhen I receive [sister and me talk v]\nsay [I am 15 years old now sis!] for (3) seconds\nbroadcast (Me answer sis' question v)\n\nwhen flag clicked\nhide\nset size to (40) %\n\nwhen backdrop switches to [level 1 v]\nforever\n    if <touching (_edge_ v)?> then\n        switch backdrop to (next backdrop v)\n        go to x: (-171) y: (-57)\n    end\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen backdrop switches to [level 26 v]\nhide\n\n@START\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nshow\ngo to x: (-24) y: (10)\n\nwhen this sprite clicked\nswitch backdrop to (level 1 v)\nhide\n\nwhen backdrop switches to [logo v]\nhide\n\nwhen backdrop switches to [starting v]\nshow\n\n@Stranger\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\ngo to x: (29) y: (-39)\n\nwhen this sprite clicked\nsay [Stranger!!! ] for (2) seconds\nsay [Behind me is danger, if you want to go, go, if not, then turn back] for (5) seconds\nwait (1) seconds\nhide\nbroadcast (Finish talking to stranger1 v)\n\nwhen backdrop switches to [level 12 v]\nhide\n\nwhen backdrop switches to [level 24 v]\nswitch costume to (costume2 v)\ngo to x: (-134) y: (-82)\nset size to (50) %\nshow\nsay [Hello Player! Welcome back to Pizza City!]\n\nwhen backdrop switches to [level 25 v]\nhide\n\nwhen flag clicked\nset size to (100) %\n\nwhen backdrop switches to [level 11 v]\nshow\n\n@Stranger 2\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\nwhen this sprite clicked\nsay [Did the man say anything to you?] for (2.5) seconds\nbroadcast (Talk v)\n\nwhen I receive [talk back to yes v]\nsay [Ok.] for (1) seconds\nsay [You did it through the hard part behind him!] for (4.5) seconds\nsay [Great!] for (1.5) seconds\nsay [Go on with your trip!] for (1.5) seconds\nwait (1) seconds\nhide\nbroadcast (Finish talking to stranger2 v)\n\nwhen backdrop switches to [level 13 v]\nshow\ngo to x: (29) y: (-63)\n\nwhen backdrop switches to [level 14 v]\nhide\n\nwhen backdrop switches to [level 24 v]\nswitch costume to (costume3 v)\ngo to x: (60) y: (-100)\nset size to (50) %\nshow\nsay [Hello Player! Glad to meet you!]\n\nwhen backdrop switches to [level 25 v]\nhide\n\nwhen flag clicked\nset size to (100) %\n\n@Sister\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen backdrop switches to [level 15 v]\nshow\ngo to x: (43) y: (-56)\n\nwhen this sprite clicked\nask [WAIT! I never asked you this when you were little, are you a girl or a boy?] and wait\nif <<(answer) = [Girl]> or <(answer) = [girl]>> then\n    say [You are my sister!] for (2) seconds\nend\nif <<(answer) = [boy]> or <(answer) = [Boy]>> then\n    say [You are my brother!] for (2) seconds\nend\nsay [I never saw you when you were 8, how old are you now!?!] for (5) seconds\nbroadcast (Sister and me Talk v)\n\nwhen backdrop switches to [level 16 v]\nhide\n\nwhen I receive [me answer sis' question v]\nsay [Whoa you're 15!?] for (2) seconds\nsay [I'm 18!] for (2) seconds\nsay [Bye! See you later when we meet!] for (2) seconds\nwait (1) seconds\nhide\nbroadcast (Finish talking to sis v)\n\nwhen backdrop switches to [level 25 v]\nswitch costume to (costume2 v)\ngo to x: (-53) y: (-56)\nshow\nif <<(answer) = [Girl]> or <(answer) = [girl]>> then\n    say [Hello my sister! You're home! Mom and Dad are in the house!]\nelse\n    if <<(answer) = [boy]> or <(answer) = [Boy]>> then\n        say [Hello my brother! You're home! Mom and Dad are in the house!]\n    else\n        say [Hello my brother/sister! You're home! Mom and Dad are in the house!]\n    end\nend\n\nwhen backdrop switches to [level 26 v]\nhide\n\n@Sprite1\n\nwhen backdrop switches to [level 1 v]\nshow\ngo to x: (-35) y: (-137)\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [level 2 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [level 3 v]\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [level 4 v]\nswitch costume to (costume4 v)\n\nwhen backdrop switches to [level 5 v]\nswitch costume to (costume5 v)\n\nwhen backdrop switches to [level 7 v]\nswitch costume to (costume7 v)\n\nwhen backdrop switches to [level 8 v]\nswitch costume to (costume8 v)\n\nwhen backdrop switches to [level 6 v]\nswitch costume to (costume6 v)\n\nwhen backdrop switches to [level 9 v]\nswitch costume to (costume9 v)\n\nwhen backdrop switches to [level 10 v]\nswitch costume to (costume10 v)\n\nwhen backdrop switches to [level 11 v]\nswitch costume to (costume11 v)\n\nwhen backdrop switches to [level 12 v]\nswitch costume to (costume12 v)\n\nwhen backdrop switches to [level 13 v]\nswitch costume to (costume13 v)\n\nwhen backdrop switches to [level 14 v]\nswitch costume to (costume14 v)\n\nwhen backdrop switches to [level 15 v]\nswitch costume to (costume15 v)\n\nwhen backdrop switches to [level 16 v]\nswitch costume to (costume16 v)\n\nwhen backdrop switches to [level 17 v]\nswitch costume to (costume17 v)\n\nwhen backdrop switches to [level 18 v]\nswitch costume to (costume18 v)\n\nwhen backdrop switches to [level 20 v]\nswitch costume to (costume20 v)\n\nwhen backdrop switches to [level 21 v]\nswitch costume to (costume21 v)\n\nwhen backdrop switches to [level 19 v]\nswitch costume to (costume19 v)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 22 v]\nswitch costume to (costume22 v)\n\nwhen backdrop switches to [level 23 v]\nswitch costume to (costume23 v)\n\nwhen backdrop switches to [level 24 v]\nhide\n\nwhen backdrop switches to [level 1 v]\nswitch costume to (costume1 v)\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [level 20 v]\ngo [backward v] (1) layers\nswitch costume to (costume1 v)\nshow\n\nwhen backdrop switches to [level 21 v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\nwait (1) seconds\nbroadcast (STAR IT ALL v)\n\nwhen I receive [star it all v]\nshow\nset [ghost v] effect to (100)\nwait (0) seconds\nset [ghost v] effect to (95)\nwait (0) seconds\nset [ghost v] effect to (90)\nwait (0) seconds\nset [ghost v] effect to (85)\nwait (0) seconds\nset [ghost v] effect to (80)\nwait (0) seconds\nset [ghost v] effect to (75)\nwait (0) seconds\nset [ghost v] effect to (70)\nwait (0) seconds\nset [ghost v] effect to (65)\nwait (0) seconds\nset [ghost v] effect to (60)\nwait (0) seconds\nset [ghost v] effect to (55)\nwait (0) seconds\nset [ghost v] effect to (50)\nwait (0) seconds\nset [ghost v] effect to (45)\nwait (0) seconds\nset [ghost v] effect to (40)\nwait (0) seconds\nset [ghost v] effect to (35)\nwait (0) seconds\nset [ghost v] effect to (30)\nwait (0) seconds\nset [ghost v] effect to (25)\nwait (0) seconds\nset [ghost v] effect to (20)\nwait (0) seconds\nset [ghost v] effect to (15)\nwait (0) seconds\nset [ghost v] effect to (10)\nwait (0) seconds\nset [ghost v] effect to (5)\nwait (0) seconds\nset [ghost v] effect to (0)\nstart sound [pop v]\nbroadcast (ghost v)\n\nwhen backdrop switches to [starting v]\nhide\n\nswitch costume to (costume2 v)\n\n@Sprite4\n\nwhen I receive [ghost v]\nshow\nset [ghost v] effect to (100)\nwait (0) seconds\nset [ghost v] effect to (95)\nwait (0) seconds\nset [ghost v] effect to (90)\nwait (0) seconds\nset [ghost v] effect to (85)\nwait (0) seconds\nset [ghost v] effect to (80)\nwait (0) seconds\nset [ghost v] effect to (75)\nwait (0) seconds\nset [ghost v] effect to (70)\nwait (0) seconds\nset [ghost v] effect to (65)\nwait (0) seconds\nset [ghost v] effect to (60)\nwait (0) seconds\nset [ghost v] effect to (55)\nwait (0) seconds\nset [ghost v] effect to (50)\nwait (0) seconds\nset [ghost v] effect to (45)\nwait (0) seconds\nset [ghost v] effect to (40)\nwait (0) seconds\nset [ghost v] effect to (35)\nwait (0) seconds\nset [ghost v] effect to (30)\nwait (0) seconds\nset [ghost v] effect to (25)\nwait (0) seconds\nset [ghost v] effect to (20)\nwait (0) seconds\nset [ghost v] effect to (15)\nwait (0) seconds\nset [ghost v] effect to (10)\nwait (0) seconds\nset [ghost v] effect to (5)\nwait (0) seconds\nset [ghost v] effect to (0)\nstart sound [pop v]\nbroadcast (GHOST2 v)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [starting v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [ghost2 v]\nshow\nset [ghost v] effect to (100)\nwait (0) seconds\nset [ghost v] effect to (95)\nwait (0) seconds\nset [ghost v] effect to (90)\nwait (0) seconds\nset [ghost v] effect to (85)\nwait (0) seconds\nset [ghost v] effect to (80)\nwait (0) seconds\nset [ghost v] effect to (75)\nwait (0) seconds\nset [ghost v] effect to (70)\nwait (0) seconds\nset [ghost v] effect to (65)\nwait (0) seconds\nset [ghost v] effect to (60)\nwait (0) seconds\nset [ghost v] effect to (55)\nwait (0) seconds\nset [ghost v] effect to (50)\nwait (0) seconds\nset [ghost v] effect to (45)\nwait (0) seconds\nset [ghost v] effect to (40)\nwait (0) seconds\nset [ghost v] effect to (35)\nwait (0) seconds\nset [ghost v] effect to (30)\nwait (0) seconds\nset [ghost v] effect to (25)\nwait (0) seconds\nset [ghost v] effect to (20)\nwait (0) seconds\nset [ghost v] effect to (15)\nwait (0) seconds\nset [ghost v] effect to (10)\nwait (0) seconds\nset [ghost v] effect to (5)\nwait (0) seconds\nset [ghost v] effect to (0)\nstart sound [pop v]\nbroadcast (sheep v)\n\nwhen backdrop switches to [starting v]\nhide\n\n@Rainbow Sheep\n\nwhen flag clicked\ngo to x: (22) y: (4)\nhide\n\nwhen I receive [sheep v]\nshow\nset [ghost v] effect to (100)\nwait (0) seconds\nset [ghost v] effect to (95)\nwait (0) seconds\nset [ghost v] effect to (90)\nwait (0) seconds\nset [ghost v] effect to (85)\nwait (0) seconds\nset [ghost v] effect to (80)\nwait (0) seconds\nset [ghost v] effect to (75)\nwait (0) seconds\nset [ghost v] effect to (70)\nwait (0) seconds\nset [ghost v] effect to (65)\nwait (0) seconds\nset [ghost v] effect to (60)\nwait (0) seconds\nset [ghost v] effect to (55)\nwait (0) seconds\nset [ghost v] effect to (50)\nwait (0) seconds\nset [ghost v] effect to (45)\nwait (0) seconds\nset [ghost v] effect to (40)\nwait (0) seconds\nset [ghost v] effect to (35)\nwait (0) seconds\nset [ghost v] effect to (30)\nwait (0) seconds\nset [ghost v] effect to (25)\nwait (0) seconds\nset [ghost v] effect to (20)\nwait (0) seconds\nset [ghost v] effect to (15)\nwait (0) seconds\nset [ghost v] effect to (10)\nwait (0) seconds\nset [ghost v] effect to (5)\nwait (0) seconds\nset [ghost v] effect to (0)\nstart sound [pop v]\nwait (1) seconds\nplay sound [recording1 v] until done\nwait (1) seconds\nbroadcast (Start Level 1 v)\n\nwhen backdrop switches to [starting v]\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 26 v]\ngo to x: (65) y: (-42)\nshow\n\nwhen this sprite clicked\nswitch backdrop to (level 1 v)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen backdrop switches to [level 1 v]\nhide\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 11 v]\ngo to x: (274) y: (31)\nshow\n\nwhen backdrop switches to [level 13 v]\ngo to x: (274) y: (31)\nshow\n\nwhen backdrop switches to [level 14 v]\ngo to x: (274) y: (31)\nhide\n\nwhen I receive [finish talking to sis v]\nhide\n\nwhen I receive [finish talking to stranger1 v]\nhide\n\nwhen I receive [finish talking to stranger2 v]\nhide\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 11 v]\ngo to x: (-185) y: (33)\nshow\n\nwhen backdrop switches to [level 13 v]\ngo to x: (-185) y: (33)\nshow\n\nwhen backdrop switches to [level 14 v]\ngo to x: (-185) y: (33)\nhide\n\nwhen I receive [finish talking to stranger1 v]\nhide\n\nwhen I receive [finish talking to sis v]\nhide\n\nwhen I receive [finish talking to stranger2 v]\nhide\n\nshow\n\n