Mello 2 // A Platformer #games
@Stage\n\nwhen [m v] key pressed\nif <(volume) = [100]> then\n    set volume to (0) %\nelse\n    set volume to (100) %\nend\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [2Everyone Is Gay - A Great Big World \(Piano\) v] until done\nend\n\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [,] ((mouse y) + (SCROLL Y))))\nshow variable [mouse v]\n\n@Player\n\nwhen I receive [start v]\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [play game v]\nswitch costume to (LEVEL)\nswitch backdrop to (platforming screen v)\nrepeat until <(LEVEL) = [Home]>\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v) and wait\n    end\n    if <(EXIT) = [win]> then\n        Game - Win\n    else\n        if <(EXIT) = [skip]> then\n            Game - Skip\n        else\n            Game - Die\n        end\n    end\nend\nhide\n\ndefine Game On\nif <(CHECKPOINT HIT) = [Yes]> then\n    set [x v] to (CHECKPOINT X)\n    set [y v] to (CHECKPOINT Y)\n    set [scroll x v] to (CHECKPOINT X)\n    set [scroll y v] to (CHECKPOINT Y)\nelse\n    set [x v] to [0]\n    set [y v] to [0]\n    set [scroll x v] to [0]\n    set [scroll y v] to [0]\nend\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset [ghost v] effect to (0)\nshow\n\ndefine Tick\nif <key (left arrow v) pressed?> then\n    switch costume to (join (LEVEL) [2])\n    change [sx v] by (-2)\nend\nif <key (right arrow v) pressed?> then\n    switch costume to (LEVEL)\n    change [sx v] by (2)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player x by (round (sx))\nend\nif <key (up arrow v) pressed?> then\n    if <(in air) < [4]> then\n        set [sy v] to [16]\n    end\nend\nchange [sy v] by (-2)\nChange Player y by (sy)\nPosition\nTest - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <touching (platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (platforms v)?> then\n    repeat (8)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-8)\n    repeat until <not <touching (platforms v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game - Die\nset [exit v] to []\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\nwait (.3) seconds\n\ndefine Test - Die\nif <touching (danger v)?> then\n    set [exit v] to [die]\nend\n\ndefine Game - Win\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nwait (.01) seconds\nset [level v] to [Home]\nswitch backdrop to (home v)\nbroadcast (Home Screen v)\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\ngo to [front v] layer\nset [checkpoint y v] to [0]\nset [checkpoint x v] to [0]\n\ndefine Game - Skip\nhide\nset [level v] to [Home]\nswitch backdrop to (home v)\nbroadcast (Home Screen v)\nstop [other scripts in sprite v]\n\nwhen I receive [skip v]\nhide\n\nset [scroll x v] to [0]\nset [scroll y v] to [0]\n\n@Platforms\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [Home]> then\n    switch backdrop to (home v)\n    hide\n    delete this clone\nelse\n    if <(LEVEL) = [Pan]> then\n        switch costume to (pan1 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    else\n        if <(LEVEL) = [Demirom]> then\n            switch costume to (demirom1 v)\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n        else\n            if <(LEVEL) = [Genderfluid]> then\n                switch costume to (genderfluid1 v)\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n            else\n                if <(LEVEL) = [Genderqueer]> then\n                    switch costume to (genderqueer1 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                else\n                    if <(LEVEL) = [Demisex]> then\n                        switch costume to (demisex1 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [0]\n                    else\n                        if <(LEVEL) = [Nb]> then\n                            switch costume to (nb1 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                        else\n                            if <(LEVEL) = [Poly]> then\n                                switch costume to (poly1 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                if <(LEVEL) = [Gay]> then\n                                    switch costume to (gay1 v)\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                else\n                                    if <(LEVEL) = [Bi]> then\n                                        switch costume to (bi1 v)\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                    else\n                                        if <(LEVEL) = [Agender]> then\n                                            switch costume to (agender1 v)\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                        else\n                                            if <(LEVEL) = [Lesbian]> then\n                                                switch costume to (lesbian1 v)\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                            else\n                                                if <(LEVEL) = [Trans]> then\n                                                    switch costume to (trans1 v)\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                else\n                                                    if <(LEVEL) = [Ace]> then\n                                                        switch costume to (ace1 v)\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                    else\n                                                        switch costume to (aro1 v)\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [home v]\nhide\ndelete this clone\n\n@Danger\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [Home]> then\n    hide\n    delete this clone\nelse\n    if <(LEVEL) = [Pan]> then\n        hide\n        switch costume to (pan1 v)\n        Clone at x: [360] y: [-70]\n        Clone at x: [360] y: [70]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    else\n        if <(LEVEL) = [Demirom]> then\n            set [x v] to [9999]\n            hide\n            delete this clone\n        else\n            if <(LEVEL) = [Genderfluid]> then\n                switch costume to (genderfluid1 v)\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n            else\n                if <(LEVEL) = [Genderqueer]> then\n                    switch costume to (genderqueer1 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                else\n                    if <(LEVEL) = [Demisex]> then\n                        switch costume to (demisex1 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [0]\n                    else\n                        if <(LEVEL) = [Nb]> then\n                            switch costume to (nb1 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                        else\n                            if <(LEVEL) = [Poly]> then\n                                switch costume to (poly1 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                if <(LEVEL) = [Gay]> then\n                                    switch costume to (gay1 v)\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                else\n                                    if <(LEVEL) = [Bi]> then\n                                        switch costume to (bi1 v)\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                    else\n                                        if <(LEVEL) = [Agender]> then\n                                            switch costume to (agender1 v)\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                        else\n                                            if <(LEVEL) = [Lesbian]> then\n                                                switch costume to (lesbian1 v)\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                            else\n                                                if <(LEVEL) = [Trans]> then\n                                                    switch costume to (trans1 v)\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                else\n                                                    if <(LEVEL) = [Ace]> then\n                                                        switch costume to (ace1 v)\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                    else\n                                                        switch costume to (aro1 v)\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nset [x v] to [9999]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [home v]\nhide\ndelete this clone\n\n@Checkpoint\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [checkpoint hit v] to [Yes]\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [Home]> then\n    hide\n    delete this clone\nelse\n    if <(LEVEL) = [Pan]> then\n        switch costume to (pan v)\n        change [x v] by (1560)\n        change [y v] by (-48)\n        set [checkpoint x v] to (x)\n        set [checkpoint y v] to (y)\n    else\n        if <(LEVEL) = [Demirom]> then\n            hide\n            set [x v] to [99999]\n        else\n            if <(LEVEL) = [Genderfluid]> then\n                switch costume to (genderfluid v)\n                change [x v] by (2258)\n                change [y v] by (-48)\n                set [checkpoint x v] to (x)\n                set [checkpoint y v] to (y)\n            else\n                if <(LEVEL) = [Genderqueer]> then\n                    switch costume to (genderqueer v)\n                    change [x v] by (1897)\n                    change [y v] by (-48)\n                    set [checkpoint x v] to (x)\n                    set [checkpoint y v] to (y)\n                else\n                    if <(LEVEL) = [Demisex]> then\n                        switch costume to (demisex v)\n                        change [x v] by (1429)\n                        change [y v] by (742)\n                        set [checkpoint x v] to (x)\n                        set [checkpoint y v] to (y)\n                    else\n                        if <(LEVEL) = [Nb]> then\n                            switch costume to (nb v)\n                            change [x v] by (1440)\n                            change [y v] by (-48)\n                            set [checkpoint x v] to (x)\n                            set [checkpoint y v] to (y)\n                        else\n                            if <(LEVEL) = [Poly]> then\n                                switch costume to (poly v)\n                                change [x v] by (1982)\n                                change [y v] by (290)\n                                set [checkpoint x v] to (x)\n                                set [checkpoint y v] to (y)\n                            else\n                                if <(LEVEL) = [Gay]> then\n                                    switch costume to (gay v)\n                                    change [x v] by (1437)\n                                    change [y v] by (50)\n                                    set [checkpoint x v] to (x)\n                                    set [checkpoint y v] to (y)\n                                else\n                                    if <(LEVEL) = [Bi]> then\n                                        switch costume to (bi v)\n                                        change [x v] by (1796)\n                                        change [y v] by (-48)\n                                        set [checkpoint x v] to (x)\n                                        set [checkpoint y v] to (y)\n                                    else\n                                        if <(LEVEL) = [Agender]> then\n                                            switch costume to (agender v)\n                                            change [x v] by (1780)\n                                            change [y v] by (-48)\n                                            set [checkpoint x v] to (x)\n                                            set [checkpoint y v] to (y)\n                                        else\n                                            if <(LEVEL) = [Lesbian]> then\n                                                switch costume to (lesbian v)\n                                                change [x v] by (1885)\n                                                change [y v] by (-48)\n                                                set [checkpoint x v] to (x)\n                                                set [checkpoint y v] to (y)\n                                            else\n                                                if <(LEVEL) = [Trans]> then\n                                                    switch costume to (trans v)\n                                                    change [x v] by (2136)\n                                                    change [y v] by (-48)\n                                                    set [checkpoint x v] to (x)\n                                                    set [checkpoint y v] to (y)\n                                                else\n                                                    if <(LEVEL) = [Ace]> then\n                                                        switch costume to (ace v)\n                                                        change [x v] by (1444)\n                                                        change [y v] by (85)\n                                                        set [checkpoint x v] to (x)\n                                                        set [checkpoint y v] to (y)\n                                                    else\n                                                        switch costume to (aro v)\n                                                        change [x v] by (1434)\n                                                        change [y v] by (-48)\n                                                        set [checkpoint x v] to (x)\n                                                        set [checkpoint y v] to (y)\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [home v]\nset [checkpoint hit v] to [No]\nhide\ndelete this clone\n\n@Exit\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [ghost v] effect to (0)\nset size to (20) %\nif <(LEVEL) = [Home]> then\n    hide\nelse\n    if <(LEVEL) = [Pan]> then\n        show\n        switch costume to (pan v)\n        Clone at x: [3360] y: [-63]\n        hide\n    else\n        if <(LEVEL) = [Demirom]> then\n            show\n            switch costume to (demirom v)\n            Clone at x: [2550] y: [-65]\n            hide\n        else\n            if <(LEVEL) = [Genderfluid]> then\n                show\n                switch costume to (genderfluid v)\n                Clone at x: [3725] y: [-65]\n                hide\n            else\n                if <(LEVEL) = [Genderqueer]> then\n                    show\n                    switch costume to (genderqueer v)\n                    Clone at x: [3355] y: [-65]\n                    hide\n                else\n                    if <(LEVEL) = [Demisex]> then\n                        show\n                        switch costume to (demisex v)\n                        Clone at x: [2485] y: [1020]\n                        hide\n                    else\n                        if <(LEVEL) = [Nb]> then\n                            show\n                            switch costume to (nb v)\n                            Clone at x: [2636] y: [-65]\n                            hide\n                        else\n                            if <(LEVEL) = [Poly]> then\n                                show\n                                switch costume to (poly v)\n                                Clone at x: [3710] y: [-65]\n                                hide\n                            else\n                                if <(LEVEL) = [Gay]> then\n                                    show\n                                    switch costume to (gay v)\n                                    Clone at x: [3000] y: [-65]\n                                    hide\n                                else\n                                    if <(LEVEL) = [Bi]> then\n                                        show\n                                        switch costume to (bi v)\n                                        Clone at x: [3715] y: [-65]\n                                        hide\n                                    else\n                                        if <(LEVEL) = [Agender]> then\n                                            show\n                                            switch costume to (agender v)\n                                            Clone at x: [3705] y: [-65]\n                                            hide\n                                        else\n                                            if <(LEVEL) = [Lesbian]> then\n                                                show\n                                                switch costume to (lesbian v)\n                                                Clone at x: [3710] y: [-65]\n                                                hide\n                                            else\n                                                if <(LEVEL) = [Trans]> then\n                                                    show\n                                                    switch costume to (trans v)\n                                                    Clone at x: [3339] y: [-65]\n                                                    hide\n                                                else\n                                                    if <(LEVEL) = [Ace]> then\n                                                        show\n                                                        switch costume to (ace v)\n                                                        Clone at x: [2619] y: [-65]\n                                                        hide\n                                                    else\n                                                        show\n                                                        switch costume to (aro v)\n                                                        Clone at x: [3358] y: [-65]\n                                                        hide\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nset [x v] to [-99999]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [win]\n    broadcast (Flag Hit! v)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [home v]\nhide\n\nwhen I receive [flag hit! v]\nif <(costume [name v]) = [Ace]> then\n    change [ace v] by (1)\nelse\n    if <(costume [name v]) = [Aro]> then\n        change [aro v] by (1)\n    else\n        if <(costume [name v]) = [Demisex]> then\n            change [demisex v] by (1)\n        else\n            if <(costume [name v]) = [Demirom]> then\n                change [demirom v] by (1)\n            else\n                if <(costume [name v]) = [Nb]> then\n                    change [nb v] by (1)\n                else\n                    if <(costume [name v]) = [Poly]> then\n                        change [poly v] by (1)\n                    else\n                        if <(costume [name v]) = [Pan]> then\n                            change [pan v] by (1)\n                        else\n                            if <(costume [name v]) = [Genderqueer]> then\n                                change [genderqueer v] by (1)\n                            else\n                                if <(costume [name v]) = [Agender]> then\n                                    change [agender v] by (1)\n                                else\n                                    if <(costume [name v]) = [Genderfluid]> then\n                                        change [genderfluid v] by (1)\n                                    else\n                                        if <(costume [name v]) = [Gay]> then\n                                            change [gay v] by (1)\n                                        else\n                                            if <(costume [name v]) = [Lesbian]> then\n                                                change [lesbian v] by (1)\n                                            else\n                                                if <(costume [name v]) = [Bi]> then\n                                                    change [bi v] by (1)\n                                                else\n                                                    change [trans v] by (1)\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Button Ace\n\nwhen flag clicked\ngo to x: (-190) y: (145)\nshow\nforever\n    if <(Ace) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Ace]\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\n@Button Aro\n\nwhen flag clicked\ngo to x: (-95) y: (145)\nshow\nforever\n    if <(Aro) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Aro]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Demisexual\n\nwhen flag clicked\ngo to x: (0) y: (145)\nshow\nforever\n    if <(Demisex) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Demisex]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Demiromantic\n\nwhen flag clicked\ngo to x: (95) y: (145)\nshow\nforever\n    if <(Demirom) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Demirom]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Nb\n\nwhen flag clicked\ngo to x: (190) y: (145)\nshow\nforever\n    if <(Nb) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Nb]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Poly\n\nwhen flag clicked\ngo to x: (-190) y: (82)\nshow\nforever\n    if <(Poly) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Poly]\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen backdrop switches to [home v]\nshow\n\n@Button Pan\n\nwhen flag clicked\ngo to x: (-95) y: (82)\nshow\nforever\n    if <(Pan) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Pan]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Genderqueer\n\nwhen flag clicked\ngo to x: (0) y: (82)\nshow\nforever\n    if <(Genderqueer) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Genderqueer]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Agender\n\nwhen flag clicked\ngo to x: (95) y: (82)\nshow\nforever\n    if <(Agender) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Agender]\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [start v]\nhide\n\n@Button Genderfluid\n\nwhen flag clicked\ngo to x: (190) y: (82)\nshow\nforever\n    if <(Genderfluid) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Genderfluid]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Gay\n\nwhen flag clicked\ngo to x: (-140) y: (18)\nshow\nforever\n    if <(Gay) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Gay]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Lesbian\n\nwhen flag clicked\ngo to x: (-47) y: (18)\nshow\nforever\n    if <(Lesbian) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Lesbian]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Bi\n\nwhen flag clicked\ngo to x: (47) y: (18)\nshow\nforever\n    if <(Bi) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Bi]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Button Trans\n\nwhen flag clicked\ngo to x: (140) y: (18)\nshow\nforever\n    if <(Trans) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Start v)\nset [level v] to [Trans]\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\n@Thumbnail/Front Page\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (front page v)\nset [ghost v] effect to (0)\ngo to [front v] layer\nshow\n\nwhen this sprite clicked\nbroadcast (Home Screen v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nswitch costume to (thumbnail v)\nclear graphic effects\ngo to [front v] layer\nshow\n\nwhen flag clicked\nhide variable [ace v]\nhide variable [aro v]\nhide variable [agender v]\nhide variable [bi v]\nhide variable [demirom v]\nhide variable [demisex v]\nhide variable [gay v]\nhide variable [genderfluid v]\nhide variable [genderqueer v]\nhide variable [lesbian v]\nhide variable [nb v]\nhide variable [pan v]\nhide variable [poly v]\nhide variable [trans v]\nset [ace v] to [0]\nset [agender v] to [0]\nset [aro v] to [0]\nset [bi v] to [0]\nset [demirom v] to [0]\nset [demisex v] to [0]\nset [gay v] to [0]\nset [genderfluid v] to [0]\nset [genderqueer v] to [0]\nset [lesbian v] to [0]\nset [nb v] to [0]\nset [pan v] to [0]\nset [poly v] to [0]\nset [trans v] to [0]\nhide variable [exit v]\nhide variable [level v]\nhide variable [mouse v]\nhide variable [scroll x v]\nhide variable [scroll y v]\nhide variable [checkpoint hit v]\nhide variable [checkpoint x v]\nset [level v] to [Home]\n\nwhen I receive [home screen v]\nswitch backdrop to (home v)\n\nchange [ace v] by (1)\nchange [agender v] by (1)\nchange [aro v] by (1)\n\nchange [bi v] by (1)\nchange [demirom v] by (1)\nchange [demisex v] by (1)\nchange [gay v] by (1)\nchange [genderfluid v] by (1)\nchange [genderqueer v] by (1)\nchange [lesbian v] by (1)\nchange [nb v] by (1)\nchange [pan v] by (1)\nchange [poly v] by (1)\nchange [trans v] by (1)\n\n@Ace Eliza\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Ace) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen I receive [endingstart v]\nwait (.1) seconds\nrepeat (3)\n    wait (.3) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\n@Aro George\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Aro) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen I receive [endingstart v]\nwait (.2) seconds\nrepeat (3)\n    wait (.2) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\nwait (.2) seconds\ngo to [front v] layer\n\n@Demisexual Madison\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Demisex) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [endingstart v]\nwait (.3) seconds\nrepeat (3)\n    wait (.4) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\n@Demiromantic Noah\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Demirom) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [endingstart v]\nwait (.4) seconds\nrepeat (3)\n    wait (.1) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\nwait (.2) seconds\ngo to [front v] layer\n\n@Nb Piper\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Nb) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [endingstart v]\nwait (.5) seconds\nrepeat (3)\n    wait (.2) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\nwait (.2) seconds\ngo to [front v] layer\n\n@Poly Gunnar\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Poly) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [endingstart v]\nwait (.6) seconds\nrepeat (3)\n    wait (.5) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\nwait (.1) seconds\ngo to [front v] layer\n\n@Pan Athena\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Pan) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [endingstart v]\nwait (.7) seconds\nrepeat (3)\n    wait (.6) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\n@Genderqueer Indigo\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Genderqueer) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [endingstart v]\nwait (.8) seconds\nrepeat (3)\n    wait (.2) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\n@Agender Quinn\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Agender) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [endingstart v]\nwait (.9) seconds\nrepeat (3)\n    wait (.3) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\nwait (.1) seconds\ngo to [front v] layer\n\n@Genderfluid Sam\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Genderfluid) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen I receive [endingstart v]\nwait (1) seconds\nrepeat (3)\n    wait (.5) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\nwait (.2) seconds\ngo to [front v] layer\n\n@Gay Vincent\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Gay) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [endingstart v]\nwait (1.1) seconds\nrepeat (3)\n    wait (.1) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\nwait (.1) seconds\ngo to [front v] layer\n\n@Lesbian Grace\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Lesbian) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [endingstart v]\nwait (1.2) seconds\nrepeat (3)\n    wait (.2) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\nwait (.1) seconds\ngo to [front v] layer\n\n@Bi Lina\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Bi) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen I receive [endingstart v]\nwait (1.3) seconds\nrepeat (3)\n    wait (.4) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\n@Trans Sean\n\nwhen I receive [start v]\nhide\n\nwhen backdrop switches to [home v]\nshow\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    if <(Trans) = [0]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [endingstart v]\nwait (1.4) seconds\nrepeat (3)\n    wait (.3) seconds\n    repeat (5)\n        change y by (4)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (3)\n        change y by (2)\n    end\n    repeat (2)\n        change y by (1)\n    end\n    repeat (2)\n        change y by (-1)\n    end\n    repeat (3)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (5)\n        change y by (-4)\n    end\nend\n\nbroadcast (EndingStart v)\n\nwhen flag clicked\ngo to [front v] layer\n\n@Parade\n\nwhen flag clicked\nhide\nwait (.4) seconds\ngo to [front v] layer\n\nwhen I receive [paradetime v]\ngo to x: (-455) y: (-50)\nswitch costume to (parade4 v)\nshow\nglide (2.5) secs to x: (-5) y: (-50)\n\n@Text\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [Home]> then\n    hide\n    delete this clone\nelse\n    if <(LEVEL) = [Pan]> then\n        switch costume to (pan1 v)\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [40]\n        Clone at x: [360] y: [-40]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n        Clone at x: [360] y: [0]\n    else\n        if <(LEVEL) = [Demirom]> then\n            switch costume to (demirom1 v)\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n            Clone at x: [360] y: [0]\n        else\n            if <(LEVEL) = [Genderfluid]> then\n                switch costume to (genderfluid1 v)\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n                Clone at x: [360] y: [0]\n            else\n                if <(LEVEL) = [Genderqueer]> then\n                    switch costume to (genderqueer1 v)\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                    Clone at x: [360] y: [0]\n                else\n                    if <(LEVEL) = [Demisex]> then\n                        switch costume to (demisex1 v)\n                        Clone at x: [360] y: [0]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [220]\n                        Clone at x: [360] y: [0]\n                    else\n                        if <(LEVEL) = [Nb]> then\n                            switch costume to (nb1 v)\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                            Clone at x: [360] y: [0]\n                        else\n                            if <(LEVEL) = [Poly]> then\n                                switch costume to (poly1 v)\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [150]\n                                Clone at x: [360] y: [-150]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                                Clone at x: [360] y: [0]\n                            else\n                                if <(LEVEL) = [Gay]> then\n                                    switch costume to (gay1 v)\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                    Clone at x: [360] y: [0]\n                                else\n                                    if <(LEVEL) = [Bi]> then\n                                        switch costume to (bi1 v)\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                        Clone at x: [360] y: [0]\n                                    else\n                                        if <(LEVEL) = [Agender]> then\n                                            switch costume to (agender1 v)\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                            Clone at x: [360] y: [0]\n                                        else\n                                            if <(LEVEL) = [Lesbian]> then\n                                                switch costume to (lesbian1 v)\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                                Clone at x: [360] y: [0]\n                                            else\n                                                if <(LEVEL) = [Trans]> then\n                                                    switch costume to (trans1 v)\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                    Clone at x: [360] y: [0]\n                                                else\n                                                    if <(LEVEL) = [Ace]> then\n                                                        switch costume to (ace1 v)\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                    else\n                                                        switch costume to (aro1 v)\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                        Clone at x: [360] y: [0]\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ngo to [back v] layer\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [home v]\nhide\ndelete this clone\n\ngo to [front v] layer\n\n@Skip Button\n\nwhen flag clicked\nhide\ngo to x: (216) y: (156)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\n    go to [front v] layer\nend\n\nwhen backdrop switches to [platforming screen v]\nshow\n\nwhen I receive [start v]\nshow\n\nwhen backdrop switches to [home v]\nhide\n\nwhen this sprite clicked\nset [exit v] to [Skip]\nbroadcast (Skip v)\nswitch backdrop to (home v)\n\n@Parade Background\n\nwhen flag clicked\nhide\nwait (.3) seconds\ngo to [front v] layer\n\nwhen I receive [endingstart v]\nwait (3) seconds\nswitch costume to (parade2 v)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\n    wait (.005) seconds\nend\nset [ghost v] effect to (0)\nbroadcast (ParadeTime v)\n\n@End Button\n\nwhen this sprite clicked\nif <<(Ace) > [0]> and <<(Agender) > [0]> and <<(Aro) > [0]> and <<(Bi) > [0]> and <<(Demirom) > [0]> and <<(Demisex) > [0]> and <<(Gay) > [0]> and <<(Genderfluid) > [0]> and <<(Genderqueer) > [0]> and <<(Lesbian) > [0]> and <<(Nb) > [0]> and <<(Pan) > [0]> and <<(Poly) > [0]> and <<(Trans) > [0]> and <(LEVEL) = [Home]>>>>>>>>>>>>>>> then\n    broadcast (EndingStart v)\nend\n\nwhen flag clicked\ngo to x: (210) y: (17)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nswitch costume to (costume1 v)\nwait until <<(Ace) > [0]> and <<(Agender) > [0]> and <<(Aro) > [0]> and <<(Bi) > [0]> and <<(Demirom) > [0]> and <<(Demisex) > [0]> and <<(Gay) > [0]> and <<(Genderfluid) > [0]> and <<(Genderqueer) > [0]> and <<(Lesbian) > [0]> and <<(Nb) > [0]> and <<(Pan) > [0]> and <<(Poly) > [0]> and <<(Trans) > [0]> and <(LEVEL) = [Home]>>>>>>>>>>>>>>>\nswitch costume to (costume2 v)\n\n@Instructions Button\n\nwhen flag clicked\ngo to x: (-210) y: (17)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (107) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen backdrop switches to [home v]\nshow\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nbroadcast (Instructions v)\n\n@Instructions\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [setup v]\nhide\n\nwhen I receive [instructions v]\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen this sprite clicked\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n
have fun and maybe check out the the third https://scratch.mit.edu/projects/803336605\n\nif you don't like generic platformers here is a non generic platformer https://scratch.mit.edu/projects/803536204/  \n\n