The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

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.


Advertise here

Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #201    
Old June 29th, 2009, 04:51 PM
TheDon's Avatar
TheDon
Pokemon (kinda) Expert
 
Join Date: Apr 2008
Age: 23
Gender:
Nature: Lonely

Advertise here
Quote:
Originally Posted by TheDon View Post
Is there a command that I can use in XSE or wherever to erase a certain script from an offset, then replace it with the new one that at the time, I just made? I tried the #remove before and after the #dynamic at the beginning of the script, but it didn't work.
Still looking for help with this. Thanks in advance.
__________________


85% of all Wi-Fi teams include either a Salamence, Scizor or Blissey. If you're one of the 15% who think outside the box, copy and paste this into your sig.
-TheDon
Reply With Quote
  #202    
Old June 29th, 2009, 05:50 PM
.Seth's Avatar
.Seth
.explorer.
 
Join Date: Jun 2008
Location: A capacitor in a power supply board.
Gender: Male
Nature: Quiet
I'm not saying anyone's breaking rules here, but there is a script help thread, you know.

I've never really taken the time to comment on this tutorial (or did I? I dunno. :P), so I think I will.

Overall, it's just a big translation of thethethethe's PokeScript tutorial, so really, it's not completely yours, but you gave credit, so I've no problem with that.

All in all, there are a few errors here and there, but it's very useful, and even I, the author of a different XSE tutorial, find myself looking at this.
Reply With Quote
  #203    
Old July 1st, 2009, 08:50 AM
Doctortux's Avatar
Doctortux
Beginning Trainer
 
Join Date: Jun 2009
Location: PA
Gender: Male
Nature: Relaxed
Wow, I cannot understand any of that. This isn't a tutorial for begginers is it? Anyways, it seems like you put a lot of effort into this so great job!
__________________




Click on the image above to join pokemon indigo, a great, free online pokemon game. My name on pokemon indigo is Doctortux, so once you are registered, we can be friends, trade, chat, and more. See you on pokemon indigo!
Reply With Quote
  #204    
Old July 1st, 2009, 10:03 PM
bna_li's Avatar
bna_li
 
Join Date: Oct 2003
Location: At home
Gender: Male
Nature: Hasty
Hi, I'm trying to get into this hacking thing. Great guide, but I'm an idiot. -______-

I don't really get how flags work, I'm at the beginning of Ruby and I want to make those mover guys disappear. But I don't really get the flags thingies. How would I not make them disappear until I finish setting my clock? Right now they disappear if I accidentally go down.

Edit: Eh. Where is the script help thread by the way?
__________________
Reply With Quote
  #205    
Old July 4th, 2009, 02:19 PM
Regigiygas's Avatar
Regigiygas
I'm no longer Dr. Regigiygason
 
Join Date: Feb 2009
Location: Well, is there a legendary golem-like cosmic destroyer in YOUR town?
Gender: Female
Nature: Quirky
diegoisawesome, I checked my Ruby game, and I'm pretty sure you mixed up some of those specials. You listed special 0x9C as Wally's catch, but according to the "H-help me!" script, that's actually the special for choosing your first Pokemon.

There's a good chance I'm wrong, but somebody should look into that.
__________________
YOU CANNOT GRASP THE TRUE FORM OF REGIGIYGAS' ATTACK!
'Course you can. It's called Crush Grip, duh.
[img]http://i306.photobucket.com/albums/n...uccaaaasss.png[/img]
Join the MOTHER 1, 2, and 3 Fanclub!
~banner by Shaymew
Reply With Quote
  #206    
Old July 5th, 2009, 01:38 AM
bna_li's Avatar
bna_li
 
Join Date: Oct 2003
Location: At home
Gender: Male
Nature: Hasty
Can someone help me? I'm stuck and I'm only at the beginning..
Reply With Quote
  #207    
Old July 6th, 2009, 11:38 AM
Podifo's Avatar
Podifo
The Village Pirate Cat
 
Join Date: Sep 2008
Location: Norway
Age: 17
Gender: Male
Nature: Lonely
I have a prob too. I made Celebi wild Pokemon script in Viridian Forest, and thanks for the flag numbers, by the way. It dissapears normally when you kill it or run away from it. But when I catch it, it won't dissapear! Can someone help me and tell what to do? :/
__________________
Click to visit Jiggmin's Village
Reply With Quote
  #208    
Old July 12th, 2009, 03:46 AM
Haz's Avatar
Haz
Haz ya seen my hack?
 
Join Date: Nov 2008
Location: Australia- Aussie, Aussie, Aussie!, Oi, Oi, Oi!
Gender: Female
Nature: Docile
Send a message via Yahoo to Haz
Thanks for the tutorial, this really helped me on my hack!
__________________
DeviantART: Haz-Za

Fanfiction.net: Ha-Za-A


Credits to Galukxy for this awesome banner
Reply With Quote
  #209    
Old July 15th, 2009, 02:03 PM
Rocka210's Avatar
Rocka210
Lvl. 100
 
Join Date: Jun 2009
Gender: Male
I need help!


#dynamic 0x8003D5
#org @start
checkflag 0x828
if 0x0 goto @1
if 0x1 goto @end
end
#org @1
lock
applymovement 0x01 @move
waitmovement 0x0
msgbox @Pine
boxset 0x6
applymovement 0x01 @move2
waitmovement 0x0
setflag 0x828
release
end
#org @move
#raw 0x03
#raw 0x62
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0xFE
#org @move2
#raw 0x10
#raw 0x12
#raw 0x12
#org @end
release
end
#org @Pine
= Hey \v\h01!\nProf. Pine wanted to see you\nIt was something about getting your\nfirst pokemon.

This script is supposed to make the person walk 2 steps right and 2 steps up then say the script
and walk back to the beggining area

What did I do wrong

PS Please tell me the best XSE tutorial you've seen I'm not a great scripter
__________________

A ROM hacker

Last edited by Rocka210; July 16th, 2009 at 04:10 AM.
Reply With Quote
  #210    
Old July 15th, 2009, 10:33 PM
Excalibur's Avatar
Excalibur
Sorry for my english...
 
Join Date: Nov 2008
Age: 22
Gender: Male
Nature: Lonely
Rocka210,
1. replace ??? with person event number (in A-map)
2. Yes, it possible. In your script after setflag 0x828 write "setvar 0x???? 0x1" (replace ???? with your variable, like 0x5001 or other), and then go to script events in A-map and choose your script event. Then write your variable in the "Var. number" and save your map and compile your script.
Reply With Quote
  #211    
Old July 21st, 2009, 10:30 AM
Larvitar170's Avatar
Larvitar170
Noobie hacker
 
Join Date: Jul 2009
Location: Kentucky.
Gender: Male
Nature: Modest
Okay. I am editing the post, since I change the idea I had. Is there anyway to mix apply movement and trainer battle? I tried, but it won't work at all. Here is the script I tried. I would appreciate any help if someone can spare the time.

'---------------
#dynamic 0x000064
#org 0x000064
applymovement 0x1 0x2D51C3
waitmovement 0x0
return

'---------------
#dynamic 0x000005
trainerbattle 0x0 0x001 0x0 $before $after
msgbox @lost 0x6
release
end

'---------------
#dynamic 0x00007F
applymovement 0x1 0x2D51C3
waitmovement 0x0
return

#org $before
= [Brandon] Hey, have you seen my partner?\nHe has brown hair and a Totodile.\pNevermind, let's just battle!

#org $after
= No...I never lose...\nMy Herecross was just worn out.

#org @lost
= Well...I'll win next time!\nNow where could Miles have gone...

'-----------
' Movements
'-----------
#org 0x720CB4
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE

#org 0x720CB4
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
__________________
Current project: Pokemon Mud Brown (Working Title, will be changed.)
No link because I haven't made a page for it yet.
Team: Myself as mapper, scripter, and spriter.Brandinokthx as spriter.


Last edited by Larvitar170; July 21st, 2009 at 11:13 PM.
Reply With Quote
  #212    
Old July 23rd, 2009, 01:05 PM
Gold Man's Avatar
Gold Man
Beginning Trainer
 
Join Date: Mar 2009
Gender:
Can you cerrent my script:
'-----------------------
#org 0x800A3D
lock
checkflag 0x828
if 0x1 goto 0x8800A96
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x8800A60
compare LASTRESULT 0x1
if 0x1 goto 0x8800A7B
end
'-----------------------
#org 0x800A96
hidesprite 0x1
end
'-----------------------
#org 0x800A60
givepokemon 0x88 0x5 0x0 0x0 0x0 0x0
msgbox 0x8800A9B '"[player]: This must be oak's\n poke..."
setflag 0x828
release
end
'-----------------------
#org 0x800A7B
givepokemon 0x87 0x5 0x0 0x0 0x0 0x0
msgbox 0x8800A9B '"[player]: This must be oak's\n poke..."
setflag 0x828
release
end

'---------
' Strings
'---------
#org 0x800A9B
= [player]: This must be oak's\n pokemon I better take it to him.

What's I want to happen is you find a pokeball and get pokemon deppening on your gender and then it says:[player]: This must be oak's pokemon I better take it to him. after that the pokeball disappears and you keep going but the pokeball disappears untill you walk 1 step then it reappears can you help me?
Reply With Quote
  #213    
Old July 23rd, 2009, 01:39 PM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by Gold Man View Post
Can you cerrent my script:
'-----------------------
#org 0x800A3D
lock
checkflag 0x828
if 0x1 goto 0x8800A96
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x8800A60
compare LASTRESULT 0x1
if 0x1 goto 0x8800A7B
end
'-----------------------
#org 0x800A96
hidesprite 0x1
end
'-----------------------
#org 0x800A60
givepokemon 0x88 0x5 0x0 0x0 0x0 0x0
msgbox 0x8800A9B '"[player]: This must be oak's\n poke..."
setflag 0x828
release
end
'-----------------------
#org 0x800A7B
givepokemon 0x87 0x5 0x0 0x0 0x0 0x0
msgbox 0x8800A9B '"[player]: This must be oak's\n poke..."
setflag 0x828
release
end

'---------
' Strings
'---------
#org 0x800A9B
= [player]: This must be oak's\n pokemon I better take it to him.

What's I want to happen is you find a pokeball and get pokemon deppening on your gender and then it says:[player]: This must be oak's pokemon I better take it to him. after that the pokeball disappears and you keep going but the pokeball disappears untill you walk 1 step then it reappears can you help me?
Give the Poké Ball a People ID of 0828. That should fix your problem.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #214    
Old July 23rd, 2009, 02:20 PM
Gold Man's Avatar
Gold Man
Beginning Trainer
 
Join Date: Mar 2009
Gender:
Ya but I forgot to say that the talking part dosen't come up what do I do about that?

Last edited by Gold Man; July 23rd, 2009 at 02:30 PM. Reason: Your double post has been automatically merged.
Reply With Quote
  #215    
Old July 23rd, 2009, 03:05 PM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by Gold Man View Post
Ya but I forgot to say that the talking part dosen't come up what do I do about that?
Since, apparently, you're using the old version of XSE, either update to the new one and put 0x2 after your msgbox command or put boxset 0x2 under the msgbox command if you don't want to update it for whatever reason.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #216    
Old July 23rd, 2009, 03:43 PM
Gold Man's Avatar
Gold Man
Beginning Trainer
 
Join Date: Mar 2009
Gender:
Well when I put boxset 6 when I closed it and open it, it change my script into the one that dosn't work and it did that all by it self. And what do you mean by put 0x2 after your msgbox command?

Sorry about that my scripts never work
Reply With Quote
  #217    
Old July 23rd, 2009, 04:17 PM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by Gold Man View Post
Well when I put boxset 6 when I closed it and open it, it change my script into the one that dosn't work and it did that all by it self. And what do you mean by put 0x2 after your msgbox command?

Sorry about that my scripts never work
Did you recompile with dynamic offsets or static? If static, then you overwrote some stuff from one part of your script with another. Try repointing the first part to a different offset.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #218    
Old July 23rd, 2009, 07:27 PM
lugia386
Beginning Trainer
 
Join Date: Jul 2009
Gender: Male
very usefull... how ever, how come no one ever ****ing tells you how to add new events, i cant for the LIFE of me, figure out how, apparantly it must be "easy" if no one will say how, but why? I dont know how, it is vital information for absolute beginners like my self.
Reply With Quote
  #219    
Old July 23rd, 2009, 08:17 PM
.Seth's Avatar
.Seth
.explorer.
 
Join Date: Jun 2008
Location: A capacitor in a power supply board.
Gender: Male
Nature: Quiet
Quote:
Originally Posted by lugia386 View Post
very usefull... how ever, how come no one ever ****ing tells you how to add new events, i cant for the LIFE of me, figure out how, apparantly it must be "easy" if no one will say how, but why? I dont know how, it is vital information for absolute beginners like my self.
Watch that language. :o

In A-Map, you go to a map, click the "Events" tab, then at the bottom of the right sidebar, you change the number of the events and hit Apply, or OK, whatever it may be.

Then you click the event tile after position it, and add it's offset etc.
Reply With Quote
  #220    
Old July 23rd, 2009, 09:41 PM
Dragonmaster91's Avatar
Dragonmaster91
It's just common sense!
 
Join Date: Apr 2008
Gender: Male
Nature: Adamant
Quote:
Originally Posted by 非常に高いレベル View Post
Watch that language. :o

In A-Map, you go to a map, click the "Events" tab, then at the bottom of the right sidebar, you change the number of the events and hit Apply, or OK, whatever it may be.

Then you click the event tile after position it, and add it's offset etc.
Is there an easier to understand explanation?\Sarcasm
Anyway, here's a tip to some people. Whenever you create a script and test it in-game, and it is destroyed, it means it either hit other parts of the game's data, or overwrote a previous script. Solution: Simple, save the script before compiling, and if it is bad in-game, use a different offset.

Of course, that is for the newbs\noobs.

Spoiler:
Technically, I am a noob. But lately, I have really gotten a grasp on MANY things. Pretty much\Almost everything but creating sprites.
Reply With Quote
  #221    
Old July 24th, 2009, 02:31 AM
flamezy boi
Beginning Trainer
 
Join Date: Jul 2009
Gender: Male
Quote:
Originally Posted by Dragonmaster91 View Post
Is there an easier to understand explanation?\Sarcasm
Anyway, here's a tip to some people. Whenever you create a script and test it in-game, and it is destroyed, it means it either hit other parts of the game's data, or overwrote a previous script. Solution: Simple, save the script before compiling, and if it is bad in-game, use a different offset.

Of course, that is for the newbs\noobs.

Spoiler:
Technically, I am a noob. But lately, I have really gotten a grasp on MANY things. Pretty much\Almost everything but creating sprites.
SOME 1 ANY 1 PLEASE!!!!! HELP i have been trying all day...

#dynamic 0x800018

#org @start
lock
faceplayer
msgbox @1 0x6
release
end

#org @1
= Hi.
^i wuld try that and many other ways but when i go on the emulator the sprite
doesnt respond at all....
Reply With Quote
  #222    
Old July 24th, 2009, 02:46 AM
Cynder The Bloody Angel's Avatar
Cynder The Bloody Angel
Trainer
 
Join Date: Apr 2009
... WOOOOOOOW THAT is a tutorial ! man thanks a lot !
Reply With Quote
  #223    
Old July 24th, 2009, 10:10 AM
lugia386
Beginning Trainer
 
Join Date: Jul 2009
Gender: Male
i thought this tutorial could help but i guess its just me who fails...
i tried to do what it said, and the stuff doesnt work...
i try looking for what i needed to change, and it wasn't here....
i'm about ready to give up on hacking, becuase i can't get the help i need...
if some one can help me out live, over msn, or something, because i need some actual personal training on this stuff, cause i am ALWAYS running into problems that arent explained here, or as far as i know, anywhere...
my email is [email protected]
if and one wants to help me, please, please email me! I would be eternaly greatful!
Reply With Quote
  #224    
Old July 24th, 2009, 10:53 AM
.Seth's Avatar
.Seth
.explorer.
 
Join Date: Jun 2008
Location: A capacitor in a power supply board.
Gender: Male
Nature: Quiet
Quote:
Originally Posted by Dragonmaster91 View Post
Is there an easier to understand explanation?\Sarcasm
Anyway, here's a tip to some people. Whenever you create a script and test it in-game, and it is destroyed, it means it either hit other parts of the game's data, or overwrote a previous script. Solution: Simple, save the script before compiling, and if it is bad in-game, use a different offset.

Of course, that is for the newbs\noobs.

Spoiler:
Technically, I am a noob. But lately, I have really gotten a grasp on MANY things. Pretty much\Almost everything but creating sprites.
It really can't get any simpler than that.
I mean, seriously.

Quote:
Originally Posted by flamezy boi View Post
SOME 1 ANY 1 PLEASE!!!!! HELP i have been trying all day...

#dynamic 0x800018

#org @start
lock
faceplayer
msgbox @1 0x6
release
end

#org @1
= Hi.
^i wuld try that and many other ways but when i go on the emulator the sprite
doesnt respond at all....
You have to put in the offset in A-map, if you didn't. Also, here is the corrected script:

Code:
#dynamic 0x 800000

#org @start
msgbox @1 0x2
end

#org @1
= Hi.
Simple, eh?
0x2 has lock and faceplayer built-in, so it's more stable.

Quote:
Originally Posted by lugia386 View Post
i thought this tutorial could help but i guess its just me who fails...
i tried to do what it said, and the stuff doesnt work...
i try looking for what i needed to change, and it wasn't here....
i'm about ready to give up on hacking, becuase i can't get the help i need...
if some one can help me out live, over msn, or something, because i need some actual personal training on this stuff, cause i am ALWAYS running into problems that arent explained here, or as far as i know, anywhere...
my email is [email protected]
if and one wants to help me, please, please email me! I would be eternaly greatful!
Well, there's a tutoring section over in the main ROM Hacking section. Try signing up for Simple Scripting there.

I'm sure you can find a tutor.
Though, if you can't, just try editing a script. Like making it say something else.
Then move on to actually creating a script, if that way works for you.
Reply With Quote
  #225    
Old July 25th, 2009, 11:56 AM
Gold Man's Avatar
Gold Man
Beginning Trainer
 
Join Date: Mar 2009
Gender:
Umm I found an update of xse but it toke away the
'---------------
#org 0x800A9B
= [player]: This must be oak's\n pokemon I better take it to him.

Part can you help me?

Never mind I figriad it out.
Ps: the talking sill dosn't come up and the update of xse change my script to this:
'---------------
#org 0x800A3D
lock
checkflag 0x828
if 0x1 goto 0x8800A96
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x8800A60
compare LASTRESULT 0x1
if 0x1 goto 0x8800A7B
end
'---------------
#org 0x800A96
hidesprite 0x1
end
'---------------
#org 0x800A60
givepokemon 0x88 0x5 0x0 0x0 0x0 0x0
loadpointer 0x0 0x8800A9B '"[player]: This must be oak's\n pok..."
setflag 0x828
release
end
'---------------
#org 0x800A7B
givepokemon 0x87 0x5 0x0 0x0 0x0 0x0
loadpointer 0x0 0x8800A9B '"[player]: This must be oak's\n pok..."
setflag 0x828
release
end

'---------
' Strings
'---------
#org 0x800A9B
= [player]: This must be oak's\n pokemon I better take it to him.

Last edited by Gold Man; July 26th, 2009 at 05:11 PM.
Reply With Quote
Reply
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 10:44 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 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.
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.