The Life of Platformer Game 1.6
@Stage\n\nwhen flag clicked\nset volume to (100) %\nswitch backdrop to (arrière-plan1 v)\nbroadcast (Intro v)\n\nwhen I receive [menu v]\nforever\n    play sound [music nice menu energetic v] until done\nend\n\nwhen I receive [start fight boss1 v]\nswitch backdrop to (arrière-plan3 v)\n\nwhen I receive [start game n°2 v]\nswitch backdrop to (arrière-plan5 v)\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [fight boss final v]\nforever\n    play sound [EPIC TRAILER BATTLE FIGHT MUSIC v] until done\nend\n\nwhen I receive [fight boss final v]\nforever\n    if <(X SCROLL FINAL) < [-710]> then\n        broadcast (GAME OVER FIGHT BOSS v)\n        stop [this script v]\n    end\n    if <(Y SCROLL FINAL) > [530]> then\n        broadcast (GAME OVER FIGHT BOSS v)\n        stop [this script v]\n    end\n    if <(X SCROLL FINAL) > [710]> then\n        broadcast (GAME OVER FIGHT BOSS v)\n        stop [this script v]\n    end\n    if <(Y SCROLL FINAL) < [-520]> then\n        broadcast (GAME OVER FIGHT BOSS v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [game over fight boss v]\nrepeat (50)\n    change [pitch v] effect by (-2)\n    change volume by (-2)\nend\nstop all sounds\nset volume to (100) %\nset [pitch v] effect to (0)\n\nwhen I receive [fight boss final v]\nswitch backdrop to (arrière-plan6 v)\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nswitch backdrop to (arrière-plan7 v)\n\nwhen I receive [noir end v]\nforever\n    play sound [Henry Stickmin Convict Allies Theme!  Red Headed Outlaw v] until done\nend\n\nwait (3) seconds\nset [life boss v] to [0]\n\nwhen I receive [fight boss final v]\nset [life boss v] to [100]\nset [life battle final v] to [100]\n\n@My Intro\n\nwhen I receive [intro v]\nset [yes v] to []\nplay sound [<unknown>    v] until done\nset [yes v] to [yes]\nplay sound [Slice SFX v] until done\n\ndefine clone (id)\nset [ma variable v] to (id)\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I receive [intro v]\nreset timer\nhide\nswitch costume to (text1 v)\ngo to x: (0) y: (0)\nset size to (100) %\npoint in direction (90)\nclone [noir]\nclone [volcano]\nclone [scratch]\nclone [effect]\nclone [bar noir]\nwait until <(timer) > [1.05]>\nparticle\n\nwhen I start as a clone\nif <(ma variable) = [noir]> then\n    forever\n        show\n        switch costume to (noir v)\n        go to [back v] layer\n        go to x: (0) y: (0)\n        point in direction (90)\n    end\nend\n\nwhen I start as a clone\nif <(ma variable) = [volcano]> then\n    show\n    switch costume to (text1 v)\n    go to [back v] layer\n    set size to (200) %\n    go to x: (0) y: (10000)\n    point in direction (-90)\n    repeat (40)\n        change y by (((33) - (y position)) / (6))\n        turn right (((90) - (direction)) / (6)) degrees\n        change size by (((100) - (size)) / (6))\n    end\nend\n\nwhen I start as a clone\nif <(ma variable) = [scratch]> then\n    show\n    switch costume to (text2 v)\n    go to [back v] layer\n    set size to (200) %\n    go to x: (0) y: (-10000)\n    point in direction (-90)\n    repeat (40)\n        change y by (((-33) - (y position)) / (6))\n        turn left (((direction) - (90)) / (6)) degrees\n        change size by (((100) - (size)) / (6))\n    end\nend\n\nwhen I start as a clone\nif <(ma variable) = [effect]> then\n    wait until <(timer) > [1.05]>\n    show\n    go to [back v] layer\n    go to x: (0) y: ()\n    set [brightness v] effect to (100)\n    set size to (200) %\n    repeat (10)\n        change [brightness v] effect by (-5)\n        change size by (((100) - (size)) / (3))\n    end\n    repeat (10)\n        change [brightness v] effect by (-10)\n        change size by (((100) - (size)) / (3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ma variable) = [effect]> then\n    wait until <(timer) > [1.05]>\n    switch costume to (effect v)\n    repeat (7)\n        next costume\n        wait (0.1) seconds\n    end\nend\n\nwhen I start as a clone\nif <(ma variable) = [scratch]> then\n    wait until <(timer) > [1.05]>\n    set size to (150) %\n    repeat (56)\n        change size by (((100) - (size)) / (10))\n    end\nend\n\nwhen I start as a clone\nif <(ma variable) = [volcano]> then\n    wait until <(timer) > [1.05]>\n    set size to (150) %\n    repeat (56)\n        change size by (((100) - (size)) / (10))\n    end\nend\n\ndefine particle\nset [ma variable v] to [p]\nrepeat (30)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(ma variable) = [p]> then\n    show\n    go to x: (0) y: (0)\n    go to [front v] layer\n    switch costume to (pick random (6) to (7))\n    point in direction (pick random (0) to (360))\n    set size to (pick random (10) to (75)) %\n    set [speed v] to (pick random (10) to (15))\n    repeat ((speed) * (2))\n        move (speed) steps\n        change [speed v] by (-0.5)\n        change [ghost v] effect by (3)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ma variable) = [bar noir]> then\n    wait until <(yes) = [yes]>\n    show\n    go to x: (-310) y: ()\n    go to [front v] layer\n    switch costume to (bar noir v)\n    repeat (8)\n        change x by (((230) - (x position)) / (10))\n    end\n    broadcast (supprim text v)\n    repeat (48)\n        change x by (((230) - (x position)) / (10))\n    end\n    delete this clone\nend\n\nwhen I receive [supprim text v]\nif < (costume [name v]) contains [Text]?> then\n    if <(costume [number v]) = [2]> then\n        switch costume to (like v)\n        wait (2) seconds\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        delete this clone\n    else\n        if <(costume [number v]) = [4]> then\n            switch costume to (fav v)\n            wait (2) seconds\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            wait (0.5) seconds\n            broadcast (END v)\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [end v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nbroadcast (suprim clone v)\n\n@Animation//Animation\n\nwhen I receive [end v]\nreset timer\ngo to [back v] layer\nshow\nset [brightness v] effect to (-100)\nset size to (100) %\ngo to x: (0) y: (0)\nrepeat (50)\n    switch costume to (hack v)\n    change size by (0.1)\n    switch costume to (1 v)\n    change [brightness v] effect by (2)\nend\nrepeat (75)\n    switch costume to (hack v)\n    change size by (0.1)\n    switch costume to (1 v)\nend\nrepeat (20)\n    switch costume to (hack v)\n    change size by (0.1)\n    switch costume to (1 v)\n    change [brightness v] effect by (-5)\nend\nset size to (100) %\nrepeat (20)\n    switch costume to (hack v)\n    change size by (0.1)\n    switch costume to (2 v)\n    change [brightness v] effect by (5)\nend\nwait (0.5) seconds\nstop all sounds\nstart sound [Glass Breaking v]\nswitch costume to (4 v)\nwait (0.25) seconds\nstart sound [woosh v]\nrepeat (10)\n    next costume\n    wait (0.04) seconds\nend\nwait (0.5) seconds\nswitch costume to (16 v)\nstart sound [wrrrroumm v]\nwait (0.25) seconds\nrepeat (13)\n    next costume\n    wait (0.04) seconds\nend\nwait (1) seconds\nswitch costume to (15 v)\nstart sound [angoisse v]\nrepeat (75)\n    switch costume to (hack v)\n    change size by (0.1)\n    switch costume to (15 v)\nend\nrepeat (5)\n    change [brightness v] effect by (20)\nend\nstart sound [Woosh 4 v]\nset [360° intro v] to [32]\nVIBREMENT INVERSÉ NORMALE [10] [.10] [150] [100]\nrepeat (50)\n    switch costume to (hack v)\n    change size by (0.1)\n    switch costume to (19 v)\n    change [brightness v] effect by (-3)\nend\nbroadcast (Menu v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nplay sound [happy music v] until done\n\ndefine VIBREMENT INVERSÉ NORMALE (multiplier) (.quelquechose) (taille début) (taille fin)\nset size to (taille début) %\nrepeat (56)\n    go to x: ((([sin v] of ((timer) * (1000)) ) * (multiplier)) * (((taille fin) - (size)) * (.quelquechose))) y: ((([cos v] of ((timer) * (1000)) ) * (multiplier)) * (((taille fin) - (size)) * (.quelquechose)))\n    point in direction (((([sin v] of ((timer) * (1000)) ) * (multiplier)) * (((taille fin) - (size)) * (.2))) + (90))\n    switch costume to (big v)\n    change size by (((taille fin) - (size)) / (10))\n    switch costume to (19 v)\n    change [brightness v] effect by (-1.7)\nend\n\nwhen I receive [skip v]\nrepeat (10)\n    change [brightness v] effect by (-10)\n    change volume by (-10)\nend\nstop all sounds\nstop [other scripts in sprite v]\nset volume to (100) %\nhide\nbroadcast (Menu v)\n\n@Animation//Animation Boss1\n\nwhen I receive [animation boss n°1 v]\nreset timer\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (1 v)\nwait (0.5) seconds\nstart sound [woosh v]\nrepeat (9)\n    wait (0.02) seconds\n    next costume\nend\nwait (0.5) seconds\nrepeat (5)\n    wait (0.02) seconds\n    next costume\nend\nwait (0.5) seconds\nswitch costume to (hack v)\ngo to x: (225) y: (80)\nset size to (190) %\nswitch costume to (16 v)\nrepeat (56)\n    switch costume to (hack v)\n    change size by (((100) - (size)) / (10))\n    switch costume to (16 v)\n    change x by (((0) - (x position)) / (10))\n    change y by (((0) - (y position)) / (10))\nend\nwait (0.5) seconds\nrepeat (5)\n    wait (0.02) seconds\n    next costume\nend\nstart sound [explosion v]\nbroadcast (vibre v)\nrepeat (2)\n    wait (0.02) seconds\n    next costume\nend\nwait (2) seconds\nnext costume\nwait (3) seconds\nswitch costume to (26 v)\nwait (0.5) seconds\nrepeat (4)\n    wait (0.04) seconds\n    next costume\nend\nswitch costume to (30 v)\nwait (0.5) seconds\nstart sound [woosh v]\nrepeat (10)\n    next costume\nend\nswitch costume to (41 v)\nbroadcast (tremble v) and wait\nstart sound [Woosh 5 v]\nrepeat (12)\n    wait (0.04) seconds\n    next costume\nend\nwait (2) seconds\nswitch costume to (56 v)\nwait (1) seconds\nstart sound [woosh v]\nrepeat (5)\n    wait (0.02) seconds\n    next costume\nend\nswitch costume to (62 v)\nwait (0.5) seconds\nstart sound [Treasure_Chest_Open_The_Legend_of_Zelda_Twiligh v]\nset [cost défilement v] to [0.04]\nclear graphic effects\nrepeat (8)\n    repeat (4)\n        wait (0.01) seconds\n        next costume\n        change [brightness v] effect by (1.5)\n    end\n    repeat (4)\n        wait (0.01) seconds\n        switch costume to ((costume [number v]) - (1))\n        change [brightness v] effect by (1.5)\n    end\nend\nclear graphic effects\nwait (0.5) seconds\nstart sound [Item_Get_The_Legend_of_Zelda_Twilight_Princess v]\nswitch costume to (67 v)\nbroadcast (ta-ta-ta-taaaaaaaaaaaaaaa v) and wait\nwait (0.5) seconds\nrepeat (4)\n    wait (0.02) seconds\n    next costume\nend\nplay sound [aaahho \( cri célèbre \) v] until done\nbroadcast (tremble v)\nstart sound [ultime explosion v]\nrepeat (8)\n    wait (0.02) seconds\n    next costume\nend\nwait (1) seconds\nrepeat (50)\n    change [brightness v] effect by (-2)\nend\nbroadcast (start game jetpack v)\n\nwhen I receive [vibre v]\nset [xy v] to [10]\nrepeat (40)\n    set x to (pick random (xy) to ((xy) * (-1)))\n    set y to (pick random (xy) to ((xy) * (-1)))\n    change [xy v] by (-0.25)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start fight boss1 v]\nforever\n    show\n    go to [back v] layer\n    switch costume to (26 v)\n    go to x: (0) y: (0)\nend\n\nwhen I receive [tremble v]\nset [xy v] to [8]\nrepeat (35)\n    set x to (pick random (xy) to ((xy) * (-1)))\n    set y to (pick random (xy) to ((xy) * (-1)))\n    change [xy v] by (-0.25)\nend\n\nwhen I receive [start game jetpack v]\nshow\nset [brightness v] effect to (-100)\ngo to x: (10) y: (0)\nswitch costume to (80 v)\nrepeat (50)\n    change [brightness v] effect by (2)\n    change x by (-0.1)\nend\nbroadcast (text v) and wait\n\nwhen I receive [start game jetpack v]\nset [pitch v] effect to (0)\nset volume to (100) %\nforever\n    play sound [music agent secret v] until done\nend\n\nwhen I receive [noir game 2 v]\nrepeat (20)\n    change [brightness v] effect by (-5)\nend\nhide\nbroadcast (start game n°2 v)\n\nwhen I receive [game over jetpack v]\nrepeat (20)\n    change [pitch v] effect by (-5)\n    change volume by (-5)\nend\nstop [other scripts in sprite v]\nstop all sounds\nset volume to (100) %\n\nwhen I receive [animation planète v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change volume by (-10)\nend\nstop all sounds\nset volume to (100) %\n\n@Animation//Animation 3\n\nwhen I receive [supprim v]\nshow\nswitch costume to (1 v)\ngo to x: (0) y: (0)\n\nwhen flag clicked\nhide\n\nwhen I receive [arrivée jetpack v]\nshow\nswitch costume to (1 v)\nwait (0.5) seconds\nstart sound [jetpack v]\nrepeat (10)\n    wait (0.04) seconds\n    next costume\nend\nwait (0.5) seconds\nstart sound [jetpack v]\nrepeat (11)\n    wait (0.04) seconds\n    next costume\nend\nwait (0.5) seconds\nbroadcast (start planète v)\nhide\n\nwhen I receive [animation boss final v]\nstart sound [ELECTRONIC 2 v]\nshow\nswitch costume to (23 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\nwait (0.5) seconds\nstart sound [woosh v]\nrepeat (8)\n    wait (0.04) seconds\n    next costume\nend\nwait (0.5) seconds\nstart sound [woosh v]\nrepeat (4)\n    wait (0.04) seconds\n    next costume\nend\nwait (0.5) seconds\ngo to x: (10) y: (0)\nswitch costume to (36 v)\nrepeat (2)\n    repeat (6)\n        wait (0.08) seconds\n        next costume\n        change x by (-0.4)\n    end\n    wait (0.2) seconds\n    change x by (-0.4)\n    repeat (6)\n        wait (0.08) seconds\n        change x by (-0.5)\n        switch costume to ((costume [number v]) - (1))\n    end\n    wait (0.2) seconds\n    change x by (-0.4)\nend\ngo to x: () y: (0)\nwait (0.5) seconds\nswitch costume to (43 v)\nwait (1) seconds\nswitch costume to (45 v)\nrepeat (5)\n    wait (0.04) seconds\n    next costume\nend\nstart sound [explosion 4 v]\nbroadcast (VIBRE v)\nrepeat (5)\n    wait (0.04) seconds\n    next costume\nend\nwait (0.5) seconds\nbroadcast (VIBRE v)\nstart sound [woosh v]\nrepeat (21)\n    wait (0.02) seconds\n    next costume\nend\nstart sound [Woosh 5 v]\nrepeat (6)\n    wait (0.04) seconds\n    next costume\nend\nwait (0.5) seconds\nswitch costume to (costume1 v)\nwait (0.5) seconds\nswitch costume to (rtgre v)\nset [brightness v] effect to (-100)\nset [xy v] to [10]\nstart sound [angoisse v]\nrepeat (40)\n    set x to (pick random (xy) to ((xy) * (-1)))\n    set y to (pick random (xy) to ((xy) * (-1)))\n    change [xy v] by (-0.25)\n    change [brightness v] effect by (2.5)\nend\nwait (0.5) seconds\nstart sound [angoisse v]\nswitch costume to (rtgre3 v)\nset [brightness v] effect to (-100)\nset [xy v] to [10]\nrepeat (40)\n    set x to (pick random (xy) to ((xy) * (-1)))\n    set y to (pick random (xy) to ((xy) * (-1)))\n    change [xy v] by (-0.25)\n    change [brightness v] effect by (2.5)\nend\nwait (0.5) seconds\nrepeat (20)\n    change [brightness v] effect by (-5)\n    change volume by (-5)\nend\nstop all sounds\nset volume to (100) %\nwait (0.5) seconds\nbroadcast (FIGHT BOSS FINAL v)\nhide\n\nwhen I receive [vibre v]\nset [xy v] to [10]\nrepeat (40)\n    set x to (pick random (xy) to ((xy) * (-1)))\n    set y to (pick random (xy) to ((xy) * (-1)))\n    change [xy v] by (-0.25)\nend\n\n@cube and platforme//hitbox\n\nwhen flag clicked\nhide\n\ndefine execute\nset [sav x v] to (x position)\nset [sav y v] to (y position)\ngo to x: (sav x) y: (sav y)\nset [ajout v] to [1]\nset [sav1 v] to [0]\nrepeat until <not <touching (platformer//hitbox platf v)?>>\n    change y by (ajout)\n    change [sav1 v] by (1)\nend\nset [posix v] to (x position)\nset [posiy v] to (y position)\ngo to x: (sav x) y: (sav y)\nset [ajout v] to [-1]\nset [sav2 v] to [0]\nrepeat until <not <touching (platformer//hitbox platf v)?>>\n    change y by (ajout)\n    change [sav2 v] by (1)\n    if <(sav2) > (sav1)> then\n        go to x: (posix) y: (posiy)\n        stop [this script v]\n    end\nend\nif <(sav2) < (sav1)> then\n    set [posix2 v] to (x position)\n    set [posiy2 v] to (y position)\n    go to x: (posix2) y: (posiy2)\nend\n\nwhen I receive [start v]\ngo to [back v] layer\nshow\nswitch costume to (costume2 v)\ngo to x: (-192) y: (6)\nset [x v] to [0]\nset [y v] to [0]\nset size to (100) %\nforever\n    change [y v] by (-1)\n    set [x v] to ((x) * (0.8))\n    if  then\n        change [x v] by (1.5)\n    end\n    if  then\n        change [x v] by (-1.5)\n    end\n    change x by (x)\n    if <touching (platformer//hitbox platf v)?> then\n        change y by (1)\n        if <touching (platformer//hitbox platf v)?> then\n            change y by (1)\n            if <touching (platformer//hitbox platf v)?> then\n                change y by (1)\n                if <touching (platformer//hitbox platf v)?> then\n                    change y by (1)\n                    if <touching (platformer//hitbox platf v)?> then\n                        change y by (-4)\n                        change x by ((x) * (-1))\n                        if  then\n                            set [y v] to [10]\n                            if <([abs v] of (x) ) = (x)> then\n                                set [x v] to [-8]\n                            else\n                                set [x v] to [8]\n                            end\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching (platformer//hitbox platf v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if  then\n        if <touching (platformer//hitbox platf v)?> then\n            set [y v] to [13]\n        end\n    end\n    change y by (1)\n    if <(x position) > [240]> then\n        set x to ((x position) * (-1))\n        broadcast (next v) and wait\n        execute\n    end\n    if <touching (platformer//spike v)?> then\n        go to x: (-192) y: (6)\n        set [x v] to [0]\n        set [y v] to [0]\n        execute\n    end\n    if <touching (platformer//lava v)?> then\n        go to x: (-192) y: (6)\n        set [x v] to [0]\n        set [y v] to [0]\n        execute\n    end\nend\n\nwhen I receive [start v]\ngo to x: (-192) y: (6)\nset [x v] to [0]\nset [y v] to [0]\nset [rapetisseur touché ? v] to [non]\nforever\n    if <touching (rapetisseur v)?> then\n        broadcast (t50 v)\n    end\n    if <touching (rapetisseur 2 v)?> then\n        broadcast (t50 v)\n        wait until <not <touching (rapetisseur v)?>>\n    end\nend\n\nwhen I receive [t50 v]\nif <<(size) < [100]> and <touching (rapetisseur 2 v)?>> then\n    repeat (36)\n        change size by (((100) - (size)) / (6))\n        if <<(size) > [50]> and <touching (rapetisseur v)?>> then\n            broadcast (t50 v)\n        end\n    end\nelse\n    if <<(size) > [50]> and <touching (rapetisseur v)?>> then\n        repeat (36)\n            change size by (((50) - (size)) / (6))\n            if <<(size) < [100]> and <touching (rapetisseur 2 v)?>> then\n                broadcast (t50 v)\n            end\n        end\n    end\nend\n\nwhen I receive [kill enemy v]\ngo to x: (-192) y: (6)\nset [x v] to [0]\nset [y v] to [0]\nexecute\n\nwhen I receive [start v]\nforever\n    if <touching (cube and platforme//enemy v)?> then\n        broadcast (kill enemy v)\n    end\nend\n\nwhen I receive [start fight boss1 v]\nwait (0.1) seconds\ngo to [back v] layer\nshow\nswitch costume to (costume2 v)\ngo to x: (-163) y: (-90)\nset [x v] to [0]\nset [y v] to [0]\nset size to (100) %\nforever\n    change [y v] by (-1)\n    set [x v] to ((x) * (0.8))\n    if  then\n        change [x v] by (1.5)\n    end\n    if  then\n        change [x v] by (-1.5)\n    end\n    change x by (x)\n    if <touching (animation//animation boss1 v)?> then\n        change y by (1)\n        if <touching (animation//animation boss1 v)?> then\n            change y by (1)\n            if <touching (animation//animation boss1 v)?> then\n                change y by (1)\n                if <touching (animation//animation boss1 v)?> then\n                    change y by (1)\n                    if <touching (animation//animation boss1 v)?> then\n                        change y by (-4)\n                        change x by ((x) * (-1))\n                        if  then\n                            set [y v] to [10]\n                            if <([abs v] of (x) ) = (x)> then\n                                set [x v] to [-8]\n                            else\n                                set [x v] to [8]\n                            end\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching (animation//animation boss1 v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if  then\n        if <touching (animation//animation boss1 v)?> then\n            set [y v] to [13]\n        end\n    end\n    change y by (1)\nend\n\nwait (0.25) seconds\n\nwhen I receive [start planète v]\ngo to [back v] layer\nshow\nswitch costume to (costume2 v)\ngo to x: (-133) y: (-82)\nset [x v] to [0]\nset [y v] to [0]\nset size to (100) %\nforever\n    change [y v] by (-0.5)\n    set [x v] to ((x) * (0.8))\n    if  then\n        change [x v] by (1.5)\n    end\n    if  then\n        change [x v] by (-1.5)\n    end\n    change x by (x)\n    if <touching (platformer//hitbox platf v)?> then\n        change y by (1)\n        if <touching (platformer//hitbox platf v)?> then\n            change y by (1)\n            if <touching (platformer//hitbox platf v)?> then\n                change y by (1)\n                if <touching (platformer//hitbox platf v)?> then\n                    change y by (1)\n                    if <touching (platformer//hitbox platf v)?> then\n                        change y by (-4)\n                        change x by ((x) * (-1))\n                        if  then\n                            set [y v] to [10]\n                            if <([abs v] of (x) ) = (x)> then\n                                set [x v] to [-8]\n                            else\n                                set [x v] to [8]\n                            end\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching (platformer//hitbox platf v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if  then\n        if <touching (platformer//hitbox platf v)?> then\n            set [y v] to [13]\n        end\n    end\n    change y by (1)\n    if <(x position) > [240]> then\n        set x to ((x position) * (-1))\n        broadcast (next v) and wait\n        execute\n    end\n    if <touching (platformer//spike v)?> then\n        go to x: (-192) y: (6)\n        set [x v] to [0]\n        set [y v] to [0]\n        execute\n    end\n    if <touching (platformer//lava v)?> then\n        go to x: (-192) y: (6)\n        set [x v] to [0]\n        set [y v] to [0]\n        execute\n    end\nend\n\nwhen I receive [start planète v]\nforever\n    if <touching (cube and platforme//enemy v)?> then\n        broadcast (kill enemy v)\n    end\nend\n\nbroadcast (start planète v)\n\nwhen I receive [next v]\ndelete this clone\n\nbroadcast (fumée create v)\n\nwhen I receive [start planète v]\nforever\n    if  then\n    end\nend\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@cube and platforme//eye\n\nwhen flag clicked\n\nwhen I receive [start v]\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nforever\n    switch costume to (costume1 v)\n    go to (cube and platforme//hitbox v)\n    point towards (mouse-pointer v)\n    set size to ([size v] of [cube and platforme//hitbox v]) %\nend\n\nwhen I receive [start planète v]\ncreate clone of (_myself_ v)\nhide\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@cube and platforme//cube\n\nwhen I receive [start v]\nhide\nwait (0.0001) seconds\nset [id2 v] to [cube]\ncreate clone of (_myself_ v)\nwait (0.0001) seconds\nforever\n    set [id2 v] to [effect]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(ID2) = [cube]> then\n    show\n    forever\n        switch costume to (costume2 v)\n        go to (cube and platforme//hitbox v)\n        set size to ([size v] of [cube and platforme//hitbox v]) %\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(ID2) = [effect]> then\n    go to (cube and platforme//hitbox v)\n    show\n    switch costume to (costume3 v)\n    go to [back v] layer\n    repeat (15)\n        change [ghost v] effect by (7)\n        change size by (-7)\n    end\n    delete this clone\nend\n\nwhen I receive [start planète v]\nhide\nwait (0.0001) seconds\nset [id2 v] to [cube2]\ncreate clone of (_myself_ v)\nwait (0.0001) seconds\n\nset [id2 v] to [effect]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(ID2) = [cube2]> then\n    show\n    forever\n        go to (cube and platforme//hitbox v)\n        switch costume to (costume4 v)\n        set size to ([size v] of [cube and platforme//hitbox v]) %\n    end\nend\n\nwhen I receive [next v]\nif <(costume [number v]) = [3]> then\n    delete this clone\nend\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@cube and platforme//Sprite1\n\nwhen I receive [start v]\nswitch costume to (1 v)\nforever\n    show\n    go to [front v] layer\n    go to x: (0) y: (0)\nend\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [start planète v]\nswitch costume to (14 v)\nforever\n    show\n    go to [front v] layer\n    go to x: (0) y: (0)\nend\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@cube and platforme//Enemy\n\ndefine create clone (id) x : (x) y : (y)\nhide\ngo to x: (x) y: (y)\nset [id v] to (id)\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I start as a clone\nif <(ID) = [enemy]> then\n    show\n    go to [front v] layer\n    switch costume to (costume1 v)\n    wait (0.2) seconds\n    forever\n        create clone of (_myself_ v)\n        set [id v] to [fleche]\n        if <<touching (armes//flechette v)?> and <([costume name v] of [armes//flechette v]) = [flechette]>> then\n            broadcast (KILL v)\n            delete this clone\n        end\n        wait (0.5) seconds\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [fleche]> then\n    show\n    switch costume to (flèche v)\n    go to [front v] layer\n    point towards (cube and platforme//hitbox v)\n    repeat until <<touching (cube and platforme//hitbox v)?> or <touching (_edge_ v)?>>\n        move (5) steps\n        if <touching (cube and platforme//hitbox v)?> then\n            broadcast (kill enemy v)\n            delete this clone\n        else\n            if <touching (platformer//hitbox platf v)?> then\n                repeat (10)\n                    change [ghost v] effect by (10)\n                end\n                delete this clone\n            else\n                if <touching (_edge_ v)?> then\n                    delete this clone\n                else\n                    if <<touching (armes//shuriken v)?> and <([costume # v] of [armes//shuriken v]) = [2]>> then\n                        delete this clone\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [13]> then\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [60] y : [45]\n        create clone [eye] x : [60] y : [45]\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [13]> then\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [60] y : [45]\n        create clone [eye] x : [60] y : [45]\n        stop [this script v]\n    end\n    if <([costume # v] of [platformer//hitbox platf v]) = [18]> then\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [45] y : [98]\n        create clone [eye] x : [45] y : [98]\n        stop [this script v]\n    end\n    if <([costume # v] of [platformer//hitbox platf v]) = [19]> then\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [119] y : [-30]\n        create clone [eye] x : [119] y : [-30]\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\ndelete this clone\n\nwhen I start as a clone\nif <(ID) = [eye]> then\n    show\n    switch costume to (costume2 v)\n    go to [front v] layer\n    forever\n        go to [front v] layer\n        point towards (cube and platforme//hitbox v)\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [eye]> then\n    show\n    switch costume to (costume2 v)\n    go to [front v] layer\n    forever\n        go to [front v] layer\n        point towards (cube and platforme//hitbox v)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <not <([costume # v] of [platformer//hitbox platf v]) = (save cost 3)>> then\n        delete this clone\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [18]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [45] y : [98]\n        create clone [eye] x : [45] y : [98]\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [enemy]> then\n    wait (0.1) seconds\n    forever\n        if <<touching (armes//shuriken v)?> and <([costume # v] of [armes//shuriken v]) = [2]>> then\n            broadcast (KILL v)\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [eye]> then\n    wait (0.1) seconds\n    forever\n        if <<touching (armes//shuriken v)?> and <([costume # v] of [armes//shuriken v]) = [2]>> then\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [19]> then\n        wait (0.1) seconds\n        repeat (2)\n            set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n            create clone [enemy] x : [119] y : [-30]\n            create clone [eye] x : [119] y : [-30]\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill v]\nif <(costume [number v]) = [2]> then\n    delete this clone\nelse\n    if <(costume [number v]) = [1]> then\n        delete this clone\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [20]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [113] y : [8]\n        create clone [eye] x : [113] y : [8]\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [19]> then\n        wait (0.1) seconds\n        repeat (2)\n            set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n            create clone [enemy] x : [119] y : [-30]\n            create clone [eye] x : [119] y : [-30]\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [20]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [113] y : [8]\n        create clone [eye] x : [113] y : [8]\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [enemy]> then\n    wait (0.1) seconds\n    forever\n        if <<touching (armes//flechette v)?> and <([costume name v] of [armes//flechette v]) = [flechette]>> then\n            broadcast (KILL v)\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I start as a clone\nif <(ID) = [eye]> then\n    wait (0.1) seconds\n    forever\n        if <<touching (armes//flechette v)?> and <([costume name v] of [armes//flechette v]) = [flechette]>> then\n            broadcast (KILL v)\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [enemy]> then\n    wait (0.1) seconds\n    forever\n        if <touching color (#ffeebc)?> then\n            broadcast (KILL v)\n            delete this clone\n        end\n        if <touching color (#f3bfff)?> then\n            broadcast (KILL v)\n            delete this clone\n        end\n        if <touching color (#ddaee8)?> then\n            broadcast (KILL v)\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [21]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [-181] y : [70]\n        create clone [eye] x : [-181] y : [70]\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [21]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [-181] y : [70]\n        create clone [eye] x : [-181] y : [70]\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [22]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [57] y : [125]\n        create clone [eye] x : [57] y : [125]\n        stop [this script v]\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [22]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [57] y : [125]\n        create clone [eye] x : [57] y : [125]\n        stop [this script v]\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [23]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [-70] y : [50]\n        create clone [eye] x : [-70] y : [50]\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [23]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [-70] y : [50]\n        create clone [eye] x : [-70] y : [50]\n        stop [this script v]\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [25]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [151] y : [-52]\n        create clone [eye] x : [151] y : [-52]\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [25]> then\n        wait (0.1) seconds\n        set [save cost 3 v] to ([costume # v] of [platformer//hitbox platf v])\n        create clone [enemy] x : [151] y : [-52]\n        create clone [eye] x : [151] y : [-52]\n        stop [this script v]\n    end\nend\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@cube and platforme//fumée2\n\nwhen I start as a clone\nshow\ngo to (cube and platforme//hitbox v)\ngo to [back v] layer\nswitch costume to (pick random (1) to (3))\nset size to (pick random (75) to (100)) %\nclear graphic effects\npoint in direction (o perso)\nrepeat (50)\n    change [ghost v] effect by (2)\n    change size by (-1)\n    change y by (-1)\n    change x by (pick random (-1) to (1))\n    if <touching (_edge_ v)?> then\n        repeat (10)\n            change y by (-1)\n            change x by (pick random (-1) to (1))\n            change [ghost v] effect by (2)\n            change size by (-2)\n        end\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [start planète v]\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen flag clicked\nhide\n\nbroadcast (start planète v)\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@PLATFORMER//hitbox platf\n\nwhen I receive [next v]\nif <(costume [number v]) = [13]> then\n    if <(costume [number v]) = [13]> then\n        broadcast (Animation boss n°1 v)\n    end\nelse\n    next costume\nend\n\nwhen I receive [start v]\nshow\nswitch costume to (1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start planète v]\nshow\nswitch costume to (16 v)\n\nwhen I receive [next v]\nif <(costume [number v]) = [24]> then\n    broadcast (animation BOSS FINAL v)\n    hide\nend\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@PLATFORMER//spike\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [start v]\nshow\nswitch costume to (1 v)\ngo to [back v] layer\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start planète v]\nshow\nswitch costume to (14 v)\ngo to [back v] layer\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@PLATFORMER//LAVA\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [start v]\nshow\nswitch costume to (1 v)\ngo to [back v] layer\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start planète v]\nshow\nswitch costume to (14 v)\ngo to [back v] layer\nforever\n    set y to (([sin v] of ((timer) * (100)) ) * (5))\nend\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@PLATFORMER//Create\n\nwhen I start as a clone\nif <(ID) = [s]> then\n    show\n    set [position y v] to (y position)\n    set [position x v] to (x position)\n    switch costume to (shuriken v)\n    go to [front v] layer\n    set [change v] to [s]\n    forever\n        set y to ((([sin v] of ((timer) * (100)) ) * (5)) + (position y))\n        set x to (position x)\n        show\n        if <touching (cube and platforme//hitbox v)?> then\n            set [shuriken v] to [oui]\n            set [change v] to [s]\n            start sound [Pop v]\n            change [nb shuriken v] by (1)\n            set [shuriken v] to [oui]\n            set [change v] to [s]\n            delete this clone\n        end\n        if <not <([costume # v] of [platformer//hitbox platf v]) = (sav cost)>> then\n            change [nb shuriken v] by (-1)\n            delete this clone\n        end\n    end\nend\n\nwhen I start as a clone\nif <(ID) = [f]> then\n    show\n    switch costume to (flechette v)\n    go to [front v] layer\n    set [position y v] to (y position)\n    set [position x v] to (x position)\n    forever\n        set y to ((([cos v] of ((timer) * (100)) ) * (5)) + (position y))\n        set x to (position x)\n        if <touching (cube and platforme//hitbox v)?> then\n            set [flechette v] to [oui]\n            set [change v] to [f]\n            start sound [Pop v]\n            set [flechette v] to [oui]\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nset [flechette v] to [non]\nset [shuriken v] to [non]\nset [nb shuriken v] to [0]\n\nwhen I receive [start v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [5]> then\n        set [sav cost v] to ([costume # v] of [platformer//hitbox platf v])\n        set [sav cost 2 v] to ([costume # v] of [platformer//hitbox platf v])\n        show\n        switch costume to (shuriken v)\n        go to x: (-50) y: (-85)\n        set [id v] to [s]\n        create clone of (_myself_ v)\n        wait (0.0001) seconds\n        switch costume to (flechette v)\n        go to x: (50) y: (-85)\n        set [id v] to [f]\n        set [nb flechette v] to [5]\n        create clone of (_myself_ v)\n        wait (0.0001) seconds\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    hide\n    if <([costume # v] of [platformer//hitbox platf v]) = [19]> then\n        set [sav cost v] to ([costume # v] of [platformer//hitbox platf v])\n        set [shuriken v] to [oui]\n        show\n        switch costume to (shuriken v)\n        go to x: (-150) y: (-94)\n        set [id v] to [s]\n        create clone of (_myself_ v)\n        wait (0.1) seconds\n        go to x: (-25) y: (-59)\n        set [id v] to [s]\n        create clone of (_myself_ v)\n        wait (0.0001) seconds\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    if <([costume # v] of [platformer//hitbox platf v]) = [19]> then\n        set [sav cost v] to ([costume # v] of [platformer//hitbox platf v])\n        show\n        switch costume to (shuriken v)\n        go to x: (-150) y: (-94)\n        set [id v] to [s]\n        create clone of (_myself_ v)\n        wait (0.1) seconds\n        go to x: (-25) y: (-59)\n        set [id v] to [s]\n        create clone of (_myself_ v)\n        wait (0.0001) seconds\n        hide\n    end\n    stop [this script v]\nend\n\nwhen I receive [kill enemy v]\nset [nb shuriken v] to [0]\ndelete this clone\n\nwhen I receive [start planète v]\nset [nb shuriken v] to [0]\ndelete this clone\n\nwhen I receive [start v]\nset [nb shuriken v] to [0]\ndelete this clone\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    hide\n    if <([costume # v] of [platformer//hitbox platf v]) = [20]> then\n        set [sav cost 2 v] to ([costume # v] of [platformer//hitbox platf v])\n        show\n        switch costume to (flechette v)\n        go to x: (-100) y: (75)\n        set [id v] to [f]\n        set [nb flechette v] to [2]\n        create clone of (_myself_ v)\n        wait (0.1) seconds\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    hide\n    if <([costume # v] of [platformer//hitbox platf v]) = [20]> then\n        set [sav cost 2 v] to ([costume # v] of [platformer//hitbox platf v])\n        show\n        switch costume to (flechette v)\n        go to x: (-100) y: (75)\n        set [id v] to [f]\n        set [nb flechette v] to [2]\n        create clone of (_myself_ v)\n        wait (0.1) seconds\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    hide\n    if <([costume # v] of [platformer//hitbox platf v]) = [23]> then\n        repeat (2)\n            set [sav cost v] to ([costume # v] of [platformer//hitbox platf v])\n            show\n            switch costume to (shuriken v)\n            go to x: (-52) y: (144)\n            set [change v] to [s]\n            set [id v] to [s]\n            create clone of (_myself_ v)\n            wait (0.1) seconds\n            hide\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    hide\n    if <([costume # v] of [platformer//hitbox platf v]) = [23]> then\n        repeat (2)\n            set [sav cost v] to ([costume # v] of [platformer//hitbox platf v])\n            show\n            switch costume to (shuriken v)\n            go to x: (-52) y: (144)\n            set [change v] to [s]\n            set [id v] to [s]\n            create clone of (_myself_ v)\n            wait (0.1) seconds\n            hide\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nforever\n    hide\n    if <([costume # v] of [platformer//hitbox platf v]) = [25]> then\n        set [sav cost 2 v] to ([costume # v] of [platformer//hitbox platf v])\n        show\n        switch costume to (flechette v)\n        go to x: (-144) y: (-51)\n        set [id v] to [f]\n        set [nb flechette v] to [2]\n        create clone of (_myself_ v)\n        wait (0.1) seconds\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [kill enemy v]\nwait (0.1) seconds\nforever\n    hide\n    if <([costume # v] of [platformer//hitbox platf v]) = [25]> then\n        set [sav cost 2 v] to ([costume # v] of [platformer//hitbox platf v])\n        show\n        switch costume to (flechette v)\n        go to x: (-144) y: (-51)\n        set [id v] to [f]\n        set [nb flechette v] to [2]\n        create clone of (_myself_ v)\n        wait (0.1) seconds\n        hide\n        stop [this script v]\n    end\nend\n\n@PLATFORMER//change c\n\nwhen I receive [start v]\nforever\n    if <<(FLECHETTE) = [oui]> and <(SHURIKEN) = [oui]>> then\n        if <key (c v) pressed?> then\n            if <(change) = [s]> then\n                set [change v] to [f]\n                wait until <not <key (c v) pressed?>>\n            else\n                if <(change) = [f]> then\n                    set [change v] to [s]\n                    wait until <not <key (c v) pressed?>>\n                end\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Armes//Flechette\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    if <<<(FLECHETTE) = [oui]> and <(change) = [f]>> and <(nb FLECHETTE) > [0]>> then\n        if <mouse down?> then\n            create clone of (_myself_ v)\n            change [nb flechette v] by (-1)\n            wait (0.5) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nstart sound (pick random (1) to (3))\nshow\nswitch costume to (flechette v)\ngo to (cube and platforme//hitbox v)\npoint towards (mouse-pointer v)\nturn left (pick random (-3) to (3)) degrees\nrepeat until <<touching (platformer//hitbox platf v)?> or <touching (_edge_ v)?>>\n    move (10) steps\n    if <<touching (cube and platforme//enemy v)?> and <<([costume # v] of [cube and platforme//enemy v]) = [1]> or <([costume # v] of [cube and platforme//enemy v]) = [2]>>> then\n        broadcast (KILL v)\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <(FLECHETTE) = [oui]> then\n        if <not <([costume # v] of [platformer//hitbox platf v]) = (sav cost 2)>> then\n            set [flechette v] to [non]\n        end\n        if <(nb FLECHETTE) < [1]> then\n            set [flechette v] to [non]\n            if <(SHURIKEN) = [oui]> then\n                wait (0.1) seconds\n                set [change v] to [s]\n            end\n        end\n    end\nend\n\nwhen I receive [start planète v]\nforever\n    if <<(FLECHETTE) = [oui]> and <(change) = [f]>> then\n        show\n        go to [front v] layer\n        switch costume to (costume1 v)\n        point towards (mouse-pointer v)\n        go to (cube and platforme//hitbox v)\n    else\n        hide\n    end\nend\n\nwhen I receive [start planète v]\nforever\n    if <<(FLECHETTE) = [oui]> and <(change) = [f]>> then\n        if <not <([costume # v] of [platformer//hitbox platf v]) = (sav cost 2)>> then\n            set [flechette v] to [non]\n        end\n    end\nend\n\nwhen I receive [start planète v]\nforever\n    if <<<(FLECHETTE) = [oui]> and <(change) = [f]>> and <(nb FLECHETTE) > [0]>> then\n        if <mouse down?> then\n            create clone of (_myself_ v)\n            change [nb flechette v] by (-1)\n            wait (0.5) seconds\n        end\n    end\nend\n\nwhen I receive [kill enemy v]\nset [flechette v] to [non]\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <<(FLECHETTE) = [oui]> and <(change) = [f]>> then\n        if <not <([costume # v] of [platformer//hitbox platf v]) = (sav cost 2)>> then\n            set [flechette v] to [non]\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <<(FLECHETTE) = [oui]> and <(change) = [f]>> then\n        show\n        go to [front v] layer\n        switch costume to (costume1 v)\n        point towards (mouse-pointer v)\n        go to (cube and platforme//hitbox v)\n    else\n        hide\n    end\nend\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Armes//Shuriken\n\nwhen I receive [start v]\nforever\n    if <<(SHURIKEN) = [oui]> and <(change) = [s]>> then\n        if <<<mouse down?> and <(change) = [s]>> and <not <(nb SHURIKEN) = [0]>>> then\n            wait until <not <mouse down?>>\n            create clone of (_myself_ v)\n            change [nb shuriken v] by (-1)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\ngo to (cube and platforme//hitbox v)\nset rotation style [left-right v]\npoint towards (mouse-pointer v)\nset rotation style [all around v]\nif <(direction) < [0]> then\n    repeat until <<touching (platformer//hitbox platf v)?> or <touching (_edge_ v)?>>\n        change x by (-10)\n        turn left (20) degrees\n    end\nelse\n    if <[179] > (direction)> then\n        repeat until <<touching (platformer//hitbox platf v)?> or <touching (_edge_ v)?>>\n            change x by (10)\n            turn right (20) degrees\n        end\n    end\nend\ndelete this clone\n\nwhen I receive [start v]\nwait until <(SHURIKEN) = [oui]>\nforever\n    if <(nb SHURIKEN) < [1]> then\n        set [shuriken v] to [non]\n        wait (0.1) seconds\n        set [change v] to [f]\n        broadcast (nb shuriken v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [nb shuriken v]\nwait until <(SHURIKEN) = [oui]>\nforever\n    if <<(nb SHURIKEN) < [1]> or <not <([costume # v] of [platformer//hitbox platf v]) = (sav cost)>>> then\n        set [shuriken v] to [non]\n        wait (0.1) seconds\n        set [change v] to [f]\n        broadcast (nb shuriken v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start planète v]\nwait until <(SHURIKEN) = [oui]>\nforever\n    if <(nb SHURIKEN) < [1]> then\n        set [shuriken v] to [non]\n        wait (0.1) seconds\n        set [change v] to [f]\n        broadcast (nb shuriken v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [start planète v]\nforever\n    if <<(SHURIKEN) = [oui]> and <(change) = [s]>> then\n        if <<<mouse down?> and <(change) = [s]>> and <not <(nb SHURIKEN) = [0]>>> then\n            wait until <not <mouse down?>>\n            change [nb shuriken v] by (-1)\n            create clone of (_myself_ v)\n        end\n    end\nend\n\nwhen I receive [start planète v]\nforever\n    if <<(SHURIKEN) = [oui]> and <(change) = [s]>> then\n        if <not <([costume # v] of [platformer//hitbox platf v]) = (sav cost)>> then\n            set [shuriken v] to [non]\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [start planète v]\nforever\n    if <<<(SHURIKEN) = [oui]> and <(change) = [s]>> and <(nb SHURIKEN) > [0]>> then\n        show\n        go to [front v] layer\n        switch costume to (costume2 v)\n        wait until <not <mouse down?>>\n        point towards (mouse-pointer v)\n        go to (cube and platforme//hitbox v)\n        set rotation style [left-right v]\n    else\n        hide\n    end\nend\n\nwhen I receive [kill enemy v]\ndelete this clone\n\nwhen I receive [start v]\nforever\n    if <<<(SHURIKEN) = [oui]> and <(change) = [s]>> and <(nb SHURIKEN) > [0]>> then\n        show\n        go to [front v] layer\n        switch costume to (costume2 v)\n        wait until <not <mouse down?>>\n        point towards (mouse-pointer v)\n        go to (cube and platforme//hitbox v)\n        set rotation style [left-right v]\n    else\n        hide\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <<(SHURIKEN) = [oui]> and <(change) = [s]>> then\n        if <not <([costume # v] of [platformer//hitbox platf v]) = (sav cost)>> then\n            set [shuriken v] to [non]\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@pack//pack\n\n@pack//pack \n\n@Menu//TEXT\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nshow\nswitch costume to (dessin-2 v)\ngo to x: (0) y: (100)\nforever\n    if <touching (mouse-pointer v)?> then\n        set y to ((([sin v] of ((timer) * (75)) ) * (4)) + (100))\n        set x to ((([cos v] of ((timer) * (100)) ) * (3.3)) + (0))\n        point in direction ((([sin v] of ((timer) * (125)) ) * (2.5)) + (90))\n        change size by ((((([cos v] of ((timer) * (150)) ) * (2.5)) + (115)) - (size)) / (6))\n    else\n        set y to ((([sin v] of ((timer) * (75)) ) * (4)) + (100))\n        set x to ((([cos v] of ((timer) * (100)) ) * (3.3)) + (0))\n        point in direction ((([sin v] of ((timer) * (125)) ) * (2.5)) + (90))\n        change size by ((((([cos v] of ((timer) * (150)) ) * (2.5)) + (102)) - (size)) / (6))\n    end\nend\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\nhide\n\n@Menu//Skip\n\nwhen I receive [end v]\nshow\nswitch costume to (costume1 v)\ngo to [front v] layer\nclear graphic effects\nrepeat until <(timer) > [13.5]>\n    point in direction ((([sin v] of ((timer) * (200)) ) * (3.3)) + (90))\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (SKIP v)\n\nwhen I receive [skip v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Menu//fond effect\n\nwhen I receive [menu v]\nswitch costume to (fond5 v)\nforever\n    show\n    go to x: (0) y: (0)\n    go to [back v] layer\n    switch costume to ((costume [number v]) + (pick random (1) to (4)))\n    set [brightness v] effect to (-100)\n    set [speed fond v] to (pick random (-0.2) to (0.2))\n    repeat (50)\n        change [brightness v] effect by (2)\n    end\n    repeat (100)\n        change [ghost v] effect by (-1)\n    end\n    repeat (50)\n        change [brightness v] effect by (-2)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nswitch costume to (earth3 v)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\nhide\n\n@Menu//play\n\nwhen I receive [menu v]\nshow\nswitch costume to (dessin-2 v)\ngo to x: (0) y: (-75)\nforever\n    if <touching (mouse-pointer v)?> then\n        set y to ((([cos v] of ((timer) * (75)) ) * (4)) + (-145))\n        set x to ((([sin v] of ((timer) * (100)) ) * (3.3)) + (0))\n        point in direction ((([cos v] of ((timer) * (125)) ) * (2.5)) + (90))\n        change size by ((((([sin v] of ((timer) * (150)) ) * (2.5)) + (115)) - (size)) / (6))\n    else\n        set y to ((([cos v] of ((timer) * (75)) ) * (4)) + (-145))\n        set x to ((([sin v] of ((timer) * (100)) ) * (3.3)) + (0))\n        point in direction ((([cos v] of ((timer) * (125)) ) * (2.5)) + (90))\n        change size by ((((([sin v] of ((timer) * (150)) ) * (2.5)) + (102)) - (size)) / (6))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [menu v]\nshow\nswitch costume to (dessin-2 v)\ngo to x: (0) y: (-75)\nforever\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            broadcast (play v) and wait\n            broadcast (start v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\nhide\n\n@Menu//noir\n\nwhen I receive [menu v]\nshow\ngo to x: () y: ()\npoint in direction (90)\nset [brightness v] effect to (-100)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (5)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nshow\ngo to x: () y: ()\npoint in direction (90)\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\n    go to [front v] layer\nend\n\nwhen I receive [start v]\nrepeat (20)\n    change [ghost v] effect by (5)\n    go to [front v] layer\nend\nhide\n\nwhen I receive [start game n°2 v]\nshow\ngo to x: () y: ()\npoint in direction (90)\nset [brightness v] effect to (-100)\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (5)\n    go to [front v] layer\nend\nbroadcast (let's go asteroides v)\n\nwhen I receive [lost v]\nshow\ngo to x: () y: ()\npoint in direction (90)\nclear graphic effects\ngo to [front v] layer\nset [ghost v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\n    go to [front v] layer\nend\nwait (2) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nbroadcast (start game jetpack v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [start game jetpack v]\nhide\ndelete this clone\n\nwhen I receive [animation planète v]\nshow\ngo to x: () y: ()\npoint in direction (90)\nset [brightness v] effect to (-100)\ngo to [front v] layer\nset [ghost v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\n    go to [front v] layer\nend\nbroadcast (supprim v)\nbroadcast (arrivée jetpack v)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (animation planète let's go v)\n\n@Menu//Particle\n\nwhen I start as a clone\ngo to [back v] layer\nshow\ngo to x: (255) y: (pick random (180) to (-180))\nset size to (pick random (10) to (75)) %\nset [ghost v] effect to (pick random (82) to (75))\nrepeat until <(x position) < [-254]>\n    change x by (((size) / (25)) * (-1))\nend\ndelete this clone\n\nwhen I receive [skip v]\nstop [other scripts in sprite v]\nforever\n    create clone of (_myself_ v)\n    wait (1) seconds\n    hide\nend\n\nwhen I receive [menu v]\nstop [other scripts in sprite v]\nforever\n    create clone of (_myself_ v)\n    wait (1) seconds\n    hide\nend\n\nwhen I receive [start v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Fond//CLOUD\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen I start as a clone\nshow\ngo to x: (270) y: (pick random (0) to (165))\nswitch costume to (pick random (1) to (2))\nset size to (pick random (10) to (75)) %\nrepeat until <(x position) < [-285]>\n    change x by (-1)\n    go to [back v] layer\nend\ndelete this clone\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Fond//fond\n\nwhen I receive [start v]\nset [id v] to [1]\ncreate clone of (_myself_ v)\nwait (0.0001) seconds\n\nwhen I start as a clone\nif <(ID) = [1]> then\n    go to x: () y: (0)\n    forever\n        show\n        switch costume to (1 v)\n        go to [back v] layer\n    end\nend\n\nwhen I receive [next v]\nif <(costume [number v]) = [1]> then\n    change x by (-3)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Fond//platformer\n\nwhen I receive [next v]\ngo to x: () y: ()\nnext costume\n\nwhen I receive [start v]\nwait (0.1) seconds\nshow\nswitch costume to (1 v)\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [start planète v]\nwait (0.1) seconds\nshow\nswitch costume to (14 v)\ngo to [front v] layer\n\nwhen I receive [animation boss n°1 v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Fond//fond planète\n\nwhen I receive [start planète v]\nshow\nswitch costume to (1 v)\nforever\n    go to x: () y: ()\n    go to [back v] layer\nend\n\nwhen I receive [next v]\nswitch costume to ((costume [number v]) + (pick random (1) to (2)))\n\nwhen flag clicked\nhide\n\nwhen I receive [animation boss final v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Reste//Affiche\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    switch costume to (1 v)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\nend\n\n@Reste//jetpack\n\nwhen I receive [ta-ta-ta-taaaaaaaaaaaaaaa v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nset size to (150) %\nset [ghost v] effect to (100)\nrepeat (46)\n    change size by (((100) - (size)) / (8))\n    change [ghost v] effect by (-2.1)\nend\nwait (1.5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@Reste//text\n\nwhen I receive [text v]\nshow\nswitch costume to (1 v)\ngo to [front v] layer\nrepeat (3)\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (2) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    next costume\nend\nbroadcast (noir game 2 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [start game 2 v]\nhide\n\nwhen I receive [start game jetpack v]\nhide\n\n@cube jetpack\n\nwhen flag clicked\nhide\n\nwhen I receive [start game n°2 v]\nswitch costume to (1 v)\nforever\n    show\n    change x by ((((mouse x) + (pick random (-20) to (20))) - (x position)) / (8))\n    change y by ((((mouse y) + (pick random (-20) to (20))) - (y position)) / (8))\n    set size to (75) %\n    point in direction (90)\n    set [o perso v] to (direction)\nend\n\nwhen I receive [ouch !!! -1 v]\nswitch costume to (2 v)\nset [color v] effect to (70)\nset [brightness v] effect to (25)\npoint in direction (74)\nrepeat (35)\n    change [color v] effect by (-2)\n    change [brightness v] effect by (-0.7)\n    turn right (((90) - (direction)) / (6)) degrees\nend\nswitch costume to (1 v)\n\nwhen I receive [game over jetpack v]\nstop [other scripts in sprite v]\nswitch costume to (killed v)\nshow\nclear graphic effects\nset [y spped v] to [10]\npoint in direction (90)\nrepeat until <(y position) < [-200]>\n    change y by (y spped)\n    change [y spped v] by (-0.75)\n    turn left (2) degrees\nend\nhide\nwait (0.5) seconds\nbroadcast (lost v)\n\nwhen I receive [next animation v]\nstop [other scripts in sprite v]\nshow\nrepeat (46)\n    change x by (((0) - (x position)) / (8))\n    change y by (((0) - (y position)) / (8))\nend\nwait (0.5) seconds\nglide (2) secs to x: (-259) y: (0)\nhide\nbroadcast (animation planète v)\n\nwhen I receive [start game jetpack v]\nhide\n\nwhen I receive [supprim v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@fumée\n\nwhen I start as a clone\nshow\ngo to (cube jetpack v)\nswitch costume to (pick random (1) to (3))\nset size to (pick random (50) to (75)) %\nclear graphic effects\npoint in direction (o perso)\nrepeat (50)\n    change x by (10)\n    change [ghost v] effect by (2)\n    change size by (-1)\n    if <touching (_edge_ v)?> then\n        repeat (10)\n            change x by (10)\n            change [ghost v] effect by (2)\n            change size by (-2)\n        end\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [start game n°2 v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [game over jetpack v]\nwait (0.1) seconds\nstop [other scripts in sprite v]\nrepeat (5)\n    create clone of (_myself_ v)\nend\nwait (0.2) seconds\nrepeat (2)\n    create clone of (_myself_ v)\nend\nwait (0.5) seconds\ncreate clone of (_myself_ v)\n\nwhen I receive [game over jetpack v]\nhide\ndelete this clone\n\nwhen I receive [animation planète v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change x by (10)\n    change [ghost v] effect by (2)\n    change size by (-2)\nend\ndelete this clone\n\nwhen I receive [supprim v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@line\n\nwhen I receive [start game n°2 v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: (-258) y: (pick random (225) to (-225))\ngo to [back v] layer\nset [ghost v] effect to (pick random (50) to (90))\nset size to (pick random (10) to (75)) %\nrepeat until <(x position) > [245]>\n    change x by (20)\nend\ndelete this clone\n\nwhen I receive [game over jetpack v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [animation planète v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [supprim v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Sprite3\n\nwhen I receive [let's go asteroides v]\nrepeat (75)\n    create clone of (_myself_ v)\n    wait (pick random (0.25) to (0.5)) seconds\nend\nwait (2) seconds\nbroadcast (next animation v)\n\nwhen I start as a clone\nshow\nclear graphic effects\ngo to x: (-300) y: (pick random (225) to (-225))\npoint in direction (pick random (0) to (360))\nswitch costume to (pick random (1) to (3))\nset size to (pick random (10) to (75)) %\nset [turn v] to (pick random (-5) to (5))\nrepeat until <(x position) > [225]>\n    turn left (turn) degrees\n    change x by (10)\n    if <touching (cube jetpack v)?> then\n        change [life jetpack v] by (-1)\n        set [color v] effect to (-20)\n        set [brightness v] effect to (25)\n        broadcast (ouch !!! -1 v)\n        repeat (20)\n            turn left (5) degrees\n            change [ghost v] effect by (5)\n            change x by (3)\n        end\n        delete this clone\n    end\nend\ndelete this clone\n\nwhen I receive [game over jetpack v]\nstop [other scripts in sprite v]\nrepeat (20)\n    change [ghost v] effect by (5)\n    change x by (3)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [start game jetpack v]\nhide\ndelete this clone\n\nwhen I receive [animation planète v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [supprim v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@LIFE\n\nwhen I receive [start game n°2 v]\nset [life jetpack v] to [3]\ngo to [front v] layer\nforever\n    show\n    switch costume to (life jetpack)\n    go to x: (0) y: (0)\n    if <(life jetpack) < [1]> then\n        hide\n        broadcast (Game Over jetpack v) and wait\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start game jetpack v]\nhide\ndelete this clone\n\nwhen I receive [animation planète v]\nhide\ndelete this clone\n\nwhen I receive [supprim v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Sprite4\n\nwhen I receive [start game n°2 v]\nshow\nswitch costume to (costume1 v)\ngo to x: (-361) y: (0)\ngo to [back v] layer\nclear graphic effects\nforever\n    change x by (0.3)\n    go to [back v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [lost v]\nhide\n\nwhen I receive [game over jetpack v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [start game jetpack v]\nhide\ndelete this clone\n\nwhen I receive [animation planète v]\nwait (1) seconds\nhide\n\nwhen I receive [supprim v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@End//End text\n\nwhen I receive [end game v]\nhide\nswitch costume to (1 v)\ncreate clone of (_myself_ v)\nwait (5) seconds\nnext costume\nrepeat (8)\n    create clone of (_myself_ v)\n    next costume\n    wait (1.5) seconds\nend\nwait (3) seconds\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <not <(costume [number v]) = [11]>> then\n    show\n    go to [front v] layer\n    go to x: (0) y: (-3000)\n    repeat until <(y position) > [205]>\n        change y by (1)\n    end\n    delete this clone\nelse\n    show\n    switch costume to (11 v)\n    go to [front v] layer\n    go to x: (0) y: (-250)\n    repeat until <(y position) > [-15]>\n        change y by (1)\n    end\n    repeat (46)\n        change y by (((0) - (y position)) / (8))\n    end\n    wait (5) 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        go to [front v] layer\n    end\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I receive [end game v]\nforever\n    play sound [happy music cinematic v] until done\nend\n\n@End//noir end \n\nwhen I receive [noir end v]\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\ngo to x: () y: ()\nrepeat (50)\n    change [ghost v] effect by (-2)\n    go to [back v] layer\nend\nbroadcast (End game v)\nforever\n    go to [back v] layer\nend\n\nwhen flag clicked\nhide\n\n@personnage\n\nwhen flag clicked\nhide\n\ndefine EXECUTE\nrepeat until <not <touching (platformer v)?>>\n    move (-10) steps\nend\n\nwhen flag clicked\nforever\n\nwhen I receive [fight boss final v]\nset [x scroll final v] to [0]\nset [y scroll final v] to [0]\nswitch costume to (1 v)\nshow\ngo to [front v] layer\nforever\n    point towards (mouse-pointer v)\n    move (15) steps\n    change [x scroll final v] by (x position)\n    change [y scroll final v] by (y position)\n    go to x: (pick random (1) to (-1)) y: (pick random (1) to (-1))\n    if <<touching (laser v)?> and <(LASER TOUCHE ?) = [OUI]>> then\n        change [life battle final v] by (-0.5)\n    end\n    if <<<touching (boss v)?> and <(COST TOUCHÉ ?) = [LA]>> and <([costume name v] of [boss v]) = [LA]>> then\n        change [life battle final v] by (-0.5)\n    end\nend\n\nwhen I receive [fight boss final v]\nset [x scroll final v] to [0]\nset [y scroll final v] to [0]\nswitch costume to (1 v)\nshow\nsay [PRESS SPACE TO THE LASER !!] for (2) seconds\nforever\n    if <key (space v) pressed?> then\n        if <(timer) > [5]> then\n            say []\n            repeat (100)\n                switch costume to (3 v)\n                set [brightness v] effect to (pick random (0) to (30))\n                if <<touching (boss v)?> and <([costume # v] of [boss v]) = [1]>> then\n                end\n            end\n            reset timer\n            switch costume to (1 v)\n        else\n            repeat until <(timer) > [5]>\n                say [Laser Regeneration...]\n            end\n            say [✅] for (0.5) seconds\n        end\n    end\nend\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Platformer\n\ndefine clone (id) (x) (y)\nshow\nswitch costume to (id)\nclear graphic effects\nset [ghost v] effect to (100)\ngo to x: (x) y: (y)\nset [id final v] to (id)\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I start as a clone\nset [costume clone v] to (costume [number v])\nset [x clone final v] to (x position)\nset [y clone final v] to (y position)\nshow\nforever\n    switch costume to (hack v)\n    go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n    clear graphic effects\n    switch costume to (costume clone)\nend\n\nchange [x scroll final v] by (x position)\nchange [y scroll final v] by (y position)\n\nwhen I receive [fight boss final v]\nswitch costume to (1 v)\nclone [1] [-484] [-363]\nclone [2] [-484] [0]\nclone [3] [-484] [363]\nclone [4] [-484] [363]\nclone [5] [0] [363]\nclone [6] [484] [363]\nclone [7] [484] [363]\nclone [8] [484] [0]\nclone [9] [484] [-363]\nclone [10] [484] [-363]\nclone [11] [0] [-363]\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@BOSS\n\ndefine clone (id) (x) (y)\nshow\nswitch costume to (id)\nclear graphic effects\nset [ghost v] effect to (100)\ngo to x: (x) y: (y)\nset [id final v] to (id)\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I start as a clone\nif <(id final) = [1]> then\n    set [cost touché ? v] to [NON]\n    set [costume clone v] to (costume [number v])\n    set [x clone final v] to (x position)\n    set [y clone final v] to (y position)\n    show\n    forever\n        switch costume to (costume clone)\n        go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n        switch costume to (costume clone)\n        clear graphic effects\n        point in direction (90)\n        if <<<touching (personnage v)?> and <([costume # v] of [personnage v]) = [2]>> and <(costume [number v]) = [1]>> then\n            change [life boss v] by (-0.1)\n            set [brightness v] effect to (pick random (0) to (20))\n        end\n    end\nend\n\nif <(X SCROLL FINAL) < [-610]> then\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (-7)\n    end\n    if <<key (up arrow v) pressed?> or <key (s v) pressed?>> then\n        change [y v] by (-7)\n    end\n    if <<key (down arrow v) pressed?> or <key (w v) pressed?>> then\n        change [y v] by (7)\n    end\nend\nif <(Y SCROLL FINAL) < [-433]> then\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (-7)\n    end\n    if <<key (up arrow v) pressed?> or <key (s v) pressed?>> then\n        change [y v] by (-7)\n    end\n    if <<key (down arrow v) pressed?> or <key (w v) pressed?>> then\n        change [y v] by (7)\n    end\nend\n\nchange [x scroll final v] by (x position)\nchange [y scroll final v] by (y position)\n\nwhen I receive [fight boss final v]\nshow\nswitch costume to (1 v)\nclone [1] [0] [0]\nclone [2] [0] [0]\nset [ghost v] effect to (100)\nhide\n\nwhen I start as a clone\nif <(id final) = [2]> then\n    set [costume clone v] to (costume [number v])\n    set [x clone final v] to (x position)\n    set [y clone final v] to (y position)\n    show\n    forever\n        go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n        clear graphic effects\n        switch costume to (eye v)\n        point towards (personnage v)\n        if <<touching (personnage v)?> and <([costume # v] of [personnage v]) = [2]>> then\n            set [brightness v] effect to (pick random (0) to (20))\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [2 v]\nif <(costume [number v]) = [1]> then\n    set [costume clone v] to [LA]\n    set [cost touché ? v] to [LA]\n    repeat (100)\n        set [brightness v] effect to (pick random (0) to (-20))\n    end\n    set [costume clone v] to [1]\n    set [cost touché ? v] to [NON]\n    switch costume to (1 v)\n    set [tache faîte ? v] to [OUI]\nend\n\nwhen I start as a clone\nif <(id final) = [1]> then\n    wait (2) seconds\n    forever\n        broadcast (pick random (1) to (2))\n        set [tache faîte ? v] to [NON]\n        wait until <(TACHE FAÎTE ?) = [OUI]>\n        wait (1) seconds\n    end\nend\n\nwait (2) seconds\nset [life boss v] to [0]\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@FUMÉE\n\nwhen I receive [fight boss final v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nset [nb clone v] to (pick random (1) to (3))\nset [x cllne v] to (X SCROLL FINAL)\nset [y cllne v] to (Y SCROLL FINAL)\npoint in direction ([direction v] of [personnage v])\nset size to (100) %\nset [ghost v] effect to (50)\nrepeat (25)\n    switch costume to (hack v)\n    go to x: ((x cllne) - (X SCROLL FINAL)) y: ((y cllne) - (Y SCROLL FINAL))\n    switch costume to (nb clone)\n    change [ghost v] effect by (2)\n    change size by (2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nbroadcast (FIGHT BOSS FINAL v)\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@LIFE perso\n\nwhen I receive [fight boss final v]\nwait (0.2) seconds\nset [life battle final v] to [100]\nswitch costume to (3 v)\ngo to [front v] layer\ngo to x: (0) y: ()\nforever\n    show\n    if <(life battle final) > [66.6]> then\n        switch costume to (3 v)\n    end\n    if <(life battle final) < [66.8]> then\n        switch costume to (2 v)\n    end\n    if <(life battle final) < [33.4]> then\n        switch costume to (1 v)\n    end\n    if <(life battle final) < [0.1]> then\n        switch costume to (0 v)\n        broadcast (GAME OVER FIGHT BOSS v)\n        stop [this script v]\n    end\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@LASER\n\ndefine clone (id) (x) (y)\nswitch costume to (id)\nclear graphic effects\nset [ghost v] effect to (100)\ngo to x: (x) y: (y)\nset [id final v] to (id)\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I start as a clone\nif <(id final) = [1]> then\n    set [costume clone v] to (costume [number v])\n    set [x clone final v] to (x position)\n    set [y clone final v] to (y position)\n    show\n    forever\n        switch costume to (hack v)\n        go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n        clear graphic effects\n        switch costume to (costume clone)\n        point in direction (90)\n    end\nend\n\nif <(X SCROLL FINAL) < [-610]> then\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (-7)\n    end\n    if <<key (up arrow v) pressed?> or <key (s v) pressed?>> then\n        change [y v] by (-7)\n    end\n    if <<key (down arrow v) pressed?> or <key (w v) pressed?>> then\n        change [y v] by (7)\n    end\nend\nif <(Y SCROLL FINAL) < [-433]> then\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (7)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (-7)\n    end\n    if <<key (up arrow v) pressed?> or <key (s v) pressed?>> then\n        change [y v] by (-7)\n    end\n    if <<key (down arrow v) pressed?> or <key (w v) pressed?>> then\n        change [y v] by (7)\n    end\nend\n\nwhen I start as a clone\nif <(id final) = [2]> then\n    set [costume clone v] to (costume [number v])\n    set [x clone final v] to (x position)\n    set [y clone final v] to (y position)\n    show\n    forever\n        switch costume to (hack v)\n        go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n        clear graphic effects\n        switch costume to (eye v)\n        point towards (personnage v)\n    end\nend\n\nwhen I start as a clone\nif <(id final) = [laser]> then\n    set [laser touche ? v] to [NON]\n    set [costume clone v] to (costume [number v])\n    set [x clone final v] to (x position)\n    set [y clone final v] to (y position)\n    hide\n    go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n    clear graphic effects\n    switch costume to (2 v)\n    set [brightness v] effect to (pick random (0) to (10))\n    point towards (personnage v)\n    show\n    go to [front v] layer\n    go [backward v] (3) layers\n    repeat (15)\n        switch costume to (hack v)\n        go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n        clear graphic effects\n        switch costume to (12 v)\n        set [ghost v] effect to (pick random (75) to (82))\n    end\n    set [laser touche ? v] to [OUI]\n    repeat (50)\n        switch costume to (hack v)\n        go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n        clear graphic effects\n        switch costume to (2 v)\n        set [brightness v] effect to (pick random (0) to (10))\n    end\n    repeat (20)\n        switch costume to (hack v)\n        go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n        switch costume to (2 v)\n        set [brightness v] effect to (pick random (0) to (20))\n        change [ghost v] effect by (5)\n    end\n    set [laser touche ? v] to [NON]\n    set [tache faîte ? v] to [OUI]\n    delete this clone\nend\n\nwhen I receive [1 v]\nclone [laser] [0] [0]\n\nwhen flag clicked\nhide\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@LIFE boss\n\nwhen I receive [fight boss final v]\nwait (0.2) seconds\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (2 v)\nID [1]\nID [2]\nforever\n    show\n    go to [front v] layer\n    switch costume to (2 v)\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I start as a clone\nif <(YIY) = [1]> then\n    show\n    switch costume to (1 v)\n    go to [front v] layer\n    forever\n        go to x: ((LIFE BOSS) * (4)) y: (0)\n        switch costume to (1 v)\n        if <(x position) = [0]> then\n            broadcast (argg je meurss !! v)\n            delete this clone\n        end\n    end\nend\n\ndefine ID (id)\nset [yiy v] to (id)\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I start as a clone\nif <(YIY) = [2]> then\n    show\n    switch costume to (1 v)\n    go to [front v] layer\n    go [backward v] (3) layers\n    forever\n        go to x: (0) y: (0)\n        switch costume to (3 v)\n    end\nend\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@GAME OVER\n\nwhen I receive [game over fight boss v]\nshow\ngo to [front v] layer\nset [brightness v] effect to (-100)\ngo to x: (0) y: (0)\nrepeat (50)\n    change [brightness v] effect by (2)\nend\nwait (2) seconds\nbroadcast (FIGHT BOSS FINAL v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [fight boss final v]\nhide\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\n@Platformer2\n\ndefine clone (id) (x) (y)\nshow\nswitch costume to (id)\nclear graphic effects\nset [ghost v] effect to (100)\ngo to x: (x) y: (y)\nset [id final v] to (id)\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I start as a clone\nset [costume clone v] to (costume [number v])\nset [x clone final v] to (x position)\nset [y clone final v] to (y position)\nshow\nforever\n    switch costume to (hack v)\n    go to x: ((X CLONE FINAL) - (X SCROLL FINAL)) y: ((Y CLONE FINAL) - (Y SCROLL FINAL))\n    clear graphic effects\n    switch costume to (costume clone)\n    go to [back v] layer\nend\n\nchange [x scroll final v] by (x position)\nchange [y scroll final v] by (y position)\n\nwhen I receive [fight boss final v]\nwait (0.2) seconds\nswitch costume to (1 v)\nclone [1] [-484] [-363]\nclone [2] [-484] [0]\nclone [3] [-484] [363]\nclone [4] [-484] [363]\nclone [5] [0] [363]\nclone [6] [484] [363]\nclone [7] [484] [363]\nclone [8] [484] [0]\nclone [9] [484] [-363]\nclone [10] [484] [-363]\nclone [11] [0] [-363]\nclone [12] [0] [0]\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen flag clicked\nhide\n\n@explode\n\nwhen I receive [argg je meurss !! v]\ngo to [front v] layer\nshow\nclear graphic effects\nswitch costume to (84398a1e0efa2d687f0dc246a5e1b1a7 v)\nrepeat (49)\n    wait (0.01) seconds\n    next costume\n    change [ghost v] effect by (2)\nend\nbroadcast (Noir End v)\n\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [argg je meurss !! v]\ngo to [front v] layer\nwait (0.5) seconds\nshow\nplay sound [explode1 v] until done\n\n@dessin\n\nwhen I receive [noir end v]\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    set x to (pick random (-2) to (2))\n    set y to ((pick random (-2) to (2)) - (20))\n    set [ghost v] effect to (50)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [argg je meurss !! v]\nhide\n\n@FUMÉE2\n\nwhen I receive [noir end v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: ((40) + (pick random (-2) to (2))) y: ((-36) + (pick random (-2) to (2)))\npoint in direction (70)\nswitch costume to (pick random (1) to (3))\ngo to [back v] layer\nset [ghost v] effect to (50)\nrepeat until <(x position) < [-220]>\n    change x by (-20)\n    change y by (pick random (-2) to (2))\n    change size by (5)\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nbroadcast (Noir End v)\n\nwhen I receive [game over fight boss v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [argg je meurss !! v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nswitch costume to (nb clone)\nchange [ghost v] effect by (2)\nchange size by (2)\n\n@line2\n\nwhen I receive [noir end v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: (258) y: (pick random (225) to (-225))\nset [ghost v] effect to (pick random (50) to (90))\nset size to (pick random (10) to (75)) %\nrepeat until <(x position) < [-245]>\n    change x by (-30)\nend\ndelete this clone\n\nwhen I receive [animation planète v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen I receive [supprim v]\nstop [other scripts in sprite v]\nhide\ndelete this clone\n\nwhen I receive [game over jetpack v]\nstop [other scripts in sprite v]\ndelete this clone\n\nwhen flag clicked\nhide\n\n@ \n\nwhen flag clicked\nhide\nswitch costume to (1 v)\nforever\n    if <key (left arrow v) pressed?> then\n        wait until <not <key (left arrow v) pressed?>>\n        repeat (50)\n            wait (0) seconds\n            if <key (up arrow v) pressed?> then\n                wait until <not <key (up arrow v) pressed?>>\n                repeat (50)\n                    wait (0) seconds\n                    if <key (right arrow v) pressed?> then\n                        wait until <not <key (right arrow v) pressed?>>\n                        repeat (50)\n                            wait (0) seconds\n                            if <key (a v) pressed?> then\n                                wait until <not <key (a v) pressed?>>\n                                repeat (50)\n                                    wait (0) seconds\n                                    if <key (b v) pressed?> then\n                                        wait until <not <key (b v) pressed?>>\n                                        repeat (50)\n                                            wait (0) seconds\n                                            if <key ((join [] [enter]) v) pressed?> then\n                                                wait until <not <key ((join [] [enter]) v) pressed?>>\n                                                show\n                                                set [ghost v] effect to (100)\n                                                switch costume to (2 v)\n                                                repeat (20)\n                                                    change [ghost v] effect by (-5)\n                                                end\n                                                wait (1) seconds\n                                                repeat (20)\n                                                    change [ghost v] effect by (5)\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n
#2 ????!!! OOOMG\n#1 O_O AWESOME !!!\n50 likes thx\n100 likes wooa :O\n200 ??? OMG !!\n300 !???!! IN 3 DAYS WHAT !!\n400 ?????!!!!!!!!!!! o_o !!!!!! O_O\n3550+ likes ...OMG...\n\nFR:\n\nBienvenue sur l'un de mes plus gros projet qui n'est d'autre que THE LIFE OF PLATFORMER :DD \nCe projet a trois types de jeux différents : platformer basique, cube jetpack évite astéroïdes, et un boss final en scrolling.S'il vous paît mettez un LIKE ET FAV car j'ai bossé 25 HEURES dessus... \n_____________________________________________\nIdée du jeu : 19:00 4 juillet 2023\n25 heures de travail\n4000+ blocs\n\nEN:\n\nWelcome to one of my biggest projects, none other than THE LIFE OF PLATFORMER :DD \nThis project has three different game types: basic platformer, cube jetpack avoids asteroids, and a scrolling final boss. Please put a LIKE AND FAV because I worked 25 HOURS on it... \n_____________________________________________\nGame idea: 19:00 July 4, 2023\n25 hours of work\n4000+ blocks\n\n\n\n\nTags :\n\n#game #Jeux #Animations #Art\n#Animation #game #volcanoscratch #all #trending #the #life #of #platformer #cube #cyclope #jepack #boss #family #Animation #game #volcanoscratch #all #trending #the #life #of #platformer #cube #cyclope #jepack #boss #family #Animation #game #volcanoscratch #all #trending #the #life #of #platformer #cube #cyclope #jepack #boss #family #Animation #game #volcanoscratch #all #trending #the #life #of #platformer #cube #cyclope #jepack #boss #family #Animation #game #volcanoscratch #all #trending #the #life #of #platformer #cube #cyclope #jepack #bossAWESOME