--[[message
]]
--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,8000,0,0)
Debug.AddCard(60953949,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(25494711,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(24573625,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(97588916,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(55106249,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(10117149,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(22227683,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(22227683,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(22227683,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(59368956,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(59368956,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(94693857,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(12215894,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(75944053,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(63995093,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(1249315,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(95992081,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(34086406,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(82633039,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(28912357,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(84013237,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(56832966,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(55863245,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(79606837,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(82044279,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(76774528,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(52687916,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(89544521,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(9888196,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(80532587,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(94634433,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(52503575,0,0,LOCATION_SZONE,2,POS_FACEUP)
Debug.AddCard(46652477,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(1154611,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(52085072,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(44519536,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(7902349,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(33396948,1,1,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(70903634,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(8124921,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(7841112,1,1,LOCATION_GRAVE,0,POS_FACEUP,true)
Debug.AddCard(85800949,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(84565800,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(80019195,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(59438930,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(62015408,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(73977033,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(33396948,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(82044279,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(86221741,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.AddCard(58604027,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(10000090,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(53315891,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(89474727,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
Debug.AddCard(17484499,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(92512625,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(12253117,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(78082039,1,1,LOCATION_SZONE,5,POS_FACEUP)
local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_ADJUST)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetFieldGroupCount(1,LOCATION_HAND+LOCATION_GRAVE+LOCATION_MZONE+LOCATION_SZONE+LOCATION_REMOVED,0)==0 end)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) Debug.ShowHint("目标已达成!") Duel.SetLP(1,0) end)
Duel.RegisterEffect(e1,0)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()