Attilas
Anime-paradise.info Owner.
- 19
- Posts
- 16
- Years
- Seen Jun 1, 2011
First of all this is pokescript.
So i got into scripting as well.I need some help here.
so here's a code of an oldman in the pokemart in my starter town. and another script which is associated with him
So the 2nd code works perfectly but on 1st script when i first talk to him without having gone to my 'dad's ' aide the message $hey doesn't appear on the screen and also on the 1st script after message $2 the oldman somehow unlocks and starts moving while i am talking to him.Some help would be gladly appreciated.
Best Regards.
Apostolis.
P.S. i am sorry about the title >.> i misstyped an s in the end of "need"
So i got into scripting as well.I need some help here.
Code:
#org $oldman
lock
faceplayer
checkflag 0x3201
if b_true goto $yo
checkflag 0x3200
if b_true goto $dogs
message $hey
release
end
#org $yo
checkflag 0x3205
if b_true goto $completed
message $5
boxset 6
release
end
#org $dogs
message $1
boxset 6
setflag 0x3201
message $2
boxset 6
setflag 0x3201A
fanfare 0x13E
message $3
boxset 4
waitfanfare
#raw 0x68
message $4
release
end
#org $completed
message $6
boxset 6
release
end
#org $hey
$hey 1 = Hey.Give my regards\nto your dad, will ya?
#org $1
$1 1 = Old Man: Hello [player],\nyour dad sent you right?\p[player]:Yes, he did.\nSo what information do you have for him?
#org $2
$2 1 = Old Man: Well, I have something...\p*-Old man looks in his pocket,\nand takes out a letter with a red stamp on it.-*
#org $3
$3 1 = [player] received Professor's John letter!
#org $4
$4 1 = Old Man: [player],hurry back to your dad.\pIt's important for him to get \nthis letter.It contains priceless information.
#org $5
$5 1 = Why are you still here?\nMove it already.\pYour dad is in the middle\nof an important research!
#org $6
$6 1 = Hey [player], how are you?\pI am relaxing ever\nsince I got my pension.
Code:
#org $aide
lock
faceplayer
checkflag 0x3200
if b_true goto $finished
checkflag 0x828
if b_true goto $mission
message $1
boxset 6
release
end
#org $mission
message $order
boxset 6
setflag 0x3200
release
end
#org $finished
checkflag 0x3201
if b_true goto $tada
message $complete
boxset 6
release
end
#org $tada
message $success
boxset 6
setflag 0x3205
release
end
#org $1
$1 1 = Aide: Your dad is working hard.\pI am sure he will find an answer\nabout the Legendary dogs soon!
#org $order
$order 1 = Aide: Your dad wants you\nto go to the pokemart next door.\pHe says an old man has something important for him.
#org $complete
$complete 1 = Aide : Get moving!Time is money!
#org $success
$success 1 = Aide: Well done [player].\pThat was really important information\nfor your dad.Go upstairs.\pHe wants to talk to you.
Best Regards.
Apostolis.
P.S. i am sorry about the title >.> i misstyped an s in the end of "need"