--[[message
Puzzle that consist of multiple layer of defense mechanism that player has to figure how to breakthrough and OTK.
#Banyspy_03_Absolute_Defense
]]

Debug.SetAIName("QQ群181175613")
Debug.ReloadFieldBegin(DUEL_PSEUDO_SHUFFLE + DUEL_ATTACK_FIRST_TURN + DUEL_SIMPLE_AI, 5)
Debug.SetPlayerInfo(0, 1000, 0, 0)
Debug.SetPlayerInfo(1, 81000, 0, 0)

local k1, k2 = LOCATION_MZONE, POS_FACEUP_ATTACK--怪兽
Debug.AddCard(63845230, 0, 0, k1, 0, k2)
Debug.AddCard(59123937, 0, 0, k1, 1, k2)
Debug.AddCard(21593977, 0, 0, k1, 2, k2)
Debug.AddCard(59123937, 0, 0, k1, 3, k2)
Debug.AddCard(63845230, 0, 0, k1, 4, k2)
local zero = Debug.AddCard(66403530, 0, 0, k1, 5, k2, true)
Debug.AddCard(89386122, 1, 1, k1, 1, k2)
Debug.AddCard(55410871, 1, 1, k1, 3, k2)
Debug.PreSummon(zero, SUMMON_TYPE_LINK, LOCATION_EXTRA)
local k1, k2 = LOCATION_SZONE, POS_FACEDOWN--魔陷
local mop = Debug.AddCard(24845628, 0, 0, k1, 1, POS_FACEUP)
Debug.AddCard(29762407, 0, 0, k1, 2, POS_FACEUP)
Debug.AddCard(34906152, 0, 0, k1, 3, POS_FACEUP)
Debug.AddCard(13035077, 0, 0, k1, 5, POS_FACEUP)
Debug.AddCard(78625592, 1, 1, k1, 0, POS_FACEUP)
Debug.AddCard(59305593, 1, 1, k1, 2, POS_FACEUP)
Debug.AddCard(30459350, 1, 1, k1, 3, POS_FACEUP)
Debug.AddCard(07153114, 1, 1, k1, 4, POS_FACEUP)
Debug.AddCard(76375976, 1, 1, k1, 5, POS_FACEUP)
local k1, k2 = LOCATION_PZONE, POS_FACEUP--灵摆
Debug.AddCard(16306932, 0, 0, k1, 0, k2)
local k1, k2 = LOCATION_DECK, POS_FACEDOWN--卡组
Debug.AddCard(87571563, 0, 0, k1, 0, k2)
Debug.AddCard(74063034, 0, 0, k1, 0, k2)
Debug.AddCard(82321037, 0, 0, k1, 0, k2)
Debug.AddCard(58400390, 0, 0, k1, 0, k2)
Debug.AddCard(61901281, 0, 0, k1, 0, k2)
Debug.AddCard(96227613, 0, 0, k1, 0, k2)
Debug.AddCard(38572779, 0, 0, k1, 0, k2)
Debug.AddCard(80727721, 0, 0, k1, 0, k2)
Debug.AddCard(98494543, 0, 0, k1, 0, k2)
local k1, k2 = LOCATION_EXTRA, POS_FACEDOWN--外组
Debug.AddCard(32559361, 0, 0, k1, 0, k2)
Debug.AddCard(01992816, 0, 0, k1, 0, k2)
Debug.AddCard(95685352, 0, 0, k1, 0, k2)
Debug.AddCard(06983839, 0, 0, k1, 0, k2)
Debug.AddCard(82633039, 0, 0, k1, 0, k2)
Debug.AddCard(01686814, 0, 0, k1, 0, k2)
Debug.AddCard(52687916, 0, 0, k1, 0, k2)
Debug.AddCard(50954680, 0, 0, k1, 0, k2)
Debug.AddCard(45815891, 0, 0, k1, 0, k2)
Debug.AddCard(94677445, 0, 0, k1, 0, k2)
Debug.AddCard(43387895, 0, 0, k1, 0, k2)
Debug.AddCard(41209827, 0, 0, k1, 0, k2)
Debug.AddCard(49513164, 0, 0, k1, 0, k2)
Debug.AddCard(80532587, 0, 0, k1, 0, k2)
Debug.AddCard(54757758, 0, 0, k1, 0, k2)
local k1, k2 = LOCATION_GRAVE, POS_FACEUP--墓地
Debug.AddCard(16006416, 0, 0, k1, 0, k2)
Debug.AddCard(55878038, 0, 0, k1, 0, k2)
Debug.AddCard(44335251, 0, 0, k1, 0, k2)
Debug.AddCard(09742784, 0, 0, k1, 0, k2)
Debug.AddCard(09952083, 0, 0, k1, 0, k2)
Debug.AddCard(25669282, 1, 1, k1, 0, k2)
Debug.AddCard(34710660, 1, 1, k1, 0, k2)
local k1, k2 = LOCATION_REMOVED, POS_FACEUP--除外
Debug.AddCard(68366996, 1, 1, k1, 0, k2)
local k1, k2 = LOCATION_HAND, POS_FACEDOWN--手卡
Debug.AddCard(70828912, 0, 0, k1, 0, k2)
Debug.AddCard(46606977, 0, 0, k1, 0, k2)
Debug.AddCard(69610326, 0, 0, k1, 0, k2)
Debug.AddCard(14470845, 0, 0, k1, 0, k2)
Debug.AddCard(46652477, 0, 0, k1, 0, k2)
Debug.AddCard(25173686, 0, 0, k1, 0, k2)
Debug.AddCard(48130397, 0, 0, k1, 0, k2)
Debug.AddCard(48130397, 0, 0, k1, 0, k2)
Debug.AddCard(94220427, 0, 0, k1, 0, k2)
Debug.AddCard(15381421, 0, 0, k1, 0, k2)
Debug.AddCard(53804307, 0, 0, k1, 0, k2)
Debug.AddCard(64034255, 0, 0, k1, 0, k2)
Debug.AddCard(99234526, 0, 0, k1, 0, k2)
Debug.AddCard(86120751, 0, 0, k1, 0, k2)
Debug.AddCard(21208154, 0, 0, k1, 0, k2)
Debug.AddCard(18964575, 1, 1, k1, 0, k2)
Debug.AddCard(01929294, 1, 1, k1, 0, k2)
Debug.AddCard(01929294, 1, 1, k1, 0, k2)
Debug.AddCard(01929294, 1, 1, k1, 0, k2)
Debug.AddCard(01929294, 1, 1, k1, 0, k2)

Debug.ReloadFieldEnd()
aux.BeginPuzzle(1)

Debug.PreEquip(mop, zero)
