• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] Can't get nicknaming script to work in Emerald

  • 3
    Posts
    6
    Years
    • Seen Jul 25, 2024
    SOLVED

    For some reason this script doesn't work, I think I understand everything that is going on in the @name part of the script, but all it does is go black (fadescreen), and then thats it. Nothing.

    Any help would be great thanks!

    #dynamic 0x52758C

    #org @start
    lock
    faceplayer
    checkflag 0x20
    if 0x1 goto @gg
    goto @vg

    #org @name
    countpokemon
    subvar 0x800D 0x1
    copyvar 0x8004 0x800D
    fadescreen 0x1
    special 0x166
    waitstate
    return

    #org @gg
    msgbox @1 0x6
    givepokemon 0x3A 0x5 0x0 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @5 0x4
    waitfanfare
    closeonkeypress
    msgbox @6 0x5
    compare LASTRESULT 0x1
    if 0x1 call @name
    goto @journey

    #org @1
    = So... You chose Growlithe, the\nPuppy Pokémon. Growlithe is very\lloyal and won't move unless you\l
    command it to.

    #org @5
    = [black_fr]You received a Growlithe!

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

    #org @vg
    msgbox @2 0x6
    givepokemon 0x25 0x5 0x0 0x0 0x0 0x0
    fanfare 0x13E
    msgbox @3 0x4
    waitfanfare
    closeonkeypress
    msgbox @4 0x5
    compare LASTRESULT 0x1
    if 0x1 call @name
    goto @journey

    #org @2
    = So... You chose Vulpix, the Fox\nPokémon. Vulpix's six part tail\lcan become as hot as a fiery\lblaze, perfect for Fire attacks.

    #org @3
    = [black_fr]You received a Vulpix!

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

    #org @journey
    msgbox @jd 0x6
    setflag 0x860
    release
    end

    #org @jd
    = Good luck on your journey! Fill up\nyour POK\h1BDEX, and become the\lbest! I'll be here if you need me.

    Thanks Again! :)
     
    Last edited:
    Use special 0xA1 instead of special 0x166 in the @name section.
     
    Back
    Top