- 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
#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