PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > Other Generations Hacking > Guides & Documentation

Guides & Documentation Learn how to make your own Pokémon game through the process of ROM Hacking, or help out the community by sharing your information.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 8th January 2017, 11:41 PM   #14
Thirteen1355
n00b
 
Thirteen1355's Avatar
 
Join Date: Jan 2017
Location: Lands of Nether
Posts: 6
Thirteen1355
Default

Hello, @Sky0fBlades, many thanks for helping me out in advance with the information you posted earlier!
I want to do the same thing as Gameskiller01, change an already existing trainer so I can change the music. I have opened the script for Sidney of the Elite Four in this case. What exactly do I have to do now? Do I just have to add:
special 0x3E
playsong 0x1C2 0x0
(1C2 is Leaf Green Elite 4 song)
just above the trainerbattle line, and should it work then?
And how do you save the script into the ROM?

This is the part of the script I'm referring to, with the lines I added in bold:
'---------------
#org 0x109A4D3
lock
faceplayer
checkflag 0x1202
if 0x1 goto 0x909A710
special 0x3E
playsong 0x1C2 0x0

trainerbattle 0x1 0x201 0x0 0x90D8C02 0x90D8C8A 0x909A72D
msgbox 0x9107066 MSG_FACE '"IVAN: I am not familiar with the\n..."
release
end
Is this how it should be done?

Last edited by Thirteen1355; 9th January 2017 at 12:12 PM.
Thirteen1355 is offline   Reply With Quote
 

Tags
asm, battle, controlling, emerald, music, trainer, [Tutorial]

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 07:23 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc. User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2017 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