Wings of Fire platformer 5.5 WIP
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop20 v)\nhide variable [dragon: v]\nhide variable [treasure v]\n\nwhen flag clicked\n\nwhen backdrop switches to [backdrop5 v]\nforever\n    \nend\n\nswitch backdrop to (backdrop11 v)\n\n@lvl\n\nwhen flag clicked\nhide\n\nwhen I receive [go to background 3 v]\nswitch costume to (costume3 v)\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [go to back ground 7 v]\nshow\nswitch backdrop to (backdrop7 v)\nswitch costume to (costume6 v)\n\nwhen I receive [get out v]\nswitch costume to (costume2 v)\nswitch backdrop to (backdrop2 v)\nshow\n\nwhen I receive [go to background 4 v]\nshow\nswitch costume to (costume4 v)\nswitch backdrop to (backdrop4 v)\nwait (0.2) seconds\ngo to [front v] layer\n\nwhen I receive [go to 5 v]\nswitch backdrop to (backdrop5 v)\nswitch costume to (costume5 v)\ngo to [back v] layer\n\nwhen I receive [go to 6 v]\nswitch costume to (costume5-2 v)\nswitch backdrop to (backdrop6 v)\n\nwhen I receive [go to 8 v]\nswitch costume to (costume7 v)\nswitch backdrop to (backdrop8 v)\n\nwhen I receive [go to 9 v]\nswitch backdrop to (backdrop9 v)\nswitch costume to (costume8 v)\n\nwhen I receive [go to 10 v]\nswitch backdrop to (backdrop10 v)\nswitch costume to (costume9 v)\n\nwhen I receive [the game is on v]\nwait (0.5) seconds\nshow\nswitch costume to (costume1 v)\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [go to 11 v]\nswitch backdrop to (backdrop12 v)\nswitch costume to (costume10 v)\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [\(Wings of Fire- The Journey\) Calmest Night - Sandwing Kingdom Night Theme v] until done\nend\n\nwhen I receive [fates v]\nif <<<key (z v) pressed?> and <(dragon:) = [Fatespeaker]>> and <(costume [number v]) = [5]>> then\n    switch costume to (fates v)\nelse\n    switch costume to (costume5 v)\nend\n\nwhen I receive [go to 12 v]\nswitch backdrop to (backdrop14 v)\nswitch costume to (costume12 v)\n\nwhen I receive [go to background 3 v]\nswitch costume to (costume3 v)\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [go to 13 v]\nswitch backdrop to (backdrop15 v)\nswitch costume to (costume13 v)\n\n@player\n\nwhen flag clicked\nhide\ngo to x: (-208) y: (-111)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    platform gravity: [-1] jump height: [15] side movement speed: [3] friction: [.7] slope: [8]\nend\n\nshow\n\ndefine platform gravity: (gravity) jump height: (jump height) side movement speed: (side movement speed) friction: (friction) slope: (slope)\nchange [y velocity v] by (gravity)\nchange y by (y velocity)\nif <touching (lvl v)?> then\n    repeat until <not <touching (lvl v)?>>\n        change y by ((([abs v] of (y velocity) ) / (y velocity)) * (-1))\n    end\n    set [y velocity v] to [0]\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        set [y velocity v] to (jump height)\n    end\nend\nset [x velocity v] to (((x velocity) + ((<<key (left arrow v) pressed?> or <key (a v) pressed?>> * ((side movement speed) * (-1))) + (<<key (right arrow v) pressed?> or <key (d v) pressed?>> * (side movement speed)))) * (friction))\nchange x by (x velocity)\nset [slope v] to [0]\nrepeat until <<(slope) = ((slope) * (-1))> or <not <touching (lvl v)?>>>\n    change y by (1)\n    change [slope v] by (-1)\nend\nif <touching (lvl v)?> then\n    change y by (slope)\n    repeat until <not <touching (lvl v)?>>\n        change x by ((([abs v] of (x velocity) ) / (x velocity)) * (-1))\n    end\nend\n\n\n\nchange y by (1)\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen backdrop switches to [backdrop2 v]\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I receive [go to background 3 v]\ngo to x: (-199) y: (25)\n\ngo to x: (130) y: (15)\n\nshow\n\nwhen flag clicked\nset [dragon: v] to [Clay]\nset size to (250) %\nswitch costume to (clay right v)\nrepeat until <<key (6 v) pressed?> or <<key (2 v) pressed?> or <<key (3 v) pressed?> or <<key (4 v) pressed?> or <key (5 v) pressed?>>>>>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (clay right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (clay left v)\n    end\nend\n\nwhen I receive [go to back ground 7 v]\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (-211) y: (57)\n\nwait (0.2) seconds\ngo to [front v] layer\n\nwhen backdrop switches to [backdrop5 v]\n\nwhen [4 v] key pressed\nset [dragon: v] to [Glory]\nset size to (250) %\nswitch costume to (glory right v)\nrepeat until <<key (1 v) pressed?> or <<key (2 v) pressed?> or <<key (3 v) pressed?> or <<key (6 v) pressed?> or <key (5 v) pressed?>>>>>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (glory right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (glory left v)\n    end\nend\n\nwhen [3 v] key pressed\nset [dragon: v] to [Sunny]\nset size to (250) %\nswitch costume to (sun right v)\nrepeat until <<key (1 v) pressed?> or <<key (2 v) pressed?> or <<key (6 v) pressed?> or <<key (4 v) pressed?> or <key (5 v) pressed?>>>>>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (sun right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (sun left v)\n    end\n    if <key (z v) pressed?> then\n        repeat until <(size) = [150]>\n            change size by (-10)\n        end\n    else\n        repeat until <(size) = [250]>\n            change size by (10)\n        end\n    end\nend\n\nwhen [2 v] key pressed\nset [dragon: v] to [Tsunami]\nset size to (250) %\nswitch costume to (tsu right v)\nrepeat until <<key (1 v) pressed?> or <<key (6 v) pressed?> or <<key (3 v) pressed?> or <<key (4 v) pressed?> or <key (5 v) pressed?>>>>>\n    if <key (z v) pressed?> then\n        set [glow v] to [1]\n        switch costume to (tsu right light v)\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            switch costume to (tsu right light v)\n        end\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            switch costume to (tsu left light v)\n        end\n    else\n        set [glow v] to [0]\n        switch costume to (tsu right v)\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            switch costume to (tsu right v)\n        end\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            switch costume to (tsu left v)\n        end\n    end\nend\n\nwhen [1 v] key pressed\nset [dragon: v] to [Clay]\nset size to (250) %\nswitch costume to (clay right v)\nrepeat until <<key (6 v) pressed?> or <<key (2 v) pressed?> or <<key (3 v) pressed?> or <<key (4 v) pressed?> or <key (5 v) pressed?>>>>>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (clay right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (clay left v)\n    end\nend\n\nswitch costume to (sun right v)\n\nbroadcast (go to background 4 v)\n\n\n\ngo to x: (-185) y: (96)\n\nwhen I receive [get out v]\ngo to x: (-211) y: (-108)\n\nbroadcast (go to back ground 7 v)\n\nforever\n    if <touching color (#60cfff)?> then\n        broadcast (go to background 4 v)\n        go to x: (-211) y: (-108)\n    end\nend\n\nwait (0.1) seconds\n\nforever\n    if <touching color (#00b3ff)?> then\n        broadcast (message1 v)\n    end\nend\n\nforever\n    if <touching color (#43c7ff)?> then\n        broadcast (go to background 3 v)\n        go to x: (-199) y: (25)\n    end\nend\n\ngo to x: (-183) y: (-106)\ngo to x: (-199) y: (25)\n\nforever\n    if <touching (thumbnail v)?> then\n        go to x: (-130) y: (54)\n    end\nend\n\ngo to x: (-214) y: (-104)\n\nwhen I receive [go to background 4 v]\ngo to x: (-199) y: (25)\n\nwhen I receive [go to 5 v]\ngo to x: (-211) y: (-80)\n\nwhen I receive [go to 6 v]\ngo to x: (-211) y: (-68)\n\nwhen [r v] key pressed\ngo to x: (-186) y: (-89)\n\nwhen flag clicked\n\ngo to [front v] layer\n\nwhen I receive [go to 8 v]\ngo to x: (-206) y: (-66)\n\ngo to [front v] layer\n\nwhen I receive [go to 9 v]\ngo to x: (-234) y: (-101)\n\nwhen I receive [i found u v]\ngo to x: (-199) y: (-68)\n\nwhen I receive [go to 10 v]\ngo to x: (-234) y: (-101)\n\nwhen I receive [the game is on v]\nshow\n\nwhen [5 v] key pressed\nset [dragon: v] to [Starflight]\nset size to (250) %\nswitch costume to (star right v)\nrepeat until <<key (1 v) pressed?> or <<key (6 v) pressed?> or <<key (3 v) pressed?> or <<key (4 v) pressed?> or <key (2 v) pressed?>>>>>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (star right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (star left v)\n    end\nend\n\nif <key (z v) pressed?> then\n    broadcast (fates flash v)\nend\n\nwhen I receive [go to 11 v]\ngo to x: (-197) y: (-81)\n\nwhen [4 v] key pressed\nwait (0.5) seconds\nrepeat until <<key (1 v) pressed?> or <<key (2 v) pressed?> or <<key (3 v) pressed?> or <key (5 v) pressed?>>>>\n    if <key (z v) pressed?> then\n        if <(costume [number v]) = [10]> then\n            broadcast (Spit v)\n            wait (3) seconds\n        else\n            broadcast (Spit G v)\n            wait (3) seconds\n        end\n    end\nend\n\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    switch costume to (tsu right v)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    switch costume to (tsu left v)\nend\n\nwhen [2 v] key pressed\nrepeat until <<key (1 v) pressed?> or <<key (6 v) pressed?> or <<key (3 v) pressed?> or <<key (4 v) pressed?> or <key (5 v) pressed?>>>>>\n    if <key (z v) pressed?> then\n        broadcast (tsunami v)\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\n\nswitch costume to (thorn left v)\n\nstop [this script v]\n\nstop [this script v]\n\nforever\n\nrepeat until <not <touching (thumbnail v)?>>\n\nwhen I receive [lavaaaaa v]\ngo to x: (-196) y: (-55)\nsay [>.< too hot for me!] for (0.2) seconds\n\nwhen I receive [boooom v]\nforever\n    hide\nend\n\nwhen [4 v] key pressed\nset [dragon: v] to [Glory]\nset size to (250) %\nswitch costume to (glory right v)\nrepeat until <<key (1 v) pressed?> or <<key (2 v) pressed?> or <<key (3 v) pressed?> or <<key (6 v) pressed?> or <key (5 v) pressed?>>>>>\n    if <key (q v) pressed?> then\n        change [color v] effect by (25)\n    end\nend\nset [color v] effect to (0)\n\nwhen [6 v] key pressed\nset [dragon: v] to [Thorn]\nset size to (250) %\nswitch costume to (thorn right v)\nrepeat until <<key (1 v) pressed?> or <<key (5 v) pressed?> or <<key (3 v) pressed?> or <<key (4 v) pressed?> or <key (2 v) pressed?>>>>>\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (thorn right v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (thorn left v)\n    end\nend\n\nwhen I receive [cactus v]\ngo to x: (-201) y: (-50)\n\nwhen backdrop switches to [backdrop12 v]\nsay [Tell Blister to meet us ten midnights from tonight. In the stronghold's courtyard...] for (3) seconds\nbroadcast (Blister msg v)\n\nwhen backdrop switches to [backdrop10 v]\nrepeat until <(backdrop [number v]) = [11]>\n    if <key (z v) pressed?> then\nend\n\nwhen backdrop switches to [backdrop8 v]\nsay [Tell Blaze to meet us at the stronghold in 3 midnights...] for (3) seconds\nbroadcast (Blaze msg v)\n\nwhen I receive [go to 11 v]\ngo to x: (-211) y: (-68)\n\nwhen I receive [go to 12 v]\ngo to x: (-211) y: (-68)\n\nwhen I receive [go to 13 v]\ngo to x: (-211) y: (-68)\n\nwhen I receive [go to 14 v]\ngo to x: (-211) y: (-68)\n\n@Level Changer\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (get out v)\n        stop [this script v]\n    end\nend\n\nsay [Hello!] for (2) seconds\n\nwhen backdrop switches to [backdrop2 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to background 3 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\n\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to background 4 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 5 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 6 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to back ground 7 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop7 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 8 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop8 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 9 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop9 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 10 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 11 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop12 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 12 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop14 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 13 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop15 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (go to 14 v)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nshow\nswitch costume to (costume1 v)\nforever\n    if <touching (player v)?> then\n        broadcast (get out v)\n        stop [this script v]\n    end\nend\n\n@Artifacts\n\nwhen flag clicked\nset [treasure v] to [0]\nhide\n\nforever\n    change y by (3)\n    wait (0.3) seconds\n    change y by (-3)\n    wait (0.3) seconds\nend\n\nwhen I start as a clone\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (5) y: (-15)\nshow\nswitch costume to (pick random (1) to (3))\nforever\n    if <touching (player v)?> then\n        hide\n        change [treasure v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\n\ncreate clone of (_myself_ v)\n\nwhen backdrop switches to [backdrop4 v]\ngo to [back v] layer\ngo to x: (49) y: (-100)\nswitch costume to (pick random (1) to (3))\nshow\nforever\n    if <touching (player v)?> then\n        hide\n        change [treasure v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (83) y: (65)\nshow\nswitch costume to (pick random (1) to (3))\ngo to [back v] layer\nforever\n    if <touching (player v)?> then\n        hide\n        change [treasure v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (185) y: (-100)\nshow\ngo to [front v] layer\nforever\n    if <touching (player v)?> then\n        hide\n        change [treasure v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (-104) y: (-99)\nshow\nswitch costume to (pick random (1) to (3))\ngo to [back v] layer\nforever\n    if <touching (player v)?> then\n        hide\n        change [treasure v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop8 v]\ngo to x: (-81) y: (2)\nshow\nswitch costume to (pick random (1) to (3))\ngo to [front v] layer\nforever\n    if <touching (player v)?> then\n        hide\n        change [treasure v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (171) y: (-18)\nshow\nswitch costume to (pick random (1) to (3))\ngo to [front v] layer\nforever\n    if <touching (player v)?> then\n        hide\n        change [treasure v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen I receive [boooom v]\nhide\n\nswitch costume to (pick random (1) to (3))\n\nwhen flag clicked\nforever\n    set size to (70) %\n    set [v1 v] to [-5]\n    repeat (10)\n        change size by (V1)\n        change [v1 v] by (1)\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nturn right (15) degrees\nforever\n    repeat (10)\n        turn left (3) degrees\n    end\n    repeat (10)\n        turn left (-3) degrees\n    end\nend\n\n@PlayButton\n\nwhen flag clicked\ngo to x: (114) y: (158)\n\nwhen this sprite clicked\nhide\nbroadcast (the game is on v)\nshow variable [dragon: v]\nshow variable [treasure v]\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (on v)\n    else\n        switch costume to (off v)\n    end\nend\n\nwhen flag clicked\nhide\nwait (2.8) seconds\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@Magical death spit\n\nwhen I receive [spit v]\nswitch costume to (costume1 v)\nshow\ngo to (player v)\nchange y by (13)\nchange x by (31)\nrepeat until <<touching (_edge_ v)?> or <touching (lvl v)?>>\n    move (15) steps\nend\nswitch costume to (costume2 d v)\nwait (0.02) seconds\nswitch costume to (costume3 d v)\nwait (0.02) seconds\nswitch costume to (costume4 d v)\nwait (0.02) seconds\nhide\n\nwhen I receive [spit g v]\nswitch costume to (costume1 v)\nshow\ngo to (player v)\nchange y by (13)\nchange x by (-31)\nrepeat until <<touching (_edge_ v)?> or <touching (lvl v)?>>\n    move (-15) steps\nend\nswitch costume to (costume2 g v)\nwait (0.02) seconds\nswitch costume to (costume3 g v)\nwait (0.02) seconds\nswitch costume to (costume4 g v)\nwait (0.02) seconds\nhide\n\nwhen I receive [boooom v]\nhide\n\n@Tsunami Glowww\n\nwhen flag clicked\nhide\nforever\n    wait (0.18) seconds\n    next costume\nend\n\nwhen flag clicked\nhide\nforever\n    go to (player v)\nend\n\nwhen I receive [tsunami v]\nrepeat until <not <key (z v) pressed?>>\n    show\nend\nhide\n\nwhen I receive [boooom v]\nhide\n\n@Text\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide variable [treasure v]\nhide variable [dragon: v]\nbroadcast (fade 1 v)\nwait (0.5) seconds\nswitch costume to (costume1 v)\nshow\ngo to [front v] layer\nwait (2) seconds\nbroadcast (fade 1 v)\nwait (0.75) seconds\nnext costume\nwait (4) seconds\nbroadcast (fade 1 v)\nwait (0.75) seconds\nnext costume\nwait (4) seconds\nbroadcast (fade 1 v)\nwait (0.75) seconds\nnext costume\nwait (4) seconds\nbroadcast (fade 1 v)\nwait (0.75) seconds\nnext costume\nwait (3) seconds\nbroadcast (fade 1 v)\nwait (0.75) seconds\nnext costume\nbroadcast (fade 1 v)\nwait (0.75) seconds\nhide\nshow variable [treasure v]\n\nwhen [space v] key pressed\nstop [other scripts in sprite v]\nhide\n\n@Fade in/out\n\nwhen I receive [fade 1 v]\ngo to [front v] layer\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@Powers Tab\n\nwhen backdrop switches to [backdrop1 v]\nshow\ngo to x: (-6) y: (240)\nswitch costume to (arrow down v)\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    glide (0.35) secs to x: (-6) y: (119)\n    switch costume to (arrow up v)\nelse\n    glide (0.35) secs to x: (-6) y: (240)\n    switch costume to (arrow down v)\nend\n\n@Thumbnail\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\n\nhide\n\ngo to [front v] layer\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwait (1) seconds\n\n@Dragon INDICATOR\n\nwhen flag clicked\nhide\n\nwhen [space v] key pressed\nshow\n\nwhen I receive [the game is on v]\nwait (3) seconds\nshow\n\nwhen flag clicked\nforever\n    if <(dragon:) = [Clay]> then\n        switch costume to (costume1 v)\n    end\n    if <(dragon:) = [Tsunami]> then\n        switch costume to (costume2 v)\n    end\n    if <(dragon:) = [Sunny]> then\n        switch costume to (costume3 v)\n    end\n    if <(dragon:) = [Glory]> then\n        switch costume to (costume4 v)\n    end\n    if <(dragon:) = [Starflight]> then\n        switch costume to (costume5 v)\n    end\n    if <(dragon:) = [Thorn]> then\n        switch costume to (costume6 v)\n    end\nend\n\n@TREASURE N0\n\nwhen flag clicked\nhide\nswitch costume to (0 v)\nforever\n    if <(Treasure) = [1]> then\n        switch costume to (1 v)\n    end\n    if <(Treasure) = [2]> then\n        switch costume to (2 v)\n    end\n    if <(Treasure) = [3]> then\n        switch costume to (3 v)\n    end\n    if <(Treasure) = [4]> then\n        switch costume to (4 v)\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\n@Cacti\n\nwhen backdrop switches to [backdrop5 v]\nstop [other scripts in sprite v]\ngo to x: (-120) y: (-81)\nswitch costume to (costume2 v)\ngo to [back v] layer\nshow\nforever\n    if <touching (player v)?> then\n        broadcast (Cactus v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop6 v]\nstop [other scripts in sprite v]\ngo to x: (-32) y: (-69)\nswitch costume to (costume1 v)\ngo to [back v] layer\nshow\nforever\n    if <touching (player v)?> then\n        broadcast (Cactus v)\n    end\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@Snowflake\n\nwhen I start as a clone\nif <(backdrop [number v]) > [8]> then\n    delete this clone\nelse\n    set [s v] to (pick random (1) to (pick random (2) to (pick random (4) to (pick random (7) to (pick random (11) to (15))))))\n    go to x: (pick random (-240) to (240)) y: (170)\n    set size to ((s) * (50)) %\n    show\n    set [st v] to ((s) * (s))\n    forever\n        if <(s) > [3]> then\n            go to [front v] layer\n        else\n            go [backward v] (10) layers\n        end\n        change [st v] by (0.01)\n        move (st) steps\n        if <<(y position) < [-150]> or <touching (_edge_ v)?>> then\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(backdrop [number v]) > [8]> then\n    delete this clone\nelse\n    set [d v] to (pick random (170) to (190))\n    forever\n        set [d2 v] to (pick random (170) to (190))\n        repeat until <(d) = (d2)>\n            point in direction (d)\n            if <(d) < (d2)> then\n                change [d v] by (1)\n            else\n                change [d v] by (-1)\n            end\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\nforever\n    create clone of (snowflake v)\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\nforever\n    create clone of (snowflake v)\nend\n\nwhen backdrop switches to [backdrop9 v]\nhide\nforever\n    stop [other scripts in sprite v]\nend\n\ndelete this clone\n\n\nend\n\n@3 queens\n\nwhen flag clicked\nhide\n\n@Snow Thumbnail\n\nwhen I start as a clone\nset [s v] to (pick random (1) to (pick random (2) to (pick random (4) to (pick random (7) to (pick random (11) to (15))))))\ngo to x: (pick random (-240) to (0)) y: (170)\nset size to ((s) * (50)) %\nshow\nset [st v] to ((s) * (s))\nforever\n    if <(s) > [3]> then\n        go to [front v] layer\n    else\n        go [backward v] (10) layers\n    end\n    change [st v] by (0.01)\n    move (st) steps\n    if <<(y position) < [-150]> or <touching (_edge_ v)?>> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [d v] to (pick random (170) to (190))\nforever\n    set [d2 v] to (pick random (170) to (190))\n    repeat until <(d) = (d2)>\n        point in direction (d)\n        if <(d) < (d2)> then\n            change [d v] by (1)\n        else\n            change [d v] by (-1)\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nforever\n    create clone of (snowflake v)\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\nforever\n    create clone of (snowflake v)\nend\n\nshow\n\nwhen I start as a clone\nforever\n    if <(x position) > [0]> then\n        delete this clone\n    end\nend\n\n@Mouse pointer\n\nwhen flag clicked\nforever\n    go to (mouse-pointer v)\nend\n\n@Letter\n\nwhen I receive [blaze msg v]\nswitch costume to (blaze v)\nshow\npoint in direction (90)\ngo to [front v] layer\nset size to (10) %\nset [ghost v] effect to (100)\nrepeat (10)\n    turn right (36) degrees\n    change [ghost v] effect by (-10)\n    change size by (10)\nend\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nrepeat (10)\n    turn right (36) degrees\n    change [ghost v] effect by (10)\n    change size by (-10)\nend\n\nwhen I receive [blister msg v]\nswitch costume to (blister v)\nshow\npoint in direction (90)\ngo to [front v] layer\nset size to (10) %\nset [ghost v] effect to (100)\nrepeat (10)\n    turn right (36) degrees\n    change [ghost v] effect by (-10)\n    change size by (10)\nend\n\nbroadcast (Blaze msg v)\n\n@Dark\n\nwhen backdrop switches to [backdrop10 v]\nswitch costume to (costume1 v)\nshow\nrepeat until <(backdrop [number v]) = [12]>\n    if <(glow) = [1]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop12 v]\nswitch costume to (costume2 v)\nshow\nrepeat until <(backdrop [number v]) = [12]>\n    if <(glow) = [1]> then\n        hide\n    else\n        show\n    end\nend\n\ngo to [front v] layer\n\nwhen backdrop switches to [backdrop11 v]\nstop [other scripts in sprite v]\nhide\n\n@Dark2\n\nwhen backdrop switches to [backdrop10 v]\nrepeat until <(backdrop [number v]) = [11]>\n    if <(glow) = [1]> then\n        show\n    else\n        hide\n    end\nend\nhide\n\nwhen flag clicked\nhide\nforever\n    go to (player v)\nend\n\nwhen backdrop switches to [backdrop12 v]\nrepeat until <(backdrop [number v]) = [11]>\n    if <(glow) = [1]> then\n        show\n    else\n        hide\n    end\nend\nhide\n\n@Dreams..\n\n@Sprite11\n\nwhen flag clicked\ngo to x: (0) y: (-80)\nhide\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite12\n\nwhen flag clicked\ngo to x: (0) y: (-80)\nhide\nwait (0.15) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite13\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (900)\nhide\nwait (00.34) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite7\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (-200)\nhide\nwait (0.4) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\ngo to x: (0) y: (-200)\nhide\nwait (0.55) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (900)\nhide\nwait (0.6) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (900)\nhide\nwait (0.65) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (900)\nhide\nwait (0.7) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (900)\nhide\nwait (0.75) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (900)\nhide\nwait (0.8) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (500) y: (0)\nhide\nwait (1) seconds\nshow\nglide (00.25) secs to x: (0) y: (0)\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite9\n\nwhen flag clicked\nhide\nwait (1.5) seconds\nset size to (200) %\nset [ghost v] effect to (100)\nshow\nrepeat (5)\n    change size by (-20)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nwait (2) seconds\nset size to (200) %\nset [ghost v] effect to (100)\nshow\nrepeat (5)\n    change size by (-20)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite15\n\nwhen flag clicked\nhide\nwait (2.2) seconds\nset size to (200) %\nset [ghost v] effect to (100)\nshow\nrepeat (5)\n    change size by (-20)\n    change [ghost v] effect by (-20)\nend\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite14\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nwait (2.5) seconds\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [the game is on v]\nhide\n\n@Sprite16\n\n@Sprite17\n\n@Sprite18\n\n
WORK IN PROGRESS- Well not really in progress but..\n\nWelcome to Wings of fire platformer 5.5!\n\nDISCLAIMER: As many of you have noticed, I don't have enough time to finish this platformer, thus why I'm releasing what I have right now. \n-This platformer has mostly been art revamp and easier play through! \n-You can remix this project and add an ending if you want!\n\n[1-6] Dragon Change\n[SPACE] Skip Intro\n[R] Reset dragon\n[Z] Activate certain dragon abilities\n\nAlthough I'm not sure WoF platf 6 will be a thing, there might be a chance :)\nHave fun!\n\n\n