• 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 weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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] General Questions About How to Hack, Please Help!

  • 11
    Posts
    11
    Years
    Hey guys this is my first post. Been using this site for awhile now and never asked anything.
    I'm working on my own pokemon fire red hack. My first attempt ever.


    *I have ran into a patching/ rendering problem. I guess. when I walk thru route 1 to viridian city, route one looks good. As soon as I take one step into viridian city, route 1 then glitches out and shows random tiles. when I walk down route 1 and back up it looks fine. until I take one step into viridian city, then route 1 glitches out again. Please help me fix this so my first rom hack runs smooth.
    *I wanted to change the gym leader order in my rom hack. I am going to do that by simply changing the gym door to different gym inside via the warp tile. The problem I am having is, I want to change what gym gives what badge or more so I want to change the effects of the badge. like example I want to trade Misty for Sabrina. I need Sabrina to let my player use cut outside of battle. So please help me!
    *Last note. I was working on a rom hack that I had to restart because I only changed the text and made few map changes. but after awhile my scripts were deleted and when I re-enter text editor it shows a blank box where the old and edited text was. when I change it, it just doesn't show up in game. ??? any ideas as to why? please help guys!

    I have been looking over old forums and posts as well as finding out about you're guys rom hacks and playing then for a few years now. finally I am asking for help so please help me out and support my first rom hack.


    Thanks guys
    Anthony
     
    Hey guys this is my first post. Been using this site for awhile now and never asked anything.
    I'm working on my own pokemon fire red hack. My first attempt ever.


    *I have ran into a patching/ rendering problem. I guess. when I walk thru route 1 to viridian city, route one looks good. As soon as I take one step into viridian city, route 1 then glitches out and shows random tiles. when I walk down route 1 and back up it looks fine. until I take one step into viridian city, then route 1 glitches out again. Please help me fix this so my first rom hack runs smooth.
    *I wanted to change the gym leader order in my rom hack. I am going to do that by simply changing the gym door to different gym inside via the warp tile. The problem I am having is, I want to change what gym gives what badge or more so I want to change the effects of the badge. like example I want to trade Misty for Sabrina. I need Sabrina to let my player use cut outside of battle. So please help me!
    *Last note. I was working on a rom hack that I had to restart because I only changed the text and made few map changes. but after awhile my scripts were deleted and when I re-enter text editor it shows a blank box where the old and edited text was. when I change it, it just doesn't show up in game. ??? any ideas as to why? please help guys!

    I have been looking over old forums and posts as well as finding out about you're guys rom hacks and playing then for a few years now. finally I am asking for help so please help me out and support my first rom hack.


    Thanks guys
    Anthony

    1: Your tilesets have to be the same between maps or else they'll overwrite each other in ram as they get loaded
    2: Open their scripts and change which badges they give you via setflag.
    Code:
    Fire Red
    0x820 – Activates First Badge
    0x821 - Activates Second Badge
    0x822 - Activates Third Badge
    0x823 - Activates Fourth Badge
    0x824 - Activates Fifth Badge     (surf)
    0x825 - Activates Sixth Badge
    0x826 - Activates Seventh Badge
    0x827 - Activates Eighth Badge
    0x828 - Activates Pokemon Menu
    0x829 - Activates Pokedex Menu
    0x82F - Activates Running Shoes
    0x839 - Activates Mystery Gift Option On Main Menu
    3: You aren't repointing to free space, you're just overwriting data with other data and then you get corruption. Check out a scripting tutorial such as diegoisawesome's MEGA-HUGE XSE Scripting Tutorial and you'll learn how to script.
     
    thanks so much!
    yes at first I was searching free space, now have not this go around. I will chech that link.
    as for the setflags thanks a lot! I would have not found them alone.
    the tiles I will try to fix and see what happens.
     
    *I wanted to change the gym leader order in my rom hack. I am going to do that by simply changing the gym door to different gym inside via the warp tile. The problem I am having is, I want to change what gym gives what badge or more so I want to change the effects of the badge. like example I want to trade Misty for Sabrina. I need Sabrina to let my player use cut outside of battle. So please help me!

    2: Open their scripts and change which badges they give you via setflag.
    Code:
    Fire Red
    0x820 – Activates First Badge
    0x821 - Activates Second Badge
    0x822 - Activates Third Badge
    0x823 - Activates Fourth Badge
    0x824 - Activates Fifth Badge     (surf)
    0x825 - Activates Sixth Badge
    0x826 - Activates Seventh Badge
    0x827 - Activates Eighth Badge
    0x828 - Activates Pokemon Menu
    0x829 - Activates Pokedex Menu
    0x82F - Activates Running Shoes
    0x839 - Activates Mystery Gift Option On Main Menu

    So I am working on a similar thing, and this is the solution I'm currently using, but I'm wondering if there is a more complete way to do it. Activating each badge flag does a number of things:

    - badge image shows up on the Trainer card
    - (possibly) allows use of overworld HM
    - affects stats (is this actually true?)

    My question is, can you change some of these effects while retaining others? In other words, if I want the badges to still appear on the Trainer card and affect stats in the correct order, but activate overworld HMs in a different order (say, Cut at Gym 1, Surf at Gym 4, etc.), is this possible?
     
    Last edited:
    So I am working on a similar thing, and this is the solution I'm currently using, but I'm wondering if there is a more complete way to do it. Activating each badge flag does a number of things:

    - badge image shows up on the Trainer card
    - (possibly) allows use of overworld HM
    - affects stats (is this actually true?)

    My question is, can you change some of these effects while retaining others? In other words, if I want the badges to still appear on the Trainer card and affect stats in the correct order, but activate overworld HMs in a different order (say, Cut at Gym 1, Surf at Gym 4, etc.), is this possible?

    Yes, you'd just swap around the order you give those badges to give the correct one.
    The effects are hardcoded in, so you'd obviously not be able to change it without major research as to how that goes about doing its thing.
     
    Yes, you'd just swap around the order you give those badges to give the correct one.
    The effects are hardcoded in, so you'd obviously not be able to change it without major research as to how that goes about doing its thing.

    Let me rephrase. Let's say I want Cut to be activated by the first Gym. I change the first Gym Leader's script to activate the second badge's flag. Now when I beat the first Gym leader, Cut activates, but the second badge shows up on the Trainer card.

    Is there any way to make it so that Cut activates, but the first badge shows up on the Trainer card?

    I've actually found a workaround for Cut, Rock Smash, and Strength. Each of those is controlled by a script on the tree or rock that you cut, smash, or move. It's simple to open that script and change the flag it checks for to the correct (new) badge.

    What I'd love to see is a way to do it for Flash, Surf, Fly, and Waterfall. I have no idea where the flags for those are checked.
     
    Sorry for the double post, but I wanted to add what I've found regarding this.

    Regarding Cut, Rock Smash, and Strength:

    Cut - 0x1BDF13
    Rock Smash - 0x1BE00C
    Strength - 0x1BE11D

    These three are actual scripts, you put those offsets in XSE and hit decompile. The script that comes up should include

    Code:
    checkflag 0x82x

    Change 82x to the flag you want and compile.


    Regarding Surf and Waterfall:

    For anyone that wants to change the badge required for surf, the offset of the flag is 0806D59C. Also, I pretty sure that 0806D5D0 is waterfall, but I haven't tested it. (FireRed)

    The badge check for Surfing from the overworld is at 0x06D59C. It's stored in reverse hex. The original Surf badge flag is 824, so at that offset, we see 24 08. Change that to the reverse hex of the flag you want (ie., the third badge: 823 -> 23 08) and you're good to go. The check for Waterfall is at 0x06D5D0 and it works the same way (reverse hex).


    However, none of these edits affect using the HMs from the Pokemon menu. The best I've been able to find regarding that is this:

    to remove badge checks from ALL HMs on the POKEMON MENU:

    Go to 0x124620 and paste-write "01 20 00 00 00 00 00 00 00 00 00".

    This gets you very close, but there are still some problems. If you have an HM before you get the appropriate badge, you can use it from the menu. And since this is the only way to use Flash and Fly, you have full use of those two as soon as you get the HMs.

    You could always make sure that you never get an HM until you beat the appropriate Gym Leader, but that defeats the purpose of the badge checks altogether...

    If anyone knows of a way to change which flag allows the use of each HM move from the menu, I'd be very grateful if you'd share.


    TL;DR version: you can change which badges allow the use of HMs from the overworld, but there's no known way to edit which badges allow the use of HMs from the Pokemon menu. You can remove the menu check altogether, though.
     
    Let me rephrase. Let's say I want Cut to be activated by the first Gym. I change the first Gym Leader's script to activate the second badge's flag. Now when I beat the first Gym leader, Cut activates, but the second badge shows up on the Trainer card.

    Is there any way to make it so that Cut activates, but the first badge shows up on the Trainer card?

    I've actually found a workaround for Cut, Rock Smash, and Strength. Each of those is controlled by a script on the tree or rock that you cut, smash, or move. It's simple to open that script and change the flag it checks for to the correct (new) badge.

    What I'd love to see is a way to do it for Flash, Surf, Fly, and Waterfall. I have no idea where the flags for those are checked.

    nobody really cares about the trainer card that much.... it may not be as professional but you aren't getting it anymore professional... it's really unnecessary work....
     
    Back
    Top