- Event Type
- Landing Event
- Passing Event
- Input Required
- Yes (Parameter)
- Programming Language
- MIPS (Assembly)
- Source
- Custom-Made
This code is specifically designed to allow the landing or passing player to purchase an item from an inventory of your choice. If the player's inventory is full, they don't get to buy anything. It comes with pseudo-Item Bag functionalities that you can remove/adjust to your liking. It also includes text boxes and sound. There is no AI logic tree for this event.
To change the items that are for sale, you just need to change the values under item 1, item 2, and so on, to the index of the item that you wish to give out.
After that, go to the bottom of the code and look for ItemSelection_Prompt. That is where you will change the name of the item that will be displayed on the prompt. You may change the names of the parameters at the top to fit the items for sale, but remember to replace everything that makes reference to the old name, to avoid confusion.
Lastly, if you wish for your Item Shop to offer less/more items, you can carefully remove/add from the prompt options in ItemSelection_Prompt and also adjust the number of item 1/2/3 values that are in the code.
made by Discord user: clouds617
Enjoy!
If you'd like an Item Shop icon for your board that matches the blue toad used in this event, see here: