The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking > Binary Hack Tutorials
Reload this Page thethethethe's Scripting Tutorial

Notices
For all updates, view the main page.

Binary Hack Tutorials Various tools and resources to help you develop your legacy hacks can be found here.

Ad Content
Reply
 
Thread Tools
  #126   Link to this post, but load the entire thread.  
Old April 15th, 2008 (9:03 AM).
The Shadow Knight's Avatar
The Shadow Knight The Shadow Knight is offline
Roaming Kanto
 
Join Date: Jun 2007
Nature: Timid
Posts: 195
This is a truly awesome guide, it has helped me a lot.

There is one thing I didn't find to be mentioned that is quite cool to use: #raw 0x2F
0x2F is used for sound effects like the exclamation mark sound, it's used like this:
#raw 0x2F 0xnn 0xnn

(Where the last two stand for the flipped sound effect number)
Reply With Quote
  #127   Link to this post, but load the entire thread.  
Old April 17th, 2008 (7:39 AM).
Pokepal2007's Avatar
Pokepal2007 Pokepal2007 is offline
angels awakening
 
Join Date: Jun 2007
Location: Fire City
Nature: Calm
Posts: 458
can someone help me this script dosen't finish why?.

#org $begin
checkflag 0x201
if b_true goto $done
applymovement 0xFF $move1
pausemove 0
message $1
boxset 6
trainerbattle 0 0x001 $before $after $later
end

#org $done
release
end

#org $move1
#raw 0x10 0x10 0x10 0x10 0x12 0x12 0x10 0x10 0xFE

#org $1
$1 1 =Hey leave that pikachu alone!

#org $before
$before 1 = Battle me now and if you win i will\nGo away.

#org $after
$after 1 = Okay i will leave this pikachu alone.

#org $later
message $2
boxset 6
applymovement 0x01 $move1
pausemove 0
message $3
boxset 6
applymovement 0x00 $move2
pausemove 0
setflag 0x201
release
end

#org $2
$2 1 =I will return and you will lose.

#org $move1
#raw 0x13 0x60 0xFE

#org $3
$3 1 =Thank you for Saving me this staircase\nwill take us out.

#org $move2
#raw 0x13 0x60 0x13 0xFE
__________________


Click here to feed me a Star Fruit!


Click here to feed me a Rare Candy!

[center]
Name: Hevaa Guardian
Mascot of Pokémon Heaven Legends
Reply With Quote
  #128   Link to this post, but load the entire thread.  
Old April 17th, 2008 (5:03 PM).
cooley's Avatar
cooley cooley is offline
///Keepin' it simple
 
Join Date: Feb 2007
Location: United States
Age: 28
Gender: Male
Nature: Impish
Posts: 1,148
Quote:
Originally Posted by pokepal2007 View Post
can someone help me this script dosen't finish why?.

#org $begin
checkflag 0x201
if b_true goto $done
applymovement 0xFF $move1
pausemove 0
message $1
boxset 6
trainerbattle 0 0x001 $before $after $later
end

#org $done
release
end

#org $move1
#raw 0x10 0x10 0x10 0x10 0x12 0x12 0x10 0x10 0xFE

#org $1
$1 1 =Hey leave that pikachu alone!

#org $before
$before 1 = Battle me now and if you win i will\nGo away.

#org $after
$after 1 = Okay i will leave this pikachu alone.

#org $later
message $2
boxset 6
applymovement 0x01 $move1
pausemove 0
message $3
boxset 6
applymovement 0x00 $move2
pausemove 0
setflag 0x201
release
end

#org $2
$2 1 =I will return and you will lose.

#org $move1
#raw 0x13 0x60 0xFE

#org $3
$3 1 =Thank you for Saving me this staircase\nwill take us out.

#org $move2
#raw 0x13 0x60 0x13 0xFE
This is not a request thread, it's a Tutorial But I'll tell you what's wrong.

trainerbattle 0x0 is for battles that don't have $further or $later

trainerbattle 0x1 is for battles that have a script that continues after the battle eg. $later
__________________

Reply With Quote
  #129   Link to this post, but load the entire thread.  
Old April 20th, 2008 (9:42 AM). Edited April 20th, 2008 by himowa.
himowa himowa is offline
Buy one get one free
 
Join Date: Sep 2007
Location: In your attic
Age: 30
Gender:
Nature: Quirky
Posts: 20
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 133 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 $done
message $6
boxset 6
release
end

#org $1
$1 1 =AID: I'm sorry, PROF. PINE isn't\nhere right now.\p...Oh, so you need a POKeMON to travel with?\pHere, you can have\nthis POKeMON we study in the lab.\pTake the POKeMON? 

#org $2
$2 1 =AID: Well if you change your mind let me know.

#org $3
$3 1 =\c\h01\h02You received an EEVEE!

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

#org $5
$5 1 =We have been monitering\nEEVEE's evolution patterns.\lWe have plenty of them in the\nso this one is probably\lbetter off with you.

#org $6
$6 1 =How is EEVEE doing?
I'm having some problems with this script here. Everything seems to work, he says everything and you get the Eevee, but when you go to give it a nickname it has missingno's icon with ?'s for the name where is should have Eevee's icon and name.

But when you look through the start menu and everything you have a Eevee, only during renaming process.

Also after you rename you seem to have an identity crisis and switch places/sprites with the aid. (until you walk into a new map, then you go back to normal)
Reply With Quote
  #130   Link to this post, but load the entire thread.  
Old April 20th, 2008 (6:56 PM).
Tré's Avatar
Tré Tré is offline
Raised by the bastards of 1969
 
Join Date: Oct 2007
Location: My town was blind from refinery sun
Gender: Male
Nature: Quiet
Posts: 1,591
hey how do you insert scripts using the tool....???
__________________
Reply With Quote
  #131   Link to this post, but load the entire thread.  
Old April 21st, 2008 (12:52 PM).
Hellsing's Avatar
Hellsing Hellsing is offline
The bird of Hermes is my name
 
Join Date: Aug 2007
Location: Canada
Gender:
Nature: Rash
Posts: 121
Quote:
Originally Posted by Tre_Al View Post
hey how do you insert scripts using the tool....???
just right click your rbc. file and press compile.
and guys, this is a script tutorial, please just post in the script help thread for all these scripting screwups.
Reply With Quote
  #132   Link to this post, but load the entire thread.  
Old April 24th, 2008 (7:44 PM).
Dan13x's Avatar
Dan13x Dan13x is offline
 
Join Date: Apr 2007
Location: Brisbane, Australia
Age: 27
Gender: Male
Nature: Quiet
Posts: 76
Quote:
Originally Posted by himowa View Post
Code:
#org $start
lock
faceplayer
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 133 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 $done
message $6
boxset 6
release
end

#org $1
$1 1 =AID: I'm sorry, PROF. PINE isn't\nhere right now.\p...Oh, so you need a POKeMON to travel with?\pHere, you can have\nthis POKeMON we study in the lab.\pTake the POKeMON? 

#org $2
$2 1 =AID: Well if you change your mind let me know.

#org $3
$3 1 =\c\h01\h02You received an EEVEE!

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

#org $5
$5 1 =We have been monitering\nEEVEE's evolution patterns.\lWe have plenty of them in the\nso this one is probably\lbetter off with you.

#org $6
$6 1 =How is EEVEE doing?
I'm having some problems with this script here. Everything seems to work, he says everything and you get the Eevee, but when you go to give it a nickname it has missingno's icon with ?'s for the name where is should have Eevee's icon and name.

But when you look through the start menu and everything you have a Eevee, only during renaming process.

Also after you rename you seem to have an identity crisis and switch places/sprites with the aid. (until you walk into a new map, then you go back to normal)
The letters in bold are the ones that are new. I don't know what happened, make sure you have lock and faceplayer when you're speaking with a person.
Reply With Quote
  #133   Link to this post, but load the entire thread.  
Old April 30th, 2008 (5:29 AM).
BBs0n BBs0n is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 16
I've a script, but it doesn't work. I've tried to change some flags, but I don't think that's the problem because the script is in the beginning of the game (when you down the stairs into your livingroom)

Code:
#org $start
checkflag 0x202
if b_true goto $done
setflag 0x202
applymovement 0x01 $popup
pausemove 0
message $verslapen
boxset 6
applymovement 0x01 $moves
pausemove 0
message $oak
boxset 6
applymovement 0x01 $movesback
pausemove 0
release
end

#org $done
release
end

#org $verslapen
$verslapen 1 =YOU OVERSLEPT!

#org $oak
$oak 1 =I don't think Professor Brown has \nany Pok\h1Bmon left for you. \lHe might have a pok\h1Bdex for you...


#org $popup
#raw 0x62
#raw 0xFE

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

#org $movesback
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x02
#raw 0xFE
Does anyone has an idea what's going wrong? If I walk onto it nothing happens. When I walk the second time over it the game freezes...
Reply With Quote
  #134   Link to this post, but load the entire thread.  
Old April 30th, 2008 (2:07 PM).
Piplup-Trainer's Avatar
Piplup-Trainer Piplup-Trainer is offline
This is my custom user title.
 
Join Date: Nov 2007
Location: Europe. Many people haven`t heard about the country in which I live.
Age: 31
Gender: Male
Nature: Relaxed
Posts: 228
Thanks to this tutorial I made a rocket script battle.
__________________
I LEFT PC!
http://www.pokecommunity.com/member.php?u=66475&vmid=2790824#vmessage2790824


Short summary :

2007 : ROM Hacking - asking some questions regarding Pokemon Ruby/Sapphire
2008 : Trading - mostly to complePokemon keDex in Pokemon Diamond until 2009
2009 : Battling - battles without ev'd Pokemon until 2009, competitive battles until 2010
2010 : Chatting - talking to pc friends, but more often on ut more often on MSN), having a good time
2011 : Less activity - it dropped more because of Windows Live Messenger and Facebook
Reply With Quote
  #135   Link to this post, but load the entire thread.  
Old April 30th, 2008 (2:31 PM).
greenozano's Avatar
greenozano greenozano is offline
Master of Pokemon
 
Join Date: Dec 2006
Location: i live in Detroit,Mi,USA,interior plains
Age: 29
Gender:
Nature: Calm
Posts: 36
I made this script in which your mom is suppose to barge in your room and act excited it works all the way up to her disappearance then it frezzes try it out your self. What did I do wrong.

#org $start
checkflag 0x203
if 0x1 goto $end
applymovement 0xFF $move1
$move1 1 ; #binary 0x62 0xFE
pause 0x20
applymovement 0x1 $move2
$move2 1 ; #binary 0x61 0x1D 0x1D 0x1D 0x1F 0x1F 0x20 0x20 0x02 0xFE
pause 0x40
message $MESSAGE1
$MESSAGE1 1 = I can't beleive that you are finally\l14.\nI feel angery and happy at the same time\nanyway come on down\n the professor is here.
boxset 0x6
applymovement 0x1 $move3
$move3 1 ; #binary 0x1E 0x1E 0x1E 0xFE
pause 0x40
#raw 0x53 0x01 0x00
setflag 0x204
message $message 2
$message 2 1 =\v\h01:Man when did my mother get this\nenergetic.\nJason:Yeah, I am!\n\v\h01:??? did she heared me? I was just thinking.\n It wasn't even out loud\nMom: Hurry Up!!!\n\v\h01:Ok coming!
boxset 0x6
setflag 0x203
release
end


#org $end
release
end
__________________


Kevin's PokePet

crisscross the level 55 Electivire!


Cna yuo raed tihs? Olny 55% of plepoe can.

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg.
The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch
at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a
wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the
rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit
a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter
by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot
slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre
I feogrt who ollanirigy had tihs but wohveer did. TAHNKS
Reply With Quote[/sig-reason]
Reply With Quote
  #136   Link to this post, but load the entire thread.  
Old May 1st, 2008 (8:17 AM).
Binary's Avatar
Binary Binary is offline
え?
 
Join Date: Aug 2007
Age: 28
Posts: 3,977
Quote:
#org $start
checkflag 0x203
if B_true goto $end
applymovement 0xFF $move1
pause 0x10
applymovement 0x1 $move2
pausemove
message $MESSAGE1
boxset 6
applymovement 0x1 $move3
pause 0x30
#raw 0x53 0x01 0x00
message $message 2
boxset 6
setflag 0x203
release
end

#org $end
release
end

#org $move1
$move1 1 ; #binary 0x62 0xFE

#org $move2
$move2 1 ; #binary 0x61 0x1D 0x1D 0x1D 0x1F 0x1F 0x20 0x20 0x02 0xFE

#org $MESSAGE1
$MESSAGE1 1 = I can't beleive that you are finally\l14.\nI feel angery and happy at the sametime\nanyway come on down\n the professor is here.

#org $move3
$move3 1 ; #binary 0x1E 0x1E 0x1E 0xFE

#org $message 2
$message 2 1 =\v\h01:Man when did my mother get this\nenergetic.\nJason:Yeah, I am!\n\v\h01:??? did she heared me? I was just thinking.\n It wasn't even out loud\nMom: Hurry Up!!!\n\v\h01:Ok coming!
I suggest you to put the offsets in the end.
__________________
Reply With Quote
  #137   Link to this post, but load the entire thread.  
Old May 1st, 2008 (8:43 AM).
BBs0n BBs0n is offline
 
Join Date: Jul 2007
Gender:
Nature: Adamant
Posts: 16
I've got this script:
Code:
#org $start
checkflag 0x202
if b_true goto $done
applymovement 0x01 $popup
pausemove 0
message $verslapen
boxset 6
applymovement 0x01 $moves
pausemove 0
message $oak
boxset 6
applymovement 0x01 $movesback
pausemove 0
setflag 0x202
release
end

#org $done
release
end

#org $verslapen
$verslapen 1 = YOU OVERSLEPT!

#org $oak
$oak 1 = I don't think Professor Brown has \nany Pok\h1Bmon left for you. \lHe might have a pok\h1Bdex for you...


#org $popup
$popup 1 ; #binary 0x62 0xFE

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

#org $movesback
$movesback 1 ; #binary 0x12 0x10 0x10 0x02 0xFE
When I walk onto the script, the game freezes. If I give the offset to people no.1 It will do the script perfectly when I talk to her. Why is that so? Why does it work on a People and not on a Script???
Reply With Quote
  #138   Link to this post, but load the entire thread.  
Old May 1st, 2008 (2:13 PM).
greenozano's Avatar
greenozano greenozano is offline
Master of Pokemon
 
Join Date: Dec 2006
Location: i live in Detroit,Mi,USA,interior plains
Age: 29
Gender:
Nature: Calm
Posts: 36
Quote:
Originally Posted by C3LEBI-愛 View Post


Quote:
#org $start
checkflag 0x203
if B_true goto $end
applymovement 0xFF $move1
pause 0x10
applymovement 0x1 $move2
pausemove
message $MESSAGE1
boxset 6
applymovement 0x1 $move3
pause 0x30
#raw 0x53 0x01 0x00
message $message 2
boxset 6
setflag 0x203
release
end

#org $end
release
end

#org $move1
$move1 1 ; #binary 0x62 0xFE

#org $move2
$move2 1 ; #binary 0x61 0x1D 0x1D 0x1D 0x1F 0x1F 0x20 0x20 0x02 0xFE

#org $MESSAGE1
$MESSAGE1 1 = I can't beleive that you are finally\l14.\nI feel angery and happy at the sametime\nanyway come on down\n the professor is here.

#org $move3
$move3 1 ; #binary 0x1E 0x1E 0x1E 0xFE

#org $message 2
$message 2 1 =\v\h01:Man when did my mother get this\nenergetic.\nJason:Yeah, I am!\n\v\h01:??? did she heared me? I was just thinking.\n It wasn't even out loud\nMom: Hurry Up!!!\n\v\h01:Ok coming!
I suggest you to put the offsets in the end.
Dude it still doesn't work right now it doesn't even start now.
__________________


Kevin's PokePet

crisscross the level 55 Electivire!


Cna yuo raed tihs? Olny 55% of plepoe can.

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg.
The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch
at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a
wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the
rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit
a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter
by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot
slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre
I feogrt who ollanirigy had tihs but wohveer did. TAHNKS
Reply With Quote[/sig-reason]
Reply With Quote
  #139   Link to this post, but load the entire thread.  
Old May 1st, 2008 (2:20 PM).
Klex's Avatar
Klex Klex is offline
 
Join Date: Apr 2008
Gender:
Posts: 17
Man thethethethe i was just reading thru some of your tut and it is such nice work
man i didint think there was that much stuff for Scripting.
__________________

Join!!! Poke-Topia Today
And the first to get to 100 posts will get a pack of Pokemon render's, a pack of Naruto Render's and a Pack of DBZ render's.
Reply With Quote
  #140   Link to this post, but load the entire thread.  
Old May 1st, 2008 (3:45 PM).
geno421's Avatar
geno421 geno421 is offline
Script and Spriter
 
Join Date: Apr 2008
Location: USA
Age: 32
Gender:
Nature: Relaxed
Posts: 55
That was alot to take in but now I have a clear understanding on how PokeScript works. Thanks. :)
__________________


My hack.
Spoiler:




Hacks I support.
Spoiler:


Reply With Quote
  #141   Link to this post, but load the entire thread.  
Old May 5th, 2008 (9:10 AM).
Kye McPie's Avatar
Kye McPie Kye McPie is offline
#? Trainer wants to battle!
 
Join Date: May 2008
Gender:
Posts: 6
I can tell this tutorial has a lot of information that's going to help me with hacking, even though I don't quite understand it all -_-;;. Good job, man.


Hey, could I get some help with my applymovement script? I want Mr. Oak here to say something, then take 2 fast steps to the right, then 1 fast steps up and 3 slides up and stop; then, the player will take 1 step down on the spot, Oak will again speak, and once he's done the player will follow Oak down 14 normal steps, then 5 steps to the right and finally 1 step up into a warp. When I try to compile the script I get this error;

"Run-time error '13'

Type mismatch"

Looking at the log behind the message the compiling seems to stop right after the first $move line.

Here's the script;

Spoiler:
#org $start
checkflag 0x828
if b_true goto $done
message $1
boxset 6
applymovement 0x03 $move
pausemove 0x0
applymovement 0xFF $move2
pause 0x30
message $2
boxset 6
playsound 0x13E
nop
applymovement 0x03 $move3
applymovement 0xFF $move3
pausemove 0
fadesound 0x12C
nop
release
end

#org $done
release
end

#org $move
#raw 0x20 0x20 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x32 0x32 0x32 0xFE

#org $move2
#raw 0x00 0xFE

#org $move3
#raw 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x12 0x12 0x12 0x12 0x12 0x11 0xFE

#org $1
$1 1 = \c\h01\h04message!

#org $2
$2 1 =message!


And while I'm at it, I wanna ask; can you insert a unlimited amount of movements into a single line?
Reply With Quote
  #142   Link to this post, but load the entire thread.  
Old May 5th, 2008 (11:29 AM).
dragontamer dragontamer is offline
 
Join Date: Apr 2008
Gender:
Posts: 12
okay im a noob and i want to start with hacking but,, how the f,*ck do you open this etc. i only get some log and something called *bugbite* explain me how im gonna use this?
Reply With Quote
  #143   Link to this post, but load the entire thread.  
Old May 6th, 2008 (2:26 PM).
cloudffvii2696's Avatar
cloudffvii2696 cloudffvii2696 is offline
hmmm...What should I put here?
 
Join Date: Apr 2008
Location: wherever i feel like
Age: 29
Gender:
Nature: Relaxed
Posts: 30
Quote:
Originally Posted by dragontamer View Post
okay im a noob and i want to start with hacking but,, how the f,*ck do you open this etc. i only get some log and something called *bugbite* explain me how im gonna use this?
I had the same problem too until I got used to it, but here's how to get it to work:
-open up Notepad and type up your code, then save it as a .rbc file.
-now, right click on XXXXXXX.rbc and choose "compile script"
-then it will compile and BufRite will open
-Hit the Assign icon and open up your rom
-hit the search button, click on a hex value, and now hit Reserve
-Now you should be set
Reply With Quote
  #144   Link to this post, but load the entire thread.  
Old May 8th, 2008 (7:08 PM).
Tré's Avatar
Tré Tré is offline
Raised by the bastards of 1969
 
Join Date: Oct 2007
Location: My town was blind from refinery sun
Gender: Male
Nature: Quiet
Posts: 1,591
hey is there a problem with this script???
#org $34
lock
faceplayer
message $i'll give yah this
$i'll give yah this 1 =i'll give yah this
givepokemon 142 100 -1
special 0x9E
release
end
how do i insert it??
__________________
Reply With Quote
  #145   Link to this post, but load the entire thread.  
Old May 9th, 2008 (4:18 AM).
greenozano's Avatar
greenozano greenozano is offline
Master of Pokemon
 
Join Date: Dec 2006
Location: i live in Detroit,Mi,USA,interior plains
Age: 29
Gender:
Nature: Calm
Posts: 36
Quote:
Quote:
Originally Posted by Tre_Al View Post
hey is there a problem with this script???
#org $34
lock
faceplayer
message $i'll give yah this
$i'll give yah this 1 =i'll give yah this
givepokemon 142 100 -1
special 0x9E
release
end
how do i insert it??
Even I know this

Quote:
#org $34
lock
faceplayer
message $i'll give yah this
$i'll give yah this 1 =i'll give yah this
boxset 6
givepokemon 142 100 1
special 0x9E
release
end
how do i insert it??
You insert it by using pokescript so go to Irish witch's tutorial.
__________________


Kevin's PokePet

crisscross the level 55 Electivire!


Cna yuo raed tihs? Olny 55% of plepoe can.

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg.
The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch
at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a
wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the
rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit
a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter
by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot
slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre
I feogrt who ollanirigy had tihs but wohveer did. TAHNKS
Reply With Quote[/sig-reason]
Reply With Quote
  #146   Link to this post, but load the entire thread.  
Old May 11th, 2008 (12:20 AM).
Perfect_Palkia_10's Avatar
Perfect_Palkia_10 Perfect_Palkia_10 is offline
Ruler of Space
 
Join Date: Apr 2008
Location: Between Dimensions
Age: 27
Nature: Naive
Posts: 28
Excellent tutorial. I've got a problem. When did my trainerbattle script for a gym leader all that happens in the game is that I get my badge and TM but its the wrong badge and I never battle. Can someone help.
Reply With Quote
  #147   Link to this post, but load the entire thread.  
Old May 11th, 2008 (4:39 AM).
Master_Track's Avatar
Master_Track Master_Track is offline
ROM Reaverz Scripter
 
Join Date: Mar 2008
Location: Austria
Age: 30
Gender:
Nature: Brave
Posts: 916
would help if you'd show us your script ^^

but it should be like this:

Code:
#org $begin
lock
faceplayer
message $raven
$raven 1 = Oh, a challenger? You\nare the first one after\lweeks.\pMy name is VINCENT RAVEN, but\ncall me VINCE. I am a trainer\lof BIRD POKEMON. They are\lfascinating, aren't they?\pWhen I was a small child I\nsaved a little MURKROW, we were\ltogether since this day. You can't\lbeat us!
boxset 6
trainerbattle 1 0x19E $before $after $later
end

#org $before
$before 1 = Let's start!

#org $after
$after 1 = MURKROW, noooooo!

#org $later
message $beaten
$beaten 1 = You defeated even MURKROW.\nI can't believe it...\lYou are stronger than I thought.\lI'll give you the Badge of\lfreedom.
boxset 6
fanfare 0x13E
message $badge
$badge 1 = You received: \c\h01\h05Badge Of Freedom.
boxset 6
waitfanfare
message $tm
$tm 1 = I want to give you this\ntoo, it's my favourite\lattack.
boxset 6
fanfare 0x13E
message $tm1
$tm1 1 = You received: \c\h01\h04TM 40!
boxset 6
waitfanfare
message $ace
$ace 1 = This TM can teach one of your\npokemon the attack \c\h01\h04AERIAL\lACE\c\h01\h02. Think carefully before using it.
boxset 6
giveitem 0x148 1
setflag 0x820
release
end
you'll have to change the text and the number which i made bold.
it has to be the trainer id from PET.
__________________

*Busy with school*

Reply With Quote
  #148   Link to this post, but load the entire thread.  
Old May 11th, 2008 (7:02 AM).
PhaizeD PhaizeD is offline
 
Join Date: May 2008
Gender:
Posts: 7
I'm having a lot of problems. I've tried multiple tutorials and scripts from the tutorials always have issues with me. For instance the GivePokemon script in here, I even tried copying it and It NEVER gives the pokemon. It always sends me to $2 and ends it.

The lavacookie for ultra ball script in Irish Witch's tutorial also has a problem, it never recognizes that I have a cookie.

A lot of giveitem scripts either ALWAYS give the item or NEVER give the item.

I'm wondering if it has something to do with the version I'm using or something, I'm using pokescript v1.2. If I need an earlier or later version, could someone tell me and/or direct me somewhere that I can obtain it? As I can't find anything besides v1.2.
Reply With Quote
  #149   Link to this post, but load the entire thread.  
Old May 12th, 2008 (3:44 PM).
TheGoldenKing's Avatar
TheGoldenKing TheGoldenKing is offline
 
Join Date: Sep 2007
Gender:
Posts: 3
Can someone help me I want to make a trainer script like the rivals in fire red. I want to make the Pokemon you fight different depending on what Pokemon you pick as your stater, but I don't know how I would do it?
Reply With Quote
  #150   Link to this post, but load the entire thread.  
Old May 12th, 2008 (11:57 PM).
dragonarche dragonarche is offline
Is back :D
 
Join Date: Apr 2008
Location: New bark town
Gender: Male
Nature: Brave
Posts: 458
click here
Spoiler:

i got no reason to post
__________________

Experienced Vb.net and C# Dev
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:06 AM.