--created by ygopro puzzle maker 
Debug.SetAIName("QB081 the frogs")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,500,0,0)
Debug.SetPlayerInfo(1,10700,0,0)
--[[message
青蛙 娱乐伙伴 熔岩 玄化 正义盟军
]]
Debug.AddCard(4239451,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(84451804,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(23408872,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(1357146,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)

Debug.AddCard(14785765,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(95992081,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(10002346,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(34086406,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(36898537,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(26593852,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(34103656,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
Debug.AddCard(96947648,0,0,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
Debug.AddCard(70865988,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)
Debug.AddCard(4239451,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(64034255,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK)
Debug.AddCard(12525049,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(9126351,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(22842214,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(26400609,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(94415058,0,0,LOCATION_HAND,6,POS_FACEUP_ATTACK)
Debug.AddCard(26400609,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(94739788,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(94739788,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()



local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START+PHASE_END)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetTurnPlayer()==0 end)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("提示:通召权") end)
Duel.RegisterEffect(e1,0)
