• 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 Conquest 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.

thethethethe's Scripting Tutorial

ok im having a problem with this script

Code:
#dynamic 0x80000C
'-----------------------
#org 0x800000
lock
faceplayer
checkflag 0x299
if 0x1 goto 0x8800029
msgbox 0x8800055 '"I Cant take \ncare of my \nBULBASAU..."
callstd 0x5
compare LASTRESULT 0x1
if 0x1 goto 0x8800034
msgbox 0x88000C4 '"IIm sure somebody else would\nlike ..."
callstd 0x6
release
end
'-----------------------
#org 0x800029
msgbox 0x880008F '"Hows my Bulbasuar doing?"
callstd 0x6
release
end
'-----------------------
#org 0x800034
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x88000A9 '"You received a Bulbasaur."
callstd 0x6
waitfanfare
setflag 0x299
release
end
 
'---------
' Strings
'---------
#org 0x800055
= I cant take care of my \pBULBASAUR.\pYou can have it.
#org 0x8000C4
= Im sure somebody else would\nlike to have it.
#org 0x80008F
= Hows my Bulbasuar doing?
#org 0x8000A9
= You received a Bulbasaur.

Wen i go and talk to the girl if i say yes the game frezzes. and if i say no it says put ???????? in iteams poket??
 
ok im having a problem with this script

Code:
#dynamic 0x80000C
'-----------------------
#org 0x800000
lock
faceplayer
checkflag 0x299
if 0x1 goto 0x8800029
msgbox 0x8800055 '"I Cant take \ncare of my \nBULBASAU..."
callstd 0x5
compare LASTRESULT 0x1
if 0x1 goto 0x8800034
msgbox 0x88000C4 '"IIm sure somebody else would\nlike ..."
callstd 0x6
release
end
'-----------------------
#org 0x800029
msgbox 0x880008F '"Hows my Bulbasuar doing?"
callstd 0x6
release
end
'-----------------------
#org 0x800034
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x88000A9 '"You received a Bulbasaur."
callstd 0x6
waitfanfare
setflag 0x299
release
end
 
'---------
' Strings
'---------
#org 0x800055
= I cant take care of my \pBULBASAUR.\pYou can have it.
#org 0x8000C4
= Im sure somebody else would\nlike to have it.
#org 0x80008F
= Hows my Bulbasuar doing?
#org 0x8000A9
= You received a Bulbasaur.
Wen i go and talk to the girl if i say yes the game frezzes. and if i say no it says put ???????? in iteams poket??

Questions about script help should go into the Script Help thread, found in the Scrapbox. And, just so you know, thethethethe isn't around anymore. >_>
 
Just to stop posts about freezing walk-on-scripts, change:
Unknown to 0003
Var Number to 4050

Don't put the Unknown as 0300
 
first of all I have to say this is more friendly to the person who has no clue what things mean all the other tutorials always need you to have some kind of basic knowledge and im new so I dont have any. I will start now!! thank you
 
I don't know sbout callasm?
What does the offset after this command means?
 
I don't know sbout callasm?
What does the offset after this command means?

It calls an Asm part in your rom
the offset is where you call it form
 
One of the best learnable tutorial around... thumbs up to the author. Really learn a lot from here.
 
SO many scripting tuts
This one is very helpful, but if u ask me, i find it complicated
i find many things in hacking complicated, so dun bother me
im just a lazy person
 
I still firmly believe this is the MOST complete and simple tutorial out there. It holds nearly every code, many of which took me forever to figure out on my own... :( Note: for some of the commands mentioned above, you'll need his custom database. Thank you so much, thethethethe! Sorry to see you're no longer hacking... :(

I really need help. For some reason this script isn't working propally.
Spoiler:

What is wriong with it?
GOOD LORD! Your movements are way too long! Stuff like that never works for me! Try breaking it down into smaller chunks. eg.
Code:
#org $move2a
$move 2a 1 ; #binary 0x11 0x11 0x11 0x11 0x13 0x13 0x13 0x13 0x13 0xFE

#org $move2b
$move2b 1 ; #binary 0x13 0x13 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE 

#org $move2c
$move2c 1 ; #binary 0x11 0x11 0x11 0x12 0x12 0x12 0x12 0x12 0x11 0xFE

#org $move2d
$move2d 1 ; #binary 0x11 0x11 0x00 0xFE
Notice I broke that one movement into 3 parts of nine. Anything more than nine never works for me. I also changed #raw to #binary. Sorry if #raw works, but I've always used #binary since I was a noob, so I naturally recommend it. See if that works for you! :)
 
Last edited:
Wow. Just wow. Incredibly detailed, helpful, just about a perfect tut. well done.
 
im a complete scripting newb but i tried to make a talking script and i talk to the person and it pops in the bottom for 1 sec then a box at the top with a weird symbol and im stuck there
 
Wow! I've wanted to learn scripting for a while now. Since I wanna try making a Pokemon hack. But I fail at it. XD So this thread it great! I'm sure it will help me out. Thanks!

If following text tutorials turns out to be too difficult, you can always try my video tutorial on youtube. I believe it covers things thoroughly.
 
Well... I have not seen this tutorial in a long while.
But I gotta say, it is quite out of date, PokeScript is flawed, and should not be used anymore.
Don't get me wrong, this is probably the most extensive guide on here for scripting, but it is just out of date.
(I would know that it is probably the best scripting tutorial on here, because this is the only tutorial I have ever read, that made sense, this tutorial got my scripting knowledge started.)
 
help i tried to make movement to this girl and then the whole game froze heeeeeeeeeeelp:(
 
Back
Top