Eid - A Platformer


@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [backgroundchange v]\nwait (0.01) seconds\nrepeat (4)\n    wait (0.01) seconds\n    change [brightness v] effect by (25)\nend\nbroadcast (End v)\n\nwhen I receive [end v]\nclear graphic effects\nswitch backdrop to (backdrop2 v)\n\n@Player\n\nwhen flag clicked\nswitch costume to (costume1 v)\nbroadcast (green flag v) and wait\n\nwhen I receive [green flag v]\nshow\nset [skip v] to [0]\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-215) y: (-60)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [xv v] by (1)\n        switch costume to (costume1 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xv v] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching (level v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            change [yv v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-215) y: (-90)\n    end\n    if <touching (death v)?> then\n        death\n    end\n    if <touching (trampoline v)?> then\n        boing\n    end\n    if <(Level) > [20]> then\n        set [level v] to [20]\n    end\nend\n\ndefine death\ngo to x: (-215) y: (-60)\n\nwhen I receive [skip v]\ngo to x: (-215) y: (-60)\n\nwhen I receive [retry v]\ngo to x: (-215) y: (-60)\n\ndefine boing\nset [yv v] to [25]\n\nwhen I receive [19b v]\nsay [W] for (0.01) seconds\nsay [Wh] for (0.01) seconds\nsay [Wha] for (0.01) seconds\nsay [What] for (0.01) seconds\nsay [What i] for (0.01) seconds\nswitch costume to (costume4 v)\nsay [What is] for (0.01) seconds\nsay [What is T] for (0.01) seconds\nsay [What is TH] for (0.01) seconds\nsay [What is THI] for (0.01) seconds\nsay [What is THIS] for (0.01) seconds\nsay [What is THIS!] for (0.01) seconds\nsay [What is THIS!?] for (1) seconds\nbroadcast (19c v)\nwait (3.3) seconds\nsay [T] for (0.01) seconds\nsay [Th] for (0.01) seconds\nsay [Thi] for (0.01) seconds\nsay [This] for (0.01) seconds\nsay [This h] for (0.01) seconds\nsay [This ha] for (0.01) seconds\nsay [This has] for (0.01) seconds\nsay [This has a] for (0.01) seconds\nsay [This has a 2] for (0.01) seconds\nsay [This has a 2/] for (0.01) seconds\nsay [This has a 2/3] for (0.01) seconds\nsay [This has a 2/3 o] for (0.01) seconds\nsay [This has a 2/3 ov] for (0.01) seconds\nsay [This has a 2/3 ove] for (0.01) seconds\nsay [This has a 2/3 over] for (0.01) seconds\nsay [This has a 2/3 overr] for (0.01) seconds\nsay [This has a 2/3 overri] for (0.01) seconds\nsay [This has a 2/3 overrid] for (0.01) seconds\nsay [This has a 2/3 override] for (0.01) seconds\nsay [This has a 2/3 override f] for (0.01) seconds\nsay [This has a 2/3 override fr] for (0.01) seconds\nsay [This has a 2/3 override fro] for (0.01) seconds\nsay [This has a 2/3 override from] for (0.01) seconds\nsay [This has a 2/3 override from CONGRESS.] for (2) seconds\nbroadcast (19d v)\n\nwhen I receive [end v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Level) = [6]> then\n            broadcast (ooH sAtAN v)\n            death\n            hide\n            stop [other scripts in sprite v]\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [6 v]\nshow\nset [level v] to [6]\nset [skip v] to [0]\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-215) y: (-60)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [xv v] by (1)\n        switch costume to (costume1 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xv v] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching (level v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            change [yv v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-215) y: (-90)\n    end\n    if <touching (death v)?> then\n        death\n    end\n    if <touching (trampoline v)?> then\n        boing\n    end\n    if <(Level) > [20]> then\n        set [level v] to [20]\n    end\nend\n\nwhen I receive [boss fight v]\nshow\nset [skip v] to [0]\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-150) y: (0)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [xv v] by (1)\n        switch costume to (costume1 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xv v] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching (level v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            change [yv v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-215) y: (-90)\n    end\n    if <touching (death v)?> then\n        death\n    end\n    if <touching (trampoline v)?> then\n        boing\n    end\n    if <(Level) > [20]> then\n        set [level v] to [20]\n    end\n    if <touching (boss v)?> then\n        change [hp for player v] by (-1)\n        if <touching (boss weak point v)?> then\n            change [yv v] by (10)\n            change [hp for boss v] by (-1)\n        end\n    end\nend\n\nwhen I receive [6 v]\nforever\n    if <(Level) = [19]> then\n        if <(Level) = [19]> then\n            broadcast (He returns!  v)\n            death\n            hide\n            stop [other scripts in sprite v]\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [boss ded v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [end v]\nshow\nset [level v] to [20]\ngo to x: (-150) y: (0)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [xv v] by (1)\n        switch costume to (costume1 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xv v] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching (level v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <key (space v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            change [yv v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-215) y: (-90)\n    end\n    if <touching (death v)?> then\n        death\n    end\n    if <touching (trampoline v)?> then\n        boing\n    end\n    if <(Level) > [20]> then\n        set [level v] to [20]\n    end\nend\n\n@level\n\nwhen I receive [green flag v]\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [6 v]\ngo to x: (0) y: (0)\nset [level v] to [7]\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [he returns!  v]\nstop [other scripts in sprite v]\nswitch costume to (6 v)\n\nwhen I receive [boss fight v]\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [boss ded v]\nstop [other scripts in sprite v]\nswitch costume to (6 v)\n\nwhen I receive [end v]\nforever\n    switch costume to (Level)\nend\n\n@death\n\nwhen flag clicked\ngo to x: (36) y: (28)\nshow\nforever\n    switch costume to (Level)\nend\n\n@Words\n\nwhen flag clicked\nhide\n\nwhen I receive [green flag v]\nshow\nshow\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        if <(Level) = [6]> then\n            hide\n        end\n    end\nend\n\nwhen I receive [6 v]\nshow\ngo to [front v] layer\nstop [other scripts in sprite v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@Evil dude uwu\n\nwhen flag clicked\nhide\n\nwhen I receive [ooh satan v]\nswitch costume to (1 v)\nshow\nrepeat until <(costume [number v]) = [22]>\n    wait (0.01) seconds\n    next costume\nend\nwait (1.5) seconds\nswitch costume to (23 v)\nsay [T] for (0.01) seconds\nsay [Th] for (0.01) seconds\nsay [Tha] for (0.01) seconds\nsay [That] for (0.01) seconds\nsay [That'] for (0.01) seconds\nsay [That's] for (0.01) seconds\nsay [That's r] for (0.01) seconds\nsay [That's ri] for (0.01) seconds\nsay [That's rig] for (0.01) seconds\nsay [That's righ] for (0.01) seconds\nsay [That's right] for (0.01) seconds\nsay [That's right!] for (1.5) seconds\nrepeat (5)\n    wait (0.01) seconds\n    next costume\nend\nrepeat until <(costume [number v]) = [35]>\n    wait (0.01) seconds\n    next costume\nend\nwait (1.5) seconds\nnext costume\nsay [Y] for (0.01) seconds\nsay [Yu] for (0.01) seconds\nsay [Yup] for (0.01) seconds\nsay [Yup!] for (0.01) seconds\nsay [Yup! I] for (0.01) seconds\nsay [Yup! I'] for (0.01) seconds\nsay [Yup! I'm] for (0.01) seconds\nsay [Yup! I'm h] for (0.01) seconds\nsay [Yup! I'm he] for (0.01) seconds\nsay [Yup! I'm her] for (0.01) seconds\nsay [Yup! I'm here] for (0.01) seconds\nsay [Yup! I'm here t] for (0.01) seconds\nsay [Yup! I'm here to] for (0.01) seconds\nsay [Yup! I'm here to s] for (0.01) seconds\nsay [Yup! I'm here to sp] for (0.01) seconds\nsay [Yup! I'm here to spo] for (0.01) seconds\nsay [Yup! I'm here to spoi] for (0.01) seconds\nsay [Yup! I'm here to spoil] for (0.01) seconds\nsay [Yup! I'm here to spoil Ei] for (0.01) seconds\nsay [Yup! I'm here to spoil Eid] for (0.01) seconds\nsay [Yup! I'm here to spoil Eid!] for (2.5) seconds\nsay [I] for (0.01) seconds\nsay [I'] for (0.01) seconds\nsay [I'v] for (0.01) seconds\nsay [I've] for (0.01) seconds\nsay [I've p] for (0.01) seconds\nsay [I've pu] for (0.01) seconds\nsay [I've put] for (0.01) seconds\nsay [I've put t] for (0.01) seconds\nsay [I've put tr] for (0.01) seconds\nsay [I've put tra] for (0.01) seconds\nsay [I've put trap] for (0.01) seconds\nsay [I've put traps] for (0.01) seconds\nsay [I've put traps n] for (0.01) seconds\nsay [I've put traps ne] for (0.01) seconds\nsay [I've put traps nea] for (0.01) seconds\nsay [I've put traps near] for (0.01) seconds\nsay [I've put traps near t] for (0.01) seconds\nsay [I've put traps near th] for (0.01) seconds\nsay [I've put traps near the] for (0.01) seconds\nsay [I've put traps near the M] for (0.01) seconds\nsay [I've put traps near the Mos] for (0.01) seconds\nsay [I've put traps near the Mosq] for (0.01) seconds\nsay [I've put traps near the Mosqu] for (0.01) seconds\nsay [I've put traps near the Mosque] for (0.01) seconds\nsay [I've put traps near the Mosque s] for (0.01) seconds\nsay [I've put traps near the Mosque so] for (0.01) seconds\nsay [I've put traps near the Mosque so N] for (0.01) seconds\nsay [I've put traps near the Mosque so NO] for (0.01) seconds\nsay [I've put traps near the Mosque so NO O] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ON] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE c] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE ca] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE can] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE can g] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE can ge] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE can get] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE can get i] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE can get in] for (0.01) seconds\nsay [I've put traps near the Mosque so NO ONE can get in!] for (2.5) seconds\nbroadcast (6 v)\nhide\n\nwhen I receive [he returns!  v]\nshow\nsay [S] for (0.01) seconds\nsay [So] for (0.01) seconds\nsay [So,] for (0.01) seconds\nsay [So, y] for (0.01) seconds\nsay [So, yo] for (0.01) seconds\nsay [So, you] for (0.01) seconds\nsay [So, you c] for (0.01) seconds\nsay [So, you ca] for (0.01) seconds\nsay [So, you cam] for (0.01) seconds\nsay [So, you came] for (0.01) seconds\nsay [So, you came t] for (0.01) seconds\nsay [So, you came to] for (0.01) seconds\nsay [So, you came to t] for (0.01) seconds\nsay [So, you came to th] for (0.01) seconds\nsay [So, you came to the] for (0.01) seconds\nsay [So, you came to the M] for (0.01) seconds\nsay [So, you came to the Mo] for (0.01) seconds\nsay [So, you came to the Mos] for (0.01) seconds\nsay [So, you came to the Mosq] for (0.01) seconds\nsay [So, you came to the Mosqu] for (0.01) seconds\nsay [So, you came to the Mosque] for (0.01) seconds\nsay [So, you came to the Mosque?] for (0.01) seconds\nsay [So, you came to the Mosque?!] for (1.5) seconds\nsay [So, you came to the Mosque?! A] for (0.01) seconds\nsay [So, you came to the Mosque?! Af] for (0.01) seconds\nsay [So, you came to the Mosque?! Aft] for (0.01) seconds\nsay [So, you came to the Mosque?! Afte] for (0.01) seconds\nsay [So, you came to the Mosque?! After] for (0.01) seconds\nsay [So, you came to the Mosque?! After a] for (0.01) seconds\nsay [So, you came to the Mosque?! After al] for (0.01) seconds\nsay [So, you came to the Mosque?! After all] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I p] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I pu] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put y] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put yo] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you t] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you th] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you thr] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you thro] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you throu] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you throug] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you through] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you through?] for (0.01) seconds\nsay [So, you came to the Mosque?! After all I put you through?!] for (1.5) seconds\nsay [W] for (0.01) seconds\nsay [Wh] for (0.01) seconds\nsay [Wha] for (0.01) seconds\nsay [What] for (0.01) seconds\nsay [What a] for (0.01) seconds\nsay [What a p] for (0.01) seconds\nsay [What a pe] for (0.01) seconds\nsay [What a per] for (0.01) seconds\nsay [What a pers] for (0.01) seconds\nsay [What a persi] for (0.01) seconds\nsay [What a persis] for (0.01) seconds\nsay [What a persist] for (0.01) seconds\nsay [What a persista] for (0.01) seconds\nsay [What a persistan] for (0.01) seconds\nsay [What a persistant] for (0.01) seconds\nsay [What a persistant c] for (0.01) seconds\nsay [What a persistant co] for (0.01) seconds\nsay [What a persistant cow] for (0.01) seconds\nsay [What a persistant cowa] for (0.01) seconds\nsay [What a persistant cowar] for (0.01) seconds\nsay [What a persistant coward] for (0.01) seconds\nsay [What a persistant coward.] for (1.5) seconds\nsay [P] for (0.01) seconds\nsay [Pr] for (0.01) seconds\nsay [Pre] for (0.01) seconds\nsay [Prep] for (0.01) seconds\nsay [Prepa] for (0.01) seconds\nsay [Prepar] for (0.01) seconds\nsay [Prepare] for (0.01) seconds\nsay [Prepare t] for (0.01) seconds\nsay [Prepare to] for (0.01) seconds\nsay [Prepare to m] for (0.01) seconds\nsay [Prepare to me] for (0.01) seconds\nsay [Prepare to mee] for (0.01) seconds\nsay [Prepare to meet] for (0.01) seconds\nsay [Prepare to meet y] for (0.01) seconds\nsay [Prepare to meet yo] for (0.01) seconds\nsay [Prepare to meet you] for (0.01) seconds\nsay [Prepare to meet your] for (0.01) seconds\nsay [Prepare to meet your d] for (0.01) seconds\nsay [Prepare to meet your do] for (0.01) seconds\nsay [Prepare to meet your doo] for (0.01) seconds\nsay [Prepare to meet your doom] for (0.01) seconds\nsay [Prepare to meet your doom!] for (1.5) seconds\nbroadcast (Boss ded v)\n\nwhen I receive [boss fight v]\nhide\n\nwhen I receive [boss ded v]\nclear graphic effects\nshow\nswitch costume to (36 v)\nrepeat until <(costume [number v]) = [45]>\n    wait (0.01) seconds\n    next costume\nend\nsay [You, Mr. Satan, are going back to where you come from!] for (1.5) seconds\nchange [brightness v] effect by (25)\nrepeat until <(costume [number v]) = [58]>\n    wait (0.01) seconds\n    next costume\nend\nsay [N] for (0.01) seconds\nsay [No] for (0.01) seconds\nsay [No!] for (1.5) seconds\nrepeat (3)\n    wait (0.01) seconds\n    change [brightness v] effect by (25)\nend\nbroadcast (backgroundchange v)\n\nwhen flag clicked\nclear graphic effects\n\nwhen I receive [end v]\nhide\n\n@trampoline\n\nwhen I receive [green flag v]\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\n@Thumb\n\nwhen flag clicked\nhide\ngo to [front v] layer\nshow\nset [ghost v] effect to (0)\nrepeat (4)\n    wait (0.01) seconds\n    change [ghost v] effect by (25)\nend\n\n@Logo\n\nwhen flag clicked\ngo to [front v] layer\nshow\nchange [ghost v] effect by (25)\n\n