Im having problems with my givepokemon script.
Every time i talk to the sprite i hear a click and they just look at me.
When I warp back into the area, it does the same thing over again.
Spoiler:#dynamic 0x3AE78E
#org @pokemon
lock
faceplayer
checkflag 0x828
if 0x1 goto @talked
setflag 0x828
msgbox @give 0x2
release
end
#org @give
givepokemon 0x11B 0x5 0x0 0x0 0x0 0x0
#org @talked
= Today's the big day!\nThe Academy of Steven Stone is a\lhard place to get into...\lAnd you managed to graduate with\lAmy and Perry!\p...........\n...........\lWait!\lBefore you leave,\lYour dad sent you a special gift.\p...\nIt's his Tarnaquax from many moons\lago...\p\v\h01 recieved a Tarnaquax!\pStay safe and have fun!
Also, I am using XSE 1.0.0 (because i cant get the newest one)
While your question has already been answered, here is an alternate link to XSE 1.1.1 - XSE 1.0.0 tends to be quite buggy and isn't really suitable for scripting.
Spoiler:#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x828
if 0x1 goto @heal
msgbox @1 0x4
closeonkeypress
givepokemon 0xAA 0x5 0x8B 0x0 0x0 0x0
fanfare 0x13E
msgbox @2 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @3 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end
#org @name
call 0x1A74EB
msgbox @4 0x6
return
#org @heal
msgbox @healstart 0x4
closeonkeypress
fadescreen 0x1
fanfare 0x100
special 0x0
waitfanfare
fadescreen 0x0
msgbox @healfinish 0x6
release
end
#org @1
= Hello, [player!]\nI presume you are here for your\lPok\h1Bmon, correct?\lDon't worry, it has been healed,\lnice and proper!\lNext time though, try not to let\lit get hurt so badly.
#org @2
= [black_fr] You got your Chinchou back!
#org @3
= Your Chinchou is delightful, but\nI wasn't sure if it had a nickname.\lDoes it?
#org @4
= I see, I see! I'll make sure to\nremember it for next time.
#org @5
= Well, I'm sure you must be off to\nwork now. Take care, and remember\lyou are always welcome to heal\lyour beloved Pok\h1Bmon here!
#org @healstart
= Your Pok\h1Bmon look tired.\nLet them rest here.
#org @healfinish
= There we go, all better now!
It's barely working. No text boxes show up at all.
Admittedly this is the first time in a long time that I'm scripting (and I never was too good at it to begin with), so I have no idea what's wrong here. Is it the order? I am using JPAN's hacked engine for FR, if that may cause trouble, but I doubt it. Any help would be immensely appreciated.
edit: okay, so I just tried to make another script, a simple sign, and no textbox showed up there either. I'm starting to think that it is this hack, but I didn't have any trouble with it before.
I believe that it may have something to do with your version of XSE as script should be working just fine. In addition, if something as simple as a sign won't activate properly then I'm fairly sure it has to do with your editor. Try downloading XSE 1.1.1 from the link earlier in this post.