ELEPHANT PLATFORMER
@Stage\n\nwhen [m v] key pressed\n\nshow variable [mouse v]\nset [mouse v] to (join ((mouse x) + (SCROLLX)) (join [,] ((mouse y) + (SCROLL Y))))\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen [c v] key pressed\n\n@blank\n\n@Sprite3\n\nwhen flag clicked\nshow\ngo to [back v] layer\nshow\nforever\n    turn right (15) degrees\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nwait (5) seconds\nhide\nbroadcast (into finish v)\n\n@Sprite4\n\nwhen flag clicked\nshow\nforever\n    wait (1) seconds\n    next costume\nend\n\nwhen flag clicked\nwait (5) seconds\nhide\nbroadcast (into finish v)\nstop [other scripts in sprite v]\n\n@collectables\n\ndefine clone x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\nswitch costume to (pick random (1) to (4))\nchange [collected max v] by (1)\n\nwhen I receive [greeen flag v]\nhide\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [collected v] to [0]\nset [collected max v] to [0]\nif <(LEVEL) = [1]> then\n    clone x: [868] y: [157]\n    clone x: [1072] y: [65]\n    clone x: [1416] y: [-109]\n    clone x: [1336] y: [203]\nend\nif <(LEVEL) = [2]> then\n    clone x: [-75] y: [80]\n    clone x: [110] y: [149]\n    clone x: [452] y: [218]\n    clone x: [808] y: [466]\nend\nif <(LEVEL) = [3]> then\n    clone x: [-29] y: [39]\n    clone x: [159] y: [27]\n    clone x: [258] y: [109]\n    clone x: [381] y: [188]\n    clone x: [907] y: [504]\n    clone x: [1071] y: [505]\n    clone x: [1328] y: [336]\nend\nif <(LEVEL) = [4]> then\n    clone x: [17] y: [-61]\n    clone x: [331] y: [-29]\n    clone x: [453] y: [74]\n    clone x: [523] y: [154]\n    clone x: [660] y: [775]\nend\nif <(LEVEL) = [5]> then\nset [x v] to [-9999999]\nif <(LEVEL) = [6]> then\n    clone x: [-9] y: [-46]\n    clone x: [108] y: [34]\n    clone x: [-80] y: [110]\n    clone x: [93] y: [208]\nend\nif <(LEVEL) = [7]> then\n    clone x: [430] y: [328]\n    clone x: [265] y: [259]\n    clone x: [-82] y: [102]\n    clone x: [-187] y: [138]\n    clone x: [9] y: [43]\n    clone x: [-174] y: [-5]\nend\nif <(LEVEL) = [8]> then\n    clone x: [-66 ] y: [-2]\n    clone x: [46] y: [61]\n    clone x: [114] y: [136]\n    clone x: [-187] y: [197]\n    clone x: [322] y: [128]\n    clone x: [384] y: [63]\n    clone x: [544] y: [-60]\n    clone x: [691] y: [11]\n    clone x: [766] y: [64]\n    clone x: [920] y: [185]\nend\nset [x v] to [-9999999]\n\ndefine POSITION X: (x) Y: (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nPOSITION X: ((x) - (SCROLLX)) Y: ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    if <(costume [number v]) = [1]> then\n        if <key (b v) pressed?> then\n            broadcast (banana v)\n            change [☁ banana v] by (50)\n            change [☁ gold coin v] by (1)\n            change [score v] by (1)\n            change [collected v] by (1)\n            if <(collected) = (collected max)> then\n                broadcast (OPEN PANNUDA v)\n            end\n            start sound [Coin v]\n            delete this clone\n        end\n    end\n    if <(costume [number v]) = [2]> then\n        if <key (g v) pressed?> then\n            broadcast (grass v)\n            change [grass v] by (150)\n            change [☁ gold coin v] by (1)\n            change [score v] by (1)\n            change [collected v] by (1)\n            if <(collected) = (collected max)> then\n                broadcast (OPEN PANNUDA v)\n            end\n            start sound [Coin v]\n            delete this clone\n        end\n    end\n    if <(costume [number v]) = [3]> then\n        if <key (w v) pressed?> then\n            broadcast (water v)\n            change [water v] by (50)\n            change [☁ gold coin v] by (1)\n            change [score v] by (1)\n            change [collected v] by (1)\n            if <(collected) = (collected max)> then\n                broadcast (OPEN PANNUDA v)\n            end\n            start sound [Coin v]\n            delete this clone\n        end\n    end\n    if <(costume [number v]) = [4]> then\n        if <key (s v) pressed?> then\n            broadcast (sugarcane v)\n            change [sugarcane v] by (25)\n            change [☁ gold coin v] by (1)\n            change [score v] by (1)\n            change [collected v] by (1)\n            if <(collected) = (collected max)> then\n                broadcast (OPEN PANNUDA v)\n            end\n            start sound [Coin v]\n            delete this clone\n        end\n    end\nend\n\nset [x v] to [-9999999]\n\nset [x v] to [-9999999]\n\nclone x: [-88] y: [428]\nclone x: [89] y: [494]\nclone x: [-85] y: [553]\nclone x: [84] y: [653]\nclone x: [-82] y: [197]\nclone x: [-93] y: [732]\nclone x: [31] y: [834]\nclone x: [294] y: [824]\n\nclone x: [167] y: [439]\n\nclone x: [322] y: [128]\nclone x: [384] y: [63]\n\nwhen flag clicked\nhide\n\nif <key (w v) pressed?> then\n\nwhen I receive [ourto v]\nstop [this script v]\n\n@player\n\ndefine define change player  y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (0.3)\nPOSITION\nrepeat until <not <touching (platform v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    POSITION\n    set [sy v] to [0]\nend\n\nwhen I receive [greeen flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (reset v) and wait\n    broadcast (set up v) and wait\n    game on\n    repeat until <(exit) > [0]>\n        tick\n        broadcast (tick v) and wait\n    end\n    if <(exit) = [WIN]> then\n        GAME - WIN\n    else\n        game - die\n    end\nend\n\ndefine game on\nshow\nswitch backdrop to (backdrop1 v)\nset [score v] to [0]\nset [☁ energy drink v] to [0]\nset [☁ gold coin v] to [0]\nset [collected v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [scrollx v] to [0]\nset [scroll y v] to [0]\nset [in air v] to [0]\nset [x v] to [0]\nset [exit v] to []\nset size to (80) %\nset [ghost v] effect to (0)\nshow\n\ndefine POSITION\ngo to x: ((x) - (SCROLLX)) y: ((y) - (SCROLL Y))\n\ndefine tick\nif <key (left arrow v) pressed?> then\n    change [sx v] by (-2)\nend\nif <key (right arrow v) pressed?> then\n    change [sx v] by (2)\nend\nset [sx v] to ((SX) * (0.8))\nif <([abs v] of (SX) ) > [0.9]> then\n    change player x by (round (SX))\nend\nif <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n    if <(IN AIR) < [4]> then\n        set [sy v] to [14]\n        start sound [smb_jump-small v]\n    end\nend\nif <(SY) > [-20]> then\n    change [sy v] by (-2)\nend\ndefine change player  y by (SY)\ntest -die\nset [scrollx v] to (x)\nif <(SCROLLX) < [0]> then\n    set [scrollx v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPOSITION\nif <(y) < [-180]> then\n    set [exit v] to [die]\nend\n\ndefine change player x by (sx)\nchange [x v] by (sx)\nPOSITION\nif <touching (platform v)?> then\n    repeat (12)\n        change [y v] by (1)\n        POSITION\n        if <not <touching (platform v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <key (up arrow v) pressed?> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (platform v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        POSITION\n    end\nend\n\ndefine game - die\nset [exit v] to []\nrepeat (3)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\n\ndefine test -die\nset drag mode [draggable v]\nif <touching (danger v)?> then\n    set [exit v] to [die]\n    stop all sounds\n    start sound [g v]\nend\n\ndefine GAME - WIN\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nchange [level v] by (1)\nwait (1) seconds\n\nchange player x by [-8]\n\nchange [in air v] by (1)\n\ndefine GAME FINISH\nswitch backdrop to (backdrop2 v)\nwait (1) seconds\nstop [all v]\n\nwhen backdrop switches to [backdrop1 v]\n\nwhen I receive [greeen flag v]\n\nwhen backdrop switches to [backdrop1 v]\n\nwhen I receive [into finish v]\nbroadcast (greeen flag v) and wait\nbroadcast (play game v) and wait\n\nwhen flag clicked\nset [☁ banana v] to [0]\nset [grass v] to [0]\nset [water v] to [0]\nset [sugarcane v] to [0]\nhide\n\nwhen [right arrow v] key pressed\npoint in direction (90)\nswitch costume to (whatsapp image 2020-10-27 at 8 v)\nrepeat (5)\n    next costume\n    wait (0.07) seconds\nend\nswitch costume to (whatsapp image 2020-10-27 at 8 v)\n\nwhen [left arrow v] key pressed\npoint in direction (-90)\nswitch costume to (whatsapp image 2020-10-27 at 8 v)\nrepeat (5)\n    next costume\n    wait (0.07) seconds\nend\nswitch costume to (whatsapp image 2020-10-27 at 8 v)\n\nwhen [b v] key pressed\nswitch costume to (costume6 v)\nrepeat (6)\n    next costume\n    wait (0.1) seconds\nend\nswitch costume to (whatsapp image 2020-10-27 at 8 v)\n\nwhen I receive [grass v]\n\nwhen [w v] key pressed\nswitch costume to (unnamed \(1\) v)\nrepeat (6)\n    next costume\n    wait (0.1) seconds\nend\nswitch costume to (whatsapp image 2020-10-27 at 8 v)\n\nwhen [g v] key pressed\nswitch costume to (costume12 v)\nrepeat (7)\n    next costume\n    wait (0.1) seconds\nend\nswitch costume to (whatsapp image 2020-10-27 at 8 v)\n\nwhen [s v] key pressed\nswitch costume to (costume21 v)\nrepeat (7)\n    next costume\n    wait (0.1) seconds\nend\nswitch costume to (whatsapp image 2020-10-27 at 8 v)\n\nset [sugarcane v] to [0]\n\nwhen I receive [ourto v]\nstop [other scripts in sprite v]\nhide\n\n@platform\n\nset instrument to (5 v)\nrest for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (65) for (0.25) beats\nrest for (0.05) beats\nplay note (60) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (65) for (0.25) beats\nrest for (0.05) beats\nplay note (60) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (65) for (0.25) beats\nrest for (0.05) beats\nplay note (60) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (66) for (0.25) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (66) for (0.25) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (61) for (0.25) beats\nrest for (0.05) beats\nset instrument to (5 v)\nplay note (66) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (70) for (0.50) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (66) for (.25) beats\nplay note (68) for (0.50) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (66) for (.25) beats\nplay note (68) for (.50) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (66) for (.25) beats\nplay note (68) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (65) for (1.5) beats\n\nset instrument to (5 v)\nrest for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (65) for (0.25) beats\n\nwhen I receive [greeen flag v]\nhide\n\nwhen I receive [tick v]\npostion ((x) - (SCROLLX)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    clone x: [360] y: [0]\n    clone x: [480] y: [0]\n    clone x: [500] y: [50]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        clone x: [100] y: [-350]\n        clone x: [250] y: [500]\n        clone x: [300] y: [ 100]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            clone x: [100] y: [-350]\n            clone x: [250] y: [500]\n            clone x: [300] y: [ 100]\n        else\n            if <(LEVEL) = [4]> then\n                costume [LEVEL 4  1] clone x: [0] y: [0]\n                costume [LEVEL 4  2] clone x: [0] y: [0]\n            end\n            if <(LEVEL) = [5]> then\n                broadcast (OURTO v)\n                stop [other scripts in sprite v]\n            end\n        end\n    end\nend\n\nswitch costume to (level 9 1 v)\nclone x: [0] y: [360]\nclone x: [360] y: [360]\n\ndefine postion (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine clone x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen [c v] key pressed\nhide variable [mouse v]\nplay note (77) for (0.25) beats\n\nclone x: [ 0] y: [325]\nclone x: [0] y: [250]\nclone x: [100] y: [250]\n\nhide variable [collected v]\n\nswitch costume to (level 5  1 v)\n\nclone x: [0] y: [350]\n\nwhen I receive [set up v]\n\nwhen flag clicked\nhide\n\nclone x: [360] y: [0]\nclone x: [480] y: [0]\nclone x: [500] y: [50]\n\ndefine costume (costume) clone x: (x) y: (y)\nswitch costume to (costume)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\n\nplay note (60) for (0.25) beats\nplay note (70) for (0.25) beats\nplay note (64) for (0.25) beats\n\nplay note (75) for (0.25) beats\n\nrest for (0.05) beats\nplay note (60) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (65) for (0.25) beats\nrest for (0.05) beats\nplay note (60) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (65) for (0.25) beats\nrest for (0.05) beats\nplay note (60) for (0.25) beats\nplay note (60) for (0.25) beats\nplay note (65) for (0.25) beats\nplay note (66) for (0.25) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (66) for (0.25) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (61) for (0.25) beats\nplay note (61) for (0.25) beats\nrest for (0.05) beats\nset instrument to (5 v)\nplay note (66) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (70) for (0.50) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (66) for (.25) beats\nplay note (68) for (0.50) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (66) for (.25) beats\nplay note (68) for (.50) beats\nrest for (0.05) beats\nplay note (66) for (0.25) beats\nplay note (66) for (.25) beats\nplay note (68) for (0.25) beats\nplay note (66) for (0.25) beats\nplay note (65) for (1.5) beats\n\nwhen I receive [ourto v]\nset [☁ total v] to ((WATER) + (((sugarcane) + (GRASS)) + (☁ banana)))\n\nwhen I receive [ourto v]\n\nwhen flag clicked\nset volume to (200) %\nset tempo to (60)\nset instrument to (1 v)\nrepeat (2)\n    play note (72) for (0.25) beats\n    play note (74) for (0.25) beats\n    play note (75) for (0.25) beats\n    rest for (0.25) beats\n    play note (74) for (0.25) beats\n    play note (77) for (0.25) beats\n    play note (75) for (0.25) beats\n    rest for (0.25) beats\n    play note (75) for (0.25) beats\n    play note (74) for (0.25) beats\n    play note (75) for (0.25) beats\n    play note (77) for (0.25) beats\n    play note (75) for (0.25) beats\n    play note (74) for (0.25) beats\n    play note (75) for (0.25) beats\nend\nplay note (79) for (0.25) beats\nplay note (79) for (0.25) beats\nrest for (0.25) beats\nplay note (75) for (0.25) beats\nplay note (75) for (0.25) beats\nrest for (0.25) beats\nplay note (79) for (0.25) beats\nplay note (80) for (0.25) beats\nplay note (77) for (0.25) beats\nrest for (0.25) beats\nplay note (79) for (0.25) beats\nplay note (79) for (0.25) beats\nrest for (0.25) beats\nplay note (75) for (0.25) beats\nplay note (75) for (0.25) beats\nrest for (0.25) beats\nplay note (79) for (0.25) beats\nplay note (80) for (0.25) beats\nplay note (77) for (0.25) beats\n\nwhen I receive [play game v]\nset [pan left/right v] effect to (100)\nset volume to (100) %\nchange [pan left/right v] effect by (10)\nforever\n    play sound [Nee Paartha Vizhigal _ Anirudh v] until done\nend\n\nwhen I receive [ourto v]\nstop [other scripts in sprite v]\n\n@Sprite2\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [collected v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (costume1 \(8\) v)\nend\nif <(LEVEL) = [2]> then\n    switch costume to (images v)\nend\nif <(LEVEL) = [3]> then\n    switch costume to (costume1 v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (download \(7\) v)\nend\n\nwhen I receive [tick v]\nshow\ngo to [back v] layer\ngo to x: ((((SCROLL X) * (-0.5)) mod (480)) - (240)) y: ((SCROLL Y) * (-0.5))\n\nwhen flag clicked\nhide\n\nwhen I receive [greeen flag v]\ngo to [back v] layer\n\nwhen I receive [ourto v]\nstop [other scripts in sprite v]\n\nwhen I receive [ourto v]\nstop [other scripts in sprite v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\n@EXIT\n\nwhen I receive [tick v]\npostion ((x) - (SCROLLX)) ((y) - (SCROLL Y))\nif <<(costume [number v]) = [2]> and <touching (player v)?>> then\n    set [exit v] to [WIN]\nend\n\nwhen I receive [greeen flag v]\nhide\n\nwhen I receive [set up v]\nhide\nset [collected v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (close v)\nif <(LEVEL) = [1]> then\n    clone x: [1616] y: [305]\nelse\n    if <(LEVEL) = [2]> then\n        clone x: [989] y: [480]\n    else\n        if <(LEVEL) = [3]> then\n            clone x: [1636] y: [500]\n        else\n            if <(LEVEL) = [4]> then\n                clone x: [1720] y: [450]\n            else\n                if <(LEVEL) = [5]> then\n                    clone x: [235] y: [481]\n                else\n                    if <(LEVEL) = [6]> then\n                        clone x: [225] y: [226]\n                    else\n                        if <(LEVEL) = [7]> then\n                            clone x: [625] y: [419]\n                        else\n                            if <(LEVEL) = [8]> then\n                                clone x: [1417] y: [-76]\n                            else\n                                set [x v] to [-999999]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nset [x v] to [-999999]\n\ndefine postion (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine clone x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\nwhen I receive [open pannuda v]\nswitch costume to (open v)\n\nset [x v] to [-999999]\n\nset [x v] to [-999999]\n\nwhen flag clicked\nset [☁ timer v] to [0]\nforever\n    set [☁ timer v] to (timer)\nend\n\nset [☁ timer v] to [0]\nreset timer\n\nset [x v] to [-999999]\n\nset [x v] to [-999999]\n\nset [x v] to [-999999]\n\nwhen flag clicked\nhide\n\nbroadcast (change v)\n\nwhen I receive [ourto v]\nstop [this script v]\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\nshow\ngo to [back v] layer\ngo [forward v] (1) layers\npoint in direction (90)\nset size to (100) %\nforever\n    wait (0.5) seconds\n    turn left (15) degrees\nend\n\nwhen I receive [ourto v]\nstop [other scripts in sprite v]\nhide\n\n@danger\n\nwhen I receive [greeen flag v]\nhide\n\nshow\n\nwhen I receive [tick v]\npostion ((x) - (SCROLLX)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    clone x: [360] y: [0]\n    clone x: [480] y: [0]\n    clone x: [500] y: [50]\nend\nif <(LEVEL) = [2]> then\n    switch costume to (level 2 1 v)\n    clone x: [100] y: [-350]\n    clone x: [250] y: [500]\n    clone x: [300] y: [ 100]\nelse\n    if <(LEVEL) = [3]> then\n        switch costume to (level 3 1 v)\n        clone x: [100] y: [100]\n        clone x: [400] y: [-200]\n        clone x: [300] y: [100]\n    end\nend\nif <(LEVEL) = [4]> then\n    switch costume to (level 4 1 v)\nend\nif <(LEVEL) = [5]> then\n    switch costume to (level 5 1 v)\n    clone x: [0] y: [350]\nend\nif <(LEVEL) = [6]> then\n    repeat (10)\n        switch costume to (level 6 1 v)\n    end\nend\nif <(LEVEL) = [7]> then\n    switch costume to (level 7  1 v)\n    clone x: [360] y: [300]\nend\nif <(LEVEL) = [8]> then\n    switch costume to (level  8 1 v)\n    clone x: [360] y: [0]\n    clone x: [360] y: [0]\n    clone x: [360] y: [0]\nend\nif <(LEVEL) = [9]> then\n    switch costume to (level 9 v)\nend\n\ndefine postion (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine clone x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nswitch costume to (level 3 1 v)\n\nwhen I receive [tick v]\npostion ((x) - (SCROLLX)) ((y) - (SCROLL Y))\n\nglide (1) secs to x: () y: (0)\n\nclone x: [0] y: [350]\n\nrepeat (10)\n    switch costume to (level 6 1 v)\n    repeat until <touching (_edge_ v)?>\n        move (10) steps\n    end\nend\n\ndefine    set clone x: (number or text) y: (number or text)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [ourto v]\nstop [this script v]\n\n@Sprite8\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [tick v]\nif <(LEVEL) = [1]> then\nif <(LEVEL) = [2]> then\n    switch costume to (costume2 v)\n    broadcast (ff v)\nend\nif <(LEVEL) = [3]> then\n    switch costume to (costume3 v)\n    broadcast (ff v)\nend\nif <(LEVEL) = [4]> then\n    switch costume to (costume4 v)\n    broadcast (ff v)\nend\n\nwhen I receive [ff v]\nshow\nset [ghost v] effect to (20)\ngo to x: (0) y: ((-30) - (([sin v] of (s) ) * (20)))\npoint in direction ((([cos v] of (s) ) * (5)) + (90))\nchange [s v] by (5)\n\nwhen I receive [ourto v]\nhide\nhide variable [☁ banana v]\nhide variable [grass v]\nhide variable [water v]\nhide variable [sugarcane v]\n\n@Sprite9\n\nwhen I receive [play game v]\nshow variable [grass v]\ngo to [front v] layer\nshow\ngo to x: (7) y: (164)\n\nwhen flag clicked\nhide variable [grass v]\nhide\n\nwhen I receive [ourto v]\nhide\nhide variable [☁ banana v]\nhide variable [grass v]\nhide variable [water v]\nhide variable [sugarcane v]\n\n@Sprite10\n\nwhen I receive [play game v]\nshow variable [☁ banana v]\ngo to [front v] layer\nshow\ngo to x: (-79) y: (112)\n\nwhen flag clicked\nhide variable [☁ banana v]\nhide\n\nwhen I receive [ourto v]\nhide\nhide variable [☁ banana v]\nhide variable [grass v]\nhide variable [water v]\nhide variable [sugarcane v]\n\n@Sprite11\n\nwhen I receive [play game v]\nshow variable [water v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\nhide variable [water v]\nhide\n\nwhen I receive [ourto v]\n\nwhen I receive [ourto v]\nhide\nhide variable [☁ banana v]\nhide variable [grass v]\nhide variable [water v]\nhide variable [sugarcane v]\n\n@Sprite12\n\nwhen I receive [ourto v]\nhide\nhide variable [☁ banana v]\nhide variable [grass v]\nhide variable [water v]\nhide variable [sugarcane v]\n\nwhen I receive [play game v]\nshow variable [sugarcane v]\ngo to x: (123) y: (144)\ngo to [front v] layer\nshow\n\nwhen flag clicked\nhide variable [sugarcane v]\nhide\n\nwhen I receive [ourto v]\nhide\n\n@Sprite13\n\nwhen flag clicked\nhide\n\nwhen I receive [ourto v]\ngo to x: (-98) y: (97)\ngo to [back v] layer\nshow\n\n@WhatsApp Image 2021-09-30 at 10\n\nwhen flag clicked\nhide variable [☁ total v]\nhide\n\nwhen I receive [ourto v]\nset [☁ total v] to (((☁ banana) + (WATER)) + ((sugarcane) + (GRASS)))\nswitch backdrop to (backdrop3 v)\nshow variable [☁ total v]\nshow\nforever\n    repeat (10)\n        next costume\n        wait (0.3) seconds\n    end\nend\n\nset [☁ total v] to [0]\n\nwhen I receive [ourto v]\nforever\n    play sound [IMPOSSIBLE REMIX - Unity TheFatRat \(1\) v] until done\nend\n\n
Kind notice\n""'""''"'"'"'''""''\n1@ As the portal doors of a level  can open to elephant only if  it had consumed all the food and water of that level{so that i  had made it to turn any side to collect back the diet or  liquid leftovers[Remember Its a huge animal of tons weight so that it needs minimum 330lb TO maximum 375 lb of food and up to 56 gal of water daily for energy, if we dont eat proper food we too dont have energy to walk or to do daily chores right !]\n2@ Please be cautious that the elephant should not go down to water though it can swim in water its a small drawback that you have to start back from the same level[instaed of life gone i had set this"START FROM THE FIRST OF THAT LEVEL ...its not a glitch friends!] with out challenges like this a game wont shine friends!\nIF YOU FIND LAGGY NO WORRIES USE THIS LINK \n___________________________________________\n            https://turbowarp.org/559045010\n___________________________________________\n                         INSTRUCTIONS:-\n-----------------------------------------------------------------------\n  UP ARROW MAKES THE ELEPHANT JUMP [special power in our game for ABU]           \n USE THE RIGHT ARROW OR LEFT ARROW TO MOVE RIGHT OR LEFT . \n              USE THE 'W' KEY TO DRINK  WATER .\n              USE THE 'S' KEY TO FEED SUGARCANE.\n              USE THE 'B' KEY TO FEED BANANA.\n              USE THE 'G' KEY TO FEED GRASS,\n              FEED ALL THE FOOD {COLLECTABLES} AND  LET IT GULP ALL THE BOWLS OF WATER  IN EACH  LEVEL THEN ONLY THE PORTAL WILL OPEN FOR '" ABU ""  THE ELEPHANT FOR NEXT LEVEL ENTRY.\n              DO NOT TOUCH THE DANGERS LIKE SPIKES ,MUD , CACTUS..\n              IN CASE IF THE  ELEPHANT STUCKS YOU CAN DRAG THE ELEPHANT TO SAVE IT .) D\n___________________________________________                          \n    SWEET INTRODUCTION                                                                --------------------------------------                                                    \nHE IS SMART AND GORGEOUS ABU.\nHE CAN BE YOUR SWEET PET IF YOU PAMPER AND  FEED HIM HIS DAILY DIET AND WATER NEED!                               \n  HOPE YOU ARE READY TO FACE THIS CUTE CHALLENGE OF THE  DAY/ GAME! COME ON FRIEND JUST HURRY UP!     \n------------------------------------------------------------------             WOW FACTS ABOUT ELEPHANT !!                                  -------------------------------------------------       \n SCIENTIFIC NAME : LOXODONTA                                    SCIENTIFIC FAMILY NAME: ELEPHANTIDAE                                                             \nWEIGHT : 6500 lbs  to 12000 lbs\nheight : 7ft to 12 ft       \nTop speed 25 mph            \nLife span 55 to 70 or 90 years            \nDiet : herbivore               \nMain prey : GRASS , FRUITS,ROOTS,,SMALL PLANTS, BUSHES,TWIGS,TREE BARKS                                                                                                      \nHOURS  OF EATING : 18 TO 22 HOURS PER DAY.              FAVOURITE FOOD GRASS              \nDAILY DIET CHART : 330 TO 375 lb                               DAILY LIQUID CHART : 42 gal to 55 gal of water      TRUMPETING AUDIBITLY : UP TO 5 MILES         \nWATER SMELLING CAPACITY: UP TO 12 MILES AWAY  \nSUPER SPECIALITY :\n-----------------------------\nHIGHLY INTELLIGENT MAMMAL                          \nLEGENDARY  MEMORY HOLDER                                                                 \nSELF AWARNESS ANIMAL{ONE OF THE RARE SPECIES WHICH RECOGNISE THEMSELVES IN MIRROR}\nPACHYDERMOS(THICK SKINNED)                         SUPER STRONG{ IT CARRIES  7 TONS OF WEIGHT}     \nHERD (LIVE AS FAMILY)                    \nTHEY SLEEP IN STANDING POSE. .                           \nENVIRONMENT ENGINEERS  .                                                   FOREST ECO SYSTEM MAINTAINERS  .                          THEY DIG WATER HOLES WITH TUSKS IN RAIN SCARCITY  WHICH HELPS OTHER ANIMALS.                                                                                   THEY LAY PATH FOR OTHER ANIMALS BY WALKING WITH THIS GIGANTIC FEET .        \nFAMILY FELLOWS LIVE AS HERD   .\nHERD LEAD BY FEMALE ELEPHANT .                                     REMEMBERS THE FOOD SPOT, ROUTE, HUMANS {WHOM THEY ENCOUNTER IN LIFE AS TAMERS ,OWNERS] FOR YEARS}    .                                                          GREAT SWIMMERS.\nBIGGEST LAND LIVING MAMMAL.\nGREAT BIODIVERSITY MAINTAINER  \n-----------------------------------------------------\nYOU CANT STOP YOURSELF FROM FALLING IN LOVE WOTH  THIS GORGEOUS SPECIES, BECAUSE i DO ...ha ha                        \nPLEASR HIT LOVE AND STAR BUTTONS AND DO FOLLOW ME TO ENCOURAGE ME TO GIVE MORE ENJOYABLE PROJECTS