Thread: [Question] Badges on Trainer Card
View Single Post
  #2    
Old September 2nd, 2012 (09:27 AM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,482
Untested, in Trainer Card script change
Code:
    region=pbGetCurrentRegion(0) # Get the current region
    imagePositions=[]
    for i in 0...8
      if $Trainer.badges[i+region*8]
        imagePositions.push(["Graphics/Pictures/badges",x,310,i*32,region*32,32,32])
      end
      x+=48
    end
to
Code:
    for region in 0...5 # Five rows
      imagePositions=[]
      for i in 0...8
        if $Trainer.badges[i+region*8]
          imagePositions.push( ["Graphics/Pictures/badges",x,310,i*32,region*32,32,32])
        end
        x+=48
      end
    end
You needs to change the '310' to a lower number like '182'.
__________________
Reply With Quote