• 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.
i used that exact code, and did it the same way as before, but it froze and the music kept playing
Don't encode it through pokescript, try going to it, right click, and press compile script.
 
@ itman1234 :
Can you please tell me what movement code i need for :
- 1 step left
- 1 step up
- 1 step down
- 1 step right
 
@ itman1234 :
Can you please tell me what movement code i need for :
- 1 step left
- 1 step up
- 1 step down
- 1 step right

of coarse!

In fact, here's the list!

Spoiler:
 
Thank you.
But how I must type the command for (example: "!" appears, he goes one step down)

is this the command?
binary 0x62 0x04

(Sorry that I write now - there was a database error on this site before).
 
Thank you.
But how I must type the command for (example: "!" appears, he goes one step down)

is this the command?
binary 0x62 0x04

(Sorry that I write now - there was a database error on this site before).

No.
Those things next to the movements (1,2,3, and 4) are the speeds.
3 is what you want.
Example, to move right one space, use 0x13
And also, don't put binary, its not needed.
Put 0xFE at teh end of the movements too.


those links you gave me didnt work, they just loaded blank screens

Wierd, they work for me.
 
Okay well I'm hacking FireRed and I'm trying to make a script where it gives you a pokemon, but there's a problem. This is right at the beginning of the game (before you are given a first pokemon) so there's no pokedex or anything. But then I found the setflags for the pokemon menu and pokedex and set them right before I gave the pokemon, but still the game just somehow messes up and gives me a master ball instead???? I'm totally lost.

Well anyway here's the code
Code:
#ORG $begin
lock
checkflag 0x200
if B_False goto $done
checkflag 0x201
if B_true goto $done2
message $right
$right 1 = You've successfully entered\nthe passcode!
boxset 6
message $pokemon
$pokemon 1 = Would you like a\n free pokemon?
boxset 5
compare lastresult 1
if b_true then goto $givemeh
release
end

#ORG $done2
message $loll
$loll 1 = You've already got\nyour pokemon.
boxset 6
release
end

#ORG $done
message $wrong
$wrong 1 = It seems a code is\nneeded to boot up...
boxset 6
release
end

#ORG $givemeh
setflag 0x828
setflag 0x829
special 0x16F
setflag 0x201
message $ugot
$ugot 1 = You received Mew!!!
boxset 6
setflag 0x203
givepokemon 150 2 1
release
end

You can kindof forget the setflags in the beginning as they influence other scripts i have in the future (i understand the jist of coding) but yeah.... look towards the #ORG $givemeh part at the bottom, as I'm sure it gets to that point (I've tested). The problem is I never even see the You received Mew!!! message at all and also the pokedex and the pokemon menu hasn't even been activated, instead as I've said before I somehow receive a master ball (which doesn't even show up in the item bag either). The setflags 828-829 should activate teh pokedex and menu's (I've looked it up).

Yes I know I typed a lot but it's very complicated and I'm totally stuck =(


****Yes I previously posted this, but I'm still trying to figure it out =(. This is the kinda thing that made me stop hacking before, these stupid unnecessary things that I just can't get working... I know how to script but I have a feeling that this is just a weird situation idk it's just really frustrating.
 
Okay well I'm hacking FireRed and I'm trying to make a script where it gives you a pokemon, but there's a problem. This is right at the beginning of the game (before you are given a first pokemon) so there's no pokedex or anything. But then I found the setflags for the pokemon menu and pokedex and set them right before I gave the pokemon, but still the game just somehow messes up and gives me a master ball instead???? I'm totally lost.

Well anyway here's the code
Code:
#ORG $begin
lock
checkflag 0x200
if B_False goto $done
checkflag 0x201
if B_true goto $done2
message $right
$right 1 = You've successfully entered\nthe passcode!
boxset 6
message $pokemon
$pokemon 1 = Would you like a\n free pokemon?
boxset 5
compare lastresult 1
if b_true then goto $givemeh
release
end

#ORG $done2
message $loll
$loll 1 = You've already got\nyour pokemon.
boxset 6
release
end

#ORG $done
message $wrong
$wrong 1 = It seems a code is\nneeded to boot up...
boxset 6
release
end

#ORG $givemeh
setflag 0x828
setflag 0x829
special 0x16F
setflag 0x201
message $ugot
$ugot 1 = You received Mew!!!
boxset 6
setflag 0x203
givepokemon 150 2 1
release
end

You can kindof forget the setflags in the beginning as they influence other scripts i have in the future (i understand the jist of coding) but yeah.... look towards the #ORG $givemeh part at the bottom, as I'm sure it gets to that point (I've tested). The problem is I never even see the You received Mew!!! message at all and also the pokedex and the pokemon menu hasn't even been activated, instead as I've said before I somehow receive a master ball (which doesn't even show up in the item bag either). The setflags 828-829 should activate teh pokedex and menu's (I've looked it up).

Yes I know I typed a lot but it's very complicated and I'm totally stuck =(


****Yes I previously posted this, but I'm still trying to figure it out =(. This is the kinda thing that made me stop hacking before, these stupid unnecessary things that I just can't get working... I know how to script but I have a feeling that this is just a weird situation idk it's just really frustrating.
Sorry dude, i don't know, but i do know someone who would. PM thethethethe, he's an amazing scripter.

is there anything else i can do to get it?

anywhere else maybe?

Not that i know of.
Your best bet would be to ask someone for there programs.
 
@ shane2243 :
I've got the same problem. The link only open a new white window.
I'll uploaded PkmnAdv and PokeScript. Try to download it.

@ itman1234 :
Does that mean that speed
- 0 is standing
- 1 is normal jogging
- 2 is fast jogging
- 3 is normal walking
- 4 is fast running
 
@ shane2243 :
I've got the same problem. The link only open a new white window.
I'll uploaded PkmnAdv and PokeScript. Try to download it.

@ itman1234 :
Does that mean that speed
- 0 is standing
- 1 is normal jogging
- 2 is fast jogging
- 3 is normal walking
- 4 is fast running


No.

Just do it this way.

3 is basic movement (what you should use)

4 is if you want the person to walk really fast.

0 is just facing that direction.

I haven't tried the rest.

Sorry about the bad links guys :(
 
Okay, thank you very much.
You teached me something about the movements.
By the way, can I add you to my friendlist?
 
Okay, thank you very much.
You teached me something about the movements.
By the way, can I add you to my friendlist?

sure...why not?
Oh yeah, i have a question:

is there any difference between pausemove 0 and pause 0x(random number) after applymovement?

Just wondering.
 
Okay well I'm hacking FireRed and I'm trying to make a script where it gives you a pokemon, but there's a problem. This is right at the beginning of the game (before you are given a first pokemon) so there's no pokedex or anything. But then I found the setflags for the pokemon menu and pokedex and set them right before I gave the pokemon, but still the game just somehow messes up and gives me a master ball instead???? I'm totally lost.

Well anyway here's the code
Code:
#ORG $begin
lock
checkflag 0x200
if B_False goto $done
checkflag 0x201
if B_true goto $done2
message $right
$right 1 = You've successfully entered\nthe passcode!
boxset 6
message $pokemon
$pokemon 1 = Would you like a\n free pokemon?
boxset 5
compare lastresult 1
if b_true then goto $givemeh
release
end

#ORG $done2
message $loll
$loll 1 = You've already got\nyour pokemon.
boxset 6
release
end

#ORG $done
message $wrong
$wrong 1 = It seems a code is\nneeded to boot up...
boxset 6
release
end

#ORG $givemeh
setflag 0x828
setflag 0x829
special 0x16F
setflag 0x201
message $ugot
$ugot 1 = You received Mew!!!
boxset 6
setflag 0x203
givepokemon 150 2 1
release
end

You can kindof forget the setflags in the beginning as they influence other scripts i have in the future (i understand the jist of coding) but yeah.... look towards the #ORG $givemeh part at the bottom, as I'm sure it gets to that point (I've tested). The problem is I never even see the You received Mew!!! message at all and also the pokedex and the pokemon menu hasn't even been activated, instead as I've said before I somehow receive a master ball (which doesn't even show up in the item bag either). The setflags 828-829 should activate teh pokedex and menu's (I've looked it up).

Yes I know I typed a lot but it's very complicated and I'm totally stuck =(


****Yes I previously posted this, but I'm still trying to figure it out =(. This is the kinda thing that made me stop hacking before, these stupid unnecessary things that I just can't get working... I know how to script but I have a feeling that this is just a weird situation idk it's just really frustrating.

Ok, well first off, all the org's shouldnt be in caps lock, secondly, all those setflags belong after the message command..and that special...i have no idea what it is for, so take it off. I use ScriptEd im gonna write it differently.

Spoiler:


And thats it..
 
And does anyone know what to put to make an earthquake happen? Like when you're running to Groudon/Kyogre in Ruby/Sapphire? Yes, it is Ruby/Sapphire.

Just quoting my question from 2 pages ago, if anyone could answer it..
 
Maybe it's your ORG in the beginning, try using lowercase letters. What program do you use, PoketScript or something else? If it's PoketScript, then tell me what it says when you are burning it into the game. If not, then I can't help.

And does anyone know what to put to make an earthquake happen? Like when you're running to Groudon/Kyogre in Ruby/Sapphire? Yes, it is Ruby/Sapphire.

yeah, its special 0x136
There is a guide on it in the documents/tutorial section.
 
help

#org $begin
lock
faceplayer
message $dontgoout
$dontgoout 1 =Hey!\nProf Oak said you where coming!
boxset 6
applymovement 0x10 $coming
pausemove 0
message $comeback
$comeback 1 =Come with me!
boxset 6
applymovement 0x1 $followone
applymovement 0xFF $followtwo
pausemove 0
message $hereyago
$hereyago 1 =You are going to\nJhoto!
boxset 6
release
end

#org $coming
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org $followone
#raw 0x1F
#raw 0x0A
#raw 0x1E
#raw 0x09
#raw 0xFE

#org $followtwo
#raw 0x1F
#raw 0x0A
#raw 0x1E
#raw 0xFE
#raw 0x0B
#raw 0xFE

#org warp
warp 0x0 0x06 0x1

please help am i suppose to put this on a person or a script on advance map.
also when i put it on a script it just frezzes.

please help.
 
#org $begin
lock
faceplayer
message $dontgoout
$dontgoout 1 =Hey!\nProf Oak said you where coming!
boxset 6
applymovement 0x10 $coming
pausemove 0
message $comeback
$comeback 1 =Come with me!
boxset 6
applymovement 0x1 $followone
applymovement 0xFF $followtwo
pausemove 0
message $hereyago
$hereyago 1 =You are going to\nJhoto!
boxset 6
release
end

#org $coming
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

#org $followone
#raw 0x1F
#raw 0x0A
#raw 0x1E
#raw 0x09
#raw 0xFE

#org $followtwo
#raw 0x1F
#raw 0x0A
#raw 0x1E
#raw 0xFE
#raw 0x0B
#raw 0xFE

#org warp
warp 0x0 0x06 0x1

please help am i suppose to put this on a person or a script on advance map.
also when i put it on a script it just frezzes.

please help.

Try this:

Put it on the script.

Now, fill the top in like this:

unown 03 00
var values 52 40

leave the rest blank
 
Status
Not open for further replies.
Back
Top