Refactor: double hats

This commit is contained in:
chardub
2025-02-20 17:09:48 -05:00
parent 810154c516
commit f835ff8209
3 changed files with 19 additions and 1 deletions

View File

@@ -12,6 +12,22 @@ class TrainerClothesPreview
resetOutfits()
end
def set_hat(value,is_secondaryHat=false)
if is_secondaryHat
@hat2 = value
else
@hat = value
end
end
def set_hat_color(value,is_secondaryHat=false)
if is_secondaryHat
@hat2_color = value
else
@hat_color = value
end
end
def resetOutfits()
@clothes = $Trainer.clothes
@hat = $Trainer.hat