• 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.

GSC: Extension 255 icons/minis

com3tiin

Soy chamber...
  • 108
    Posts
    12
    Years
    • Seen Mar 3, 2024
    Thanks to the initiative and support of Soloo993, to the teachings of ASM of Crystal_, and collaboration of Miksy91, comet and Blue Emerald, I expand the number of minis that can be used for display in the menu party and the Daycare, of 38 to 255!! A whole managed for GBC hacks!
    (the Daycare only display the first 128 icons fine)

    The patch only overwrites data, therefore there is no danger that eliminates game information. The only new data is the graphics, which were stored in $1F0000-1F7FFF (Bank 0x7C and 0x7D ; free banks).

    This patch is not compatible with the "Pokemon Editor Ultimate", but you don't need to use it as each pokemon is assigned a value equal to its number of pokedex.
    (Don't apply the patch until you finish the use of the "Pokemon Editor Ultimate")

    To find each pokemon minisprite graphic the fomula are:

    [Index -1] * 0x80 + 1F0000


    ------------------------------
    Download

    Extension 255 icons/minis
    ------------------------------


    Additionally, I maintain a project to compile/create all icons/minisprites of the poké-world to give each one the correct graphic.

    This is a sample of the patch.

    [PokeCommunity.com] GSC: Extension 255 icons/minis
    [PokeCommunity.com] GSC: Extension 255 icons/minis
    [PokeCommunity.com] GSC: Extension 255 icons/minis



    Thanks to Soloo993 for the compendium of animations.

    [PokeCommunity.com] GSC: Extension 255 icons/minis



    Credits:

    • Blue Emerald
    • Soloo993
    • Chamber
    • Lake
    • Neslug
    • Pikachu253
    • Ryta


    PD: Some graphics are old version and I have not upgraded to the new ones that Blue Emerald created.

    Edit:
    This is the routine.

    Code:
    GetIcon: ; 8ea1e
    ; Load icon graphics into VRAM starting from tile hl.
    
    (...)
        ld a, [CurIcon]
        push hl
        ld l, a
        ld h, 0
        add hl, hl
        ld de, IconPointers
        add hl, de
        ld a, [hli]
        ld e, a
        ld d, [hl]
        pop hl
        
        lb bc, BANK(Icons),//------------jump here
        call GetGFXUnlessMobile
    
        pop hl
        ret
    ; 8ea3f
    ----------------
    Function8e82b: ; 8e82b
        ld a, e
        call ReadMonMenuIcon
        ld l, a
        ld h, 0
        add hl, hl
        ld de, IconPointers
        add hl, de
        ld a, [hli]
        ld e, a
        ld d, [hl]
        ld b, BANK(Icons)//------------jump here
        ld c, 8
        ret
    ; 8e83f
    ----------------
    //jump here
    call @extendida
    
    @extendida
    ld a,[CurIcon]
    cp a,$80
    jr nc,@mayor
    ld bc,$7C08// 7C = Bank ; nueva ubicacion de los graficos
    ret
    @mayor
    ld bc,$7D08// 7D = Bank
    ret
    ----------------
     
    Back
    Top