Update 6.8

This commit is contained in:
chardub
2026-07-10 15:42:06 -04:00
parent 5b85e72cb2
commit 6a6f126a18
7871 changed files with 493194 additions and 224826 deletions
@@ -1,7 +1,7 @@
class TrainerClothesPreview
attr_writer :pokeball, :clothes, :hat, :hat2, :hair, :skin_tone, :hair_color, :hat_color,:hat2_color, :clothes_color
def initialize(x = 0, y = 0, windowed = true, pokeball = nil)
def initialize(x = 0, y = 0, windowed = true, pokeball = nil, is_trainer = true)
@playerBitmap = nil
@playerSprite = nil
@x_pos = x
@@ -9,6 +9,7 @@ class TrainerClothesPreview
@windowed = windowed
@pokeball = pokeball
@is_trainer = is_trainer
resetOutfits()
end
@@ -28,6 +29,10 @@ class TrainerClothesPreview
end
end
def set_trainer(value)
@is_trainer = value
end
def resetOutfits()
@clothes = $Trainer.clothes
@hat = $Trainer.hat
@@ -46,7 +51,8 @@ class TrainerClothesPreview
@clothes,
@hat,@hat2, @hair,
@skin_tone,
@hair_color, @hat_color, @clothes_color, @hat2_color)
@hair_color, @hat_color, @clothes_color, @hat2_color,
@is_trainer)
initialize_preview()
end