¡Hola gente! El caso es que estaba haciendo el otro día un script de un personaje (Un mini) que te otorga un pokémon (Concretamente un Charizard a nivel 100). Y justo cuando lo acabo me doy cuenta que no funciona como debería, pues al parecer cuando le doy a "Yes" en el "YES/NO" box no me sale la pantalla para cambiar el mote, y simplemente finaliza el script. ¿Alguien está dispuesto a darme una mano?
[Este es el script]
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x201
if 0x1 goto @Rata
msgbox @mens 0x6
countpokemon
compare 0x800D 0x6
if 0x1 goto @demasiados
givepokemon 0x6 0x64 0x1 0x0 0x0 0x0
setflag 0x828
msgbox @pokemon 0x6
fanfare 0x13E
waitfanfare
msgbox @querermote 0x5
if 0x1 goto @ponermote
setflag 0x201
release
end
#org @mens
= ¡Hola, tu debes de ser [player]!\nTen este pokémon y cuídalo bien.
#org @pokemon
= ¡Has recibido un Pokémon!
#org @querermote
= ¿Quieres poner un mote a éste\nPokémon?
#org @Rata
msgbox @Yatienes 0x6
release
end
#org @Yatienes
= Cuídalo bien.
#org @ponermote
special 0x9E
waitstate
setflag 0x201
release
end
#org @demasiados
msgbox @malasuerte 0x6
release
end
#org @malasuerte
= ¡Mala suerte! ¡Tu equipo está\nlleno!
Y éste es el script ya compilado
'---------------
#org 0x8000EF
lock
faceplayer
checkflag 0x201
if 0x1 goto 0x88001C3
msgbox 0x8800140 MSG_NORMAL '"¡Hola, tu debes de ser [player]!\n..."
countpokemon
compare LASTRESULT 0x6
if 0x1 goto 0x88001EA
givepokemon 0x6 0x64 0x1 0x0 0x0 0x0
setflag 0x828
fanfare 0x13E
msgbox 0x880017E MSG_NORMAL '"¡Has recibido un Pokémon!"
waitfanfare
msgbox 0x880019A MSG_YESNO '"¿Quieres poner un mote a éste\nPok..."
if 0x1 goto 0x88001DE
setflag 0x201
release
end
'---------------
#org 0x8001C3
msgbox 0x88001CE MSG_NORMAL '"Cuídalo bien."
release
end
'---------------
#org 0x8001EA
msgbox 0x88001F5 MSG_NORMAL '"¡Mala suerte! ¡Tu equipo está\nlle..."
release
end
'---------------
#org 0x8001DE
special 0x9E
waitstate
release
end
'---------
' Strings
'---------
#org 0x800140
= ¡Hola, tu debes de ser [player]!\nTen este pokémon y cuídalo bien.
#org 0x80017E
= ¡Has recibido un Pokémon!
#org 0x80019A
= ¿Quieres poner un mote a éste\nPokémon?
#org 0x8001CE
= Cuídalo bien.
#org 0x8001F5
= ¡Mala suerte! ¡Tu equipo está\nlleno!
Gracias por vuestra atención.
[Este es el script]
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x201
if 0x1 goto @Rata
msgbox @mens 0x6
countpokemon
compare 0x800D 0x6
if 0x1 goto @demasiados
givepokemon 0x6 0x64 0x1 0x0 0x0 0x0
setflag 0x828
msgbox @pokemon 0x6
fanfare 0x13E
waitfanfare
msgbox @querermote 0x5
if 0x1 goto @ponermote
setflag 0x201
release
end
#org @mens
= ¡Hola, tu debes de ser [player]!\nTen este pokémon y cuídalo bien.
#org @pokemon
= ¡Has recibido un Pokémon!
#org @querermote
= ¿Quieres poner un mote a éste\nPokémon?
#org @Rata
msgbox @Yatienes 0x6
release
end
#org @Yatienes
= Cuídalo bien.
#org @ponermote
special 0x9E
waitstate
setflag 0x201
release
end
#org @demasiados
msgbox @malasuerte 0x6
release
end
#org @malasuerte
= ¡Mala suerte! ¡Tu equipo está\nlleno!
Y éste es el script ya compilado
'---------------
#org 0x8000EF
lock
faceplayer
checkflag 0x201
if 0x1 goto 0x88001C3
msgbox 0x8800140 MSG_NORMAL '"¡Hola, tu debes de ser [player]!\n..."
countpokemon
compare LASTRESULT 0x6
if 0x1 goto 0x88001EA
givepokemon 0x6 0x64 0x1 0x0 0x0 0x0
setflag 0x828
fanfare 0x13E
msgbox 0x880017E MSG_NORMAL '"¡Has recibido un Pokémon!"
waitfanfare
msgbox 0x880019A MSG_YESNO '"¿Quieres poner un mote a éste\nPok..."
if 0x1 goto 0x88001DE
setflag 0x201
release
end
'---------------
#org 0x8001C3
msgbox 0x88001CE MSG_NORMAL '"Cuídalo bien."
release
end
'---------------
#org 0x8001EA
msgbox 0x88001F5 MSG_NORMAL '"¡Mala suerte! ¡Tu equipo está\nlle..."
release
end
'---------------
#org 0x8001DE
special 0x9E
waitstate
release
end
'---------
' Strings
'---------
#org 0x800140
= ¡Hola, tu debes de ser [player]!\nTen este pokémon y cuídalo bien.
#org 0x80017E
= ¡Has recibido un Pokémon!
#org 0x80019A
= ¿Quieres poner un mote a éste\nPokémon?
#org 0x8001CE
= Cuídalo bien.
#org 0x8001F5
= ¡Mala suerte! ¡Tu equipo está\nlleno!
Gracias por vuestra atención.