The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Tutorials
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Tutorials Looking for a guide to help you out? Then you're in the right place! We've got everything you need, ranging from Mapping to Music!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.



Closed Thread
Thread Tools
  #26  
Unread February 12th, 2007, 09:11 PM
Deokishisu's Avatar
Deokishisu
Mr. Magius
 
Join Date: Feb 2006
Location: If I'm online, it's a safe bet I'm at a computer.
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by SuperHacker7777 View Post
but i don't understand how to do dis...even wit ur tut....please dumb it down for me or explain it differently...reply ASAP
Look. You've posted your question 3 times in two different threads! If Christos doesn't have the time to answer your question to the full extent then he doesn't! Badgering him and spamming up the forums doesn't help at all. Your question has been asked before as well so search before asking.
Oh. As you can see, we're not Insant Messaging each other. Proper grammar makes everything alot easier to understand and gives us a sense that, even if you're not trying to be, you're respectful to this forum and it's members.

Christos, this tutorial is great. It's really helping with everything but my little flag problem. Thank you for posting it.
  #27  
Unread February 12th, 2007, 09:48 PM
Misty's Kyogre's Avatar
Misty's Kyogre
|-|4+0P,
 
Join Date: Sep 2005
Nature: Relaxed
Wow, nice tutorial Christos.

You're the first one who's actually been able to explain those commands to me.

Keep it up =D
__________________
Hello. Aloha. Ello-Hay. Konichiwa. Nee-how. |-|3||0. Hi. Yo. Salve. If you don't know one or all of the above, please don't bother reading it. XD
  #28  
Unread February 12th, 2007, 10:40 PM
w_rink_ly's Avatar
w_rink_ly
Novice Hacker
 
Join Date: Nov 2005
Location: Cape Town, South Africa
Gender:
Nature: Bold
But I heard somewhere on this forum that the trainerbattle command for scripted didn't work properly...
__________________

"Simplicity is the ultimate sophistication".
- Leonardo da Vinci
  #29  
Unread February 12th, 2007, 11:10 PM
Misty's Kyogre's Avatar
Misty's Kyogre
|-|4+0P,
 
Join Date: Sep 2005
Nature: Relaxed
Okay, I'm still a newb at this, but is there a 'command' (I'm thinking computer programming XD) that makes a store clerk? What I mean is can I make a person who sells stuff without moving one of the ones already in the game.
__________________
Hello. Aloha. Ello-Hay. Konichiwa. Nee-how. |-|3||0. Hi. Yo. Salve. If you don't know one or all of the above, please don't bother reading it. XD
  #30  
Unread February 13th, 2007, 01:08 AM
Deokishisu's Avatar
Deokishisu
Mr. Magius
 
Join Date: Feb 2006
Location: If I'm online, it's a safe bet I'm at a computer.
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by w_rink_ly View Post
But I heard somewhere on this forum that the trainerbattle command for scripted didn't work properly...
You're right. In fact, it's in the archived Simple Questions thread. But I'm not gonna lead you on a wild goose chase and tell you to search. You put #raw 0x5C above the trainerbattle command. Like this:
Code:
#org 0x800000
#raw 0x5C
trainerbattle 0x00 0x1A 0x800100 0x800200 0x800300
end

#org 0x800100
= Let's battle
#org 0x800200
= I lost!
#org 0x800300
= We already battled!
zel so graciously told me that. It has been tested (in firered) and works. Without the #raw command, the script converts to jibberish when complied. Hope this helps!

P.S. Christos, if people start asking why their trainerbattle script doesn't work, you can use my example.
  #31  
Unread February 13th, 2007, 01:56 PM
BlackRainbow*'s Avatar
BlackRainbow*
Pokemon Coralo Version ?
 
Join Date: Oct 2006
Location: Yiushu
Gender:
Nature: Bold
Okay the script works fine for me now
but there's another problem
whene i go to the script people move well but when i go back to the script people move again
her i will posta video that will explain much better then me click here
__________________
Pokemon Coralo Version...New Pokemon Petal.
Shyrika Region
  #32  
Unread February 13th, 2007, 07:58 PM
Deokishisu's Avatar
Deokishisu
Mr. Magius
 
Join Date: Feb 2006
Location: If I'm online, it's a safe bet I'm at a computer.
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by KebaSun View Post
Okay the script works fine for me now
but there's another problem
whene i go to the script people move well but when i go back to the script people move again
her i will posta video that will explain much better then me click here
Setting and checking flags would work. It'll stop your event from repeating. I'm actually having problems with flags right now so I really can't go into detail.
  #33  
Unread February 14th, 2007, 12:50 AM
zak's Avatar
zak
xpert trainer
 
Join Date: Jul 2004
Location: south london
Age: 21
Gender:
Nature: Brave
Send a message via Windows Live Messenger to zak
love the tutorial christos thanks alot!

1 quik question,

#org 0x762000
message 0x762100
boxset 0x2
end
#org 0x762100
= DIIUUD!

is there anything rong with this script??
ive compiled it , saved it and stuf but in the game it doesent work i just get the little bleep noise and i cant add it with rubikon for somereason , any ideas???
__________________
Hi
  #34  
Unread February 14th, 2007, 12:03 PM
D-Trogh's Avatar
D-Trogh
Dead
 
Join Date: Jul 2005
Location: Belgium
Age: 21
Gender: Male
Send a message via Windows Live Messenger to D-Trogh
Quote:
Originally Posted by zak View Post
love the tutorial christos thanks alot!

1 quik question,

#org 0x762000
message 0x762100
boxset 0x2
end
#org 0x762100
= DIIUUD!

is there anything rong with this script??
ive compiled it , saved it and stuf but in the game it doesent work i just get the little bleep noise and i cant add it with rubikon for somereason , any ideas???
I don't know what 'boxset 0x2' is.. try 'boxset 0x6'
And before your message, 'lock' the person and after your boxset 'release' it.
So:
Code:
#org 0x762000
lock
faceplayer 'Yeah, well.. when it's a person event.. Maybe you want it..
message 0x762100
boxset 0x2
release
end
'Maybe this space needs to be there..
#org 0x762100
= DIIUUD!
Don't blame me when this doesn't work.. I just start scripting XD
__________________
[NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
  #35  
Unread February 14th, 2007, 01:58 PM
frank$or
Beginning Trainer
 
Join Date: Nov 2006
Gender:
Nature: Adamant
This script is fine.

#org 0x762000
message 0x762100
boxset 0x2
end
#org 0x762100

= DIIUUD!

You could ( not have to ) place faceplayer between #org and message, but it isn't always neccesary.

My question, I tried the trainerbattlescript ( with the #Raw 0x5C )
But i still am getting 'overflow error 6' or something ( diamondcutter )
Any idea?
  #36  
Unread February 14th, 2007, 02:43 PM
Blaziken626's Avatar
Blaziken626
Pokemon Black Shadow
 
Join Date: Dec 2006
Age: 19
Gender:
Nature: Mild
This is much needed tutorial! The only problem is I can't get the script to work. Here's what I did: I copied that Hi! example basic talking script you made and pasted it in Notepad. Then I saved it in a RBC format. I opened it with ScriptEd and compiled to the ROM. I set the offset for the Littleroot Town fat guy's script. Then I saved it and opened the ROM. But when I talk to him, all that happens is the bleep sound it makes when you talk to someone. There's no text box or anything.
  #37  
Unread February 14th, 2007, 02:53 PM
Christos's Avatar
Christos
Pokémon Aurora
 
Join Date: Feb 2006
Location: Spain, Went's room
Gender: Male
Nature: Lonely
Send a message via Windows Live Messenger to Christos
Your ROM and RBC file must be in ScriptED/Diamond Cutter's folder with no spaces in the name.
__________________
I DON'T HAVE THE POKECOMMUNITY VIRUS(ALSO KNOW AS PC VIRUSE)
What I mean by this is, I'm not strict like MOST people *cough* Admins/Mods *cough* on this site. And no not all Admins/Mods are like that, but MOST are,
Post this in your sign. if you are PC Viruse free!
  #38  
Unread February 14th, 2007, 04:18 PM
Blaziken626's Avatar
Blaziken626
Pokemon Black Shadow
 
Join Date: Dec 2006
Age: 19
Gender:
Nature: Mild
Do you mean it has to be in the EliteMap folder? I copied ScriptEd and DiamondCutter and put them in the same folder as my ROM and script were.

EDIT: Yeah, I tried that and it worked, but the text was just a whole bunch of weird symbols that looked like a's.

Last edited by Blaziken626; February 14th, 2007 at 04:38 PM.
  #39  
Unread February 14th, 2007, 06:28 PM
w_rink_ly's Avatar
w_rink_ly
Novice Hacker
 
Join Date: Nov 2005
Location: Cape Town, South Africa
Gender:
Nature: Bold
Quote:
Originally Posted by Deokishisu View Post
You're right. In fact, it's in the archived Simple Questions thread. But I'm not gonna lead you on a wild goose chase and tell you to search. You put #raw 0x5C above the trainerbattle command. Like this:
Code:
#org 0x800000
#raw 0x5C
trainerbattle 0x00 0x1A 0x800100 0x800200 0x800300
end

#org 0x800100
= Let's battle
#org 0x800200
= I lost!
#org 0x800300
= We already battled!
zel so graciously told me that. It has been tested (in firered) and works. Without the #raw command, the script converts to jibberish when complied. Hope this helps!

P.S. Christos, if people start asking why their trainerbattle script doesn't work, you can use my example.
Thnx a lot! I've been wondering how to solve this prob for a while
__________________

"Simplicity is the ultimate sophistication".
- Leonardo da Vinci
  #40  
Unread February 14th, 2007, 07:53 PM
frank$or
Beginning Trainer
 
Join Date: Nov 2006
Gender:
Nature: Adamant
My question, I tried the trainerbattlescript ( with the #Raw 0x5C )
But i am getting 'overflow error 6' or something ( diamondcutter )
Any idea?
  #41  
Unread February 14th, 2007, 08:30 PM
zak's Avatar
zak
xpert trainer
 
Join Date: Jul 2004
Location: south london
Age: 21
Gender:
Nature: Brave
Send a message via Windows Live Messenger to zak
im aslo getting the over flow promblem guys, all the folders and stuf are in the same directory and its all good , this is my script
#org 0x782800
#raw 0x5C
trainerbattle 0x00 0x1A 0x782900 0x783000 0x7831000
end

#org 0x782900
= Bring it on!

#org 0x783000
= I lost...

#org 0x7831000
= We already battled!

but for some reason it aint workin getin message sayin overflow any1?
__________________
Hi
  #42  
Unread February 14th, 2007, 09:53 PM
D-Trogh's Avatar
D-Trogh
Dead
 
Join Date: Jul 2005
Location: Belgium
Age: 21
Gender: Male
Send a message via Windows Live Messenger to D-Trogh
Are you both using DiamondCutter ?
Maybe you need to try ScriptED.. or that new PokéScript tool
__________________
[NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
  #43  
Unread February 15th, 2007, 01:30 AM
Blaziken626's Avatar
Blaziken626
Pokemon Black Shadow
 
Join Date: Dec 2006
Age: 19
Gender:
Nature: Mild
YES!! I finally got the Hello World script to work! But now here's my new problem. I tried to do a give Pokemon script, and it didn't work. I thought something might be wrong with the script, so I'll show it.

#org 0x700000
message 0x700100
boxset 0x02
givepokemon 0x78 0x5 0x3
end
#org 0x700100
= Hello World!

Is there anything wrong with it? I sure hope so, because I can't think of a different possibility for it not working.

EDIT: I figured out the problem, and it was a careless mistake! I forgot to put the space between end and the words in the script! Now he does say Hello world, but he doesn't give me the Pokemon. What's wrong with it?

EDIT...Again: I figured out that I did get the Pokemon. It's just that it didn't say anything like, "(Player) received a Staryu!". By the way, how do you make that 'receive Pokemon' music happen when I get the Pokemon, and how can you make a script happen while you are receiving the Pokemon? And one last thing...the number of the Pokemon said 78, but Staryu's number isn't 78.

Last edited by Blaziken626; February 15th, 2007 at 03:06 AM.
  #44  
Unread February 15th, 2007, 10:03 AM
Tentachu's Avatar
Tentachu
Movie Making Expert
 
Join Date: Sep 2003
Location: In front of my PC
Age: 20
Gender:
Nature: Careful
Quote:
Originally Posted by Blaziken626 View Post
And one last thing...the number of the Pokemon said 78, but Staryu's number isn't 78.
That's Staryu's hex number. Hex numbers are different. They go like this:

01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10

So the hex numbers of Pokémon would be a lot less than its real number.
__________________

That cave above Blackthorn City sure has changed...


SIGN THE G/S REMAKE PETITION HERE!

Watch my ROM Hack videos http://www.youtube.com/profile?user=WeirdEars





In case you didn't realize, I support ShinyGold!
  #45  
Unread February 15th, 2007, 01:18 PM
Blaziken626's Avatar
Blaziken626
Pokemon Black Shadow
 
Join Date: Dec 2006
Age: 19
Gender:
Nature: Mild
Thanks, Tentachu.

Now I'm testing out Applymovement and I have this script:

Code:
#org 0x900000
applymovement 0xFF 0x900100
pause 0x10
end

#org 0x800100
#raw 0x5
#raw 0x7
#raw 0x4
#raw 0xFE
end
It's not working. Is something wrong with it?
  #46  
Unread February 15th, 2007, 02:08 PM
Christos's Avatar
Christos
Pokémon Aurora
 
Join Date: Feb 2006
Location: Spain, Went's room
Gender: Male
Nature: Lonely
Send a message via Windows Live Messenger to Christos
Quote:
Originally Posted by Blaziken626 View Post
Thanks, Tentachu.

Now I'm testing out Applymovement and I have this script:

Code:
#org 0x900000
applymovement 0xFF 0x900100
pause 0x10
end

#org 0x800100
#raw 0x5
#raw 0x7
#raw 0x4
#raw 0xFE
end
It's not working. Is something wrong with it?

It's not right. You should put "900100" not "800100".
__________________
I DON'T HAVE THE POKECOMMUNITY VIRUS(ALSO KNOW AS PC VIRUSE)
What I mean by this is, I'm not strict like MOST people *cough* Admins/Mods *cough* on this site. And no not all Admins/Mods are like that, but MOST are,
Post this in your sign. if you are PC Viruse free!
  #47  
Unread February 15th, 2007, 05:16 PM
zak's Avatar
zak
xpert trainer
 
Join Date: Jul 2004
Location: south london
Age: 21
Gender:
Nature: Brave
Send a message via Windows Live Messenger to zak
hi i worked out what was wrong with the geodude script, i made the name to long and had a space in it so i just renamed it and it worked, now a new problem lol, im making a boat script,
#org 0x834000
warp 0x36 0x1 0x0
end
thats the script but its not workin , when i talk to the person with the script it just gives me a black screen , anyone know why?
__________________
Hi
  #48  
Unread February 15th, 2007, 05:50 PM
Christos's Avatar
Christos
Pokémon Aurora
 
Join Date: Feb 2006
Location: Spain, Went's room
Gender: Male
Nature: Lonely
Send a message via Windows Live Messenger to Christos
Quote:
Originally Posted by zak View Post
hi i worked out what was wrong with the geodude script, i made the name to long and had a space in it so i just renamed it and it worked, now a new problem lol, im making a boat script,
#org 0x834000
warp 0x36 0x1 0x0
end
thats the script but its not workin , when i talk to the person with the script it just gives me a black screen , anyone know why?
Because maybe there's not a bank map like that in your ROM.
The numbers must be in hexadecimal.
__________________
I DON'T HAVE THE POKECOMMUNITY VIRUS(ALSO KNOW AS PC VIRUSE)
What I mean by this is, I'm not strict like MOST people *cough* Admins/Mods *cough* on this site. And no not all Admins/Mods are like that, but MOST are,
Post this in your sign. if you are PC Viruse free!
  #49  
Unread February 15th, 2007, 09:49 PM
zak's Avatar
zak
xpert trainer
 
Join Date: Jul 2004
Location: south london
Age: 21
Gender:
Nature: Brave
Send a message via Windows Live Messenger to zak
there is a map bank like that in my rom , its a ruby rom , i inserted the bank myself, and um......... how do i find out the numbers in hexdecimal , sorry to ask so many questions i only know like 2 scripts
__________________
Hi
  #50  
Unread February 16th, 2007, 12:19 AM
Blaziken626's Avatar
Blaziken626
Pokemon Black Shadow
 
Join Date: Dec 2006
Age: 19
Gender:
Nature: Mild
Quote:
Originally Posted by Christos View Post
It's not right. You should put "900100" not "800100".
*Smacks forehead* Duh! I can't believe I didn't notice that! Anyway, thanks!

EDIT: Actually, there's another problem with the script I think. Because whenever I step in that spot when walking up, I walk up. When I step when walking down, I move to the right. And when I step when walking to the left, I walk down. But I'm supposed to walk up, then right, then down.

EDIT AGAIN: Nevermind, I realized you have to put the same script in each place you want the sprite to move. Buuuut, I doesn't work twice in a row. It works the first time, but not the time after that. But when I step in that spot again after that, it works.

EDIT AGAAIN: Just a quick question. Could someone please tell me where I can find the hex numbers for all the Pokemon? It would really help, but it's not really necessary.

Last edited by Blaziken626; February 16th, 2007 at 12:58 AM.
Closed Thread
Quick Reply

Sponsored Links


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 UTC. The time now is 08:56 AM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User posts belong to the user.