find the main bug in this i can see it:

Quote:
dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x(flag number)
if 0x1 goto @done
msgbox @ask 0x5
compare LASTRESULT 0x1
if 0x1 goto @pkmn
msgbox @no 0x6
release
end
#org @pkmn
givepokemon 0x9 0x5 0x1 0x0 0x0 0x0
fanfare 0x13E
msgbox @recive 0x6
waitfanfare
setflag 0x(flag number you put in earlier)
msgbox @nname 0x5
compare LASTRESULT 0x1
if 0x1 gosub @nickname
msgbox @please 0x6
release
end
dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x(flag number)
if 0x1 goto @done
msgbox @ask 0x5
compare LASTRESULT 0x1
if 0x1 goto @pkmn
release
end
#org @pkmn
givepokemon 0x9 0x5 0x1 0x0 0x0 0x0
fanfare 0x13E
msgbox @recive 0x6
waitfanfare
setflag 0x(flag number you put in earlier)
msgbox @nname 0x5
compare LASTRESULT 0x1
if 0x1 gosub @nickname
msgbox @please 0x6
release
end
#org @nickname
call 0x1A74EB
return
#org @done
msgbox @is 0x6
release
end
|