- 5,256
- Posts
- 17
- Years
- Age 27
- Leicester, UK
- Seen Mar 31, 2025
How do I change the items in marts? I couldnt find A mart in the toolbox and when I got it somewhere else it didnt work so help! lol
Just use the following script:
Spoiler:
#dynamic 0x800000
#include stditems.rbh
#org @start
lock
faceplayer
preparemsg @string1
waitmsg
pokemart @mart1
msgbox @string2 MSG_KEEPOPEN
release
end
#org @string1
= Hi, there!\nMay I help you?
#org @string2
= Please come again!
#org @mart1
#raw word ITEM_POTION
#raw word ITEM_POKEBALL
#raw word ITEM_ANTIDOTE
#raw word ITEM_REVIVE
#raw word 0x0
#include stditems.rbh
#org @start
lock
faceplayer
preparemsg @string1
waitmsg
pokemart @mart1
msgbox @string2 MSG_KEEPOPEN
release
end
#org @string1
= Hi, there!\nMay I help you?
#org @string2
= Please come again!
#org @mart1
#raw word ITEM_POTION
#raw word ITEM_POKEBALL
#raw word ITEM_ANTIDOTE
#raw word ITEM_REVIVE
#raw word 0x0
That would give you the option to buy potions, Pokéballs, antidotes and revives.
If you want to change the stock, just replace "ITEM_POTION", for example, with "ITEM_ORANGEMAIL", or to whatever item you want to change. If you're unsure about what the item you want is called, open XSE's stditems.rbh file in notepad and search for a word. Make sure you don't remove the "#include stditems.rbh" line.