code:
;상반신윗도리_탈의불가
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_상반신윗도리_탈의불가_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@상반신윗도리_탈의불가_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "상반신윗도리_탈의불가", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_상반신윗도리_탈의불가1
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "민소매 윗도리")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
;구장비 처리와의 조회용, 상반신윗도리1의 1
ENDSELECT

@EXIST_상반신윗도리_탈의불가2
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "세라복")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
;구장비 처리와의 조회용, 상반신윗도리1의 2
ENDSELECT

@EXIST_상반신윗도리_탈의불가3
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "윗도리")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
;구장비 처리와의 조회용, 상반신윗도리1의 3
ENDSELECT

@EXIST_상반신윗도리_탈의불가4
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "블레이저 코트")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
;구장비 처리와의 조회용, 상반신윗도리1의 4
ENDSELECT

@EXIST_상반신윗도리_탈의불가5
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "하쿠레이의 무녀옷")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
;구장비 처리와의 조회용, 상반신윗도리1의 5
ENDSELECT

@EXIST_상반신윗도리_탈의불가6
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "셔츠")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
;구장비 처리와의 조회용, 상반신윗도리1의 6
ENDSELECT

;구장비 처리와의 조회용, 상반신윗도리1의 7
;백의→흰 소매에 개명해만 가능하게 이동

@EXIST_상반신윗도리_탈의불가8
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "작업복(위)")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
;구장비 처리와의 조회용, 상반신윗도리1의 8
ENDSELECT

;신설
;후토용
@EXIST_상반신윗도리_탈의불가9
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가9(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "관복")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
ENDSELECT

;신설
;신관 롤이든지 문신 롤로 사용해주세요
@EXIST_상반신윗도리_탈의불가10
#LOCALSIZE 1
#LOCALSSIZE 1

@상반신윗도리_탈의불가10(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "신관복")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「상반신윗도리1」")
ENDSELECT


code:
;;모미지
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_신발_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@신발_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "신발", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_신발1
#LOCALSIZE 1
#LOCALSSIZE 1

@신발1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "신발")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 1
ENDSELECT

@EXIST_신발2
#LOCALSIZE 1
#LOCALSSIZE 1

@신발2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "나막신")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 2
ENDSELECT

@EXIST_신발3
#LOCALSIZE 1
#LOCALSSIZE 1

@신발3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "롱 부츠")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 3
ENDSELECT

@EXIST_신발4
#LOCALSIZE 1
#LOCALSSIZE 1

@신발4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "하이 부츠")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 4
ENDSELECT

@EXIST_신발5
#LOCALSIZE 1
#LOCALSSIZE 1

@신발5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "설태")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 5
ENDSELECT

@EXIST_신발6
#LOCALSIZE 1
#LOCALSSIZE 1

@신발6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "하이힐")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 6
ENDSELECT

@EXIST_신발7
#LOCALSIZE 1
#LOCALSSIZE 1

@신발7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "간호사 샌들")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 7
ENDSELECT

@EXIST_신발8
#LOCALSIZE 1
#LOCALSSIZE 1

@신발8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "짚신")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 8
ENDSELECT

@EXIST_신발9
#LOCALSIZE 1
#LOCALSSIZE 1

@신발9(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "부츠")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 9
ENDSELECT

@EXIST_신발10
#LOCALSIZE 1
#LOCALSSIZE 1

@신발10(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "스니커즈")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 10
ENDSELECT

@EXIST_신발11
#LOCALSIZE 1
#LOCALSSIZE 1

@신발11(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "펌프스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 11
ENDSELECT

@EXIST_신발12
#LOCALSIZE 1
#LOCALSSIZE 1

@신발12(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "가죽 신발")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 12
ENDSELECT

@EXIST_신발13
#LOCALSIZE 1
#LOCALSSIZE 1

@신발13(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "작업화")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;구장비 처리와의 조회용, 신발의 13
ENDSELECT

;신설
@EXIST_신발14
#LOCALSIZE 1
#LOCALSSIZE 1

@신발14(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "옛신")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
ENDSELECT

@EXIST_신발15
#LOCALSIZE 1
#LOCALSSIZE 1

@신발15(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "뮬")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
;旧装備処理との照会用、신발の15
ENDSELECT

@EXIST_신발16
#LOCALSIZE 1
#LOCALSSIZE 1

@신발16(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "샌들")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「신발」")
ENDSELECT

license: mit


code:
;액세서리
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_액세서리_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@액세서리_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "액세서리", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_액세서리1
#LOCALSIZE 1
#LOCALSSIZE 1

;오브젝트 본체
@액세서리1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "안경")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「액세서리」")
;구장비 처리와의 조회용, 액세서리의 1
ENDSELECT

@EXIST_액세서리2
#LOCALSIZE 1
#LOCALSSIZE 1

@액세서리2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "소매")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「액세서리」")
;구장비 처리와의 조회용, 액세서리의 2
ENDSELECT

@EXIST_액세서리3
#LOCALSIZE 1
#LOCALSSIZE 1

@액세서리3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "목걸이")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「액세서리」")
;구장비 처리와의 조회용, 액세서리의 3
ENDSELECT

@EXIST_액세서리4
#LOCALSIZE 1
#LOCALSSIZE 1

@액세서리4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "신사부적")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「액세서리」")
;구장비 처리와의 조회용, 액세서리의 4
ENDSELECT

@EXIST_액세서리5
#LOCALSIZE 1
#LOCALSSIZE 1

@액세서리5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "고글")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「액세서리」")
;구장비 처리와의 조회용, 액세서리의 5
ENDSELECT

@EXIST_액세서리6
#LOCALSIZE 1
#LOCALSSIZE 1

@액세서리6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "우산")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「액세서리」")
;구장비 처리와의 조회용, 액세서리의 6
ENDSELECT

@EXIST_액세서리7
#LOCALSIZE 1
#LOCALSSIZE 1

@액세서리7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "선글라스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「액세서리」")
;구장비 처리와의 조회용, 액세서리의 7
ENDSELECT

@EXIST_액세서리8
#LOCALSIZE 1
#LOCALSSIZE 1

@액세서리8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "쇠사슬")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「액세서리」")
;구장비 처리와의 조회용, 액세서리의 8
ENDSELECT


code:
;양말
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_양말_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@양말_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "양말", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_양말1
#LOCALSIZE 1
#LOCALSSIZE 1

@양말1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "양말")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
;구장비 처리와의 조회용, 양말의 1
ENDSELECT

@EXIST_양말2
#LOCALSIZE 1
#LOCALSSIZE 1

@양말2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "니삭스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
;구장비 처리와의 조회용, 양말의 2
ENDSELECT

@EXIST_양말3
#LOCALSIZE 1
#LOCALSSIZE 1

@양말3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "팬티 스타킹")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
;구장비 처리와의 조회용, 양말의 3
ENDSELECT

@EXIST_양말4
#LOCALSIZE 1
#LOCALSSIZE 1

@양말4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "가터 스타킹")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
;구장비 처리와의 조회용, 양말의 4
ENDSELECT

@EXIST_양말5
#LOCALSIZE 1
#LOCALSSIZE 1

@양말5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "사이하이삭스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
;구장비 처리와의 조회용, 양말의 5
ENDSELECT

@EXIST_양말6
#LOCALSIZE 1
#LOCALSSIZE 1

@양말6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "그물 타이츠")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
;구장비 처리와의 조회용, 양말의 6
ENDSELECT

@EXIST_양말7
#LOCALSIZE 1
#LOCALSSIZE 1

@양말7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "버선")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
;구장비 처리와의 조회용, 양말의 7
ENDSELECT

@EXIST_양말8
#LOCALSIZE 1
#LOCALSSIZE 1

@양말8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "타이츠")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
;구장비 처리와의 조회용, 양말의 8
ENDSELECT

@EXIST_양말9
#LOCALSIZE 1
#LOCALSSIZE 1

@양말9(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "리본")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「양말」")
ENDSELECT


code:
;완부의복
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_완부의복_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@완부의복_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "완부의복", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_완부의복1
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "토시")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
;구장비 처리와의 조회용, 완부의복의 1
ENDSELECT

@EXIST_완부의복2
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "가죽 글러브")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
;구장비 처리와의 조회용, 완부의복의 2
ENDSELECT

@EXIST_완부의복3
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "작업용 장갑")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
;구장비 처리와의 조회용, 완부의복의 3
ENDSELECT

@EXIST_완부의복4
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "사시누키 글러브")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
;구장비 처리와의 조회용, 완부의복의 4
ENDSELECT

@EXIST_완부의복5
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "실크 글러브")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
;구장비 처리와의 조회용, 완부의복의 5
ENDSELECT

@EXIST_완부의복6
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "건틀릿")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
;구장비 처리와의 조회용, 완부의복의 6
ENDSELECT

@EXIST_완부의복7
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "커프스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
;구장비 처리와의 조회용, 완부의복의 7
ENDSELECT

@EXIST_완부의복8
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "궁수장갑")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
;구장비 처리와의 조회용, 완부의복의 8
ENDSELECT

;신설
@EXIST_완부의복9
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복9(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "암 커버")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
ENDSELECT

@EXIST_완부의복10
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복10(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "팔찌")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
ENDSELECT

@EXIST_완부의복11
#LOCALSIZE 1
#LOCALSSIZE 1

@완부의복11(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "리본")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「완부의복」")
ENDSELECT


code:
;원피스
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_원피스_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@원피스_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "원피스", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_원피스1
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "원피스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 1
ENDSELECT

@EXIST_원피스2
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "베이비돌")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 2
ENDSELECT

@EXIST_원피스3
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "에이프런 드레스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 3
ENDSELECT

@EXIST_원피스4
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "차이나 드레스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 4
ENDSELECT

@EXIST_원피스5
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "법의")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 5
ENDSELECT

@EXIST_원피스6
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "도사옷")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 6
ENDSELECT

@EXIST_원피스7
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "이브닝 드레스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 7
ENDSELECT

@EXIST_원피스8
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "롱 네글리제")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 8
ENDSELECT

@EXIST_원피스9
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스9(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "고스로리 드레스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 9
ENDSELECT

@EXIST_원피스10
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스10(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "간호사 옷")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 10
ENDSELECT

@EXIST_원피스11
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스11(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "작업복")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 11
ENDSELECT

@EXIST_원피스12
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스12(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "인형탈")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 12
ENDSELECT

@EXIST_원피스13
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스13(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "목욕타올")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 13
ENDSELECT

@EXIST_원피스14
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스14(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "원피스(흰색)")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 14
ENDSELECT

@EXIST_원피스15
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스15(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "속속곳")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 15
ENDSELECT

@EXIST_원피스16
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스16(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "웨딩드레스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
;구장비 처리와의 조회용, 원피스의 16
ENDSELECT

@EXIST_원피스17
#LOCALSIZE 1
#LOCALSSIZE 1

@원피스17(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "차이나드레스(바지)")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「원피스」")
ENDSELECT


code:
;스커트
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_치마_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@치마_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "치마", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_치마1
#LOCALSIZE 1
#LOCALSSIZE 1

@치마1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "치마")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 1
ENDSELECT

@EXIST_치마2
#LOCALSIZE 1
#LOCALSSIZE 1

@치마2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "롱 스커트")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 2
ENDSELECT

;이것 아마 미스
;파자마 바지→파자마 치마
@EXIST_치마3
#LOCALSIZE 1
#LOCALSSIZE 1

@치마3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마 치마")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 3
ENDSELECT

@EXIST_치마4
#LOCALSIZE 1
#LOCALSSIZE 1

@치마4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "남자용치마")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 4
ENDSELECT

@EXIST_치마5
#LOCALSIZE 1
#LOCALSSIZE 1

@치마5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "서스펜더 스커트")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 5
ENDSELECT

@EXIST_치마6
#LOCALSIZE 1
#LOCALSSIZE 1

@치마6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "점퍼스커트")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 6
ENDSELECT

@EXIST_치마7
#LOCALSIZE 1
#LOCALSSIZE 1

@치마7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "미니스커트")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 7
ENDSELECT

@EXIST_치마8
#LOCALSIZE 1
#LOCALSSIZE 1

@치마8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "살로페트 스커트")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 8
ENDSELECT

@EXIST_치마9
#LOCALSIZE 1
#LOCALSSIZE 1

@치마9(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "삼색치마")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「치마」")
;구장비 처리와의 조회용, 치마의 9
ENDSELECT


code:
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
;WEAPONID는 변환 가능
@EXIST_하반신속옷_비켜놓기가능_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@하반신속옷_비켜놓기가능_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "하반신속옷_비켜놓기가능", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

;존부 함수
;F함수는 TRYCALL계를 사용할 수 없기 때문에 통상 함수로 존부 배열을 만들어버린다
@EXIST_하반신속옷_비켜놓기가능0
#LOCALSIZE 1
#LOCALSSIZE 1

;오브젝트 본체
@하반신속옷_비켜놓기가능0(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	;STR형의 일시 변수를 정의하는 명령
	CALLF MAKE_STR(V_NAME, "노팬티")
CASE "입다"
;노팬티를 신는다고는
	SIF (TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:섹프 || ABL:ARG:노출벽 >= 8) && !RAND:5
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능1
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "트렁크스")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "남자용품의")
CASE "비쳐보이는"
	CALLF MAKE_INT(V_NAME, 1)
CASE "갈아입히기 가능"
	CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "T셔츠"))
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능2

@하반신속옷_비켜놓기가능2(ARG, O_DATA, V_NAME)
#FUNCTION
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "드로워즈")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "완만한 구조의")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	SIF !RAND:(1 + (2 * 승부속옷판정(ARG)))
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능3
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "쿠마짱 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "마스코트의 프린트가 사랑스러운")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF TALENT:ARG:소악마 || TALENT:ARG:섹프
	ELSEIF TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:무지
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	IF TALENT:ARG:소악마 || TALENT:ARG:섹프
	ELSEIF TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:무지
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능4
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "물방울 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "아이 같은 무늬의")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF TALENT:ARG:소악마 || TALENT:ARG:섹프
	ELSEIF TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	IF TALENT:ARG:소악마 || TALENT:ARG:섹프
	ELSEIF TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능5
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "줄무늬 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "영덩이의 라인이 강조되는")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	SIF !RAND:(1 + (2 * 승부속옷판정(ARG)))
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능6
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "프릴 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "사랑스러운 프릴이 쓰인")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF TALENT:ARG:소악마 || TALENT:ARG:섹프
	ELSEIF TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	IF TALENT:ARG:소악마 || TALENT:ARG:섹프
	ELSEIF TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능7
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "민무늬 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "꾸밈없는")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF TALENT:ARG:소악마 || TALENT:ARG:섹프
	ELSEIF !RAND:(1 + (2 * 승부속옷판정(ARG)))
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	IF TALENT:ARG:소악마 || TALENT:ARG:섹프
	ELSE
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능10
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능10(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "로레그 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "심플한 디자인의")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF !RAND:(1 + (2 * 승부속옷판정(ARG)))
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능11
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능11(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "로라이즈 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "엉덩이의 균열부가 보일 것 같은")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	SIF !RAND:(2 - TALENT:ARG:연모)
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능12
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능12(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "하이레그 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "아슬아슬하게 째진")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	SIF !RAND:(2 - TALENT:ARG:연모)
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	SELECTCASE RAND:(1 + 승부속옷판정(ARG))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능13
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능13(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "레이스 팬티(흰색)")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "청초하지만 어렴풋이 비쳐보이는")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF !(TALENT:ARG:소악마 || TALENT:ARG:연모) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !RAND:(3 - TALENT:ARG:연모 - 승부속옷판정(ARG))
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	SELECTCASE (RAND:2 + 승부속옷판정(ARG))
		CASE 2
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "레이스 브라(흰색)"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	IF !(TALENT:ARG:소악마 || TALENT:ARG:연모) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
	ELSE
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "콜렉션 해금 조건"
	CALLF MAKE_STR(V_NAME, "해금：연모")
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능14
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능14(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	;STR형의 일시 변수를 정의하는 명령
	CALLF MAKE_STR(V_NAME, "레이스 팬티(흑)")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "어른의 색기가 넘치는")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF !(TALENT:ARG:소악마 || TALENT:ARG:연모) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !RAND:(3 - TALENT:ARG:연모 - 승부속옷판정(ARG))
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	SELECTCASE (RAND:2 + 승부속옷판정(ARG))
		CASE 2
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "레이스 브라(흑)"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	IF !(TALENT:ARG:소악마 || TALENT:ARG:연모) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
	ELSE
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "콜렉션 해금 조건"
	CALLF MAKE_STR(V_NAME, "해금：연모")
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능15
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능15(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "T 백")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "엉덩이가 들어나는 대담한")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "입다"
	SIF (TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모) && !RAND:(3 -  TALENT:ARG:연모 - 승부속옷판정(ARG))
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	SELECTCASE RAND:(1 + 승부속옷판정(ARG))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	SIF TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모
		CALLF MAKE_INT(V_NAME, 1)
CASE "콜렉션 해금 조건"
	CALLF MAKE_STR(V_NAME, "해금：연모")
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능16
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능16(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "끈 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "가는 끈으로 허리에 매인")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	SIF (TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모) && !RAND:(2 -  TALENT:ARG:연모)
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	SELECTCASE RAND:(1 + 승부속옷판정(ARG))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	SIF TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모
		CALLF MAKE_INT(V_NAME, 1)
CASE "콜렉션 해금 조건"
	CALLF MAKE_STR(V_NAME, "해금：연모")
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능17
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능17(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "가죽 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "세로 지퍼가 달린")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "입다"
	SIF (TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프) && ABL:ARG:새드끼 > 4 && !RAND:3
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	IF !RAND:2
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "벨트 브라"))
	ELSE
		CALLF MAKE_INT(V_NAME, 0)
	ENDIF

CASE "콜렉션 표시 가능"
	SIF TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프
		CALLF MAKE_INT(V_NAME, 1)
CASE "콜렉션 해금 조건"
	IF (TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프) && ABL:ARG:새드끼 <= 4
		CALLF MAKE_STR(V_NAME, "해금：새드끼 5")
	ELSE
		CALLF MAKE_STR(V_NAME, "해금：연모")
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능18
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능18(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, @"%UNIQUE_UNDERWARE_BOTTOM(ARG)%")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, @"%UNIQUE_UNDERWARE_ADJ(ARG)%")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, UNIQUE_UNDERWARE_TRANSPARENCY_FRONT(ARG))
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, UNIQUE_UNDERWARE_TRANSPARENCY_BACK(ARG))
CASE "입다"
	CALLF MAKE_INT(V_NAME, UNIQUE_UNDERWARE_ABLE(ARG))
CASE "관련 속옷"
	;固有ブラ
	IF GET_INT(ARG, "캐릭터데이터", ARG, "고유 상반신속옷")
		CALLF MAKE_INT(V_NAME, 13)
	ELSE
		CALLF MAKE_INT(V_NAME, 0)
	ENDIF
;우선 이번은 무조건으로 던지지만 본래는 캐릭터데이터함수에 건네주어 반환값을 봐야 함
;그렇다면 착용 조건의 유무까지 설정할 수 있지만, 다시 전캐릭터 분의 설정이 필요하게 된다
;거기까지 하는 것 큰 일이겠지
CASE "콜렉션 표시 가능"
	CALLF MAKE_INT(V_NAME, 1)
CASE "콜렉션 해금 조건"
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능19
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능19(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "쇼츠")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "소녀다운 깜찍한")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	CALLF MAKE_INT(V_NAME, 1)
CASE "콜렉션 해금 조건"
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능20
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능20(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "스캔티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "기장이 극히 짧은")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	SIF FLAG:섹시팬티추가 && !RAND:(2 - TALENT:ARG:연모)
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	SELECTCASE RAND:(1 + 승부속옷판정(ARG))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	SIF FLAG:섹시팬티추가
		CALLF MAKE_INT(V_NAME, 1)
CASE "콜렉션 해금 조건"
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능21
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능21(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "훈도시")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "엉덩이에 꽉 죄인")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "입다"
	SIF FLAG:섹시팬티추가 && !RAND:(3 + 승부속옷판정(ARG))
		CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "사라시"))

CASE "콜렉션 표시 가능"
	SIF FLAG:섹시팬티추가
		CALLF MAKE_INT(V_NAME, 1)
CASE "콜렉션 해금 조건"
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능22
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능22(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "G스트링")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "극소 면적의 끈과 다름없는")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "입다"
	IF !(FLAG:섹시팬티추가 && ABL:ARG:노출벽 >= 4)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !(TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !RAND:(3 - TALENT:ARG:연모 - 승부속옷판정(ARG))
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	SELECTCASE RAND:(1 + 승부속옷판정(ARG))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	IF !(FLAG:섹시팬티추가 && ABL:ARG:노출벽 >= 4)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !(TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 0)
	ELSE
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "콜렉션 해금 조건"
	IF (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지) && ABL:ARG:노출벽 >= 4
		CALLF MAKE_STR(V_NAME, "해금：연모")
	ELSEIF ABL:ARG:노출벽 < 4
		CALLF MAKE_STR(V_NAME, "해금：노출벽 4")
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능23
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능23(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "시스루 쇼츠")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "중요한 부분이 비치는")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF !(FLAG:섹시팬티추가 && ABL:ARG:노출벽 >= 4)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !(TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !RAND:(3 - TALENT:ARG:연모 - 승부속옷판정(ARG))
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	SELECTCASE (RAND:2 + 승부속옷판정(ARG))
		CASE 2
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "시스루 브라"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	IF !(FLAG:섹시팬티추가 && ABL:ARG:노출벽 >= 4)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !(TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 0)
	ELSE
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "콜렉션 해금 조건"
	IF (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지) && ABL:ARG:노출벽 >= 4
		CALLF MAKE_STR(V_NAME, "해금：연모")
	ELSEIF ABL:ARG:노출벽 < 4
		CALLF MAKE_STR(V_NAME, "해금：노출벽 4")
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능24
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능24(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "오픈 쇼츠")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "휑하게 치부를 드러낸")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF !(FLAG:섹시팬티추가 && ABL:ARG:노출벽 >= 4)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !(TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !RAND:(4 - TALENT:ARG:연모 - (2 * 승부속옷판정(ARG)))
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "관련 속옷"
	SELECTCASE (RAND:2 + 승부속옷판정(ARG))
		CASE 2
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "베이비돌"))
		CASE 1
			CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "톱리스 브라"))
		CASEELSE
			CALLF MAKE_INT(V_NAME, 0)
	ENDSELECT

CASE "콜렉션 표시 가능"
	IF !(FLAG:섹시팬티추가 && ABL:ARG:노출벽 >= 4)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF !(TALENT:ARG:걸레 || TALENT:ARG:소악마 || TALENT:ARG:연모 || TALENT:ARG:섹프) && (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 0)
	ELSE
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
CASE "콜렉션 해금 조건"
	IF (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지) && ABL:ARG:노출벽 >= 4
		CALLF MAKE_STR(V_NAME, "해금：연모")
	ELSEIF ABL:ARG:노출벽 < 4
		CALLF MAKE_STR(V_NAME, "해금：노출벽 4")
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능25
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능25(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "반창고")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "세로로 찰싹 붙이기만 한")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "입다"
	IF !(FLAG:섹시팬티추가 && ABL:ARG:노출벽 >= 4)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지) && !RAND:3
		CALLF MAKE_INT(V_NAME, 1)
	ELSE
		CALLF MAKE_INT(V_NAME, 0)
	ENDIF
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "반창고"))

CASE "콜렉션 표시 가능"
	IF !(FLAG:섹시팬티추가 && ABL:ARG:노출벽 >= 4)
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF (TALENT:ARG:유치 || TALENT:ARG:애같음 || TALENT:ARG:체형 < 0 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 1)
	ELSE
		CALLF MAKE_INT(V_NAME, 0)
	ENDIF
CASE "콜렉션 해금 조건"
	IF ABL:ARG:노출벽 < 4
		CALLF MAKE_STR(V_NAME, "해금：노출벽 4")
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능26
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능26(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "드로워즈(가랑이 열림)")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "배변용으로 가랑이가 크게 벌어진")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "입다"
	IF FLAG:섹시팬티추가 && (TALENT:ARG:섹프 && ABL:ARG:노출벽 >= 5 || TALENT:ARG:무지) && !RAND:4
		CALLF MAKE_INT(V_NAME, 1)
	ELSE
		CALLF MAKE_INT(V_NAME, 0)
	ENDIF
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)

CASE "콜렉션 표시 가능"
	IF !FLAG:섹시팬티추가
		CALLF MAKE_INT(V_NAME, 0)
	ELSEIF (TALENT:ARG:섹프 && ABL:ARG:노출벽 >= 5 || TALENT:ARG:무지)
		CALLF MAKE_INT(V_NAME, 1)
	ELSE
		CALLF MAKE_INT(V_NAME, 0)
	ENDIF
CASE "콜렉션 해금 조건"
	IF TALENT:ARG:무지
	ELSEIF TALENT:ARG:섹프 && ABL:ARG:노출벽 >= 5
	ELSEIF TALENT:ARG:섹프
		CALLF MAKE_STR(V_NAME, "해금：노출벽 5")
	ELSEIF ABL:ARG:노출벽 >= 5
		CALLF MAKE_STR(V_NAME, "해금：섹프")
	ENDIF
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능27
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능27(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "정조대")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "튼튼한 열쇠가 잠긴 금속제의")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "정조대 브라"))
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능28
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능28(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "촉수 속옷")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "안쪽에서 뭔가 꿈틀꿈틀 움직이는")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "촉수 브라"))
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능29
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능29(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "바이브 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "원통형의 이물이 장치된")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능30
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능30(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "두 구멍 바이브 팬티")
CASE "묘사"
	CALLF MAKE_STR(V_NAME, "두 개의 봉이 가랑이에서 방방 굽이치는")
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능31
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능31(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "비키니 보텀")
;하반신속옷2의 20
CASE "갈아입히기 가능"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "비키니 탑"))
ENDSELECT

@EXIST_하반신속옷_비켜놓기가능32
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기가능32(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "마이크로 보텀")
;하반신속옷2の21
CASE "갈아입히기 가능"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "관련 속옷"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "마이크로 탑"))
ENDSELECT

@승부속옷판정(ARG)
#FUNCTION
IF !TALENT:ARG:무지
	SIF (CFLAG:ARG:기정사실 & 합의_우후후 || TALENT:ARG:연모) && CFLAG:ARG:다음날내방
		RETURNF 1
	IF DAY:2 == 1
		SELECTCASE DAY:3
			CASE 14
				SIF TALENT:ARG:연모
					RETURNF 1
		ENDSELECT
	ELSEIF DAY:2 == 4
		SELECTCASE DAY:3
			CASE 14, 24, 25
				SIF TALENT:ARG:연모
					RETURNF 1
		ENDSELECT
	ENDIF
ENDIF
RETURNF 0


code:
;하반신속옷_비켜놓기불가
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_하반신속옷_비켜놓기불가_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@하반신속옷_비켜놓기불가_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "하반신속옷_비켜놓기불가", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_하반신속옷_비켜놓기불가1
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기불가1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "샅바")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「하반신속옷1」")
;구장비 처리와의 조회용, 하반신속옷1의 1
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT

@EXIST_하반신속옷_비켜놓기불가2
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기불가2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "마에바리")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「하반신속옷1」")
;구장비 처리와의 조회용, 하반신속옷1의 2
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT

@EXIST_하반신속옷_비켜놓기불가3
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기불가3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "반창고")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「하반신속옷1」")
;구장비 처리와의 조회용, 하반신속옷1의 3
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT

@EXIST_하반신속옷_비켜놓기불가4
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기불가4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "스패츠")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「하반신속옷1」")
;구장비 처리와의 조회용, 하반신속옷1의 4
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 1)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_하반신속옷_비켜놓기불가5
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기불가5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "정조대")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「하반신속옷1」")
;구장비 처리와의 조회용, 하반신속옷1의 5
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT

@EXIST_하반신속옷_비켜놓기불가6
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기불가6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "라비아 피어스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「하반신속옷1」")
;구장비 처리와의 조회용, 하반신속옷1의 6
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT

@EXIST_하반신속옷_비켜놓기불가7
#LOCALSIZE 1
#LOCALSSIZE 1

@하반신속옷_비켜놓기불가7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "클리 피어스")
CASE "장비부위"
	CALLF MAKE_STR(V_NAME, "「하반신속옷1」")
;구장비 처리와의 조회용, 하반신속옷1의 7
CASE "비쳐보이는(앞)"
	CALLF MAKE_INT(V_NAME, 0)
CASE "비쳐보이는(뒤)"
	CALLF MAKE_INT(V_NAME, 0)
ENDSELECT


code:
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_의상세트_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@의상세트_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "의상세트", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

;존부 함수
;F함수는 TRYCALL계를 사용할 수 없기 때문에 통상 함수로 존부 배열을 만들어버린다
@EXIST_의상세트1
#LOCALSIZE 1
#LOCALSSIZE 1

;오브젝트 본체
@의상세트1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "남장 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "바지"))
CASE "상반신속옷1"
;오토메는 사라시를 붙인다
	IF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "사라시"))
	ELSE
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "T셔츠"))
	ENDIF
CASE "상반신윗도리1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리1", "윗도리"))
ENDSELECT

@EXIST_의상세트2
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "여장 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
CASE "상반신속옷1"
;오토코노코는 브래지어를 착용하지 않는다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "블라우스"))
ENDSELECT

@EXIST_의상세트3
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "집사 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "상반신속옷1"
;오토코노코는 브래지어를 착용하지 않는다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "상반신윗도리1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리1", "셔츠"))
CASE "상반신속옷1"
;오토코노코는 브래지어를 착용하지 않는다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "하반신속옷2"
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("하반신속옷2", "트렁크스"))
CASE "외투"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "쟈켓"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "넥타이"))
CASE "그외2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외2", "숄더백"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "슬랙스(평상복 바지)"))
CASE "완부의복"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("완부의복", "실크 글러브"))
ENDSELECT

@EXIST_의상세트4
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "가정부 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "머리 장식"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "기모노"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("기모노", "기모노"))
CASE "상반신속옷1"
;오토코노코는 브래지어를 착용하지 않는다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "외투"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "일본식 앞치마"))
ENDSELECT

@EXIST_의상세트5
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트5(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "신관 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "설태"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "버선"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "하카마"))
CASE "상반신속옷1"
;오토메는 사라시를 붙인다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "사라시"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "흰 소매"))
ENDSELECT

@EXIST_의상세트6
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "작업복 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "설태"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "버선"))
CASE "상반신속옷1"
;오토메는 사라시를 붙인다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "사라시"))
CASE "상반신윗도리1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리1", "작업복(위)"))
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "손수건"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "작업복(아래)"))
ENDSELECT

@EXIST_의상세트7
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "평상복 차림 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "설태"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "버선"))
CASE "상반신속옷1"
;오토메는 사라시를 붙인다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "사라시"))
CASE "기모노"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("기모노", "기모노"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "띠"))
CASE "외투"
	SIF DAY:2 == 3 || DAY:2 == 4
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "하오리"))
ENDSELECT

@EXIST_의상세트8
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "도복 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "짚신"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "버선"))
CASE "상반신속옷1"
	;남장
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "사라시"))
CASE "하반신속옷1"
	;남자
	SIF !GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("하반신속옷1", "샅바"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "도복"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "하카마"))
ENDSELECT

@EXIST_의상세트9
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트9(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "학생 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "부츠"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "상반신속옷2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷2", "컬러 셔츠"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "긴 일본옷"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "하카마"))
CASE "외투"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "케이프 망토"))
ENDSELECT

@EXIST_의상세트10
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트10(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "여학생 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "부츠"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "상반신속옷1"
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "하반신속옷1"
	SIF !GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("하반신속옷1", "샅바"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "코몬"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "남자용치마"))
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "리본"))
ENDSELECT

;MOB 추가
@EXIST_의상세트11
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트11(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "기모노 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "기모노"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("기모노", "기모노"))
CASE "상반신속옷1"
;오토코노코는 브래지어를 착용하지 않는다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
ENDSELECT

@EXIST_의상세트12
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트12(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "캇파 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)

;여기서부터 의상 설정계
CASE "액세서리"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("액세서리", "고글"))
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "카스케트"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "배낭"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "블라우스"))
CASE "상반신윗도리1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리1", "윗도리"))
CASE "치마"
	;SIF DAY:2 != 2
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
CASE "상반신속옷1"
;오토코노코는 브래지어를 착용하지 않는다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
ENDSELECT

@EXIST_의상세트13
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트13(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "요정 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "리본"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "원피스"))
ENDSELECT

@EXIST_의상세트14
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트14(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "백랑텐구 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "두건"))
CASE "액세서리"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("액세서리", "소매"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "나막신"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
CASE "상반신윗도리1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리1", "민소매 윗도리"))
ENDSELECT

@EXIST_의상세트15
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트15(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "까마귀 텐구 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "두건"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "나막신"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "블라우스"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "넥타이"))
ENDSELECT

@EXIST_의상세트16
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트16(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "이나바 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "원피스"))
ENDSELECT

@EXIST_의상세트17
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트17(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "옥토 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "와이셔츠"))
CASE "상반신윗도리1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리1", "블레이저 코트"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "넥타이"))
ENDSELECT

@EXIST_의상세트18
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트18(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "鬼 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "나막신"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "버선"))
CASE "기모노"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("기모노", "기모노"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "구속도구"))
CASE "상반신속옷1"
;오토코노코는 브래지어를 착용하지 않는다
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "사라시"))
ENDSELECT

@EXIST_의상세트19
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트19(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "사복A 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "T셔츠"))
ENDSELECT

@EXIST_의상세트20
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트20(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "사복B 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "반소매 블라우스"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "넥타이"))
ENDSELECT

@EXIST_의상세트21
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트21(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "사복CA 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "바지"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "T셔츠"))
CASE "외투"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "쟈켓"))
CASE "액세서리"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("액세서리", "목걸이"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "벨트"))
ENDSELECT

@EXIST_의상세트22
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트22(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "사복CB 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "바지"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "T셔츠"))
CASE "액세서리"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("액세서리", "목걸이"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "벨트"))
ENDSELECT

@EXIST_의상세트23
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트23(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "사복D 세트")
CASE "기본 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "원피스"))
ENDSELECT

;------------------------------------
;파자마
;------------------------------------
@EXIST_의상세트31
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트31(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(주반) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "기모노"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("기모노", "주반"))
ENDSELECT

@EXIST_의상세트32
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트32(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(네글리제) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "롱 네글리제"))
ENDSELECT

@EXIST_의상세트33
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트33(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(베이비돌) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "베이비돌"))
ENDSELECT

@EXIST_의상세트34
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트34(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(바지) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "파자마 바지"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "파자마 윗도리"))
ENDSELECT

@EXIST_의상세트35
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트35(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(치마) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "파자마 치마"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "파자마 윗도리"))
ENDSELECT

@EXIST_의상세트36
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트36(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(바지＋후드) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "후드"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "파자마 바지"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "파자마 윗도리"))
ENDSELECT

@EXIST_의상세트37
#LOCALSIZE 1
#LOCALSSIZE 1
;우선 만들었지만 할당하지 않다

@의상세트37(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(치마＋후드) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "후드"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "파자마 치마"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "파자마 윗도리"))
ENDSELECT

@EXIST_의상세트38
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트38(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(바지＋캡) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "나이트캡"))
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "파자마 바지"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "파자마 윗도리"))
ENDSELECT

@EXIST_의상세트39
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트39(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(치마＋캡) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "나이트캡"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "파자마 치마"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "파자마 윗도리"))
ENDSELECT

@EXIST_의상세트40
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트40(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(네글리제＋캡) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "나이트캡"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "롱 네글리제"))
ENDSELECT

@EXIST_의상세트41
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트41(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(베이비돌＋캡) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "나이트캡"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "베이비돌"))
ENDSELECT

@EXIST_의상세트42
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트42(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(원피스) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "원피스"))
ENDSELECT

@EXIST_의상세트43
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트43(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "파자마(목욕타올) 세트")
CASE "파자마 세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "목욕타올"))
ENDSELECT

;------------------------------------
;코스프레 의상
;------------------------------------
@EXIST_의상세트50
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트50(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "양호실의 여교사 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "액세서리"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("액세서리", "안경"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "가터 스타킹"))
CASE "상반신속옷1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "가슴 열림 터틀넥"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
CASE "외투"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "백의"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "벨트"))
ENDSELECT

@EXIST_의상세트51
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트51(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "메이드 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "화이트브림"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "가터 스타킹"))
CASE "상반신속옷1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "에이프런 드레스"))
ENDSELECT

@EXIST_의상세트52
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트52(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "비키니 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "상반신속옷2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷2", "비키니 탑"))
CASE "하반신속옷2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("하반신속옷2", "비키니 보텀"))
ENDSELECT

@EXIST_의상세트53
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트53(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "마이크로 비키니 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "상반신속옷2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷2", "마이크로브라"))
CASE "하반신속옷2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("하반신속옷2", "마이크로 보텀"))
ENDSELECT

@EXIST_의상세트54
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트54(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "샅바오토메 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "상반신속옷1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "사라시"))
CASE "하반신속옷1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("하반신속옷1", "샅바"))
ENDSELECT

@EXIST_의상세트55
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트55(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "바니 걸 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "토끼귀 헤어밴드"))
CASE "완부의복"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("완부의복", "커프스"))
CASE "레오타드"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("레오타드", "바니 슈트(흑)"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "그물 타이츠"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "하이힐"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "넥타이"))
ENDSELECT

@EXIST_의상세트56
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트56(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "백의의 천사 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "간호사 캡"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "간호사 옷"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "팬티 스타킹"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "간호사 샌들"))
ENDSELECT

@EXIST_의상세트57
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트57(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "산타옷 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "산타모"))
;수염
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "수염"))
CASE "외투"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "케이프"))
;상반신윗도리
CASE "상반신윗도리1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리1", "윗도리"))
;미니스커트
CASE "치마"
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "미니스커트"))
;브래지어
CASE "상반신속옷1"
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "바지"
	SIF !GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "바지"))
;오늘의팬티
;CASE "하반신속옷2"
;	CALLF MAKE_INT(V_NAME, 오늘의팬티(ARG))
;양말
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
;롱 부츠
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "롱 부츠"))
ENDSELECT

@EXIST_의상세트58
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트58(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "테니스 웨어 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
;선바이저
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "선바이저"))
;반소매 블라우스
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "반소매 블라우스"))
CASE "치마"
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "미니스커트"))
CASE "바지"
	SIF !GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "쇼트 바지"))
;스포츠브라
CASE "상반신속옷1"
	SIF GETBIT(TALENT:ARG:2, 0)
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "스포츠브라"))
;양말
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
;신발
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
ENDSELECT

@EXIST_의상세트59
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트59(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "닌자 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
CASE "갈아입히기 속성"
	CALLF MAKE_STR(V_NAME, "「코스프레」")
;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "작업화"))
CASE "기모노"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("기모노", "인의복"))
CASE "레오타드"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("레오타드", "사슬갑옷"))
CASE "완부의복"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("완부의복", "토시"))
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "탈"))
ENDSELECT

@EXIST_의상세트60
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트60(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "알몸 와이셔츠 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
;와이셔츠(유일한 복장. 외는 전해제)
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "와이셔츠"))
ENDSELECT

@EXIST_의상세트61
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트61(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "웨딩 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "웨딩 베일"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "뮬"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "니삭스"))
CASE "상반신속옷1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "웨딩드레스"))
ENDSELECT

@EXIST_의상세트62
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트62(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "멋진 T셔츠 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "삼색치마"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "부츠"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "지옥T셔츠"))
ENDSELECT

@EXIST_의상세트63
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트63(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "고스로리 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "하이 부츠"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "가터 스타킹"))
CASE "상반신속옷1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신속옷1", "브래지어"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "고스로리 드레스"))
ENDSELECT

@EXIST_의상세트64
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트64(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "라이더 세트")
CASE "코스프레 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "부츠"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "보디슈트"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("보디슈트", "라이더 슈트"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "스카프"))
ENDSELECT

;------------------------------------
;캐릭터 특수 의상(외부로부터 참조 가능)
;------------------------------------
@EXIST_의상세트70
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트70(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "카스케트 아야 세트")
CASE "캐릭터 특수 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
;카스케트
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "카스케트"))
;펌프스
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "펌프스"))
;양말
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
;와이셔츠
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "와이셔츠"))
;숏 팬츠
CASE "바지"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("바지", "숏 팬츠"))
;넥타이
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "넥타이"))
;숄더백
CASE "그외2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외2", "숄더백"))
;슈트 쟈켓
CASE "외투"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "슈트 쟈켓"))
ENDSELECT

@EXIST_의상세트71
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트71(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "우동게 약장수 세트")
CASE "캐릭터 특수 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "삿갓"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "설태"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "버선"))
;오늘의팬티
CASE "기모노"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("기모노", "기모노"))
CASE "완부의복"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("완부의복", "토시"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "옷고리짝"))
CASE "그외2"
;다리의 게이톨 같은 그것은 붕대로 대용
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외2", "붕대"))
ENDSELECT

@EXIST_의상세트72
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트72(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "마미조 의복 세트")
CASE "캐릭터 특수 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
;머리 장식
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "머리 장식"))
;나막신
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "나막신"))
;버선
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "버선"))
CASE "그외1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외1", "담뱃대"))
CASE "그외2"
	SIF DAY:2 == 4
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("그외2", "머플러"))
;안경
CASE "액세서리"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("액세서리", "안경"))
;하오리
CASE "외투"
	SIF DAY:2 == 4 || DAY:2 == 3
		CALLF MAKE_INT(V_NAME, CLOTHES_ID("외투", "하오리"))
;긴 일본옷
CASE "상반신윗도리2"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리2", "긴 일본옷"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
ENDSELECT

@EXIST_의상세트73
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트73(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "맨다리 메이링 세트")
CASE "캐릭터 특수 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "모자"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "원피스"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("원피스", "차이나 드레스"))
ENDSELECT

@EXIST_의상세트74
#LOCALSIZE 1
#LOCALSSIZE 1

@의상세트74(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "세일러 사나에 세트")
CASE "캐릭터 특수 의상세트"
	CALLF MAKE_INT(V_NAME, 1)
;여기서부터 의상 설정계
CASE "모자"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("모자", "머리 장식"))
CASE "신발"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("신발", "가죽 신발"))
CASE "양말"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("양말", "양말"))
CASE "상반신윗도리1"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("상반신윗도리1", "세라복"))
CASE "치마"
	CALLF MAKE_INT(V_NAME, CLOTHES_ID("치마", "치마"))
ENDSELECT


code:
;캐캐릭터리스트
;요소명→ID변환용 함수의 존부 확인용 함수
;변환 가능(ID와 요소명의 관계가 항상 변화하지 않는다)이라면 설치
;상황에 의해 이름이 바뀌는 것 같은 것은 불가능
@EXIST_캐릭터리스트_ID
#LOCALSIZE 1
#LOCALSSIZE 1

;요소명→ID변환용 함수
;필요하면 각 오브젝트로와 같이  작성
@캐릭터리스트_ID(ARG:0, ARGS:0, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS V_NAME                  ;작성하는 변수명
#DIMS C_NAME, OBJ_ID_LAST + 1 ;데이터 보유
#DIM  O_ID                    ;참조용
IF ARGS:0 == "RESET"
	VARSET C_NAME
	FOR O_ID, 1, OBJ_ID_LAST + 1
		C_NAME:O_ID = %GET_STR(, "캐릭터리스트", O_ID, "이름")%
	NEXT
ELSE
	O_ID = FINDELEMENT(C_NAME, ESCAPE(ARGS:0), , , 1)
	CALLF MAKE_INT(V_NAME, O_ID)
ENDIF

@EXIST_캐릭터리스트1
#LOCALSIZE 1
#LOCALSSIZE 1

;오브젝트 본체
@캐릭터리스트1(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "존재하는 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "존재")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트2
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트2(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "주인공 이외의캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF ARG == MASTER || !CHECK_CHARA(ARG, "존재")
	ELSE
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트3
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트3(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "함락않다 보고 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "함락")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트4
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트4(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "깨끗한교제 취득 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "깨끗한교제")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트6
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트6(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "주인공의 약점을 잡는 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "약점잡음")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트7
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트7(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "주인공에게 약점이 있는 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "약점잡힘")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트8
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트8(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "반발각인 떡캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "반발각인")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트9
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트9(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "시간각인 떡캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "시간각인")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트10
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트10(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "동실에 있는 캐릭터리스트")
CASE "판정"
	SIF CHECK_CHARA(ARG, "동실")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트11
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트11(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "말떡캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "구상실장상황")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트12
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트12(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "임신중 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "임신")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트13
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트13(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "육아중 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "육아중")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

@EXIST_캐릭터리스트14
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트14(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "아이 딸린 사람 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	SIF CHECK_CHARA(ARG, "아이 딸린 사람")
		CALLF MAKE_INT(V_NAME, 1)
ENDSELECT

;종족
@EXIST_캐릭터리스트22
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트22(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "무녀 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "무녀")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트23
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트23(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "요정 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "요정")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트24
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트24(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "신령 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "신령")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트25
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트25(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "츠쿠모가미 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "츠쿠모가미")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트26
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트26(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "오니 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "오니")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트27
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트27(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "텐구 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "텐구")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트28
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트28(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "봉래인 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "봉래인")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트29
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트29(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "요괴 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "요괴")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트30
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트30(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "마법사 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "마법사")
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT

;복합 조건계

@EXIST_캐릭터리스트31
#LOCALSIZE 1
#LOCALSSIZE 1

;오브젝트 본체
@캐릭터리스트31(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "갈아입히기 가능 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
;갈아입히기일이 생긴다
	IF ARG == MASTER
		CALLF MAKE_INT(V_NAME, 1)
	ELSEIF !CHECK_CHARA(ARG, "존재") || !CHECK_CHARA(ARG, "동실")
	ELSEIF FLAG:시간정지 == 1
		CALLF MAKE_INT(V_NAME, 1)
	ELSEIF 수면시간(ARG)
	ELSEIF CHECK_CHARA(ARG, "함락")
		CALLF MAKE_INT(V_NAME, 1)
	ELSEIF CHECK_CHARA(ARG, "약점잡음")
	ELSEIF CHECK_CHARA(ARG, "약점잡힘")
		CALLF MAKE_INT(V_NAME, 1)
	ELSE
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트32
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트32(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "평상복 모방 가능 캐릭터리스트")
CASE "SHOP 표시"
	CALLF MAKE_INT(V_NAME, 1)
CASE "판정"
	IF ARG == MASTER
	ELSEIF !CHECK_CHARA(ARG, "존재")
	ELSEIF CHECK_CHARA(ARG, "약점잡음")
	ELSEIF CHECK_CHARA(ARG, "함락") || CHECK_CHARA(ARG, "약점잡힘")
		CALLF MAKE_INT(V_NAME, 1)
	ELSE
	ENDIF
ENDSELECT

@EXIST_캐릭터리스트33
#LOCALSIZE 1
#LOCALSSIZE 1

@캐릭터리스트33(ARG, O_DATA, V_NAME)
#FUNCTION
#LOCALSIZE 1
#LOCALSSIZE 1
#DIMS O_DATA
#DIMS V_NAME
SELECTCASE O_DATA
CASE "이름"
	CALLF MAKE_STR(V_NAME, "TARGET 리스트")
CASE "판정"
	IF ARG == MASTER
	ELSEIF !CHECK_CHARA(ARG, "존재") || !CHECK_CHARA(ARG, "동실")
	ELSE
		CALLF MAKE_INT(V_NAME, 1)
	ENDIF
ENDSELECT


code:
;OBJ 존재 설정 함수
@SETLIST_EXIST(CLASS_NAME, O_FIRST = OBJ_ID_FIRST, O_LAST = OBJ_ID_LAST)
#DIMS CLASS_NAME
#DIM O_FIRST
#DIM O_LAST
#DIM O_ID
;변수명 F_NAME를 작성한다
CALLF MAKE_EXIST(CLASS_NAME)

FOR O_ID, O_FIRST, O_LAST + 1
	;개개의 F_NAME:LCOUNT를 설정한다
	TRYCCALLFORM EXIST_%CLASS_NAME%{O_ID}
		;DEBUGPRINTFORML EXIST %CLASS_NAME%{O_ID}
		CALLF SET_EXIST(CLASS_NAME, O_ID)
	CATCH
	ENDCATCH
NEXT

;ID취득 함수용의 설정을 실시한다
TRYCCALLFORM EXIST_%CLASS_NAME%_ID
	;DEBUGPRINTFORML EXIST %CLASS_NAME%NAME_TO_ID
	CALLF OBJNAME_TO_ID(, "RESET", CLASS_NAME)
CATCH
ENDCATCH

;함수의 존재 판정용 함수군
;변수의 의사 정의
@MAKE_EXIST(CLASS_NAME)
#FUNCTION
#DIMS CLASS_NAME
RETURNF OBJ_EXIST("MAKE", CLASS_NAME)

;개개의 함수의 존재 판정을 설정
;먼저 CF_MAKE가 필요
@SET_EXIST(CLASS_NAME, O_ID)
#FUNCTION
#DIMS CLASS_NAME
#DIM  O_ID
RETURNF OBJ_EXIST("SET", CLASS_NAME, O_ID)

;개개의 INDEX의 존재 판정
@GET_EXIST(CLASS_NAME, O_ID)
#FUNCTION
#DIMS CLASS_NAME
#DIM  O_ID
RETURNF OBJ_EXIST("GET", CLASS_NAME, O_ID)

;OBJ의 존재 상태의 보유 함수
;
;거의 일시 변수 보유 변수의 유용으로 일차원 배열로부터 이차원 배열로 했을 뿐
;CLEAR계 명령이 없기 때문에 오소거의 걱정은 없다
@OBJ_EXIST(COMMAND, ARGS:0, ARG:0)
#FUNCTION
#DIMS CLASS_NAME, CLASS_NUM + 1
#DIMS COMMAND
#DIM EXIST, CLASS_NUM + 1, OBJ_ID_LAST + 1
#DIM OBJ_CNT
SELECTCASE COMMAND
;변수의 의사 정의
CASE "MAKE"
	SIF !STRLENS(ARGS:0)
		THROW 변수명을 설정해 주세요
	SIF FINDELEMENT(CLASS_NAME, ESCAPE(ARGS:0) , 1, , 1) > 0
		THROW 이미 설정이 끝난 변수입니다 %ARGS:0%
	SIF OBJ_CNT == CLASS_NUM
		THROW 보유 변수가 상한에 이르고 있습니다
	OBJ_CNT ++
	CLASS_NAME:(OBJ_CNT) = %ARGS:0%
;개개의 변수의 설정
CASE "SET"
	SIF !INRANGE(ARG:0, OBJ_ID_FIRST, OBJ_ID_LAST)
		THROW 배열의 범위외입니다{ARG}
	SIF !STRLENS(ARGS:0)
		THROW 변수명을 설정해 주세요
	LOCAL:0 = FINDELEMENT(CLASS_NAME, ESCAPE(ARGS:0) , 1, , 1)
	SIF LOCAL:0 < 0
		THROW 미설정의 변수입니다 %ARGS:0%
	EXIST:(LOCAL:0):(ARG:0) = 1
;각 함수의 유무 판정
CASE "GET"
	SIF !INRANGE(ARG:0, OBJ_ID_FIRST, OBJ_ID_LAST)
		THROW 배열의 범위외입니다{ARG}
	SIF !STRLENS(ARGS:0)
		THROW 변수명을 설정해 주세요
	LOCAL:0 = FINDELEMENT(CLASS_NAME, ESCAPE(ARGS:0) , 1, , 1)
	SIF LOCAL:0 < 0
		THROW 미설정의 변수입니다 %ARGS:0%
	RETURNF EXIST:(LOCAL:0):(ARG:0)
CASEELSE
	THROW 미설정 명령%COMMAND%
ENDSELECT