SPAMTON PLATFORMER

Instructions: arrow keys or WASD to move\n$$ STORY $$\nLong after Kris, Susie, and Ralsei left the cyber world [[Btw in this timeline they did not give Spamton his Empty Disk.]] Spamton was tired of being reduced to living in the trash can. Recently he heard that Mike was back and kidnapped The Queen so our spammy boi thought this is an opportunity to be a [[BIG SHOT]] again. So what are you waiting for..... Don't you wanna be a [[BIG SHOT]]?  \n

@Stage\n\nwhen flag clicked\nswitch backdrop to (blank v)\n\nwhen I receive [change scene v]\nswitch backdrop to (join [Scene] (SCENE #))\n\n@Spamton\n\nwhen flag clicked\nshow\nswitch costume to (haha spamton go brrrrrr v)\nset [scene # v] to [0]\nset [gravity v] to [-1.5]\nset [jump force v] to [20]\nset [spawn scene v] to [1]\nset [spawn x v] to [-125]\nset [spawn y v] to [55]\nReset and Begin Level\n\nif <touching color (#ff0000)?> then\n    go to x: (-66) y: (54)\nend\n\nrepeat until <not <touching color (#77b3ff)?>>\n    change y by (1)\nend\n\ndefine Move - in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    Check Touching Solid\n    if <touching color (#77b3ff)?> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((speed y) / (steps))\n    if <touching color (#77b3ff)?> then\n        set y to (last value)\n        if <(speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\ndefine Check Touching Solid\nif <touching color (#77b3ff)?> then\n    set [touching v] to [1]\nelse\n    set [touching v] to [0]\nend\n\nwhen I receive [tick - player v]\nswitch backdrop to <touching (level v)?>\nControls - Up and Down\nControls - Left and Right\nMove - in steps (([abs v] of (speed x) ) + ([abs v] of (speed y) ))\nSet Costume\n\ndefine Controls - Up and Down\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    if <(falling) < [3]> then\n        set [speed y v] to (JUMP FORCE)\n    end\nend\nchange [speed y v] by (GRAVITY)\n\ndefine Controls - Left and Right\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [speed x v] by (-1.5)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [speed x v] by (1.5)\nend\nset [speed x v] to ((speed x) * (0.9))\n\ndefine Reset and Begin Level\nset [scene # v] to [1]\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [falling v] to [99]\ngo to x: (-69) y: (93)\nbroadcast (Change Scene v)\nbroadcast (Game Loop v)\n\nwhen I receive [game loop v]\nforever\n    broadcast (Tick - First v)\n    broadcast (Tick - player v)\n    broadcast (Tick - Last v)\nend\n\nwhen I receive [tick - last v]\nif <(x position) > [374]> then\n    change [scene # v] by (1)\n    broadcast (Change Scene v)\n    go to x: (-72) y: (55)\nend\nif <touching color (#ff1515)?> then\n    broadcast (COMMIT TO GA GA AND DIE v)\nend\n\nwhen I receive [tick - first v]\nswitch costume to (hitbox v)\nset rotation style [don't rotate v]\n\ndefine Set Costume\nswitch costume to (haha spamton go brrrrrr v)\n\nwhen I receive [commit to ga ga and die v]\ngo to x: (-83) y: (38)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nclear graphic effects\ngo to (no die v)\n\nwhen flag clicked\nplay sound [A cybers world v] until done\n\nwhen I receive [its pronoueced rules v]\nstop all sounds\nplay sound [roulx kaard v] until done\n\nwhen I receive [bye rouxls v]\nstop all sounds\nplay sound [A cybers world v] until done\n\nwhen I receive [the pandora's box v]\nstop all sounds\nplay sound [Deltarune OST_ 26 - Pandora Palace v] until done\n\nwhen I receive [mike neo v]\nforever\n    if <touching (mike! v)?> then\n        broadcast (MIKE GO BOOM BOOM v)\n    end\nend\n\n@level\n\nwhen flag clicked\nswitch costume to (unused v)\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nwhen I receive [change scene v]\nchange [scene # v] by (1)\nnext costume\n\nwhen I receive [mike neo v]\nswitch costume to (scene22 v)\n\nwhen I receive [mike go boom boom v]\nswitch costume to (costume1 v)\n\n@Jevil\n\nwhen flag clicked\nhide\ngo to x: (-143) y: (167)\nswitch costume to (hahhah3 v)\n\nwhen I receive [change scene v]\nif <(SCENE #) = [11]> then\n    show\nelse\n    hide\nend\n\nwhen I receive [change scene v]\nif <(SCENE #) = [11]> then\n    wait (1) seconds\n    switch costume to (costume2 v)\n    broadcast (jevil spit v)\nend\n\nwhen I receive [kromer collect v]\nplay sound [Bye Bye v] until done\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nhide\n\n@kromer\n\nwhen I receive [change scene v]\nif <(SCENE #) = [11]> then\n    show\nelse\n    hide\nend\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\ngo to (jevil v)\npoint towards (spamton v)\n\nwhen I receive [jevil spit v]\nshow\nglide (4) secs to x: (127) y: (49)\nwait until <touching (spamton v)?>\nplay sound [Collect v] until done\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ncreate clone of (_myself_ v)\nhide\nbroadcast (KROMER COLLECT v)\n\nwhen I start as a clone\nshow\ngo to (jevil v)\npoint towards (spamton v)\nglide (4) secs to x: (127) y: (49)\nwait until <touching (spamton v)?>\nplay sound [Collect v] until done\nchange [ghost v] effect by (100)\nhide\n\n@roulx kaard\n\nwhen I receive [change scene v]\nif <(SCENE #) = [23]> then\n    show\n    broadcast (ITS PRONOUECED RULES v)\nelse\n    hide\nend\n\nwhen flag clicked\nhide\ngo to x: (125) y: (117)\nswitch costume to (roulx kaard v)\n\nwhen I receive [its pronoueced rules v]\nplay sound [recording1 v] until done\nwait (.1) seconds\nplay sound [recording2 v] until done\nwait (.1) seconds\nplay sound [recording3 v] until done\nwait (.1) seconds\nplay sound [recording4 v] until done\nrepeat (10)\n    change [ghost v] effect by (25)\nend\nbroadcast (BYE ROUXLS v)\n\n@NO DIE\n\nwhen flag clicked\nhide\n\n@Mike Camera\n\nwhen I receive [change scene v]\nif <(SCENE #) = [31]> then\n    show\n    broadcast (THE PANDORA'S BOX v)\nend\n\nwhen flag clicked\nhide\n\n@Mike!\n\nwhen I receive [change scene v]\nif <(SCENE #) = [41]> then\n    show\n    stop all sounds\n    broadcast (MIKE v)\nelse\n    hide\nend\n\nwhen flag clicked\ngo to x: (77) y: (91)\nswitch costume to (mike v)\nhide\n\nwhen I receive [mike v]\nplay sound [recording1 v] until done\nwait (1) seconds\nplay sound [recording2 v] until done\nwait (1) seconds\nplay sound [recording3 v] until done\nwait (1) seconds\nplay sound [Deltarune Chapter 3 - Mike Voice Lines \(FAN-MADE\) v] until done\nbroadcast (MIKE NEO v)\n\nwhen I receive [mike neo v]\nswitch costume to (transform v)\nwait (1) seconds\nswitch costume to (mike neo v)\nstop all sounds\nplay sound [SHOWSTOPPING SHOWDOWN \(Fanmade Mike Theme\) | DELTARUNE v] until done\n\nwhen I receive [mike go boom boom v]\nstop all sounds\nswitch costume to (noooooo v)\n\nwhen I receive [mike go boom boom v]\nswitch costume to (noooooo v)\n\n@Cutscene\n\nwhen flag clicked\nhide\n\nwhen I receive [mike go boom boom v]\nwait (1) seconds\nshow\nswitch costume to (costume1 v)\nplay sound [recording1 v] until done\nwait (1) seconds\nswitch costume to (costume2 v)\nplay sound [recording2 v] until done\nwait (1) seconds\nswitch costume to (costume3 v)\nplay sound [recording7 v] until done\nwait (1) seconds\nswitch costume to (costume4 v)\nplay sound [recording3 v] until done\nwait (1) seconds\nswitch costume to (costume5 v)\nplay sound [recording8 v] until done\nwait (1) seconds\nswitch costume to (costume6 v)\nplay sound [recording4 v] until done\nwait (1) seconds\nswitch costume to (costume7 v)\nplay sound [recording5 v] until done\nwait (1) seconds\nswitch costume to (costume8 v)\nplay sound [recording6 v] until done\nwait (1) seconds\nswitch costume to (costume9 v)\nplay sound [Don't Forget v] until done\nwait (1) seconds\nforever\n    switch costume to (costume10 v)\nend\n\n@Title\n\nwhen flag clicked\nhide\n\n