Land of Desolation II: Dark Solarus [Platformer]

Instructions: >English description / description française:\n\n>/English/\nThis is the sequel to Land of Desolation. It's a platform game. I spent a lot of time on it, and I hope you'll like\nit !! Use the arrows key to move and jump, use the mouse to move and use the bow, and press A to move the sword.\n\n>/Français/\nCeci est la suite de Land of Desolation. C'est un jeu de plateformes. J'y ai passé beaucoup de temps dessus, et j'espère qu'il vous plaira !! Utilisez les flèches pour bouger et sauter, utilisez la souris pour bouger et utiliser l'arc, et appuyez sur A pour faire bouger l'épée.\n\n>Another games of the serie / d'autres jeux de la série:\n>Land of Desolation I:\nhttps://scratch.mit.edu/projects/229190392/\n>Land of Desolation III: Underconstruction ! :D\n\n>Credits: at the end of the game\n

@Stage\n\nwhen I receive [message1 v]\nplay sound [Pasted3.mp3 v] until done\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nwait (15) seconds\nset [ghost v] effect to (100)\nswitch backdrop to (arrière-plan1 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message9 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message9 v]\nwait (16) seconds\nswitch costume to (arrière-plan2 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [2.1]> then\n        wait (9) seconds\n        stop all sounds\n        play sound [Undertale OST 031 - Waterfall.mp3 v] until done\n    end\n    if <<(niveau ; lieu) = [2.2]> or <<(niveau ; lieu) = [2.3]> or <<(niveau ; lieu) = [2.4]> or <<(niveau ; lieu) = [2.5]> or <(niveau ; lieu) = [2.6]>>>>> then\n        stop all sounds\n        play sound [Undertale OST 031 - Waterfall.mp3 v] until done\n    end\n    if <(niveau ; lieu) = [3]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [message15 v]\nset [niveau ; lieu v] to [3]\n\nwhen I receive [message15 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [3.1]> then\n        wait (9) seconds\n        stop all sounds\n        play sound [Super Mario 64 Music- Bowser's Road.mp3 v] until done\n    end\n    if <<(niveau ; lieu) = [3.2]> or <<(niveau ; lieu) = [3.3]> or <<(niveau ; lieu) = [3.4]> or <<(niveau ; lieu) = [3.5]> or <(niveau ; lieu) = [3.6]>>>>> then\n        stop all sounds\n        play sound [Super Mario 64 Music- Bowser's Road.mp3 v] until done\n    end\n    if <(niveau ; lieu) = [4]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [3]> then\n        stop all sounds\n        play sound [Course Clear - Super Mario World.mp3 v] until done\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [4]> then\n        stop all sounds\n        play sound [Course Clear - Super Mario World.mp3 v] until done\n        stop [this script v]\n    end\nend\n\nwhen I receive [message22 v]\nset [niveau ; lieu v] to [4]\n\nwhen I receive [message22 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch backdrop to (arrière-plan3 v)\nwait (6.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message26 v]\nwait (1.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message29 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (2) seconds\nswitch backdrop to (arrière-plan4 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [5]> then\n        stop all sounds\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [4.1]> then\n        wait (9) seconds\n        stop all sounds\n        play sound [Majoras Mask Astral Observatory Music.mp3 v] until done\n    end\n    if <<(niveau ; lieu) = [4.2]> or <<(niveau ; lieu) = [4.3]> or <<(niveau ; lieu) = [4.4]> or <<(niveau ; lieu) = [4.5]> or <(niveau ; lieu) = [4.6]>>>>> then\n        stop all sounds\n        play sound [Majoras Mask Astral Observatory Music.mp3 v] until done\n    end\n    if <(niveau ; lieu) = [5]> then\n        stop all sounds\n        play sound [Master Sword - The Legend of Zelda A Link to the Past.mp3 v] until done\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [5.1]> then\n        wait (1) seconds\n        stop all sounds\n        play sound [Southern Swamp - The Legend of Zelda_ Majora's Mask.mp3 v] until done\n    end\n    if <<(niveau ; lieu) = [5.2]> or <<(niveau ; lieu) = [5.3]> or <<(niveau ; lieu) = [5.4]> or <<(niveau ; lieu) = [5.5]> or <(niveau ; lieu) = [5.6]>>>>> then\n        stop all sounds\n        play sound [Southern Swamp - The Legend of Zelda_ Majora's Mask.mp3 v] until done\n    end\n    if <(niveau ; lieu) = [6]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [message31 v]\nset [ghost v] effect to (0)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch backdrop to (arrière-plan5 v)\nwait (8) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset [niveau ; lieu v] to [5.1]\n\nwhen I receive [message37 v]\nset [niveau ; lieu v] to [6]\n\nwhen I receive [message37 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch backdrop to (arrière-plan6 v)\nwait (6.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [6.1]> then\n        wait (9) seconds\n        stop all sounds\n        play sound [Mario and Luigi_ Partners in Time Soundtrack - Gritzy Desert.mp3 v] until done\n    end\n    if <<(niveau ; lieu) = [6.2]> or <<(niveau ; lieu) = [6.3]> or <<(niveau ; lieu) = [6.4]> or <<<<<(niveau ; lieu) = [6.5]> or <(niveau ; lieu) = [6.6]>> or <(niveau ; lieu) = [6.7]>> or <(niveau ; lieu) = [6.8]>> or <(niveau ; lieu) = [6.9]>>>>> then\n        stop all sounds\n        play sound [Mario and Luigi_ Partners in Time Soundtrack - Gritzy Desert.mp3 v] until done\n    end\n    if <(niveau ; lieu) = [7]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [7]> then\n        stop all sounds\n        play sound [Course Clear - Super Mario World.mp3 v] until done\n        stop [this script v]\n    end\nend\n\nwhen I receive [message41 v]\nset [niveau ; lieu v] to [7]\n\nwhen I receive [message41 v]\nwait (8) seconds\nset [niveau ; lieu v] to [non]\n\nwhen I receive [message41 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch backdrop to (arrière-plan7 v)\nwait (6.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch backdrop to (arrière-plan8 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nset [valeur 1-1 v] to [0]\nforever\n    if <(niveau ; lieu) = [6]> then\n        set [valeur 1-1 v] to [1]\n        stop all sounds\n        play sound [Course Clear - Super Mario World.mp3 v] until done\n        stop [this script v]\n    end\nend\n\nwhen I receive [message41 v]\nwait (30) seconds\nswitch backdrop to (arrière-plan9 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message41 v]\nwait (59) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [good code v]\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message41 v]\nwait (68) seconds\nset [niveau ; lieu v] to [7.1]\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [7.1]> then\n        stop all sounds\n        play sound [Metroid Music-Title.mp3 v] until done\n    end\n    if <<(niveau ; lieu) = [7.2]> or <<(niveau ; lieu) = [7.3]> or <<<<(niveau ; lieu) = [7.4]> or <(niveau ; lieu) = [7.5]>> or <(niveau ; lieu) = [7.6]>> or <(niveau ; lieu) = [7.7]>>>> then\n        stop all sounds\n        play sound [Metroid Music-Title.mp3 v] until done\n    end\n    if <(niveau ; lieu) = [non2]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [non2]> then\n        stop all sounds\n        play sound [Metroid Music - Item Acquisition Fanfare.mp3 v] until done\n        set [niveau ; lieu v] to [non3]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<<(niveau ; lieu) = [non3]> or <(niveau ; lieu) = [7.8]>> or <(niveau ; lieu) = [7.9]>> or <(niveau ; lieu) = [final1]>> then\n        stop all sounds\n        play sound [Metroid Music-Title.mp3 v] until done\n    end\n    if <(niveau ; lieu) = [final2]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [final2]> then\n        stop all sounds\n        play sound [TheLegendofZeldaALinkBetweenTheWorld_12.mp3 v] until done\n    end\n    if <(niveau ; lieu) = [win]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [win]> then\n        stop all sounds\n        play sound [8 Bit Explosion 1 SOUND Effect.mp3 v] until done\n        wait (2) seconds\n        play sound [For Shovelry! \(Boss Victory\) - Shovel Knight \[OST\].mp3 v] until done\n        stop [this script v]\n    end\nend\n\nwhen I receive [rip v]\nwait (15) seconds\nplay sound [Mega Man 3_ Title Screen.mp3 v] until done\nstop [this script v]\n\nwhen I receive [rip v]\nwait (15) seconds\nswitch backdrop to (arrière-plan11 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nstop all sounds\n\n@Lutin1\n\nwhen flag clicked\nshow\nset [color v] effect to (0)\nset [ghost v] effect to (0)\ngo to x: (0) y: (182)\nglide (1) secs to x: (0) y: (10)\nrepeat (10)\n    change y by (-1)\n    change [color v] effect by (20)\n    create clone of (_myself_ v)\nend\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nwait (1) seconds\nplay sound [Gameboy Startup Sound.mp3 v] until done\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin2\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\nwait (5) seconds\ngo to x: (0) y: (182)\nbroadcast (message1 v)\nglide (0.3) secs to x: (0) y: (20)\n\nwhen flag clicked\nwait (5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nwait (9) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin3\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\nwait (5.5) seconds\ngo to x: (0) y: (-182)\nbroadcast (message1 v)\nglide (0.3) secs to x: (0) y: (-20)\n\nwhen flag clicked\nwait (5.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nwait (9) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin4\n\nwhen flag clicked\nset [ghost v] effect to (100)\nwait (6) seconds\ngo to x: (0) y: (0)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nwait (9) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin5\n\nwhen flag clicked\nhide\nset [gravité v] to [0]\nset [niveau ; lieu v] to [1.1]\ngo to x: (-133) y: (-110)\nwait (17) seconds\ngo to [front v] layer\nforever\n    if <color (#666666) is touching (#00cc44)?> then\n        change y by (1)\n        if <key (up arrow v) pressed?> then\n            change [gravité v] by (15)\n        else\n            set [gravité v] to [0]\n        end\n    else\n        change [gravité v] by (-1)\n    end\n    if <(gravité) > [12]> then\n        change [gravité v] by (-2)\n    end\n    change y by (gravité)\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <color (#000000) is touching (#00cc44)?> then\n            move (-10) steps\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <color (#000000) is touching (#00cc44)?> then\n            move (10) steps\n        end\n    end\n    if <(niveau ; lieu) = [1.2]> then\n        if <(code) = [1]> then\n            stop [this script v]\n        end\n    end\n    if <(niveau ; lieu) = [2.1]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [1.1]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [1.2]\n            broadcast (message2 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [1.2]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [1.3]\n            broadcast (message3 v)\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin10 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-110)\n        end\n    end\n    if <(niveau ; lieu) = [1.3]> then\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-110)\n        end\n        if <touching (lutin10 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-110)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [1.4]\n            broadcast (message5 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [1.4]> then\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-112)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [1.5]\n            broadcast (message7 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [1.5]> then\n        if <touching (lutin10 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-110)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [1.6]\n            broadcast (message8 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [2.1]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [2.2]\n            broadcast (message10 v)\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin16 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-110)\n        end\n    end\n    if <(niveau ; lieu) = [2.2]> then\n        if <touching (lutin17 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-110)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [2.3]\n            broadcast (message11 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [2.3]> then\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-112)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [2.4]\n            broadcast (message12 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [2.4]> then\n        if <touching (lutin18 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-110)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [2.5]\n            broadcast (message13 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [2.5]> then\n        if <touching (lutin19 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-242) y: (-110)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [2.6]\n            broadcast (message14 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [3.1]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [3.2]\n            broadcast (message16 v)\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin21 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-198) y: (-111)\n        end\n    end\n    if <(niveau ; lieu) = [3.2]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [3.3]\n            broadcast (message17 v)\n            go to x: (-242) y: (y position)\n        end\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-212) y: (-111)\n        end\n    end\n    if <(niveau ; lieu) = [3.3]> then\n        if <touching (lutin22 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-209) y: (101)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [3.4]\n            broadcast (message18 v)\n            go to x: (-242) y: (y position)\n        end\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-209) y: (101)\n        end\n    end\n    if <(niveau ; lieu) = [3.4]> then\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-232) y: (101)\n        end\n        if <touching (lutin23 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-232) y: (101)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [3.5]\n            broadcast (message19 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [3.5]> then\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-232) y: (102)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [3.6]\n            broadcast (message20 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [3.6]> then\n        if <touching (lutin25 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-232) y: (101)\n        end\n    end\n    if <(niveau ; lieu) = [4.1]> then\n        if <touching (lutin26 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-218) y: (-102)\n        end\n        if <(x position) = [212]> then\n            set [niveau ; lieu v] to [4.2]\n            broadcast (message23 v)\n            go to x: (-218) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [4.2]> then\n        if <<(x position) = [212]> or <(x position) = [219]>> then\n            set [niveau ; lieu v] to [4.3]\n            broadcast (message24 v)\n            go to x: (-218) y: (y position)\n        end\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-211) y: (-61)\n        end\n        if <touching (lutin27 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-211) y: (-61)\n        end\n    end\n    if <(niveau ; lieu) = [4.3]> then\n        if <(x position) = [212]> then\n            set [niveau ; lieu v] to [4.4]\n            broadcast (message25 v)\n            go to x: (-218) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [4.4]> then\n        if <(x position) = [212]> then\n            set [niveau ; lieu v] to [4.5]\n            broadcast (message27 v)\n            go to x: (-218) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [4.5]> then\n        if <(x position) = [212]> then\n            set [niveau ; lieu v] to [4.6]\n            broadcast (message28 v)\n            go to x: (-218) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [4.6]> then\n        if <(y position) = [-257]> then\n            broadcast (message29 v)\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [message15 v]\nwait (9.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [niveau ; lieu v] to [3.1]\ngo to x: (-198) y: (-111)\nwait (7) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset [gravité v] to [0]\ngo to [front v] layer\nforever\n    if <color (#666666) is touching (#663b00)?> then\n        change y by (1)\n        if <key (up arrow v) pressed?> then\n            change [gravité v] by (15)\n        else\n            set [gravité v] to [0]\n        end\n    else\n        change [gravité v] by (-1)\n    end\n    if <(gravité) > [12]> then\n        change [gravité v] by (-2)\n    end\n    change y by (gravité)\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <color (#000000) is touching (#663b00)?> then\n            move (-10) steps\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <color (#000000) is touching (#663b00)?> then\n            move (10) steps\n        end\n    end\n    if <(niveau ; lieu) = [4.1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [message6 v]\nstop [other scripts in sprite v]\n\nwhen I receive [message22 v]\nwait (9.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [niveau ; lieu v] to [4.1]\ngo to x: (-208) y: (-102)\nwait (7) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset [gravité v] to [0]\ngo to [front v] layer\nforever\n    if <color (#666666) is touching (#f6f6f6)?> then\n        change y by (1)\n        if <key (up arrow v) pressed?> then\n            change [gravité v] by (15)\n        else\n            set [gravité v] to [0]\n        end\n    else\n        change [gravité v] by (-1)\n    end\n    if <(gravité) > [12]> then\n        change [gravité v] by (-2)\n    end\n    change y by (gravité)\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <color (#000000) is touching (#f6f6f6)?> then\n            move (-10) steps\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <color (#000000) is touching (#f6f6f6)?> then\n            move (10) steps\n        end\n    end\n    if <(niveau ; lieu) = [4.6]> then\n        if <(y position) = [-257]> then\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [message9 v]\nwait (9.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [niveau ; lieu v] to [2.1]\ngo to x: (-244) y: (-115)\nwait (7) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset [gravité v] to [0]\ngo to [front v] layer\nforever\n    if <color (#666666) is touching (#000000)?> then\n        change y by (1)\n        if <key (up arrow v) pressed?> then\n            change [gravité v] by (15)\n        else\n            set [gravité v] to [0]\n        end\n    else\n        change [gravité v] by (-1)\n    end\n    if <(gravité) > [12]> then\n        change [gravité v] by (-2)\n    end\n    change y by (gravité)\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <color (#000000) is touching (#000000)?> then\n            move (-10) steps\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <color (#000000) is touching (#000000)?> then\n            move (10) steps\n        end\n    end\n    if <(niveau ; lieu) = [3.1]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [5.1]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [5.2]\n            broadcast (message32 v)\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin36 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-209) y: (-98)\n        end\n    end\n    if <(niveau ; lieu) = [5.2]> then\n        if <touching (lutin36 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-209) y: (-98)\n        end\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-209) y: (-98)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [5.3]\n            broadcast (message33 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [5.3]> then\n        if <touching (lutin36 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-209) y: (-98)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [5.4]\n            broadcast (message34 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [5.4]> then\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-209) y: (-98)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [5.5]\n            broadcast (message35 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [5.5]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [5.6]\n            broadcast (message36 v)\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin36 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-209) y: (15)\n        end\n    end\n    if <(niveau ; lieu) = [6.1]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [6.2]\n            broadcast (message38 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [6.2]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [6.3]\n            broadcast (message39 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [6.3]> then\n        if <touching (lutin41 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-244) y: (-103)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [6.4]\n            broadcast (message40 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [6.4]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [6.5]\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin43 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-244) y: (-103)\n        end\n    end\n    if <(niveau ; lieu) = [6.5]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [6.6]\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin43 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-244) y: (-103)\n        end\n    end\n    if <(niveau ; lieu) = [6.6]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [6.7]\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin43 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-244) y: (-103)\n        end\n    end\n    if <(niveau ; lieu) = [6.7]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [6.8]\n            go to x: (-242) y: (y position)\n        end\n        if <touching (lutin43 v)?> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-244) y: (-103)\n        end\n    end\n    if <(niveau ; lieu) = [6.8]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [6.9]\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [6.9]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [message31 v]\nwait (8) seconds\nset [gravité v] to [0]\ngo to x: (20) y: (-99)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\ngo [backward v] (1) layers\nforever\n    if <color (#666666) is touching (#00cc44)?> then\n        change y by (1)\n        if <key (up arrow v) pressed?> then\n            change [gravité v] by (15)\n        else\n            set [gravité v] to [0]\n        end\n    else\n        change [gravité v] by (-1)\n    end\n    if <(gravité) > [12]> then\n        change [gravité v] by (-2)\n    end\n    change y by (gravité)\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <color (#000000) is touching (#00cc44)?> then\n            move (-10) steps\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <color (#000000) is touching (#00cc44)?> then\n            move (10) steps\n        end\n    end\n    if <(niveau ; lieu) = [6.1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [message37 v]\nwait (9.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nset [niveau ; lieu v] to [6.1]\ngo to x: (-216) y: (4)\nwait (7) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nset [gravité v] to [0]\ngo to [front v] layer\nforever\n    if <color (#666666) is touching (#ffff00)?> then\n        change y by (1)\n        if <key (up arrow v) pressed?> then\n            change [gravité v] by (15)\n        else\n            set [gravité v] to [0]\n        end\n    else\n        change [gravité v] by (-1)\n    end\n    if <(gravité) > [12]> then\n        change [gravité v] by (-2)\n    end\n    change y by (gravité)\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <color (#000000) is touching (#ffff00)?> then\n            move (-10) steps\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <color (#000000) is touching (#ffff00)?> then\n            move (10) steps\n        end\n    end\n    if <(niveau ; lieu) = [non]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [message41 v]\nwait (68) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ngo to x: (-50) y: (-103)\nset [gravité v] to [0]\ngo to [front v] layer\nforever\n    if <color (#666666) is touching (#7f7f7f)?> then\n        change y by (1)\n        if <key (up arrow v) pressed?> then\n            change [gravité v] by (15)\n        else\n            set [gravité v] to [0]\n        end\n    else\n        change [gravité v] by (-1)\n    end\n    if <(gravité) > [12]> then\n        change [gravité v] by (-2)\n    end\n    change y by (gravité)\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <color (#000000) is touching (#7f7f7f)?> then\n            move (-10) steps\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <color (#000000) is touching (#7f7f7f)?> then\n            move (10) steps\n        end\n    end\n    if <(niveau ; lieu) = [7.6]> then\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [7.1]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [7.2]\n            broadcast (message42 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [7.2]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [7.3]\n            broadcast (message43 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [7.3]> then\n        if <(y position) = [-257]> then\n            broadcast (message4 v)\n            wait (0.1) seconds\n            go to x: (-214) y: (35)\n        end\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [7.4]\n            broadcast (message44 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [7.4]> then\n        if <touching color (#e5e5e5)?> then\n            broadcast (porte v)\n        end\n    end\n    if <(niveau ; lieu) = [7.5]> then\n        if <touching (lutin45 v)?> then\n            go to x: (0) y: (([y position v] of [lutin31 v]) + (5))\n        end\n    end\n    if <(niveau ; lieu) = [7.6]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [7.7]\n            broadcast (message46 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [non3]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [7.8]\n            broadcast (message47 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [7.8]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [7.9]\n            broadcast (message48 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [7.9]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [final1]\n            broadcast (message49 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [final1]> then\n        if <(x position) = [242]> then\n            set [niveau ; lieu v] to [final2]\n            broadcast (message50 v)\n            go to x: (-242) y: (y position)\n        end\n    end\n    if <(niveau ; lieu) = [final2]> then\n        if <touching (lutin50 v)?> then\n            wait (0.2) seconds\n            broadcast (message4 v)\n        end\n    end\nend\n\nwhen I receive [porte v]\ngo to x: (-206) y: (-117)\n\nwhen I receive [message45 v]\nset [niveau ; lieu v] to [7.6]\n\nwhen I receive [message45 v]\nwait (4) seconds\ngo to x: (0) y: (-121)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nforever\n    if <color (#666666) is touching (#7f7f7f)?> then\n        change y by (1)\n        if <key (up arrow v) pressed?> then\n            change [gravité v] by (15)\n        else\n            set [gravité v] to [0]\n        end\n    else\n        change [gravité v] by (-1)\n    end\n    if <(gravité) > [12]> then\n        change [gravité v] by (-2)\n    end\n    change y by (gravité)\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n        if <color (#000000) is touching (#7f7f7f)?> then\n            move (-10) steps\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n        if <color (#000000) is touching (#7f7f7f)?> then\n            move (10) steps\n        end\n    end\n    if <(niveau ; lieu) = [win]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [message4 v]\nplay sound [Steve Old Hurt Sound.mp3 v] until done\n\nwhen I receive [montrerdetecteur v]\nshow\nwait (0.1) seconds\nhide\n\n@Lutin6\n\nwhen flag clicked\nset [niveau v] to [1]\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\nwait (16) seconds\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message2 v]\nswitch costume to (costume2 v)\n\nwhen I receive [message3 v]\nswitch costume to (costume3 v)\n\nwhen I receive [message5 v]\nswitch costume to (costume4 v)\n\nwhen I receive [message7 v]\nswitch costume to (costume5 v)\n\nwhen I receive [message8 v]\nswitch costume to (costume6 v)\n\nwhen I receive [message9 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message9 v]\nwait (16) seconds\nswitch costume to (costume7 v)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message10 v]\nswitch costume to (costume8 v)\n\nwhen I receive [message11 v]\nswitch costume to (costume9 v)\n\nwhen I receive [message12 v]\nswitch costume to (costume10 v)\n\nwhen I receive [message13 v]\nswitch costume to (costume11 v)\n\nwhen I receive [message14 v]\nswitch costume to (costume12 v)\n\nwhen I receive [message15 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nswitch costume to (costume13 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message16 v]\nswitch costume to (costume14 v)\n\nwhen I receive [message17 v]\nswitch costume to (costume15 v)\n\nwhen flag clicked\nhide variable [gravité v]\n\nwhen I receive [message18 v]\nswitch costume to (costume16 v)\n\nwhen I receive [message19 v]\nswitch costume to (costume17 v)\n\nwhen I receive [message20 v]\nswitch costume to (costume18 v)\n\nwhen I receive [message22 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nswitch costume to (costume19 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message23 v]\nswitch costume to (costume20 v)\n\nwhen I receive [message24 v]\nswitch costume to (costume21 v)\n\nwhen I receive [message25 v]\nswitch costume to (costume22 v)\n\nwhen I receive [message26 v]\nwait (1.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message27 v]\nswitch costume to (costume23 v)\n\nwhen flag clicked\ngo [backward v] (1) layers\n\nwhen I receive [message28 v]\nswitch costume to (costume24 v)\n\nwhen I receive [message29 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message31 v]\nwait (8) seconds\nswitch costume to (costume25 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message32 v]\nswitch costume to (costume26 v)\n\nwhen I receive [message33 v]\nswitch costume to (costume27 v)\n\nwhen I receive [message34 v]\nswitch costume to (costume28 v)\n\nwhen I receive [message35 v]\nswitch costume to (costume29 v)\n\nwhen I receive [message36 v]\nswitch costume to (costume30 v)\n\nwhen I receive [message37 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nswitch costume to (costume31 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message38 v]\nswitch costume to (costume32 v)\n\nwhen I receive [message39 v]\nswitch costume to (costume33 v)\n\nwhen I receive [message40 v]\nswitch costume to (costume34 v)\n\nwhen I receive [message41 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [good code v]\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message41 v]\nwait (68) seconds\nswitch costume to (costume35 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message42 v]\nswitch costume to (costume36 v)\n\nwhen I receive [message43 v]\nswitch costume to (costume37 v)\n\nwhen I receive [message44 v]\nswitch costume to (costume38 v)\n\nwhen I receive [porte v]\nswitch costume to (costume39 v)\nset [niveau ; lieu v] to [7.5]\n\nwhen I receive [message45 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nswitch costume to (costume40 v)\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message46 v]\nswitch costume to (costume41 v)\n\nwhen I receive [message45 v]\nforever\n    go [backward v] (2) layers\nend\n\nwhen I receive [message47 v]\nswitch costume to (costume42 v)\n\nwhen I receive [message48 v]\nswitch costume to (costume43 v)\n\nwhen I receive [message49 v]\nswitch costume to (costume44 v)\n\nwhen I receive [message50 v]\nswitch costume to (costume45 v)\n\nwhen I receive [rip v]\nwait (12) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin7\n\nwhen flag clicked\nset [ghost v] effect to (100)\nwait (7) seconds\ngo to x: (4) y: (-126)\nset size to (200) %\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nwait (9) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin8\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nwait (12) seconds\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nwait (11) seconds\nplay sound [Mega Man 2 \(NES\) Music - Boss Select.mp3 v] until done\n\nwhen I receive [message9 v]\nwait (13) seconds\nswitch costume to (costume2 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message9 v]\nwait (12) seconds\nplay sound [Mega Man 2 \(NES\) Music - Boss Select.mp3 v] until done\n\nwhen I receive [message15 v]\nwait (13) seconds\nswitch costume to (costume3 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message15 v]\nwait (12) seconds\nplay sound [Mega Man 2 \(NES\) Music - Boss Select.mp3 v] until done\n\nwhen I receive [message22 v]\nwait (13) seconds\nswitch costume to (costume4 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message37 v]\nwait (12) seconds\nplay sound [Mega Man 2 \(NES\) Music - Boss Select.mp3 v] until done\n\nwhen I receive [message31 v]\nwait (4) seconds\nswitch costume to (costume5 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message31 v]\nwait (3) seconds\nplay sound [Mega Man 2 \(NES\) Music - Boss Select.mp3 v] until done\n\nwhen I receive [message22 v]\nwait (12) seconds\nplay sound [Mega Man 2 \(NES\) Music - Boss Select.mp3 v] until done\n\nwhen I receive [message37 v]\nwait (13) seconds\nswitch costume to (costume6 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message41 v]\nswitch costume to (costume7 v)\nwait (63) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin10\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [1.1]> then\n        set [ghost v] effect to (100)\n    end\n    if <(niveau ; lieu) = [1.2]> then\n        go to x: (85) y: (-59)\n        show\n        set [ghost v] effect to (0)\n        glide (0.5) secs to x: (85) y: (-20)\n        glide (0.5) secs to x: (85) y: (-59)\n        if <(code) = [1]> then\n            wait (3) seconds\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            stop [this script v]\n        end\n    end\n    if <(niveau ; lieu) = [1.3]> then\n        go to x: (93) y: (12)\n        show\n        set [ghost v] effect to (0)\n    end\n    if <(niveau ; lieu) = [1.4]> then\n        set [ghost v] effect to (100)\n    end\n    if <(niveau ; lieu) = [1.5]> then\n        go to x: (134) y: (-98)\n        show\n        set [ghost v] effect to (0)\n        glide (0.7) secs to x: (-134) y: (-98)\n        glide (0.7) secs to x: (134) y: (-98)\n    end\n    if <(niveau ; lieu) = [2.1]> then\n        set [ghost v] effect to (100)\n    end\nend\n\nwhen flag clicked\nset [code v] to [0]\n\nwhen I receive [good code v]\nset [code v] to [1]\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [1.6]> then\n        set [ghost v] effect to (100)\n    end\nend\n\n@Lutin9\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nwait (16) seconds\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message2 v]\ngo to x: (-5) y: (0)\n\nwhen I receive [message3 v]\ngo to x: (-10) y: (0)\n\nwhen I receive [message4 v]\ngo to x: (-15) y: (0)\n\nwhen I receive [message9 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [good code v]\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin11\n\nwhen flag clicked\nhide\ngo [backward v] (1) layers\n\nwhen I receive [message2 v]\nshow\ngo to x: (475) y: (0)\n\nwhen I receive [message3 v]\ngo to x: (470) y: (0)\n\nwhen I receive [message5 v]\ngo to x: (465) y: (0)\n\nwhen I receive [message9 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [good code v]\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin12\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\nwait (16) seconds\nswitch costume to (costume1 v)\ngo to x: (-196) y: (164)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message4 v]\nnext costume\nforever\n    if <(costume [number v]) = [6]> then\n        broadcast (message6 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [message9 v]\nwait (10) seconds\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message15 v]\nwait (10) seconds\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message22 v]\nwait (10) seconds\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message26 v]\nset [ghost v] effect to (0)\nwait (1.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message29 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message31 v]\nwait (8) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message37 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message41 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message41 v]\ngo to [front v] layer\nwait (68) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message45 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [rip v]\nwait (12) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin13\n\nwhen flag clicked\nhide\n\nwhen I receive [message6 v]\nwait (0.5) seconds\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nset size to (600) %\nrepeat (15)\n    change size by (-10)\nend\n\nwhen I receive [message6 v]\nwait (0.5) seconds\nplay sound [gameoverlod2 v] until done\n\n@Lutin14\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [1.6]> then\n        show\n        switch costume to (costume1 v)\n        go to x: (0) y: (-115)\n        if <touching (lutin5 v)?> then\n            hide\n            broadcast (message9 v)\n            play sound [Course Clear - Super Mario World.mp3 v] until done\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<(niveau ; lieu) = [1.6]> or <<(niveau ; lieu) = [2.6]> or <<(niveau ; lieu) = [3.6]> or <(niveau ; lieu) = [5.6]>>>>> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [3.6]> then\n        show\n        switch costume to (costume3 v)\n        go to x: (180) y: (-143)\n        if <touching (lutin5 v)?> then\n            hide\n            broadcast (message22 v)\n            play sound [Course Clear - Super Mario World.mp3 v] until done\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [2.6]> then\n        show\n        switch costume to (costume2 v)\n        go to x: (0) y: (105)\n        if <touching (lutin5 v)?> then\n            hide\n            broadcast (message15 v)\n            play sound [Course Clear - Super Mario World.mp3 v] until done\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [5.6]> then\n        show\n        switch costume to (costume4 v)\n        go to x: (0) y: (8)\n        if <touching (lutin5 v)?> then\n            hide\n            broadcast (message37 v)\n            play sound [Course Clear - Super Mario World.mp3 v] until done\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [6.9]> then\n        show\n        switch costume to (costume4 v)\n        go to x: (12) y: (-112)\n        if <touching (lutin5 v)?> then\n            hide\n            broadcast (message41 v)\n            play sound [Course Clear - Super Mario World.mp3 v] until done\n            stop [this script v]\n        end\n    end\nend\n\n@Lutin15\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [message9 v]\nshow\ngo to [front v] layer\nset [color v] effect to (0)\nset size to (200) %\ngo to x: (0) y: (0)\nrepeat (100)\n    wait (0) seconds\n    change [color v] effect by (15)\nend\nwait (1) seconds\nhide\n\nwhen I receive [message15 v]\nshow\ngo to [front v] layer\nset [color v] effect to (0)\nset size to (200) %\ngo to x: (0) y: (0)\nrepeat (100)\n    wait (0) seconds\n    change [color v] effect by (15)\nend\nwait (1) seconds\nhide\n\nwhen I receive [message22 v]\nshow\ngo to [front v] layer\nset [color v] effect to (0)\nset size to (200) %\ngo to x: (0) y: (0)\nrepeat (100)\n    wait (0) seconds\n    change [color v] effect by (15)\nend\nwait (1) seconds\nhide\n\nwhen I receive [message37 v]\nshow\ngo to [front v] layer\nset [color v] effect to (0)\nset size to (200) %\ngo to x: (0) y: (0)\nrepeat (100)\n    wait (0) seconds\n    change [color v] effect by (15)\nend\nwait (1) seconds\nhide\n\nwhen I receive [message41 v]\nshow\ngo to [front v] layer\nset [color v] effect to (0)\nset size to (200) %\ngo to x: (0) y: (0)\nrepeat (100)\n    wait (0) seconds\n    change [color v] effect by (15)\nend\nwait (1) seconds\nhide\n\n@Lutin16\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [message9 v]\npoint in direction (90)\nhide\nset [ghost v] effect to (100)\nwait (16) seconds\nset size to (300) %\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nforever\n    go to x: (0) y: (160)\n    turn left (4) degrees\n    if <(niveau ; lieu) = [2.2]> then\n        hide\n    end\nend\n\n@Lutin17\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [2.2]> then\n        show\n        set size to (260) %\n        go to x: (50) y: (-110)\n        turn left (10) degrees\n    end\n    if <(niveau ; lieu) = [2.3]> then\n        hide\n    end\nend\n\n@Lutin18\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [2.4]> then\n        show\n        go to x: (0) y: (-3)\n        glide (3.5) secs to x: (0) y: (200)\n        glide (0.1) secs to x: (0) y: (-3)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [2.5]> then\n        hide\n    end\nend\n\n@Lutin19\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [2.5]> then\n        show\n        go to x: (166) y: (69)\n        glide (0.2) secs to x: (-129) y: (-105)\n        glide (1.5) secs to x: (166) y: (69)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [2.6]> then\n        hide\n    end\nend\n\n@Lutin20\n\nwhen flag clicked\nhide\n\nwhen I receive [message15 v]\nwait (17.5) seconds\nshow\ngo to [front v] layer\ngo to x: (32) y: (49)\nset [ghost v] effect to (60)\n\nwhen I receive [message16 v]\nhide\n\n@Lutin21\n\nwhen flag clicked\nhide\n\nwhen I receive [message15 v]\nforever\n    if <(niveau ; lieu) = [3.1]> then\n        switch costume to (costume1 v)\n        glide (0.8) secs to x: (-32) y: (-118)\n        switch costume to (costume2 v)\n        glide (0.8) secs to x: (108) y: (-118)\n    end\nend\n\nwhen I receive [message15 v]\nwait (17.5) seconds\nshow\nforever\n    if <(niveau ; lieu) = [3.2]> then\n        hide\n    end\nend\n\n@Lutin22\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [3.3]> then\n        show\n        set size to (90) %\n        go to x: (6) y: (97)\n    end\n    if <(niveau ; lieu) = [3.4]> then\n        hide\n    end\nend\n\n@Lutin23\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [3.4]> then\n        show\n        set size to (90) %\n        go to x: (9) y: (38)\n        forever\n            turn right (2) degrees\n            if <(niveau ; lieu) = [3.5]> then\n                hide\n            end\n        end\n    end\nend\n\n@Lutin24\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [3.5]> then\n        show\n        set [ghost v] effect to (0)\n        go to x: (0) y: (68)\n        glide (0.7) secs to x: (168) y: (68)\n        glide (1.4) secs to x: (-164) y: (66)\n        glide (0.7) secs to x: (0) y: (68)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [3.6]> then\n        set [ghost v] effect to (100)\n        hide\n    end\nend\n\n@Lutin25\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <(niveau ; lieu) = [3.6]> then\n        show\n        go to x: (-57) y: (-147)\n        glide (1) secs to x: (-57) y: (48)\n        glide (1) secs to x: (-57) y: (-147)\n    end\nend\n\nwhen I receive [message22 v]\nstop [other scripts in sprite v]\nwait (9.5) seconds\nset [ghost v] effect to (0)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@7f2a8988\n\nwhen flag clicked\nhide\n\nwhen I receive [message22 v]\nwait (16.5) seconds\nshow\ngo to [front v] layer\ngo to x: (7) y: (15)\nforever\n    wait (0.05) seconds\n    next costume\n    if <(niveau ; lieu) = [5]> then\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\nwhen I receive [message29 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin26\n\nwhen flag clicked\nhide\n\nwhen I receive [message22 v]\nwait (16.5) seconds\nswitch costume to (costume1 v)\ngo [backward v] (1) layers\ngo to x: (156) y: (-25)\nforever\n    if <(niveau ; lieu) = [4.1]> then\n        show\n        switch costume to (costume1 v)\n        glide (1.5) secs to x: (66) y: (-32)\n        switch costume to (costume2 v)\n        glide (1.5) secs to x: (156) y: (-25)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [4.2]> then\n        hide\n    end\nend\n\n@Lutin27\n\nwhen flag clicked\nhide\nforever\n    if <(niveau ; lieu) = [4.2]> then\n        set size to (70) %\n        wait (0.2) seconds\n        show\n        go to x: (207) y: (198)\n        glide (0.2) secs to x: (217) y: (-7)\n        glide (1.2) secs to x: (-83) y: (-37)\n        glide (0.2) secs to x: (-90) y: (-179)\n        hide\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [4.3]> then\n        hide\n    end\nend\n\n@Lutin28\n\nwhen flag clicked\nhide\ngo [backward v] (1) layers\nforever\n    if <[4.3] = (niveau ; lieu)> then\n        show\n        go to x: (-18) y: (-6)\n        if <touching (lutin5 v)?> then\n            think [To the mountain temple]\n        else\n            think [...]\n        end\n    end\n    if <[4.4] = (niveau ; lieu)> then\n        hide\n    end\nend\n\n@Lutin29\n\nwhen flag clicked\nhide\ngo [backward v] (1) layers\nforever\n    if <[4.4] = (niveau ; lieu)> then\n        show\n        go to x: (0) y: (35)\n        if <touching (lutin5 v)?> then\n            think [aB%'545?]\n        else\n            think [...]\n        end\n    end\n    if <[4.5] = (niveau ; lieu)> then\n        hide\n    end\nend\n\n@Lutin30\n\nwhen flag clicked\nset [ghost v] effect to (100)\nshow\ngo to x: (-1) y: (-105)\n\nwhen I receive [message29 v]\nwait (5) seconds\nswitch costume to (costume1 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nrepeat (12)\n    wait (4) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    next costume\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nwait (2) seconds\nhide\nset [niveau ; lieu v] to [5]\nbroadcast (message30 v)\nwait (12) seconds\nrepeat (3)\n    wait (4) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    show\n    next costume\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nwait (2) seconds\nhide\nwait (2) seconds\nbroadcast (message31 v)\n\n@Lutin31\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\n    go to (lutin5 v)\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume1 v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\nwait (16) seconds\nswitch costume to (costume1 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message9 v]\nwait (9.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nswitch costume to (costume1 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message15 v]\nwait (9.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nswitch costume to (costume1 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message22 v]\nwait (9.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nswitch costume to (costume1 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message31 v]\nset [ghost v] effect to (100)\nwait (8) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message29 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message37 v]\nwait (10) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message37 v]\nwait (9) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message41 v]\nwait (9) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [good code v]\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message41 v]\nwait (69) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message45 v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (4) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nshow\n\nwhen I receive [rip v]\nwait (12) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nforever\n    if <touching (lutin14 v)?> then\n        broadcast (montrerdetecteur v)\n    end\n    if <touching color (#e5e5e5)?> then\n        broadcast (montrerdetecteur v)\n    end\n    if <touching (lutin36 v)?> then\n        broadcast (montrerdetecteur v)\n    end\n    if <touching (lutin50 v)?> then\n        broadcast (montrerdetecteur v)\n    end\nend\n\n@Lutin32\n\nwhen flag clicked\nhide\n\nwhen I receive [message30 v]\nshow\ngo to x: (11) y: (215)\nglide (4) secs to x: (11) y: (-9)\n\nwhen I receive [message31 v]\nset [ghost v] effect to (0)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen I receive [message41 v]\ngo to x: (0) y: (0)\nwait (24) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nstop [other scripts in sprite v]\n\n@Lutin33\n\nwhen I receive [message30 v]\nwait (4) seconds\nshow\nset size to (100) %\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\nrepeat (120)\n    turn right (20) degrees\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\n@Lutin34\n\nwhen I receive [message30 v]\nwait (4) seconds\nshow\nset size to (100) %\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\nrepeat (120)\n    turn left (30) degrees\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\n@Lutin35\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <([costume # v] of [lutin31 v]) = [1]> then\n        go to x: (([x position v] of [lutin31 v]) + (7)) y: (([y position v] of [lutin31 v]) + (50))\n    end\n    if <([costume # v] of [lutin31 v]) = [2]> then\n        go to x: (([x position v] of [lutin31 v]) - (7)) y: (([y position v] of [lutin31 v]) + (50))\n    end\nend\n\nwhen I receive [message31 v]\nwait (8) seconds\nshow\nset [ghost v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nswitch costume to (costume1 v)\nforever\n    point towards (mouse-pointer v)\n    if <mouse down?> then\n        repeat (1)\n            wait (0.2) seconds\n            next costume\n        end\n        repeat (4)\n            next costume\n        end\n        if <not <mouse down?>> then\n            wait (1) seconds\n            switch costume to (costume1 v)\n        end\n    end\nend\n\nwhen I receive [message37 v]\nwait (9.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (6.5) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [message41 v]\nwait (9) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin36\n\nwhen flag clicked\nhide\n\nwhen I receive [message31 v]\nwait (8) seconds\ngo to x: (188) y: (-31)\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-5)\nend\nstop [this script v]\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [5.1]> then\n        if <touching (lutin35 v)?> then\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [5.2]> then\n        show\n        go to x: (19) y: (-31)\n        if <touching (lutin35 v)?> then\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [5.3]> then\n        show\n        go to x: (120) y: (-31)\n        if <touching (lutin35 v)?> then\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [5.5]> then\n        show\n        go to x: (8) y: (74)\n        if <touching (lutin35 v)?> then\n            hide\n            stop [this script v]\n        end\n    end\nend\n\n@Lutin37\n\nwhen flag clicked\nhide\nforever\n    if <(niveau ; lieu) = [5.4]> then\n        show\n        go [backward v] (2) layers\n        go to x: (-193) y: (-64)\n        if <touching (lutin5 v)?> then\n            think [Plateforms disappear.]\n        else\n            think [...]\n        end\n    end\n    if <(niveau ; lieu) = [5.5]> then\n        hide\n    end\nend\n\n@Lutin38\n\nwhen flag clicked\nhide\nforever\n    if <(niveau ; lieu) = [5.4]> then\n        show\n        go to x: (-14) y: (-67)\n        if <touching (lutin5 v)?> then\n            wait (0.6) seconds\n            hide\n            wait (1.1) seconds\n            show\n        end\n    end\n    if <(niveau ; lieu) = [5.5]> then\n        hide\n    end\nend\n\n@Lutin39\n\nwhen flag clicked\nhide\nforever\n    if <(niveau ; lieu) = [5.4]> then\n        show\n        go to x: (162) y: (-91)\n        if <touching (lutin5 v)?> then\n            wait (0.6) seconds\n            hide\n            wait (1.1) seconds\n            show\n        end\n    end\n    if <(niveau ; lieu) = [5.5]> then\n        hide\n    end\nend\n\n@Lutin40\n\nwhen flag clicked\nhide\nforever\n    if <(niveau ; lieu) = [6.2]> then\n        show\n        go [backward v] (3) layers\n        go to x: (18) y: (-21)\n    end\n    if <(niveau ; lieu) = [6.3]> then\n        hide\n    end\nend\n\n@Lutin41\n\nwhen flag clicked\nhide\npoint in direction (90)\nforever\n    if <(niveau ; lieu) = [6.3]> then\n        show\n        point in direction (90)\n        go to x: (3) y: (-55)\n        glide (0.5) secs to x: (-118) y: (-55)\n        glide (1) secs to x: (110) y: (-55)\n        glide (0.5) secs to x: (3) y: (-55)\n        point in direction (-90)\n        go to x: (3) y: (68)\n        glide (0.5) secs to x: (-118) y: (68)\n        glide (1) secs to x: (110) y: (68)\n        glide (0.5) secs to x: (3) y: (68)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [6.4]> then\n        hide\n    end\n    if <(niveau ; lieu) = [6.5]> then\n        hide\n    end\nend\n\n@Lutin43\n\nwhen flag clicked\nhide\nforever\n    if <<(niveau ; lieu) = [6.4]> or <<(niveau ; lieu) = [6.5]> or <<(niveau ; lieu) = [6.6]> or <(niveau ; lieu) = [6.7]>>>> then\n        show\n        set size to (120) %\n        go to x: (0) y: (130)\n        turn left (1) degrees\n    end\n    if <(niveau ; lieu) = [6.8]> then\n        hide\n    end\nend\n\n@Lutin42\n\nwhen I receive [message41 v]\nwait (30) seconds\ngo to x: (0) y: (0)\nset size to (100) %\nrepeat (20)\n    wait (0.5) seconds\n    change [ghost v] effect by (-5)\nend\nglide (1) secs to x: (0) y: (-80)\n\nwhen I receive [message41 v]\nwait (30) seconds\nplay sound [Calling the Four Giants - The Legend of Zelda_ Majora's Mask.mp3 v] until done\n\nwhen I receive [message41 v]\nwait (40) seconds\nrepeat (40)\n    wait (0.5) seconds\n    change size by (5)\nend\n\nwhen I receive [message41 v]\nwait (50) seconds\nglide (5) secs to x: (0) y: (-425)\nset [ghost v] effect to (100)\nhide\n\nwhen flag clicked\nset volume to (100) %\nshow\nset [ghost v] effect to (100)\n\nwhen I receive [message41 v]\nwait (65) seconds\nrepeat (20)\n    change volume by (-5)\nend\nstop all sounds\n\n@Lutin44\n\nwhen I receive [message41 v]\ngo to x: (0) y: (425)\nwait (50) seconds\nshow\nset [ghost v] effect to (0)\nglide (5) secs to x: (0) y: (0)\nwait (4) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nhide\n\n@Lutin45\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to x: (-7) y: (-150)\nforever\n    if <(niveau ; lieu) = [7.5]> then\n        show\n        go to [front v] layer\n        set [ghost v] effect to (0)\n        if <touching (lutin5 v)?> then\n            glide (3) secs to x: (-7) y: (130)\n            broadcast (message45 v)\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            stop [this script v]\n        end\n    end\nend\n\n@Lutin46\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [7.7]> then\n        go to x: (0) y: (0)\n        show\n        set [ghost v] effect to (0)\n        go [backward v] (0) layers\n        wait (3) seconds\n        say [Hey !] for (4) seconds\n        wait (1) seconds\n        say [What are you doing here ?] for (4) seconds\n        wait (1) seconds\n        say [...] for (4) seconds\n        wait (1) seconds\n        say [Are you come for save the kingdom ?] for (4) seconds\n        wait (1) seconds\n        say [You can't do this if you haven't a weapon, guy !] for (4) seconds\n        wait (1) seconds\n        say [I will give you a sword.] for (4) seconds\n        set [niveau ; lieu v] to [non2]\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [non2]> then\n        wait (4) seconds\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        stop [this script v]\n    end\nend\n\n@Lutin47\n\nwhen flag clicked\nhide\ngo to [front v] layer\nset [ghost v] effect to (0)\n\nwhen I receive [non2 v]\nforever\n    show\n    point in direction (90)\n    if <([costume # v] of [lutin31 v]) = [1]> then\n        go to x: (([x position v] of [lutin5 v]) + (20)) y: (([y position v] of [lutin5 v]) + (50))\n        if <key (a v) pressed?> then\n            turn right (60) degrees\n            set [position épée v] to [baissée]\n            wait (0.1) seconds\n            turn left (60) degrees\n            set [position épée v] to [levée]\n        end\n    end\n    if <([costume # v] of [lutin31 v]) = [2]> then\n        go to x: (([x position v] of [lutin5 v]) + (-20)) y: (([y position v] of [lutin5 v]) + (50))\n        if <key (a v) pressed?> then\n            turn left (60) degrees\n            set [position épée v] to [baissée]\n            wait (0.1) seconds\n            turn right (60) degrees\n            set [position épée v] to [levée]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [non2]> then\n        show\n        go to x: (-53) y: (9)\n        glide (5) secs to x: (-70) y: (105)\n        wait (0.5) seconds\n        broadcast (non2 v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [cavafairemal v]\nhide\n\nwhen flag clicked\nset [position épée v] to [levée]\n\nwhen I receive [rip v]\nwait (12) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Lutin48\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [7.9]> then\n        show\n        go to [front v] layer\n        go to x: (236) y: (3)\n        if <touching (lutin47 v)?> then\n            glide (3) secs to x: (236) y: (210)\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [final1]> then\n        hide\n    end\nend\n\n@costume1\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [final2]> then\n        go to x: (123) y: (79)\n        set size to (50) %\n        forever\n            switch costume to (costume1 v)\n            change y by (-5)\n            wait (0.1) seconds\n            change y by (5)\n            switch costume to (costume2 v)\n            wait (0.1) seconds\n            if <(King of Darkness) = [0]> then\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [final2]> then\n        forever\n            show\n            go to x: (123) y: (79)\n            glide (0.5) secs to x: (-93) y: (79)\n            glide (1) secs to x: (123) y: (79)\n            hide\n            wait (3) seconds\n            if <(King of Darkness) = [0]> then\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [final2]> then\n        show variable [king of darkness v]\n        if <touching (lutin47 v)?> then\n            if <(position épée) = [baissée]> then\n                switch costume to (costume3 v)\n                wait (0) seconds\n                change [king of darkness v] by (-10)\n                if <(King of Darkness) = [0]> then\n                    stop [this script v]\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [king of darkness v] to [400]\nhide variable [king of darkness v]\n\nwhen I receive [rip v]\nhide\nstop [this script v]\n\nwhen flag clicked\nforever\n    if <(King of Darkness) = [0]> then\n        set [niveau ; lieu v] to [win]\n        broadcast (rip v)\n        stop [this script v]\n    end\nend\n\n@Lutin49\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(niveau ; lieu) = [final2]> then\n        show\n        go to [front v] layer\n        go to x: (0) y: (0)\n        set [ghost v] effect to (100)\n        repeat (20)\n            change [ghost v] effect by (-5)\n        end\n        wait (3) seconds\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        hide\n        stop [this script v]\n    end\nend\n\n@Lutin50\n\nwhen flag clicked\nhide\nforever\n    if <(niveau ; lieu) = [final2]> then\n        if <<([x position v] of [costume1 v]) = [123]> and <<([y position v] of [costume1 v]) = [79]> or <([y position v] of [costume1 v]) = [74]>>> then\n            show\n            go to [front v] layer\n            go to (costume1 v)\n            glide (0.8) secs to x: (pick random (-240) to (240)) y: (-120)\n            hide\n        else\n            hide\n        end\n        if <(King of Darkness) = [0]> then\n            hide\n            stop [this script v]\n        end\n    end\nend\n\n@tumblr_oc1630KXoF1u77u56o1_640\n\nwhen flag clicked\nhide\n\nwhen I receive [rip v]\nset size to (60) %\nswitch costume to (tumblr_oc1630kxof1u77u56o1_640-0 v)\ngo to (costume1 v)\nwait (0) seconds\nshow\nrepeat (18)\n    wait (0.1) seconds\n    next costume\nend\nhide\n\n@Lutin51\n\nwhen flag clicked\nhide\n\nwhen I receive [rip v]\nwait (5) seconds\nshow\ngo to [front v] layer\ngo to x: (0) y: (85)\nswitch costume to (costume1 v)\nrepeat (20)\n    wait (0.1) seconds\n    next costume\nend\nwait (2) seconds\nhide\n\n@Lutin52\n\nwhen flag clicked\nhide\n\nwhen I receive [rip v]\ngo to x: (0) y: (0)\nwait (15) seconds\nshow\nset [ghost v] effect to (100)\nswitch costume to (costume1 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nrepeat (17)\n    wait (3.2) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    next costume\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\nwait (3.2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nstop [this script v]\n\nwhen I receive [rip v]\nwait (2) seconds\nhide variable [king of darkness v]\n\nwhen flag clicked\nhide variable [position épée v]\nhide variable [code v]\nhide variable [valeur 1-1 v]\nhide variable [niveau ; lieu v]\nhide variable [gravité v]\n\n