- 84
- Posts
- 4
- Years
- Seen Apr 21, 2025
Hello everybody, i have a small issue with a new vendor in the pokemart
i added a new guy in a pokemart and it works perfectly beside...him not showing one item but another
what i mean
this is the code
the issue lies in the item 0x149 (TM41)
the game shows me the item 0x49 (Guard Spec)
i tried with other items like 0x151 and it shows me the 0x51 (TM 49 and fluffy tail)
for some reason it doesn't read the 1 before
why does this happen? i rewrote the code multiple times and it always does this
BUT
if i just add the 0x149 to another mart it works
or at least...it shows the item but all the other items have their description messed up
they work...but it's all messed up
i need the new vendor to work too because i need to add a lot of items and if i do to a pre-existing one it bugs very badly
thanks in advance
i added a new guy in a pokemart and it works perfectly beside...him not showing one item but another
what i mean
this is the code
Spoiler:
'---------------
#org 0x810000
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x8810026
lock
faceplayer
preparemsg 0x8810029 '"Hi, there!\nMay I help you?"
waitmsg
pokemart 0x881005B
msgbox 0x8810046 MSG_KEEPOPEN '"Please come again!"
release
end
'---------------
#org 0x810026
release
end
'---------
' Strings
'---------
#org 0x810029
= Hi, there!\nMay I help you?
#org 0x810046
= Please come again!
'-----------
' MartItems
'-----------
#org 0x81005B
#raw word 0xCA
#raw word 0xD0
#raw word 0x149
#raw word 0x56
#raw word 0x85
#raw word 0x0
#org 0x810000
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x8810026
lock
faceplayer
preparemsg 0x8810029 '"Hi, there!\nMay I help you?"
waitmsg
pokemart 0x881005B
msgbox 0x8810046 MSG_KEEPOPEN '"Please come again!"
release
end
'---------------
#org 0x810026
release
end
'---------
' Strings
'---------
#org 0x810029
= Hi, there!\nMay I help you?
#org 0x810046
= Please come again!
'-----------
' MartItems
'-----------
#org 0x81005B
#raw word 0xCA
#raw word 0xD0
#raw word 0x149
#raw word 0x56
#raw word 0x85
#raw word 0x0
the issue lies in the item 0x149 (TM41)
the game shows me the item 0x49 (Guard Spec)
i tried with other items like 0x151 and it shows me the 0x51 (TM 49 and fluffy tail)
for some reason it doesn't read the 1 before
why does this happen? i rewrote the code multiple times and it always does this
BUT
if i just add the 0x149 to another mart it works
or at least...it shows the item but all the other items have their description messed up
they work...but it's all messed up
i need the new vendor to work too because i need to add a lot of items and if i do to a pre-existing one it bugs very badly
thanks in advance
Last edited: