• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Archive] Script help thread

Status
Not open for further replies.
To upgrade your pokedex to national dex, use special 0x16F not 0x1F3.
In what applymovement $pointer do you want the aide to face you left?
To face left, use #raw 0x02.
Hope that helps.


Tamer, I'm hacking emerald, and in emerald it's special 0x1F3 (tried it out with regular person event, and it worked)
Also, it should be @move0 to face left
And finally, I looked around in the emerald dump that came with the latest version of XSE and the script said that 0x4E was to face left.
 
Tamer, I'm hacking emerald, and in emerald it's special 0x1F3 (tried it out with regular person event, and it worked)
Also, it should be @move0 to face left
And finally, I looked around in the emerald dump that came with the latest version of XSE and the script said that 0x4E was to face left.

Oh, I thought it was for fire red.
Sorry about that.
I'll look at it now, and see if there's something wrong.
 
Oh, I thought it was for fire red.
Sorry about that.
I'll look at it now, and see if there's something wrong.

Np bout that, I should've told that first.

Hmm, Tamer, looks like you were right anyway about #raw 0x02, it does make him face left. Dunno why the dump said 0x4E then....
 
Last edited:
can anyone help me here?
i done a give pokemon script and when i check to see what pokemon i got it just freezes.
so if you want the script here it is :

#org 0x800079
lock
faceplayer
checkflag 0x828
if 0x0 goto 0x880008D
if 0x1 goto 0x88000AE
release
end
'-----------------------
#org 0x80008D
givepokemon 0x25 0x5 0x13 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox 0x88000B8 '"hey kid whats up i just went\nto ro..."
callstd 0x6
release
end
'-----------------------
#org 0x8000AE
msgbox 0x880012F '"sorry kid you only get one from\nyo..."
callstd 0x6
end

'---------
' Strings
'---------
#org 0x8000B8
= hey kid whats up i just went\nto route 1 to catch you a starter\pfor your journey so here it is.\nits a vulpix cool
#org 0x80012F
= sorry kid you only get one from\nyour gramps good luck on your\njourney

oh and im using XSE.
please help
 
I only found a possible error.
In fire red, to check for the poke dex, you use checkflag 0x829.
In ruby, I think it's checkflag 0x821 or 0x820.
I don't know if in emerald it the same as ruby.
Not sure though.

Lucario 9,
can you post the script before you compiled it, please?
Thanks.
 
I only found a possible error.
In fire red, to check for the poke dex, you use checkflag 0x829.
In ruby, I think it's checkflag 0x821 or 0x820.
I don't know if in emerald it the same as ruby.
Not sure though.

I tested that too Tamer, with the regular script, and it worked too.

EDIT: the checkflag was the wrong one anyway, it should be 0x861. However, even that doesn't works, it's still the same as before. :(
 
I only found a possible error.
In fire red, to check for the poke dex, you use checkflag 0x829.
In ruby, I think it's checkflag 0x821 or 0x820.
I don't know if in emerald it the same as ruby.
Not sure though.

Lucario 9,
can you post the script before you compiled it, please?
Thanks.
no it works now i just done 0x829 and it worked
even i dont think that was for me but it works now so thanks
 
DarkSalamance

I fixed it a little.
Spoiler:


You used returns, why is that?
I saw in thethethethe's tutorial, a script close to yours, and he didn't use return.
check his tutorial, it's under "setvar lesson2" (even if it's pokescript)
Well, try now.
 
i'm staing find a pokescript guide not like insert script but a guide on the script for poket script
somebody can help me?
 
ok thank you very much but you can't post a link of a welliest poketscript guide?
second you i speak well english?
 
DarkSalamance

I fixed it a little.
Spoiler:


You used returns, why is that?
I saw in thethethethe's tutorial, a script close to yours, and he didn't use return.
check his tutorial, it's under "setvar lesson2" (even if it's pokescript)
Well, try now.

It works! (Tho there is still a small bug. Even after the aide has disappeared, the script pauzes me for a small sec when I step on that tile. Any way to fix that?) Ty alot Tamer ! But still, why that checkflag 0x209 @ script? I don't get it...
 
It works! (Tho there is still a small bug. Even after the aide has disappeared, the script pauses me for a small sec when I step on that tile. Any way to fix that?) Ty a lot Tamer ! But still, why that checkflag 0x209 @ script? I don't get it...

I just put the checkflag for no reason. I saw it in another script.
If it doesn't do anything, then delete it.
for your problem,
you put the unknown: 0003
and varnumber: 5040 , right?
 
I don't know the problem really.
If it didn't work try using a different script tile, or recompile the script.
Sorry if this doesnt help.

I found it! Here's what was (probably) missing:

Code:
#org @start
[b]checkflag 0x204
if b_true goto @end[/b]
lockall
setvar 0x5040 0x0
goto @script
end

By placing that checkflag, the bug stopped. Thanx for your help anyway Tamer, you've done me a big favor. ^^
 
I found it! Here's what was (probably) missing:

Code:
#org @start
[B]checkflag 0x204
if b_true goto @end[/B]
lockall
setvar 0x5040 0x0
goto @script
end
By placing that checkflag, the bug stopped. Thanx for your help anyway Tamer, you've done me a big favor. ^^

lol anytime.
I know this command was missing, but I forgot to tell you.
If you want any help, tell me.
 
Heey can someone check this script,, when I try to compile it it says find pointer for $takeit...

Spoiler:
 
Status
Not open for further replies.
Back
Top