• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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] Shedinja's HP; Deoxys stats (FireRed)

476
Posts
6
Years
    • Seen Feb 26, 2020
    I've tried buffing Shedinja's health several times (talking base stats ofc) and it doesn't seem to work, almost as if the game has a check for when the current Pokémon is a Shedinja, and forces its max HP to be 1, unless it's a transformation. I've also attempted to change Deoxys' stats and found that to be impossible as well, and I've seen people asking about similar topics for Emerald, so, TLDR, how do I edit Shedinja's HP and Deoxys' base stats in FireRed? How would I allow the player to change their Deoxys' form?
     
    111
    Posts
    6
    Years
    • Seen Nov 11, 2023
    I've tried buffing Shedinja's health several times (talking base stats ofc) and it doesn't seem to work, almost as if the game has a check for when the current Pokémon is a Shedinja, and forces its max HP to be 1, unless it's a transformation. I've also attempted to change Deoxys' stats and found that to be impossible as well, and I've seen people asking about similar topics for Emerald, so, TLDR, how do I edit Shedinja's HP and Deoxys' base stats in FireRed? How would I allow the player to change their Deoxys' form?

    I figured out how to change Deoxys in Emerald and i'm assuming it's the same in Fire Red. Convert Deoxys's stats (in this case attack forms stats) from dec to hex and put a 00 byte between each value. Search for these bytes with a hex editor and you will find where the stats are stored. I was able to correctly change Deoxys speed in emerald to Deoxys attack this way. The only thing I cannot figure out how to change is the back sprite and the party icon.
     
    1,591
    Posts
    10
    Years
    • Seen Mar 20, 2024
    I've tried buffing Shedinja's health several times (talking base stats ofc) and it doesn't seem to work, almost as if the game has a check for when the current Pokémon is a Shedinja, and forces its max HP to be 1, unless it's a transformation. I've also attempted to change Deoxys' stats and found that to be impossible as well, and I've seen people asking about similar topics for Emerald, so, TLDR, how do I edit Shedinja's HP and Deoxys' base stats in FireRed? How would I allow the player to change their Deoxys' form?
    That's more or less what the game does to handle Shedinja's HP. There are a couple of solutions in this thread.

    I figured out how to change Deoxys in Emerald and i'm assuming it's the same in Fire Red. Convert Deoxys's stats (in this case attack forms stats) from dec to hex and put a 00 byte between each value. Search for these bytes with a hex editor and you will find where the stats are stored. I was able to correctly change Deoxys speed in emerald to Deoxys attack this way. The only thing I cannot figure out how to change is the back sprite and the party icon.

    By the looks of it the speed form's back sprite is treated as the normal back sprite's second frame, so Wichu's advanced sprite editor will be able to edit it. It shares its palette with the normal form so you'll need to edit both forms if you want to change that.
     
    Last edited:
    111
    Posts
    6
    Years
    • Seen Nov 11, 2023
    By the looks of it the speed form's back sprite is treated as the normal back sprite's second frame, so Wichu's advanced sprite editor will be able to edit it. It shares its palette with the normal form so you'll need to edit both forms if you want to change that.

    Oh cool that turned out to be surprisingly easy. I still have no idea where to change its speed form icon though unfortunately. It doesn't seem to be as simple as the back sprite since every icon editor ive looked at just shows normal form only
     
    476
    Posts
    6
    Years
    • Seen Feb 26, 2020
    I figured out how to change Deoxys in Emerald and i'm assuming it's the same in Fire Red. Convert Deoxys's stats (in this case attack forms stats) from dec to hex and put a 00 byte between each value. Search for these bytes with a hex editor and you will find where the stats are stored. I was able to correctly change Deoxys speed in emerald to Deoxys attack this way. The only thing I cannot figure out how to change is the back sprite and the party icon.

    Ok but that doesn't help me with trying to ADD IN the other forms.
     
    476
    Posts
    6
    Years
    • Seen Feb 26, 2020
    That's more or less what the game does to handle Shedinja's HP. There are a couple of solutions in this thread.

    So, that helps with Shedinja, but what about Deoxys? How would I go about adding in the other forms and editing the stats? In theory, I could just add in all forms as separate species and create Evo items to swap forms but that'd be a pain for the player as they'd have to buy a new stone any time they want to change their Deoxys' form.
     
    111
    Posts
    6
    Years
    • Seen Nov 11, 2023
    Ok but that doesn't help me with trying to ADD IN the other forms.

    There are only 2 forms programmed into each gen 3 game by default. You have to add the missing 2 in yourself either by making IPS patches with different forms (cosmic emerald did this) or by making items/conditions that evolve them. The alternative is using ASM to modify the initial form switch (likely impossible because it uses the excess space on a sprite sheet to get away with sprites for two forms in one sheet).
     
    1,591
    Posts
    10
    Years
    • Seen Mar 20, 2024
    So, that helps with Shedinja, but what about Deoxys? How would I go about adding in the other forms and editing the stats? In theory, I could just add in all forms as separate species and create Evo items to swap forms but that'd be a pain for the player as they'd have to buy a new stone any time they want to change their Deoxys' form.
    Yeah, making them separate species is probably the best way to do it. The game needs to read Deoxys' stats from somewhere and that'd be the simplest way for it to do that.

    IMO using evo stones would be less annoying than the official method of flying to a specific location and talking to a meteor to change its form. Maybe you could look into making a key item that switches Deoxys' forms so it only has to be acquired once?

    Oh cool that turned out to be surprisingly easy. I still have no idea where to change its speed form icon though unfortunately. It doesn't seem to be as simple as the back sprite since every icon editor ive looked at just shows normal form only
    I've got no idea either unfortunately, I don't know how the game handles the extra icon sprite.
     
    476
    Posts
    6
    Years
    • Seen Feb 26, 2020
    Yeah, making them separate species is probably the best way to do it. Maybe you could look into making a key item that switches Deoxys' forms so it only has to be acquired once?

    That's definitely a great idea, but how do I make the item a key item? Is the "type" of item based purely by the pocket it goes in? I know that G3T's item modifier lets you change the pocket, but if I, say, made it so the Thunder Stone goes in the Key Items Pocket, would that instantly be enough to make it a key item? Other than that I can probably do everything else necessary to make an entirely new items for "evolution" (and I already have name ideas L M A O)
     
    111
    Posts
    6
    Years
    • Seen Nov 11, 2023
    That's definitely a great idea, but how do I make the item a key item? Is the "type" of item based purely by the pocket it goes in? I know that G3T's item modifier lets you change the pocket, but if I, say, made it so the Thunder Stone goes in the Key Items Pocket, would that instantly be enough to make it a key item? Other than that I can probably do everything else necessary to make an entirely new items for "evolution" (and I already have name ideas L M A O)

    Item Manager lets you change the type of item. You're also going to need to know how to assign a custom script to an item which is a bit of a process in its own right. Then, to be honest, I actually have no idea how you'd really even go about writing a script like this since I'm assuming you'd want your Deoxys to keep its IVs, EVs, and levels. Hell, even if it didn't keep those it'd still be super confusing cause I have no idea how you can tell XSE to identify Deoxys specifically in your party and then remove and replace it. I know you can remove a Pokemon in a specific party slot but I have no idea how you'd have XSE specifically replace only Deoxys.

    Basically writing a script to change Deoxys forms in a logical way seems pretty much impossible. Which probably explains why no hacks really have this kind of form switching system in place.

    Edit: Unless the plan is to have these be evolution stones and then Deoxys just basically evolves between forms. In that case it's be pretty easy
     
    Last edited:

    Lunos

    Random Uruguayan User
    3,114
    Posts
    15
    Years
  • I still have no idea where to change its speed form icon though unfortunately.
    FRLG and Em have the icon sheet of the main Deoxys form used in them attached right below the sprite sheet that contains the icon frames of Deoxys' base form, which comes all the way from RS.

    In FRLG, the icon sprite of the Attack/Defense form can be found in the offset 0xE3A408, and it uses the palette at 0x3D3740.

    In Em, the icon sprite of the Speed form has 2 different versions for whatever reason. One is in the offset 0xD3BBF8 and the other one is in the offset 0xD3BFF8.
    Both use the palette at 0xDDE1F8.

    Pics below:
    Spoiler:


    As y'all can see, Deoxys' Speed form's icon has 2 different versions. I'm not sure why, but I'm guessing the one at 0xD3BBF8 is the correct one.

    Credits for these findings go mainly to PokeCommunity Discord user Blackforest and Pret.
    The former found the offset where the Attack/Defense form is located in FRLG, while I found the palette and the offsets for Em thanks to the latter's decompilation projects.

    If anyone sees anything wrong or incorrect here, please feel free to correct me.
     
    Back
    Top