Ooka
[font=Maven Pro][color=#A75EE2]Cosmic[/color][/fon
- 2,626
- Posts
- 17
- Years
- Age 32
- Challenging The E4
- Seen Nov 11, 2024
Alright, for some reason the naming won't work. When you select yes it just jumps to the end of the script.
Code:
#dynamic 0x804828
#org @starterselect
checkflag 0x860
if 0x1 goto @nope
lock
msgbox @message 0x5
compare LASTRESULT 0x1
if 0x1 goto @getpkmn
msgbox @message2 0x6
release
end
#org @getpkmn
givepokemon 277 5 0 0 0 0
fanfare 0x13E
msgbox @message3 0x4
waitfanfare
closeonkeypress
setflag 0x860
msgbox @message4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @namepoke
applymovement 0xFF @playmove
applymovement 0x01 @profmov
waitmovement 0x0
msgbox @finally 0x6
release
end
#org @finally
= Alright, well, I'm really glad \nyou decided to take on this \pchallenge. I actually have a favor to \nask before you officially take off. \pI have a trainer coming by for \nhis Pokemon. He shows a lot of \ppromise so I'd like you to meet \nup with him and battle. \pHe'll meet you above Oldale. \nThat's all, and good luck \pin your battle!
#org @playmove
#raw 0x02
#raw 0x0A
#raw 0x0A
#raw 0x01
#raw 0x09
#raw 0x12
#raw 0x12
#raw 0xFE
#org @profmov
#raw 0x02
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x00
#raw 0x12
#raw 0x12
#raw 0xFE
#org @message
= Would you like to pick Treecko, \nthe Grass type Pokemon?
#org @message2
= Alright, take your time.
#org @message3
= You picked Treecko!
#org @message4
= Would you like to nickname the \nTreecko you just received?
#org @namepoke
special 0x166
return
#org @nope
release
end
Last edited: