Code: |
def refresh self.contents.clear normal_color = Color.new(60,60,60) self.contents.font.color = normal_color if @tronquage #print "tronquage oui " + @id_list.to_s calcul = 0 @id_list.each do |i| #print i ida = sprintf("%03d", i) string = " N." + ida self.contents.draw_text(5, @hauteur * calcul, 480, @hauteur, string) string = $pokemon_info.name(i) self.contents.draw_text(120, @hauteur * calcul, 300, @hauteur, string) if $data_pokedex[i][1] bitmap = RPG::Cache.picture("Pokedexball.png") self.contents.blt(92, 5 + @hauteur * calcul, bitmap, Rect.new(0, 0, 24, 24)) #type1 = $pokemon_info.type1(i) #type2 = $pokemon_info.type2(i) #src_rect = Rect.new(0, 0, 96, 42) #bitmap = RPG::Cache.picture("T" + type1.to_s + ".png") #self.contents.blt(336, 43 * (i-1), bitmap, src_rect, 255) #bitmap = RPG::Cache.picture("T" + type2.to_s + ".png") #self.contents.blt(432, 43 * (i-1), bitmap, src_rect, 255) end |
Sphinx a écrit: |
^_^ Oui, il vaut mieux garder les fonctions de PSP0.7 (surtout que le pokédex doit être le même, non ?) |
Ace Attorney Man a écrit: |
pokedex régional et national k: |