--By OURYGO-YGO EZ manager
Debug.SetAIName("枯岳说书人")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,8000,0,0)
local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_ADJUST)
e1:SetCountLimit(1)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetFieldGroupCount(1,LOCATION_GRAVE+LOCATION_MZONE+LOCATION_SZONE+LOCATION_REMOVED,0)==0 end)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) Duel.ShuffleDeck(0) Duel.Draw(0,5,REASON_EFFECT) end)
Duel.RegisterEffect(e1,0)
Debug.AddCard(18964575,1,1,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(32807846,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(5592689,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(76794549,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(76794549,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(79816536,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(79816536,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(79816536,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(70368879,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(70368879,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(70368879,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(67616300,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(67616300,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(67616300,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(93946239,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(93946239,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(93946239,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(61639289,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(61639289,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(61639289,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(24131534,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(24131534,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(24131534,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(97024987,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(97024987,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(97024987,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(24019092,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(24019092,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(24019092,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(67273917,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(67273917,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(67273917,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(50407691,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(50407691,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(50407691,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(93662626,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(93662626,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(93662626,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(96802306,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(96802306,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(96802306,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(10389142,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(27552504,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(98978921,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(39064822,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(75452921,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(22862454,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(54635100,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(24094258,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(24094258,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(24094258,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(94626871,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(86750474,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(61665245,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(5043010,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(5821478,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(10389142,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(27552504,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(98978921,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(2220237,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(75452921,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(22862454,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(54635100,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(24094258,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(24094258,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(24094258,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(94626871,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(86750474,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(61665245,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(5043010,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(5821478,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()