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.


Reply
 
Thread Tools
  #1    
Old July 19th, 2013, 10:04 AM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Okay, it's like that. Once, I've found a way doing that without ASM, but I didn't want to release it to the public until I do some research on it.

Thanks to karatekid552, I am ready to release this!

Okay, it's damn simple, even ridiculous.
Any n00b could do that in no time!
This code is for R/S/FR/LG/E.

What we need:

- XSE 1.1.1 (that's what I am using)

_____________________________________________________________________________________

Okay, just build a script going normally, and when you want your wildbattle to start, simply write that:

Code:
setwildbattle 0x[Species] 0x[Level] 0x[Item]
special 0x138
playsong 0x[Song to play INBATTLE] 0x0
And we are done! No, it won't play that sound after battle, it will be INBATTLE.

Please note that it is NOT fully developed, it is still under development, so I can't say it will work fine on ANY situation. I have checked that while using normal person talk script, a script block and even a level script and everything worked fine.

Also, I'd like to note that while using that on a long script, you should put
Code:
goto @[pointer]
, and in the new pointer, do the script I wrote before. After the playsong command, you should write another goto command to another pointer (if you want the script to continue), but for short scripts, example:
Code:
#dynamic 0x800000

#org @start
lock
faceplayer
cry 0x1 0x2
msgbox @1 0x6
setwildbattle 0x1 0x5 0x0
special 0x138
playsong 0x299 0x0
hidesprite 0x800D
setflag 0x105
release
end

#org @1
= A wild Bulbasaur attacks!
You do NOT need the goto command.

If you're intersted, while talking with karatekid552, the subject of doing that on trainerbattles was talked about.
I will try to figure out if it's possible doing that on trainerbattles later on. Is one of the CMDs is actually settrainerbattle? (lol)

- Gal
__________________

Last edited by xGal; July 21st, 2013 at 06:09 AM.
Reply With Quote
  #2    
Old July 20th, 2013, 05:56 PM
Wobbu's Avatar
Wobbu
 
Join Date: Mar 2012
Location: Cyllage City
Gender: Male
Nature: Relaxed
Is this for FireRed, Emerald, or does is it happen to be universal? I would check myself, but I'm hundreds of miles away from my computer. Great discovery, anyways!
__________________
Team Spheal!
WAC|DCC|SOURCE
Reply With Quote
  #3    
Old July 21st, 2013, 06:08 AM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by jsziede View Post
Is this for FireRed, Emerald, or does is it happen to be universal? I would check myself, but I'm hundreds of miles away from my computer. Great discovery, anyways!
Gee, I forgot to mention

It is for R/S/E/FR/LG.
__________________
Reply With Quote
  #4    
Old July 23rd, 2013, 01:44 AM
Ksiazek Bartlomiej's Avatar
Ksiazek Bartlomiej
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 21
Gender: Male
Nature: Hardy
It do not work. I try it several Times. Allways that same effect. Event freeze game <I do it in Ruby>


Sry... It do not work becouse I use it with PKSV. In XSE work's perfectly. Did you know the script for controling Trainer Battles Music? I need it to add extra TEAM ROCKET music and Kanto Gym Leader theme.
__________________
- During Centuries... Whole worlds try keep in survive... Beafore the space start existing... In chaos eye appeared two eggs... One of mighty pokemon Arceus... Secound with less known Rejishan... Those two pokemon start build their worlds in other warps... Rejishan lose him mission... And undone world named now was TORN WORLD where now live Giratina... Arceus create world with Pokemons where live everywhere alongside with humans... What do Arceus after fail of Rejishan? He give him able to live in him world... But Rejishan want create something which been himself... And from biggest dessert upper than Unova Region start creating new region... This region is Thonsu... New species of Pokemons start locate at their region... Arceus fell angry... But forgive Rejishan and make with him friendship... But now... Is no one know... Rejishan hide in human body... Human name of Thonsu Creator is Sir Allan Newlight... - MYTH ABOUT REJISHAN (Pokemon Dirty Sun plot)

MY MUSIC SHOP - http://www.pokecommunity.com/showthread.php?t=296954

Last edited by Ksiazek Bartlomiej; July 23rd, 2013 at 03:04 AM. Reason: mistake
Reply With Quote
  #5    
Old July 23rd, 2013, 02:34 AM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by Ksiazek Bartlomiej View Post
It do not work. I try it several Times. Allways that same effect. Event freeze game <I do it in Ruby>
Really? Because i tested it in ruby and it worked fine. Can you post here your script?
__________________
Reply With Quote
  #6    
Old July 23rd, 2013, 04:10 AM
Ksiazek Bartlomiej's Avatar
Ksiazek Bartlomiej
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 21
Gender: Male
Nature: Hardy
Sry... It do not work becouse I use it with PKSV. In XSE work's perfectly. Did you know the script for controling Trainer Battles Music? I need it to add extra TEAM ROCKET music and Kanto Gym Leader theme.
__________________
- During Centuries... Whole worlds try keep in survive... Beafore the space start existing... In chaos eye appeared two eggs... One of mighty pokemon Arceus... Secound with less known Rejishan... Those two pokemon start build their worlds in other warps... Rejishan lose him mission... And undone world named now was TORN WORLD where now live Giratina... Arceus create world with Pokemons where live everywhere alongside with humans... What do Arceus after fail of Rejishan? He give him able to live in him world... But Rejishan want create something which been himself... And from biggest dessert upper than Unova Region start creating new region... This region is Thonsu... New species of Pokemons start locate at their region... Arceus fell angry... But forgive Rejishan and make with him friendship... But now... Is no one know... Rejishan hide in human body... Human name of Thonsu Creator is Sir Allan Newlight... - MYTH ABOUT REJISHAN (Pokemon Dirty Sun plot)

MY MUSIC SHOP - http://www.pokecommunity.com/showthread.php?t=296954
Reply With Quote
  #7    
Old July 23rd, 2013, 08:00 AM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by Ksiazek Bartlomiej View Post
Sry... It do not work becouse I use it with PKSV. In XSE work's perfectly. Did you know the script for controling Trainer Battles Music? I need it to add extra TEAM ROCKET music and Kanto Gym Leader theme.
Currently now, I am still investigating if it's possible doing that on trainer battles. For now, I will recommend you to follow Jambo's tutorial on class based trainer battle music . And yea, I didn't say it will work with PKSV...
__________________
Reply With Quote
  #8    
Old August 5th, 2013, 05:45 PM
Crocky's Avatar
Crocky
SuperScarlet!
 
Join Date: Feb 2009
I figured out a way to get it working with trainers and I made a thread on it. Just waiting for it to be accepted
__________________
My Pokémon Omega Ruby and Alpha Sapphire Wishlist!
Reply With Quote
  #9    
Old August 6th, 2013, 03:42 AM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by Crocky View Post
I figured out a way to get it working with trainers and I made a thread on it. Just waiting for it to be accepted
Wow, seriously?

Can you send it on PM please?

I really wanna check this out!
__________________
Reply With Quote
  #10    
Old August 6th, 2013, 05:18 AM
LCCoolJ95's Avatar
LCCoolJ95
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 19
Gender: Male
Nature: Naive
Hey, what are the codes for the species, level, items, or music? Is it like 100 for level 100 or is it different?
__________________
"The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

Fairy-type in Pokémon Emerald: http://www.pokecommunity.com/showpos...&postcount=288
Reply With Quote
  #11    
Old August 6th, 2013, 07:49 AM
Aruaruu
 
Join Date: Sep 2011
Gender: Male
Quote:
Originally Posted by LCCoolJ95 View Post
Hey, what are the codes for the species, level, items, or music? Is it like 100 for level 100 or is it different?
Use hex
so 100 would be 64

For music, you can find the value of those in A-maps Header section IIRC.
Reply With Quote
  #12    
Old August 7th, 2013, 11:16 AM
Ksiazek Bartlomiej's Avatar
Ksiazek Bartlomiej
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 21
Gender: Male
Nature: Hardy
Quote:
Originally Posted by Aruaruu View Post
Use hex
so 100 would be 64

For music, you can find the value of those in A-maps Header section IIRC.
In XSE you can in setwildbattle write Name of Pokemon <For 252-276 placeholder you must write numers> And near Level in hex. Example. We need to create deoxys battle. Simple to write.

setwildbattle DEOXYS 100 NONE

And done. It creat for you Dexoys in Lvl 100 without Item.
__________________
- During Centuries... Whole worlds try keep in survive... Beafore the space start existing... In chaos eye appeared two eggs... One of mighty pokemon Arceus... Secound with less known Rejishan... Those two pokemon start build their worlds in other warps... Rejishan lose him mission... And undone world named now was TORN WORLD where now live Giratina... Arceus create world with Pokemons where live everywhere alongside with humans... What do Arceus after fail of Rejishan? He give him able to live in him world... But Rejishan want create something which been himself... And from biggest dessert upper than Unova Region start creating new region... This region is Thonsu... New species of Pokemons start locate at their region... Arceus fell angry... But forgive Rejishan and make with him friendship... But now... Is no one know... Rejishan hide in human body... Human name of Thonsu Creator is Sir Allan Newlight... - MYTH ABOUT REJISHAN (Pokemon Dirty Sun plot)

MY MUSIC SHOP - http://www.pokecommunity.com/showthread.php?t=296954
Reply With Quote
  #13    
Old August 7th, 2013, 11:19 AM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by Ksiazek Bartlomiej View Post
In XSE you can in setwildbattle write Name of Pokemon <For 252-276 placeholder you must write numers> And near Level in hex. Example. We need to create deoxys battle. Simple to write.

setwildbattle DEOXYS 100 NONE

And done. It creat for you Dexoys in Lvl 100 without Item.
Oh, really?

That's something new!

Thanks hahahaaha
__________________
Reply With Quote
  #14    
Old August 7th, 2013, 11:29 AM
Ksiazek Bartlomiej's Avatar
Ksiazek Bartlomiej
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 21
Gender: Male
Nature: Hardy
Meybe that was oblivious. But some do not know about it XD

BTW.

What with this Trainer Battle Music controling script?
__________________
- During Centuries... Whole worlds try keep in survive... Beafore the space start existing... In chaos eye appeared two eggs... One of mighty pokemon Arceus... Secound with less known Rejishan... Those two pokemon start build their worlds in other warps... Rejishan lose him mission... And undone world named now was TORN WORLD where now live Giratina... Arceus create world with Pokemons where live everywhere alongside with humans... What do Arceus after fail of Rejishan? He give him able to live in him world... But Rejishan want create something which been himself... And from biggest dessert upper than Unova Region start creating new region... This region is Thonsu... New species of Pokemons start locate at their region... Arceus fell angry... But forgive Rejishan and make with him friendship... But now... Is no one know... Rejishan hide in human body... Human name of Thonsu Creator is Sir Allan Newlight... - MYTH ABOUT REJISHAN (Pokemon Dirty Sun plot)

MY MUSIC SHOP - http://www.pokecommunity.com/showthread.php?t=296954

Last edited by Ksiazek Bartlomiej; August 7th, 2013 at 11:37 AM.
Reply With Quote
  #15    
Old August 7th, 2013, 11:34 AM
GoGoJJTech's Avatar
GoGoJJTech
GoGo
 
Join Date: Nov 2012
Location: Earth
Age: 15
Gender: Male
Nature: Quiet
Yeah in XSE if you type in a number without the 0x it automatically assumes it's in dec.
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
Proof that I'm the third best Temple Run player in the Universe
The SoulSilver Music Patch - The Black Music Patch - Mega-Huge Sappy Tutorial - Time-Based Events - Yet Another Sprite Resource

Pokémon Platinum Red and Blue

Join me in the chat! Get help or just talk, I really don't care :D | Click here: http://chat.linkandzelda.com:9090/?c...omhacking,GoGo
Reply With Quote
  #16    
Old August 8th, 2013, 08:01 AM
Ksiazek Bartlomiej's Avatar
Ksiazek Bartlomiej
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 21
Gender: Male
Nature: Hardy
Someone know that formula for Trainer Battles? I really need to know that.
__________________
- During Centuries... Whole worlds try keep in survive... Beafore the space start existing... In chaos eye appeared two eggs... One of mighty pokemon Arceus... Secound with less known Rejishan... Those two pokemon start build their worlds in other warps... Rejishan lose him mission... And undone world named now was TORN WORLD where now live Giratina... Arceus create world with Pokemons where live everywhere alongside with humans... What do Arceus after fail of Rejishan? He give him able to live in him world... But Rejishan want create something which been himself... And from biggest dessert upper than Unova Region start creating new region... This region is Thonsu... New species of Pokemons start locate at their region... Arceus fell angry... But forgive Rejishan and make with him friendship... But now... Is no one know... Rejishan hide in human body... Human name of Thonsu Creator is Sir Allan Newlight... - MYTH ABOUT REJISHAN (Pokemon Dirty Sun plot)

MY MUSIC SHOP - http://www.pokecommunity.com/showthread.php?t=296954
Reply With Quote
  #17    
Old August 8th, 2013, 09:04 AM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by Ksiazek Bartlomiej View Post
Someone know that formula for Trainer Battles? I really need to know that.
I haven't discovered that yet, however, a guy here said he did discover it and he is waiting for his thread to get approved. Currently now, the only way to do that is to use Jambo51's ASM script or MX's jukebox script.
__________________
Reply With Quote
  #18    
Old August 8th, 2013, 11:53 AM
Ksiazek Bartlomiej's Avatar
Ksiazek Bartlomiej
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 21
Gender: Male
Nature: Hardy
MX Jokebox Script? Is there an link to thread about it? It sound intresting.
__________________
- During Centuries... Whole worlds try keep in survive... Beafore the space start existing... In chaos eye appeared two eggs... One of mighty pokemon Arceus... Secound with less known Rejishan... Those two pokemon start build their worlds in other warps... Rejishan lose him mission... And undone world named now was TORN WORLD where now live Giratina... Arceus create world with Pokemons where live everywhere alongside with humans... What do Arceus after fail of Rejishan? He give him able to live in him world... But Rejishan want create something which been himself... And from biggest dessert upper than Unova Region start creating new region... This region is Thonsu... New species of Pokemons start locate at their region... Arceus fell angry... But forgive Rejishan and make with him friendship... But now... Is no one know... Rejishan hide in human body... Human name of Thonsu Creator is Sir Allan Newlight... - MYTH ABOUT REJISHAN (Pokemon Dirty Sun plot)

MY MUSIC SHOP - http://www.pokecommunity.com/showthread.php?t=296954
Reply With Quote
  #19    
Old August 8th, 2013, 02:18 PM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by Ksiazek Bartlomiej View Post
MX Jokebox Script? Is there an link to thread about it? It sound intresting.
Sure there is! Here you go: http://www.pokecommunity.com/showthread.php?t=157294.

Mastermind_X created that feature a long time ago. It simply allows you to replace a music with another .
__________________
Reply With Quote
  #20    
Old August 9th, 2013, 04:58 PM
LCCoolJ95's Avatar
LCCoolJ95
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 19
Gender: Male
Nature: Naive
Hey, where do I edit the battle music in this script:

Spoiler:
'---------------
#org 0x8E53B6
lock
faceplayer
msgbox 0x88E6460 MSG_NORMAL '"RAIKOU: Raaaaaai!"
cry 0xF3 0x0
wildbattle 0xF3 0x2D 0x0
fadescreen 0x1
fadescreen 0x0
hidesprite LASTTALKED
setflag 0x1206
release
end


'---------
' Strings
'---------
#org 0x8E6460
= RAIKOU: Raaaaaai!
__________________
"The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

Fairy-type in Pokémon Emerald: http://www.pokecommunity.com/showpos...&postcount=288
Reply With Quote
  #21    
Old August 9th, 2013, 07:11 PM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by LCCoolJ95 View Post
Hey, where do I edit the battle music in this script:

Spoiler:
'---------------
#org 0x8E53B6
lock
faceplayer
msgbox 0x88E6460 MSG_NORMAL '"RAIKOU: Raaaaaai!"
cry 0xF3 0x0
wildbattle 0xF3 0x2D 0x0
fadescreen 0x1
fadescreen 0x0
hidesprite LASTTALKED
setflag 0x1206
release
end


'---------
' Strings
'---------
#org 0x8E6460
= RAIKOU: Raaaaaai!
Sorry, but I don't wanna make this thread a script requesting thread. The answer can be found on the tutorial.
__________________
Reply With Quote
  #22    
Old August 10th, 2013, 02:43 PM
LCCoolJ95's Avatar
LCCoolJ95
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 19
Gender: Male
Nature: Naive
Quote:
Originally Posted by galooloo View Post
Sorry, but I don't wanna make this thread a script requesting thread. The answer can be found on the tutorial.
No, I'm not requesting a script. I'm just wondering where do I edit the music.
__________________
"The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

Fairy-type in Pokémon Emerald: http://www.pokecommunity.com/showpos...&postcount=288
Reply With Quote
  #23    
Old August 10th, 2013, 04:08 PM
xGal
du bist n00b
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
Quote:
Originally Posted by LCCoolJ95 View Post
No, I'm not requesting a script. I'm just wondering where do I edit the music.
Read the tutorial...

I wouldn't post a tutorial (and it won't get approved) without the main thing. If you know basic English, you might find the answer in the tutorial.
__________________
Reply With Quote
  #24    
Old August 14th, 2013, 05:54 PM
manadhon's Avatar
manadhon
RTX-008L
 
Join Date: May 2013
Location: Khazad-dûm
Age: 16
Gender: Male
Nature: Lax
If anyone is interested, I figured out how to do this in PKSV.

Instead of using playsong as in XSE, you would use playsound:
Code:
battle (Pokemon) 0x(level) (Item)
special 0x138
playsound 0x(song) 0x(song)
The song MUST be put twice, or it will be compiled as "playsound 0x0 0x0."
__________________
"You can't lie to the Moon!"

Active member of Team Silver Destiny

Last edited by manadhon; August 15th, 2013 at 10:22 AM. Reason: Small mistake
Reply With Quote
  #25    
Old August 15th, 2013, 07:50 AM
LCCoolJ95's Avatar
LCCoolJ95
Limited Capacity
 
Join Date: May 2009
Location: The World That Never Was
Age: 19
Gender: Male
Nature: Naive
This process does not work with Emerald. I'm trying to add in a battle against Raikou using the Battle vs Legendary Dogs theme. I made the script, and when I talked to the Raikou sprite, Raikou makes its cry, the game shakes, and it freezes

What am I doing wrong? Should I post the script to show you?
__________________
"The greatest obstacle in life is Yourself. Overcome it, and you will achieve the greatest accomplishment of all." -Art Beins, 1982

Fairy-type in Pokémon Emerald: http://www.pokecommunity.com/showpos...&postcount=288
Reply With Quote
Reply
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 04:57 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.