(halloween) car platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop6 v)\n\nwhen I receive [play v]\nswitch backdrop to (a v)\nset [the level v] to [1]\nforever\n    switch backdrop to (The Level)\nend\n\n@Player\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen flag clicked\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by (-1.5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((X Velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(X Velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <<touching (lava v)?> or <touching (lava2 v)?>> then\n            broadcast (Reset v)\n        end\n        if <touching (spikes v)?> then\n            broadcast (Reset v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\n\nforever\n\n@Ground\n\nwhen flag clicked\nset [the level v] to [1]\nhide\n\nwhen I receive [play v]\nshow\nforever\n    switch costume to (The Level)\nend\n\n@Lava\n\nwhen flag clicked\nforever\n    set y to (Magma)\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\nset [magma v] to [0]\nforever\n    change [magma v] by (0.1)\n    create clone of (_myself_ v)\nend\n\nrepeat (10)\nend\nrepeat (20)\n    change [magma v] by (1)\nend\nrepeat (10)\n    change [magma v] by (1)\nend\n\n@Thumbnail\n\nwhen flag clicked\nshow\nwait (1) seconds\ngo to x: (0) y: (0)\nhide\ngo to [front v] layer\nclear graphic effects\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(Love) = [1]> and <(Favorite) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Player Trail\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (21)\nend\ndelete this clone\n\nwhen I receive [scroll v]\nhide\ndelete this clone\n\nwhen I receive [play v]\nshow\nforever\n    point in direction ([direction v] of [player v])\n    switch costume to ([costume name v] of [player v])\n    go to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n    create clone of (_myself_ v)\nend\n\n@LUVANDFAV\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    go to x: (0) y: (0)\nend\n\nwhen I receive [won v]\nshow\nwait (0.1) seconds\n\nwhen I receive [killallclones v]\nhide\n\n@EPICINTROFORXX4SUPERCAT4XX\n\ndefine Shake X (x) Y (y) Size (s) Repeat (#) direction: (direction) speed: (speed)\nshow\nset size to (s) %\nrepeat (#)\n    go to [front v] layer\n    change size by (((100) - (size)) / (8))\n    turn right (((direction) - (direction)) / (speed)) degrees\n    go to x: ((([sin v] of ((timer) * (1000)) ) * (((100) - (size)) / (2))) + (x)) y: ((([cos v] of ((timer) * (800)) ) * (((100) - (size)) / (2))) + (y))\nend\ngo to x: (x) y: (y)\n\ndefine Smooth Glide x position: (x) Y position: (y) Smoothness: (speed) Direction: (direction) Size: (size)\nrepeat until <<(round (x position)) = (round (x))> and <<(round (y position)) = (round (y))> and <<(round (size)) = (round (size))> and <(round (direction)) = (round (direction))>>>>\n    change x by (((round (x)) - (round (x position))) / (speed))\n    change y by (((round (y)) - (round (y position))) / (speed))\n    turn right (((round (direction)) - (round (direction))) / (speed)) degrees\n    change size by (((round (size)) - (round (size))) / (speed))\nend\n\nwhen flag clicked\nplay sound [Jim Yosef - Archer \[Fairytale\] v] until done\n\nwhen flag clicked\ngo to x: (0) y: (0)\npoint in direction (90)\nset size to (100) %\nclear graphic effects\nhide\n\nwhen flag clicked\nset [color v] effect to (Color)\n\ndefine Clone: (id)\nset [cloneid v] to (id)\ncreate clone of (_myself_ v)\nset [cloneid v] to [0]\n\ndefine beat\nClone: [Chev]\nbroadcast (chev v)\n\nwhen I start as a clone\nif <(cloneID) = [Chev]> then\n    show\n    set size to (0) %\n    switch costume to (chev v)\n    forever\n        go to x: ((cam x) * (-1)) y: ((cam y) * (-1))\n        point in direction ((cam d) * (-1))\n        set [color v] effect to (Color)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [Name]> then\n    set size to (0) %\n    go to [front v] layer\n    show\n    switch costume to (name v)\n    repeat (10)\n        change size by (((100) - (size)) / (7))\n    end\n    Clone: [Flash]\n    Line explo [] [] [75]\n    Shake X [0] Y [0] Size [175] Repeat [40] direction: [90] speed: [3]\n    set [color v] to [15]\n    Clone: [Flash]\n    Line explo [] [] [75]\n    Shake X [0] Y [0] Size [175] Repeat [35] direction: [90] speed: [3]\n    set [color v] to [35]\n    Clone: [thing2]\n    Line explo [-150] [150] [75]\n    Line explo [150] [-150] [75]\n    repeat (12)\n        turn left (15) degrees\n    end\n    set [color v] to [75]\n    Line explo [] [] [75]\n    Clone: [Flash]\n    Shake X [0] Y [0] Size [150] Repeat [15] direction: [-90] speed: [1.5]\n    Clone: [Thing]\n    Line explo [150] [150] [75]\n    Line explo [-150] [-150] [75]\n    repeat (24)\n        turn right (15) degrees\n    end\n    set [color v] to [125]\n    Clone: [Flash]\n    Line explo [] [] [75]\n    Shake X [0] Y [0] Size [150] Repeat [15] direction: [-90] speed: [1.5]\n    Clone: [thing2]\n    repeat (12)\n        turn left (15) degrees\n    end\n    set [color v] to [150]\n    Clone: [Flash]\n    Line explo [] [] [75]\n    Shake X [0] Y [0] Size [190] Repeat [15] direction: [90] speed: [2]\n    set [color v] to [0]\n    Clone: [Flash]\n    Line explo [] [] [75]\n    Shake X [0] Y [0] Size [190] Repeat [15] direction: [90] speed: [2]\n    set [color v] to [0]\n    repeat (24)\n        turn right (15) degrees\n    end\nend\n\nbeat\n\nwhen I receive [chev v]\nif <(cloneID) = [Chev]> then\n    if <(size) > [1250]> then\n        delete this clone\n    end\n    set [size v] to ((size) + (350))\n    repeat until <(round (size)) = (size)>\n        switch costume to (hack v)\n        change size by (((size) - (size)) / (7))\n        switch costume to (chev v)\n    end\nend\n\nset [cam d v] to [90]\n\n\n\nClone: [Name]\n\nwhen flag clicked\nClone: [T1]\nrepeat (10)\n    wait (0.05) seconds\n    Clone: [T2]\nend\n\nwhen I start as a clone\nif <(cloneID) = [T1]> then\n    switch costume to (t1 v)\n    go to x: (0) y: (0)\n    point in direction (90)\n    set size to (100) %\n    show\n    repeat (30)\n        change size by (0.5)\n    end\n    change size by (-15)\n    repeat (20)\n        switch costume to (hack v)\n        change size by (75)\n        switch costume to (t1 v)\n    end\n    wait (6.5) seconds\nend\n\nwhen I start as a clone\nif <(cloneID) = [T2]> then\n    switch costume to (trandom 1 v)\n    repeat (pick random (0) to (2))\n        next costume\n    end\n    go to x: (pick random (100) to (-100)) y: (pick random (-100) to (100))\n    show\n    Smooth Glide x position: [0] Y position: [0] Smoothness: [3] Direction: [90] Size: [100]\n    delete this clone\nend\n\nwhen flag clicked\nClone: [Space]\n\nwhen I start as a clone\nif <(cloneID) = [Space]> then\n    switch costume to (space v)\n    go to x: (0) y: (0)\n    point in direction (90)\n    set size to (100) %\n    show\n    clear graphic effects\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\n    clear graphic effects\n    delete this clone\nend\n\nwhen flag clicked\nwait (1) seconds\nClone: [Name]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\nwait (0.3) seconds\nClone: [ME]\nbeat\nwait (0.7) seconds\nClone: [ME]\nbeat\n\nwhen I start as a clone\n\nwhen I start as a clone\nif <(cloneID) = [Name]> then\n    forever\n        set [cam x v] to (x position)\n        set [cam y v] to (y position)\n        set [cam d v] to (direction)\n        set [color v] effect to (Color)\n    end\nend\n\nif <(cam d) > [180]> then\n    point in direction ((cam d) * (2))\nend\n\ngo to x: (cam x) y: (cam y)\npoint in direction (cam d)\n\nwhen I start as a clone\nif <(cloneID) = [T1]> then\n    forever\n        set [color v] effect to (Color)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [Flash]> then\n    go to x: (0) y: (0)\n    switch costume to (flash v)\n    set size to (100) %\n    go to [front v] layer\n    clear graphic effects\n    show\n    repeat (15)\n        change [ghost v] effect by (7.5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [Flash]> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen flag clicked\nset [color v] to [0]\nwait (1.3) seconds\n\nwhen I start as a clone\nif <(cloneID) = [T2]> then\n    forever\n        set [color v] effect to (Color)\n    end\nend\n\nwait (.7) seconds\n\nwait (.7) seconds\n\nwhen I start as a clone\nif <(cloneID) = [Pin]> then\n    go to x: (0) y: (0)\n    switch costume to (pinwheel v)\n    show\n    repeat (1000000)\n        turn right (5) degrees\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [Pin]> then\n    forever\n        set [color v] effect to (Color)\n    end\nend\n\nwhen flag clicked\nwait (1.2) seconds\nClone: [Pin]\n\nwhen I start as a clone\nif <(cloneID) = [Thing]> then\n    set [spin v] to [1]\n    go to x: (0) y: (0)\n    point in direction (90)\n    show\n    switch costume to (spin thing v)\n    show\n    repeat (19)\n        turn left (spin) degrees\n        change [spin v] by (2)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [Thing]> then\n    switch costume to (spin thing v)\n    wait (.5) seconds\n    repeat (2)\n        wait (0.02) seconds\n        next costume\n    end\nend\n\nClone: [Thing]\n\nwhen I start as a clone\nif <(cloneID) = [Thing2]> then\n    set [spin v] to [1]\n    go to x: (0) y: (0)\n    point in direction (90)\n    show\n    switch costume to (spin thing v)\n    show\n    repeat (19)\n        turn right (spin) degrees\n        change [spin v] by (2)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [Thing2]> then\n    switch costume to (spin thing v)\n    wait (.5) seconds\n    repeat (2)\n        wait (0.02) seconds\n        next costume\n    end\nend\n\nwhen flag clicked\nwait (2.2) seconds\nrepeat (25)\n    Clone: [S1]\nend\n\nwhen flag clicked\nwait (2.2) seconds\nrepeat (25)\n    Clone: [S2]\nend\n\nwhen I start as a clone\nif <(cloneID) = [S1]> then\n    switch costume to (flash v)\n    go to x: (-250) y: (-125)\n    switch costume to (splines v)\n    go to [front v] layer\n    point in direction (90)\n    show\n    repeat (10)\n        move (7) steps\n        turn right (5) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn right (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (10) degrees\n    end\n    repeat (5)\n        move (7) steps\n        turn left (5) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn right (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn right (10) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn right (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (7) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [S2]> then\n    switch costume to (flash v)\n    go to x: (250) y: (125)\n    switch costume to (splines v)\n    go to [front v] layer\n    point in direction (-90)\n    show\n    repeat (10)\n        move (7) steps\n        turn right (5) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn right (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (10) degrees\n    end\n    repeat (5)\n        move (7) steps\n        turn left (5) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn right (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn right (10) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn right (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (7) degrees\n    end\n    repeat (10)\n        move (7) steps\n        turn left (7) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [S2]> then\n    forever\n        set [color v] effect to (Color)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [S1]> then\n    forever\n        set [color v] effect to (Color)\n    end\nend\n\nwait () seconds\n\nwait () seconds\n\nwhen I start as a clone\nif <(cloneID) = [Shockwave 1]> then\n    switch costume to (shock v)\n    clear graphic effects\n    show\n    set size to (0) %\n    repeat (9)\n        next costume\n        change size by (((350) - (size)) / (5))\n    end\n    repeat (4)\n        next costume\n        change size by (((350) - (size)) / (2))\n        change [ghost v] effect by (10)\n    end\n    hide\n    delete this clone\nend\n\ndefine Circle shock (x) (y)\ngo to x: (x) y: (y)\nClone: [Shockwave 1]\n\nwhen I start as a clone\nif <(cloneID) = [Shockwave 2]> then\n    switch costume to (square shock v)\n    clear graphic effects\n    show\n    set size to (0) %\n    repeat (10)\n        next costume\n        change size by (((275) - (size)) / (5))\n    end\n    repeat (4)\n        next costume\n        change size by (((275) - (size)) / (2))\n        change [ghost v] effect by (10)\n    end\n    hide\n    delete this clone\nend\n\ndefine Square shock (x) (y)\ngo to x: (x) y: (y)\nClone: [Shockwave 2]\n\nwhen flag clicked\nwait (1.3) seconds\nAll\nwait (1.3) seconds\nAll\nwait (1.3) seconds\nAll\nwait (1.3) seconds\nAll\nwait (1.3) seconds\nAll\nwait (1.3) seconds\nAll\n\ndefine All\nCircle shock [-125] [125]\nCircle shock [125] [-125]\nSquare shock [-125] [-125]\nSquare shock [125] [125]\n\nAll\n\nwhen I start as a clone\nif <(cloneID) = [Shockwave 2]> then\n    forever\n        set [color v] effect to (Color)\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [Shockwave 1]> then\n    forever\n        set [color v] effect to (Color)\n    end\nend\n\ndefine Line explo (x) (y) (z)\nset size to (z) %\nrepeat (14)\n    Clone: [LE]\n    turn right (25) degrees\nend\n\nwhen I start as a clone\nif <(cloneID) = [LE]> then\n    go to x: (x) y: (y)\n    switch costume to (line v)\n    show\n    repeat (9)\n        move (10) steps\n        next costume\n    end\n    repeat (5)\n        move (6) steps\n        next costume\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [LE]> then\n    forever\n        set [color v] effect to (Color)\n    end\nend\n\nLine explo [] [] [75]\n\nwhen flag clicked\nwait (7.5) seconds\nClone: [O1]\nClone: [O2]\nClone: [O3]\nwait (1) seconds\nbroadcast (End v)\n\nwhen I start as a clone\nif <(cloneID) = [O1]> then\n    switch costume to (flash v)\n    go to x: (0) y: (-353)\n    switch costume to (out v)\n    show\n    repeat (30)\n        change y by (((0) - (y position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [O2]> then\n    switch costume to (flash v)\n    go to x: (150) y: (353)\n    switch costume to (out v)\n    show\n    repeat (30)\n        change y by (((0) - (y position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [O3]> then\n    switch costume to (flash v)\n    go to x: (300) y: (-353)\n    switch costume to (out v)\n    show\n    repeat (30)\n        change y by (((0) - (y position)) / (7))\n    end\nend\n\nwhen I start as a clone\nif <<<(cloneID) = [O1]> or <(cloneID) = [O2]>> or <(cloneID) = [O3]>> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nwait (1) seconds\nbroadcast (Start project v)\ndelete this clone\n\nwhen [space v] key pressed\nbroadcast (End v)\n\n\n\nwhen I start as a clone\nif <(cloneID) = [ME]> then\n    set rotation style [left-right v]\n    set [oofalotl v] to (pick random (1) to (2))\n    if <(oofalotl) = [1]> then\n        go to x: (-1230123) y: (pick random (-180) to (180))\n    else\n        go to x: (2143443) y: (pick random (-180) to (180))\n    end\n    show\n    if <(oofalotl) = [1]> then\n        Smooth Glide x position: [290] Y position: (pick random (-180) to (180)) Smoothness: [8] Direction: [-90] Size: [100]\n    else\n        Smooth Glide x position: [-290] Y position: (pick random (-180) to (180)) Smoothness: [8] Direction: [90] Size: [100]\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(cloneID) = [ME]> then\n    forever\n        set rotation style [left-right v]\n        switch costume to (me! v)\n        go to [front v] layer\n        clear graphic effects\n    end\nend\n\n@Sprite1\n\nwhen this sprite clicked\nhide list [difficulty level v]\n\nwhen I receive [close v]\nhide\n\nwhen [space v] key pressed\nshow\n\n@Sprite2\n\nwhen this sprite clicked\nshow list [difficulty level v]\nbroadcast (close v)\n\n@Button3\n\nwhen I receive [message1 v]\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\ngo to x: (70) y: (0)\nforever\n    point in direction ((([sin v] of ((my variable) + (50)) ) * (-5)) + (90))\n    change [my variable v] by (5)\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n        go to [front v] layer\n        set [brightness v] effect to (50)\n    else\n        set size to (100) %\n        clear graphic effects\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        switch costume to (costume1 v)\n    else\n        switch costume to (credits v)\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [play v]\nhide\n\n@Button2\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [message1 v]\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\ngo to x: (-70) y: (-80)\nforever\n    point in direction ((([sin v] of ((my variable) + (50)) ) * (-5)) + (90))\n    change [my variable v] by (3)\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n        go to [front v] layer\n        set [brightness v] effect to (50)\n    else\n        set size to (100) %\n        clear graphic effects\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        switch costume to (costume1 v)\n    else\n        switch costume to (help v)\n    end\nend\n\nwhen I receive [play v]\nhide\n\nwhen this sprite clicked\nask [what code do u know......] and wait\nif <(answer) = [p0g]> then\n    broadcast (code v)\nend\n\n@Button1\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [message1 v]\nshow\nset [my variable v] to [0]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\ngo to x: (70) y: (-80)\nforever\n    point in direction ((([sin v] of ((my variable) + (50)) ) * (-5)) + (90))\n    change [my variable v] by (3)\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n        go to [front v] layer\n        set [brightness v] effect to (50)\n    else\n        set size to (100) %\n        clear graphic effects\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (Play v) and wait\n    end\nend\n\nwhen I receive [play v]\nhide\n\n@Button4\n\nwhen I receive [message1 v]\nshow\nswitch costume to (shop v)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\ngo to x: (-70) y: (0)\nforever\n    point in direction ((([sin v] of ((my variable) + (50)) ) * (-5)) + (90))\n    change [my variable v] by (3)\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n        go to [front v] layer\n        set [brightness v] effect to (50)\n    else\n        set size to (100) %\n        clear graphic effects\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        switch costume to (costume1 v)\n    else\n        switch costume to (shop v)\n    end\nend\n\nwhen flag clicked\nbroadcast (message1 v)\nset [ghost v] effect to (100)\n\nwhen I receive [play v]\nhide\n\nwhen this sprite clicked\n\n@Lava2\n\nwhen flag clicked\n\nwhen I receive [play v]\nshow\nforever\n    set [magma v] to [0]\n    repeat (10)\n        change [magma v] by (0)\n    end\n    repeat (20)\n        change [magma v] by (0)\n    end\n    repeat (10)\n        change [magma v] by (-)\n    end\nend\n\nwhen I receive [play v]\nforever\n    set y to (Magma)\n    switch costume to (The Level)\nend\n\nwhen flag clicked\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\n\nwhen I receive [play v]\nforever\n    hide\nend\n\n@Sprite4\n\n@pog cat\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\nforever\n    move (-10) steps\n    glide (1) secs to (player v)\nend\n\ngo to (player trail v)\n\n
                               (UPDATE LOG)\n                                    new starter pets  \n                             flood escape event has ended\n                                new menu\n                                new jungle zone with a trap\n                                 new intro\n                                 new difficulty levels (space to show)\n                                 minor bugs fixed