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

HP bars, custom style

hirokimura

Miltank's Fanboy Number One
  • 150
    Posts
    7
    Years
    Hey !
    I was bored with HP bars so I made some.
    EDIT : forgot the preview !
    https://prntscr.com/k32hev

    Those are edited rips from Danganronpa trigger happy havoc game. Ressource can be found on spriter's

    Juste replace your graphics with this
    https://imgur.com/a/B1SajKM

    And change this line in pokebattle_scene replace line 625-626 with this
    HTML:
        base   = Color.new(244,244,244)
        shadow = Color.new(0,0,0)

    Well, just ctrl f base and take the one after this comment
    #===============================================================================
    # Data box for regular battles (both single and double)
    #===============================================================================

    EDIT : To fix the text position in the box like this
    https://prntscr.com/khsr84
    Spoiler:

    No credit required, edits are okay, have fun !
     
    Last edited:
    Is there anyway of putting the pok?mon names a little bit higher so that they become a little more visible?
     
    Hey Joaom ^^
    I'll look at this. To be fair, I don't know about scripting so It'll require some time to figure what is the text position thing for pokemons, let me few days and I'm yours :3

    EDIT, FIXED THIS !
    https://prntscr.com/khsr84

    In pokebattle scene look for this :
    # Draw pokemon's name
    Select the part just after this comment, until the line :
    #Draw shiny icon

    And paste this instead
    # Draw Pok?mon's name
    textpos.push([@battler.name,@spritebaseX+8,2,false,base,shadow])
    # Draw Pok?mon's gender symbol
    genderX = self.bitmap.text_size(@battler.name).width
    genderX += @spritebaseX+14
    case @battler.displayGender
    when 0 # Male
    textpos.push([_INTL("?"),genderX,2,false,Color.new(48,96,216),shadow])
    when 1 # Female
    textpos.push([_INTL("?"),genderX,2,false,Color.new(248,88,40),shadow])
    end
    pbDrawTextPositions(self.bitmap,textpos)
    # Draw Pok?mon's level
    pbSetSmallFont(self.bitmap)
    imagepos.push(["Graphics/Pictures/Battle/overlay_lv",
    @spritebaseX+180-self.bitmap.text_size(@battler.level.to_s).width,16,0,0,-1,-1])
    textpos = [
    [@battler.level.to_s,@spritebaseX+202,8,true,base,shadow]
    ]
    # Draw Pok?mon's HP numbers
    if @showhp
    hpstring = _ISPRINTF("{1: 2d}/{2: 2d}",self.hp,@battler.totalhp)
    textpos.push([hpstring,@spritebaseX+188,46,true,base,shadow])
    end
    pbDrawTextPositions(self.bitmap,textpos)
    # Draw shiny icon
     
    Last edited:
    The sprites are amazing and now look even greater thanks alot!
     
    Last edited:
    Back
    Top