• 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?".
  • 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

2
Posts
15
Years
  • Seen Apr 23, 2009
This was a great tutorial it really helped me out.. ALOT! lol, right now i'm somewhat stumped. I'm trying to make a trainer disappear after hes beaten. Here's my attempt at the script
#org $start
trainerbattle 0 0x1CD $before $after
message $beaten
boxset 6
release
end
#org $before
$before 1 =An intruder?\nPrepare yourself!
#org $after
$after 1 = IMPOSSIBLE!!
#org $beaten
$beaten 1 =YOU'LL PAY!
fadescreen 0
#raw 0x53 0x04 0x00
setflag 0x200
release
end

thanks.
 
857
Posts
15
Years
Code:
#org $start
lock
faceplayer
message $follow
[B]boxset[/B] 6
applymovement [B]0x[/B]1 $walk
applymovement 0xFF $walkplayer
release
end

#org $follow
=[PLAYER]!\pThere you are!\nPlease follow me.

#org $walk
#raw 13
#raw 13
#raw 13
#raw 13
#raw 13
#raw 13
#raw 11
#raw 11
#raw 11
#raw 11
#raw FE

#org $walk player
#raw 10
#raw 13
#raw 13
#raw 13
#raw 13
#raw 13
#raw 13
#raw 11
#raw 11
#raw 11
#raw 11
#raw FE
What's wrong with this script?
I don't think pokescript has callstd.
Other than that, I don't see anything wrong, besides the changes in bold.
What didn't work in the script?
(I'm not a pokescript scripter, so I may have missed something.)
 
2
Posts
15
Years
  • Seen Apr 23, 2009
i figured out what was wrong lol if anyone wants to know how to make a trainer dissapear heres the code working for me now

Code:
#org $start
trainerbattle 0 0x1CD $before $after
message $beaten
boxset 6
setflag 0x200
fadescreen 0
#raw 0x53 0x04 0x00
release
end
#org $before
$before 1 =An intruder?\nPrepare yourself!
#org $after
$after 1 = IMPOSSIBLE!!
#org $beaten
$beaten 1 =YOU'LL PAY!
 
1,104
Posts
16
Years
I don't think pokescript has callstd.
Other than that, I don't see anything wrong, besides the changes in bold.
What didn't work in the script?
(I'm not a pokescript scripter, so I may have missed something.)
Pokescript does have callstd. Irish Witch included all ScriptED commands in Pokescript's commands database and also the command she used like boxset and message.
The main problem was something that is an error that would appear in both XSE and Pokescript.
Look at "$walk player", no spaces allowed in pointers.
 

Pheya

Is very excited about HH & SS.
80
Posts
16
Years
  • Seen Jan 2, 2010
- Pushed follow.$start to 0
- Adjusting follow.$follow in 0 at 800001D
- Adjusting follow.$walk in 0 at 8000042
- Adjusting follow.$walkplayer in 0 at 800004D

$start is at 0? o.o Still doesn't work I guess.
 

Hiche..

 
979
Posts
15
Years
  • Seen Dec 27, 2014
- Pushed follow.$start to 0
- Adjusting follow.$follow in 0 at 800001D
- Adjusting follow.$walk in 0 at 8000042
- Adjusting follow.$walkplayer in 0 at 800004D

$start is at 0? o.o Still doesn't work I guess.

Spoiler:


Try this.
 

>JAVS<

Ahmm.. Updating me in PC :D!
10
Posts
15
Years
Hello...!
Uh... The ASM Script doesn't works...
I've put the Script in a MiniSprite and when I talk with the people, the game restarts...
I hope you'll repair the ASM Script.
 
230
Posts
16
Years
  • Seen Jan 3, 2010
Hello.

I would just recommend using XSE instead of PokéScript. You see that there is a problem you can not resolve, in XSE, such problems do not exist at all. This guide won't be completely compatible for it, but you can use it as command reference.
 

CR0SELL

Banned
8
Posts
15
Years
  • Seen Oct 27, 2008
Hello.

I would just recommend using XSE instead of PokéScript. You see that there is a problem you can not resolve, in XSE, such problems do not exist at all. This guide won't be completely compatible for it, but you can use it as command reference.

Umm, why did you post this? This is Flaming(or would it be spam). Nice Tut Thethethethe, I just inserted my first script xD
 
185
Posts
16
Years
Umm, why did you post this? This is Flaming(or would it be spam). Nice Tut Thethethethe, I just inserted my first script xD

That's not really flaming, it's a suggestion. XSE is the newest and best script editor/compiler/decompiler availlable, and pokescript has many bugs and errors. The tut itself is cool, since alot of those commands work in XSE as well, but... Well, you should get the point now, I guess :)
 

Wesley FG

Pokémon Kalos Advance !! Gba Hack
338
Posts
15
Years
I went to give you the congratulations, thethethe, since I use this tutorial you eat going to be hackers, very comprehensive, Great Tuto OMG
 
26
Posts
15
Years
  • Seen Apr 1, 2009
Hmm...intersting. 1 question though- does anyone have link that will ACTUALLY help download PokeScript? I tried a bunch of them. They either didn't work, or didn't load PokeScript.
 

Wesley FG

Pokémon Kalos Advance !! Gba Hack
338
Posts
15
Years
doing some scripts when I came a doubt, what to do and control the animation of the fly pass on the screen?
 

riyza

Just another Trainer
9
Posts
15
Years
  • Age 28
  • Seen Jun 7, 2009
will the givepokemon script work on pokemon emerald?
 
1,104
Posts
16
Years
will the givepokemon script work on pokemon emerald?
Yes.

Hey Thethethethe, I read your scripting tut and found out how to make the pokedex at the beginning the national, but mine wont save, can you tell me why? please?
What do you mean by it won't save? You don't 'save' a script in the ROM. You need to compile it to the ROM.
 
13
Posts
15
Years
hi. a freind and i have been planning to learn how to use pokescript. However, I cannot for the life of me figure out how to go from script->game.

Order of events:
1. type up script in notepad
2. save as .rbc
3. open pksvui
4. open rom FR
5. open script
6. do something?
7. go to advance map and change the offset of a preexisting script
8. test and enjoy :D

I've looked at IW's tutorial, but could not find a "burn" button, or a right click compile
Perhaps I misinstalled pksvui?

also, is there any way to add OWs to a map?
Thanks.
 
1,104
Posts
16
Years
hi. a freind and i have been planning to learn how to use pokescript. However, I cannot for the life of me figure out how to go from script->game.

Order of events:
1. type up script in notepad
2. save as .rbc
3. open pksvui
4. open rom FR
5. open script
6. do something?
7. go to advance map and change the offset of a preexisting script
8. test and enjoy :D

I've looked at IW's tutorial, but could not find a "burn" button, or a right click compile
Perhaps I misinstalled pksvui?

also, is there any way to add OWs to a map?
Thanks.
First off you get Pokescript.

Pksv is the tool that you're trying to use. Completely different tool = Completely different processes.
 
Back
Top