ShinyLucario_09
Pokemon Master
- 1
- Posts
- 12
- Years
- Seen May 14, 2015
Hey Score_Under
I am a newbie at making Pokemon scripts and am trying to make my own game. my script is this...
#org 0x8165A8F
'-----------------------------------
lock
faceplayer
msgbox 0x817DB98 ' This Pokemon looks i...
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT YES
if == jump 0x8165AB0 ' Equal To
compare LASTRESULT 0x0
if == jump 0x8165ABA ' Equal To
end
#org 0x8165AB0
'-----------------------------------
#dyn 0x740000
lock
checkflag 0x250
if 0x1 jump :end
setflag FR_POKEMON
countpokemon
compare LASTRESULT 6
addpokemon EEVEE 0x5 NONE 0 0 0
setflag 0x250
storepokemon 0 EEVEE
message @get-msg
fanfare 0x101
showmsg
waitfanfare
waitbutton
:end
release
end
#org @get-msg
= You got a \v\h02!
#org 0x8165ABA
'-----------------------------------
msgbox 0x817DBD5 ' Desided not to care ...
callstd MSG_NOCLOSE ' Non-closing message
release
' Release commands close any open messages
end
#org 0x817DB98
= This Pokemon looks injured.\p Would you like to care for it?
#org 0x817DBE4
= EEVEE Joined the team.
#org 0x817DBD5
= Desided not to care for it.
I am trying to achieve that you as the hero go up to someone in the game and they ask you if you want to look after a pokemon and if you say 'YES' it willl say 'EEVEE Joined the team.' and an EEVEE joins the team or if you say 'NO' it says 'Desided not to care for it.' Can you or someone else fix this problem?
Thanks ShinyLucario_09
I am a newbie at making Pokemon scripts and am trying to make my own game. my script is this...
#org 0x8165A8F
'-----------------------------------
lock
faceplayer
msgbox 0x817DB98 ' This Pokemon looks i...
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT YES
if == jump 0x8165AB0 ' Equal To
compare LASTRESULT 0x0
if == jump 0x8165ABA ' Equal To
end
#org 0x8165AB0
'-----------------------------------
#dyn 0x740000
lock
checkflag 0x250
if 0x1 jump :end
setflag FR_POKEMON
countpokemon
compare LASTRESULT 6
addpokemon EEVEE 0x5 NONE 0 0 0
setflag 0x250
storepokemon 0 EEVEE
message @get-msg
fanfare 0x101
showmsg
waitfanfare
waitbutton
:end
release
end
#org @get-msg
= You got a \v\h02!
#org 0x8165ABA
'-----------------------------------
msgbox 0x817DBD5 ' Desided not to care ...
callstd MSG_NOCLOSE ' Non-closing message
release
' Release commands close any open messages
end
#org 0x817DB98
= This Pokemon looks injured.\p Would you like to care for it?
#org 0x817DBE4
= EEVEE Joined the team.
#org 0x817DBD5
= Desided not to care for it.
I am trying to achieve that you as the hero go up to someone in the game and they ask you if you want to look after a pokemon and if you say 'YES' it willl say 'EEVEE Joined the team.' and an EEVEE joins the team or if you say 'NO' it says 'Desided not to care for it.' Can you or someone else fix this problem?
Thanks ShinyLucario_09