hei im a newbie to advanced map and i could really need somehelp. have learned alot already. but need help to get a person disappear.
using:
Advanced map: 1.92
Game : leaf green
scr
ipting tool: PKSV SG
What im trying to do is that, there is a person blocking the way(person event) he will stand there till i find his lost item, in this test: its a green Shard, so when i handed over to him, the scr
ipt worked fine, he disappeard for 5 second then he returned on the same spot. why won't he be disapeard for life time after the quest.
Heres my alreardy done scr
ipt, it would be awesome if you could fix it, so he would disapeard for lifetime:
#org 0x87407C6
'-----------------------------------
special 0x187
compare LASTRESULT 2
if == jump :end
lockall
storeitem 0x0 GREENSHARD
checkitem GREENSHARD 1
compare LASTRESULT 0x0
if == jump @donthave ' Smaller Than
msgbox 0x8740735 ' You found it, would ...
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT 0
if == jump :end
removeitem GREENSHARD 1
msgbox 0x87405EF ' Thanks man, ill move...
callstd MSG_NOCLOSE ' Non-closing message
waitbutton
fadescreen FADEOUT_WHITE
closemsg
disappear LASTTALKED
setflag 0x250
fadescreen FADEIN_WHITE
:end
releaseall
end
#org @donthave
'-----------------------------------
msgbox @donthavemsg ' It's a cursed rock, ...
callstd MSG_SIGN
end
#org @donthavemsg
= I will not move until i find my Green Shard.
#org 0x8740735
= You found it, would you give it back?
#org 0x87405EF
= Thanks man, ill move.
- If you find more error i would apperchiated if you could fix that too.
this eratation me. i have used 1 hour just for searching of how to do a person disapear.
have looked on pokemoncomunity, vizzed, google and youtube, and didnt find anything.
please help me out. can't wait to hear from you.