The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Chainging trainer battle music then continuing script Fire Red Help

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old September 13th, 2018 (3:43 AM).
chazfoot's Avatar
chazfoot chazfoot is offline
 
Join Date: Jul 2018
Location: London
Gender: Male
Posts: 63
I've seen a couple of threads on this, and I was wondering if anyone had had any luck using the Special 0x38 command in Fire Red for 0x1 type trainer battles, that continue script execution after the battle.

I can get it to work in 0x0 battles thanks to this tutorial;
https://www.pokecommunity.com/showthread.php?t=306281

After some fiddling I can get the command to work, but ti seems to only really work for 0x0 type battles, if I use the special for a rival battle for example, the battle works as intended and the music even changes, but the script execution ceases immediately after battle.

If I decompile the script then attempt to compile again without changing anything I get error 6 'Parameter Overflow' at the line = trainerbattle command.

As an example;

Spoiler:
#org @rival0
msgbox @16 0x6
special 0x38
playsong 0x109 0x0
trainerbattle 0x1 0x1A 0x0 @17 @18 @continue4
end

Decompiled;

#org 0x1318D92
msgbox 0x931931A MSG_NORMAL '"[red_fr]Haha, I knew I'd see you i..."
special 0x38
playsong 0x109 0x0
trainerbattle 0x1 0x1A 0x0 0x9319347 0x931936D 0x9318E1E



I've also tried special 0x3b but I think that's the command for RSE.

Any help would be hreatly appreciated. xxxxx
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

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 -8. The time now is 9:17 AM.