View Single Post
  #557    
Old January 28th, 2011 (12:43 PM).
RedGalaxy's Avatar
RedGalaxy RedGalaxy is offline
     
    Join Date: Nov 2010
    Gender: Male
    Posts: 7
    Okay, I followed your "GivePokemon" script to the T... and it works just fine...

    However, I have a problem. When I try to name my pokemon(bulbasaur), it has me re-nickname my starter(charmander).

    However, when I restart the game, and get Bulbasaur first, and Charmander second... when I receive Charmander, it has me re-nickname Bulbasaur.

    Is there a way to fix this?

    Script
    Spoiler:
    #dynamic 0x71A480

    #org @start
    checkflag 0x200
    if 0x1 goto @done
    msgbox @talk1 0x5
    compare LASTRESULT 0x1
    if 0x1 goto @take
    msgbox @talk2 0x6

    #org @take
    givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @talk3 0x4
    waitfanfare
    closeonkeypress
    setflag 0x200
    msgbox @talk4 0x5
    compare LASTRESULT 0x1
    if 0x1 gosub @name
    msgbox @talk5 0x6
    release
    end

    #org @name
    call 0x1A74EB
    return

    #org @done
    msgbox @talk6 0x6
    release
    end

    #org @talk1
    = Hello.\nSorry to trouble you.\lI can't take care of my\lBulbasaur any more.\pCan you take care of\nit for me?

    #org @talk2
    = That's okay.\pI'm sure someone else will\ntake care of it.\pMaybe the nice man at the daycare.

    #org @talk3
    = [black_fr]You received a Bulbasaur!

    #org @talk4
    = [black_fr]Would you like to give a\nnickname to Bulbasaur?

    #org @talk5
    = Please take care of\nBulbasaur.

    #org @talk6
    = Are you taking care\nof Bulbasaur?
    Reply With Quote