|
@@ -315,20 +315,14 @@ if $ARGS[0] = 'display_coats':
|
|
exit
|
|
exit
|
|
end
|
|
end
|
|
|
|
|
|
- shop_display['clo_i'] = 0
|
|
|
|
- :coats_filter_loop
|
|
|
|
- shop_display['i'] = 1 + ARGS[5]
|
|
|
|
- :coats_main_loop
|
|
|
|
- if shop_display['i'] <= total:
|
|
|
|
- if arrpos('shop_display_exception', shop_display['i']) < 0:
|
|
|
|
- *p func('shop_utils', $ARGS[4], 'coats')
|
|
|
|
- end
|
|
|
|
- shop_display['i'] += ARGS[2]
|
|
|
|
- jump 'coats_main_loop'
|
|
|
|
|
|
+ shop_display['i'] = 1 + ARGS[5]
|
|
|
|
+ :coats_main_loop
|
|
|
|
+ if shop_display['i'] <= total:
|
|
|
|
+ if arrpos('shop_display_exception', shop_display['i']) < 0:
|
|
|
|
+ *p func('shop_utils', $ARGS[4], 'coats')
|
|
end
|
|
end
|
|
- shop_display['clo_i'] += 1
|
|
|
|
- if clothingfilter['quality'] = 0 and shop_display['clo_i'] <= 6:
|
|
|
|
- jump 'coats_filter_loop'
|
|
|
|
|
|
+ shop_display['i'] += ARGS[2]
|
|
|
|
+ jump 'coats_main_loop'
|
|
end
|
|
end
|
|
|
|
|
|
killvar 'shop_display'
|
|
killvar 'shop_display'
|
|
@@ -353,20 +347,14 @@ if $ARGS[0] = 'display_purses':
|
|
exit
|
|
exit
|
|
end
|
|
end
|
|
|
|
|
|
- shop_display['clo_i'] = 0
|
|
|
|
- :purses_filter_loop
|
|
|
|
- shop_display['i'] = 1 + ARGS[5]
|
|
|
|
- :purses_main_loop
|
|
|
|
- if shop_display['i'] <= total:
|
|
|
|
- if arrpos('shop_display_exception', shop_display['i']) < 0:
|
|
|
|
- *p func('shop_utils', $ARGS[4], 'purses')
|
|
|
|
- end
|
|
|
|
- shop_display['i'] += ARGS[2]
|
|
|
|
- jump 'purses_main_loop'
|
|
|
|
|
|
+ shop_display['i'] = 1 + ARGS[5]
|
|
|
|
+ :purses_main_loop
|
|
|
|
+ if shop_display['i'] <= total:
|
|
|
|
+ if arrpos('shop_display_exception', shop_display['i']) < 0:
|
|
|
|
+ *p func('shop_utils', $ARGS[4], 'purses')
|
|
end
|
|
end
|
|
- shop_display['clo_i'] += 1
|
|
|
|
- if clothingfilter['quality'] = 0 and shop_display['clo_i'] <= 6:
|
|
|
|
- jump 'purses_filter_loop'
|
|
|
|
|
|
+ shop_display['i'] += ARGS[2]
|
|
|
|
+ jump 'purses_main_loop'
|
|
end
|
|
end
|
|
|
|
|
|
killvar 'shop_display'
|
|
killvar 'shop_display'
|