Warriors the game platformer

Instructions: Autumn Whispers ~ https://scratch.mit.edu/projects/271432678/\n\nDirections~\nMovement ~ Arrow keys\nJump ~ Up arrow\nCeiling climb ~ Hold up arrow and headbutt ceiling\nTeleportation Sparkle ~ Space\nSkip level ~ You can't. Deal with it\n\nAll levels are possible. Use critical thinking and timing to complete the levels.

@Stage\n\nwhen flag clicked\nswitch backdrop to (beginning v)\nwait until <mouse down?>\nbroadcast (Question v)\n\nwhen I receive [level 1 v]\nswitch backdrop to (level 1 v)\nset [skin v] to [Blue]\nset [skin 2 v] to [Blue]\nset [velocity x v] to [0]\nset [velocity y v] to [0]\nset [velocity2 x v] to [0]\nset [velocity2 y v] to [0]\n\nwhen I receive [level 2 v]\nswitch backdrop to (level 2 v)\n\nwhen I receive [level 3 v]\nswitch backdrop to (level 3 v)\n\nwhen I receive [level 4 v]\nswitch backdrop to (level 4 v)\n\nwhen I receive [level 5 v]\nswitch backdrop to (level 5 v)\n\nwhen I receive [level 6 v]\nswitch backdrop to (level 6 v)\n\nwhen I receive [level 7 v]\nswitch backdrop to (level 7 v)\n\nwhen I receive [level 8 v]\nswitch backdrop to (level 8 v)\n\nwhen I receive [level 9 v]\nswitch backdrop to (level 9 v)\n\nwhen I receive [level 10 v]\nswitch backdrop to (level 10 v)\n\nwhen I receive [level 11 v]\nswitch backdrop to (level 11 v)\n\nwhen I receive [level 12 v]\nswitch backdrop to (level 12 v)\n\nwhen I receive [question v]\nswitch backdrop to (question v)\n\nwhen flag clicked\nforever\n    play sound [music v] until done\nend\n\n@Level\n\nwhen I receive [code v]\nshow\nforever\n    switch costume to ([backdrop name v] of [_stage_ v])\nend\n\nwhen flag clicked\nhide\n\n@Level Change\n\nwhen flag clicked\nforever\n    if <(Blue/Orange 1) = [0]> then\n        if <touching (player orange v)?> then\n            wait until <<not <touching (player orange v)?>> and <not <touching (player blue v)?>>>\n            set [blue/orange 1 v] to [1]\n        end\n        if <touching (player blue v)?> then\n            wait until <<not <touching (player orange v)?>> and <not <touching (player blue v)?>>>\n            set [blue/orange 1 v] to [2]\n        end\n    end\nend\n\nwhen I receive [code v]\nshow\nforever\n    switch costume to (join ([backdrop name v] of [_stage_ v]) (join [ ] (Blue/Orange 1)))\nend\n\nwhen flag clicked\nhide\n\n@Level Change2\n\nwhen flag clicked\nhide\n\nwhen I receive [code v]\nshow\nforever\n    switch costume to (join ([backdrop name v] of [_stage_ v]) (join [ ] (Blue/Orange 2)))\nend\n\nwhen flag clicked\nforever\n    if <(Blue/Orange 2) = [0]> then\n        if <touching (player orange v)?> then\n            wait until <<not <touching (player orange v)?>> and <not <touching (player blue v)?>>>\n            set [blue/orange 2 v] to [1]\n        end\n        if <touching (player blue v)?> then\n            wait until <<not <touching (player orange v)?>> and <not <touching (player blue v)?>>>\n            set [blue/orange 2 v] to [2]\n        end\n    end\nend\n\n@Level Change3\n\nwhen flag clicked\nhide\n\nwhen I receive [code v]\nshow\nforever\n    switch costume to (join ([backdrop name v] of [_stage_ v]) (join [ ] (Blue/Orange 3)))\nend\n\nwhen flag clicked\nforever\n    if <(Blue/Orange 3) = [0]> then\n        if <touching (player orange v)?> then\n            wait until <<not <touching (player orange v)?>> and <not <touching (player blue v)?>>>\n            set [blue/orange 3 v] to [1]\n        end\n        if <touching (player blue v)?> then\n            wait until <<not <touching (player orange v)?>> and <not <touching (player blue v)?>>>\n            set [blue/orange 3 v] to [2]\n        end\n    end\nend\n\n@Level Change4\n\nwhen flag clicked\nhide\n\nwhen I receive [code v]\nshow\nforever\n    switch costume to (join ([backdrop name v] of [_stage_ v]) (join [ ] (Blue/Orange 4)))\nend\n\nwhen flag clicked\nforever\n    if <(Blue/Orange 4) = [0]> then\n        if <touching (player orange v)?> then\n            wait until <<not <touching (player orange v)?>> and <not <touching (player blue v)?>>>\n            set [blue/orange 4 v] to [1]\n        end\n        if <touching (player blue v)?> then\n            wait until <<not <touching (player orange v)?>> and <not <touching (player blue v)?>>>\n            set [blue/orange 4 v] to [2]\n        end\n    end\nend\n\n@Lever\n\nwhen I receive [level 1 v]\nhide\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [1]\nset [blue/orange 3 v] to [1]\nset [blue/orange 4 v] to [1]\n\nwhen I receive [level 2 v]\nshow\ngo to x: (-118) y: (56)\npoint in direction (45)\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [1]\nset [blue/orange 3 v] to [1]\nset [blue/orange 4 v] to [1]\n\nwhen flag clicked\nhide\nforever\n    if <<[35] > (distance to [player orange v])> or <[35] > (distance to [player blue v])>> then\n        if <key (space v) pressed?> then\n            if <(Blue/Orange 1) = [2]> then\n                repeat (15)\n                    turn left (-6) degrees\n                end\n                set [blue/orange 1 v] to [1]\n                wait until <not <key (space v) pressed?>>\n            else\n                repeat (15)\n                    turn left (6) degrees\n                end\n                set [blue/orange 1 v] to [2]\n                wait until <not <key (space v) pressed?>>\n            end\n        end\n    end\nend\n\nwhen I receive [level 3 v]\nhide\nset [blue/orange 1 v] to [0]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 4 v]\nshow\ngo to x: (133) y: (54)\npoint in direction (45)\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 4 v]\nforever\n    set [blue/orange 3 v] to [1]\n    wait (1) seconds\n    set [blue/orange 3 v] to [2]\n    wait (1) seconds\n    if <not <([backdrop name v] of [_stage_ v]) = [Level 4]>> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [level 4 v]\nshow\ngo to x: (133) y: (54)\npoint in direction (45)\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [1]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 5 v]\nshow\ngo to x: (-198) y: (-34)\npoint in direction (45)\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [1]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 6 v]\nhide\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 7 v]\ngo to x: (-162) y: (-15)\npoint in direction (45)\nshow\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 8 v]\ngo to x: (3) y: (8)\npoint in direction (45)\nshow\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 9 v]\ngo to x: (143) y: (-30)\npoint in direction (45)\nshow\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 10 v]\nhide\nset [blue/orange 1 v] to [0]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 11 v]\ngo to x: (-193) y: (-135)\npoint in direction (45)\nshow\nset [blue/orange 1 v] to [1]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\nwhen I receive [level 12 v]\nhide\nset [blue/orange 1 v] to [0]\nset [blue/orange 2 v] to [0]\nset [blue/orange 3 v] to [0]\nset [blue/orange 4 v] to [0]\n\n@Flag\n\nwhen I receive [level 2 v]\ngo to x: (122) y: (76)\n\nwhen I receive [level 1 v]\nset size to (100) %\nshow\ngo to x: (-19) y: (65)\n\nwhen I receive [level 3 v]\ngo to x: (210) y: (76)\n\nwhen I receive [level 4 v]\ngo to x: (0) y: (128)\n\nwhen I receive [level 5 v]\ngo to x: (0) y: (140)\n\nwhen I receive [level 6 v]\ngo to x: (-165) y: (75)\n\nwhen I receive [level 7 v]\ngo to x: (114) y: (131)\n\nwhen I receive [level 8 v]\ngo to x: (2) y: (-117)\n\nwhen I receive [level 12 v]\nhide\n\nwhen I receive [level 9 v]\nset size to (100) %\nshow\ngo to x: (143) y: (116)\n\nwhen I receive [level 10 v]\ngo to x: (-1) y: (141)\n\nwhen I receive [level 11 v]\ngo to x: (196) y: (-117)\n\nwhen I receive [question v]\nhide\n\nwhen flag clicked\ngo to x: (0) y: (-48)\nset size to (220) %\nshow\nforever\n    wait (0.02) seconds\n    next costume\nend\n\n@Flag Area\n\nwhen I receive [code v]\nshow\nforever\n    go to (flag v)\n    if <<touching (player blue v)?> and <touching (player orange v)?>> then\n        if <not <([backdrop name v] of [_stage_ v]) = [Level 12]>> then\n            if <(length of ([backdrop name v] of [_stage_ v])) = [7]> then\n                broadcast (join [Level ] ((letter (length of ([backdrop name v] of [_stage_ v])) of ([backdrop name v] of [_stage_ v])) + (1)))\n            end\n            if <(length of ([backdrop name v] of [_stage_ v])) = [8]> then\n                broadcast (join [Level 1] ((letter (length of ([backdrop name v] of [_stage_ v])) of ([backdrop name v] of [_stage_ v])) + (1)))\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\n@Player Orange\n\ndefine Platform Gravity: (gravity) Jump Height: (jump height) Side Movement Speed (side movement) Friction (friction)\nif <(Paused) = [No]> then\n    set [costume 2 v] to (costume [name v])\n    if <(letter (length of (costume [name v])) of (costume [name v])) = [p]> then\n        switch costume to (hitboxjump v)\n    else\n        switch costume to (hitbox v)\n    end\n    change [velocity2 y v] by (gravity)\n    change y by (Velocity2 Y)\n    if <<touching color (#323232)?> or <touching color (#805a20)?>> then\n        repeat until <<not <touching color (#323232)?>> and <not <touching color (#805a20)?>>>\n            if <<(letter (length of (costume [name v])) of (costume [name v])) = [p]> and <touching color (#323232)?>> then\n                switch costume to (join (Skin 2) [1])\n                set [costume 2 v] to (costume [name v])\n                switch costume to (hitbox v)\n                change y by (((([abs v] of (Velocity2 Y) ) / (Velocity2 Y)) * (gravity)) * (-1))\n            end\n            change y by ((([abs v] of (Velocity2 Y) ) / (Velocity2 Y)) * (gravity))\n        end\n        set [velocity2 y v] to (<<key (w v) pressed?> and <(([abs v] of (Velocity2 Y) ) / (Velocity2 Y)) = [-1]>> * (jump height))\n    end\n    set [velocity2 x v] to (((Velocity2 X) + ((<key (a v) pressed?> * ((side movement) * (-1))) + (<key (d v) pressed?> * (side movement)))) * (friction))\n    change x by (Velocity2 X)\n    if <<touching color (#323232)?> or <touching color (#805a20)?>> then\n        repeat until <<not <touching color (#323232)?>> and <not <touching color (#805a20)?>>>\n            change x by ((([abs v] of (Velocity2 X) ) / (Velocity2 X)) * (-1))\n        end\n    end\n    switch costume to (Costume 2)\nend\n\ndefine Costumes Code\nif <(Paused) = [No]> then\n    if <(Velocity2 Y) = [0]> then\n        switch costume to (join (Skin 2) (join (direction) [1]))\n        wait (0.15) seconds\n        switch costume to (join (Skin 2) (join (direction) [2]))\n        wait (0.15) seconds\n    end\n    if <[0] < (Velocity2 Y)> then\n        switch costume to (join (Skin 2) (join (direction) [J]))\n    end\n    if <(Velocity2 Y) < [0]> then\n        switch costume to (join (Skin 2) (join (direction) [S]))\n    end\nend\n\ndefine Direction Code\nif <(Paused) = [No]> then\n    if <<key (a v) pressed?> or <key (d v) pressed?>> then\n        if <key (a v) pressed?> then\n            point in direction (-90)\n        end\n        if <key (d v) pressed?> then\n            point in direction (90)\n        end\n    else\n        point in direction (0)\n    end\nend\n\ndefine Movement Code\nPlatform Gravity: [-1.1] Jump Height: [12.5] Side Movement Speed [2.5] Friction [0.7]\n\nwhen I receive [code v]\nforever\n    Direction Code\nend\n\nwhen I receive [code v]\nforever\n    Costumes Code\nend\n\nwhen I receive [level 9 v]\nshow\ngo to x: (-225) y: (140)\n\nwhen I receive [level 10 v]\nshow\ngo to x: (-200) y: (-80)\n\nwhen I receive [level 11 v]\nshow\ngo to x: (-216) y: (-100)\n\nwhen flag clicked\nforever\n    if <<(y position) < [-170]> or <touching (spikes v)?>> then\n        broadcast ([backdrop name v] of [_stage_ v])\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level 1 v]\nshow\ngo to x: (-190) y: (-100)\n\nwhen I receive [level 2 v]\nshow\ngo to x: (-190) y: (-100)\n\nwhen I receive [code v]\nforever\n    Movement Code\nend\n\nwhen I receive [level 3 v]\nshow\ngo to x: (-210) y: (-90)\n\nwhen I receive [level 4 v]\nshow\ngo to x: (210) y: (-100)\n\nwhen I receive [level 5 v]\nshow\ngo to x: (-208) y: (-100)\n\nwhen I receive [level 6 v]\nshow\ngo to x: (111) y: (-100)\n\nwhen I receive [level 7 v]\nshow\ngo to x: (-153) y: (-100)\n\nwhen I receive [level 8 v]\nshow\ngo to x: (-220) y: (125)\n\n@Player Blue\n\ndefine Platform Gravity: (gravity) Jump Height: (jump height) Side Movement Speed (side movement) Friction (friction)\nif <(Paused) = [No]> then\n    set [costume v] to (costume [name v])\n    if <(letter (length of (costume [name v])) of (costume [name v])) = [p]> then\n        switch costume to (hitboxjump v)\n    else\n        switch costume to (hitbox v)\n    end\n    change [velocity y v] by (gravity)\n    change y by (Velocity Y)\n    if <<touching color (#323232)?> or <touching color (#204980)?>> then\n        repeat until <<not <touching color (#323232)?>> and <not <touching color (#204980)?>>>\n            if <<(letter (length of (costume [name v])) of (costume [name v])) = [p]> and <<touching color (#323232)?> or <touching color (#204980)?>>> then\n                switch costume to (join (Skin) [1])\n                set [costume v] to (costume [name v])\n                switch costume to (hitbox v)\n                change y by (((([abs v] of (Velocity Y) ) / (Velocity Y)) * (gravity)) * (-1))\n            end\n            change y by ((([abs v] of (Velocity Y) ) / (Velocity Y)) * (gravity))\n        end\n        set [velocity y v] to (<<key (up arrow v) pressed?> and <(([abs v] of (Velocity Y) ) / (Velocity Y)) = [-1]>> * (jump height))\n    end\n    set [velocity x v] to (((Velocity X) + ((<key (left arrow v) pressed?> * ((side movement) * (-1))) + (<key (right arrow v) pressed?> * (side movement)))) * (friction))\n    change x by (Velocity X)\n    if <<touching color (#323232)?> or <touching color (#204980)?>> then\n        repeat until <<not <touching color (#323232)?>> and <not <touching color (#204980)?>>>\n            change x by ((([abs v] of (Velocity X) ) / (Velocity X)) * (-1))\n        end\n    end\n    switch costume to (Costume)\nend\n\ndefine Dying Code\nset [paused v] to [Yes]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast ([backdrop name v] of [_stage_ v])\nclear graphic effects\nset [paused v] to [No]\n\ndefine Costumes Code\nif <(Paused) = [No]> then\n    if <(Velocity Y) = [0]> then\n        switch costume to (join (Skin) (join (direction) [1]))\n        wait (0.15) seconds\n        switch costume to (join (Skin) (join (direction) [2]))\n        wait (0.15) seconds\n    end\n    if <[0] < (Velocity Y)> then\n        switch costume to (join (Skin) (join (direction) [J]))\n    end\n    if <(Velocity Y) < [0]> then\n        switch costume to (join (Skin) (join (direction) [S]))\n    end\nend\n\ndefine Direction Code\nif <(Paused) = [No]> then\n    if <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>> then\n        if <key (left arrow v) pressed?> then\n            point in direction (-90)\n        end\n        if <key (right arrow v) pressed?> then\n            point in direction (90)\n        end\n    else\n        point in direction (0)\n    end\nend\n\ndefine Movement Code\nPlatform Gravity: [-1.1] Jump Height: [12.5] Side Movement Speed [2.5] Friction [0.7]\n\nwhen I receive [dying v]\nDying Code\n\nwhen I receive [code v]\nforever\n    Direction Code\nend\n\nwhen I receive [code v]\nforever\n    Costumes Code\nend\n\nwhen flag clicked\nforever\n    if <<(y position) < [-170]> or <touching (spikes v)?>> then\n        broadcast ([backdrop name v] of [_stage_ v])\n    end\nend\n\nwhen I receive [level 9 v]\nshow\ngo to x: (-190) y: (140)\n\nwhen I receive [level 10 v]\nshow\ngo to x: (-100) y: (-80)\n\nwhen I receive [level 11 v]\nshow\ngo to x: (-171) y: (-100)\n\nwhen I receive [level 8 v]\nshow\ngo to x: (220) y: (125)\n\nwhen I receive [code v]\nforever\n    Movement Code\nend\n\nwhen I receive [level 2 v]\nshow\ngo to x: (-143) y: (-100)\n\nwhen I receive [level 1 v]\nshow\ngo to x: (-143) y: (-100)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(y position) < [-170]> then\n        broadcast ([backdrop name v] of [_stage_ v])\n    end\nend\n\nwhen I receive [level 3 v]\nshow\ngo to x: (-150) y: (-90)\n\nwhen I receive [level 4 v]\nshow\ngo to x: (-210) y: (-100)\n\nwhen I receive [level 5 v]\nshow\ngo to x: (-143) y: (-100)\n\nwhen I receive [level 6 v]\nshow\ngo to x: (170) y: (-100)\n\nwhen I receive [level 7 v]\nshow\ngo to x: (145) y: (-100)\n\n@Foreground\n\nwhen I receive [code v]\nshow\nforever\n    switch costume to (join ([backdrop name v] of [_stage_ v]) (join [ ] (Blue/Orange 1)))\nend\n\nwhen flag clicked\nhide\n\n@Spikes\n\nwhen I receive [code v]\nshow\nforever\n    switch costume to ([backdrop name v] of [_stage_ v])\n    if <<touching (player orange v)?> or <touching (player blue v)?>> then\n        broadcast ([backdrop name v] of [_stage_ v])\n    end\nend\n\nwhen flag clicked\nhide\n\n@Text 1\n\nwhen I receive [question v]\nstop [other scripts in sprite v]\nshow\ngo to x: (0) y: (0)\nclear graphic effects\nswitch costume to (costume2 v)\n\nwhen I receive [level 2 v]\nhide\n\nwhen I receive [level 1 v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [level 9 v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\ngo to x: (0) y: (-158)\nhide\nwait (2) seconds\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\n@Text 2\n\nwhen I receive [question v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\n@Text 3\n\nwhen I receive [level 12 v]\ngo to x: (0) y: (50)\nclear graphic effects\nshow\nswitch costume to (costume2 v)\n\nwhen I receive [question v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nwait (1) seconds\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\n@Reset\n\nwhen I receive [code v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((200) - (size)) / (3))\n    else\n        change size by (((150) - (size)) / (3))\n    end\nend\n\nwhen I receive [code v]\nshow\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        wait until <not <mouse down?>>\n        if <not <([backdrop name v] of [_stage_ v]) = [Level 12]>> then\n            broadcast ([backdrop name v] of [_stage_ v])\n        end\n    end\nend\n\nwhen I receive [level 12 v]\nstop [other scripts in sprite v]\nhide\n\nwhen flag clicked\nhide\n\n@Skip\n\nwhen I receive [code v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((200) - (size)) / (3))\n    else\n        change size by (((150) - (size)) / (3))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [code v]\nshow\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        wait until <not <mouse down?>>\n        if <not <([backdrop name v] of [_stage_ v]) = [Level 12]>> then\n            if <(length of ([backdrop name v] of [_stage_ v])) = [7]> then\n                broadcast (join [Level ] ((letter (length of ([backdrop name v] of [_stage_ v])) of ([backdrop name v] of [_stage_ v])) + (1)))\n            end\n            if <(length of ([backdrop name v] of [_stage_ v])) = [8]> then\n                broadcast (join [Level 1] ((letter (length of ([backdrop name v] of [_stage_ v])) of ([backdrop name v] of [_stage_ v])) + (1)))\n            end\n        end\n    end\nend\n\nwhen I receive [level 12 v]\nstop [other scripts in sprite v]\nhide\n\n@Skip2\n\nwhen I receive [question v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((200) - (size)) / (3))\n    else\n        change size by (((150) - (size)) / (3))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level 1 v]\nhide\n\nwhen I receive [level 12 v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [level 9 v]\nhide\n\nwhen this sprite clicked\nwait until <not <mouse down?>>\nbroadcast (Level 9 v)\nbroadcast (Code v)\n\n@Skip3\n\nwhen I receive [question v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((200) - (size)) / (3))\n    else\n        change size by (((150) - (size)) / (3))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level 1 v]\nhide\n\nwhen I receive [level 12 v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [level 9 v]\nhide\n\nwhen this sprite clicked\nwait until <not <mouse down?>>\nbroadcast (Level 1 v)\nbroadcast (Code v)\n\n