;
	IF M0, @S11
	IF M2, @S11
	IF M4, @S11
	IF T114, @S11
	IF T115, @S11
	IF T116, @S11
	IF T117, @S11	
	IF S25,  @S11
	IF S26,  @S11
	IF S27,  @S11
	IF S28,  @S11
	IF S29,  @S11
	IF S30,  @S11
	IF S31,  @S11
	IF S32,  @S11
	IF S33,  @S11
	IF S62,  @S11
	IF S63,  @S11
	IF S64,  @S11
	IF S67,  @S11
	IF S85,  @S11
	IF S86,  @S11
	IF S87,  @S11
	IF S88,  @S11
	IF S89,  @S11
	IF S97,  @S11
	IF S98,  @S11
	IF S99,  @S11
	IF S300, @S11
	IF S301, @S11
	IF S302, @S11
	IF S303, @S11
	IF S304, @S11
	IF S305, @S11
	IF S306, @S11
	IF S112, @S11
	IF S113, @S11
	IF S114, @S11
	IF S131, @S11
	IF S132, @S11
	IF S133, @S11
	IF S134, @S11
	IF S137, @S11
	IF S152, @S11
	IF S153, @S11
	IF S154, @S11
	IF S157, @S11
	IF S158, @S11
	IF S159, @S11
	IF S210, @S11
	IF S211, @S11
	IF S212, @S11
	IF S172, @S11
	IF S173, @S11
	IF S174, @S11
	IF S192, @S11
	IF S193, @S11
	IF S194, @S11
	IF S195, @S11
	IF S196, @S11
	IF S200, @S11
	IF S201, @S11
	IF S202, @S11
	IF S203, @S11
	IF S67,  @S11
	IF S306, @S11
	IF S88,  @S11
	IF S89,  @S11
	IF S97,  @S11
	IF S98,  @S11
	IF S99,  @S11
	IF S157, @S11
	IF S158, @S11
	IF S172, @S11
	IF S174, @S11
	IF S193, @S11
	IF S196, @S11
	IF S250, @S11
	IF S251, @S11
	IF S252, @S11
	IF S253, @S11
	IF S254, @S11
	IF S255, @S11
	IF S256, @S11
	IF S257, @S11
	IF S258, @S11
	IF S260, @S11
	IF I1769,@S11
	IF V101, @S11
	IF C41,  @S11
	IF C12,  @S11
	IF C13,  @S11
	IF C14,  @S11
	IF C15,  @detectme
	IF C21-P0, @S11
	IF C21-#33, @S11
	IF #33-C21, @S11
	IF T153, @S11
	IF T129, @S11
	IF S69,  @S11
	IF S39,  @S11
	IF S61,  @S11
	IF S94,  @S11		
	IF S111, @S11
	IF S130, @S11
	IF S150, @S11
	IF S151, @S11
	IF S170, @S11
	IF S171, @S11
	IF S189, @S11
	IF S191, @S11
	IF I750, @S11	
	IF I751, @S11	
	IF I752, @S11
	IF I753, @S11	
	IF I754, @S11
	IF I755, @S11	
	IF I756, @S11	
	IF I757, @S11	
	IF I758, @S11	
	IF I759, @S11	
	IF I762, @S11
	IF I763, @S11
	IF I764, @S11			
	IF I765, @S11
	IF S250, @S11
	IF S251, @S11
	IF S252, @S11
	IF S253, @S11
	IF S254, @S11
	IF S255, @S11
	IF S256, @S11
	IF S260, @S11
	IF S90,  @S11
	IF T471, @S11
	IF T114, @S11
	IF T115, @S11
	IF T116, @S11
	IF T117, @S11	
	IF S25,  @S11
	IF S26,  @S11
	IF S27,  @S11
	IF S28,  @S11
	IF S29,  @S11
	IF S30,  @S11
	IF S31,  @S11
	IF S32,  @S11
	IF S33,  @S11
	IF S62,  @S11
	IF S63,  @S11
	IF S64,  @S11
	IF S67,  @S11
	IF S85,  @S11
	IF S86,  @S11
	IF S87,  @S11
	IF S88,  @S11
	IF S89,  @S11
	IF S97,  @S11
	IF S98,  @S11
	IF S99,  @S11
	IF S300, @S11
	IF S301, @S11
	IF S302, @S11
	IF S303, @S11
	IF S304, @S11
	IF S305, @S11
	IF S306, @S11
	IF S400, @S11
	IF S401, @S11
	IF S402, @S11
	IF S403, @S11
	IF S404, @S11
	IF S405, @S11
	IF S112, @S11
	IF S113, @S11
	IF S114, @S11
	IF S131, @S11
	IF S132, @S11
	IF S133, @S11
	IF S134, @S11
	IF S137, @S11
	IF S152, @S11
	IF S153, @S11
	IF S154, @S11
	IF S157, @S11
	IF S158, @S11
	IF S159, @S11
	IF S210, @S11
	IF S211, @S11
	IF S212, @S11
	IF S172, @S11
	IF S173, @S11
	IF S174, @S11
	IF S192, @S11
	IF S193, @S11
	IF S194, @S11
	IF S195, @S11
	IF S196, @S11
	IF S200, @S11
	IF S201, @S11
	IF S202, @S11
	IF S203, @S11
	IF S252, @S11
	IF S253, @S11
	IF S254, @S11
	IF S255, @S11
	IF S256, @S11
	IF S257, @S11
	IF S258, @S11
	IF S260, @S11
	IF S267, @detectme
	IF T516, @detectme
	IF I769, @S11
	IF I99,  @S11
	IF I101, @S11
	IF T650, @S11
	IF V101, @S11
	IF #96, @S11
	IF C63-T118, @S11
	IF C64-T118, @S11
	IF T118-C63+T118-C64, @S11
	IF T999-T118, @S11
	IF S550-T118, @S11
	IF T2035-T2033, @S11
	IF #16-T507, @S11
	IF I2147-T598, @S11
	IF C36-GS,@S11
	IF C37-GS,@S11
	IF C38-GS,@S11
	IF C26-T425,@S11
	IF C39-T425,@S11
	IF C31-T428,@S11
	IF C40-T428,@S11
	IF T295+T296,@S11
	IF T430+T431,@S11
	IF T432+T433,@S11
	IF T517, @S11x11S
	IF T428-V60, @S11
	IF T425-V60, @S11
	IF T2035-V12,@S11
	IF I117-V19, @S11
	IF I118-V49, @S11
	IF C21+T475,@S11
	IF C21+V2,  @S11
	IF C21, @link
	IF S83|S84, @slaverCheck
@slaverCheckReturn	
	
	IF -T520, @skipkatanatrialtoken
	IF C1,  @skipkatanatrialtoken
	IF C16, @skipkatanatrialtoken
	IF C36+T127, @skipkatanatrialtoken
	IF C37+T127, @skipkatanatrialtoken
	IF C38+T127, @skipkatanatrialtoken
	GOTO @S11
	
@skipkatanatrialtoken
	COMPARE #<num.hostHuntingLevel>, 12
	IF> @S11
	COMPARE #<num.hostHuntSkill>, "15"
	IF> @S11
	COMPARE #<num.hostHaloPoints>, 5000
	IF> @S16
	COMPARE #<num.hostPKs>, 25000
	IF> @S11
	COMPARE #<num.hostRating>, 15000
	IF> @S11
	COMPARE #<num.timeYear>, "2023"
	IF< @S11
	COMPARE #<num.hostHP>, "0"
	IF< @S11
	COMPARE #<num.hostMP>, "0"
	IF< @S11
	COMPARE #<num.hostKills>, "0"
	IF< @S11
	COMPARE #<num.hostPKs>, "0"
	IF< @S11
	COMPARE #<num.hostDeaths>, "0"
	IF< @S11
	COMPARE #<num.hostRating>, "0"
	IF< @S11	
	COMPARE #<num.timeYear>, "2023"
	IF< @S11
	COMPARE #<num.hostBirthYear>, "2003"
	IF< @S11
	COMPARE #<num.hostHP>, #<num.hostMaxHP>
	IF> @S11
	COMPARE #<num.hostMP>, #<num.hostMaxMP>
	IF> @S11
	COMPARE #<num.hostHP>, "0"
	IF< @S11
	COMPARE #<num.hostMP>, "0"
	IF< @S11
	COMPARE #<num.hostKills>, "0"
	IF< @S11
	COMPARE #<num.hostPKs>, "0"
	IF< @S11
	COMPARE #<num.hostDeaths>, "0"
	IF< @S11
	COMPARE #<num.hostRating>, "0"
	IF< @S11
	COMPARE #<blade>, "0"
	IF> @S11
	IF< @S11
	COMPARE #<fan00x>,"-900"
	IF> @S11
	COMPARE #<num.hostPetId>, "520"
	IF= @S11
	COMPARE #<num.hostPetId>, "521"
	IF= @S11
	COMPARE  "#<num.timeNow>","1679938280"
	IF< @S11		
	STRSTR #<str.name>, "Nazi"
	IF> @S11  	
	STRSTR #<str.name>, "Hitler"
	IF> @S11 
	STRSTR #<str.name>, "Sinned"
	IF> @S11 
	STRSTR #<str.name>, "VirtueOfLove"
	IF> @S11 
	STRSTR #<str.name>, "Citra"
	IF> @S11  
	STRSTR #<str.name>, "Sebzy"
	IF> @S11  
	
	IF S266-T799, @S11
	IF I2059, @mastergorgathsummon 
	IF -S266,  @skipmastergorgathsummon
	
@mastergorgathsummon 
	STRCMP #<str.soul>, "SOUL 1373"
	IF= @skipmastergorgathsummon
	STRCMP #<str.soul>, "SOUL 1962"
	IF= @skipmastergorgathsummon
	GOTO @S11
	
@skipmastergorgathsummon

	IF V70-T299, @rotwarwarningX
	IF V69-T299, @rotwarwarningA1
	IF V56-T130, @rotwarwarningX
	IF V55-T130, @rotwarwarningB1
@rotwarwarningX
	IF V80-T299, @S11
	IF V16-T222, @S11
	IF V64-T130, @S11
	
; sold classes get to skip the next steps
#include specialsouls.txt

	IF V3, @nextstep0
	COMPARE #<num.hostHuntSkill>, "7"
	IF> @S11
	COMPARE #<num.hostHandSkill0>, 10000
	IF> @S11
	COMPARE #<num.hostHandSkill1>, 10000
	IF> @S11
	COMPARE #<num.hostHandSkill2>, 10000
	IF> @S11
	COMPARE #<num.hostHandSkill3>, 10000
	IF> @S11
	COMPARE #<num.hostHandSkill4>, 10000
	IF> @S11
	COMPARE #<num.hostHandSkill5>, 10000
	IF> @S11
	COMPARE #<num.hostHandSkill6>, 10000
	IF> @S11
	COMPARE #<num.hostHandSkill7>, 0
	IF> @S11
	COMPARE #<num.hostElementSkill0>,10000
	IF> @S11
	COMPARE #<num.hostElementSkill1>,10000
	IF> @S11
	COMPARE #<num.hostElementSkill2>,10000
	IF> @S11
	COMPARE #<num.hostElementSkill3>,10000
	IF> @S11
	COMPARE #<num.hostElementSkill4>,10000
	IF> @S11
	COMPARE #<num.hostElementSkill5>,10000
	IF> @S11
	COMPARE #<num.hostElementSkill6>,10000
	IF> @S11
	COMPARE #<num.hostElementSkill7>,10000
	IF> @S11
	
@nextstep0
	IF V20, @nextstep1
	COMPARE #<num.hostSTR>, "250"
	IF> @S11
	COMPARE #<num.hostWIS>, "250"
	IF> @S11
	COMPARE #<num.hostSTA>, "250"
	IF> @S11
	COMPARE #<num.hostAGI>, "250"
	IF> @S11
	COMPARE #<num.hostDEX>, "250"
	IF> @S11
	SET ixnur, "0"
	COMPARE #<ixnur>, "0"
	IF!= @S11
	ADD ixnur, #<num.hostSTR>
	ADD ixnur, #<num.hostWIS>
	ADD ixnur, #<num.hostSTA>
	ADD ixnur, #<num.hostAGI>
	ADD ixnur, #<num.hostDEX>
	COMPARE #<ixnur>, "20"
	IF< @S11
	COMPARE #<ixnur>, "300"
	IF> @S11
	GOTO @link
	
@nextstep1	
	IF V99, @link
	COMPARE #<num.hostHandSkill0>, 3000000
	IF> @S11
	COMPARE #<num.hostHandSkill1>, 3000000
	IF> @S11
	COMPARE #<num.hostHandSkill2>, 3000000
	IF> @S11
	COMPARE #<num.hostHandSkill3>, 3000000
	IF> @S11
	COMPARE #<num.hostHandSkill4>, 3000000
	IF> @S11
	COMPARE #<num.hostHandSkill5>, 3000000
	IF> @S11
	COMPARE #<num.hostHandSkill6>, 3000000
	IF> @S11
	COMPARE #<num.hostHandSkill7>, 3000000
	IF> @S11
	COMPARE #<num.hostElementSkill0>,3000000
	IF> @S11
	COMPARE #<num.hostElementSkill1>,3000000
	IF> @S11
	COMPARE #<num.hostElementSkill2>,3000000
	IF> @S11
	COMPARE #<num.hostElementSkill3>,3000000
	IF> @S11
	COMPARE #<num.hostElementSkill4>,3000000
	IF> @S11
	COMPARE #<num.hostElementSkill5>,3000000
	IF> @S11
	COMPARE #<num.hostElementSkill6>,3000000
	IF> @S11
	COMPARE #<num.hostElementSkill7>,3000000
	IF> @S11
	GOTO @link
	
@slaverCheck
	IF C20|C55|C56, @slaverCheckReturn		
	GOTO S11
	
@rotwarwarningA1
	N: WARNING: You have not started the RoT war yet!
	N: Deserters will be punished.
	GOTO @rotwarwarningX

@rotwarwarningB1
	N: WARNING: You have not found Kamatari's blade yet!
	N: Deserters will be punished.
	GOTO @rotwarwarningX

@S11x11S
	HOST_GIVE T517
	EJECT T517
	GOTO LINK 100,0,1

; script continues here
@link
; 