Thread: Development: Adding [a] new type[s] in gen 3?
View Single Post
Old January 31st, 2013 (1:53 AM).
ShyRayq's Avatar
ShyRayq ShyRayq is offline
Unprofessional Unprofessional
    Join Date: Aug 2007
    Gender: Male
    Nature: Adamant
    Posts: 1,543
    Okay, I'm going to double post.
    So, after some more research, I have concluded that you can 23 total types without the use of ASM.

    This is because, originally, the type icon bitmap is 16 blocks by 16, so the game registers the new type icon bitmap as only 16 x 16, no matter how large it is. Also, due to the locations of the "Type", "power" and other icons, you have to add new icons with a space before adding another one. As you can see, you can only have a total of 23 icons on the 16 x 16 bitmap, including the 2 pokeballs at the top.

    So, looking through the rom, I can see that the locations of the ASM for the type icons is at 0x8107D68, which then branches to an extremely ugly, long and scary ASM which I believe indicates which parts of the bitmap are the type icons.

    Unfortunately, I'm terrible at ASM, but I'll try.
    3DS Friend Code: 5069-3944-3902
    IGN: Peter; (X, Y, OR, AS, S, M)
    Friend Safari: (Fighting) Throh, Meditite, Breloom
    Living Pokedex Complete: LG, E, Pl, HG, B, B2, Y, OR, M, UM
    Big thanks especially to DestinedJagold, Xerneas_X, Elements1 and ~RNC~

    PM me if you want to trade, or add my FC.
    Reply With Quote