oiram
Pokémon Gea
Hola, he estado intentando un script en una rom limpia y ahora mismo no se qué falla exactamente, pero sé que tiene que haber como mínimo varios errores. Aquí dejo el script:
Y he aquí el fallo en el juego:

Especifico que uso XSE 1.0, que antes de compilar el script repointeé las choice box y añadí la nueva con 6 opciones y que es un script de persona de habla normal ya que es solo un testeo.
¡Gracias de antemano y espero poder solucionarlo! Saludos!!
#dynamic 0x800000
#org @start
lock
applymovement 0xFF @movprota
waitmovement 0xFF
msgbox @text1 0x6
multichoice 0x0 0x0 0x41 0x1
compare LASTRESULT 0x0
if 0x1 goto @turtwig
compare LASTRESULT 0x1
if 0x1 goto @numel
compare LASTRESULT 0x2
if 0x1 goto [MENTION=21118]MUDKIP[/MENTION]
compare LASTRESULT 0x3
if 0x1 goto @swinub
compare LASTRESULT 0x4
if 0x1 goto @gligar
compare LASTRESULT 0x5
if 0x1 goto @golett
msgbox @textend 0x6
release
end
#org @movprota
#raw 0x01
#raw 0xFE
#org @text1
= weeras
#org @turtwig
showpokepic 0xFE 0xA 0x3
msgbox @turtwig? 0x5
compare LASTRESULT 0x1
if 0x1 goto @taketurtwig
hidepokepic
release
end
#org @taketurtwig
givepokemon 0xFE 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @yehturtwig 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x1
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]umudkip 0x6
setvar 0x4050 0x1
release
end
#org @turtwig?
= Quieres a turtwig?
#org @yehturtwig
= Obtuviste a turtwig!
#org @4
= quieres ponerle un mote?
#org [MENTION=12848]Sam[/MENTION]umudkip
= yo cogeré a mudkip!
#org @numel
showpokepic 0x153 0xA 0x3
msgbox @numel? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takenumel
hidepokepic
release
end
#org @takenumel
givepokemon 0x153 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @yehnumel 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x2
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x2
release
end
#org [MENTION=25483]nic[/MENTION]kname
call 0x1A74EB
return
#org @numel?
= Quieres a numel?
#org @yehnumel
= Obtuviste a numel!
#org [MENTION=12848]Sam[/MENTION]uturtwig
= yo cogeré a turtwig!!
#org [MENTION=21118]MUDKIP[/MENTION]
showpokepic 0x11b 0xA 0x3
msgbox [MENTION=21118]MUDKIP[/MENTION]? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takemudkip
hidepokepic
release
end
#org @takemudkip
givepokemon 0x11b 0x5 0x0 0x0 0x0 0x0
hidepokepic
fanfare 0x13E
msgbox @yehmudkip 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x3
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x3
release
end
#org [MENTION=21118]MUDKIP[/MENTION]?
= Quieres a mudkip?
#org @yehmudkip
= Obtuviste a mudkip!
#org @swinub
showpokepic 0xDC 0xA 0x3
msgbox @swinub? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takeswinub
hidepokepic
release
end
#org @takeswinub
givepokemon 0xDC 0x5 0x0 0x0 0x0 0x0
hidepokepic
fanfare 0x13E
msgbox @yehswinub 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x4
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x4
release
end
#org @swinub?
= Quieres a swinub?
#org @yehswinub
= Obtuviste a swinub!
#org @gligar
showpokepic 0xCF 0xA 0x3
msgbox @gligar? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takegligar
hidepokepic
release
end
#org @takegligar
givepokemon 0xCF 0x5 0x0 0x0 0x0 0x0
hidepokepic
fanfare 0x13E
msgbox @yehgligar 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x5
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x5
release
end
#org @gligar?
= Quieres a gligar?
#org @yehgligar
= Obtuviste a gligar!
#org @golett
showpokepic 0x102 0xA 0x3
msgbox @golett? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takegligar
hidepokepic
release
end
#org @takegolett
givepokemon 0x102 0x5 0x0 0x0 0x0 0x0
hidepokepic
fanfare 0x13E
msgbox @yehgolett 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x6
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x6
end
#org @golett?
= Quieres a golett?
#org @yehgolett
= Obtuviste a golett!
#org @textend
= bye
#org @start
lock
applymovement 0xFF @movprota
waitmovement 0xFF
msgbox @text1 0x6
multichoice 0x0 0x0 0x41 0x1
compare LASTRESULT 0x0
if 0x1 goto @turtwig
compare LASTRESULT 0x1
if 0x1 goto @numel
compare LASTRESULT 0x2
if 0x1 goto [MENTION=21118]MUDKIP[/MENTION]
compare LASTRESULT 0x3
if 0x1 goto @swinub
compare LASTRESULT 0x4
if 0x1 goto @gligar
compare LASTRESULT 0x5
if 0x1 goto @golett
msgbox @textend 0x6
release
end
#org @movprota
#raw 0x01
#raw 0xFE
#org @text1
= weeras
#org @turtwig
showpokepic 0xFE 0xA 0x3
msgbox @turtwig? 0x5
compare LASTRESULT 0x1
if 0x1 goto @taketurtwig
hidepokepic
release
end
#org @taketurtwig
givepokemon 0xFE 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @yehturtwig 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x1
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]umudkip 0x6
setvar 0x4050 0x1
release
end
#org @turtwig?
= Quieres a turtwig?
#org @yehturtwig
= Obtuviste a turtwig!
#org @4
= quieres ponerle un mote?
#org [MENTION=12848]Sam[/MENTION]umudkip
= yo cogeré a mudkip!
#org @numel
showpokepic 0x153 0xA 0x3
msgbox @numel? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takenumel
hidepokepic
release
end
#org @takenumel
givepokemon 0x153 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @yehnumel 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x2
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x2
release
end
#org [MENTION=25483]nic[/MENTION]kname
call 0x1A74EB
return
#org @numel?
= Quieres a numel?
#org @yehnumel
= Obtuviste a numel!
#org [MENTION=12848]Sam[/MENTION]uturtwig
= yo cogeré a turtwig!!
#org [MENTION=21118]MUDKIP[/MENTION]
showpokepic 0x11b 0xA 0x3
msgbox [MENTION=21118]MUDKIP[/MENTION]? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takemudkip
hidepokepic
release
end
#org @takemudkip
givepokemon 0x11b 0x5 0x0 0x0 0x0 0x0
hidepokepic
fanfare 0x13E
msgbox @yehmudkip 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x3
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x3
release
end
#org [MENTION=21118]MUDKIP[/MENTION]?
= Quieres a mudkip?
#org @yehmudkip
= Obtuviste a mudkip!
#org @swinub
showpokepic 0xDC 0xA 0x3
msgbox @swinub? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takeswinub
hidepokepic
release
end
#org @takeswinub
givepokemon 0xDC 0x5 0x0 0x0 0x0 0x0
hidepokepic
fanfare 0x13E
msgbox @yehswinub 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x4
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x4
release
end
#org @swinub?
= Quieres a swinub?
#org @yehswinub
= Obtuviste a swinub!
#org @gligar
showpokepic 0xCF 0xA 0x3
msgbox @gligar? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takegligar
hidepokepic
release
end
#org @takegligar
givepokemon 0xCF 0x5 0x0 0x0 0x0 0x0
hidepokepic
fanfare 0x13E
msgbox @yehgligar 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x5
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x5
release
end
#org @gligar?
= Quieres a gligar?
#org @yehgligar
= Obtuviste a gligar!
#org @golett
showpokepic 0x102 0xA 0x3
msgbox @golett? 0x5
compare LASTRESULT 0x1
if 0x1 goto @takegligar
hidepokepic
release
end
#org @takegolett
givepokemon 0x102 0x5 0x0 0x0 0x0 0x0
hidepokepic
fanfare 0x13E
msgbox @yehgolett 0x6
waitfanfare
closeonkeypress
setflag 0x828
setvar 0x4030 0x6
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 goto [MENTION=25483]nic[/MENTION]kname
msgbox [MENTION=12848]Sam[/MENTION]uturtwig 0x6
setvar 0x4050 0x6
end
#org @golett?
= Quieres a golett?
#org @yehgolett
= Obtuviste a golett!
#org @textend
= bye

Especifico que uso XSE 1.0, que antes de compilar el script repointeé las choice box y añadí la nueva con 6 opciones y que es un script de persona de habla normal ya que es solo un testeo.
¡Gracias de antemano y espero poder solucionarlo! Saludos!!
Última edición: