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

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

  • 11
    Posts
    12
    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
    Pokemon summary bw mod v17.2 no working

    I am trying to put the following script
    Spoiler:
     
  • 658
    Posts
    7
    Years
    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
     
  • 11
    Posts
    12
    Years
    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