The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Toolbox
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Toolbox 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
Click here to go to the first staff post in this thread.  
Thread Tools
  #451    
Old August 1st, 2009, 07:28 AM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
Ok and how about making a pokemon event. what do I have to do. I want to battle lugia on route 1. Thanks.
  #452    
Old August 1st, 2009, 08:15 AM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by Mkmaster2400 View Post
Ok and how about making a pokemon event. what do I have to do. I want to battle lugia on route 1. Thanks.
i dont know why you would want that but you have two chocies A use pksv script generater and the battle wild pokemon or use poketronic and edit a difent legendary or copy birth islands lugias script and past it on route one
__________________
~There are those people who understand hex, F the rest
  #453    
Old August 1st, 2009, 08:26 AM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
Quote:
Originally Posted by narutoactor View Post
i dont know why you would want that but you have two chocies A use pksv script generater and the battle wild pokemon or use poketronic and edit a difent legendary or copy birth islands lugias script and past it on route one
LIES, XSE is also an option.
And I don't see why anyone would use Poketronic anymore... OLD tool
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #454    
Old August 1st, 2009, 08:29 AM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by 0m3GA ARS3NAL View Post
LIES, XSE is also an option.
And I don't see why anyone would use Poketronic anymore... OLD tool
sorry but this is pksv thread not xse and osseously this person is a beginner a pksv is better for beginners and just because its old dosent mean its not good
__________________
~There are those people who understand hex, F the rest
  #455    
Old August 1st, 2009, 08:47 AM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
Quote:
Originally Posted by narutoactor View Post
sorry but this is pksv thread not xse and osseously this person is a beginner a pksv is better for beginners and just because its old dosent mean its not good
I am just saying XSE because you don't learn anything from a script generator, and hackers today won't make it anywhere if they don't learn anything.
How do you think Liquid Crystal and Shiny gold were made, script generators? I think not. (And the scripters for those hacks were beginners at one point, now they are GREAT at scripting, because they practiced.)
Yes, I am an XSE fanboy, but only because it teaches you things, not does everything for you.
/discussion
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #456    
Old August 1st, 2009, 09:16 AM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by 0m3GA ARS3NAL View Post
I am just saying XSE because you don't learn anything from a script generator, and hackers today won't make it anywhere if they don't learn anything.
How do you think Liquid Crystal and Shiny gold were made, script generators? I think not. (And the scripters for those hacks were beginners at one point, now they are GREAT at scripting, because they practiced.)
Yes, I am an XSE fanboy, but only because it teaches you things, not does everything for you.
/discussion
yeah but for a quick script its oaky thats why they have generators
__________________
~There are those people who understand hex, F the rest
  #457    
Old August 1st, 2009, 10:11 AM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
Quote:
Originally Posted by narutoactor View Post
i dont know why you would want that but you have two chocies A use pksv script generater and the battle wild pokemon or use poketronic and edit a difent legendary or copy birth islands lugias script and past it on route one

I'm doing it just to test some stuff. I just want to see how that would work. Thanks for the info.

Oh and one more thing. I used the script generator to make a script where you find a pokeball with 15 masterballs in it. When I Tested it in the emulator, It was a person, and not a pokeball and the game crashed when I tried to see what would happen if I talked to it.

Last edited by Mkmaster2400; August 1st, 2009 at 10:17 AM.
  #458    
Old August 1st, 2009, 10:14 AM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
your welcome hope it helps if your just testing try reading and editing old scripts and see what your changes do this was usefull to me when I started learning
__________________
~There are those people who understand hex, F the rest
  #459    
Old August 1st, 2009, 10:17 AM
Rocket Grunt Kyle's Avatar
Rocket Grunt Kyle
Beginning Trainer
 
Join Date: Aug 2009
Location: Western New York
Age: 26
Gender: Male
Nature: Gentle
Edit:

Excuse this post, I figured it out!


Thank you for your help!!!




-Kyle

Last edited by Rocket Grunt Kyle; August 1st, 2009 at 10:24 AM.
  #460    
Old August 1st, 2009, 02:24 PM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
Ok there is one more thing I am stuck on.
When I put the flag to 0x200 Is that exactly what I put into advanced map? Do I put the 0x200 or just 200 or 0200? Thats the last thing I'll need help with. Oh and what type of event do I pick in advanced map for pokemon battles? Sorry I'm such a noob.
  #461    
Old August 1st, 2009, 02:53 PM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by Mkmaster2400 View Post
Ok there is one more thing I am stuck on.
When I put the flag to 0x200 Is that exactly what I put into advanced map? Do I put the 0x200 or just 200 or 0200? Thats the last thing I'll need help with. Oh and what type of event do I pick in advanced map for pokemon battles? Sorry I'm such a noob.
in the pesone event put 0200 and if you want the wild battle to activate when you click a on a ow sprite the script should be a person event if you want the wild battle to start when you step on a tile then just a script event hope this help
__________________
~There are those people who understand hex, F the rest
  #462    
Old August 1st, 2009, 03:46 PM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
What do I put as the person ID?
Ok this is what I did.
1. Used the script generator to make the script.
2. Hit f9
3. put the script offset to 0x200. Now what?
  #463    
Old August 1st, 2009, 04:27 PM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
yeah put pesone ID 0200
okay did you get it yet
__________________
~There are those people who understand hex, F the rest
  #464    
Old August 1st, 2009, 04:39 PM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
wait so whats the script offset? this is the script
#dyn 0x740000
#org @start
special 0x187
compare LASTRESULT 2
if == jump 0x81A7AE0
special 0x188
lock
faceplayer
checksound
cry RAYQUAZA 2
waitcry
pause 0x14
playsound 0x156 0x0
battle RAYQUAZA 15 POTION
setflag 0x807
special 0x138
waitspecial
clearflag 0x807
special2 0x800D 0xB4
compare LASTRESULT 1
if == jump 0x8162558
compare LASTRESULT 4
if == jump 0x8162561
compare LASTRESULT 5
if == jump 0x8162561
setflag 0x200
release
end

What number is the script offset? the 740000?
  #465    
Old August 1st, 2009, 04:44 PM
score_under's Avatar
score_under
I program the *other* ASM.
 
Join Date: Aug 2005
Location: Hertfordshire, England
Age: 21
Nature: Rash
Quote:
Originally Posted by 0m3GA ARS3NAL View Post
Yes, I am an XSE fanboy, but only because it teaches you things, not does everything for you.
/discussion
I have yet to see anything learned from XSE that can not be learned as easily, if not more easily, from PKSV.
Having a script generator provides easy access to common scripts, and should not be relied on. However, you can still reverse-engineer the generated scripts and learn from them.

Also, 0m3GA, try PKSV for a little while... you will like it. (See the Flag Skeleton 2 in the script generator for one of my favourite (from a programmer's PoV) features.)
Quote:
Originally Posted by narutoactor View Post
yeah but for a quick script its oaky thats why they have generators
And is also why I added, for example, the quick starter script for testing a hack, and the flag skeleton scripts. I take almost all script generator suggestions (rejecting only those that are just not common enough to warrant quick pasting everywhere).

Quote:
Originally Posted by techie775 View Post
I tried doing script for entei now and I used the script generator, battle pokemon , but when I decomplie it all it says is a bunch of raw 0XFF lines and then crashes. Do I have to put #org @start in the first line in the decompling box

Spoiler:
#dyn 0x8750000
#org @start
special 0x187
compare LASTRESULT 2
if == jump 0x81A7AE0
special 0x188
lock
faceplayer
checksound
cry ENTEI 2
waitcry
pause 0x14
playsound 0x156 0x0
battle ENTEI 50 NONE
setflag 0x807
special 0x138
waitspecial
clearflag 0x807
special2 0x800D 0xB4
compare LASTRESULT 1
if == jump 0x8162558
compare LASTRESULT 4
if == jump 0x8162561
compare LASTRESULT 5
if == jump 0x8162561
setflag 0x223
release
end


this is all gone when you decompile it and gives a jump 0xFFFFFFFF I don't know if I'm doing something wrong with the dyn# in the offset box or what.
You're most likely putting the number in "#dyn" in the offset box, judging by the sound of your post - you're meant to put the number given to you when you compile it, in a dialog box.
Off the top of my head, it goes something like this:
@start <-> 0xReal-offset (0x1234 bytes)

Quote:
Originally Posted by Mkmaster2400 View Post
What do I put as the person ID?
Ok this is what I did.
1. Used the script generator to make the script.
2. Hit f9
3. put the script offset to 0x200. Now what?
Eep, you were meant to set the person ID to 0200, not the script offset to 0x200... To get the real script offset of a dynamic script, see my last quote. The person event number (NOT person ID) should usually not be changed.
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #466    
Old August 1st, 2009, 04:53 PM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
It just shows up as a person on my game and When I try to talkto it, the music stops and I can talk to it and run around at the same time. This is confusing. Its just getting me mad. I have no Idea what the problem is.

Wait, would the script offset be 0x740000? if it is, do I put the 0x? or just the 740000?

Last edited by Mkmaster2400; August 1st, 2009 at 04:59 PM.
  #467    
Old August 1st, 2009, 04:59 PM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
yes its a pesone event... theres scipts lines like play music 0x
if you can move then you didnt right the line lock all or lock player
__________________
~There are those people who understand hex, F the rest
  #468    
Old August 1st, 2009, 05:24 PM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
I guess I should just give up now. I still can't get it to work.
  #469    
Old August 1st, 2009, 05:27 PM
score_under's Avatar
score_under
I program the *other* ASM.
 
Join Date: Aug 2005
Location: Hertfordshire, England
Age: 21
Nature: Rash
Quote:
Originally Posted by Mkmaster2400 View Post
It just shows up as a person on my game and When I try to talkto it, the music stops and I can talk to it and run around at the same time. This is confusing. Its just getting me mad. I have no Idea what the problem is.

Wait, would the script offset be 0x740000? if it is, do I put the 0x? or just the 740000?
This is your exact problem. You don't need the 0x, but that offset is wrong. #dyn does not put it at that offset, it puts it in free space after that offset and tells you where the real offset is when you compile it.
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #470    
Old August 1st, 2009, 05:33 PM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
Ok this the script after I hit f9

Opened file.
#DYN
-> 0x740000
#ORG
-> @start
SPECIAL
-> 0x187
COMPARE
-> lastresult
-> 0x800D
-> 0x2
IF
-> ==
-> 0x1
-> JUMP
-> 0x81A7AE0
SPECIAL
-> 0x188
CHECKSOUND
CRY
-> rayquaza
-> 0x196
-> 0x2
WAITCRY
PAUSE
-> 0x14
PLAYSOUND
-> 0x156
-> 0x0
BATTLE
-> rayquaza
-> 0x196
-> 0xF
-> potion
-> 0xD
SETFLAG
-> 0x807
SPECIAL
-> 0x138
CLEARFLAG
-> 0x807
SPECIAL2
-> 0x800D
-> 0xB4
COMPARE
-> lastresult
-> 0x800D
-> 0x1
IF
-> ==
-> 0x1
-> JUMP
-> 0x8162558
COMPARE
-> lastresult
-> 0x800D
-> 0x4
IF
-> ==
-> 0x1
-> JUMP
-> 0x8162561
COMPARE
-> lastresult
-> 0x800D
-> 0x5
IF
-> ==
-> 0x1
-> JUMP
-> 0x8162561
SETFLAG
-> 0x200
#ORG: data
-> @start <-> 0x7400DC (0x5C bytes)
So whats the offset?
  #471    
Old August 1st, 2009, 05:38 PM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
0x7400DC
thats the offset that starts the script
__________________
~There are those people who understand hex, F the rest
  #472    
Old August 1st, 2009, 05:46 PM
Mkmaster2400
Beginning Trainer
 
Join Date: Jul 2009
Age: 29
Gender: Male
Nature: Quiet
Edit:

I finally got my first script working! Thanks for all the help guys!
Now to try harder stuff. What other scripts should I try?

Last edited by Mkmaster2400; August 1st, 2009 at 06:12 PM.
  #473    
Old August 1st, 2009, 06:47 PM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by Mkmaster2400 View Post
Edit:

I finally got my first script working! Thanks for all the help guys!
Now to try harder stuff. What other scripts should I try?
great!! hope I was able to help try working on a movement script
__________________
~There are those people who understand hex, F the rest
  #474    
Old August 1st, 2009, 06:55 PM
Rocket Grunt Kyle's Avatar
Rocket Grunt Kyle
Beginning Trainer
 
Join Date: Aug 2009
Location: Western New York
Age: 26
Gender: Male
Nature: Gentle
okay, im stuck again! I can't make those darn pokeballs disappear. I make the flag in the flag list, i add the flag in the script during the generator part, and i set the person id. The message that says i got the pokeball stays on the screen until something else comes up, and the pokeball stays there.
  #475    
Old August 1st, 2009, 07:00 PM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 20
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by Rocket Grunt Kyle View Post
okay, im stuck again! I can't make those darn pokeballs disappear. I make the flag in the flag list, i add the flag in the script during the generator part, and i set the person id. The message that says i got the pokeball stays on the screen until something else comes up, and the pokeball stays there.
it spunds like you didnt end the message try using insted mesage NO_CLOSE
__________________
~There are those people who understand hex, F the rest
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:43 AM.


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.