The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other How to make a Trainer Fly in or come riding on a Bike? (https://www.pokecommunity.com/showthread.php?t=355540)

LegendChu September 12th, 2015 10:21 PM

How to make a Trainer Fly in or come riding on a Bike?
 
Is there a Script that can be made, to make a Trainer Fly in on his/her Pokemon (like Steven does, when the weather goes bad, in Emerald) or make a Trainer come riding on his/her bike (like Brendan/May do during the Rival Battle near the Weather Institute) & then engage them in Battle?

Pika Pika :chu:

C me September 13th, 2015 1:38 PM

Look carefully at those scripts, the steven flying bit happens before he speaks so looks before the msgbox. There are some doanimation commands and stuff, experiment with them.

Not sure about the cycling but again the movement will happen before they say anything so look there in the script.

LegendChu September 15th, 2015 8:25 PM

Quote:

Originally Posted by C me (Post 8927048)
Look carefully at those scripts, the steven flying bit happens before he speaks so looks before the msgbox. There are some doanimation commands and stuff, experiment with them.

Checked the Steven OW on Route 128, but it doesn't have a Script attached. Where is the script located?

Pika Pika :chu:

C me September 15th, 2015 11:12 PM

Quote:

Originally Posted by LegendChu (Post 8930455)
Checked the Steven OW on Route 128, but it doesn't have a Script attached. Where is the script located?

Pika Pika :chu:

It's a level script on that map (notice the event happens as soon as you warp there?) the one with number 02(loads ...)

LegendChu September 16th, 2015 3:41 AM

Quote:

Originally Posted by C me (Post 8930614)
It's a level script on that map (notice the event happens as soon as you warp there?) the one with number 02(loads ...)

I'm supposing by Level Script you mean the Scripts under "Header" on A-Map, right.

I think the Steven Script on Route 128, is Script No. 1, this one:-

Spoiler:
'-----------------------
#org 0x1F6B57
lockall
pause 0x14
applymovement 0x4 0x81F6C89
waitmovement 0x0
msgbox 0x81F6DF5 '"ARCHIE: What happened[.]\nWhat is t..."
callstd 0x4
closeonkeypress
applymovement 0x4 0x81F6C91
waitmovement 0x0
msgbox 0x81F6E48 '"I[.]\nI only wanted[.]"
callstd 0x4
closeonkeypress
applymovement 0x5 0x81F6CAD
waitmovement 0x0
applymovement 0x4 0x82725A6
waitmovement 0x0
msgbox 0x81F6E5A '"MAXIE: Do you understand now,\nARCH..."
callstd 0x4
closeonkeypress
applymovement 0x5 0x81F6CBB
waitmovement 0x0
applymovement MOVE_PLAYER 0x82725A6
waitmovement 0x0
msgbox 0x81F6F1E '"MAXIE: [player], don't say anything..."
callstd 0x4
closeonkeypress
applymovement 0x4 0x81F6C96
applymovement MOVE_PLAYER 0x82725A4
applymovement 0x5 0x81F6CA8
waitmovement 0x0
msgbox 0x81F704F '"MAXIE: This defies belief[.]\pThose..."
callstd 0x4
closeonkeypress
pause 0x28
applymovement 0x5 0x81F6CB0
applymovement 0x4 0x81F6C9B
waitmovement 0x0
hidesprite 0x5
hidesprite 0x4
pause 0x64
setanimation 0x0 0x1
doanimation 0x1E
checkanimation 0x1E
showsprite 0x3
applymovement 0x3 0x81F6C87
waitmovement 0x0
applymovement MOVE_PLAYER 0x82725A8
waitmovement 0x0
msgbox 0x81F70C9 '"STEVEN: [player]\v\h05!\nWhat is ha..."
callstd 0x4
closeonkeypress
applymovement 0x3 0x81F6C85
applymovement MOVE_PLAYER 0x82725A6
waitmovement 0x0
msgbox 0x81F70EA '"This is terrible[.]\pAfter the scor..."
callstd 0x4
applymovement 0x3 0x82725AA
waitmovement 0x0
msgbox 0x81F721B '"[player]\v\h05[.]\nI don't know wha..."
callstd 0x4
closeonkeypress
applymovement 0x3 0x82725AA
waitmovement 0x0
pause 0x32
setanimation 0x0 0x1
doanimation 0x1E
pause 0xF
hidesprite 0x3
checkanimation 0x1E
clearflag 0x4000
setvar 0x407B 0x2
releaseall
end


'-----------
' Movements
'-----------
#org 0x1F6C89
#raw 15 'Slide Down
#raw 27 'Step on the Spot Left (Fastest)
#raw 14 'Delay5
#raw 28 'Step on the Spot Right (Fastest)
#raw 14 'Delay5
#raw 14 'Delay5
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x1F6C91
#raw 40 'mov40
#raw 5 'Step Up (Slow)
#raw 14 'Delay5
#raw 41 'mov41
#raw FE 'End of Movements

#org 0x1F6CAD
#raw A 'Step Left (Normal)
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x2725A6
#raw 26 'Step on the Spot Up (Fastest)
#raw FE 'End of Movements

#org 0x1F6CBB
#raw B 'Step Right (Normal)
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x1F6C96
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 28 'Step on the Spot Right (Fastest)
#raw FE 'End of Movements

#org 0x2725A4
#raw 27 'Step on the Spot Left (Fastest)
#raw FE 'End of Movements

#org 0x1F6CA8
#raw A 'Step Left (Normal)
#raw A 'Step Left (Normal)
#raw 13 'Delay4
#raw 12 'Delay3
#raw FE 'End of Movements

#org 0x1F6CB0
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F6C9B
#raw 14 'Delay5
#raw 14 'Delay5
#raw 16 'Slide Up
#raw 17 'Slide Left
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F6C87
#raw 17 'Slide Left
#raw FE 'End of Movements

#org 0x2725A8
#raw 28 'Step on the Spot Right (Fastest)
#raw FE 'End of Movements

#org 0x1F6C85
#raw 9 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x2725AA
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x1F6DF5
= ARCHIE: What happened[.]\nWhat is this wretched scene[.]\pDid I[.]make a horrible mistake?

#org 0x1F6E48
= I[.]\nI only wanted[.]

#org 0x1F6E5A
= MAXIE: Do you understand now,\nARCHIE?\pDo you finally see how disastrous\nyour dream turned out to be?\pWe have to hurry! We have to do\nsomething before the situation goes\lcompletely out of control!

#org 0x1F6F1E
= MAXIE: [player], don't say anything.\pI know that I have no right to be\ncritical of ARCHIE[.]\pBut the way things are now, I doubt\nthat we humans will be capable of\ldoing anything about it.\pBut neither can we stand by and\njust watch helplessly.\pThe responsibility for putting an end\nto this falls to ARCHIE and me[.]

#org 0x1F704F
= MAXIE: This defies belief[.]\pThose super-ancient POKéMON[.]\pTheir power is unbelievable.\nThey've upset the balance of nature[.]

#org 0x1F70C9
= STEVEN: [player]\v\h05!\nWhat is happening?

#org 0x1F70EA
= This is terrible[.]\pAfter the scorching heat wave ended,\nthis deluge began.\pIf this doesn't stop, all of HOENN[.]\nNo, the whole world will drown.\pThis huge rain cloud is spreading\nfrom above SOOTOPOLIS[.]\pWhat in the world is taking place there?\pThere's no point arguing here[.]\nSOOTOPOLIS might provide answers[.]

#org 0x1F721B
= [player]\v\h05[.]\nI don't know what you intend to do,\lbut don't do anything reckless.\pOkay.\nI'm going to SOOTOPOLIS.


But that also has the Archie, Maxie conversation attached to it. From where does the Steven Script start?

Pika Pika :chu:

esperance September 16th, 2015 7:42 AM

Quote:

Originally Posted by LegendChu (Post 8930741)
...

Spoiler:
'-----------------------
#org 0x1F6B57
lockall
pause 0x14
applymovement 0x4 0x81F6C89
waitmovement 0x0
msgbox 0x81F6DF5 '"ARCHIE: What happened[.]\nWhat is t..."
callstd 0x4
closeonkeypress
applymovement 0x4 0x81F6C91
waitmovement 0x0
msgbox 0x81F6E48 '"I[.]\nI only wanted[.]"
callstd 0x4
closeonkeypress
applymovement 0x5 0x81F6CAD
waitmovement 0x0
applymovement 0x4 0x82725A6
waitmovement 0x0
msgbox 0x81F6E5A '"MAXIE: Do you understand now,\nARCH..."
callstd 0x4
closeonkeypress
applymovement 0x5 0x81F6CBB
waitmovement 0x0
applymovement MOVE_PLAYER 0x82725A6
waitmovement 0x0
msgbox 0x81F6F1E '"MAXIE: [player], don't say anything..."
callstd 0x4
closeonkeypress
applymovement 0x4 0x81F6C96
applymovement MOVE_PLAYER 0x82725A4
applymovement 0x5 0x81F6CA8
waitmovement 0x0
msgbox 0x81F704F '"MAXIE: This defies belief[.]\pThose..."
callstd 0x4
closeonkeypress
pause 0x28
applymovement 0x5 0x81F6CB0
applymovement 0x4 0x81F6C9B
waitmovement 0x0
hidesprite 0x5
hidesprite 0x4
pause 0x64
setanimation 0x0 0x1
doanimation 0x1E
checkanimation 0x1E
showsprite 0x3

applymovement 0x3 0x81F6C87
waitmovement 0x0
applymovement MOVE_PLAYER 0x82725A8
waitmovement 0x0
msgbox 0x81F70C9 '"STEVEN: [player]\v\h05!\nWhat is ha..."
callstd 0x4
closeonkeypress
applymovement 0x3 0x81F6C85
applymovement MOVE_PLAYER 0x82725A6
waitmovement 0x0
msgbox 0x81F70EA '"This is terrible[.]\pAfter the scor..."
callstd 0x4
applymovement 0x3 0x82725AA
waitmovement 0x0
msgbox 0x81F721B '"[player]\v\h05[.]\nI don't know wha..."
callstd 0x4
closeonkeypress
applymovement 0x3 0x82725AA
waitmovement 0x0
pause 0x32
setanimation 0x0 0x1
doanimation 0x1E
pause 0xF
hidesprite 0x3
checkanimation 0x1E
clearflag 0x4000
setvar 0x407B 0x2
releaseall
end


'-----------
' Movements
'-----------
#org 0x1F6C89
#raw 15 'Slide Down
#raw 27 'Step on the Spot Left (Fastest)
#raw 14 'Delay5
#raw 28 'Step on the Spot Right (Fastest)
#raw 14 'Delay5
#raw 14 'Delay5
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x1F6C91
#raw 40 'mov40
#raw 5 'Step Up (Slow)
#raw 14 'Delay5
#raw 41 'mov41
#raw FE 'End of Movements

#org 0x1F6CAD
#raw A 'Step Left (Normal)
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x2725A6
#raw 26 'Step on the Spot Up (Fastest)
#raw FE 'End of Movements

#org 0x1F6CBB
#raw B 'Step Right (Normal)
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x1F6C96
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 28 'Step on the Spot Right (Fastest)
#raw FE 'End of Movements

#org 0x2725A4
#raw 27 'Step on the Spot Left (Fastest)
#raw FE 'End of Movements

#org 0x1F6CA8
#raw A 'Step Left (Normal)
#raw A 'Step Left (Normal)
#raw 13 'Delay4
#raw 12 'Delay3
#raw FE 'End of Movements

#org 0x1F6CB0
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F6C9B
#raw 14 'Delay5
#raw 14 'Delay5
#raw 16 'Slide Up
#raw 17 'Slide Left
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F6C87
#raw 17 'Slide Left
#raw FE 'End of Movements

#org 0x2725A8
#raw 28 'Step on the Spot Right (Fastest)
#raw FE 'End of Movements

#org 0x1F6C85
#raw 9 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x2725AA
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x1F6DF5
= ARCHIE: What happened[.]\nWhat is this wretched scene[.]\pDid I[.]make a horrible mistake?

#org 0x1F6E48
= I[.]\nI only wanted[.]

#org 0x1F6E5A
= MAXIE: Do you understand now,\nARCHIE?\pDo you finally see how disastrous\nyour dream turned out to be?\pWe have to hurry! We have to do\nsomething before the situation goes\lcompletely out of control!

#org 0x1F6F1E
= MAXIE: [player], don't say anything.\pI know that I have no right to be\ncritical of ARCHIE[.]\pBut the way things are now, I doubt\nthat we humans will be capable of\ldoing anything about it.\pBut neither can we stand by and\njust watch helplessly.\pThe responsibility for putting an end\nto this falls to ARCHIE and me[.]

#org 0x1F704F
= MAXIE: This defies belief[.]\pThose super-ancient POKéMON[.]\pTheir power is unbelievable.\nThey've upset the balance of nature[.]

#org 0x1F70C9
= STEVEN: [player]\v\h05!\nWhat is happening?

#org 0x1F70EA
= This is terrible[.]\pAfter the scorching heat wave ended,\nthis deluge began.\pIf this doesn't stop, all of HOENN[.]\nNo, the whole world will drown.\pThis huge rain cloud is spreading\nfrom above SOOTOPOLIS[.]\pWhat in the world is taking place there?\pThere's no point arguing here[.]\nSOOTOPOLIS might provide answers[.]

#org 0x1F721B
= [player]\v\h05[.]\nI don't know what you intend to do,\lbut don't do anything reckless.\pOkay.\nI'm going to SOOTOPOLIS.


I highlighted the part you're looking for in red. Honestly, if you cannot find the message that starts Steven's text, this level of scripting may be beyond you, and you should definitely practice some more. Besides, XSE gives you comments (like the one I highlighted in green) to help you find relevant information.

LegendChu September 16th, 2015 8:49 PM

Quote:

Originally Posted by Hopeless Masquerade (Post 8930903)
Spoiler:
'-----------------------
#org 0x1F6B57
lockall
pause 0x14
applymovement 0x4 0x81F6C89
waitmovement 0x0
msgbox 0x81F6DF5 '"ARCHIE: What happened[.]\nWhat is t..."
callstd 0x4
closeonkeypress
applymovement 0x4 0x81F6C91
waitmovement 0x0
msgbox 0x81F6E48 '"I[.]\nI only wanted[.]"
callstd 0x4
closeonkeypress
applymovement 0x5 0x81F6CAD
waitmovement 0x0
applymovement 0x4 0x82725A6
waitmovement 0x0
msgbox 0x81F6E5A '"MAXIE: Do you understand now,\nARCH..."
callstd 0x4
closeonkeypress
applymovement 0x5 0x81F6CBB
waitmovement 0x0
applymovement MOVE_PLAYER 0x82725A6
waitmovement 0x0
msgbox 0x81F6F1E '"MAXIE: [player], don't say anything..."
callstd 0x4
closeonkeypress
applymovement 0x4 0x81F6C96
applymovement MOVE_PLAYER 0x82725A4
applymovement 0x5 0x81F6CA8
waitmovement 0x0
msgbox 0x81F704F '"MAXIE: This defies belief[.]\pThose..."
callstd 0x4
closeonkeypress
pause 0x28
applymovement 0x5 0x81F6CB0
applymovement 0x4 0x81F6C9B
waitmovement 0x0
hidesprite 0x5
hidesprite 0x4
pause 0x64
setanimation 0x0 0x1
doanimation 0x1E
checkanimation 0x1E
showsprite 0x3

applymovement 0x3 0x81F6C87
waitmovement 0x0
applymovement MOVE_PLAYER 0x82725A8
waitmovement 0x0
msgbox 0x81F70C9 '"STEVEN: [player]\v\h05!\nWhat is ha..."
callstd 0x4
closeonkeypress
applymovement 0x3 0x81F6C85
applymovement MOVE_PLAYER 0x82725A6
waitmovement 0x0
msgbox 0x81F70EA '"This is terrible[.]\pAfter the scor..."
callstd 0x4
applymovement 0x3 0x82725AA
waitmovement 0x0
msgbox 0x81F721B '"[player]\v\h05[.]\nI don't know wha..."
callstd 0x4
closeonkeypress
applymovement 0x3 0x82725AA
waitmovement 0x0
pause 0x32
setanimation 0x0 0x1
doanimation 0x1E
pause 0xF
hidesprite 0x3
checkanimation 0x1E
clearflag 0x4000
setvar 0x407B 0x2
releaseall
end


'-----------
' Movements
'-----------
#org 0x1F6C89
#raw 15 'Slide Down
#raw 27 'Step on the Spot Left (Fastest)
#raw 14 'Delay5
#raw 28 'Step on the Spot Right (Fastest)
#raw 14 'Delay5
#raw 14 'Delay5
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x1F6C91
#raw 40 'mov40
#raw 5 'Step Up (Slow)
#raw 14 'Delay5
#raw 41 'mov41
#raw FE 'End of Movements

#org 0x1F6CAD
#raw A 'Step Left (Normal)
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x2725A6
#raw 26 'Step on the Spot Up (Fastest)
#raw FE 'End of Movements

#org 0x1F6CBB
#raw B 'Step Right (Normal)
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x1F6C96
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 28 'Step on the Spot Right (Fastest)
#raw FE 'End of Movements

#org 0x2725A4
#raw 27 'Step on the Spot Left (Fastest)
#raw FE 'End of Movements

#org 0x1F6CA8
#raw A 'Step Left (Normal)
#raw A 'Step Left (Normal)
#raw 13 'Delay4
#raw 12 'Delay3
#raw FE 'End of Movements

#org 0x1F6CB0
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 17 'Slide Left
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F6C9B
#raw 14 'Delay5
#raw 14 'Delay5
#raw 16 'Slide Up
#raw 17 'Slide Left
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F6C87
#raw 17 'Slide Left
#raw FE 'End of Movements

#org 0x2725A8
#raw 28 'Step on the Spot Right (Fastest)
#raw FE 'End of Movements

#org 0x1F6C85
#raw 9 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x2725AA
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x1F6DF5
= ARCHIE: What happened[.]\nWhat is this wretched scene[.]\pDid I[.]make a horrible mistake?

#org 0x1F6E48
= I[.]\nI only wanted[.]

#org 0x1F6E5A
= MAXIE: Do you understand now,\nARCHIE?\pDo you finally see how disastrous\nyour dream turned out to be?\pWe have to hurry! We have to do\nsomething before the situation goes\lcompletely out of control!

#org 0x1F6F1E
= MAXIE: [player], don't say anything.\pI know that I have no right to be\ncritical of ARCHIE[.]\pBut the way things are now, I doubt\nthat we humans will be capable of\ldoing anything about it.\pBut neither can we stand by and\njust watch helplessly.\pThe responsibility for putting an end\nto this falls to ARCHIE and me[.]

#org 0x1F704F
= MAXIE: This defies belief[.]\pThose super-ancient POKéMON[.]\pTheir power is unbelievable.\nThey've upset the balance of nature[.]

#org 0x1F70C9
= STEVEN: [player]\v\h05!\nWhat is happening?

#org 0x1F70EA
= This is terrible[.]\pAfter the scorching heat wave ended,\nthis deluge began.\pIf this doesn't stop, all of HOENN[.]\nNo, the whole world will drown.\pThis huge rain cloud is spreading\nfrom above SOOTOPOLIS[.]\pWhat in the world is taking place there?\pThere's no point arguing here[.]\nSOOTOPOLIS might provide answers[.]

#org 0x1F721B
= [player]\v\h05[.]\nI don't know what you intend to do,\lbut don't do anything reckless.\pOkay.\nI'm going to SOOTOPOLIS.


I highlighted the part you're looking for in red. Honestly, if you cannot find the message that starts Steven's text, this level of scripting may be beyond you, and you should definitely practice some more. Besides, XSE gives you comments (like the one I highlighted in green) to help you find relevant information.

Well ya, Hopeless Masquerade you're right, Scripting is not one of my strong points:(, but I sort of made out that the Steven Script starts from there, just wanted to be sure.

Okay, but the thing is that even if I copy the Script & create a Trainer Battle, the Script will still make Steven fly in & not the Trainer I want, because I'll have to create a new OW for that to happen right?

And what about the ride bicycle Script, how does that work?

Pika Pika :chu:

esperance September 17th, 2015 3:48 AM

Quote:

Originally Posted by LegendChu (Post 8931803)
Okay, but the thing is that even if I copy the Script & create a Trainer Battle, the Script will still make Steven fly in & not the Trainer I want, because I'll have to create a new OW for that to happen right?

Yes, you'll need to modify it to work with the overworld you want to use.

Quote:

Originally Posted by LegendChu (Post 8931803)
And what about the ride bicycle Script, how does that work?

Here's the thing: there are only two OWs that use the bicycle, the hero and the heroine. Unless you're planning to use either of them, you won't be able to make a character "ride a bike" because they don't have OWs for that. If you do want to see how it's done, the best thing to do would be to check the script for the rival on Route 119, because the rival shows up riding a bicycle there, if I remember correctly.

LegendChu September 18th, 2015 8:42 PM

Quote:

Originally Posted by Hopeless Masquerade (Post 8932127)
Here's the thing: there are only two OWs that use the bicycle, the hero and the heroine. Unless you're planning to use either of them, you won't be able to make a character "ride a bike" because they don't have OWs for that. If you do want to see how it's done, the best thing to do would be to check the script for the rival on Route 119, because the rival shows up riding a bicycle there, if I remember correctly.

Actually you're wrong, because there are a couple more OW Trainer Sprites riding bikes - Triathletes (m) & (f)), the ones on Cycling Road (Sprite Nos. 57 & 58 on NSE)

Anyways, I'm supposing this is the Rival Battle Script of Route 119 (to the right of the Weather Institute) that you're talking about.

Spoiler:
'-----------------------
#org 0x1F447D
setvar 0x4001 0x2
goto 0x81F4488
end

'-----------------------
#org 0x1F4488
lockall
showsprite 0x19
checkgender
compare LASTRESULT 0x0
if 0x1 call 0x81F4501
compare LASTRESULT 0x1
if 0x1 call 0x81F4506
pause 0x41
compare 0x4001 0x1
if 0x1 call 0x81F46C6
compare 0x4001 0x2
if 0x1 call 0x81F46D1
applymovement MOVE_PLAYER 0x82725AA
waitmovement 0x0
pause 0x1E
compare 0x4001 0x1
if 0x1 call 0x81F4700
compare 0x4001 0x2
if 0x1 call 0x81F470F
hidesprite 0x19
showsprite 0x10
pause 0x1E
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x81F450B
compare LASTRESULT 0x1
if 0x1 goto 0x81F4585
releaseall
end

'-----------------------
#org 0x1F4501
playsong 0x19F 0x1
return

'-----------------------
#org 0x1F4506
playsong 0x1A5 0x1
return

'-----------------------
#org 0x1F46C6
applymovement 0x19 0x81F4728
waitmovement 0x0
return

'-----------------------
#org 0x1F46D1
applymovement 0x19 0x81F4732
waitmovement 0x0
return

'-----------------------
#org 0x1F4700
movesprite2 0x10 0x19 0x20
movesprite2 0x19 0x19 0x20
return

'-----------------------
#org 0x1F470F
movesprite2 0x10 0x1A 0x20
movesprite2 0x19 0x1A 0x20
return

'-----------------------
#org 0x1F450B
msgbox 0x81F49FD '"MAY: [player]\v\h05!\nWhere were yo..."
callstd 0x4
copyvar 0x8000 0x4023
compare 0x8000 0x0
if 0x1 goto 0x81F453A
compare 0x8000 0x1
if 0x1 goto 0x81F454A
compare 0x8000 0x2
if 0x1 goto 0x81F455A
end

'-----------------------
#org 0x1F4585
msgbox 0x81F4C9A '"BRENDAN: [player]! So this is where..."
callstd 0x4
copyvar 0x8000 0x4023
compare 0x8000 0x0
if 0x1 goto 0x81F45B4
compare 0x8000 0x1
if 0x1 goto 0x81F45C4
compare 0x8000 0x2
if 0x1 goto 0x81F45D4
end

'-----------------------
#org 0x1F453A
trainerbattle 0x3 0x216 0x0 0x81F4A98
goto 0x81F456A
end

'-----------------------
#org 0x1F454A
trainerbattle 0x3 0x219 0x0 0x81F4A98
goto 0x81F456A
end

'-----------------------
#org 0x1F455A
trainerbattle 0x3 0x213 0x0 0x81F4A98
goto 0x81F456A
end

'-----------------------
#org 0x1F45B4
trainerbattle 0x3 0x20D 0x0 0x81F4D24
goto 0x81F45E4
end

'-----------------------
#org 0x1F45C4
trainerbattle 0x3 0x210 0x0 0x81F4D24
goto 0x81F45E4
end

'-----------------------
#org 0x1F45D4
trainerbattle 0x3 0x20A 0x0 0x81F4D24
goto 0x81F45E4
end

'-----------------------
#org 0x1F456A
msgbox 0x81F4AF3 '"MAY: But I had absolutely nothing t..."
callstd 0x4
call 0x81F45FF
msgbox 0x81F4B56 '"MAY: Use FLY, and your POKéMON will..."
callstd 0x4
goto 0x81F460F
end

'-----------------------
#org 0x1F45E4
msgbox 0x81F4D4B '"BRENDAN: I'd say you're good enough..."
callstd 0x4
call 0x81F45FF
msgbox 0x81F4DB5 '"BRENDAN: Use FLY, and your POKéMON\..."
callstd 0x4
goto 0x81F460F
end

'-----------------------
#org 0x1F45FF
giveitem 0x154 0x1 0x0
setflag 0x6E
return

'-----------------------
#org 0x1F460F
closeonkeypress
compare 0x4001 0x1
if 0x1 call 0x81F4700
compare 0x4001 0x2
if 0x1 call 0x81F470F
hidesprite 0x10
showsprite 0x19
pause 0x1E
compare 0x4001 0x1
if 0x1 call 0x81F46DC
compare 0x4001 0x2
if 0x1 call 0x81F46EE
hidesprite 0x19
setvar 0x4072 0x1
playsong2 0x0
fadedefault
pause 0x3C
compare 0x4001 0x1
if 0x1 call 0x81F46A0
compare 0x4001 0x2
if 0x1 call 0x81F46A8
showsprite 0x2B
applymovement 0x2B 0x81F4752
waitmovement 0x0
addvar 0x40D1 0x1
msgbox 0x81F4E60 '"SCOTT: Hahahah!\nWay to go, [player..."
callstd 0x4
closeonkeypress
compare 0x4001 0x1
if 0x1 call 0x81F46B0
compare 0x4001 0x2
if 0x1 call 0x81F46BB
hidesprite 0x2B
releaseall
end

'-----------------------
#org 0x1F46DC
applymovement MOVE_PLAYER 0x81F471E
applymovement 0x19 0x81F473D
waitmovement 0x0
return

'-----------------------
#org 0x1F46EE
applymovement MOVE_PLAYER 0x81F4723
applymovement 0x19 0x81F4747
waitmovement 0x0
return

'-----------------------
#org 0x1F46A0
movesprite2 0x2B 0x1B 0x19
return

'-----------------------
#org 0x1F46A8
movesprite2 0x2B 0x1C 0x19
return

'-----------------------
#org 0x1F46B0
applymovement 0x2B 0x81F475A
waitmovement 0x0
return

'-----------------------
#org 0x1F46BB
applymovement 0x2B 0x81F4763
waitmovement 0x0
return


'-----------
' Movements
'-----------
#org 0x2725AA
#raw 25 'Step on the Spot Down (Fastest)
#raw FE 'End of Movements

#org 0x1F4728
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F4732
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F4752
#raw 8 'Step Down (Normal)
#raw 8 'Step Down (Normal)
#raw 8 'Step Down (Normal)
#raw 8 'Step Down (Normal)
#raw A 'Step Left (Normal)
#raw A 'Step Left (Normal)
#raw 8 'Step Down (Normal)
#raw FE 'End of Movements

#org 0x1F471E
#raw 14 'Delay5
#raw 28 'Step on the Spot Right (Fastest)
#raw 13 'Delay4
#raw 26 'Step on the Spot Up (Fastest)
#raw FE 'End of Movements

#org 0x1F473D
#raw 18 'Slide Right
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 18 'Slide Right
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F4723
#raw 14 'Delay5
#raw 27 'Step on the Spot Left (Fastest)
#raw 13 'Delay4
#raw 26 'Step on the Spot Up (Fastest)
#raw FE 'End of Movements

#org 0x1F4747
#raw 17 'Slide Left
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 18 'Slide Right
#raw 18 'Slide Right
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw 16 'Slide Up
#raw FE 'End of Movements

#org 0x1F475A
#raw 9 'Step Up (Normal)
#raw B 'Step Right (Normal)
#raw B 'Step Right (Normal)
#raw 9 'Step Up (Normal)
#raw 9 'Step Up (Normal)
#raw 9 'Step Up (Normal)
#raw 9 'Step Up (Normal)
#raw 9 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x1F4763
#raw 9 'Step Up (Normal)
#raw B 'Step Right (Normal)
#raw 9 'Step Up (Normal)
#raw 9 'Step Up (Normal)
#raw 9 'Step Up (Normal)
#raw 9 'Step Up (Normal)
#raw 9 'Step Up (Normal)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x1F49FD
= MAY: [player]\v\h05!\nWhere were you? I was looking for you!\pHow much stronger have you gotten?\nLet me check for you!\pReady with your POKéMON?\nOf course you are! Go!

#org 0x1F4C9A
= BRENDAN: [player]! So this is where\nyou've been looking for POKéMON?\pLet me see how good you got.\nI'll test you!\pNow!\nIt's a battle, so battle!

#org 0x1F4A98
= Achah!\n[player]\v\h05, you're strong!\pI was worried that you might be\nstruggling with your training.

#org 0x1F4D24
= Hmm[.]\nYou've gotten pretty darn decent.

#org 0x1F4AF3
= MAY: But I had absolutely nothing to\nworry about! Keep it up!\pAnd, here! I have a present for you.

#org 0x1F4B56
= MAY: Use FLY, and your POKéMON will\ninstantly carry you to any town you've\lalready visited.\pBut, to use FLY, you have to get\nthe GYM BADGE from FORTREE CITY.\lThat's important, so don't forget.\pYou should FLY home and visit\nLITTLEROOT for a change.\pI bet your mom's worried about you,\n[player]\v\h05.\pWell, let's meet again somewhere!

#org 0x1F4D4B
= BRENDAN: I'd say you're good enough\nto search for POKéMON anywhere.\pHere, I'll give you this.\nTry it out.

#org 0x1F4DB5
= BRENDAN: Use FLY, and your POKéMON\ninstantly carries you to any town\lyou've already visited.\pBut you need the FORTREE GYM BADGE \nto do that.\pAnyway, I have to move along.

#org 0x1F4E60
= SCOTT: Hahahah!\nWay to go, [player]\v\h05!\pI just passed by a TRAINER riding\na BIKE.\pYou just beat that TRAINER, didn't you?\nIt was pretty obvious that you did.\pThe kid looked really upset with\na face all red from anger.\pI sure seem to run into you often.\nAre you off to FORTREE GYM next?\pI expect that you'll do well at the GYM.\nWell, I'll be seeing you!


It seems a bit confusing though, because none of the Sprites mentioned in the Script, belong to either Brendan or May.

Pika Pika :chu:


All times are GMT -8. The time now is 2:31 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.