metapod23
Hardened Trainer
- 673
- Posts
- 16
- Years
- Seen Aug 18, 2016
Game: Pokemon Ruby
Script editor: XSE
Script type: Person event
![]()
I am trying to edit the script of your rival in Oldale town, after you battle him/her for the first time. I've changed the text of what they say, but now I need to make him/her move to the right, rather than down. I tried changing all of the #raw 0x8 'Step Down (Normal) to #raw 0x8 'Step Right (Normal), and compiling the script. But if I go back to editing it again, it goes right back to being 'Step Down (Normal), no matter how much I try to change it. I'm guessing that I'm probably making some silly mistake. Anyways, as you can see in the picture above, I want the rival to move to the right, jump over that ledge, and leave the map. I'll post the entire script below.
Also, I was wondering if there would be anyway to remove the option to play as a girl in the game. Any way to exclude the gender option from the introduction, so you must play as a boy, like in the older generation games.
Thanks in advance for your help! I'd prefer if you send your help via PM, because I think I'd have trouble finding it here. Your help is much appreciated.
Spoiler:'---------------
#org 0x14DF30
lockall
applymovement 0x4 0x81A0839
waitmovement 0x0
goto 0x814DF92
'---------------
#org 0x14DF92
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x814DFAA
compare LASTRESULT 0x1
if 0x1 goto 0x814DFB8
end
'---------------
#org 0x14DFAA
msgbox 0x816B196 MSG_KEEPOPEN '"WINTER: Come on, [player], let's g..."
goto 0x814DFC6
'---------------
#org 0x14DFB8
msgbox 0x816B1BE MSG_KEEPOPEN '"re... I've got a really, really\lb..."
goto 0x814DFC6
'---------------
#org 0x14DFC6
closeonkeypress
applymovement 0x4 0x86B269C
waitmovement 0x0
hidesprite 0x4
setvar 0x40C7 0x2
setflag 0x3D3
releaseall
end
'---------
' Strings
'---------
#org 0x16B196
= WINTER: Come on, [player], let's get out\nof here... I've got a really, really\lbad feeling about this place...
#org 0x16B1BE
= re... I've got a really, really\lbad feeling about this place...
'-----------
' Movements
'-----------
#org 0x1A0839
#raw 0x3E 'Face Player
#raw 0xFE 'End of Movements
#org 0x6B269C
#raw 0x13 'Step Down (Normal)
#raw 0x13 'Step Down (Normal)
#raw 0x13 'Step Down (Normal)
#raw 0x13 'Step Down (Normal)
#raw 0x13 'Step Down (Normal)
#raw 0x13 'Step Down (Normal)
#raw 0xFE 'End of Movements
You have to change the number, not the wording. For "step right" you use #raw 0x13.