World Platformer #3: Australia Edition

Instructions: Make your way through the different cities in Australia to find the treasure! Use good Tim Tams to fly over the obstacles! Beware of evil red planets, KOALAS, cricket balls, and bad Tim Tams that will come in your path!\n\n-  Heart and Star for a Free Follow -  \n\nWorld Platformer #1 - Europe Edition: https://scratch.mit.edu/projects/876611001/\nWorld Platformer #2 - https://scratch.mit.edu/projects/878828255/\nStudio: https://scratch.mit.edu/studios/33647147/

@Stage\n\nwhen flag clicked\nforever\n    play sound [Heal The World v] until done\nend\n\n@Earth\n\nwhen flag clicked\nshow\ngo to x: (-205) y: (-96)\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (costume4 v)\n        change [xv v] by (1)\n        turn right (15) degrees\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        switch costume to (costume3 v)\n        change [xv v] by (-1)\n        turn left (15) degrees\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#5a0000)?> or <touching (famous sites v)?>> then\n        change y by (1.0001)\n        if <<touching color (#5a0000)?> or <touching (famous sites v)?>> then\n            change y by (1.0001)\n            if <<touching color (#5a0000)?> or <touching (famous sites v)?>> then\n                change y by (1.0001)\n                if <<touching color (#5a0000)?> or <touching (famous sites v)?>> then\n                    change y by (1.0001)\n                    if <<touching color (#5a0000)?> or <touching (famous sites v)?>> then\n                        change y by (1.0001)\n                        if <<touching color (#5a0000)?> or <touching (famous sites v)?>> then\n                            change x by ((Xv) * (-1))\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [sprite3: 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 [sprite3: yv v] by (-1)\n    change y by (Sprite3: Yv)\n    if <touching color (#5a0000)?> then\n        change y by ((Sprite3: Yv) * (-1))\n        set [sprite3: yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#5a0000)?> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [sprite3: yv v] to [15]\n        end\n    end\n    change y by (-1)\n    if <(x position) > [200]> then\n        next backdrop\n        go to x: (-205) y: (-96)\n        broadcast (Spike v)\n    end\n    if <touching (spikes v)?> then\n        go to x: (-205) y: (-96)\n    end\n    if <touching (koala v)?> then\n        go to x: (-205) y: (-96)\n    end\n    if <touching (cricket ball v)?> then\n        go to x: (-205) y: (-96)\n    end\n    if <touching (tim tams v)?> then\n        go to x: (-205) y: (-96)\n    end\n    if <touching (good tim tam v)?> then\n        set [sprite3: yv v] to [21]\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (1 v)\npoint in direction (90)\n\nwhen [r v] key pressed\ngo to x: (-205) y: (-96)\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [spike v]\nnext costume\n\n@Famous Sites\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [spike v]\nnext costume\n\n@Koala\n\nwhen flag clicked\npoint in direction (90)\nhide\nwait until <([backdrop # v] of [_stage_ v]) = [12]>\ngo to x: (30) y: (-78)\npoint in direction (90)\nshow\nrepeat until <not <([backdrop # v] of [_stage_ v]) = [12]>>\n    repeat (80)\n        move (2) steps\n        if <not <([backdrop # v] of [_stage_ v]) = [12]>> then\n            hide\n            stop [this script v]\n        end\n    end\n    turn right (180) degrees\nend\n\n@Cricket Ball\n\nwhen flag clicked\npoint in direction (90)\nhide\nwait until <([backdrop # v] of [_stage_ v]) = [16]>\ngo to x: (30) y: (-78)\npoint in direction (90)\nshow\nrepeat until <not <([backdrop # v] of [_stage_ v]) = [16]>>\n    repeat (80)\n        move (4.5) steps\n        if <not <([backdrop # v] of [_stage_ v]) = [16]>> then\n            hide\n            stop [this script v]\n        end\n    end\n    turn right (180) degrees\nend\n\n@Tim Tams\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [22 v]\nshow\n\nwhen backdrop switches to [23 v]\nhide\n\n@Good Tim Tam\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [25 v]\nshow\n\nwhen backdrop switches to [26 v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n