• 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.
  • 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • 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✓] Make the encountered pokemon in "Wally's event" unregistered in the pokedex?

セケツ

ポケハック初心者
  • 62
    Posts
    8
    Years
    • Seen today
    Hello everyone.
    These days I am working on hacking "Wally catching the Ralt" event, and have successfully changed both Ralt & Wally's pokemon to the species that I want so far.
    But when I checked out the pokedex. A Problem came that the pokemon I changed for "Wally's event" was automatically registered as the "seen" series in the Pokedex.
    The pokemon replacing the original Ralt was a Salamance, whose dex-number is far below in the whole Hoenn dex. That's the reason why I want to hide it in the pokedex since I want to place this event at the very beginning of the story.
    I have searched in the "pokedex.c" files and found some strings named "setpokedexflag" that control the pokemon to display in the dex. Moreover, I also have already known that the Wally's event was controlled by "battle_setup.c", "battle_controller_wally.c", and "field_special.c" all these three files. But IT'S a pity that I didn't know anything about how to disable the dexflag.
    Could someone help me with this problem? Thanks again for any assistance.
     
    Last edited:
    Make the encountered pokemon in "Wally's event" unregistered in the pokedex?
    Go to the function BattleIntroDrawTrainersOrMonsSprites inside src/battle_main.c.
    Add the BATTLE_TYPE_WALLY_TUTORIAL to the list of battle types inside the second if statement that rules out a handful of different battle types based on the result of if (GetBattlerSide(gActiveBattler) == B_SIDE_OPPONENT).
    Save and test.
    [PokeCommunity.com] Make the encountered pokemon in "Wally's event" unregistered in the pokedex?

    [PokeCommunity.com] Make the encountered pokemon in "Wally's event" unregistered in the pokedex?
     
    Go to the function BattleIntroDrawTrainersOrMonsSprites inside src/battle_main.c.
    Add the BATTLE_TYPE_WALLY_TUTORIAL to the list of battle types inside the second if statement that rules out a handful of different battle types based on the result of if (GetBattlerSide(gActiveBattler) == B_SIDE_OPPONENT).
    Save and test.
    [PokeCommunity.com] Make the encountered pokemon in "Wally's event" unregistered in the pokedex?

    [PokeCommunity.com] Make the encountered pokemon in "Wally's event" unregistered in the pokedex?

    It really works! Thank you sincerely!
     
    Back
    Top