- 64
- Posts
- 6
- Years
- London
- Seen Apr 18, 2025
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/threads/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;
I've also tried special 0x3b but I think that's the command for RSE.
Any help would be hreatly appreciated. xxxxx
I can get it to work in 0x0 battles thanks to this tutorial;
https://www.pokecommunity.com/threads/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
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