• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

thethethethe's Scripting Tutorial

/Circa

a face in the clouds.
881
Posts
16
Years
I don't want to go over the whole script, because I myself might make some errors. (i've been using scriptEd)

But your main problem is your paragraphs.
Messages always go after the main scripts, so you might want to re arrange everything.
 
11
Posts
15
Years
  • Seen Apr 18, 2008
What a comprehensive thread on Pokescript!!
Well Done!!

And I've a very basic problem.......
I try to add a persion on PALLET TOWN and involves only simple dialogue,
But the result shown is not my expectation.... My script is

Code:
#org $start
lock
faceplayer
message $1
boxset 6
release
end
 
#org $1
$1 1 =Hi.\nWelcome to our town!

But the result comes is a dialogue with unidentified symbol(attachment shown).......

~~ HELP ME PLZ ~~
 

Master_Track

ROM Reaverz Scripter
916
Posts
16
Years
It's NOT a mistake in the script, I'm sure.
You made a mistake compiling it into the script.

First, rightclick on the rubikon file.
Click compile
Klick destination and choose you Rom
Then click the blue book or whatever
Klick the searching symbol
Then click the FIRST of the five numbers shown
klick assign
Then, there should be your $s, all marked blue.
Klick file-burn
Scroll up to the first number shown (should be"pushed $start to NUMBER)
Copy the number and insert it in AM as offset


If you did this correct it should work, there is no mistake in your script.

e: did you use a japanese version? I'm not sure if it works with those.
 
Last edited:

Shadow Arcanine

Spriter and OWmaker
290
Posts
15
Years
hm, i've got a very big problem, all scripts that i made turns always into a red screen, so i tested it by coping exectly the give pokemon script of thex4 in the first post. but when i click burn, there is a message (attachement) and i don't know what to do. this come for every script from $done to $5. i think maybe that's my problem, could someone help me please?
and sry for my bad english...
 

Master_Track

ROM Reaverz Scripter
916
Posts
16
Years
well maybe just a grammatical mistake ;)
The problem is, no pointer leads to the $ in your image.
If you post the whole script here I may be able to tell you whats wrong. But this IS a mistake inside the script.

well maybe just a grammatical mistake ;)
The problem is, no pointer leads to the $ in your image.
If you post the whole script here I may be able to tell you whats wrong. But this IS a mistake inside the script.

edit:
i found a mistake inside the script :
Code:
#org $start
checkflag 0x828
if b_true goto $done
message $1
boxset 5
compare LASTRESULT 0x1
if b_true goto $take
message $2
boxset 6
release
end

#org $take
givepokemon 4 5 0
fanfare 0x13E
message $3
boxset 4
waitfanfare
#raw 0x68
setflag 0x828
message $4
boxset 5
compare LASTRESULT 0x1
if b_true gosub $name
message $5
boxset 6
release
end

#org $name
call 0x1A74EB
return

#org $1
$1 1 =I'm sorry, I can't take care\nof my Charmander.\pCan you take care of it for me?

#org $2
$2 1 =That's okay. I'm sure someone\nelse will take it.

#org $3
$3 1 =\c\h01\h02You received a Charmander!

#org $4
$4 1 =\c\h01\h02Would you like to rename Charmander?

#org $5
$5 1 =Take Care of Charmander.

There is no #org $done existing.
So add at the end just an

#org $done
message $gotit
$gotit 1 = Is Charmander allright?
boxset 6
release
end
 
Last edited:

Shadow Arcanine

Spriter and OWmaker
290
Posts
15
Years
ok my script looks now like this after i rename it to .rbc:

checkflag 0x828\par
if b_true goto $done\par
message $1\par
boxset 5\par
compare LASTRESULT 0x1\par
if b_true goto $take\par
message $2\par
boxset 6\par
release\par
end\par
\par
#org $take\par
givepokemon 4 5 0\par
fanfare 0x13E\par
message $3\par
boxset 4\par
waitfanfare\par
#raw 0x68\par
setflag 0x828\par
message $4\par
boxset 5\par
compare LASTRESULT 0x1\par
if b_true gosub $name\par
message $5\par
boxset 6\par
release\par
end\par
\par
#org $name\par
call 0x1A74EB\par
return\par
\par
#org $1\par
$1 1 =I'm sorry, I can't take care\\nof my Charmander.\\pCan you take care of it for me?\par
\par
#org $2\par
$2 1 =That's okay. I'm sure someone\\nelse will take it.\par
\par
#org $3\par
$3 1 =\\c\\h01\\h02You received a Charmander!\par
\par
#org $4\par
$4 1 =\\c\\h01\\h02Would you like to rename Charmander?\par
\par
#org $5\par
$5 1 =Take Care of Charmander.\par
}

like i said before, it's exectly the script like in the first post, the givepokemon script. thank you for helping me!

Edit: ok thank you very much, i'll try it out!
 

Master_Track

ROM Reaverz Scripter
916
Posts
16
Years
write this:

Code:
#org $start
checkflag 0x828
if b_true goto $done
message $1
boxset 5
compare LASTRESULT 0x1
if b_true goto $take
message $2
boxset 6
release
end

#org $take
givepokemon 4 5 0
fanfare 0x13E
message $3
boxset 4
waitfanfare
#raw 0x68
setflag 0x828
message $4
boxset 5
compare LASTRESULT 0x1
if b_true gosub $name
message $5
boxset 6
release
end

#org $name
call 0x1A74EB
return

#org $1
$1 1 =I'm sorry, I can't take care\nof my Charmander.\pCan you take care of it for me?

#org $2
$2 1 =That's okay. I'm sure someone\nelse will take it.

#org $3
$3 1 =\c\h01\h02You received a Charmander!

#org $4
$4 1 =\c\h01\h02Would you like to rename Charmander?

#org $5
$5 1 =Take Care of Charmander.

#org $done
message $gotit
$gotit 1 = Is Charmander allright?
boxset 6
release
end

Und btw, wenn dus auf deutsch suchst: Ich habs in einem andren Forum übersetzt ^^
Ich brauch aber noch einen beitrag um links schreiben zu dürfen...
äh I mean, if you need it I translated it with permission of thethethethe into german on another board, but I'm not allowed to give links until I wrote 15 posts ^^
 
Last edited:
11
Posts
15
Years
  • Seen Apr 18, 2008
It's NOT a mistake in the script, I'm sure.
You made a mistake compiling it into the script.

First, rightclick on the rubikon file.
Click compile
Klick destination and choose you Rom
Then click the blue book or whatever
Klick the searching symbol
Then click the FIRST of the five numbers shown
klick assign
Then, there should be your $s, all marked blue.
Klick file-burn
Scroll up to the first number shown (should be"pushed $start to NUMBER)
Copy the number and insert it in AM as offset


If you did this correct it should work, there is no mistake in your script.

e: did you use a japanese version? I'm not sure if it works with those.

I've followed your step but still the unidentified symbol has shown..... = ="
Maybe my ROM has problem??
My ROM is Fire Red (U).......
Or my PkmAdv database has problem??
Many Thx for your help~
 

Master_Track

ROM Reaverz Scripter
916
Posts
16
Years
ok, thank you it works perfekt! maybe thethethethe should chance this script on the first post to the correct one! and no, thank you, but i don't need the scripts in german, but it's a good idea for german hackers like myself!^^
(I think you didn't understand me right, not the scripts are in german but the tutorial itself, so only the explanation. It may be easier for german /austrian people (like me ^^).And if you understood me right...well, doesn't matter huh?xD)

@ dingo:
I had the same problem, my person always said " ÁÈ Ì

Make sure there aren't any spaces between the $ and the numbers (in Advance Map, the offset).
And no Space before the $ too.
My problem was solved when I really focused on the spaces and the steps when compiling the script.
 

Shadow Arcanine

Spriter and OWmaker
290
Posts
15
Years
oh man, i've got the same problem over and over again.. now i've put a simple script:

#org $start
lock
faceplayer
message $goodday
boxset 6
release
end

#org $goodday
$goodday 1 =Hi.\nit's a good day, isn't it?
and now the same problem: floating pointer must be pushed, is there any mistake in this script? i can't found anyone.
 
11
Posts
15
Years
  • Seen Apr 18, 2008
I've checked my script very carefully whether there are mistakes on spaces.
but my problem still exists.......
Very desperate.......
 

Master_Track

ROM Reaverz Scripter
916
Posts
16
Years
oh man, i've got the same problem over and over again.. now i've put a simple script:

#org $start
lock
faceplayer
message $goodday
boxset 6
release
end

#org $goodday
$goodday 1 =Hi.\nit's a good day, isn't it?
and now the same problem: floating pointer must be pushed, is there any mistake in this script? i can't found anyone.
the script is right, I can't see a mistake -.-'
If you followed the steps I wrote before (compiling) and didn't do any spaces when inserting the offset, it really should work.
Maybe you should re-install Pokescript and the PkmnAdv?

@dingo:
oh man, don't have an idea of what could be wrong now -.-
Sorry but it seems I can't help you with that.
 
1,104
Posts
16
Years
Sorry, my internet is playing up and I can't multiquote.

@Master_Track:
Thanks for spotting the error, it's fixed now. In all that typing, I was bound to make at least one. Also, thanks for answering people's questions.

@Dingo01930:
I'd say re-install pokescript. I compiled and tried your script, without any troubles.

@Shadow Arcanine
Ummm... same as Dingo01930, I compiled your script, and it worked fine. All I can say is just try and re-install pokescript.
 
11
Posts
15
Years
  • Seen Apr 18, 2008
I reinstalled pkescript twice,
the same problem still exists.......
Maybe my computer is not suitable for hacking pokemon.....
Anyway , thx all of your reply~~~
 
9
Posts
16
Years
  • Seen Mar 14, 2009
um i made a script and it wont work
here it is

#org $begin
lock
faceplayer
message $w
applymovement 0x04 $move
pausemove 0x0
applymovement 0xFF $move2
pause 0x30
applymovement 0x04 $move3
applymovement 0xFF $move3
pausemove 0
release
end

#org $w
$w 1 = Come with me\Jon:For what?\p???:no reason\nJon:k

#org $move
#raw 0x62 0x12 0x12 0x11 0x11 0xFE

#org $move2
#raw 0x03 0xFE

#org $move3
#raw 0x11 0x11 0x11 0x13 0xFE

oh and by the way very nice Tutorial the best i have seen out of all i see
 
Last edited:

Blitzballer

Sarcasm: now GMO-free.
215
Posts
16
Years
I have but one question. If I wanted to change the color of some text, but just two words in a sentence, how could I use the color code to do this "This is the new Train Depot. It's still in construction so nobody's allowed past this point." I'm using fire red, although I'm not sure if you need to know that.
 
Back
Top