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

[Scripting Question] Pokemon summary bw mod v17.2 no working

  • 14
    Posts
    13
    Years
    Hi, I have v17.2 of essentials and I'm trying to add some mod of bw2 but the latter only made it to v16
    Error
    [PokeCommunity.com] Pokemon summary bw mod v17.2 no working

    I am trying to put the following script
    Spoiler:
     
    That's because MARKINGCHARS doesn't exist in Essentials v17.2
    Paste this below the end of def drawMarkings
    Code:
    def drawMarkings(bitmap,x,y)
        markings = @pokemon.markings
        markrect = Rect.new(0,0,16,16)
        for i in 0...6
          markrect.x = i*16
          markrect.y = (markings&(1<<i)!=0) ? 16 : 0
          bitmap.blt(x+i*16,y,@markingbitmap.bitmap,markrect)
        end
      end
     
    I tried but that's not the solution
    Luckily I was able to find the little mistake
    In the script Pscreen_PokemonStorage the following must be put:
    MARKINGCHARS=["●","▲","■","♥","★","☀"]
    I put it before class PokemonStoragescene
     
    Back
    Top