IF
	Global("LK#ARQuest", "GLOBAL", 5)
	Global("LK#NeriaSummoning", "LK#TEM", 1)
THEN
	RESPONSE #100
	SetGlobal("LK#NeriaSummoning", "LK#TEM", 2)
	//insert summoning stuff
END

IF
	Global("LK#NeriaSummoning", "LK#TEM", 3)
THEN
	RESPONSE #100
	ActionOverride("LK#NERIA", EscapeArea())
	ActionOverride("LK#IROS", Enemy())
	SetGlobal("LK#NeriaSummoning", "LK#TEM", 4)
END

IF
	Global("LK#NeriaSummoning", "LK#TEM", 4)
	HPPercentLT("LK#IROS", 75)
THEN
	RESPONSE #100
	SetGlobal("LK#NeriaSummoning", "LK#TEM", 5)
END