Male
Seen 2 Weeks Ago
Posted 2 Weeks Ago
28 posts
1.5 Years
I found 2 options for you:
1. If you know asm, you can search the difference between normal and the first rival battle and figure it out.
2. Use sethealingplace in level scripts. Make a script that uses special 0x0 and use
...
setflag 0xX
trainerbattle @after
...

#org @after
setflag 0xY
...



For level script :
checkflag 0xX
İf 0x1 goto @youbattled
end

#org @youbattled
checkflag 0xY
if 0x1 goto @youwon
(You lose)
...




I wrote just the main part and I hope it will help :)
Unfortunately, I don't know asm. Though about the sethealingplace I thought you could only use that for pokecentres. I also don't know much about level scripts. Are you saying that i should create a new healingplace? Can you please explain some more about that? ( I've just started hacking so sorry if i'm asking silly questions)
I thought it would be useful if you see my script so here's the main part:

#org @charm
lockall
applymovement 8 @challenge
waitmovement 8
applymovement 11 @look
applymovement 12 @look
waitmovement 11
waitmovement 12
msgbox @rivalwait 0x6
applymovement 0xFF @accepted
waitmovement 0xFF
msgbox @waitoak 0x6
applymovement 8 @syncrival
applymovement 0xFF @synchero
waitmovement 8
waitmovement 0xFF
trainerbattle 0x9 0x001 0x0 @win @lose
goto @nextonechar
setvar 0x4012 0x1
releaseall
end

#org @nextonechar
msgbox @bye 0x6
applymovement 8 @going
waitmovement 8
msgbox @bluewait 0x6
applymovement 0xFF @surprised
applymovement 8 @surprisedgreen
applymovement 13 @surprised
waitmovement 0xFF
waitmovement 8
waitmovement 13
msgbox @heartattack 0x6
applymovement 11 @challengebluesync
applymovement 12 @challengebluesync
applymovement 0xFF @challengeblueherosync
waitmovement 11
waitmovement 12
waitmovement 0xFF
special 0x0
checkgender
compare 0x800D 0x0
if 0x1 goto @boybluechar
trainerbattle 0x9 0x00D 0x0 @winb @loseb
setvar 0x4012 0x1
release
end


#org @boybluechar
trainerbattle 0x9 0x006 0x0 @winb @loseb
setvar 0x4012 0x1
release
end

the main problem is that it does not continue to @nextonechar, it only gives the @lose message and then you go to your in-game mom