Lucifer XIII
Fisherman
Ok i sorted out most of the script but do you know how to make it so you only recieve on pokemon because he is giving out an infinate supply of Charmanders.
✨ ARCHIVE MODE ✨
The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
We recommend you join our Discord server to get real-time response: Discord Invite Link
He is just handing them out immediately, or do you have to talk to him again?Ok i sorted out most of the script but do you know how to make it so you only recieve on pokemon because he is giving out an infinate supply of Charmanders.
You definitely shouldn't have to edit anything at all. He keeps reappearing in his old spot you say?you have to talk to him again. I think its same problem i had before when he kept looping through the tour but i managed to change that when i fixed him going into his house and staying there. The problem i have now is i think i have to edit the Cherrygrove.dat in the map section (which i don't understand any of the script) and add something like this
@NPC:remove(2)
@NPC:register(cherrygrove.dat|2|remove|1)
@NPC:register(cherrygrove\0.dat|0|position|2,0,2)
to the oldguide script and link them up. could you give me a hand please.
You shouldn't have had to add that unless you changed the original script file.that was at first but i resolved it using
@NPC:remove(2)
@NPC:register(cherrygrove.dat|2|remove|1)
@NPC:register(cherrygrove\0.dat|0|position|2,0,2)
:if:position(Player,32,0,7)
:then
@Text:You're a rookie~trainer aren't you?~I can tell!*That's OK!~Everyone is a rookie~at some point!*If you'd like,~I can teach you a~few things.
[USER=5463]options[/USER]:Yes,No
:when:Yes
@Text:I am very sorry~but you are standing~in my way.
:end
:endif
:if:not register(oldguide)
:then
@Text:You're a rookie~trainer aren't you?~I can tell!*That's OK!~Everyone is a rookie~at some point!*If you'd like,~I can teach you a~few things.
[USER=5463]options[/USER]:Yes,No
:when:Yes
@Music:showmearound
@Text:eek:K, then!~Follow me!
@Turn:2,1
@Move:2,2
@Move:Player,1
@Turn:Player,1
@Move:Player,1
@Turn:2,0
@Turn:Player,3
@Text:This is a~POKEMON CENTER.*They heal your~POKEMON in no time~at all.*You'll be relying~on them a lot, so~you better learn~about them.
@Turn:2,1
@Turn:Player,1
@Move:2,6
@Turn:2,0
@Move:Player,6
@Turn:Player,3
@Text:This is a~POKEMON MART.~They sell BALLS for~catching wild POKEMON~and other useful items.
@Turn:2,1
@Turn:Player,1
@Move:2,7
@Turn:2,0
@Move:Player,7
@Turn:Player,3
@Text:ROUTE 30 is out~this way.*Trainers will be~battling their prized~POKEMON there.
@Turn:2,1
@Turn:Player,1
@Move:2,4
@Move:Player,4
@Turn:2,2
@Move:2,1
@Move:Player,1
@Turn:Player,1
@Move:2,3
@Turn:2,1
@Move:2,2
@Move:Player,3
@Turn:Player,3
@Move:Player,2
@Text:This is the sea,~as you can see.*Some POKEMON are~found only in water.
@Turn:Player,2
@Turn:2,3
@Move:2,10
@Turn:2,2
@Move:2,1
@Turn:2,3
@Move:Player,9
@Turn:Player,3
@Move:Player,2
@Turn:Player,1
@Move:2,5
@Turn:2,1
@Move:Player,5
@Text:Here...*It's my house!~Thanks for your~company.*I wish you luck~on your journey!
@Turn:2,0
@Move:2,1
@NPC:remove(2)
@NPC:register(cherrygrove.dat|2|remove|1)
@NPC:register(cherrygrove\0.dat|0|position|2,0,2)
@Music:cherrygrove
@Register:oldguide
:endwhen
:else
@Text:<playername>, I have a Charmander here~that I can't look after.*If you promise to look~after it, I will*give it to you.
@Text:<playername>, will you~take the Charmander?
[USER=5463]options[/USER]:Yes,No
:when:No
@Text:I guess i'll have~to find someone else.
:end
:when:Yes
:if:not freeplaceinparty()
:then
@Text:Oh, no. You can't~carry any more~[POKE]MON with you.*I'll wait here~while you make~room for the Charmander.
:end
:else
@Action:GetPokemon(4,5,The old man gave it to you,5,at cherrygrove)
@Text:<playername> received~the Charmander!
@Text:Goodbye Charmander... I'll~miss you!
@Register:got_Charmander
:endif
:endwhen
:end
:if:register(got_Charmander)
:then
@Text:When I was a wee~lad, I was a hot-~shot trainer!*Here's a word of~advice: Catch lots~of POKEMON!*Treat them all~with kindness!
:endif
:end
[ code ][ /code ]
Thank you so much.yeah i re-edited it and did that soz
Oh no, its no big dealsorry![]()
