• ✨ 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

Mod (Old) Expansion for Princes [0.0.1]

Status
Not open for further replies.

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.
 

Prince Vade

Champion
Trusted Support
Retired Mod
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.
He is just handing them out immediately, or do you have to talk to him again?
 

Lucifer XIII

Fisherman
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.
 

Prince Vade

Champion
Trusted Support
Retired Mod
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 definitely shouldn't have to edit anything at all. He keeps reappearing in his old spot you say?
 

Lucifer XIII

Fisherman
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)
 

Prince Vade

Champion
Trusted Support
Retired Mod
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)
You shouldn't have had to add that unless you changed the original script file.
So, the problem now is that he is in his house, but keeps giving you charmander?
 

Lucifer XIII

Fisherman
Code:
: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
 

Prince Vade

Champion
Trusted Support
Retired Mod
Oh good lord.
Add these tags when putting something like this in from now on please.
Just put it in between these:
Code:
[ code ][ /code ]
 

Prince Vade

Champion
Trusted Support
Retired Mod
Alright, here is what I am going to do.
You are making this harder than it is.
My way is slightly longer, but it is much easier to manage.
So, I am going to take this script, make it work and upload it.
This is a one time thing, cause otherwise you wont learn.
So, gimme a few minutes.
 

Lucifer XIII

Fisherman
i pretty much just changed the order so he went into the house at the end of the tour, because it stopped it looping the tour (Because you wasn't recieving charmander). Then added in the Full party senario so you could re-get the pokemon if your party was full.
 
Status
Not open for further replies.
Top