• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] Script help

  • 5
    Posts
    7
    Years
    • Seen Nov 6, 2023
    I need help modifying this script so that it doesn't save over any other pokemarts


    #dynamic 0x740000
    #org 0x16BB10
    jump @start ' This redirects the script to your dynamic-offset version. Remove this line if you don't want this.

    #org @start
    '-----------------------------------
    special INIT_STEPCOUNT
    compare LASTRESULT 0x2
    if == jump @code2 ' Equal To
    lock
    faceplayer
    message @text1 ' Hi, there!\nMay I he...
    showmsg
    pokemart 0x528E98
    msgbox @text2 ' Please come again!
    callstd MSG_NOCLOSE ' Non-closing message
    release
    ' Release commands close any open messages
    end

    #org @code2
    '-----------------------------------
    release
    end


    #org @text1
    = Hi, there!\nMay I help you?

    #org @text2
    = Please come again!

    #org @mart1
    item GREATBALL
    item SUPERPOTION
    item REVIVE
    item ANTIDOTE
    item PARLYZHEAL
    item AWAKENING
    item BURNHEAL
    item ICEHEAL
    item SUPERREPEL
    endmart
    Yes I use PKSuv. It's the only one I can use. Please do not reply unless you are helping
     
    Back
    Top