Talk Curse | A Platformer #All #Games

Instructions: Talk Curse | A Platformer\n============================\n#38 on games!\n\nINTRODUCTION:\nYou are given a curse- you can only move\nby typing your action!! Ready your hands\nbecause this is going to be a long adventure!!\nBefore you start, consider pressing that ❤️ and ⭐ \nand maybe a follow to show your support level!\n\nINSTRUCTIONS:\nType your action to move! \nright, left, jump, rightjump, leftjump, reset\n\nYOU WANT PART 2?\nPress heart and star! And maybe a follow!!\n\nSECRET!\ndon't scroll down if you want to know a secret...\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nI warned you....\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n5\n\n\n\n\n\n\n\n\n\n\n\n\n\n4\n\n\n\n\n\n\n\n\n\n\n\n\n\n3\n\n\n\n\n\n\n\n\n\n\n\n2\n\n\n\n\n\n\n\n1....\n\n\n\n\n\n\n\n\n\nokay!\n\n\n\n\n\n\n\n\nHere goes!!\n\n\n\n\n\n\n\n\n\n\nUse copy and paste! (ctrl + c), (ctrl + v)\nSINCE You know my secret now, press that heart and star and follow!\nLet's keep these as our small secret...\n============================

@Stage\n\nwhen flag clicked\nforever\n    ask [Do what? \(right, left, jump, rightjump, leftjump, reset\)] and wait\n    set [answer v] to (answer)\nend\n\nwhen flag clicked\nset [answer v] to []\nforever\n    wait until <not <(answer) = []>>\n    wait (.2) seconds\n    set [answer v] to []\nend\n\n@Player\n\ndefine physics <touch>\nset [x v] to (x position)\nset [y v] to (y position)\ngo to [front v] layer\nclear graphic effects\nchange [yv v] by (-1)\nif <touching (trampoline v)?> then\n    start sound [Boing sound effect v]\n    change [yv v] by (20)\nend\nif <(answer) = [right]> then\n    point in direction (90)\n    change [xv v] by (0.9)\nend\nif <(answer) = [left]> then\n    point in direction (-90)\n    change [xv v] by (-0.9)\nend\nset [xv v] to ((Xv) * (0.9))\nchange x by (Xv)\nif <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>> then\n    change y by (1)\nend\nif <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>> then\n    change y by (-4)\n    change x by ((Xv) * (-1))\nend\nchange y by (Yv)\nif <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>> then\n    change y by ((Yv) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<(answer) = [rightjump]> and <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>>> then\n    point in direction (90)\n    change [xv v] by (2.7)\n    if <touching (trampoline v)?> then\n        change [yv v] by (20)\n    else\n        change [yv v] by (14)\n    end\nend\nif <<(answer) = [leftjump]> and <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>>> then\n    point in direction (-90)\n    change [xv v] by (-2.7)\n    if <touching (trampoline v)?> then\n        change [yv v] by (20)\n    else\n        change [yv v] by (14)\n    end\nend\nif <<(answer) = [jump]> and <<touching (platforms v)?> or <<touching (key door v)?> or <<<touching (on v)?> and <[on] = (ON/OFF STATUS)>> or <<touching (off v)?> and <[off] = (ON/OFF STATUS)>>>>>> then\n    if <touching (trampoline v)?> then\n        change [yv v] by (20)\n    else\n        change [yv v] by (14)\n    end\nend\nchange y by (1)\nif <[reset] = (answer)> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    reset\n    go to x: (-215) y: (70)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\nif <(x position) > [235]> then\n    change [level v] by (1)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    reset\n    go to x: (-215) y: (70)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\nif <<<touching (boss 1 v)?> or <<touching (spikes v)?> or <touching (enemies v)?>>> or <(y position) < [-175]>> then\n    start sound [Crunch v]\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    reset\n    go to x: (-215) y: (70)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\nif <[-145] > (y position)> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    go to x: (-200) y: (-45)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen flag clicked\ngo to x: (-215) y: (item (Level) of [spawn points v])\nswitch costume to (costume1 v)\nshow\nforever\n    physics <>\nend\n\ndefine reset\nset [xv v] to [0]\nset [yv v] to [0]\n\ndelete all of [spawn points v]\nadd [-40] to [spawn points v]\nadd [-115] to [spawn points v]\nadd [-115] to [spawn points v]\n\nwhen I receive [glide v]\nSmooth Glide x: (_t10) y: (_t11) speed: [3] ghost: [0]\n\ndefine Smooth Glide x: (x) y: (y) speed: (i) ghost: (ghost)\nrepeat until <<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>>\n    change x by (((round (x)) - (round (x position))) / (i))\n    change y by (((round (y)) - (round (y position))) / (i))\n    change [ghost v] effect by (ghost)\nend\ngo to x: (x) y: (y)\n\nwhen I receive [move v]\nstop [other scripts in sprite v]\nbroadcast (glide v)\nwait (.5) seconds\nstop [other scripts in sprite v]\ngo to x: (_t10) y: (_t11)\n\nwhen I receive [free v]\nstop [other scripts in sprite v]\nwait (.1) seconds\nforever\n    physics <>\nend\n\n@Platforms\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch costume to (Level)\n    go to [back v] layer\n    go [forward v] (1) layers\nend\n\n@Guide\n\nwhen flag clicked\nforever\n    switch costume to (Level)\n    go to [back v] layer\nend\n\nchange [level v] by (1)\n\n@Key Door\n\nwhen flag clicked\ngo to x: (36) y: (28)\nhide\nwait (1) seconds\nwait until <(Level) = [6]>\nshow\nbroadcast (Level 6 v)\nwait until <(Level) = [7]>\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [level 6 v]\nforever\n    glide (1) secs to x: (36) y: (98)\n    wait (1) seconds\n    glide (1) secs to x: (36) y: (28)\n    wait (1) seconds\nend\n\n@Skill\n\nwhen flag clicked\ngo to x: (105) y: (-16)\nhide\nwait (1) seconds\nwait until <(Level) = [8]>\nshow\nforever\n    set y to ((([sin v] of ((timer) * (100)) ) * (2)) + (-16))\nend\n\nwhen I receive [ghost v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nstop [other scripts in sprite v]\n\nwhen I receive [ghost v]\nforever\n    set x to ([x position v] of [enemy v])\nend\n\n@Enemy\n\ndefine Smooth Glide x position: (x) Y position: (y) Smoothness: (speed) Direction: (direction) Size: (size)\nrepeat until <<(round (x position)) = (round (x))> and <<(round (y position)) = (round (y))> and <<(round (size)) = (round (size))> and <(round (direction)) = (round (direction))>>>>\n    change x by (((round (x)) - (round (x position))) / (speed))\n    change y by (((round (y)) - (round (y position))) / (speed))\n    turn right (((round (direction)) - (round (direction))) / (speed)) degrees\n    change size by (((round (size)) - (round (size))) / (speed))\nend\n\nwhen flag clicked\ngo to x: (240) y: (-48)\nhide\nwait (1) seconds\nwait until <(Level) = [8]>\nshow\nSmooth Glide x position: [105] Y position: [-48] Smoothness: [3] Direction: [90] Size: [100]\nbroadcast (ghost v)\nSmooth Glide x position: [240] Y position: [-48] Smoothness: [4] Direction: [90] Size: [100]\n\nwhen I receive [ghost v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@Follow, Heart, StarSprite2\n\ndefine Smooth Glide x: (x) y: (y) speed: (i)\nrepeat until <<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>>\n    change x by (((round (x)) - (round (x position))) / (i))\n    change y by (((round (y)) - (round (y position))) / (i))\nend\ngo to x: (x) y: (y)\n\nwhen flag clicked\ngo to x: (-121) y: (-177)\nhide\n\nwhen I receive [start v]\n\ndefine glide in\nSmooth Glide x: (-18) y: (-4) speed: (3)\n\nglide (0.5) secs to x: (-121) y: (-177)\nwait (pick random (1) to (20)) seconds\nglide (0.5) secs to x: (-121) y: (-200)\nhide\n\ndefine glide out\nbroadcast (gh v)\nSmooth Glide x: (-18) y: (30) speed: (3)\n\nwhen I receive [gh v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [start v]\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    hide\n    clear graphic effects\n    go to x: (-18) y: (50)\n    wait (pick random (1) to (30)) seconds\n    show\n    glide in\n    wait (pick random (5) to (15)) seconds\n    glide out\nend\n\n@Sprite1\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\n\n