Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Closed Thread
 
Thread Tools
  #76    
Old September 20th, 2008, 03:17 AM
-DarK-
Hold Your Colour
 
Join Date: Jun 2007
Location: Belgium
Age: 21
Gender: Male
Nature: Brave
Send a message via Windows Live Messenger to -DarK-

Advertise here
I'm having trouble with the giveitem script:

Code:
#Dynamic 0x9A6740

#org @start
checkflag 0x201
if b_true goto @gone
lock
faceplayer
giveitem 0x3 0x5 0x0
setflag 0x201
release
end

#org @gone
hidesprite 0x8
end
What's wrong?
  #77    
Old October 7th, 2008, 09:34 PM
Zaptinex's Avatar
Zaptinex
Beginning Trainer
 
Join Date: May 2008
Location: USA
Gender:
Ive learned everything in this tutorail along with combinig things like movemnt, flags, give pokemon, and such. How do i move to more advanced scripting with different commands and examples? Do you suggest any specific tutorials?
  #78    
Old October 9th, 2008, 04:33 AM
pool92
Beginning Trainer
 
Join Date: Jul 2007
Nature: Adamant
Good tutorial ;) Compliments!
  #79    
Old October 9th, 2008, 02:01 PM
.Seth's Avatar
.Seth
.explorer.
 
Join Date: Jun 2008
Location: A capacitor in a power supply board.
Gender: Male
Nature: Quiet
Zaptinex, If I haven't learned it yet, it won't be on the tutorial. Sorry for any inconvenience.

pool92, Thanks. I worked pretty hard putting it together.
  #80    
Old October 9th, 2008, 02:07 PM
Chimchar 9's Avatar
Chimchar 9
inactive ~ depression :/
 
Join Date: Jan 2008
Location: England, Southampton.
Age: 20
Gender: Male
Nature: Calm
Send a message via Windows Live Messenger to Chimchar 9
when i put in the pickachu hex thing it turns out its a vulpix .
do you know why ?
it might be wrong
Pokemon Green Diamond
Status: On Hold.
  #81    
Old October 9th, 2008, 02:09 PM
Shadows's Avatar
Shadows
 
Join Date: Jul 2008
Location: Chicago, IL
Age: 19
Nature: Calm
Quote:
Originally Posted by Lucario 9 View Post
when i put in the pickachu hex thing it turns out its a vulpix .
do you know why ?
it might be wrong
Pikachu's hex no. is 19
Try that instead.

Also, how's this hack doing?
  #82    
Old October 9th, 2008, 05:37 PM
Satoshi Sugimori's Avatar
Satoshi Sugimori
Hermit
 
Join Date: Dec 2006
Location: Tokyo, Japan
Age: 22
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Satoshi Sugimori
Quote:
Originally Posted by T View Post
Pikachu's hex no. is 19
Try that instead.

Also, how's this hack doing?
Pikachu's number is 25
  #83    
Old October 11th, 2008, 03:23 AM
Pokepal17's Avatar
Pokepal17
More cowbell~
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
DarkSalamence
Change hidesprite 0x8 to hidesprite 0x201
Pokémon Stardrop
  #84    
Old October 11th, 2008, 09:25 AM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice
With Yes/No commands, could you change the options?

(E.g. Someone asks what your favourite type is. Options:
Fire
Water
Grass

Could it work?)

Sorry for being a n00b ('cause I am one, with hacking...)
  #85    
Old October 11th, 2008, 05:52 PM
hot_kage's Avatar
hot_kage
I am like a rose cute and calm
 
Join Date: Oct 2008
Location: Long Beach , California
Age: 21
Gender:
Nature: Naughty
Quote:
Originally Posted by Seth-kun View Post
Welcome!
This is my XSE tutorial.
It will cover most all the commands.
Don't take this without my permission.
Credit to Darthatron for the overview and basic tut. on XSE.
Credit to -Hackmew- for making XSE.
Credit to everybody that supports XSE!



Umm...I Have A problem Everytime i try to compile my script it gives me this
"Error 13 'Type mismatch' in file
C: \PokeHacks\Snowdrift\Scripts\PROF.rbc on line 1 missing #define or perimeter.

Line: dynamic 0xoffset"


any help plz :\
  #86    
Old October 11th, 2008, 07:59 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Quote:
Originally Posted by hot_kage View Post
Umm...I Have A problem Everytime i try to compile my script it gives me this
"Error 13 'Type mismatch' in file
C: \PokeHacks\Snowdrift\Scripts\PROF.rbc on line 1 missing #define or perimeter.

Line: dynamic 0xoffset"


any help plz :\
You're meant to use an offset, not the text "offset". -.-

Did you actually ready the guide? Or did you just copy/paste?
あなた は しきしゃ です
わたし は ばか です
  #87    
Old October 12th, 2008, 05:23 AM
hot_kage's Avatar
hot_kage
I am like a rose cute and calm
 
Join Date: Oct 2008
Location: Long Beach , California
Age: 21
Gender:
Nature: Naughty
Quote:
Originally Posted by Darthatron View Post
You're meant to use an offset, not the text "offset". -.-
Did you actually ready the guide? Or did you just copy/paste?
yeah i did but i made a compiling error but i fixed it
  #88    
Old October 14th, 2008, 08:05 AM
angelas's Avatar
angelas
Beginning Trainer
 
Join Date: Jun 2008
Hey! I just gotten into scripting but still am unsure of a few things.

I wanted to start out with something simple though, just a basic movement/text script so I won't leave town without the first badge.

Here it is: Decreasing size so it won't take up space. (am unsure on how to do spoiler..)

#Dynamic 0x194
#org @BadgeOne
checkflag 0x820
if 0x0 goto @needbadge1
if 0x1 goto @havebadge1
end
#org @needbadge1
lock
msgbox @nobadge
boxset 0x6
applymovement 0xEventNumber @goback
waitmovement 0x0
release
end
#org @nobadge
= Wait, I don't have a badge/nwithout that I can't go!
#org @goback
#raw 0x03
#raw 0x07
#raw 0x07
#raw 0x00
#raw 0x04
#raw 0x04
#raw 0x04
#raw 0x04
#raw 0xFE
#org @havebadge1
release
end

The part that confused me is the event number

"applymovement 0xEventNumber @goback"

Put as 0xFF in the tutorial. How exactly am I supposed to know what event I'm using, or how to find which I'm using? I might have later questions but I'll try to compile them all into one post next time. I just wanted to know this to start off. Also, am I making any other mistakes?

Edit: This is just a mess-around script btw. The offset isn't real, but the rest of it is. (Besides the Event Number which confused me)

-h20

Last edited by angelas; October 14th, 2008 at 12:11 PM.
  #89    
Old November 7th, 2008, 04:54 AM
sab's Avatar
sab
Now too much of a life.
 
Join Date: Jul 2008
Location: Midgar
Age: 18
Gender: Male
Nature: Timid
I have a script that is supposed to give you a celebi at level 80. I know it has no flag...But the problem is that it dosn't make a text box appear.Here is the script:

'-----------------------
#org 0xFFFF30
lock
msgbox 0x871AA90 '"Here is a celebi.\nI have grown old..."
faceplayer
givepokemon 0xFB 0x50 0x0 0x0 0x0 0x0
setflag 0x828
release
end

'---------
' Strings
'---------
#org 0x71AA90
= Here is a celebi.\nI have grown old and\ndon't need it any more.
anCay ouyay eakspay igpay atinlay? Ifay osay easeplay m.p.ay
emay enthay opycay anday astepay isthay inay ouryay ignaturesay.
  #90    
Old November 7th, 2008, 05:08 AM
Satoshi Sugimori's Avatar
Satoshi Sugimori
Hermit
 
Join Date: Dec 2006
Location: Tokyo, Japan
Age: 22
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Satoshi Sugimori
Quote:
Originally Posted by sab View Post
I have a script that is supposed to give you a celebi at level 80. I know it has no flag...But the problem is that it dosn't make a text box appear.Here is the script:

'-----------------------
#org 0xFFFF30
lock
msgbox 0x871AA90 '"Here is a celebi.\nI have grown old..."
faceplayer
givepokemon 0xFB 0x50 0x0 0x0 0x0 0x0
setflag 0x828
release
end

'---------
' Strings
'---------
#org 0x71AA90
= Here is a celebi.\nI have grown old and\ndon't need it any more.
Try this:
#dynamic 0x[offset]

#org @start
lock
faceplayer
message @1
boxset 6
givepokemon 0xFB 0x50 0x0 0x0 0x0 0x0
message @2
boxset 6

release
end

#org @1
= Here is a celebi.\nI have grown old and\ndon't need it any more.

#org @2
= \v\h01 received Celebi!


Dunno if you want the italic in to? cuz givepokemon command doesn't automaticly says player received bla bla..
  #91    
Old November 8th, 2008, 12:24 PM
sab's Avatar
sab
Now too much of a life.
 
Join Date: Jul 2008
Location: Midgar
Age: 18
Gender: Male
Nature: Timid
Thanks, It works great!!!!
anCay ouyay eakspay igpay atinlay? Ifay osay easeplay m.p.ay
emay enthay opycay anday astepay isthay inay ouryay ignaturesay.
  #92    
Old November 10th, 2008, 06:10 PM
Bluewarwolf's Avatar
Bluewarwolf
Teh n00b haxorz
 
Join Date: Nov 2008
Gender:
Nature: Adamant
Send a message via AIM to Bluewarwolf Send a message via Windows Live Messenger to Bluewarwolf Send a message via Yahoo to Bluewarwolf Send a message via Skype™ to Bluewarwolf
Ok I have some n00b questions.......

Is it possible to just erase all the bytes from the game, and start new?
And how do you mix messages with giving Pokemon/items? Such as: "Here, take this Pokemon" and he gives you a Pokemon. I also don't understand how to actually end it..... when I tested your examples, I just kept getting the Pokemon over and over.

I tried mixing messages with giving, but when I compiled it, it only did the messages and didn't play music to get Pokemon, and didn't say "You got suchandsuch"


What's wrong with this script? I haven't been able to get it to work..... all the person does is just stand there, and nothing happens. Also, no other script works either One other thing..... is it normal that when you start the game after scripting, that the game is a little.... "laggy" I guess you'd say? Like, I can press Left and my character goes Left twice or all the way, even if I let go. Just an example. Anyway, here's the script:


#dynamic 0x71B69C

#org @start
lock
faceplayer
message @1
boxset 0x6
givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
message @2
boxset 0x6
release
end

#org @1
= Have a Charizard\n, on the house

#org @2
= You got Charizard!\nWhat a nice guy.



Last edited by Bluewarwolf; November 10th, 2008 at 08:13 PM. Reason: Your double post has been automatically merged.
  #93    
Old November 11th, 2008, 04:44 AM
sab's Avatar
sab
Now too much of a life.
 
Join Date: Jul 2008
Location: Midgar
Age: 18
Gender: Male
Nature: Timid
Quote:
Originally Posted by Bluewarwolf View Post
Ok I have some n00b questions.......

Is it possible to just erase all the bytes from the game, and start new?
And how do you mix messages with giving Pokemon/items? Such as: "Here, take this Pokemon" and he gives you a Pokemon. I also don't understand how to actually end it..... when I tested your examples, I just kept getting the Pokemon over and over.

I tried mixing messages with giving, but when I compiled it, it only did the messages and didn't play music to get Pokemon, and didn't say "You got suchandsuch"

What's wrong with this script? I haven't been able to get it to work..... all the person does is just stand there, and nothing happens. Also, no other script works either One other thing..... is it normal that when you start the game after scripting, that the game is a little.... "laggy" I guess you'd say? Like, I can press Left and my character goes Left twice or all the way, even if I let go. Just an example. Anyway, here's the script:


#dynamic 0x71B69C

#org @start
lock
faceplayer
message @1
boxset 0x6
givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
message @2
boxset 0x6
release
end

#org @1
= Have a Charizard\n, on the house

#org @2
= You got Charizard!\nWhat a nice guy.
I'm new at this to but I've read enough to know that this has to do with a problem with the flags. (that is if it has any) To mixscripts (like giving a pokemon and then warping)you put the warp script right in front of the release end.
anCay ouyay eakspay igpay atinlay? Ifay osay easeplay m.p.ay
emay enthay opycay anday astepay isthay inay ouryay ignaturesay.
  #94    
Old November 11th, 2008, 06:31 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by sab View Post
I'm new at this to but I've read enough to know that this has to do with a problem with the flags. (that is if it has any) To mixscripts (like giving a pokemon and then warping)you put the warp script right in front of the release end.
Sorry but that's wrong. Flags have nothing to do with that script, which would work fine on a clean ROM, anyway.
  #95    
Old November 11th, 2008, 04:29 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Quote:
Originally Posted by Bluewarwolf View Post
Ok I have some n00b questions.......

Is it possible to just erase all the bytes from the game, and start new?
And how do you mix messages with giving Pokemon/items? Such as: "Here, take this Pokemon" and he gives you a Pokemon. I also don't understand how to actually end it..... when I tested your examples, I just kept getting the Pokemon over and over.

I tried mixing messages with giving, but when I compiled it, it only did the messages and didn't play music to get Pokemon, and didn't say "You got suchandsuch"


What's wrong with this script? I haven't been able to get it to work..... all the person does is just stand there, and nothing happens. Also, no other script works either One other thing..... is it normal that when you start the game after scripting, that the game is a little.... "laggy" I guess you'd say? Like, I can press Left and my character goes Left twice or all the way, even if I let go. Just an example. Anyway, here's the script:


#dynamic 0x71B69C

#org @start
lock
faceplayer
message @1
boxset 0x6
givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
message @2
boxset 0x6
release
end

#org @1
= Have a Charizard\n, on the house

#org @2
= You got Charizard!\nWhat a nice guy.
Are you setting to Script Offset in Advance Map?
あなた は しきしゃ です
わたし は ばか です
  #96    
Old November 11th, 2008, 04:59 PM
machomuu's Avatar
machomuu
The Lights in the Sky are Stars
Community Supporter
 
Join Date: Apr 2008
Location: 'Murca
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by Bluewarwolf View Post
Ok I have some n00b questions.......

Is it possible to just erase all the bytes from the game, and start new?
And how do you mix messages with giving Pokemon/items? Such as: "Here, take this Pokemon" and he gives you a Pokemon. I also don't understand how to actually end it..... when I tested your examples, I just kept getting the Pokemon over and over.

I tried mixing messages with giving, but when I compiled it, it only did the messages and didn't play music to get Pokemon, and didn't say "You got suchandsuch"

What's wrong with this script? I haven't been able to get it to work..... all the person does is just stand there, and nothing happens. Also, no other script works either One other thing..... is it normal that when you start the game after scripting, that the game is a little.... "laggy" I guess you'd say? Like, I can press Left and my character goes Left twice or all the way, even if I let go. Just an example. Anyway, here's the script:


#dynamic 0x71B69C

#org @start
lock
faceplayer
message @1
boxset 0x6
givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
message @2
boxset 0x6
release
end

#org @1
= Have a Charizard\n, on the house

#org @2
= You got Charizard!\nWhat a nice guy.
Spoiler:

#dynamic 0x71B69C

#org @start
lock
faceplayer
message @1
boxset 0x6
givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
message @2
release
end

#org @1
= Have a Charizard\n, on the house

#org @2
= You got Charizard!\nWhat a nice guy.


always only use one boxset :D.
  #97    
Old November 11th, 2008, 06:53 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Quote:
Originally Posted by machomuu View Post
Spoiler:

#dynamic 0x71B69C

#org @start
lock
faceplayer
message @1
boxset 0x6
givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
message @2
release
end

#org @1
= Have a Charizard\n, on the house

#org @2
= You got Charizard!\nWhat a nice guy.


always only use one boxset :D.
That is completely wrong. You need to have a boxset after every message.
あなた は しきしゃ です
わたし は ばか です
  #98    
Old November 13th, 2008, 04:39 PM
hot_kage's Avatar
hot_kage
I am like a rose cute and calm
 
Join Date: Oct 2008
Location: Long Beach , California
Age: 21
Gender:
Nature: Naughty
do u know how to make another person move? for the applymovement script.
  #99    
Old November 14th, 2008, 01:37 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by hot_kage View Post
do u know how to make another person move? for the applymovement script.
Did you check the Command Help?
The syntax is like this:

Code:
applymovement [people no.] [pointer to movements]
waitmovement 0x0
  #100    
Old November 14th, 2008, 06:24 PM
hot_kage's Avatar
hot_kage
I am like a rose cute and calm
 
Join Date: Oct 2008
Location: Long Beach , California
Age: 21
Gender:
Nature: Naughty
Quote:
Originally Posted by HackMew View Post
Did you check the Command Help?
The syntax is like this:

Code:
applymovement [people no.] [pointer to movements]
waitmovement 0x0
yeah i just noticed that
sorry im a fast reader and i miss things.

also if u don't mind i have another question.
is there a way to make the movement come before the text. and if so how?
Closed Thread
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 11:48 PM.

About Us
© 2002 - 2014 The PokéCommunity™, pokecommunity.com. Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.

Copyright
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 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 generated content remains the property of its creator. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.