PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > Discussion Board > Archive

Notices

Archive Old threads that serve no purpose are here.

 
 
Thread Tools Display Modes
Old 22nd July 2013, 11:18 AM   #1
Gal
Beginner
 
Join Date: Jul 2013
Location: Israel
Posts: 36
Gal
Default [GBA] Controlling Legendary Battle Music (No ASM)

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 (any Pokémon GBA ROM)

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 (lol).

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:
Code:
goto @[pointer]
Now, in the new pointer, write 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.

- Gal
__________________
Odd Jokes:

Spoiler:
#1 - I saw Saw
#2 - Mateo's name is NOT Matt!
#3 - Karatekid is a n00b ROM hacker (;
#4 - LaZ doesn't like deadly metal music (;
#5 - Mateo doesn't like Flannery
#6 - Mateo is a bad guy ;(
#7 - Enough jokes about Mateo (;
#8 - I EM 7 YIRZ OLD
#9 - Ann Oldman
#10 - Stunfisk
#11 - Smexy Lotads

Last edited by Gal; 23rd July 2013 at 01:04 AM.
Gal is offline  
Likes Elsa liked this post
Sponsored Links
 

Tags
asm, battle, controlling, gba, legendary, music, [Document]

Thread Tools
Display Modes

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 GMT. The time now is 09:19 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc. User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo.
Pokémon Hackers Online (PHO) is in no way affiliated with or endorsed by Nintendo LLC, Creatures, GAMEFREAK inc,
The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast.
All forum/site content (unless noted otherwise) and site designs are © 2006-2013 Pokémon Hackers Online (PHO).
Green Charizard Christos TreeckoLv100

"Black 2" by ARTPOP. Kyurem artwork by XOUS.

no new posts