View Single Post
  #7601    
Old January 23rd, 2013 (7:10 AM). Edited January 23rd, 2013 by Noossab Blue.
Noossab Blue's Avatar
Noossab Blue Noossab Blue is offline
     
    Join Date: Dec 2012
    Location: USA
    Gender: Female
    Nature: Quirky
    Posts: 240
    Quote:
    Thanks Doesnt and karatekid.

    But now I'm having one small problem...

    I'm copying the original mart text verbatim, only changing the beginning offset and the offset of the mart items (and of course, the mart items themselves). But now, when I test the marts in-game, some of them work and others don't bring up the buy menu, seemingly at random...

    Spoiler:
    Here's an example of one that works:

    Code:
    '-----------------------
    #org 0x8022B2
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 goto 0x81A7AE0
    lock
    faceplayer
    msgbox2 0x81A6211 '"Hi, there!\nMay I help you?"
    waitmsgbox
    pokemart 0x88022DA
    msgbox 0x81A5190 '"Please come again!"
    callstd 0x4
    release
    end
    
    '-----------------------
    #org 0x1A7AE0
    release
    end
    
    
    '-----------
    ' MartItems
    '-----------
    #org 0x8022DA
    #raw word 12C
    #raw word 14D
    #raw word 142
    #raw word 148
    #raw word 129
    #raw word 147
    #raw word 0
    
    
    '---------
    ' Strings
    '---------
    #org 0x1A6211
    = Hi, there!\nMay I help you?
    
    #org 0x1A5190
    = Please come again!
    And here is one that doesn't:

    Code:
    '-----------------------
    #org 0x802337
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 goto 0x81A7AE0
    lock
    faceplayer
    msgbox2 0x880236A '"Hi, there!\nMay I help you?"
    waitmsgbox
    pokemart 0x880235F
    msgbox 0x81A5190 '"Please come again!"
    callstd 0x4
    release
    end
    
    '-----------------------
    #org 0x1A7AE0
    release
    end
    
    
    '-----------
    ' MartItems
    '-----------
    #org 0x80235F
    #raw word 124
    #raw word 128
    #raw word 130
    #raw word 141
    #raw word 0
    
    
    '---------
    ' Strings
    '---------
    #org 0x80236A
    = Hi, there!\nMay I help you?
    
    #org 0x1A5190
    = Please come again!
    Back again...I tried recompiling with xse 1.1.1, to no avail. Some of the time I can make it work still and other times I can't. The last time I made it work, it was displaying "Please come again!" twice...which is weird...but then again this whole thing is very strange.

    Any help would be appreciated.
    _____________________________________________________

    EDIT: Funny story guys. I got frustrated and decided to start the marts over again using one of my backups. Besides using XSE 1.1.1, everything I did was the same. Admittedly, I told A-Map to use later offsets on the off chance that had anything to do with it. I also noticed that when you create a person event behind the counter, the movement permission changes to 0 (no idea if that matters either, just an observation). Annnnnnnd...

    It works. Or so it seems. WEIRD. Anyway, with my luck I'll be back in 5 minutes saying it doesn't work after all, but for now...thanks for the help.
    __________________
    IGN: Anna/Noossab Blue
    3DS FC: 3196 3609 8450

    Thanks to SilverGrey for the awesome banner! Click to see!
    Current as of 1/31/14: I updated again!