- 41
- Posts
- 9
- Years
- Seen Jul 3, 2016
Hello there I need help on making a rival script like Gary in cerulean city. No giving items. I use Pksvui for this so I do not want here xse.
I made a script
#dyn 0X740000
#org @start
setvar 0x4334 0x2
playsound 0x131 0x0
applymovement 0x3 @Move
pauseevent 0x0
faceplayer
lockall
msgbox @string ' Hey Ahmed...
callstd MSG_NOCLOSE
trainerbattle 0X0 0X002 0X0 @beginning @ending
setflag 0x210
msgbox @Bye ' Bye Ahmed...
applymovement 0x3 @Move2
playsound 0x123 0x0
pauseevent 0x0
fadedefault
dissapear 0x3
releaseall
end
#org @Move
m walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down end
#org @string
= \c\h01\h07Hey Ahmed I was waiting for\n\c\h01\h07you to have a pokemon battle,\pare you ready, Lets go!
#org @ending
= \c\h01\h07That was a good battle,\n\c\h01\h07thank you I learned alot from\p\c\h01\h07it.\p\c\h01\h0FAhmed: I also learned alot!
#org @Bye
= \c\h01\h07Bye Ahmed!\p\c\h01\h0FAhmed: Bye Destiny!
#org @Move2
m walk_up walk_left walk_left walk_left walk_left walk_left walk_up walk_up walk_up walk_up walk_right walk_right walk_right walk_right walk_right walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_left walk_left walk_left walk_up end
What happens first is that the rival will not walk,after the text is done it says a random thing, it will not playsound.
I made a script
#dyn 0X740000
#org @start
setvar 0x4334 0x2
playsound 0x131 0x0
applymovement 0x3 @Move
pauseevent 0x0
faceplayer
lockall
msgbox @string ' Hey Ahmed...
callstd MSG_NOCLOSE
trainerbattle 0X0 0X002 0X0 @beginning @ending
setflag 0x210
msgbox @Bye ' Bye Ahmed...
applymovement 0x3 @Move2
playsound 0x123 0x0
pauseevent 0x0
fadedefault
dissapear 0x3
releaseall
end
#org @Move
m walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down walk_down end
#org @string
= \c\h01\h07Hey Ahmed I was waiting for\n\c\h01\h07you to have a pokemon battle,\pare you ready, Lets go!
#org @ending
= \c\h01\h07That was a good battle,\n\c\h01\h07thank you I learned alot from\p\c\h01\h07it.\p\c\h01\h0FAhmed: I also learned alot!
#org @Bye
= \c\h01\h07Bye Ahmed!\p\c\h01\h0FAhmed: Bye Destiny!
#org @Move2
m walk_up walk_left walk_left walk_left walk_left walk_left walk_up walk_up walk_up walk_up walk_right walk_right walk_right walk_right walk_right walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_left walk_left walk_left walk_up end
What happens first is that the rival will not walk,after the text is done it says a random thing, it will not playsound.