The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Fire Red Pokemart wrong item shown

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old January 19th, 2022 (8:46 AM). Edited January 19th, 2022 by Naglu.
Naglu Naglu is offline
 
Join Date: Jan 2021
Posts: 49
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

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


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
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:19 AM.