--[[message
控敌的纹章
]]
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,113400,0,0)

Debug.AddCard(87255382,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(37011715,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(60316373,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(19310321,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(98045062,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(76862289,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(73048641,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(45705025,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(60316373,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(82315772,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(47660516,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(12247206,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(82293134,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(9622164,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(89399912,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(45725480,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(90411554,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(81385346,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(53804307,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(90470931,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(59388357,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(98045062,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(94770493,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(96146814,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(26400609,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(12014404,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(63746411,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(90726340,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(23649496,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(47387961,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(2407234,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(2061963,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(55888045,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(66970002,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(11522979,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(80117527,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(22110647,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(34853266,0,0,LOCATION_MZONE,2,POS_FACEDOWN_DEFENCE)
Debug.AddCard(45869829,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(46652477,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(74519184,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(4392470,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(12510878,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(40640059,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(37742478,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(82593786,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(34710660,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(86039057,1,1,LOCATION_GRAVE,0,POS_FACEDOWN)
local g1=Debug.AddCard(47017574,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(97403510,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(87911394,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(84013237,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(77205367,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(55727845,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(11522979,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(2407234,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(6165656,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
local g1=Debug.AddCard(48995978,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
g1:CompleteProcedure()
Debug.AddCard(00473469,1,1,LOCATION_SZONE,0,POS_FACEDOWN)
Debug.AddCard(79997591,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(57115864,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(29389368,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(26708437,1,1,LOCATION_SZONE,4,POS_FACEDOWN)
Debug.AddCard(56433456,1,1,LOCATION_SZONE,5,POS_FACEUP)
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)
