Rogue Soul || Platformer

Instructions: Scroll down here if it says to reload or shows ? marks.\nSuper Mario Maker 4 Out Now:\nhttps://scratch.mit.edu/projects/753049043\n\nMaker Controls:\nMovement: WASD or Arrows\nSwitch Tools (PLACE or ERASE): Q\nOpen Item Inventory: I\nNavigate Menus: Scroll Wheel or Click On Screen.\nMove Faster: Hold Space while Moving.\nUse the On-Screen buttons to Select Items or Menus.\n\nPlayer Controls:\nMovement: WASD or Arrows\nSprint: Hold Space\nJump: W or Up Arrow\nCrouch / Slide: S or Down Arrow\nPickup Item: Space\nUse Door: S or Down Arrow\nUse Pipe: WASD or Arrows in direction of entrance.\nEach Powerup has different Movement capabilities, experiment with them to find out how to use each one.\n\n========================================\n\nIF THE GAME KEEPS TELLING YOU TO RELOAD, reload the page then open another tab as soon as the Instructions box (this text box) shows. Return to this tab after ~10 seconds and it should be loaded.\n\nIF THE GAME SHOWS QUESTION MARKS, reload until it doesn't, or use turbowarp, linked below. This glitch is an issue with Scratch, if you want it fixed report it to them.\n\nYou may also want to try using Turbowarp, which seems to be better at loading the project:\nhttps://turbowarp.org/556047373\n\nIf you are having lag issues, make sure the Hardware Acceleration option in the chrome browser settings is enabled. Otherwise performance will drop heavily.\n\n========================================\n\nThis game was made by @BenjaminWins11, please do not try to take credit for my work.\n\nMaker Buttons, Left to Right:\nFloors Menu: Move Between or Add Sub Areas. [N]\nBackgrounds Menu: Change Area Background. [B]\nMusic Menu: Change Area Music. [M]\nCamera Menu: Change Camera Movement in Area. [V]\nSave: Save your level.\nPlay: Play the level from your current position. [E]\nRecently Used Blocks: Click to select again.\nInventory Menu: View and Select any Item in Game. [I]\n\nBonus Buttons in the Inventory Menu, Left to Right:\nSearch Menu: Type to search for item names.\nTime Menu: Change the maximum time for a level. [T]\nRestart: Play your level from the beginning.\nPlacement Type: Fill or Single Placement switch.\n  Middle Buttons are to navigate or close the inventory.\nDark Mode: Darkens the UI to reduce eye strain.\nTips Toggle: Choose to Hide or Show on-screen tips.\n\nKirby's Dreamland 3 Maker out now:\nhttps://scratch.mit.edu/projects/688798402/

@Stage\n\nwhen flag clicked\nhide variable [x v]\nhide variable [y v]\nhide variable [ステージ v]\nforever\n    play sound [DARK-024_T083B03A07_aQf3m6pUFvQ v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\nswitch backdrop to (背景 v)\nswitch costume to (コスチューム2 v)\nset [ステージ v] to [1]\n初期位置\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1.75)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1.75)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.8))\n    change x by (x)\n    if <touching (ステージ v)?> then\n        change y by (1)\n        if <touching (ステージ v)?> then\n            change y by (1)\n            if <touching (ステージ v)?> then\n                change y by (1)\n                if <touching (ステージ v)?> then\n                    change y by (1)\n                    if <touching (ステージ v)?> then\n                        change y by (1)\n                        if <touching (ステージ v)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-15]\n                                else\n                                    set [x v] to [15]\n                                end\n                                set [y v] to [14.5]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (ステージ v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ステージ v)?> and <key (up arrow v) pressed?>> then\n        start sound [ニュッ2 v]\n        change [y v] by (16)\n    end\n    change y by (1)\n    if <<touching (とげ・マグマ v)?> or <<touching (スプライト1 v)?> or <<touching (スプライト2 v)?> or <<touching (スプライト3 v)?> or <(y position) < [-175]>>>>> then\n        start sound [キャンセル5 v]\n        wait (0.05) seconds\n        初期位置\n    end\n    if <not <(ステージ) = [11]>> then\n        if <(x position) > [200]> then\n            start sound [成功音 v]\n            change [ステージ v] by (1)\n            wait (0.05) seconds\n            初期位置\n            broadcast (メッセージ1 v) and wait\n        end\n    end\nend\n\nwhen this sprite clicked\nnext costume\nbroadcast (メッセージ2 v)\nstart sound [カーソル移動11 v]\n\ndefine 初期位置\nset size to (100) %\ngo to x: (-207) y: (-81)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nshow\n\nwhen flag clicked\nforever\n    if <(ステージ) = [10]> then\n        switch backdrop to (背景2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [11]> then\n        switch backdrop to (背景 v)\n    end\nend\n\n@ステージ\n\nwhen flag clicked\nswitch costume to (ステージ1 v)\ngo to x: (0) y: (0)\nset size to (100) %\nforever\n    switch costume to (ステージ)\nend\n\n@とげ・マグマ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nforever\n    switch costume to (ステージ)\nend\n\n@NEXT\n\nwhen I receive [メッセージ1 v]\nset [next v] to [1]\ngo to [front v] layer\nshow\nrepeat until <(x position) < [.1]>\n    change x by (((x position) / (3)) * (-1))\nend\nrepeat until <(x position) < [-464]>\n    change x by (((([abs v] of (x position) ) + (1)) / (3)) * (-1))\nend\nset [next v] to [0]\nhide\ngo to x: (465) y: (0)\n\nwhen flag clicked\ngo to x: (465) y: (0)\nswitch costume to (コスチューム2 v)\nhide\n\nwhen I receive [メッセージ2 v]\nnext costume\n\n@サムネ\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\ngo to [back v] layer\nforever\n    if <(ステージ) = [3]> then\n        show\n        repeat until <(ステージ) = [4]>\n            repeat (10)\n                change y by (20)\n                wait (pick random (0.008) to (0.02)) seconds\n            end\n            wait (1) seconds\n            repeat (20)\n                change y by (-10)\n                wait (pick random (0.008) to (0.02)) seconds\n            end\n            wait (pick random (0.02) to (0.08)) seconds\n            if <(ステージ) = [4]> then\n                hide\n                stop [this script v]\n            end\n        end\n        hide\n        stop [this script v]\n    end\nend\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\ngo to [back v] layer\nforever\n    if <(ステージ) = [3]> then\n        show\n        wait (2) seconds\n        repeat until <(ステージ) = [4]>\n            repeat (10)\n                change y by (20)\n                wait (pick random (0.008) to (0.02)) seconds\n            end\n            wait (1) seconds\n            repeat (20)\n                change y by (-10)\n                wait (pick random (0.008) to (0.02)) seconds\n            end\n            wait (pick random (1) to (2)) seconds\n            if <(ステージ) = [4]> then\n                hide\n                stop [this script v]\n            end\n        end\n        hide\n        stop [this script v]\n    end\nend\n\n@スプライト3\n\nwhen flag clicked\ngo to x: (0) y: (-189)\nhide\ngo to [back v] layer\nforever\n    if <(ステージ) = [7]> then\n        show\n        wait (1) seconds\n        repeat until <(ステージ) = [8]>\n            repeat (10)\n                change y by (-35)\n            end\n            wait (pick random (1) to (2)) seconds\n            repeat (10)\n                change y by (35)\n            end\n            wait (0.2) seconds\n            if <(ステージ) = [8]> then\n                hide\n                stop [this script v]\n            end\n        end\n        hide\n        stop [this script v]\n    end\nend\n\n