• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] CFRU Mart Script

  • 20
    Posts
    7
    Years
    • Seen Mar 12, 2025
    I make a mart script with the new itens of CFRU but it is freezing in game. I checked the compiled script and the mart offset is empty.

    Here's the script img

    Someone can help me?
     
    Last edited:
    That's my script:

    #dynamic 0x9D38A9
    #org @start
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 goto 0x81A7AE0
    lock
    faceplayer
    preparemsg 0x81A6211 '"Olá!\nComo posso ajudá-lo? "
    waitmsg
    pokemart @1
    msgbox 0x81A5190 MSG_KEEPOPEN '"Volte sempre! "
    release
    end

    #org @1
    #raw word 0x2A3
    #raw word 0x2B0
    #raw word 0x2B1
    #raw word 0x2B7
    #raw word 0x2B8
    #raw word 0x2BE
    #raw word 0x2BF
    #raw word 0x2C0
    #raw word 0x2C5
    #raw word 0x2C6
    #raw word 0x2C7
    #raw word 0x2CA
    #raw word 0x2CC
    #raw word 0x2D2
    #raw word 0x2D4
    #raw word 0x2D5
    #raw word 0x2D7
    #raw word 0x2A4
    #raw word 0xBA
    #raw word 0x2A9
    #raw word 0x2A8
    #raw word 0x2AB
    #raw word 0x2A1
    #raw word 0x0
     
    That's my script:

    #dynamic 0x9D38A9
    #org @start
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 goto 0x81A7AE0
    lock
    faceplayer
    preparemsg 0x81A6211 '"Olá!\nComo posso ajudá-lo? "
    waitmsg
    pokemart @1
    msgbox 0x81A5190 MSG_KEEPOPEN '"Volte sempre! "
    release
    end

    #org @1
    #raw word 0x2A3
    #raw word 0x2B0
    #raw word 0x2B1
    #raw word 0x2B7
    #raw word 0x2B8
    #raw word 0x2BE
    #raw word 0x2BF
    #raw word 0x2C0
    #raw word 0x2C5
    #raw word 0x2C6
    #raw word 0x2C7
    #raw word 0x2CA
    #raw word 0x2CC
    #raw word 0x2D2
    #raw word 0x2D4
    #raw word 0x2D5
    #raw word 0x2D7
    #raw word 0x2A4
    #raw word 0xBA
    #raw word 0x2A9
    #raw word 0x2A8
    #raw word 0x2AB
    #raw word 0x2A1
    #raw word 0x0

    Don't do @1 that compiles that to offset one try like t1
     
    Back
    Top