• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our next favorite protagonist poll is now up, this time for the Almia region from Pokémon Ranger 2! This poll is only lasting 2 days, so don't forget to cast your vote for your favorite protagonist!
  • 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.

[Other] How do you make a pokemon giveaway GBA hacking?

  • 4
    Posts
    16
    Years
    • Seen Jul 19, 2016
    Hi everyone, I'm new to the site and GBA hacking. I started a re-vamp if you will of pokemon Fire Red. How do I make an event for a free pokemon giveaway. Like say I walk up to a stray pokeball and I want it to give me a Vulpix. A link to a tutorial will be just fine, thanks.
     
    Ok, so I got the give pokemon event working just fine but I cant figure out how to make the sprite disappear after i collect the Pokemon. Or at least add a message when you talk to it again. Heres what I had, I used the script generator.

    #dyn 0x740000
    #org @start
    lock
    checkflag 0x200
    if 0x1 jump :end
    setflag FR_POKEMON
    countpokemon
    compare LASTRESULT 6
    if == jump @noroom
    addpokemon JIGGLYPUFF 5 POTION 0 0 0
    setflag 0x200
    storepokemon 0 JIGGLYPUFF
    message @get-msg
    fanfare 0x101
    showmsg
    waitfanfare
    waitbutton
    :end
    release
    end

    #org @noroom
    msgbox @noroom-msg
    callstd MSG_NOCLOSE
    release
    end

    #org @noroom-msg
    = You don't have enough room in your party.

    #org @get-msg
    = You got a \v\h02!
     
    Ok, so I got the give pokemon event working just fine but I cant figure out how to make the sprite disappear after i collect the Pokemon. Or at least add a message when you talk to it again. Heres what I had, I used the script generator.

    #dyn 0x740000
    #org @start
    lock
    checkflag 0x200
    if 0x1 jump :end
    setflag FR_POKEMON
    countpokemon
    compare LASTRESULT 6
    if == jump @noroom
    addpokemon JIGGLYPUFF 5 POTION 0 0 0
    setflag 0x200
    storepokemon 0 JIGGLYPUFF
    message @get-msg
    fanfare 0x101
    showmsg
    waitfanfare
    waitbutton
    :end
    release
    end

    #org @noroom
    msgbox @noroom-msg
    callstd MSG_NOCLOSE
    release
    end

    #org @noroom-msg
    = You don't have enough room in your party.

    #org @get-msg
    = You got a \v\h02!

    Use this code:

    disappear lasttalked

    well atleast that's for pksv but I don't know about xse. Maybe same?
     
    I used the code, and the poke ball disappeared but came right back, at what part of the script do i apply the code?
     
    Back
    Top