|
@@ -422,5 +422,31 @@ if $ARGS[0] = 'sports_outfit':
|
|
|
act 'Change into: <<$sports_clothing_name>>': gs 'wardrobe', 'sports_entry_wear'
|
|
|
end
|
|
|
end
|
|
|
+
|
|
|
+if $ARGS[0] = 'school_outfit':
|
|
|
+ if ARRSIZE('defclothingnumber') > 0:
|
|
|
+ SchoolOutfitLoop = 0
|
|
|
+ :FindSchoolOutfit
|
|
|
+ gs 'clothing_attributes', $defclothingtype[SchoolOutfitLoop], defclothingnumber[SchoolOutfitLoop]
|
|
|
+ if CloStyle2 = 4:
|
|
|
+ gs 'wardrobe', 'default_entry_wear', SchoolOutfitLoop
|
|
|
+ if schtype = 0:
|
|
|
+ schtype = clothingwornnumber
|
|
|
+ $schbrand = $clothingworntype
|
|
|
+ end
|
|
|
+ jump 'FoundSchoolOutfit'
|
|
|
+ end
|
|
|
+ SchoolOutfitLoop += 1
|
|
|
+ if SchoolOutfitLoop < ARRSIZE('defclothingnumber'):jump 'FindSchoolOutfit'
|
|
|
+ :FoundSchoolOutfit
|
|
|
+ killvar 'SchoolOutfitLoop'
|
|
|
+ end
|
|
|
+ if schtype = 0 or schoolH[schtype] = 0:
|
|
|
+ schtype = 6
|
|
|
+ $schbrand = 'school'
|
|
|
+ end
|
|
|
+ gs 'clothing', 'wear', $schbrand, schtype
|
|
|
+end
|
|
|
+
|
|
|
--- wardrobe ---------------------------------
|
|
|
|