游戏王残局简化版

Check-in [0a84ce44ba]
Login

Check-in [0a84ce44ba]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0a84ce44ba068ec3559f7db0bc215a08d3d6c3333301dc48643b5be37fddce89
User & Date: 顽雨沉风 on 2024-02-13 05:12:28
Other Links: manifest | tags
Context
2024-02-13
05:13
check-in: caceb3cbb9 user: 顽雨沉风 tags: trunk
05:12
check-in: 0a84ce44ba user: 顽雨沉风 tags: trunk
05:10
check-in: 1265aac793 user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lua_lib/常用库.lua from [27252ada98] to [b5f4d2d1ef].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
local s = {}
local 简文件库 = require("lfs")
local ffi = require("ffi")
--~ 排
--~ 办排中值的能
--~ 入参2
--~ 入参3
--~ 入参4
function s.历排(u1_0, u1, u2, u3, u4)
  local k1_0
  --~ 集排
  k1_0 = {}
  for o5 = 1, #u1_0 do
    k1_0[#k1_0 + 1] = u1(u1_0[o5], u2, u3, u4)
    end
  return k1_0
  end
--~ 文
--~ 历文的能
--~ 入参2
--~ 入参3
function s.历文(u1, u2, u3, u4)
  local k1_0
  --~ 集排
  k1_0 = {}
  for o5 in u2(u1, u3, u4) do
    k1_0[#k1_0 + 1] = o5
    end
  return k1_0
  end
--~ 排
--~ 能
function s.历排取一(u1_0, u1)
  local k1
  for u2 = 1, #u1_0 do
    --~ 值









|

|

|

|






|

|

|

|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
local s = {}
local 简文件库 = require("lfs")
local ffi = require("ffi")
--~ 排
--~ 办排中值的能
--~ 入参2
--~ 入参3
--~ 入参4
function s.历排(u1_0, u1, u2, u3, u4)
  local h1_0
  --~ 集排
  h1_0 = {}
  for o5 = 1, #u1_0 do
    h1_0[#h1_0 + 1] = u1(u1_0[o5], u2, u3, u4)
    end
  return h1_0
  end
--~ 文
--~ 历文的能
--~ 入参2
--~ 入参3
function s.历文(u1, u2, u3, u4)
  local h1_0
  --~ 集排
  h1_0 = {}
  for o5 in u2(u1, u3, u4) do
    h1_0[#h1_0 + 1] = o5
    end
  return h1_0
  end
--~ 排
--~ 能
function s.历排取一(u1_0, u1)
  local k1
  for u2 = 1, #u1_0 do
    --~ 值
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
    return u3, u4
  else
    return u1, u2
    end
  end
function s.历对(u1_0, u1, u2)
  local k1
  local k1_0, k2_0
  --~ 对
  k1_0 = {}
  for u3, u2_0 in pairs(u1_0) do
    --~ 键
    --~ 值
    k1, k2_0 = u1(u3, u2_0, u2)
    if k1 then
      k1_0[k1] = k2_0
    else
      end
    end
  return k1_0
  end
--~ 排中值
--~ 值类
--~ 办值的能
function s.操类(u1_0, u1, u2)
  if type(u1_0) == u1 then
    return u2(u1_0)







|

|





|



|







67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
    return u3, u4
  else
    return u1, u2
    end
  end
function s.历对(u1_0, u1, u2)
  local k1
  local h1_0, k2_0
  --~ 对
  h1_0 = {}
  for u3, u2_0 in pairs(u1_0) do
    --~ 键
    --~ 值
    k1, k2_0 = u1(u3, u2_0, u2)
    if k1 then
      h1_0[k1] = k2_0
    else
      end
    end
  return h1_0
  end
--~ 排中值
--~ 值类
--~ 办值的能
function s.操类(u1_0, u1, u2)
  if type(u1_0) == u1 then
    return u2(u1_0)
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
  k1 = k1_3:read("a")
  k1_3:flush()
  k1_3:close()
  return k1
  end
--~ 常量排
function s.加对限(u1_0)
  table.insert(u1_0, 1, "local k1_0 = {}")
  table.insert(u1_0, "return k1_0")
  return table.concat(u1_0, "\n")
  end
--~ 文
--~ 文件路
--~ 式
function s.写文件(u1, u2, u3)
  local k1_3







|
|







159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
  k1 = k1_3:read("a")
  k1_3:flush()
  k1_3:close()
  return k1
  end
--~ 常量排
function s.加对限(u1_0)
  table.insert(u1_0, 1, "local h1_0 = {}")
  table.insert(u1_0, "return h1_0")
  return table.concat(u1_0, "\n")
  end
--~ 文
--~ 文件路
--~ 式
function s.写文件(u1, u2, u3)
  local k1_3

Modified 残局文料/lua_lib/游戏王_则拟器_原版_卡档.lua from [7cb2c40720] to [4d23b32b60].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local 字集库 = require("u8_to_a")
local 档库 = require("lsqlite3")
local 文库 = require(字集库.u8_to_a("算机_程语_月_基类_文"))
local 对库 = require(字集库.u8_to_a("算机_程语_月_基类_表_对"))
local s = {}
local 卡档
--~ 卡编
function s.取卡对(u1)
  local k1_0, k2_0
  --~ 卡文对
  k1_0 = s.取卡文(u1)
  --~ 卡数据对
  k2_0 = s.取卡数据(u1)
  return 对库.连两对(k1_0, k2_0)
  end
--~ 卡编
function s._取卡对(u1, u2)
  for o1_4 in 卡档:nrows(文库.连(u2, u1)) do
    return o1_4
    end
  end








|

|


|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local 字集库 = require("u8_to_a")
local 档库 = require("lsqlite3")
local 文库 = require(字集库.u8_to_a("算机_程语_月_基类_文"))
local 对库 = require(字集库.u8_to_a("算机_程语_月_基类_表_对"))
local s = {}
local 卡档
--~ 卡编
function s.取卡对(u1)
  local h1_0, k2_0
  --~ 卡文对
  h1_0 = s.取卡文(u1)
  --~ 卡数据对
  k2_0 = s.取卡数据(u1)
  return 对库.连两对(h1_0, k2_0)
  end
--~ 卡编
function s._取卡对(u1, u2)
  for o1_4 in 卡档:nrows(文库.连(u2, u1)) do
    return o1_4
    end
  end

Modified 残局文料/lua_lib/算机_程语_月_基类_数.lua from [c3e7e4d8c3] to [285a4fcd5d].

63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
    return -u1
  else
    return u1
    end
  end
-- 递加
do
  local k1_0
  --~ 数表
  k1_0 = {}
  function s.递加(u1)
    if k1_0[u1] then
    else
      k1_0[u1] = 0
      end
    k1_0[u1] = k1_0[u1] + 1
    return k1_0[u1]
    end
  end
-- 最值
function s.最大值()
  return math.huge
  end
function s.最小值()







|

|

|

|

|
|







63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
    return -u1
  else
    return u1
    end
  end
-- 递加
do
  local h1_0
  --~ 数表
  h1_0 = {}
  function s.递加(u1)
    if h1_0[u1] then
    else
      h1_0[u1] = 0
      end
    h1_0[u1] = h1_0[u1] + 1
    return h1_0[u1]
    end
  end
-- 最值
function s.最大值()
  return math.huge
  end
function s.最小值()

Modified 残局文料/lua_lib/算机_程语_月_基类_能_传能_历_基类_文_取全.lua from [1e7c04fe27] to [115ea36bac].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local s = {}
-- 启
--~ 文
--~ 历文的能
--~ 入参2
--~ 入参3
function s.历文(u1, u2, u3, u4)
  local k1_0
  --~ 集排
  k1_0 = {}
  for o5 in u2(u1, u3, u4) do
    k1_0[#k1_0 + 1] = o5
    end
  return k1_0
  end
return s







|

|

|

|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local s = {}
-- 启
--~ 文
--~ 历文的能
--~ 入参2
--~ 入参3
function s.历文(u1, u2, u3, u4)
  local h1_0
  --~ 集排
  h1_0 = {}
  for o5 in u2(u1, u3, u4) do
    h1_0[#h1_0 + 1] = o5
    end
  return h1_0
  end
return s

Modified 残局文料/lua_lib/算机_程语_月_基类_能_传能_历_基类_表_对_取全.lua from [d4891684d0] to [c258b0306c].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
local s = {}
-- 全与局
--~ 对
--~ 能
--~ 入参3
function s.历对(u1_0, u1, u2)
  local k1, k2
  local k1_0
  --~ 对
  k1_0 = {}
  for u3, u4 in pairs(u1_0) do
    --~ 键
    --~ 值
    k1, k2 = u1(u3, u4, u2)
    if k1 then
      k1_0[k1] = k2
    else
      end
    end
  return k1_0
  end
--~ 对
--~ 能
--~ 入参2
--~ 入参3
function s.历值(u1_0, u1, u2, u3)
  local k1_0
  --~ 对
  k1_0 = {}
  for u4, o5 in pairs(u1_0) do
    k1_0[u4] = u1(o5, u2, u3)
    end
  return k1_0
  end
--~ 键
--~ 值
--~ 要找的值
function s.全等筛值(u1, u2, u3)
  if u2 == u3 then
    return u1, u2







|

|





|



|






|

|

|

|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
local s = {}
-- 全与局
--~ 对
--~ 能
--~ 入参3
function s.历对(u1_0, u1, u2)
  local k1, k2
  local h1_0
  --~ 对
  h1_0 = {}
  for u3, u4 in pairs(u1_0) do
    --~ 键
    --~ 值
    k1, k2 = u1(u3, u4, u2)
    if k1 then
      h1_0[k1] = k2
    else
      end
    end
  return h1_0
  end
--~ 对
--~ 能
--~ 入参2
--~ 入参3
function s.历值(u1_0, u1, u2, u3)
  local h1_0
  --~ 对
  h1_0 = {}
  for u4, o5 in pairs(u1_0) do
    h1_0[u4] = u1(o5, u2, u3)
    end
  return h1_0
  end
--~ 键
--~ 值
--~ 要找的值
function s.全等筛值(u1, u2, u3)
  if u2 == u3 then
    return u1, u2

Modified 残局文料/lua_lib/算机_程语_月_基类_能_传能_历_基类_表_排_取全.lua from [427ffeb571] to [9a63b3fa45].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
local s = {}
-- 返旧与返新与不返
-- 排数
--~ 排
--~ 办排中值的能
--~ 入参2
--~ 入参3
--~ 入参4
function s.历排(u1_0, u1, u2, u3, u4)
  local k1_0
  --~ 集排
  k1_0 = {}
  for o5 = 1, #u1_0 do
    k1_0[#k1_0 + 1] = u1(u1_0[o5], u2, u3, u4)
    end
  return k1_0
  end
--~ 排
--~ 排
--~ 办排中值的能
--~ 入参3
--~ 入参4
--~ 入参5
function s.历二排(u1_0, u2_0, u1, u2, u3, u4)
  local k1_0
  --~ 集排
  k1_0 = {}
  for o5 = 1, #u1_0 do
    k1_0[#k1_0 + 1] = u1(u1_0[o5], u2_0[o5], u2, u3, u4)
    end
  return k1_0
  end
--~ 排
--~ 排
--~ 排
--~ 办排中值的能
--~ 入参4
--~ 入参5
--~ 入参6
function s.历三排(u1_0, u2_0, u3_0, u1, u2, u3, u4)
  local k1_0
  --~ 集排
  k1_0 = {}
  for o5 = 1, #u1_0 do
    k1_0[#k1_0 + 1] = u1(u1_0[o5], u2_0[o5], u3_0[o5], u2, u3, u4)
    end
  return k1_0
  end
return s









|

|

|

|








|

|

|

|









|

|

|

|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
local s = {}
-- 返旧与返新与不返
-- 排数
--~ 排
--~ 办排中值的能
--~ 入参2
--~ 入参3
--~ 入参4
function s.历排(u1_0, u1, u2, u3, u4)
  local h1_0
  --~ 集排
  h1_0 = {}
  for o5 = 1, #u1_0 do
    h1_0[#h1_0 + 1] = u1(u1_0[o5], u2, u3, u4)
    end
  return h1_0
  end
--~ 排
--~ 排
--~ 办排中值的能
--~ 入参3
--~ 入参4
--~ 入参5
function s.历二排(u1_0, u2_0, u1, u2, u3, u4)
  local h1_0
  --~ 集排
  h1_0 = {}
  for o5 = 1, #u1_0 do
    h1_0[#h1_0 + 1] = u1(u1_0[o5], u2_0[o5], u2, u3, u4)
    end
  return h1_0
  end
--~ 排
--~ 排
--~ 排
--~ 办排中值的能
--~ 入参4
--~ 入参5
--~ 入参6
function s.历三排(u1_0, u2_0, u3_0, u1, u2, u3, u4)
  local h1_0
  --~ 集排
  h1_0 = {}
  for o5 = 1, #u1_0 do
    h1_0[#h1_0 + 1] = u1(u1_0[o5], u2_0[o5], u3_0[o5], u2, u3, u4)
    end
  return h1_0
  end
return s

Modified 残局文料/lua_lib/算机_程语_月_基类_表_对.lua from [bfd2739813] to [a22520ace8].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local 字集库 = require("u8_to_a")
local 返参库 = require(字集库.u8_to_a("算机_程语_月_基类_能_返参"))
local 历对库 = require(字集库.u8_to_a("算机_程语_月_基类_能_传能_历_基类_表_对_取全"))
local s = {}
-- 连对
--~ 对
--~ 对
function s.连两对(u1_0, u2_0)
  local k1_0
  --~ 合对
  k1_0 = 历对库.历对(u1_0, 返参库.二参)
  for u1, u2 in pairs(u2_0) do
    k1_0[u1] = u2
    end
  return k1_0
  end
-- 对长
--~ 对
function s.对长(u1_0)
  local k1
  --~ 对长
  k1 = 0








|

|

|

|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local 字集库 = require("u8_to_a")
local 返参库 = require(字集库.u8_to_a("算机_程语_月_基类_能_返参"))
local 历对库 = require(字集库.u8_to_a("算机_程语_月_基类_能_传能_历_基类_表_对_取全"))
local s = {}
-- 连对
--~ 对
--~ 对
function s.连两对(u1_0, u2_0)
  local h1_0
  --~ 合对
  h1_0 = 历对库.历对(u1_0, 返参库.二参)
  for u1, u2 in pairs(u2_0) do
    h1_0[u1] = u2
    end
  return h1_0
  end
-- 对长
--~ 对
function s.对长(u1_0)
  local k1
  --~ 对长
  k1 = 0

Modified 残局文料/lua_lib/算机_程语_月_基类_表_排_基类_数.lua from [5474266589] to [6341b3938a].

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
  k1 = s.总和(u1_0)
  return 基算库.除法(k1, #u1_0)
  end
--~ 排
--~ 标准值
function s.方差(u1_0, u1)
  local k1, k2
  local k1_0
  --~ 标准值
  k1 = u1 or s.均值(u1_0)
  --~ 排,用于算方差
  k1_0 = 历排库.历排(u1_0, 基算库.减法, k1)
  k1_0 = 历排库.历排(k1_0, 数库.指数, 2)
  --~ 方差
  k2 = 基算库.除法(s.总和(k1_0), #k1_0)
  return k2
  end
--~ 排
--~ 标准值
function s.标准差(u1_0, u1)
  local k1
  --~ 方差
  k1 = s.方差(u1_0, u1)
  return 数库.指数(k1, 1, 2)
  end
--~ 排
--~ 标准值
function s.均差(u1_0, u1)
  local k1, k2
  local k1_0
  --~ 标准值
  k1 = u1 or s.均值(u1_0)
  --~ 排,用于算均差
  k1_0 = 历排库.历排(u1_0, 基算库.减法, k1)
  k1_0 = 历排库.历排(k1_0, 数库.正数)
  --~ 均差
  k2 = 基算库.除法(s.总和(k1_0), #k1_0)
  return k2
  end
return s







|



|
|

|














|



|
|

|



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
  k1 = s.总和(u1_0)
  return 基算库.除法(k1, #u1_0)
  end
--~ 排
--~ 标准值
function s.方差(u1_0, u1)
  local k1, k2
  local h1_0
  --~ 标准值
  k1 = u1 or s.均值(u1_0)
  --~ 排,用于算方差
  h1_0 = 历排库.历排(u1_0, 基算库.减法, k1)
  h1_0 = 历排库.历排(h1_0, 数库.指数, 2)
  --~ 方差
  k2 = 基算库.除法(s.总和(h1_0), #h1_0)
  return k2
  end
--~ 排
--~ 标准值
function s.标准差(u1_0, u1)
  local k1
  --~ 方差
  k1 = s.方差(u1_0, u1)
  return 数库.指数(k1, 1, 2)
  end
--~ 排
--~ 标准值
function s.均差(u1_0, u1)
  local k1, k2
  local h1_0
  --~ 标准值
  k1 = u1 or s.均值(u1_0)
  --~ 排,用于算均差
  h1_0 = 历排库.历排(u1_0, 基算库.减法, k1)
  h1_0 = 历排库.历排(h1_0, 数库.正数)
  --~ 均差
  k2 = 基算库.除法(s.总和(h1_0), #h1_0)
  return k2
  end
return s

Modified 残局文料/副_容冗/字段名.lua from [4d7ddc676a] to [afc1ded900].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
local k1_0 = {}
k1_0[0x1]="正义盟军"
k1_0[0x2]="次世代"
k1_0[0x1002]="真次世代"
k1_0[0x4]="亚马逊"
k1_0[0x5]="秘仪之力"
k1_0[0x6]="暗黑界"
k1_0[0x7]="古代的机械"
k1_0[0x8]="英雄"
k1_0[0x3008]="元素英雄"
k1_0[0x5008]="幻影英雄"
k1_0[0x6008]="邪心英雄"
k1_0[0xa008]="假面英雄"
k1_0[0xc008]="命运英雄"
k1_0[0x9]="新宇"
k1_0[0xa]="入魔"
k1_0[0x100a]="侵入魔鬼"
k1_0[0xb]="永火"
k1_0[0xc]="外星"
k1_0[0xd]="剑士"
k1_0[0x100d]="X-剑士"
k1_0[0x400d]="元素灵剑士"
k1_0[0xe]="电气"
k1_0[0xf]="扰乱"
k1_0[0x10]="薰风"
k1_0[0x11]="机巧"
k1_0[0x12]="青蛙"
k1_0[0x13]="机皇"
k1_0[0x3013]="机皇帝"
k1_0[0x5013]="机皇神"
k1_0[0x6013]="机皇兵"
k1_0[0x15]="巨大战舰"
k1_0[0x16]="机人"
k1_0[0x1016]="交通机人"
k1_0[0x2016]="疾行机人"
k1_0[0x17]="同调"
k1_0[0x1017]="同调士"
k1_0[0x2017]="同调龙"
k1_0[0x18]="云魔物"
k1_0[0x19]="剑斗兽"
k1_0[0x1a]="黑蝎"
k1_0[0x1b]="幻兽"
k1_0[0x101b]="幻兽机"
k1_0[0x1c]="死之信息"
k1_0[0x1d]="核成"
k1_0[0x1e]="茧状体"
k1_0[0x1f]="新空间侠"
k1_0[0x20]="紫炎"
k1_0[0x21]="地缚"
k1_0[0x1021]="地缚神"
k1_0[0x22]="朱罗纪"
k1_0[0x23]="罪"
k1_0[0x24]="废铁"
k1_0[0x25]="链"
k1_0[0x26]="变形斗士"
k1_0[0x27]="科技属"
k1_0[0x28]="电池人"
k1_0[0x29]="龙骑兵团"
k1_0[0x2a]="自然"
k1_0[0x2b]="忍者"
k1_0[0x2c]="炎狱"
k1_0[0x2e]="守墓"
k1_0[0x2f]="冰结界"
k1_0[0x30]="大日"
k1_0[0x31]="命运女郎"
k1_0[0x32]="火山"
k1_0[0x33]="黑羽"
k1_0[0x1033]="强袭黑羽"
k1_0[0x34]="宝玉"
k1_0[0x1034]="宝玉兽"
k1_0[0x2034]="究极宝玉神"
k1_0[0x5034]="高等宝玉兽"
k1_0[0x35]="魔轰神"
k1_0[0x36]="机甲"
k1_0[0x37]="霞之谷"
k1_0[0x38]="光道"
k1_0[0x39]="熔岩"
k1_0[0x3a]="遗式"
k1_0[0x3b]="真红眼"
k1_0[0x3c]="爬虫妖"
k1_0[0x3d]="六武众"
k1_0[0x103d]="影六武众"
k1_0[0x3e]="异虫"
k1_0[0x3f]="救世"
k1_0[0x40]="被封印"
k1_0[0x41]="LV"
k1_0[0x42]="极星"
k1_0[0x3042]="极星天"
k1_0[0x5042]="极星宝"
k1_0[0x6042]="极星兽"
k1_0[0xa042]="极星灵"
k1_0[0x43]="废品"
k1_0[0x44]="代行者"
k1_0[0x45]="恶魔"
k1_0[0x1045]="红莲魔"
k1_0[0x46]="融合"
k1_0[0x1046]="融合龙"
k1_0[0x47]="宝石"
k1_0[0x1047]="宝石骑士"
k1_0[0x48]="No."
k1_0[0x1048]="混沌No."
k1_0[0x49]="铳士"
k1_0[0x4a]="时械神"
k1_0[0x4b]="极神"
k1_0[0x4c]="落穴"
k1_0[0x304e]="进化虫"
k1_0[0x504e]="进化帝"
k1_0[0x604e]="进化龙"
k1_0[0x104f]="/爆裂体"
k1_0[0x50]="蛇毒"
k1_0[0x1050]="凶饿毒"
k1_0[0x51]="零件"
k1_0[0x52]="守护者"
k1_0[0x1052]="门之守护神"
k1_0[0x53]="星圣"
k1_0[0x54]="我我我"
k1_0[0x55]="光子"
k1_0[0x56]="甲虫装机"
k1_0[0x57]="共鸣者"
k1_0[0x58]="发条"
k1_0[0x59]="隆隆隆"
k1_0[0x5a]="企鹅"
k1_0[0x5b]="番茄小子"
k1_0[0x5c]="斯芬克斯"
k1_0[0x60]="竹光"
k1_0[0x61]="忍法"
k1_0[0x62]="卡通"
k1_0[0x63]="反应机"
k1_0[0x64]="鹰身"
k1_0[0x65]="侵略的"
k1_0[0x66]="战士"
k1_0[0x1066]="音响战士"
k1_0[0x2066]="磁石战士"
k1_0[0x69]="圣刻"
k1_0[0x6a]="幻蝶刺客"
k1_0[0x6b]="保镖"
k1_0[0x6d]="魔人"
k1_0[0x6e]="魔导"
k1_0[0x106e]="魔导书"
k1_0[0x6f]="英豪"
k1_0[0x106f]="英豪挑战者"
k1_0[0x70]="先史遗产"
k1_0[0x71]="魔偶甜点"
k1_0[0x72]="齿轮齿轮"
k1_0[0x1072]="齿轮齿轮人"
k1_0[0x73]="超量"
k1_0[0x1073]="混沌超量"
k1_0[0x2073]="超量龙"
k1_0[0x4073]="铠装超量"
k1_0[0x74]="水精鳞"
k1_0[0x75]="深渊"
k1_0[0x76]="纹章兽"
k1_0[0x77]="海皇"
k1_0[0x78]="迅捷"
k1_0[0x79]="炎星"
k1_0[0x107a]="圣骑士"
k1_0[0x207a]="圣剑"
k1_0[0x507a]="焰圣骑士"
k1_0[0x607a]="焰圣剑"
k1_0[0x7b]="银河"
k1_0[0x107b]="银河眼"
k1_0[0x307b]="银河眼时空龙"
k1_0[0x7c]="炎舞"
k1_0[0x7d]="阳炎"
k1_0[0x107d]="阳炎兽"
k1_0[0x7e]="异热同心"
k1_0[0x107e]="异热同心武器"
k1_0[0x207e]="异热同心从者"
k1_0[0x7f]="霍普"
k1_0[0x107f]="希望皇 霍普"
k1_0[0x207f]="未来皇 霍普"
k1_0[0x80]="尘妖"
k1_0[0x81]="炎王"
k1_0[0x1081]="炎王兽"
k1_0[0x82]="怒怒怒"
k1_0[0x83]="人偶"
k1_0[0x1083]="机关傀儡"
k1_0[0x1084]="燃烧拳击手"
k1_0[0x2084]="燃烧拳"
k1_0[0x85]="超级防卫机器人"
k1_0[0x86]="光天使"
k1_0[0x87]="阴影"
k1_0[0x88]="武神"
k1_0[0x89]="洞"
k1_0[0x108a]="虫惑魔"
k1_0[0x8b]="食恶"
k1_0[0x8d]="鬼计"
k1_0[0x8e]="吸血鬼"
k1_0[0x8f]="刷拉拉"
k1_0[0x90]="森罗"
k1_0[0x91]="王家长眠之谷"
k1_0[0x92]="纹章"
k1_0[0x93]="电子"
k1_0[0x1093]="电子龙"
k1_0[0x2093]="电子化天使"
k1_0[0x4093]="电子暗黑"
k1_0[0x94]="电子科技"
k1_0[0x95]="升阶魔法"
k1_0[0x96]="电子鱼人"
k1_0[0x97]="古遗物"
k1_0[0x98]="魔术师"
k1_0[0x99]="异色眼"
k1_0[0x9a]="超重武者"
k1_0[0x109a]="超重武者装留"
k1_0[0x9b]="幻奏"
k1_0[0x109b]="幻奏的音姬"
k1_0[0x9c]="星骑士"
k1_0[0x109c]="星辉士"
k1_0[0x9d]="影依"
k1_0[0x9e]="龙星"
k1_0[0x9f]="娱乐伙伴"
k1_0[0xa0]="传说的骑士"
k1_0[0xa1]="传说之龙"
k1_0[0x10a2]="黑魔术"
k1_0[0x20a2]="魔术少女"
k1_0[0x30a2]="黑魔术少女"
k1_0[0xa3]="星尘"
k1_0[0xa4]="栗子球"
k1_0[0x10a4]="羽翼栗子球"
k1_0[0xa5]="变化"
k1_0[0xa6]="幼芽"
k1_0[0xa7]="阿托利斯"
k1_0[0xa8]="兰斯洛特"
k1_0[0xa9]="毛绒动物"
k1_0[0xaa]="机壳"
k1_0[0x10aa]="隐藏的机壳"
k1_0[0xab]="文具电子人"
k1_0[0xac]="哥布林"
k1_0[0xad]="魔玩具"
k1_0[0xae]="契约书"
k1_0[0xaf]="DD"
k1_0[0x10af]="DDD"
k1_0[0xb0]="加特姆士"
k1_0[0xb1]="彼岸"
k1_0[0xb2]="超级运动员"
k1_0[0xb3]="妖仙兽"
k1_0[0xb4]="影灵衣"
k1_0[0xb5]="灵兽"
k1_0[0x10b5]="灵兽使"
k1_0[0x20b5]="精灵兽"
k1_0[0x40b5]="圣灵兽骑"
k1_0[0xb6]="外神"
k1_0[0xb7]="旧神"
k1_0[0xb8]="古神"
k1_0[0xb9]="烈焰加农炮"
k1_0[0xba]="急袭猛禽"
k1_0[0xbb]="狱火机"
k1_0[0xbc]="人造人"
k1_0[0xbd]="暗黑骑士 盖亚"
k1_0[0xbe]="帝王"
k1_0[0xbf]="灵使"
k1_0[0xc0]="凭依"
k1_0[0x10c0]="凭依装着"
k1_0[0xc1]="PSY骨架"
k1_0[0x10c1]="PSY骨架装备"
k1_0[0xc2]="动力工具"
k1_0[0xc3]="锋利小鬼"
k1_0[0xc4]="神数"
k1_0[0xc5]="炼狱"
k1_0[0xc6]="娱乐法师"
k1_0[0xc7]="龙剑士"
k1_0[0xc8]="点火骑士"
k1_0[0xc9]="芳香"
k1_0[0xca]="魔装战士"
k1_0[0xcb]="以太神兵龙"
k1_0[0xcc]="占术姬"
k1_0[0xcd]="水伶女"
k1_0[0xce]="水族馆"
k1_0[0xcf]="混沌"
k1_0[0x10cf]="混沌战士"
k1_0[0xd0]="威风妖怪"
k1_0[0xd1]="灰篮"
k1_0[0xd2]="星际仙踪"
k1_0[0xd3]="坏兽"
k1_0[0xd4]="伯吉斯异兽"
k1_0[0xd5]="但丁"
k1_0[0xd6]="破坏剑"
k1_0[0xd7]="破坏之剑士"
k1_0[0xd8]="雾动机龙"
k1_0[0xd9]="不知火"
k1_0[0x10d9]="妖刀-不知火"
k1_0[0xda]="龙魔王"
k1_0[0xdb]="幻影"
k1_0[0x10db]="幻影骑士团"
k1_0[0xdc]="超级量子"
k1_0[0x10dc]="超级量子战士"
k1_0[0x20dc]="超级量子机兽"
k1_0[0xdd]="青眼"
k1_0[0xde]="艾克佐迪亚"
k1_0[0xdf]="月光"
k1_0[0xe0]="无形噬体"
k1_0[0xe1]="炼装"
k1_0[0xe2]="三形金字塔"
k1_0[0xe3]="方界"
k1_0[0xe4]="精灵剑士"
k1_0[0xe5]="光波"
k1_0[0x10e5]="光波龙"
k1_0[0xe6]="花札卫"
k1_0[0xe7]="沉默剑士"
k1_0[0xe8]="沉默魔术师"
k1_0[0xe9]="磁石战士"
k1_0[0xea]="水晶机巧"
k1_0[0xeb]="化合兽"
k1_0[0x10ec]="魔界剧团"
k1_0[0x20ec]="魔界台本"
k1_0[0xed]="地中族"
k1_0[0x10ed]="地中族邪界"
k1_0[0xee]="秘旋谍"
k1_0[0x10ee]="秘旋谍装备"
k1_0[0x20ee]="秘旋谍任务"
k1_0[0xef]="堕天使"
k1_0[0xf0]="风魔女"
k1_0[0xf1]="十二兽"
k1_0[0xf2]="灵摆"
k1_0[0x10f2]="灵摆龙"
k1_0[0x20f2]="灵摆读阵"
k1_0[0xf3]="捕食"
k1_0[0x10f3]="捕食植物"
k1_0[0xf4]="召唤兽"
k1_0[0xf5]="甘多拉"
k1_0[0xf6]="摩天楼"
k1_0[0xf7]="抒情歌鸲"
k1_0[0x10f8]="霸王门"
k1_0[0x20f8]="霸王眷龙"
k1_0[0xf9]="真龙"
k1_0[0xfa]="幻煌龙"
k1_0[0xfb]="淘气仙星"
k1_0[0xfc]="刚鬼"
k1_0[0xfd]="星杯"
k1_0[0xfe]="星遗物"
k1_0[0xff]="幻透翼"
k1_0[0x100]="化学结合"
k1_0[0x101]="码语者"
k1_0[0x102]="弹丸"
k1_0[0x103]="幻变骚灵"
k1_0[0x104]="机怪虫"
k1_0[0x105]="玄化"
k1_0[0x106]="复仇死者"
k1_0[0x107]="方程式运动员"
k1_0[0x108]="魔弹"
k1_0[0x109]="天气"
k1_0[0x10a]="珀耳修斯"
k1_0[0x10b]="廷达魔三角"
k1_0[0x10c]="机界骑士"
k1_0[0x10d]="魔导兽"
k1_0[0x10e]="进化药"
k1_0[0x10f]="枪管"
k1_0[0x110]="纳祭"
k1_0[0x1110]="眼纳祭神"
k1_0[0x111]="武装龙"
k1_0[0x112]="幻崩"
k1_0[0x113]="灵神"
k1_0[0x114]="空牙团"
k1_0[0x115]="闪刀"
k1_0[0x1115]="闪刀姬"
k1_0[0x116]="圣像骑士"
k1_0[0x117]="魔神仪"
k1_0[0x118]="电脑网"
k1_0[0x119]="转生炎兽"
k1_0[0x11a]="恐龙摔跤手"
k1_0[0x11b]="自奏圣乐"
k1_0[0x11c]="雷龙"
k1_0[0x11d]="禁忌的"
k1_0[0x11e]="未界域"
k1_0[0x11f]="奈芙提斯"
k1_0[0x120]="调皮宝贝"
k1_0[0x121]="魔妖"
k1_0[0x122]="女武神"
k1_0[0x123]="蔷薇"
k1_0[0x1123]="蔷薇龙"
k1_0[0x124]="机械天使"
k1_0[0x125]="笑容"
k1_0[0x126]="时间潜行者"
k1_0[0x127]="无限起动"
k1_0[0x128]="魔女术"
k1_0[0x129]="咒眼"
k1_0[0x12a]="恩底弥翁"
k1_0[0x12b]="海晶少女"
k1_0[0x12c]="天威"
k1_0[0x12d]="斯摩夫"
k1_0[0x12e]="占卜魔女"
k1_0[0x12f]="蜂军"
k1_0[0x130]="破械"
k1_0[0x1130]="破械神"
k1_0[0x131]="梦魔镜"
k1_0[0x132]="斩机"
k1_0[0x133]="半龙女仆"
k1_0[0x134]="王战"
k1_0[0x135]="@火灵天星"
k1_0[0x136]="“艾”"
k1_0[0x137]="战华"
k1_0[0x138]="巨石遗物"
k1_0[0x139]="守护神官"
k1_0[0x13a]="拟声"
k1_0[0x13b]="叛逆"
k1_0[0x13c]="代码破坏者"
k1_0[0x13d]="星义"
k1_0[0x13e]="巴巴罗斯"
k1_0[0x13f]="海造贼"
k1_0[0x140]="魔救"
k1_0[0x141]="六花"
k1_0[0x1142]="黄金国巫妖"
k1_0[0x2142]="黄金国永生药"
k1_0[0x143]="黄金乡"
k1_0[0x144]="幻魔"
k1_0[0x145]="教导"
k1_0[0x146]="童话动物"
k1_0[0x147]="波波"
k1_0[0x148]="罗兰"
k1_0[0x149]="化石"
k1_0[0x14a]="源数"
k1_0[0x114a]="源数之门"
k1_0[0x14b]="机块"
k1_0[0x314c]="地灵术"
k1_0[0x514c]="水灵术"
k1_0[0x614c]="火灵术"
k1_0[0x914c]="风灵术"
k1_0[0x14d]="铁兽"
k1_0[0x14e]="电脑堺"
k1_0[0x114e]="电脑堺门"
k1_0[0x14f]="双天"
k1_0[0x150]="大贤者"
k1_0[0x1151]="直播☆双子"
k1_0[0x2151]="邪恶★双子"
k1_0[0x152]="姬丝基勒"
k1_0[0x153]="璃拉"
k1_0[0x154]="龙辉巧"
k1_0[0x155]="护宝炮妖"
k1_0[0x156]="治安战警队"
k1_0[0x157]="秘异三变"
k1_0[0x1158]="圣蔓"
k1_0[0x2158]="圣天树"
k1_0[0x4158]="圣种"
k1_0[0x159]="圣夜骑士"
k1_0[0x15a]="人偶怪兽"
k1_0[0x15b]="惊乐"
k1_0[0x15c]="游乐设施"
k1_0[0x15d]="烙印"
k1_0[0x15e]="降阶魔法"
k1_0[0x15f]="战吼"
k1_0[0x160]="原质炉"
k1_0[0x161]="溟界"
k1_0[0x162]="七音服"
k1_0[0x1162]="大钢琴之七音服"
k1_0[0x163]="北极天熊"
k1_0[0x164]="死狱乡"
k1_0[0x165]="魔键"
k1_0[0x166]="军贯"
k1_0[0x1167]="森之圣兽"
k1_0[0x2167]="森之圣灵"
k1_0[0x168]="隐形水母怪"
k1_0[0x169]="原数天灵"
k1_0[0x16a]="编号系"
k1_0[0x16b]="相剑"
k1_0[0x16c]="冰水"
k1_0[0x16d]="随风旅鸟"
k1_0[0x16e]="拓扑"
k1_0[0x16f]="许珀里翁"
k1_0[0x170]="骑甲虫"
k1_0[0x171]="朋克"
k1_0[0x172]="救祓少女"
k1_0[0x173]="恐啡肽狂龙"
k1_0[0x174]="恶魔娘"
k1_0[0x175]="七皇"
k1_0[0x176]="异晶人的"
k1_0[0x177]="海龙神"
k1_0[0x178]="潜海"
k1_0[0x179]="兽带斗神"
k1_0[0x17a]="恐吓爪牙族"
k1_0[0x17b]="野蛮人"
k1_0[0x17c]="书灵师"
k1_0[0x17d]="群豪"
k1_0[0x17e]="拉比林斯迷宫"
k1_0[0x117e]="拉比林斯迷宫欢迎"
k1_0[0x17f]="神碑"
k1_0[0x180]="卫星闪灵"
k1_0[0x181]="珠泪哀歌族"
k1_0[0x182]="春化精"
k1_0[0x183]="悠悠"
k1_0[0x184]="翼侠"
k1_0[0x1185]="涂鸦兽"
k1_0[0x2185]="涂鸦本"
k1_0[0x186]="G石人"
k1_0[0x187]="桥梁"
k1_0[0x188]="深渊之兽"
k1_0[0x189]="俱舍怒威族"
k1_0[0x18a]="魊影"
k1_0[0x18b]="救援ACE队"
k1_0[0x18c]="纯爱妖精"
k1_0[0x18d]="御巫"
k1_0[0x18e]="仪水镜"
k1_0[0x18f]="防火"
k1_0[0x190]="末那愚子族"
k1_0[0x191]="妮穆蕾莉娅"
k1_0[0x192]="金傲大奖赛"
k1_0[0x193]="迷宫壁"
k1_0[0x194]="至爱"
k1_0[0x195]="征服斗魂"
k1_0[0x196]="新式魔厨"
k1_0[0x197]="食谱"
k1_0[0x198]="维萨斯"
k1_0[0x199]="反击"
k1_0[0x19a]="吠陀"
k1_0[0x19b]="迪亚贝尔斯塔尔"
k1_0[0x19c]="蛇眼"
k1_0[0x19d]="荷鲁斯"
k1_0[0x19e]="罪宝"
k1_0[0x19f]="圣菓使"
k1_0[0x1a0]="哈特"
k1_0[0x1a1]="莫忘"
k1_0[0x1a2]="百夫长骑士"
k1_0[0x1a3]="异响鸣"
k1_0[0x1a4]="蒂斯蒂娜"
return k1_0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
local h1_0 = {}
h1_0[0x1]="正义盟军"
h1_0[0x2]="次世代"
h1_0[0x1002]="真次世代"
h1_0[0x4]="亚马逊"
h1_0[0x5]="秘仪之力"
h1_0[0x6]="暗黑界"
h1_0[0x7]="古代的机械"
h1_0[0x8]="英雄"
h1_0[0x3008]="元素英雄"
h1_0[0x5008]="幻影英雄"
h1_0[0x6008]="邪心英雄"
h1_0[0xa008]="假面英雄"
h1_0[0xc008]="命运英雄"
h1_0[0x9]="新宇"
h1_0[0xa]="入魔"
h1_0[0x100a]="侵入魔鬼"
h1_0[0xb]="永火"
h1_0[0xc]="外星"
h1_0[0xd]="剑士"
h1_0[0x100d]="X-剑士"
h1_0[0x400d]="元素灵剑士"
h1_0[0xe]="电气"
h1_0[0xf]="扰乱"
h1_0[0x10]="薰风"
h1_0[0x11]="机巧"
h1_0[0x12]="青蛙"
h1_0[0x13]="机皇"
h1_0[0x3013]="机皇帝"
h1_0[0x5013]="机皇神"
h1_0[0x6013]="机皇兵"
h1_0[0x15]="巨大战舰"
h1_0[0x16]="机人"
h1_0[0x1016]="交通机人"
h1_0[0x2016]="疾行机人"
h1_0[0x17]="同调"
h1_0[0x1017]="同调士"
h1_0[0x2017]="同调龙"
h1_0[0x18]="云魔物"
h1_0[0x19]="剑斗兽"
h1_0[0x1a]="黑蝎"
h1_0[0x1b]="幻兽"
h1_0[0x101b]="幻兽机"
h1_0[0x1c]="死之信息"
h1_0[0x1d]="核成"
h1_0[0x1e]="茧状体"
h1_0[0x1f]="新空间侠"
h1_0[0x20]="紫炎"
h1_0[0x21]="地缚"
h1_0[0x1021]="地缚神"
h1_0[0x22]="朱罗纪"
h1_0[0x23]="罪"
h1_0[0x24]="废铁"
h1_0[0x25]="链"
h1_0[0x26]="变形斗士"
h1_0[0x27]="科技属"
h1_0[0x28]="电池人"
h1_0[0x29]="龙骑兵团"
h1_0[0x2a]="自然"
h1_0[0x2b]="忍者"
h1_0[0x2c]="炎狱"
h1_0[0x2e]="守墓"
h1_0[0x2f]="冰结界"
h1_0[0x30]="大日"
h1_0[0x31]="命运女郎"
h1_0[0x32]="火山"
h1_0[0x33]="黑羽"
h1_0[0x1033]="强袭黑羽"
h1_0[0x34]="宝玉"
h1_0[0x1034]="宝玉兽"
h1_0[0x2034]="究极宝玉神"
h1_0[0x5034]="高等宝玉兽"
h1_0[0x35]="魔轰神"
h1_0[0x36]="机甲"
h1_0[0x37]="霞之谷"
h1_0[0x38]="光道"
h1_0[0x39]="熔岩"
h1_0[0x3a]="遗式"
h1_0[0x3b]="真红眼"
h1_0[0x3c]="爬虫妖"
h1_0[0x3d]="六武众"
h1_0[0x103d]="影六武众"
h1_0[0x3e]="异虫"
h1_0[0x3f]="救世"
h1_0[0x40]="被封印"
h1_0[0x41]="LV"
h1_0[0x42]="极星"
h1_0[0x3042]="极星天"
h1_0[0x5042]="极星宝"
h1_0[0x6042]="极星兽"
h1_0[0xa042]="极星灵"
h1_0[0x43]="废品"
h1_0[0x44]="代行者"
h1_0[0x45]="恶魔"
h1_0[0x1045]="红莲魔"
h1_0[0x46]="融合"
h1_0[0x1046]="融合龙"
h1_0[0x47]="宝石"
h1_0[0x1047]="宝石骑士"
h1_0[0x48]="No."
h1_0[0x1048]="混沌No."
h1_0[0x49]="铳士"
h1_0[0x4a]="时械神"
h1_0[0x4b]="极神"
h1_0[0x4c]="落穴"
h1_0[0x304e]="进化虫"
h1_0[0x504e]="进化帝"
h1_0[0x604e]="进化龙"
h1_0[0x104f]="/爆裂体"
h1_0[0x50]="蛇毒"
h1_0[0x1050]="凶饿毒"
h1_0[0x51]="零件"
h1_0[0x52]="守护者"
h1_0[0x1052]="门之守护神"
h1_0[0x53]="星圣"
h1_0[0x54]="我我我"
h1_0[0x55]="光子"
h1_0[0x56]="甲虫装机"
h1_0[0x57]="共鸣者"
h1_0[0x58]="发条"
h1_0[0x59]="隆隆隆"
h1_0[0x5a]="企鹅"
h1_0[0x5b]="番茄小子"
h1_0[0x5c]="斯芬克斯"
h1_0[0x60]="竹光"
h1_0[0x61]="忍法"
h1_0[0x62]="卡通"
h1_0[0x63]="反应机"
h1_0[0x64]="鹰身"
h1_0[0x65]="侵略的"
h1_0[0x66]="战士"
h1_0[0x1066]="音响战士"
h1_0[0x2066]="磁石战士"
h1_0[0x69]="圣刻"
h1_0[0x6a]="幻蝶刺客"
h1_0[0x6b]="保镖"
h1_0[0x6d]="魔人"
h1_0[0x6e]="魔导"
h1_0[0x106e]="魔导书"
h1_0[0x6f]="英豪"
h1_0[0x106f]="英豪挑战者"
h1_0[0x70]="先史遗产"
h1_0[0x71]="魔偶甜点"
h1_0[0x72]="齿轮齿轮"
h1_0[0x1072]="齿轮齿轮人"
h1_0[0x73]="超量"
h1_0[0x1073]="混沌超量"
h1_0[0x2073]="超量龙"
h1_0[0x4073]="铠装超量"
h1_0[0x74]="水精鳞"
h1_0[0x75]="深渊"
h1_0[0x76]="纹章兽"
h1_0[0x77]="海皇"
h1_0[0x78]="迅捷"
h1_0[0x79]="炎星"
h1_0[0x107a]="圣骑士"
h1_0[0x207a]="圣剑"
h1_0[0x507a]="焰圣骑士"
h1_0[0x607a]="焰圣剑"
h1_0[0x7b]="银河"
h1_0[0x107b]="银河眼"
h1_0[0x307b]="银河眼时空龙"
h1_0[0x7c]="炎舞"
h1_0[0x7d]="阳炎"
h1_0[0x107d]="阳炎兽"
h1_0[0x7e]="异热同心"
h1_0[0x107e]="异热同心武器"
h1_0[0x207e]="异热同心从者"
h1_0[0x7f]="霍普"
h1_0[0x107f]="希望皇 霍普"
h1_0[0x207f]="未来皇 霍普"
h1_0[0x80]="尘妖"
h1_0[0x81]="炎王"
h1_0[0x1081]="炎王兽"
h1_0[0x82]="怒怒怒"
h1_0[0x83]="人偶"
h1_0[0x1083]="机关傀儡"
h1_0[0x1084]="燃烧拳击手"
h1_0[0x2084]="燃烧拳"
h1_0[0x85]="超级防卫机器人"
h1_0[0x86]="光天使"
h1_0[0x87]="阴影"
h1_0[0x88]="武神"
h1_0[0x89]="洞"
h1_0[0x108a]="虫惑魔"
h1_0[0x8b]="食恶"
h1_0[0x8d]="鬼计"
h1_0[0x8e]="吸血鬼"
h1_0[0x8f]="刷拉拉"
h1_0[0x90]="森罗"
h1_0[0x91]="王家长眠之谷"
h1_0[0x92]="纹章"
h1_0[0x93]="电子"
h1_0[0x1093]="电子龙"
h1_0[0x2093]="电子化天使"
h1_0[0x4093]="电子暗黑"
h1_0[0x94]="电子科技"
h1_0[0x95]="升阶魔法"
h1_0[0x96]="电子鱼人"
h1_0[0x97]="古遗物"
h1_0[0x98]="魔术师"
h1_0[0x99]="异色眼"
h1_0[0x9a]="超重武者"
h1_0[0x109a]="超重武者装留"
h1_0[0x9b]="幻奏"
h1_0[0x109b]="幻奏的音姬"
h1_0[0x9c]="星骑士"
h1_0[0x109c]="星辉士"
h1_0[0x9d]="影依"
h1_0[0x9e]="龙星"
h1_0[0x9f]="娱乐伙伴"
h1_0[0xa0]="传说的骑士"
h1_0[0xa1]="传说之龙"
h1_0[0x10a2]="黑魔术"
h1_0[0x20a2]="魔术少女"
h1_0[0x30a2]="黑魔术少女"
h1_0[0xa3]="星尘"
h1_0[0xa4]="栗子球"
h1_0[0x10a4]="羽翼栗子球"
h1_0[0xa5]="变化"
h1_0[0xa6]="幼芽"
h1_0[0xa7]="阿托利斯"
h1_0[0xa8]="兰斯洛特"
h1_0[0xa9]="毛绒动物"
h1_0[0xaa]="机壳"
h1_0[0x10aa]="隐藏的机壳"
h1_0[0xab]="文具电子人"
h1_0[0xac]="哥布林"
h1_0[0xad]="魔玩具"
h1_0[0xae]="契约书"
h1_0[0xaf]="DD"
h1_0[0x10af]="DDD"
h1_0[0xb0]="加特姆士"
h1_0[0xb1]="彼岸"
h1_0[0xb2]="超级运动员"
h1_0[0xb3]="妖仙兽"
h1_0[0xb4]="影灵衣"
h1_0[0xb5]="灵兽"
h1_0[0x10b5]="灵兽使"
h1_0[0x20b5]="精灵兽"
h1_0[0x40b5]="圣灵兽骑"
h1_0[0xb6]="外神"
h1_0[0xb7]="旧神"
h1_0[0xb8]="古神"
h1_0[0xb9]="烈焰加农炮"
h1_0[0xba]="急袭猛禽"
h1_0[0xbb]="狱火机"
h1_0[0xbc]="人造人"
h1_0[0xbd]="暗黑骑士 盖亚"
h1_0[0xbe]="帝王"
h1_0[0xbf]="灵使"
h1_0[0xc0]="凭依"
h1_0[0x10c0]="凭依装着"
h1_0[0xc1]="PSY骨架"
h1_0[0x10c1]="PSY骨架装备"
h1_0[0xc2]="动力工具"
h1_0[0xc3]="锋利小鬼"
h1_0[0xc4]="神数"
h1_0[0xc5]="炼狱"
h1_0[0xc6]="娱乐法师"
h1_0[0xc7]="龙剑士"
h1_0[0xc8]="点火骑士"
h1_0[0xc9]="芳香"
h1_0[0xca]="魔装战士"
h1_0[0xcb]="以太神兵龙"
h1_0[0xcc]="占术姬"
h1_0[0xcd]="水伶女"
h1_0[0xce]="水族馆"
h1_0[0xcf]="混沌"
h1_0[0x10cf]="混沌战士"
h1_0[0xd0]="威风妖怪"
h1_0[0xd1]="灰篮"
h1_0[0xd2]="星际仙踪"
h1_0[0xd3]="坏兽"
h1_0[0xd4]="伯吉斯异兽"
h1_0[0xd5]="但丁"
h1_0[0xd6]="破坏剑"
h1_0[0xd7]="破坏之剑士"
h1_0[0xd8]="雾动机龙"
h1_0[0xd9]="不知火"
h1_0[0x10d9]="妖刀-不知火"
h1_0[0xda]="龙魔王"
h1_0[0xdb]="幻影"
h1_0[0x10db]="幻影骑士团"
h1_0[0xdc]="超级量子"
h1_0[0x10dc]="超级量子战士"
h1_0[0x20dc]="超级量子机兽"
h1_0[0xdd]="青眼"
h1_0[0xde]="艾克佐迪亚"
h1_0[0xdf]="月光"
h1_0[0xe0]="无形噬体"
h1_0[0xe1]="炼装"
h1_0[0xe2]="三形金字塔"
h1_0[0xe3]="方界"
h1_0[0xe4]="精灵剑士"
h1_0[0xe5]="光波"
h1_0[0x10e5]="光波龙"
h1_0[0xe6]="花札卫"
h1_0[0xe7]="沉默剑士"
h1_0[0xe8]="沉默魔术师"
h1_0[0xe9]="磁石战士"
h1_0[0xea]="水晶机巧"
h1_0[0xeb]="化合兽"
h1_0[0x10ec]="魔界剧团"
h1_0[0x20ec]="魔界台本"
h1_0[0xed]="地中族"
h1_0[0x10ed]="地中族邪界"
h1_0[0xee]="秘旋谍"
h1_0[0x10ee]="秘旋谍装备"
h1_0[0x20ee]="秘旋谍任务"
h1_0[0xef]="堕天使"
h1_0[0xf0]="风魔女"
h1_0[0xf1]="十二兽"
h1_0[0xf2]="灵摆"
h1_0[0x10f2]="灵摆龙"
h1_0[0x20f2]="灵摆读阵"
h1_0[0xf3]="捕食"
h1_0[0x10f3]="捕食植物"
h1_0[0xf4]="召唤兽"
h1_0[0xf5]="甘多拉"
h1_0[0xf6]="摩天楼"
h1_0[0xf7]="抒情歌鸲"
h1_0[0x10f8]="霸王门"
h1_0[0x20f8]="霸王眷龙"
h1_0[0xf9]="真龙"
h1_0[0xfa]="幻煌龙"
h1_0[0xfb]="淘气仙星"
h1_0[0xfc]="刚鬼"
h1_0[0xfd]="星杯"
h1_0[0xfe]="星遗物"
h1_0[0xff]="幻透翼"
h1_0[0x100]="化学结合"
h1_0[0x101]="码语者"
h1_0[0x102]="弹丸"
h1_0[0x103]="幻变骚灵"
h1_0[0x104]="机怪虫"
h1_0[0x105]="玄化"
h1_0[0x106]="复仇死者"
h1_0[0x107]="方程式运动员"
h1_0[0x108]="魔弹"
h1_0[0x109]="天气"
h1_0[0x10a]="珀耳修斯"
h1_0[0x10b]="廷达魔三角"
h1_0[0x10c]="机界骑士"
h1_0[0x10d]="魔导兽"
h1_0[0x10e]="进化药"
h1_0[0x10f]="枪管"
h1_0[0x110]="纳祭"
h1_0[0x1110]="眼纳祭神"
h1_0[0x111]="武装龙"
h1_0[0x112]="幻崩"
h1_0[0x113]="灵神"
h1_0[0x114]="空牙团"
h1_0[0x115]="闪刀"
h1_0[0x1115]="闪刀姬"
h1_0[0x116]="圣像骑士"
h1_0[0x117]="魔神仪"
h1_0[0x118]="电脑网"
h1_0[0x119]="转生炎兽"
h1_0[0x11a]="恐龙摔跤手"
h1_0[0x11b]="自奏圣乐"
h1_0[0x11c]="雷龙"
h1_0[0x11d]="禁忌的"
h1_0[0x11e]="未界域"
h1_0[0x11f]="奈芙提斯"
h1_0[0x120]="调皮宝贝"
h1_0[0x121]="魔妖"
h1_0[0x122]="女武神"
h1_0[0x123]="蔷薇"
h1_0[0x1123]="蔷薇龙"
h1_0[0x124]="机械天使"
h1_0[0x125]="笑容"
h1_0[0x126]="时间潜行者"
h1_0[0x127]="无限起动"
h1_0[0x128]="魔女术"
h1_0[0x129]="咒眼"
h1_0[0x12a]="恩底弥翁"
h1_0[0x12b]="海晶少女"
h1_0[0x12c]="天威"
h1_0[0x12d]="斯摩夫"
h1_0[0x12e]="占卜魔女"
h1_0[0x12f]="蜂军"
h1_0[0x130]="破械"
h1_0[0x1130]="破械神"
h1_0[0x131]="梦魔镜"
h1_0[0x132]="斩机"
h1_0[0x133]="半龙女仆"
h1_0[0x134]="王战"
h1_0[0x135]="@火灵天星"
h1_0[0x136]="“艾”"
h1_0[0x137]="战华"
h1_0[0x138]="巨石遗物"
h1_0[0x139]="守护神官"
h1_0[0x13a]="拟声"
h1_0[0x13b]="叛逆"
h1_0[0x13c]="代码破坏者"
h1_0[0x13d]="星义"
h1_0[0x13e]="巴巴罗斯"
h1_0[0x13f]="海造贼"
h1_0[0x140]="魔救"
h1_0[0x141]="六花"
h1_0[0x1142]="黄金国巫妖"
h1_0[0x2142]="黄金国永生药"
h1_0[0x143]="黄金乡"
h1_0[0x144]="幻魔"
h1_0[0x145]="教导"
h1_0[0x146]="童话动物"
h1_0[0x147]="波波"
h1_0[0x148]="罗兰"
h1_0[0x149]="化石"
h1_0[0x14a]="源数"
h1_0[0x114a]="源数之门"
h1_0[0x14b]="机块"
h1_0[0x314c]="地灵术"
h1_0[0x514c]="水灵术"
h1_0[0x614c]="火灵术"
h1_0[0x914c]="风灵术"
h1_0[0x14d]="铁兽"
h1_0[0x14e]="电脑堺"
h1_0[0x114e]="电脑堺门"
h1_0[0x14f]="双天"
h1_0[0x150]="大贤者"
h1_0[0x1151]="直播☆双子"
h1_0[0x2151]="邪恶★双子"
h1_0[0x152]="姬丝基勒"
h1_0[0x153]="璃拉"
h1_0[0x154]="龙辉巧"
h1_0[0x155]="护宝炮妖"
h1_0[0x156]="治安战警队"
h1_0[0x157]="秘异三变"
h1_0[0x1158]="圣蔓"
h1_0[0x2158]="圣天树"
h1_0[0x4158]="圣种"
h1_0[0x159]="圣夜骑士"
h1_0[0x15a]="人偶怪兽"
h1_0[0x15b]="惊乐"
h1_0[0x15c]="游乐设施"
h1_0[0x15d]="烙印"
h1_0[0x15e]="降阶魔法"
h1_0[0x15f]="战吼"
h1_0[0x160]="原质炉"
h1_0[0x161]="溟界"
h1_0[0x162]="七音服"
h1_0[0x1162]="大钢琴之七音服"
h1_0[0x163]="北极天熊"
h1_0[0x164]="死狱乡"
h1_0[0x165]="魔键"
h1_0[0x166]="军贯"
h1_0[0x1167]="森之圣兽"
h1_0[0x2167]="森之圣灵"
h1_0[0x168]="隐形水母怪"
h1_0[0x169]="原数天灵"
h1_0[0x16a]="编号系"
h1_0[0x16b]="相剑"
h1_0[0x16c]="冰水"
h1_0[0x16d]="随风旅鸟"
h1_0[0x16e]="拓扑"
h1_0[0x16f]="许珀里翁"
h1_0[0x170]="骑甲虫"
h1_0[0x171]="朋克"
h1_0[0x172]="救祓少女"
h1_0[0x173]="恐啡肽狂龙"
h1_0[0x174]="恶魔娘"
h1_0[0x175]="七皇"
h1_0[0x176]="异晶人的"
h1_0[0x177]="海龙神"
h1_0[0x178]="潜海"
h1_0[0x179]="兽带斗神"
h1_0[0x17a]="恐吓爪牙族"
h1_0[0x17b]="野蛮人"
h1_0[0x17c]="书灵师"
h1_0[0x17d]="群豪"
h1_0[0x17e]="拉比林斯迷宫"
h1_0[0x117e]="拉比林斯迷宫欢迎"
h1_0[0x17f]="神碑"
h1_0[0x180]="卫星闪灵"
h1_0[0x181]="珠泪哀歌族"
h1_0[0x182]="春化精"
h1_0[0x183]="悠悠"
h1_0[0x184]="翼侠"
h1_0[0x1185]="涂鸦兽"
h1_0[0x2185]="涂鸦本"
h1_0[0x186]="G石人"
h1_0[0x187]="桥梁"
h1_0[0x188]="深渊之兽"
h1_0[0x189]="俱舍怒威族"
h1_0[0x18a]="魊影"
h1_0[0x18b]="救援ACE队"
h1_0[0x18c]="纯爱妖精"
h1_0[0x18d]="御巫"
h1_0[0x18e]="仪水镜"
h1_0[0x18f]="防火"
h1_0[0x190]="末那愚子族"
h1_0[0x191]="妮穆蕾莉娅"
h1_0[0x192]="金傲大奖赛"
h1_0[0x193]="迷宫壁"
h1_0[0x194]="至爱"
h1_0[0x195]="征服斗魂"
h1_0[0x196]="新式魔厨"
h1_0[0x197]="食谱"
h1_0[0x198]="维萨斯"
h1_0[0x199]="反击"
h1_0[0x19a]="吠陀"
h1_0[0x19b]="迪亚贝尔斯塔尔"
h1_0[0x19c]="蛇眼"
h1_0[0x19d]="荷鲁斯"
h1_0[0x19e]="罪宝"
h1_0[0x19f]="圣菓使"
h1_0[0x1a0]="哈特"
h1_0[0x1a1]="莫忘"
h1_0[0x1a2]="百夫长骑士"
h1_0[0x1a3]="异响鸣"
h1_0[0x1a4]="蒂斯蒂娜"
return h1_0

Modified 残局文料/副_容冗/普常量.lua from [a780aab93e] to [91f415d58f].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
local k1_0 = {}
k1_0.MIN_ID=1000
k1_0.MAX_ID=268435455
k1_0.MAX_COUNTER=65535
k1_0.MAX_PARAMETER=0xffff
k1_0.LOCATION_DECK=0x01
k1_0.LOCATION_HAND=0x02
k1_0.LOCATION_MZONE=0x04
k1_0.LOCATION_SZONE=0x08
k1_0.LOCATION_GRAVE=0x10
k1_0.LOCATION_REMOVED=0x20
k1_0.LOCATION_EXTRA=0x40
k1_0.LOCATION_OVERLAY=0x80
k1_0.LOCATION_ONFIELD=0x0c
k1_0.LOCATION_DECKBOT=0x10001
k1_0.LOCATION_DECKSHF=0x20001
k1_0.SEQ_DECKTOP=0
k1_0.SEQ_DECKBOTTOM=1
k1_0.SEQ_DECKSHUFFLE=2
k1_0.LOCATION_FZONE=0x100
k1_0.LOCATION_PZONE=0x200
k1_0.POS_FACEUP_ATTACK=0x1
k1_0.POS_FACEDOWN_ATTACK=0x2
k1_0.POS_FACEUP_DEFENSE=0x4
k1_0.POS_FACEDOWN_DEFENSE=0x8
k1_0.POS_FACEUP=0x5
k1_0.POS_FACEDOWN=0xa
k1_0.POS_ATTACK=0x3
k1_0.POS_DEFENSE=0xc
k1_0.NO_FLIP_EFFECT=0x10000
k1_0.TYPE_MONSTER=0x1
k1_0.TYPE_SPELL=0x2
k1_0.TYPE_TRAP=0x4
k1_0.TYPE_NORMAL=0x10
k1_0.TYPE_EFFECT=0x20
k1_0.TYPE_FUSION=0x40
k1_0.TYPE_RITUAL=0x80
k1_0.TYPE_TRAPMONSTER=0x100
k1_0.TYPE_SPIRIT=0x200
k1_0.TYPE_UNION=0x400
k1_0.TYPE_DUAL=0x800
k1_0.TYPE_TUNER=0x1000
k1_0.TYPE_SYNCHRO=0x2000
k1_0.TYPE_TOKEN=0x4000
k1_0.TYPE_QUICKPLAY=0x10000
k1_0.TYPE_CONTINUOUS=0x20000
k1_0.TYPE_EQUIP=0x40000
k1_0.TYPE_FIELD=0x80000
k1_0.TYPE_COUNTER=0x100000
k1_0.TYPE_FLIP=0x200000
k1_0.TYPE_TOON=0x400000
k1_0.TYPE_XYZ=0x800000
k1_0.TYPE_PENDULUM=0x1000000
k1_0.TYPE_SPSUMMON=0x2000000
k1_0.TYPE_LINK=0x4000000
k1_0.TYPES_TOKEN_MONSTER=0x4011
k1_0.TYPES_NORMAL_TRAP_MONSTER=0x111
k1_0.TYPES_EFFECT_TRAP_MONSTER=0x121
k1_0.ATTRIBUTE_ALL=0x7f
k1_0.ATTRIBUTE_EARTH=0x01
k1_0.ATTRIBUTE_WATER=0x02
k1_0.ATTRIBUTE_FIRE=0x04
k1_0.ATTRIBUTE_WIND=0x08
k1_0.ATTRIBUTE_LIGHT=0x10
k1_0.ATTRIBUTE_DARK=0x20
k1_0.ATTRIBUTE_DIVINE=0x40
k1_0.RACE_ALL=0x3ffffff
k1_0.RACE_WARRIOR=0x1
k1_0.RACE_SPELLCASTER=0x2
k1_0.RACE_FAIRY=0x4
k1_0.RACE_FIEND=0x8
k1_0.RACE_ZOMBIE=0x10
k1_0.RACE_MACHINE=0x20
k1_0.RACE_AQUA=0x40
k1_0.RACE_PYRO=0x80
k1_0.RACE_ROCK=0x100
k1_0.RACE_WINDBEAST=0x200
k1_0.RACE_PLANT=0x400
k1_0.RACE_INSECT=0x800
k1_0.RACE_THUNDER=0x1000
k1_0.RACE_DRAGON=0x2000
k1_0.RACE_BEAST=0x4000
k1_0.RACE_BEASTWARRIOR=0x8000
k1_0.RACE_DINOSAUR=0x10000
k1_0.RACE_FISH=0x20000
k1_0.RACE_SEASERPENT=0x40000
k1_0.RACE_REPTILE=0x80000
k1_0.RACE_PSYCHO=0x100000
k1_0.RACE_DIVINE=0x200000
k1_0.RACE_CREATORGOD=0x400000
k1_0.RACE_WYRM=0x800000
k1_0.RACE_CYBERSE=0x1000000
k1_0.RACE_ILLUSION=0x2000000
k1_0.REASON_DESTROY=0x1
k1_0.REASON_RELEASE=0x2
k1_0.REASON_TEMPORARY=0x4
k1_0.REASON_MATERIAL=0x8
k1_0.REASON_SUMMON=0x10
k1_0.REASON_BATTLE=0x20
k1_0.REASON_EFFECT=0x40
k1_0.REASON_COST=0x80
k1_0.REASON_ADJUST=0x100
k1_0.REASON_LOST_TARGET=0x200
k1_0.REASON_RULE=0x400
k1_0.REASON_SPSUMMON=0x800
k1_0.REASON_DISSUMMON=0x1000
k1_0.REASON_FLIP=0x2000
k1_0.REASON_DISCARD=0x4000
k1_0.REASON_RDAMAGE=0x8000
k1_0.REASON_RRECOVER=0x10000
k1_0.REASON_RETURN=0x20000
k1_0.REASON_FUSION=0x40000
k1_0.REASON_SYNCHRO=0x80000
k1_0.REASON_RITUAL=0x100000
k1_0.REASON_XYZ=0x200000
k1_0.REASON_REPLACE=0x1000000
k1_0.REASON_DRAW=0x2000000
k1_0.REASON_REDIRECT=0x4000000
k1_0.REASON_REVEAL=0x8000000
k1_0.REASON_LINK=0x10000000
k1_0.REASON_LOST_OVERLAY=0x20000000
k1_0.LOCATION_REASON_TOFIELD=0x1
k1_0.LOCATION_REASON_CONTROL=0x2
k1_0.SUMMON_TYPE_NORMAL=0x10000000
k1_0.SUMMON_TYPE_ADVANCE=0x11000000
k1_0.SUMMON_TYPE_DUAL=0x12000000
k1_0.SUMMON_TYPE_FLIP=0x20000000
k1_0.SUMMON_TYPE_SPECIAL=0x40000000
k1_0.SUMMON_TYPE_FUSION=0x43000000
k1_0.SUMMON_TYPE_RITUAL=0x45000000
k1_0.SUMMON_TYPE_SYNCHRO=0x46000000
k1_0.SUMMON_TYPE_XYZ=0x49000000
k1_0.SUMMON_TYPE_PENDULUM=0x4a000000
k1_0.SUMMON_TYPE_LINK=0x4c000000
k1_0.SUMMON_VALUE_SELF=0x1
k1_0.SUMMON_VALUE_BLACK_GARDEN=0x10
k1_0.SUMMON_VALUE_SYNCHRO_MATERIAL=0x11
k1_0.SUMMON_VALUE_DARK_SANCTUARY=0x12
k1_0.SUMMON_VALUE_MONSTER_REBORN=0x13
k1_0.SUMMON_VALUE_LV=0x1000
k1_0.SUMMON_VALUE_GLADIATOR=0x2000
k1_0.SUMMON_VALUE_EVOLTILE=0x4000
k1_0.SUMMON_VALUE_NOUVELLEZ=0x8000
k1_0.STATUS_DISABLED=0x0001
k1_0.STATUS_TO_ENABLE=0x0002
k1_0.STATUS_TO_DISABLE=0x0004
k1_0.STATUS_PROC_COMPLETE=0x0008
k1_0.STATUS_SET_TURN=0x0010
k1_0.STATUS_NO_LEVEL=0x0020
k1_0.STATUS_BATTLE_RESULT=0x0040
k1_0.STATUS_SPSUMMON_STEP=0x0080
k1_0.STATUS_FORM_CHANGED=0x0100
k1_0.STATUS_SUMMONING=0x0200
k1_0.STATUS_EFFECT_ENABLED=0x0400
k1_0.STATUS_SUMMON_TURN=0x0800
k1_0.STATUS_DESTROY_CONFIRMED=0x1000
k1_0.STATUS_LEAVE_CONFIRMED=0x2000
k1_0.STATUS_BATTLE_DESTROYED=0x4000
k1_0.STATUS_COPYING_EFFECT=0x8000
k1_0.STATUS_CHAINING=0x10000
k1_0.STATUS_SUMMON_DISABLED=0x20000
k1_0.STATUS_ACTIVATE_DISABLED=0x40000
k1_0.STATUS_EFFECT_REPLACED=0x80000
k1_0.STATUS_FUTURE_FUSION=0x100000
k1_0.STATUS_ATTACK_CANCELED=0x200000
k1_0.STATUS_INITIALIZING=0x400000
k1_0.STATUS_TO_HAND_WITHOUT_CONFIRM=0x800000
k1_0.STATUS_JUST_POS=0x1000000
k1_0.STATUS_CONTINUOUS_POS=0x2000000
k1_0.STATUS_FORBIDDEN=0x4000000
k1_0.STATUS_ACT_FROM_HAND=0x8000000
k1_0.STATUS_OPPO_BATTLE=0x10000000
k1_0.STATUS_FLIP_SUMMON_TURN=0x20000000
k1_0.STATUS_SPSUMMON_TURN=0x40000000
k1_0.ASSUME_CODE=1
k1_0.ASSUME_TYPE=2
k1_0.ASSUME_LEVEL=3
k1_0.ASSUME_RANK=4
k1_0.ASSUME_ATTRIBUTE=5
k1_0.ASSUME_RACE=6
k1_0.ASSUME_ATTACK=7
k1_0.ASSUME_DEFENSE=8
k1_0.LINK_MARKER_BOTTOM_LEFT=0x001
k1_0.LINK_MARKER_BOTTOM=0x002
k1_0.LINK_MARKER_BOTTOM_RIGHT=0x004
k1_0.LINK_MARKER_LEFT=0x008
k1_0.LINK_MARKER_RIGHT=0x020
k1_0.LINK_MARKER_TOP_LEFT=0x040
k1_0.LINK_MARKER_TOP=0x080
k1_0.LINK_MARKER_TOP_RIGHT=0x100
k1_0.COUNTER_WITHOUT_PERMIT=0x1000
k1_0.COUNTER_NEED_ENABLE=0x2000
k1_0.PHASE_DRAW=0x01
k1_0.PHASE_STANDBY=0x02
k1_0.PHASE_MAIN1=0x04
k1_0.PHASE_BATTLE_START=0x08
k1_0.PHASE_BATTLE_STEP=0x10
k1_0.PHASE_DAMAGE=0x20
k1_0.PHASE_DAMAGE_CAL=0x40
k1_0.PHASE_BATTLE=0x80
k1_0.PHASE_MAIN2=0x100
k1_0.PHASE_END=0x200
k1_0.PLAYER_NONE=2
k1_0.PLAYER_ALL=3
k1_0.CHAININFO_CHAIN_COUNT=0x01
k1_0.CHAININFO_TRIGGERING_EFFECT=0x02
k1_0.CHAININFO_TRIGGERING_PLAYER=0x04
k1_0.CHAININFO_TRIGGERING_CONTROLER=0x08
k1_0.CHAININFO_TRIGGERING_LOCATION=0x10
k1_0.CHAININFO_TRIGGERING_SEQUENCE=0x20
k1_0.CHAININFO_TARGET_CARDS=0x40
k1_0.CHAININFO_TARGET_PLAYER=0x80
k1_0.CHAININFO_TARGET_PARAM=0x100
k1_0.CHAININFO_DISABLE_REASON=0x200
k1_0.CHAININFO_DISABLE_PLAYER=0x400
k1_0.CHAININFO_CHAIN_ID=0x800
k1_0.CHAININFO_TYPE=0x1000
k1_0.CHAININFO_EXTTYPE=0x2000
k1_0.CHAININFO_TRIGGERING_POSITION=0x4000
k1_0.CHAININFO_TRIGGERING_CODE=0x8000
k1_0.CHAININFO_TRIGGERING_CODE2=0x10000
k1_0.CHAININFO_TRIGGERING_LEVEL=0x40000
k1_0.CHAININFO_TRIGGERING_RANK=0x80000
k1_0.CHAININFO_TRIGGERING_ATTRIBUTE=0x100000
k1_0.CHAININFO_TRIGGERING_RACE=0x200000
k1_0.CHAININFO_TRIGGERING_ATTACK=0x400000
k1_0.CHAININFO_TRIGGERING_DEFENSE=0x800000
k1_0.RESET_SELF_TURN=0x10000000
k1_0.RESET_OPPO_TURN=0x20000000
k1_0.RESET_PHASE=0x40000000
k1_0.RESET_CHAIN=0x80000000
k1_0.RESET_EVENT=0x1000
k1_0.RESET_CARD=0x2000
k1_0.RESET_CODE=0x4000
k1_0.RESET_COPY=0x8000
k1_0.RESET_DISABLE=0x00010000
k1_0.RESET_TURN_SET=0x00020000
k1_0.RESET_TOGRAVE=0x00040000
k1_0.RESET_REMOVE=0x00080000
k1_0.RESET_TEMP_REMOVE=0x00100000
k1_0.RESET_TOHAND=0x00200000
k1_0.RESET_TODECK=0x00400000
k1_0.RESET_LEAVE=0x00800000
k1_0.RESET_TOFIELD=0x01000000
k1_0.RESET_CONTROL=0x02000000
k1_0.RESET_OVERLAY=0x04000000
k1_0.RESET_MSCHANGE=0x08000000
k1_0.RESETS_STANDARD=0x1fe0000
k1_0.RESETS_REDIRECT=0xc7e0000
k1_0.RESETS_WITHOUT_TEMP_REMOVE=0x56e0000
k1_0.EFFECT_TYPE_SINGLE=0x0001
k1_0.EFFECT_TYPE_FIELD=0x0002
k1_0.EFFECT_TYPE_EQUIP=0x0004
k1_0.EFFECT_TYPE_ACTIONS=0x0008
k1_0.EFFECT_TYPE_ACTIVATE=0x0010
k1_0.EFFECT_TYPE_FLIP=0x0020
k1_0.EFFECT_TYPE_IGNITION=0x0040
k1_0.EFFECT_TYPE_TRIGGER_O=0x0080
k1_0.EFFECT_TYPE_QUICK_O=0x0100
k1_0.EFFECT_TYPE_TRIGGER_F=0x0200
k1_0.EFFECT_TYPE_QUICK_F=0x0400
k1_0.EFFECT_TYPE_CONTINUOUS=0x0800
k1_0.EFFECT_TYPE_XMATERIAL=0x1000
k1_0.EFFECT_TYPE_GRANT=0x2000
k1_0.EFFECT_TYPE_TARGET=0x4000
k1_0.EFFECT_FLAG_INITIAL=0x0001
k1_0.EFFECT_FLAG_FUNC_VALUE=0x0002
k1_0.EFFECT_FLAG_COUNT_LIMIT=0x0004
k1_0.EFFECT_FLAG_FIELD_ONLY=0x0008
k1_0.EFFECT_FLAG_CARD_TARGET=0x0010
k1_0.EFFECT_FLAG_IGNORE_RANGE=0x0020
k1_0.EFFECT_FLAG_ABSOLUTE_TARGET=0x0040
k1_0.EFFECT_FLAG_IGNORE_IMMUNE=0x0080
k1_0.EFFECT_FLAG_SET_AVAILABLE=0x0100
k1_0.EFFECT_FLAG_CANNOT_NEGATE=0x0200
k1_0.EFFECT_FLAG_CANNOT_DISABLE=0x0400
k1_0.EFFECT_FLAG_PLAYER_TARGET=0x0800
k1_0.EFFECT_FLAG_BOTH_SIDE=0x1000
k1_0.EFFECT_FLAG_COPY_INHERIT=0x2000
k1_0.EFFECT_FLAG_DAMAGE_STEP=0x4000
k1_0.EFFECT_FLAG_DAMAGE_CAL=0x8000
k1_0.EFFECT_FLAG_DELAY=0x10000
k1_0.EFFECT_FLAG_SINGLE_RANGE=0x20000
k1_0.EFFECT_FLAG_UNCOPYABLE=0x40000
k1_0.EFFECT_FLAG_OATH=0x80000
k1_0.EFFECT_FLAG_SPSUM_PARAM=0x100000
k1_0.EFFECT_FLAG_REPEAT=0x200000
k1_0.EFFECT_FLAG_NO_TURN_RESET=0x400000
k1_0.EFFECT_FLAG_EVENT_PLAYER=0x800000
k1_0.EFFECT_FLAG_OWNER_RELATE=0x1000000
k1_0.EFFECT_FLAG_CANNOT_INACTIVATE=0x2000000
k1_0.EFFECT_FLAG_CLIENT_HINT=0x4000000
k1_0.EFFECT_FLAG_CONTINUOUS_TARGET=0x8000000
k1_0.EFFECT_FLAG_LIMIT_ZONE=0x10000000
k1_0.EFFECT_FLAG_COF=0x20000000
k1_0.EFFECT_FLAG_CVAL_CHECK=0x40000000
k1_0.EFFECT_FLAG_IMMEDIATELY_APPLY=0x80000000
k1_0.EFFECT_FLAG2_REPEAT_UPDATE=0x0001
k1_0.EFFECT_FLAG2_COF=0x0002
k1_0.EFFECT_FLAG2_WICKED=0x0004
k1_0.EFFECT_FLAG2_OPTION=0x0008
k1_0.EFFECT_IMMUNE_EFFECT=1
k1_0.EFFECT_DISABLE=2
k1_0.EFFECT_CANNOT_DISABLE=3
k1_0.EFFECT_SET_CONTROL=4
k1_0.EFFECT_CANNOT_CHANGE_CONTROL=5
k1_0.EFFECT_CANNOT_ACTIVATE=6
k1_0.EFFECT_CANNOT_TRIGGER=7
k1_0.EFFECT_DISABLE_EFFECT=8
k1_0.EFFECT_DISABLE_CHAIN=9
k1_0.EFFECT_DISABLE_TRAPMONSTER=10
k1_0.EFFECT_CANNOT_INACTIVATE=12
k1_0.EFFECT_CANNOT_DISEFFECT=13
k1_0.EFFECT_CANNOT_CHANGE_POSITION=14
k1_0.EFFECT_TRAP_ACT_IN_HAND=15
k1_0.EFFECT_TRAP_ACT_IN_SET_TURN=16
k1_0.EFFECT_REMAIN_FIELD=17
k1_0.EFFECT_MONSTER_SSET=18
k1_0.EFFECT_CANNOT_SUMMON=20
k1_0.EFFECT_CANNOT_FLIP_SUMMON=21
k1_0.EFFECT_CANNOT_SPECIAL_SUMMON=22
k1_0.EFFECT_CANNOT_MSET=23
k1_0.EFFECT_CANNOT_SSET=24
k1_0.EFFECT_CANNOT_DRAW=25
k1_0.EFFECT_CANNOT_DISABLE_SUMMON=26
k1_0.EFFECT_CANNOT_DISABLE_SPSUMMON=27
k1_0.EFFECT_SET_SUMMON_COUNT_LIMIT=28
k1_0.EFFECT_EXTRA_SUMMON_COUNT=29
k1_0.EFFECT_SPSUMMON_CONDITION=30
k1_0.EFFECT_REVIVE_LIMIT=31
k1_0.EFFECT_SUMMON_PROC=32
k1_0.EFFECT_LIMIT_SUMMON_PROC=33
k1_0.EFFECT_SPSUMMON_PROC=34
k1_0.EFFECT_EXTRA_SET_COUNT=35
k1_0.EFFECT_SET_PROC=36
k1_0.EFFECT_LIMIT_SET_PROC=37
k1_0.EFFECT_DIVINE_LIGHT=38
k1_0.EFFECT_CANNOT_DISABLE_FLIP_SUMMON=39
k1_0.EFFECT_INDESTRUCTABLE=40
k1_0.EFFECT_INDESTRUCTABLE_EFFECT=41
k1_0.EFFECT_INDESTRUCTABLE_BATTLE=42
k1_0.EFFECT_UNRELEASABLE_SUM=43
k1_0.EFFECT_UNRELEASABLE_NONSUM=44
k1_0.EFFECT_DESTROY_SUBSTITUTE=45
k1_0.EFFECT_CANNOT_RELEASE=46
k1_0.EFFECT_INDESTRUCTABLE_COUNT=47
k1_0.EFFECT_UNRELEASABLE_EFFECT=48
k1_0.EFFECT_DESTROY_REPLACE=50
k1_0.EFFECT_RELEASE_REPLACE=51
k1_0.EFFECT_SEND_REPLACE=52
k1_0.EFFECT_CANNOT_DISCARD_HAND=55
k1_0.EFFECT_CANNOT_DISCARD_DECK=56
k1_0.EFFECT_CANNOT_USE_AS_COST=57
k1_0.EFFECT_CANNOT_PLACE_COUNTER=58
k1_0.EFFECT_CANNOT_TO_GRAVE_AS_COST=59
k1_0.EFFECT_LEAVE_FIELD_REDIRECT=60
k1_0.EFFECT_TO_HAND_REDIRECT=61
k1_0.EFFECT_TO_DECK_REDIRECT=62
k1_0.EFFECT_TO_GRAVE_REDIRECT=63
k1_0.EFFECT_REMOVE_REDIRECT=64
k1_0.EFFECT_CANNOT_TO_HAND=65
k1_0.EFFECT_CANNOT_TO_DECK=66
k1_0.EFFECT_CANNOT_REMOVE=67
k1_0.EFFECT_CANNOT_TO_GRAVE=68
k1_0.EFFECT_CANNOT_TURN_SET=69
k1_0.EFFECT_CANNOT_BE_BATTLE_TARGET=70
k1_0.EFFECT_CANNOT_BE_EFFECT_TARGET=71
k1_0.EFFECT_IGNORE_BATTLE_TARGET=72
k1_0.EFFECT_CANNOT_DIRECT_ATTACK=73
k1_0.EFFECT_DIRECT_ATTACK=74
k1_0.EFFECT_DUAL_STATUS=75
k1_0.EFFECT_EQUIP_LIMIT=76
k1_0.EFFECT_DUAL_SUMMONABLE=77
k1_0.EFFECT_UNION_LIMIT=78
k1_0.EFFECT_REVERSE_DAMAGE=80
k1_0.EFFECT_REVERSE_RECOVER=81
k1_0.EFFECT_CHANGE_DAMAGE=82
k1_0.EFFECT_REFLECT_DAMAGE=83
k1_0.EFFECT_CANNOT_ATTACK=85
k1_0.EFFECT_CANNOT_ATTACK_ANNOUNCE=86
k1_0.EFFECT_CANNOT_CHANGE_POS_E=87
k1_0.EFFECT_ACTIVATE_COST=90
k1_0.EFFECT_SUMMON_COST=91
k1_0.EFFECT_SPSUMMON_COST=92
k1_0.EFFECT_FLIPSUMMON_COST=93
k1_0.EFFECT_MSET_COST=94
k1_0.EFFECT_SSET_COST=95
k1_0.EFFECT_ATTACK_COST=96
k1_0.EFFECT_UPDATE_ATTACK=100
k1_0.EFFECT_SET_ATTACK=101
k1_0.EFFECT_SET_ATTACK_FINAL=102
k1_0.EFFECT_SET_BASE_ATTACK=103
k1_0.EFFECT_UPDATE_DEFENSE=104
k1_0.EFFECT_SET_DEFENSE=105
k1_0.EFFECT_SET_DEFENSE_FINAL=106
k1_0.EFFECT_SET_BASE_DEFENSE=107
k1_0.EFFECT_REVERSE_UPDATE=108
k1_0.EFFECT_SWAP_AD=109
k1_0.EFFECT_SWAP_BASE_AD=110
k1_0.EFFECT_SET_BASE_ATTACK_FINAL=111
k1_0.EFFECT_SET_BASE_DEFENSE_FINAL=112
k1_0.EFFECT_ADD_CODE=113
k1_0.EFFECT_CHANGE_CODE=114
k1_0.EFFECT_ADD_TYPE=115
k1_0.EFFECT_REMOVE_TYPE=116
k1_0.EFFECT_CHANGE_TYPE=117
k1_0.EFFECT_ADD_RACE=120
k1_0.EFFECT_REMOVE_RACE=121
k1_0.EFFECT_CHANGE_RACE=122
k1_0.EFFECT_ADD_ATTRIBUTE=125
k1_0.EFFECT_REMOVE_ATTRIBUTE=126
k1_0.EFFECT_CHANGE_ATTRIBUTE=127
k1_0.EFFECT_UPDATE_LEVEL=130
k1_0.EFFECT_CHANGE_LEVEL=131
k1_0.EFFECT_UPDATE_RANK=132
k1_0.EFFECT_CHANGE_RANK=133
k1_0.EFFECT_UPDATE_LSCALE=134
k1_0.EFFECT_CHANGE_LSCALE=135
k1_0.EFFECT_UPDATE_RSCALE=136
k1_0.EFFECT_CHANGE_RSCALE=137
k1_0.EFFECT_SET_POSITION=140
k1_0.EFFECT_SELF_DESTROY=141
k1_0.EFFECT_SELF_TOGRAVE=142
k1_0.EFFECT_DOUBLE_TRIBUTE=150
k1_0.EFFECT_DECREASE_TRIBUTE=151
k1_0.EFFECT_DECREASE_TRIBUTE_SET=152
k1_0.EFFECT_EXTRA_RELEASE=153
k1_0.EFFECT_TRIBUTE_LIMIT=154
k1_0.EFFECT_EXTRA_RELEASE_SUM=155
k1_0.EFFECT_TRIPLE_TRIBUTE=156
k1_0.EFFECT_ADD_EXTRA_TRIBUTE=157
k1_0.EFFECT_EXTRA_RELEASE_NONSUM=158
k1_0.EFFECT_PUBLIC=160
k1_0.EFFECT_COUNTER_PERMIT=0x10000
k1_0.EFFECT_COUNTER_LIMIT=0x20000
k1_0.EFFECT_RCOUNTER_REPLACE=0x30000
k1_0.EFFECT_LPCOST_CHANGE=170
k1_0.EFFECT_LPCOST_REPLACE=171
k1_0.EFFECT_SKIP_DP=180
k1_0.EFFECT_SKIP_SP=181
k1_0.EFFECT_SKIP_M1=182
k1_0.EFFECT_SKIP_BP=183
k1_0.EFFECT_SKIP_M2=184
k1_0.EFFECT_CANNOT_BP=185
k1_0.EFFECT_CANNOT_M2=186
k1_0.EFFECT_CANNOT_EP=187
k1_0.EFFECT_SKIP_TURN=188
k1_0.EFFECT_DEFENSE_ATTACK=190
k1_0.EFFECT_MUST_ATTACK=191
k1_0.EFFECT_FIRST_ATTACK=192
k1_0.EFFECT_ATTACK_ALL=193
k1_0.EFFECT_EXTRA_ATTACK=194
k1_0.EFFECT_MUST_BE_ATTACKED=195
k1_0.EFFECT_ONLY_BE_ATTACKED=196
k1_0.EFFECT_ATTACK_DISABLED=197
k1_0.EFFECT_NO_BATTLE_DAMAGE=200
k1_0.EFFECT_AVOID_BATTLE_DAMAGE=201
k1_0.EFFECT_REFLECT_BATTLE_DAMAGE=202
k1_0.EFFECT_PIERCE=203
k1_0.EFFECT_BATTLE_DESTROY_REDIRECT=204
k1_0.EFFECT_BATTLE_DAMAGE_TO_EFFECT=205
k1_0.EFFECT_BOTH_BATTLE_DAMAGE=206
k1_0.EFFECT_ALSO_BATTLE_DAMAGE=207
k1_0.EFFECT_CHANGE_BATTLE_DAMAGE=208
k1_0.EFFECT_TOSS_COIN_REPLACE=220
k1_0.EFFECT_TOSS_DICE_REPLACE=221
k1_0.EFFECT_FUSION_MATERIAL=230
k1_0.EFFECT_CHAIN_MATERIAL=231
k1_0.EFFECT_EXTRA_SYNCHRO_MATERIAL=232
k1_0.EFFECT_XYZ_MATERIAL=233
k1_0.EFFECT_FUSION_SUBSTITUTE=234
k1_0.EFFECT_CANNOT_BE_FUSION_MATERIAL=235
k1_0.EFFECT_CANNOT_BE_SYNCHRO_MATERIAL=236
k1_0.EFFECT_SYNCHRO_MATERIAL_CUSTOM=237
k1_0.EFFECT_CANNOT_BE_XYZ_MATERIAL=238
k1_0.EFFECT_CANNOT_BE_LINK_MATERIAL=239
k1_0.EFFECT_SYNCHRO_LEVEL=240
k1_0.EFFECT_RITUAL_LEVEL=241
k1_0.EFFECT_XYZ_LEVEL=242
k1_0.EFFECT_EXTRA_RITUAL_MATERIAL=243
k1_0.EFFECT_NONTUNER=244
k1_0.EFFECT_OVERLAY_REMOVE_REPLACE=245
k1_0.EFFECT_SCRAP_CHIMERA=246
k1_0.EFFECT_TUNE_MAGICIAN_X=247
k1_0.EFFECT_TUNE_MAGICIAN_F=248
k1_0.EFFECT_PRE_MONSTER=250
k1_0.EFFECT_MATERIAL_CHECK=251
k1_0.EFFECT_DISABLE_FIELD=260
k1_0.EFFECT_USE_EXTRA_MZONE=261
k1_0.EFFECT_USE_EXTRA_SZONE=262
k1_0.EFFECT_MAX_MZONE=263
k1_0.EFFECT_MAX_SZONE=264
k1_0.EFFECT_MUST_USE_MZONE=265
k1_0.EFFECT_HAND_LIMIT=270
k1_0.EFFECT_DRAW_COUNT=271
k1_0.EFFECT_SPIRIT_DONOT_RETURN=280
k1_0.EFFECT_SPIRIT_MAYNOT_RETURN=281
k1_0.EFFECT_CHANGE_ENVIRONMENT=290
k1_0.EFFECT_NECRO_VALLEY=291
k1_0.EFFECT_FORBIDDEN=292
k1_0.EFFECT_NECRO_VALLEY_IM=293
k1_0.EFFECT_REVERSE_DECK=294
k1_0.EFFECT_REMOVE_BRAINWASHING=295
k1_0.EFFECT_BP_TWICE=296
k1_0.EFFECT_UNIQUE_CHECK=297
k1_0.EFFECT_MATCH_KILL=300
k1_0.EFFECT_SYNCHRO_CHECK=310
k1_0.EFFECT_QP_ACT_IN_NTPHAND=311
k1_0.EFFECT_MUST_BE_SMATERIAL=312
k1_0.EFFECT_TO_GRAVE_REDIRECT_CB=313
k1_0.EFFECT_CHANGE_INVOLVING_BATTLE_DAMAGE=314
k1_0.EFFECT_CHANGE_RANK_FINAL=315
k1_0.EFFECT_MUST_BE_FMATERIAL=316
k1_0.EFFECT_MUST_BE_XMATERIAL=317
k1_0.EFFECT_MUST_BE_LMATERIAL=318
k1_0.EFFECT_SPSUMMON_PROC_G=320
k1_0.EFFECT_SPSUMMON_COUNT_LIMIT=330
k1_0.EFFECT_LEFT_SPSUMMON_COUNT=331
k1_0.EFFECT_CANNOT_SELECT_BATTLE_TARGET=332
k1_0.EFFECT_CANNOT_SELECT_EFFECT_TARGET=333
k1_0.EFFECT_ADD_SETCODE=334
k1_0.EFFECT_NO_EFFECT_DAMAGE=335
k1_0.EFFECT_UNSUMMONABLE_CARD=336
k1_0.EFFECT_DISABLE_CHAIN_FIELD=337
k1_0.EFFECT_DISCARD_COST_CHANGE=338
k1_0.EFFECT_HAND_SYNCHRO=339
k1_0.EFFECT_ADD_FUSION_CODE=340
k1_0.EFFECT_ADD_FUSION_SETCODE=341
k1_0.EFFECT_RISE_TO_FULL_HEIGHT=342
k1_0.EFFECT_ONLY_ATTACK_MONSTER=343
k1_0.EFFECT_MUST_ATTACK_MONSTER=344
k1_0.EFFECT_PATRICIAN_OF_DARKNESS=345
k1_0.EFFECT_EXTRA_ATTACK_MONSTER=346
k1_0.EFFECT_UNION_STATUS=347
k1_0.EFFECT_OLDUNION_STATUS=348
k1_0.EFFECT_ADD_FUSION_ATTRIBUTE=349
k1_0.EFFECT_REMOVE_FUSION_ATTRIBUTE=350
k1_0.EFFECT_CHANGE_FUSION_ATTRIBUTE=351
k1_0.EFFECT_EXTRA_FUSION_MATERIAL=352
k1_0.EFFECT_TUNER_MATERIAL_LIMIT=353
k1_0.EFFECT_ADD_LINK_CODE=354
k1_0.EFFECT_ADD_LINK_SETCODE=355
k1_0.EFFECT_ADD_LINK_ATTRIBUTE=356
k1_0.EFFECT_ADD_LINK_RACE=357
k1_0.EFFECT_EXTRA_LINK_MATERIAL=358
k1_0.EFFECT_QP_ACT_IN_SET_TURN=359
k1_0.EFFECT_EXTRA_PENDULUM_SUMMON=360
k1_0.EFFECT_MATERIAL_LIMIT=361
k1_0.EFFECT_SET_BATTLE_ATTACK=362
k1_0.EFFECT_SET_BATTLE_DEFENSE=363
k1_0.EFFECT_OVERLAY_RITUAL_MATERIAL=364
k1_0.EFFECT_CHANGE_GRAVE_ATTRIBUTE=365
k1_0.EFFECT_CHANGE_GRAVE_RACE=366
k1_0.EFFECT_ACTIVATION_COUNT_LIMIT=367
k1_0.EFFECT_LIMIT_SPECIAL_SUMMON_POSITION=368
k1_0.EFFECT_TUNER=369
k1_0.EFFECT_KAISER_COLOSSEUM=370
k1_0.EFFECT_REPLACE_DAMAGE=371
k1_0.EFFECT_FLAG_EFFECT=0x20000000
k1_0.EVENT_STARTUP=1000
k1_0.EVENT_FLIP=1001
k1_0.EVENT_FREE_CHAIN=1002
k1_0.EVENT_DESTROY=1010
k1_0.EVENT_REMOVE=1011
k1_0.EVENT_TO_HAND=1012
k1_0.EVENT_TO_DECK=1013
k1_0.EVENT_TO_GRAVE=1014
k1_0.EVENT_LEAVE_FIELD=1015
k1_0.EVENT_CHANGE_POS=1016
k1_0.EVENT_RELEASE=1017
k1_0.EVENT_DISCARD=1018
k1_0.EVENT_LEAVE_FIELD_P=1019
k1_0.EVENT_CHAIN_SOLVING=1020
k1_0.EVENT_CHAIN_ACTIVATING=1021
k1_0.EVENT_CHAIN_SOLVED=1022
k1_0.EVENT_CHAIN_ACTIVATED=1023
k1_0.EVENT_CHAIN_NEGATED=1024
k1_0.EVENT_CHAIN_DISABLED=1025
k1_0.EVENT_CHAIN_END=1026
k1_0.EVENT_CHAINING=1027
k1_0.EVENT_BECOME_TARGET=1028
k1_0.EVENT_DESTROYED=1029
k1_0.EVENT_MOVE=1030
k1_0.EVENT_LEAVE_GRAVE=1031
k1_0.EVENT_LEAVE_DECK=1032
k1_0.EVENT_ADJUST=1040
k1_0.EVENT_BREAK_EFFECT=1050
k1_0.EVENT_SUMMON_SUCCESS=1100
k1_0.EVENT_FLIP_SUMMON_SUCCESS=1101
k1_0.EVENT_SPSUMMON_SUCCESS=1102
k1_0.EVENT_SUMMON=1103
k1_0.EVENT_FLIP_SUMMON=1104
k1_0.EVENT_SPSUMMON=1105
k1_0.EVENT_MSET=1106
k1_0.EVENT_SSET=1107
k1_0.EVENT_BE_MATERIAL=1108
k1_0.EVENT_BE_PRE_MATERIAL=1109
k1_0.EVENT_DRAW=1110
k1_0.EVENT_DAMAGE=1111
k1_0.EVENT_RECOVER=1112
k1_0.EVENT_PREDRAW=1113
k1_0.EVENT_SUMMON_NEGATED=1114
k1_0.EVENT_FLIP_SUMMON_NEGATED=1115
k1_0.EVENT_SPSUMMON_NEGATED=1116
k1_0.EVENT_CONTROL_CHANGED=1120
k1_0.EVENT_EQUIP=1121
k1_0.EVENT_ATTACK_ANNOUNCE=1130
k1_0.EVENT_BE_BATTLE_TARGET=1131
k1_0.EVENT_BATTLE_START=1132
k1_0.EVENT_BATTLE_CONFIRM=1133
k1_0.EVENT_PRE_DAMAGE_CALCULATE=1134
k1_0.EVENT_DAMAGE_CALCULATING=1135
k1_0.EVENT_PRE_BATTLE_DAMAGE=1136
k1_0.EVENT_BATTLE_END=1137
k1_0.EVENT_BATTLED=1138
k1_0.EVENT_BATTLE_DESTROYING=1139
k1_0.EVENT_BATTLE_DESTROYED=1140
k1_0.EVENT_DAMAGE_STEP_END=1141
k1_0.EVENT_ATTACK_DISABLED=1142
k1_0.EVENT_BATTLE_DAMAGE=1143
k1_0.EVENT_TOSS_DICE=1150
k1_0.EVENT_TOSS_COIN=1151
k1_0.EVENT_TOSS_COIN_NEGATE=1152
k1_0.EVENT_TOSS_DICE_NEGATE=1153
k1_0.EVENT_LEVEL_UP=1200
k1_0.EVENT_PAY_LPCOST=1201
k1_0.EVENT_DETACH_MATERIAL=1202
k1_0.EVENT_RETURN_TO_GRAVE=1203
k1_0.EVENT_TURN_END=1210
k1_0.EVENT_PHASE=0x1000
k1_0.EVENT_PHASE_START=0x2000
k1_0.EVENT_ADD_COUNTER=0x10000
k1_0.EVENT_REMOVE_COUNTER=0x20000
k1_0.EVENT_CUSTOM=0x10000000
k1_0.CATEGORY_DESTROY=0x1
k1_0.CATEGORY_RELEASE=0x2
k1_0.CATEGORY_REMOVE=0x4
k1_0.CATEGORY_TOHAND=0x8
k1_0.CATEGORY_TODECK=0x10
k1_0.CATEGORY_TOGRAVE=0x20
k1_0.CATEGORY_DECKDES=0x40
k1_0.CATEGORY_HANDES=0x80
k1_0.CATEGORY_SUMMON=0x100
k1_0.CATEGORY_SPECIAL_SUMMON=0x200
k1_0.CATEGORY_TOKEN=0x400
k1_0.CATEGORY_GRAVE_ACTION=0x800
k1_0.CATEGORY_POSITION=0x1000
k1_0.CATEGORY_CONTROL=0x2000
k1_0.CATEGORY_DISABLE=0x4000
k1_0.CATEGORY_DISABLE_SUMMON=0x8000
k1_0.CATEGORY_DRAW=0x10000
k1_0.CATEGORY_SEARCH=0x20000
k1_0.CATEGORY_EQUIP=0x40000
k1_0.CATEGORY_DAMAGE=0x80000
k1_0.CATEGORY_RECOVER=0x100000
k1_0.CATEGORY_ATKCHANGE=0x200000
k1_0.CATEGORY_DEFCHANGE=0x400000
k1_0.CATEGORY_COUNTER=0x800000
k1_0.CATEGORY_COIN=0x1000000
k1_0.CATEGORY_DICE=0x2000000
k1_0.CATEGORY_LEAVE_GRAVE=0x4000000
k1_0.CATEGORY_GRAVE_SPSUMMON=0x8000000
k1_0.CATEGORY_NEGATE=0x10000000
k1_0.CATEGORY_ANNOUNCE=0x20000000
k1_0.CATEGORY_FUSION_SUMMON=0x40000000
k1_0.CATEGORY_TOEXTRA=0x80000000
k1_0.HINT_EVENT=1
k1_0.HINT_MESSAGE=2
k1_0.HINT_SELECTMSG=3
k1_0.HINT_OPSELECTED=4
k1_0.HINT_EFFECT=5
k1_0.HINT_RACE=6
k1_0.HINT_ATTRIB=7
k1_0.HINT_CODE=8
k1_0.HINT_NUMBER=9
k1_0.HINT_CARD=10
k1_0.HINT_ZONE=11
k1_0.CHINT_TURN=1
k1_0.CHINT_CARD=2
k1_0.CHINT_RACE=3
k1_0.CHINT_ATTRIBUTE=4
k1_0.CHINT_NUMBER=5
k1_0.CHINT_DESC=6
k1_0.OPCODE_ADD=0x40000000
k1_0.OPCODE_SUB=0x40000001
k1_0.OPCODE_MUL=0x40000002
k1_0.OPCODE_DIV=0x40000003
k1_0.OPCODE_AND=0x40000004
k1_0.OPCODE_OR=0x40000005
k1_0.OPCODE_NEG=0x40000006
k1_0.OPCODE_NOT=0x40000007
k1_0.OPCODE_ISCODE=0x40000100
k1_0.OPCODE_ISSETCARD=0x40000101
k1_0.OPCODE_ISTYPE=0x40000102
k1_0.OPCODE_ISRACE=0x40000103
k1_0.OPCODE_ISATTRIBUTE=0x40000104
k1_0.DOUBLE_DAMAGE=0x80000000
k1_0.HALF_DAMAGE=0x80000001
k1_0.HINTMSG_RELEASE=500
k1_0.HINTMSG_DISCARD=501
k1_0.HINTMSG_DESTROY=502
k1_0.HINTMSG_REMOVE=503
k1_0.HINTMSG_TOGRAVE=504
k1_0.HINTMSG_RTOHAND=505
k1_0.HINTMSG_ATOHAND=506
k1_0.HINTMSG_TODECK=507
k1_0.HINTMSG_SUMMON=508
k1_0.HINTMSG_SPSUMMON=509
k1_0.HINTMSG_SET=510
k1_0.HINTMSG_FMATERIAL=511
k1_0.HINTMSG_SMATERIAL=512
k1_0.HINTMSG_XMATERIAL=513
k1_0.HINTMSG_FACEUP=514
k1_0.HINTMSG_FACEDOWN=515
k1_0.HINTMSG_ATTACK=516
k1_0.HINTMSG_DEFENSE=517
k1_0.HINTMSG_EQUIP=518
k1_0.HINTMSG_REMOVEXYZ=519
k1_0.HINTMSG_CONTROL=520
k1_0.HINTMSG_DESREPLACE=521
k1_0.HINTMSG_FACEUPATTACK=522
k1_0.HINTMSG_FACEUPDEFENSE=523
k1_0.HINTMSG_FACEDOWNATTACK=524
k1_0.HINTMSG_FACEDOWNDEFENSE=525
k1_0.HINTMSG_CONFIRM=526
k1_0.HINTMSG_TOFIELD=527
k1_0.HINTMSG_POSCHANGE=528
k1_0.HINTMSG_SELF=529
k1_0.HINTMSG_OPPO=530
k1_0.HINTMSG_TRIBUTE=531
k1_0.HINTMSG_DEATTACHFROM=532
k1_0.HINTMSG_LMATERIAL=533
k1_0.HINTMSG_ATTACKTARGET=549
k1_0.HINTMSG_EFFECT=550
k1_0.HINTMSG_TARGET=551
k1_0.HINTMSG_COIN=552
k1_0.HINTMSG_DICE=553
k1_0.HINTMSG_CARDTYPE=554
k1_0.HINTMSG_OPTION=555
k1_0.HINTMSG_RESOLVEEFFECT=556
k1_0.HINTMSG_SELECT=560
k1_0.HINTMSG_POSITION=561
k1_0.HINTMSG_ATTRIBUTE=562
k1_0.HINTMSG_RACE=563
k1_0.HINTMSG_CODE=564
k1_0.HINGMSG_NUMBER=565
k1_0.HINGMSG_LVRANK=567
k1_0.HINTMSG_RESOLVECARD=568
k1_0.HINTMSG_ZONE=569
k1_0.HINTMSG_DISABLEZONE=570
k1_0.HINTMSG_TOZONE=571
k1_0.HINTMSG_COUNTER=572
k1_0.HINTMSG_DISABLE=573
k1_0.HINTMSG_OPERATECARD=574
k1_0.SELECT_HEADS=60
k1_0.SELECT_TAILS=61
k1_0.TIMING_DRAW_PHASE=0x1
k1_0.TIMING_STANDBY_PHASE=0x2
k1_0.TIMING_MAIN_END=0x4
k1_0.TIMING_BATTLE_START=0x8
k1_0.TIMING_BATTLE_END=0x10
k1_0.TIMING_END_PHASE=0x20
k1_0.TIMING_SUMMON=0x40
k1_0.TIMING_SPSUMMON=0x80
k1_0.TIMING_FLIPSUMMON=0x100
k1_0.TIMING_MSET=0x200
k1_0.TIMING_SSET=0x400
k1_0.TIMING_POS_CHANGE=0x800
k1_0.TIMING_ATTACK=0x1000
k1_0.TIMING_DAMAGE_STEP=0x2000
k1_0.TIMING_DAMAGE_CAL=0x4000
k1_0.TIMING_CHAIN_END=0x8000
k1_0.TIMING_DRAW=0x10000
k1_0.TIMING_DAMAGE=0x20000
k1_0.TIMING_RECOVER=0x40000
k1_0.TIMING_DESTROY=0x80000
k1_0.TIMING_REMOVE=0x100000
k1_0.TIMING_TOHAND=0x200000
k1_0.TIMING_TODECK=0x400000
k1_0.TIMING_TOGRAVE=0x800000
k1_0.TIMING_BATTLE_PHASE=0x1000000
k1_0.TIMING_EQUIP=0x2000000
k1_0.TIMING_BATTLE_STEP_END=0x4000000
k1_0.TIMING_BATTLED=0x8000000
k1_0.TIMINGS_CHECK_MONSTER=0x1c0
k1_0.GLOBALFLAG_DECK_REVERSE_CHECK=0x1
k1_0.GLOBALFLAG_BRAINWASHING_CHECK=0x2
k1_0.GLOBALFLAG_SCRAP_CHIMERA=0x4
k1_0.GLOBALFLAG_DELAYED_QUICKEFFECT=0x8
k1_0.GLOBALFLAG_DETACH_EVENT=0x10
k1_0.GLOBALFLAG_MUST_BE_SMATERIAL=0x20
k1_0.GLOBALFLAG_SPSUMMON_COUNT=0x40
k1_0.GLOBALFLAG_XMAT_COUNT_LIMIT=0x80
k1_0.GLOBALFLAG_SELF_TOGRAVE=0x100
k1_0.GLOBALFLAG_SPSUMMON_ONCE=0x200
k1_0.GLOBALFLAG_TUNE_MAGICIAN=0x400
k1_0.EFFECT_COUNT_CODE_OATH=0x10000000
k1_0.EFFECT_COUNT_CODE_DUEL=0x20000000
k1_0.EFFECT_COUNT_CODE_CHAIN=0x40000000
k1_0.EFFECT_COUNT_CODE_SINGLE=0x1
k1_0.DUEL_TEST_MODE=0x01
k1_0.DUEL_ATTACK_FIRST_TURN=0x02
k1_0.DUEL_OLD_REPLAY=0x04
k1_0.DUEL_OBSOLETE_RULING=0x08
k1_0.DUEL_PSEUDO_SHUFFLE=0x10
k1_0.DUEL_TAG_MODE=0x20
k1_0.DUEL_SIMPLE_AI=0x40
k1_0.DUEL_RETURN_DECK_TOP=0x80
k1_0.ACTIVITY_SUMMON=1
k1_0.ACTIVITY_NORMALSUMMON=2
k1_0.ACTIVITY_SPSUMMON=3
k1_0.ACTIVITY_FLIPSUMMON=4
k1_0.ACTIVITY_ATTACK=5
k1_0.ACTIVITY_BATTLE_PHASE=6
k1_0.ACTIVITY_CHAIN=7
k1_0.CARD_MARINE_DOLPHIN=78734254
k1_0.CARD_TWINKLE_MOSS=13857930
k1_0.CARD_QUESTION=38723936
return k1_0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
local h1_0 = {}
h1_0.MIN_ID=1000
h1_0.MAX_ID=268435455
h1_0.MAX_COUNTER=65535
h1_0.MAX_PARAMETER=0xffff
h1_0.LOCATION_DECK=0x01
h1_0.LOCATION_HAND=0x02
h1_0.LOCATION_MZONE=0x04
h1_0.LOCATION_SZONE=0x08
h1_0.LOCATION_GRAVE=0x10
h1_0.LOCATION_REMOVED=0x20
h1_0.LOCATION_EXTRA=0x40
h1_0.LOCATION_OVERLAY=0x80
h1_0.LOCATION_ONFIELD=0x0c
h1_0.LOCATION_DECKBOT=0x10001
h1_0.LOCATION_DECKSHF=0x20001
h1_0.SEQ_DECKTOP=0
h1_0.SEQ_DECKBOTTOM=1
h1_0.SEQ_DECKSHUFFLE=2
h1_0.LOCATION_FZONE=0x100
h1_0.LOCATION_PZONE=0x200
h1_0.POS_FACEUP_ATTACK=0x1
h1_0.POS_FACEDOWN_ATTACK=0x2
h1_0.POS_FACEUP_DEFENSE=0x4
h1_0.POS_FACEDOWN_DEFENSE=0x8
h1_0.POS_FACEUP=0x5
h1_0.POS_FACEDOWN=0xa
h1_0.POS_ATTACK=0x3
h1_0.POS_DEFENSE=0xc
h1_0.NO_FLIP_EFFECT=0x10000
h1_0.TYPE_MONSTER=0x1
h1_0.TYPE_SPELL=0x2
h1_0.TYPE_TRAP=0x4
h1_0.TYPE_NORMAL=0x10
h1_0.TYPE_EFFECT=0x20
h1_0.TYPE_FUSION=0x40
h1_0.TYPE_RITUAL=0x80
h1_0.TYPE_TRAPMONSTER=0x100
h1_0.TYPE_SPIRIT=0x200
h1_0.TYPE_UNION=0x400
h1_0.TYPE_DUAL=0x800
h1_0.TYPE_TUNER=0x1000
h1_0.TYPE_SYNCHRO=0x2000
h1_0.TYPE_TOKEN=0x4000
h1_0.TYPE_QUICKPLAY=0x10000
h1_0.TYPE_CONTINUOUS=0x20000
h1_0.TYPE_EQUIP=0x40000
h1_0.TYPE_FIELD=0x80000
h1_0.TYPE_COUNTER=0x100000
h1_0.TYPE_FLIP=0x200000
h1_0.TYPE_TOON=0x400000
h1_0.TYPE_XYZ=0x800000
h1_0.TYPE_PENDULUM=0x1000000
h1_0.TYPE_SPSUMMON=0x2000000
h1_0.TYPE_LINK=0x4000000
h1_0.TYPES_TOKEN_MONSTER=0x4011
h1_0.TYPES_NORMAL_TRAP_MONSTER=0x111
h1_0.TYPES_EFFECT_TRAP_MONSTER=0x121
h1_0.ATTRIBUTE_ALL=0x7f
h1_0.ATTRIBUTE_EARTH=0x01
h1_0.ATTRIBUTE_WATER=0x02
h1_0.ATTRIBUTE_FIRE=0x04
h1_0.ATTRIBUTE_WIND=0x08
h1_0.ATTRIBUTE_LIGHT=0x10
h1_0.ATTRIBUTE_DARK=0x20
h1_0.ATTRIBUTE_DIVINE=0x40
h1_0.RACE_ALL=0x3ffffff
h1_0.RACE_WARRIOR=0x1
h1_0.RACE_SPELLCASTER=0x2
h1_0.RACE_FAIRY=0x4
h1_0.RACE_FIEND=0x8
h1_0.RACE_ZOMBIE=0x10
h1_0.RACE_MACHINE=0x20
h1_0.RACE_AQUA=0x40
h1_0.RACE_PYRO=0x80
h1_0.RACE_ROCK=0x100
h1_0.RACE_WINDBEAST=0x200
h1_0.RACE_PLANT=0x400
h1_0.RACE_INSECT=0x800
h1_0.RACE_THUNDER=0x1000
h1_0.RACE_DRAGON=0x2000
h1_0.RACE_BEAST=0x4000
h1_0.RACE_BEASTWARRIOR=0x8000
h1_0.RACE_DINOSAUR=0x10000
h1_0.RACE_FISH=0x20000
h1_0.RACE_SEASERPENT=0x40000
h1_0.RACE_REPTILE=0x80000
h1_0.RACE_PSYCHO=0x100000
h1_0.RACE_DIVINE=0x200000
h1_0.RACE_CREATORGOD=0x400000
h1_0.RACE_WYRM=0x800000
h1_0.RACE_CYBERSE=0x1000000
h1_0.RACE_ILLUSION=0x2000000
h1_0.REASON_DESTROY=0x1
h1_0.REASON_RELEASE=0x2
h1_0.REASON_TEMPORARY=0x4
h1_0.REASON_MATERIAL=0x8
h1_0.REASON_SUMMON=0x10
h1_0.REASON_BATTLE=0x20
h1_0.REASON_EFFECT=0x40
h1_0.REASON_COST=0x80
h1_0.REASON_ADJUST=0x100
h1_0.REASON_LOST_TARGET=0x200
h1_0.REASON_RULE=0x400
h1_0.REASON_SPSUMMON=0x800
h1_0.REASON_DISSUMMON=0x1000
h1_0.REASON_FLIP=0x2000
h1_0.REASON_DISCARD=0x4000
h1_0.REASON_RDAMAGE=0x8000
h1_0.REASON_RRECOVER=0x10000
h1_0.REASON_RETURN=0x20000
h1_0.REASON_FUSION=0x40000
h1_0.REASON_SYNCHRO=0x80000
h1_0.REASON_RITUAL=0x100000
h1_0.REASON_XYZ=0x200000
h1_0.REASON_REPLACE=0x1000000
h1_0.REASON_DRAW=0x2000000
h1_0.REASON_REDIRECT=0x4000000
h1_0.REASON_REVEAL=0x8000000
h1_0.REASON_LINK=0x10000000
h1_0.REASON_LOST_OVERLAY=0x20000000
h1_0.LOCATION_REASON_TOFIELD=0x1
h1_0.LOCATION_REASON_CONTROL=0x2
h1_0.SUMMON_TYPE_NORMAL=0x10000000
h1_0.SUMMON_TYPE_ADVANCE=0x11000000
h1_0.SUMMON_TYPE_DUAL=0x12000000
h1_0.SUMMON_TYPE_FLIP=0x20000000
h1_0.SUMMON_TYPE_SPECIAL=0x40000000
h1_0.SUMMON_TYPE_FUSION=0x43000000
h1_0.SUMMON_TYPE_RITUAL=0x45000000
h1_0.SUMMON_TYPE_SYNCHRO=0x46000000
h1_0.SUMMON_TYPE_XYZ=0x49000000
h1_0.SUMMON_TYPE_PENDULUM=0x4a000000
h1_0.SUMMON_TYPE_LINK=0x4c000000
h1_0.SUMMON_VALUE_SELF=0x1
h1_0.SUMMON_VALUE_BLACK_GARDEN=0x10
h1_0.SUMMON_VALUE_SYNCHRO_MATERIAL=0x11
h1_0.SUMMON_VALUE_DARK_SANCTUARY=0x12
h1_0.SUMMON_VALUE_MONSTER_REBORN=0x13
h1_0.SUMMON_VALUE_LV=0x1000
h1_0.SUMMON_VALUE_GLADIATOR=0x2000
h1_0.SUMMON_VALUE_EVOLTILE=0x4000
h1_0.SUMMON_VALUE_NOUVELLEZ=0x8000
h1_0.STATUS_DISABLED=0x0001
h1_0.STATUS_TO_ENABLE=0x0002
h1_0.STATUS_TO_DISABLE=0x0004
h1_0.STATUS_PROC_COMPLETE=0x0008
h1_0.STATUS_SET_TURN=0x0010
h1_0.STATUS_NO_LEVEL=0x0020
h1_0.STATUS_BATTLE_RESULT=0x0040
h1_0.STATUS_SPSUMMON_STEP=0x0080
h1_0.STATUS_FORM_CHANGED=0x0100
h1_0.STATUS_SUMMONING=0x0200
h1_0.STATUS_EFFECT_ENABLED=0x0400
h1_0.STATUS_SUMMON_TURN=0x0800
h1_0.STATUS_DESTROY_CONFIRMED=0x1000
h1_0.STATUS_LEAVE_CONFIRMED=0x2000
h1_0.STATUS_BATTLE_DESTROYED=0x4000
h1_0.STATUS_COPYING_EFFECT=0x8000
h1_0.STATUS_CHAINING=0x10000
h1_0.STATUS_SUMMON_DISABLED=0x20000
h1_0.STATUS_ACTIVATE_DISABLED=0x40000
h1_0.STATUS_EFFECT_REPLACED=0x80000
h1_0.STATUS_FUTURE_FUSION=0x100000
h1_0.STATUS_ATTACK_CANCELED=0x200000
h1_0.STATUS_INITIALIZING=0x400000
h1_0.STATUS_TO_HAND_WITHOUT_CONFIRM=0x800000
h1_0.STATUS_JUST_POS=0x1000000
h1_0.STATUS_CONTINUOUS_POS=0x2000000
h1_0.STATUS_FORBIDDEN=0x4000000
h1_0.STATUS_ACT_FROM_HAND=0x8000000
h1_0.STATUS_OPPO_BATTLE=0x10000000
h1_0.STATUS_FLIP_SUMMON_TURN=0x20000000
h1_0.STATUS_SPSUMMON_TURN=0x40000000
h1_0.ASSUME_CODE=1
h1_0.ASSUME_TYPE=2
h1_0.ASSUME_LEVEL=3
h1_0.ASSUME_RANK=4
h1_0.ASSUME_ATTRIBUTE=5
h1_0.ASSUME_RACE=6
h1_0.ASSUME_ATTACK=7
h1_0.ASSUME_DEFENSE=8
h1_0.LINK_MARKER_BOTTOM_LEFT=0x001
h1_0.LINK_MARKER_BOTTOM=0x002
h1_0.LINK_MARKER_BOTTOM_RIGHT=0x004
h1_0.LINK_MARKER_LEFT=0x008
h1_0.LINK_MARKER_RIGHT=0x020
h1_0.LINK_MARKER_TOP_LEFT=0x040
h1_0.LINK_MARKER_TOP=0x080
h1_0.LINK_MARKER_TOP_RIGHT=0x100
h1_0.COUNTER_WITHOUT_PERMIT=0x1000
h1_0.COUNTER_NEED_ENABLE=0x2000
h1_0.PHASE_DRAW=0x01
h1_0.PHASE_STANDBY=0x02
h1_0.PHASE_MAIN1=0x04
h1_0.PHASE_BATTLE_START=0x08
h1_0.PHASE_BATTLE_STEP=0x10
h1_0.PHASE_DAMAGE=0x20
h1_0.PHASE_DAMAGE_CAL=0x40
h1_0.PHASE_BATTLE=0x80
h1_0.PHASE_MAIN2=0x100
h1_0.PHASE_END=0x200
h1_0.PLAYER_NONE=2
h1_0.PLAYER_ALL=3
h1_0.CHAININFO_CHAIN_COUNT=0x01
h1_0.CHAININFO_TRIGGERING_EFFECT=0x02
h1_0.CHAININFO_TRIGGERING_PLAYER=0x04
h1_0.CHAININFO_TRIGGERING_CONTROLER=0x08
h1_0.CHAININFO_TRIGGERING_LOCATION=0x10
h1_0.CHAININFO_TRIGGERING_SEQUENCE=0x20
h1_0.CHAININFO_TARGET_CARDS=0x40
h1_0.CHAININFO_TARGET_PLAYER=0x80
h1_0.CHAININFO_TARGET_PARAM=0x100
h1_0.CHAININFO_DISABLE_REASON=0x200
h1_0.CHAININFO_DISABLE_PLAYER=0x400
h1_0.CHAININFO_CHAIN_ID=0x800
h1_0.CHAININFO_TYPE=0x1000
h1_0.CHAININFO_EXTTYPE=0x2000
h1_0.CHAININFO_TRIGGERING_POSITION=0x4000
h1_0.CHAININFO_TRIGGERING_CODE=0x8000
h1_0.CHAININFO_TRIGGERING_CODE2=0x10000
h1_0.CHAININFO_TRIGGERING_LEVEL=0x40000
h1_0.CHAININFO_TRIGGERING_RANK=0x80000
h1_0.CHAININFO_TRIGGERING_ATTRIBUTE=0x100000
h1_0.CHAININFO_TRIGGERING_RACE=0x200000
h1_0.CHAININFO_TRIGGERING_ATTACK=0x400000
h1_0.CHAININFO_TRIGGERING_DEFENSE=0x800000
h1_0.RESET_SELF_TURN=0x10000000
h1_0.RESET_OPPO_TURN=0x20000000
h1_0.RESET_PHASE=0x40000000
h1_0.RESET_CHAIN=0x80000000
h1_0.RESET_EVENT=0x1000
h1_0.RESET_CARD=0x2000
h1_0.RESET_CODE=0x4000
h1_0.RESET_COPY=0x8000
h1_0.RESET_DISABLE=0x00010000
h1_0.RESET_TURN_SET=0x00020000
h1_0.RESET_TOGRAVE=0x00040000
h1_0.RESET_REMOVE=0x00080000
h1_0.RESET_TEMP_REMOVE=0x00100000
h1_0.RESET_TOHAND=0x00200000
h1_0.RESET_TODECK=0x00400000
h1_0.RESET_LEAVE=0x00800000
h1_0.RESET_TOFIELD=0x01000000
h1_0.RESET_CONTROL=0x02000000
h1_0.RESET_OVERLAY=0x04000000
h1_0.RESET_MSCHANGE=0x08000000
h1_0.RESETS_STANDARD=0x1fe0000
h1_0.RESETS_REDIRECT=0xc7e0000
h1_0.RESETS_WITHOUT_TEMP_REMOVE=0x56e0000
h1_0.EFFECT_TYPE_SINGLE=0x0001
h1_0.EFFECT_TYPE_FIELD=0x0002
h1_0.EFFECT_TYPE_EQUIP=0x0004
h1_0.EFFECT_TYPE_ACTIONS=0x0008
h1_0.EFFECT_TYPE_ACTIVATE=0x0010
h1_0.EFFECT_TYPE_FLIP=0x0020
h1_0.EFFECT_TYPE_IGNITION=0x0040
h1_0.EFFECT_TYPE_TRIGGER_O=0x0080
h1_0.EFFECT_TYPE_QUICK_O=0x0100
h1_0.EFFECT_TYPE_TRIGGER_F=0x0200
h1_0.EFFECT_TYPE_QUICK_F=0x0400
h1_0.EFFECT_TYPE_CONTINUOUS=0x0800
h1_0.EFFECT_TYPE_XMATERIAL=0x1000
h1_0.EFFECT_TYPE_GRANT=0x2000
h1_0.EFFECT_TYPE_TARGET=0x4000
h1_0.EFFECT_FLAG_INITIAL=0x0001
h1_0.EFFECT_FLAG_FUNC_VALUE=0x0002
h1_0.EFFECT_FLAG_COUNT_LIMIT=0x0004
h1_0.EFFECT_FLAG_FIELD_ONLY=0x0008
h1_0.EFFECT_FLAG_CARD_TARGET=0x0010
h1_0.EFFECT_FLAG_IGNORE_RANGE=0x0020
h1_0.EFFECT_FLAG_ABSOLUTE_TARGET=0x0040
h1_0.EFFECT_FLAG_IGNORE_IMMUNE=0x0080
h1_0.EFFECT_FLAG_SET_AVAILABLE=0x0100
h1_0.EFFECT_FLAG_CANNOT_NEGATE=0x0200
h1_0.EFFECT_FLAG_CANNOT_DISABLE=0x0400
h1_0.EFFECT_FLAG_PLAYER_TARGET=0x0800
h1_0.EFFECT_FLAG_BOTH_SIDE=0x1000
h1_0.EFFECT_FLAG_COPY_INHERIT=0x2000
h1_0.EFFECT_FLAG_DAMAGE_STEP=0x4000
h1_0.EFFECT_FLAG_DAMAGE_CAL=0x8000
h1_0.EFFECT_FLAG_DELAY=0x10000
h1_0.EFFECT_FLAG_SINGLE_RANGE=0x20000
h1_0.EFFECT_FLAG_UNCOPYABLE=0x40000
h1_0.EFFECT_FLAG_OATH=0x80000
h1_0.EFFECT_FLAG_SPSUM_PARAM=0x100000
h1_0.EFFECT_FLAG_REPEAT=0x200000
h1_0.EFFECT_FLAG_NO_TURN_RESET=0x400000
h1_0.EFFECT_FLAG_EVENT_PLAYER=0x800000
h1_0.EFFECT_FLAG_OWNER_RELATE=0x1000000
h1_0.EFFECT_FLAG_CANNOT_INACTIVATE=0x2000000
h1_0.EFFECT_FLAG_CLIENT_HINT=0x4000000
h1_0.EFFECT_FLAG_CONTINUOUS_TARGET=0x8000000
h1_0.EFFECT_FLAG_LIMIT_ZONE=0x10000000
h1_0.EFFECT_FLAG_COF=0x20000000
h1_0.EFFECT_FLAG_CVAL_CHECK=0x40000000
h1_0.EFFECT_FLAG_IMMEDIATELY_APPLY=0x80000000
h1_0.EFFECT_FLAG2_REPEAT_UPDATE=0x0001
h1_0.EFFECT_FLAG2_COF=0x0002
h1_0.EFFECT_FLAG2_WICKED=0x0004
h1_0.EFFECT_FLAG2_OPTION=0x0008
h1_0.EFFECT_IMMUNE_EFFECT=1
h1_0.EFFECT_DISABLE=2
h1_0.EFFECT_CANNOT_DISABLE=3
h1_0.EFFECT_SET_CONTROL=4
h1_0.EFFECT_CANNOT_CHANGE_CONTROL=5
h1_0.EFFECT_CANNOT_ACTIVATE=6
h1_0.EFFECT_CANNOT_TRIGGER=7
h1_0.EFFECT_DISABLE_EFFECT=8
h1_0.EFFECT_DISABLE_CHAIN=9
h1_0.EFFECT_DISABLE_TRAPMONSTER=10
h1_0.EFFECT_CANNOT_INACTIVATE=12
h1_0.EFFECT_CANNOT_DISEFFECT=13
h1_0.EFFECT_CANNOT_CHANGE_POSITION=14
h1_0.EFFECT_TRAP_ACT_IN_HAND=15
h1_0.EFFECT_TRAP_ACT_IN_SET_TURN=16
h1_0.EFFECT_REMAIN_FIELD=17
h1_0.EFFECT_MONSTER_SSET=18
h1_0.EFFECT_CANNOT_SUMMON=20
h1_0.EFFECT_CANNOT_FLIP_SUMMON=21
h1_0.EFFECT_CANNOT_SPECIAL_SUMMON=22
h1_0.EFFECT_CANNOT_MSET=23
h1_0.EFFECT_CANNOT_SSET=24
h1_0.EFFECT_CANNOT_DRAW=25
h1_0.EFFECT_CANNOT_DISABLE_SUMMON=26
h1_0.EFFECT_CANNOT_DISABLE_SPSUMMON=27
h1_0.EFFECT_SET_SUMMON_COUNT_LIMIT=28
h1_0.EFFECT_EXTRA_SUMMON_COUNT=29
h1_0.EFFECT_SPSUMMON_CONDITION=30
h1_0.EFFECT_REVIVE_LIMIT=31
h1_0.EFFECT_SUMMON_PROC=32
h1_0.EFFECT_LIMIT_SUMMON_PROC=33
h1_0.EFFECT_SPSUMMON_PROC=34
h1_0.EFFECT_EXTRA_SET_COUNT=35
h1_0.EFFECT_SET_PROC=36
h1_0.EFFECT_LIMIT_SET_PROC=37
h1_0.EFFECT_DIVINE_LIGHT=38
h1_0.EFFECT_CANNOT_DISABLE_FLIP_SUMMON=39
h1_0.EFFECT_INDESTRUCTABLE=40
h1_0.EFFECT_INDESTRUCTABLE_EFFECT=41
h1_0.EFFECT_INDESTRUCTABLE_BATTLE=42
h1_0.EFFECT_UNRELEASABLE_SUM=43
h1_0.EFFECT_UNRELEASABLE_NONSUM=44
h1_0.EFFECT_DESTROY_SUBSTITUTE=45
h1_0.EFFECT_CANNOT_RELEASE=46
h1_0.EFFECT_INDESTRUCTABLE_COUNT=47
h1_0.EFFECT_UNRELEASABLE_EFFECT=48
h1_0.EFFECT_DESTROY_REPLACE=50
h1_0.EFFECT_RELEASE_REPLACE=51
h1_0.EFFECT_SEND_REPLACE=52
h1_0.EFFECT_CANNOT_DISCARD_HAND=55
h1_0.EFFECT_CANNOT_DISCARD_DECK=56
h1_0.EFFECT_CANNOT_USE_AS_COST=57
h1_0.EFFECT_CANNOT_PLACE_COUNTER=58
h1_0.EFFECT_CANNOT_TO_GRAVE_AS_COST=59
h1_0.EFFECT_LEAVE_FIELD_REDIRECT=60
h1_0.EFFECT_TO_HAND_REDIRECT=61
h1_0.EFFECT_TO_DECK_REDIRECT=62
h1_0.EFFECT_TO_GRAVE_REDIRECT=63
h1_0.EFFECT_REMOVE_REDIRECT=64
h1_0.EFFECT_CANNOT_TO_HAND=65
h1_0.EFFECT_CANNOT_TO_DECK=66
h1_0.EFFECT_CANNOT_REMOVE=67
h1_0.EFFECT_CANNOT_TO_GRAVE=68
h1_0.EFFECT_CANNOT_TURN_SET=69
h1_0.EFFECT_CANNOT_BE_BATTLE_TARGET=70
h1_0.EFFECT_CANNOT_BE_EFFECT_TARGET=71
h1_0.EFFECT_IGNORE_BATTLE_TARGET=72
h1_0.EFFECT_CANNOT_DIRECT_ATTACK=73
h1_0.EFFECT_DIRECT_ATTACK=74
h1_0.EFFECT_DUAL_STATUS=75
h1_0.EFFECT_EQUIP_LIMIT=76
h1_0.EFFECT_DUAL_SUMMONABLE=77
h1_0.EFFECT_UNION_LIMIT=78
h1_0.EFFECT_REVERSE_DAMAGE=80
h1_0.EFFECT_REVERSE_RECOVER=81
h1_0.EFFECT_CHANGE_DAMAGE=82
h1_0.EFFECT_REFLECT_DAMAGE=83
h1_0.EFFECT_CANNOT_ATTACK=85
h1_0.EFFECT_CANNOT_ATTACK_ANNOUNCE=86
h1_0.EFFECT_CANNOT_CHANGE_POS_E=87
h1_0.EFFECT_ACTIVATE_COST=90
h1_0.EFFECT_SUMMON_COST=91
h1_0.EFFECT_SPSUMMON_COST=92
h1_0.EFFECT_FLIPSUMMON_COST=93
h1_0.EFFECT_MSET_COST=94
h1_0.EFFECT_SSET_COST=95
h1_0.EFFECT_ATTACK_COST=96
h1_0.EFFECT_UPDATE_ATTACK=100
h1_0.EFFECT_SET_ATTACK=101
h1_0.EFFECT_SET_ATTACK_FINAL=102
h1_0.EFFECT_SET_BASE_ATTACK=103
h1_0.EFFECT_UPDATE_DEFENSE=104
h1_0.EFFECT_SET_DEFENSE=105
h1_0.EFFECT_SET_DEFENSE_FINAL=106
h1_0.EFFECT_SET_BASE_DEFENSE=107
h1_0.EFFECT_REVERSE_UPDATE=108
h1_0.EFFECT_SWAP_AD=109
h1_0.EFFECT_SWAP_BASE_AD=110
h1_0.EFFECT_SET_BASE_ATTACK_FINAL=111
h1_0.EFFECT_SET_BASE_DEFENSE_FINAL=112
h1_0.EFFECT_ADD_CODE=113
h1_0.EFFECT_CHANGE_CODE=114
h1_0.EFFECT_ADD_TYPE=115
h1_0.EFFECT_REMOVE_TYPE=116
h1_0.EFFECT_CHANGE_TYPE=117
h1_0.EFFECT_ADD_RACE=120
h1_0.EFFECT_REMOVE_RACE=121
h1_0.EFFECT_CHANGE_RACE=122
h1_0.EFFECT_ADD_ATTRIBUTE=125
h1_0.EFFECT_REMOVE_ATTRIBUTE=126
h1_0.EFFECT_CHANGE_ATTRIBUTE=127
h1_0.EFFECT_UPDATE_LEVEL=130
h1_0.EFFECT_CHANGE_LEVEL=131
h1_0.EFFECT_UPDATE_RANK=132
h1_0.EFFECT_CHANGE_RANK=133
h1_0.EFFECT_UPDATE_LSCALE=134
h1_0.EFFECT_CHANGE_LSCALE=135
h1_0.EFFECT_UPDATE_RSCALE=136
h1_0.EFFECT_CHANGE_RSCALE=137
h1_0.EFFECT_SET_POSITION=140
h1_0.EFFECT_SELF_DESTROY=141
h1_0.EFFECT_SELF_TOGRAVE=142
h1_0.EFFECT_DOUBLE_TRIBUTE=150
h1_0.EFFECT_DECREASE_TRIBUTE=151
h1_0.EFFECT_DECREASE_TRIBUTE_SET=152
h1_0.EFFECT_EXTRA_RELEASE=153
h1_0.EFFECT_TRIBUTE_LIMIT=154
h1_0.EFFECT_EXTRA_RELEASE_SUM=155
h1_0.EFFECT_TRIPLE_TRIBUTE=156
h1_0.EFFECT_ADD_EXTRA_TRIBUTE=157
h1_0.EFFECT_EXTRA_RELEASE_NONSUM=158
h1_0.EFFECT_PUBLIC=160
h1_0.EFFECT_COUNTER_PERMIT=0x10000
h1_0.EFFECT_COUNTER_LIMIT=0x20000
h1_0.EFFECT_RCOUNTER_REPLACE=0x30000
h1_0.EFFECT_LPCOST_CHANGE=170
h1_0.EFFECT_LPCOST_REPLACE=171
h1_0.EFFECT_SKIP_DP=180
h1_0.EFFECT_SKIP_SP=181
h1_0.EFFECT_SKIP_M1=182
h1_0.EFFECT_SKIP_BP=183
h1_0.EFFECT_SKIP_M2=184
h1_0.EFFECT_CANNOT_BP=185
h1_0.EFFECT_CANNOT_M2=186
h1_0.EFFECT_CANNOT_EP=187
h1_0.EFFECT_SKIP_TURN=188
h1_0.EFFECT_DEFENSE_ATTACK=190
h1_0.EFFECT_MUST_ATTACK=191
h1_0.EFFECT_FIRST_ATTACK=192
h1_0.EFFECT_ATTACK_ALL=193
h1_0.EFFECT_EXTRA_ATTACK=194
h1_0.EFFECT_MUST_BE_ATTACKED=195
h1_0.EFFECT_ONLY_BE_ATTACKED=196
h1_0.EFFECT_ATTACK_DISABLED=197
h1_0.EFFECT_NO_BATTLE_DAMAGE=200
h1_0.EFFECT_AVOID_BATTLE_DAMAGE=201
h1_0.EFFECT_REFLECT_BATTLE_DAMAGE=202
h1_0.EFFECT_PIERCE=203
h1_0.EFFECT_BATTLE_DESTROY_REDIRECT=204
h1_0.EFFECT_BATTLE_DAMAGE_TO_EFFECT=205
h1_0.EFFECT_BOTH_BATTLE_DAMAGE=206
h1_0.EFFECT_ALSO_BATTLE_DAMAGE=207
h1_0.EFFECT_CHANGE_BATTLE_DAMAGE=208
h1_0.EFFECT_TOSS_COIN_REPLACE=220
h1_0.EFFECT_TOSS_DICE_REPLACE=221
h1_0.EFFECT_FUSION_MATERIAL=230
h1_0.EFFECT_CHAIN_MATERIAL=231
h1_0.EFFECT_EXTRA_SYNCHRO_MATERIAL=232
h1_0.EFFECT_XYZ_MATERIAL=233
h1_0.EFFECT_FUSION_SUBSTITUTE=234
h1_0.EFFECT_CANNOT_BE_FUSION_MATERIAL=235
h1_0.EFFECT_CANNOT_BE_SYNCHRO_MATERIAL=236
h1_0.EFFECT_SYNCHRO_MATERIAL_CUSTOM=237
h1_0.EFFECT_CANNOT_BE_XYZ_MATERIAL=238
h1_0.EFFECT_CANNOT_BE_LINK_MATERIAL=239
h1_0.EFFECT_SYNCHRO_LEVEL=240
h1_0.EFFECT_RITUAL_LEVEL=241
h1_0.EFFECT_XYZ_LEVEL=242
h1_0.EFFECT_EXTRA_RITUAL_MATERIAL=243
h1_0.EFFECT_NONTUNER=244
h1_0.EFFECT_OVERLAY_REMOVE_REPLACE=245
h1_0.EFFECT_SCRAP_CHIMERA=246
h1_0.EFFECT_TUNE_MAGICIAN_X=247
h1_0.EFFECT_TUNE_MAGICIAN_F=248
h1_0.EFFECT_PRE_MONSTER=250
h1_0.EFFECT_MATERIAL_CHECK=251
h1_0.EFFECT_DISABLE_FIELD=260
h1_0.EFFECT_USE_EXTRA_MZONE=261
h1_0.EFFECT_USE_EXTRA_SZONE=262
h1_0.EFFECT_MAX_MZONE=263
h1_0.EFFECT_MAX_SZONE=264
h1_0.EFFECT_MUST_USE_MZONE=265
h1_0.EFFECT_HAND_LIMIT=270
h1_0.EFFECT_DRAW_COUNT=271
h1_0.EFFECT_SPIRIT_DONOT_RETURN=280
h1_0.EFFECT_SPIRIT_MAYNOT_RETURN=281
h1_0.EFFECT_CHANGE_ENVIRONMENT=290
h1_0.EFFECT_NECRO_VALLEY=291
h1_0.EFFECT_FORBIDDEN=292
h1_0.EFFECT_NECRO_VALLEY_IM=293
h1_0.EFFECT_REVERSE_DECK=294
h1_0.EFFECT_REMOVE_BRAINWASHING=295
h1_0.EFFECT_BP_TWICE=296
h1_0.EFFECT_UNIQUE_CHECK=297
h1_0.EFFECT_MATCH_KILL=300
h1_0.EFFECT_SYNCHRO_CHECK=310
h1_0.EFFECT_QP_ACT_IN_NTPHAND=311
h1_0.EFFECT_MUST_BE_SMATERIAL=312
h1_0.EFFECT_TO_GRAVE_REDIRECT_CB=313
h1_0.EFFECT_CHANGE_INVOLVING_BATTLE_DAMAGE=314
h1_0.EFFECT_CHANGE_RANK_FINAL=315
h1_0.EFFECT_MUST_BE_FMATERIAL=316
h1_0.EFFECT_MUST_BE_XMATERIAL=317
h1_0.EFFECT_MUST_BE_LMATERIAL=318
h1_0.EFFECT_SPSUMMON_PROC_G=320
h1_0.EFFECT_SPSUMMON_COUNT_LIMIT=330
h1_0.EFFECT_LEFT_SPSUMMON_COUNT=331
h1_0.EFFECT_CANNOT_SELECT_BATTLE_TARGET=332
h1_0.EFFECT_CANNOT_SELECT_EFFECT_TARGET=333
h1_0.EFFECT_ADD_SETCODE=334
h1_0.EFFECT_NO_EFFECT_DAMAGE=335
h1_0.EFFECT_UNSUMMONABLE_CARD=336
h1_0.EFFECT_DISABLE_CHAIN_FIELD=337
h1_0.EFFECT_DISCARD_COST_CHANGE=338
h1_0.EFFECT_HAND_SYNCHRO=339
h1_0.EFFECT_ADD_FUSION_CODE=340
h1_0.EFFECT_ADD_FUSION_SETCODE=341
h1_0.EFFECT_RISE_TO_FULL_HEIGHT=342
h1_0.EFFECT_ONLY_ATTACK_MONSTER=343
h1_0.EFFECT_MUST_ATTACK_MONSTER=344
h1_0.EFFECT_PATRICIAN_OF_DARKNESS=345
h1_0.EFFECT_EXTRA_ATTACK_MONSTER=346
h1_0.EFFECT_UNION_STATUS=347
h1_0.EFFECT_OLDUNION_STATUS=348
h1_0.EFFECT_ADD_FUSION_ATTRIBUTE=349
h1_0.EFFECT_REMOVE_FUSION_ATTRIBUTE=350
h1_0.EFFECT_CHANGE_FUSION_ATTRIBUTE=351
h1_0.EFFECT_EXTRA_FUSION_MATERIAL=352
h1_0.EFFECT_TUNER_MATERIAL_LIMIT=353
h1_0.EFFECT_ADD_LINK_CODE=354
h1_0.EFFECT_ADD_LINK_SETCODE=355
h1_0.EFFECT_ADD_LINK_ATTRIBUTE=356
h1_0.EFFECT_ADD_LINK_RACE=357
h1_0.EFFECT_EXTRA_LINK_MATERIAL=358
h1_0.EFFECT_QP_ACT_IN_SET_TURN=359
h1_0.EFFECT_EXTRA_PENDULUM_SUMMON=360
h1_0.EFFECT_MATERIAL_LIMIT=361
h1_0.EFFECT_SET_BATTLE_ATTACK=362
h1_0.EFFECT_SET_BATTLE_DEFENSE=363
h1_0.EFFECT_OVERLAY_RITUAL_MATERIAL=364
h1_0.EFFECT_CHANGE_GRAVE_ATTRIBUTE=365
h1_0.EFFECT_CHANGE_GRAVE_RACE=366
h1_0.EFFECT_ACTIVATION_COUNT_LIMIT=367
h1_0.EFFECT_LIMIT_SPECIAL_SUMMON_POSITION=368
h1_0.EFFECT_TUNER=369
h1_0.EFFECT_KAISER_COLOSSEUM=370
h1_0.EFFECT_REPLACE_DAMAGE=371
h1_0.EFFECT_FLAG_EFFECT=0x20000000
h1_0.EVENT_STARTUP=1000
h1_0.EVENT_FLIP=1001
h1_0.EVENT_FREE_CHAIN=1002
h1_0.EVENT_DESTROY=1010
h1_0.EVENT_REMOVE=1011
h1_0.EVENT_TO_HAND=1012
h1_0.EVENT_TO_DECK=1013
h1_0.EVENT_TO_GRAVE=1014
h1_0.EVENT_LEAVE_FIELD=1015
h1_0.EVENT_CHANGE_POS=1016
h1_0.EVENT_RELEASE=1017
h1_0.EVENT_DISCARD=1018
h1_0.EVENT_LEAVE_FIELD_P=1019
h1_0.EVENT_CHAIN_SOLVING=1020
h1_0.EVENT_CHAIN_ACTIVATING=1021
h1_0.EVENT_CHAIN_SOLVED=1022
h1_0.EVENT_CHAIN_ACTIVATED=1023
h1_0.EVENT_CHAIN_NEGATED=1024
h1_0.EVENT_CHAIN_DISABLED=1025
h1_0.EVENT_CHAIN_END=1026
h1_0.EVENT_CHAINING=1027
h1_0.EVENT_BECOME_TARGET=1028
h1_0.EVENT_DESTROYED=1029
h1_0.EVENT_MOVE=1030
h1_0.EVENT_LEAVE_GRAVE=1031
h1_0.EVENT_LEAVE_DECK=1032
h1_0.EVENT_ADJUST=1040
h1_0.EVENT_BREAK_EFFECT=1050
h1_0.EVENT_SUMMON_SUCCESS=1100
h1_0.EVENT_FLIP_SUMMON_SUCCESS=1101
h1_0.EVENT_SPSUMMON_SUCCESS=1102
h1_0.EVENT_SUMMON=1103
h1_0.EVENT_FLIP_SUMMON=1104
h1_0.EVENT_SPSUMMON=1105
h1_0.EVENT_MSET=1106
h1_0.EVENT_SSET=1107
h1_0.EVENT_BE_MATERIAL=1108
h1_0.EVENT_BE_PRE_MATERIAL=1109
h1_0.EVENT_DRAW=1110
h1_0.EVENT_DAMAGE=1111
h1_0.EVENT_RECOVER=1112
h1_0.EVENT_PREDRAW=1113
h1_0.EVENT_SUMMON_NEGATED=1114
h1_0.EVENT_FLIP_SUMMON_NEGATED=1115
h1_0.EVENT_SPSUMMON_NEGATED=1116
h1_0.EVENT_CONTROL_CHANGED=1120
h1_0.EVENT_EQUIP=1121
h1_0.EVENT_ATTACK_ANNOUNCE=1130
h1_0.EVENT_BE_BATTLE_TARGET=1131
h1_0.EVENT_BATTLE_START=1132
h1_0.EVENT_BATTLE_CONFIRM=1133
h1_0.EVENT_PRE_DAMAGE_CALCULATE=1134
h1_0.EVENT_DAMAGE_CALCULATING=1135
h1_0.EVENT_PRE_BATTLE_DAMAGE=1136
h1_0.EVENT_BATTLE_END=1137
h1_0.EVENT_BATTLED=1138
h1_0.EVENT_BATTLE_DESTROYING=1139
h1_0.EVENT_BATTLE_DESTROYED=1140
h1_0.EVENT_DAMAGE_STEP_END=1141
h1_0.EVENT_ATTACK_DISABLED=1142
h1_0.EVENT_BATTLE_DAMAGE=1143
h1_0.EVENT_TOSS_DICE=1150
h1_0.EVENT_TOSS_COIN=1151
h1_0.EVENT_TOSS_COIN_NEGATE=1152
h1_0.EVENT_TOSS_DICE_NEGATE=1153
h1_0.EVENT_LEVEL_UP=1200
h1_0.EVENT_PAY_LPCOST=1201
h1_0.EVENT_DETACH_MATERIAL=1202
h1_0.EVENT_RETURN_TO_GRAVE=1203
h1_0.EVENT_TURN_END=1210
h1_0.EVENT_PHASE=0x1000
h1_0.EVENT_PHASE_START=0x2000
h1_0.EVENT_ADD_COUNTER=0x10000
h1_0.EVENT_REMOVE_COUNTER=0x20000
h1_0.EVENT_CUSTOM=0x10000000
h1_0.CATEGORY_DESTROY=0x1
h1_0.CATEGORY_RELEASE=0x2
h1_0.CATEGORY_REMOVE=0x4
h1_0.CATEGORY_TOHAND=0x8
h1_0.CATEGORY_TODECK=0x10
h1_0.CATEGORY_TOGRAVE=0x20
h1_0.CATEGORY_DECKDES=0x40
h1_0.CATEGORY_HANDES=0x80
h1_0.CATEGORY_SUMMON=0x100
h1_0.CATEGORY_SPECIAL_SUMMON=0x200
h1_0.CATEGORY_TOKEN=0x400
h1_0.CATEGORY_GRAVE_ACTION=0x800
h1_0.CATEGORY_POSITION=0x1000
h1_0.CATEGORY_CONTROL=0x2000
h1_0.CATEGORY_DISABLE=0x4000
h1_0.CATEGORY_DISABLE_SUMMON=0x8000
h1_0.CATEGORY_DRAW=0x10000
h1_0.CATEGORY_SEARCH=0x20000
h1_0.CATEGORY_EQUIP=0x40000
h1_0.CATEGORY_DAMAGE=0x80000
h1_0.CATEGORY_RECOVER=0x100000
h1_0.CATEGORY_ATKCHANGE=0x200000
h1_0.CATEGORY_DEFCHANGE=0x400000
h1_0.CATEGORY_COUNTER=0x800000
h1_0.CATEGORY_COIN=0x1000000
h1_0.CATEGORY_DICE=0x2000000
h1_0.CATEGORY_LEAVE_GRAVE=0x4000000
h1_0.CATEGORY_GRAVE_SPSUMMON=0x8000000
h1_0.CATEGORY_NEGATE=0x10000000
h1_0.CATEGORY_ANNOUNCE=0x20000000
h1_0.CATEGORY_FUSION_SUMMON=0x40000000
h1_0.CATEGORY_TOEXTRA=0x80000000
h1_0.HINT_EVENT=1
h1_0.HINT_MESSAGE=2
h1_0.HINT_SELECTMSG=3
h1_0.HINT_OPSELECTED=4
h1_0.HINT_EFFECT=5
h1_0.HINT_RACE=6
h1_0.HINT_ATTRIB=7
h1_0.HINT_CODE=8
h1_0.HINT_NUMBER=9
h1_0.HINT_CARD=10
h1_0.HINT_ZONE=11
h1_0.CHINT_TURN=1
h1_0.CHINT_CARD=2
h1_0.CHINT_RACE=3
h1_0.CHINT_ATTRIBUTE=4
h1_0.CHINT_NUMBER=5
h1_0.CHINT_DESC=6
h1_0.OPCODE_ADD=0x40000000
h1_0.OPCODE_SUB=0x40000001
h1_0.OPCODE_MUL=0x40000002
h1_0.OPCODE_DIV=0x40000003
h1_0.OPCODE_AND=0x40000004
h1_0.OPCODE_OR=0x40000005
h1_0.OPCODE_NEG=0x40000006
h1_0.OPCODE_NOT=0x40000007
h1_0.OPCODE_ISCODE=0x40000100
h1_0.OPCODE_ISSETCARD=0x40000101
h1_0.OPCODE_ISTYPE=0x40000102
h1_0.OPCODE_ISRACE=0x40000103
h1_0.OPCODE_ISATTRIBUTE=0x40000104
h1_0.DOUBLE_DAMAGE=0x80000000
h1_0.HALF_DAMAGE=0x80000001
h1_0.HINTMSG_RELEASE=500
h1_0.HINTMSG_DISCARD=501
h1_0.HINTMSG_DESTROY=502
h1_0.HINTMSG_REMOVE=503
h1_0.HINTMSG_TOGRAVE=504
h1_0.HINTMSG_RTOHAND=505
h1_0.HINTMSG_ATOHAND=506
h1_0.HINTMSG_TODECK=507
h1_0.HINTMSG_SUMMON=508
h1_0.HINTMSG_SPSUMMON=509
h1_0.HINTMSG_SET=510
h1_0.HINTMSG_FMATERIAL=511
h1_0.HINTMSG_SMATERIAL=512
h1_0.HINTMSG_XMATERIAL=513
h1_0.HINTMSG_FACEUP=514
h1_0.HINTMSG_FACEDOWN=515
h1_0.HINTMSG_ATTACK=516
h1_0.HINTMSG_DEFENSE=517
h1_0.HINTMSG_EQUIP=518
h1_0.HINTMSG_REMOVEXYZ=519
h1_0.HINTMSG_CONTROL=520
h1_0.HINTMSG_DESREPLACE=521
h1_0.HINTMSG_FACEUPATTACK=522
h1_0.HINTMSG_FACEUPDEFENSE=523
h1_0.HINTMSG_FACEDOWNATTACK=524
h1_0.HINTMSG_FACEDOWNDEFENSE=525
h1_0.HINTMSG_CONFIRM=526
h1_0.HINTMSG_TOFIELD=527
h1_0.HINTMSG_POSCHANGE=528
h1_0.HINTMSG_SELF=529
h1_0.HINTMSG_OPPO=530
h1_0.HINTMSG_TRIBUTE=531
h1_0.HINTMSG_DEATTACHFROM=532
h1_0.HINTMSG_LMATERIAL=533
h1_0.HINTMSG_ATTACKTARGET=549
h1_0.HINTMSG_EFFECT=550
h1_0.HINTMSG_TARGET=551
h1_0.HINTMSG_COIN=552
h1_0.HINTMSG_DICE=553
h1_0.HINTMSG_CARDTYPE=554
h1_0.HINTMSG_OPTION=555
h1_0.HINTMSG_RESOLVEEFFECT=556
h1_0.HINTMSG_SELECT=560
h1_0.HINTMSG_POSITION=561
h1_0.HINTMSG_ATTRIBUTE=562
h1_0.HINTMSG_RACE=563
h1_0.HINTMSG_CODE=564
h1_0.HINGMSG_NUMBER=565
h1_0.HINGMSG_LVRANK=567
h1_0.HINTMSG_RESOLVECARD=568
h1_0.HINTMSG_ZONE=569
h1_0.HINTMSG_DISABLEZONE=570
h1_0.HINTMSG_TOZONE=571
h1_0.HINTMSG_COUNTER=572
h1_0.HINTMSG_DISABLE=573
h1_0.HINTMSG_OPERATECARD=574
h1_0.SELECT_HEADS=60
h1_0.SELECT_TAILS=61
h1_0.TIMING_DRAW_PHASE=0x1
h1_0.TIMING_STANDBY_PHASE=0x2
h1_0.TIMING_MAIN_END=0x4
h1_0.TIMING_BATTLE_START=0x8
h1_0.TIMING_BATTLE_END=0x10
h1_0.TIMING_END_PHASE=0x20
h1_0.TIMING_SUMMON=0x40
h1_0.TIMING_SPSUMMON=0x80
h1_0.TIMING_FLIPSUMMON=0x100
h1_0.TIMING_MSET=0x200
h1_0.TIMING_SSET=0x400
h1_0.TIMING_POS_CHANGE=0x800
h1_0.TIMING_ATTACK=0x1000
h1_0.TIMING_DAMAGE_STEP=0x2000
h1_0.TIMING_DAMAGE_CAL=0x4000
h1_0.TIMING_CHAIN_END=0x8000
h1_0.TIMING_DRAW=0x10000
h1_0.TIMING_DAMAGE=0x20000
h1_0.TIMING_RECOVER=0x40000
h1_0.TIMING_DESTROY=0x80000
h1_0.TIMING_REMOVE=0x100000
h1_0.TIMING_TOHAND=0x200000
h1_0.TIMING_TODECK=0x400000
h1_0.TIMING_TOGRAVE=0x800000
h1_0.TIMING_BATTLE_PHASE=0x1000000
h1_0.TIMING_EQUIP=0x2000000
h1_0.TIMING_BATTLE_STEP_END=0x4000000
h1_0.TIMING_BATTLED=0x8000000
h1_0.TIMINGS_CHECK_MONSTER=0x1c0
h1_0.GLOBALFLAG_DECK_REVERSE_CHECK=0x1
h1_0.GLOBALFLAG_BRAINWASHING_CHECK=0x2
h1_0.GLOBALFLAG_SCRAP_CHIMERA=0x4
h1_0.GLOBALFLAG_DELAYED_QUICKEFFECT=0x8
h1_0.GLOBALFLAG_DETACH_EVENT=0x10
h1_0.GLOBALFLAG_MUST_BE_SMATERIAL=0x20
h1_0.GLOBALFLAG_SPSUMMON_COUNT=0x40
h1_0.GLOBALFLAG_XMAT_COUNT_LIMIT=0x80
h1_0.GLOBALFLAG_SELF_TOGRAVE=0x100
h1_0.GLOBALFLAG_SPSUMMON_ONCE=0x200
h1_0.GLOBALFLAG_TUNE_MAGICIAN=0x400
h1_0.EFFECT_COUNT_CODE_OATH=0x10000000
h1_0.EFFECT_COUNT_CODE_DUEL=0x20000000
h1_0.EFFECT_COUNT_CODE_CHAIN=0x40000000
h1_0.EFFECT_COUNT_CODE_SINGLE=0x1
h1_0.DUEL_TEST_MODE=0x01
h1_0.DUEL_ATTACK_FIRST_TURN=0x02
h1_0.DUEL_OLD_REPLAY=0x04
h1_0.DUEL_OBSOLETE_RULING=0x08
h1_0.DUEL_PSEUDO_SHUFFLE=0x10
h1_0.DUEL_TAG_MODE=0x20
h1_0.DUEL_SIMPLE_AI=0x40
h1_0.DUEL_RETURN_DECK_TOP=0x80
h1_0.ACTIVITY_SUMMON=1
h1_0.ACTIVITY_NORMALSUMMON=2
h1_0.ACTIVITY_SPSUMMON=3
h1_0.ACTIVITY_FLIPSUMMON=4
h1_0.ACTIVITY_ATTACK=5
h1_0.ACTIVITY_BATTLE_PHASE=6
h1_0.ACTIVITY_CHAIN=7
h1_0.CARD_MARINE_DOLPHIN=78734254
h1_0.CARD_TWINKLE_MOSS=13857930
h1_0.CARD_QUESTION=38723936
return h1_0

Modified 残局文料/副_容冗/游戏王_则拟器_原版_残局_局名_字段.lua from [fbe34ef564] to [75af1cbaa0].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
-- 不用这套方案了
--~ 卡对排
function d.荐名(o1_0)
  local k1_0
  --~ 卡名对
  k1_0 = 历对库.历对(o1_0, d.卡对消重)
  return 对库.对长(k1_0)
  end
--~ 卡对
function d.卡对消重(o1, o1_0)
  return o1_0.name, true
  end
--~ 卡对排
function d.荐名(o1_0)
  local k1, k2
  local k1_0
  --~ 攻击力排
  k1_0 = 历排库.历排(o1_0, 筛卡库.筛怪兽卡)
  k1_0 = 历排库.历排(k1_0, 筛卡库.筛攻击力)
  if k1_0[1] then
    --~ 攻击力均差阶
    k1 = 排算库.均差(k1_0)
    if k1 > 0 then
      --~ 补值
      k2 = 数库.指数(100, 基算库.除法(k1, 300))
      k1 = 基算库.除法(基算库.加法(k1, k2), 100)
      if k1 > 1 then
        k1 = 数库.指数次(k1, 2)
        return 数库.向下取整(k1)



|

|
|








|

|
|
|

|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
-- 不用这套方案了
--~ 卡对排
function d.荐名(o1_0)
  local h1_0
  --~ 卡名对
  h1_0 = 历对库.历对(o1_0, d.卡对消重)
  return 对库.对长(h1_0)
  end
--~ 卡对
function d.卡对消重(o1, o1_0)
  return o1_0.name, true
  end
--~ 卡对排
function d.荐名(o1_0)
  local k1, k2
  local h1_0
  --~ 攻击力排
  h1_0 = 历排库.历排(o1_0, 筛卡库.筛怪兽卡)
  h1_0 = 历排库.历排(h1_0, 筛卡库.筛攻击力)
  if h1_0[1] then
    --~ 攻击力均差阶
    k1 = 排算库.均差(h1_0)
    if k1 > 0 then
      --~ 补值
      k2 = 数库.指数(100, 基算库.除法(k1, 300))
      k1 = 基算库.除法(基算库.加法(k1, k2), 100)
      if k1 > 1 then
        k1 = 数库.指数次(k1, 2)
        return 数库.向下取整(k1)
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
    return k1
  else
    return "请便"
    end
  end
--~ 卡对排
function d.荐卡名(o1_0)
  local k1_0
  --~ 卡名排
  k1_0 = 历排库.历排(o1_0, d.取卡名)
  return 历排取一库.筛最短文(k1_0)
  end
--~ 卡对
function d.取卡名(o1_0)
  return o1_0.name
  end
--~ 卡对排
function d.取字段对(o1_0)
  local k1, k2, k3, k4
  local k1_0
  --~ 字段对
  k1_0 = {}
  for o1 = 1, #o1_0 do
    --~ 字段数
    k1 = 字节库.to_uint64(o1_0[o1].setcode)
    if k1 < 1 then
    else
      if k1 > 0xffffFFFFffff then
        k1 = k1 - 1
      else
        for o2 = 1, 11112222 do
          if k1 < 1 then
            break
          else
            --~ 大字段号
            k2 = 位算库.位和(k1, 0xffff)
            k1 = 位算库.位右移(k1, 基算库.乘法(4, 4))
            --~ 字段名
            k3 = 字段名对[tonumber(k2)]
            if k3 then
              if k1_0[k3] then
                k1_0[k3] = 基算库.加法(k1_0[k3], 1)
              else
                k1_0[k3] = 1
                end
              if k2 > 0xfff then
                --~ 小字段号
                k4 = 位算库.位和(k2, 0xfff)
                k3 = 字段名对[tonumber(k4)]
                if k3 then
                  if k1_0[k3] then
                    k1_0[k3] = 基算库.加法(k1_0[k3], 1)
                  else
                    k1_0[k3] = 1
                    end
                else
                  end
              else
                end
            else
              end
            end
          end
        end
      end
    end
  return k1_0
  end
--~ 卡对排
function d.荐字段名(o1_0)
  local k1
  local k1_0
  --~ 字段对
  k1_0 = d.取字段对(o1_0)
  --~ 最大的字段名数量
  _, k1 = 历对取一库.筛最大值(k1_0)
  --~ 最高频字段名对
  k2_0 = 历对库.历对(k1_0, 历对库.全等筛值, k1)
  return 历对取一库.筛最短键(k2_0)
  end







|

|
|








|

|


















|
|

|






|
|

|












|




|

|

|

|


50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
    return k1
  else
    return "请便"
    end
  end
--~ 卡对排
function d.荐卡名(o1_0)
  local h1_0
  --~ 卡名排
  h1_0 = 历排库.历排(o1_0, d.取卡名)
  return 历排取一库.筛最短文(h1_0)
  end
--~ 卡对
function d.取卡名(o1_0)
  return o1_0.name
  end
--~ 卡对排
function d.取字段对(o1_0)
  local k1, k2, k3, k4
  local h1_0
  --~ 字段对
  h1_0 = {}
  for o1 = 1, #o1_0 do
    --~ 字段数
    k1 = 字节库.to_uint64(o1_0[o1].setcode)
    if k1 < 1 then
    else
      if k1 > 0xffffFFFFffff then
        k1 = k1 - 1
      else
        for o2 = 1, 11112222 do
          if k1 < 1 then
            break
          else
            --~ 大字段号
            k2 = 位算库.位和(k1, 0xffff)
            k1 = 位算库.位右移(k1, 基算库.乘法(4, 4))
            --~ 字段名
            k3 = 字段名对[tonumber(k2)]
            if k3 then
              if h1_0[k3] then
                h1_0[k3] = 基算库.加法(h1_0[k3], 1)
              else
                h1_0[k3] = 1
                end
              if k2 > 0xfff then
                --~ 小字段号
                k4 = 位算库.位和(k2, 0xfff)
                k3 = 字段名对[tonumber(k4)]
                if k3 then
                  if h1_0[k3] then
                    h1_0[k3] = 基算库.加法(h1_0[k3], 1)
                  else
                    h1_0[k3] = 1
                    end
                else
                  end
              else
                end
            else
              end
            end
          end
        end
      end
    end
  return h1_0
  end
--~ 卡对排
function d.荐字段名(o1_0)
  local k1
  local h1_0
  --~ 字段对
  h1_0 = d.取字段对(o1_0)
  --~ 最大的字段名数量
  _, k1 = 历对取一库.筛最大值(h1_0)
  --~ 最高频字段名对
  k2_0 = 历对库.历对(h1_0, 历对库.全等筛值, k1)
  return 历对取一库.筛最短键(k2_0)
  end

Modified 残局文料/副_容冗/集YGOPro常量并据此产lua文件.lua from [6228214cb9] to [b7c3b4fbca].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local d_3 = {}
--~ 文件路
--~ 普常量文件名
function d_3.产普常量文件(o1, o2)
  local k1, k2
  local k1_0
  --~ 文
  k1 = f.读文件(o1)
  k1 = string.gsub(k1, "%-%-" .. "[^\n]*", "")
  k1 = string.gsub(k1, "[ \t]", "")
  --~ 常量排
  k1_0 = f.历文(k1, string.gmatch, "[^\n]+")
  for o1 = 1, #k1_0 do
    k1_0[o1] = f.加前缀(k1_0[o1], [[k1_0.]])
    end
  --~ 文
  k2 = f.加对限(k1_0)
  f.写文件(k2, o2)
  end
--~ 文件路
--~ 字段名文件名
function d_3.产字段名文件(o1, o2)
  local k1, k2
  local k1_0
  --~ 文
  k1 = f.读文件(o1)
  --~ 常量排
  k1_0 = f.历文(k1, string.gmatch, "[^\n]+")
  k1_0 = f.历排(k1_0, f.全筛文, "^!setname")
  for o3 = 1, #k1_0 do
    k1_0[o3] = f.删左右空白(k1_0[o3])
    k1_0[o3] = string.gsub(k1_0[o3], "^!setname ", "")
    k1_0[o3] = string.gsub(k1_0[o3], "[|\t].+", "")
    k1_0[o3] = string.gsub(k1_0[o3], " ", "=", 1)
    k1_0[o3] = string.gsub(k1_0[o3], "[0-9a-z]+", "k1_0[%1]", 1)
    k1_0[o3] = string.gsub(k1_0[o3], "=([^\n]+)", [[="%1"]], 1)
    end
  --~ 文
  k2 = f.加对限(k1_0)
  f.写文件(k2, o2)
  end
d_3.产普常量文件([[D:\install\YGOPro/script/constant.lua]], u8("普常量.lua"))
d_3.产字段名文件([[D:\install\YGOPro/strings.conf]], u8("字段名.lua"))










|





|
|
|


|






|



|
|
|
|
|
|
|
|
|


|




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local d_3 = {}
--~ 文件路
--~ 普常量文件名
function d_3.产普常量文件(o1, o2)
  local k1, k2
  local h1_0
  --~ 文
  k1 = f.读文件(o1)
  k1 = string.gsub(k1, "%-%-" .. "[^\n]*", "")
  k1 = string.gsub(k1, "[ \t]", "")
  --~ 常量排
  h1_0 = f.历文(k1, string.gmatch, "[^\n]+")
  for o1 = 1, #h1_0 do
    h1_0[o1] = f.加前缀(h1_0[o1], [[h1_0.]])
    end
  --~ 文
  k2 = f.加对限(h1_0)
  f.写文件(k2, o2)
  end
--~ 文件路
--~ 字段名文件名
function d_3.产字段名文件(o1, o2)
  local k1, k2
  local h1_0
  --~ 文
  k1 = f.读文件(o1)
  --~ 常量排
  h1_0 = f.历文(k1, string.gmatch, "[^\n]+")
  h1_0 = f.历排(h1_0, f.全筛文, "^!setname")
  for o3 = 1, #h1_0 do
    h1_0[o3] = f.删左右空白(h1_0[o3])
    h1_0[o3] = string.gsub(h1_0[o3], "^!setname ", "")
    h1_0[o3] = string.gsub(h1_0[o3], "[|\t].+", "")
    h1_0[o3] = string.gsub(h1_0[o3], " ", "=", 1)
    h1_0[o3] = string.gsub(h1_0[o3], "[0-9a-z]+", "h1_0[%1]", 1)
    h1_0[o3] = string.gsub(h1_0[o3], "=([^\n]+)", [[="%1"]], 1)
    end
  --~ 文
  k2 = f.加对限(h1_0)
  f.写文件(k2, o2)
  end
d_3.产普常量文件([[D:\install\YGOPro/script/constant.lua]], u8("普常量.lua"))
d_3.产字段名文件([[D:\install\YGOPro/strings.conf]], u8("字段名.lua"))

Modified 残局文料/游戏王_则拟器_原版_残局_局名_改名.lua from [be28ccce5f] to [6e42b050e5].

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
  k1 = "[^\n]+"
  --~ 卡编所在函式
  k2 = "Debug%.AddCard.+"
  --~ 卡编
  k3 = "[0-9]+"
  --~ 文
  function d.局筛卡编(o1)
    local k1_0
    --~ 卡编排
    k1_0 = 历文库.历文(o1, string.gmatch, k1)
    k1_0 = 历排库.历排(k1_0, string.match, k2)
    return 历排库.历排(k1_0, string.match, k3)
    end
  end
do
  local k1, k2, k3, k4
  --~ 非空单行,且无换行符
  k1 = "[^\n]+"
  --~ 玩家讯所在函式
  k2 = "Debug%.SetPlayerInfo.+"
  --~ 玩家编号
  k3 = "[0-9]+"
  --~ 玩家血量
  k4 = "[0-9]+"
  --~ 文
  function d.局筛血(o1)
    local k1_0
    --~ 血排
    k1_0 = 历文库.历文(o1, string.gmatch, k1)
    k1_0 = 历排库.历排(k1_0, string.match, k2)
    k1_0 = 历排库.历排(k1_0, string.gsub, k3, "", 1)
    return 历排库.历排(k1_0, string.match, k4)
    end
  end
do
  local k1, k2, k3
  --~ 非空单行,且无换行符
  k1 = "[^\n]+"
  --~ 残局讯所在函式
  k2 = 文库.连("Debug", "%.", "ReloadFieldBegin", ".+")
  --~ 则数
  k3 = "[0-9]"
  --~ 文
  function d.局筛则数(o1)
    local k4
    local k1_0
    --~ 则数排
    k1_0 = 历文库.历文(o1, string.gmatch, k1)
    k1_0 = 历排库.历排(k1_0, string.match, k2)
    --~ 则数
    k4 = string.match(k1_0[1], k3)
    assert(k4, o1)
    return k4 or 5
    end
  end
--~ 卡对排
--~ 血排
function d.荐名(o1_0, o2_0)
  local k1, k2, k3
  local k1_0
  --~ 攻击力排
  k1_0 = 历排库.历排(o1_0, 筛卡库.筛怪兽卡)
  k1_0 = 历排库.历排(k1_0, 筛卡库.筛攻击力)
  --~ 总攻
  k1 = 排算库.总和(k1_0)
  --~ 总血
  k2 = 排算库.总和(o2_0)
  --~ 荐名
  k3 = 基算库.除法(k1, k2)
  k3 = 数库.指数次(k3, 2)
  if 数库.是否错值(k3) then
    return 0







|

|
|
|














|

|
|
|
|













|

|
|

|








|

|
|

|







35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
  k1 = "[^\n]+"
  --~ 卡编所在函式
  k2 = "Debug%.AddCard.+"
  --~ 卡编
  k3 = "[0-9]+"
  --~ 文
  function d.局筛卡编(o1)
    local h1_0
    --~ 卡编排
    h1_0 = 历文库.历文(o1, string.gmatch, k1)
    h1_0 = 历排库.历排(h1_0, string.match, k2)
    return 历排库.历排(h1_0, string.match, k3)
    end
  end
do
  local k1, k2, k3, k4
  --~ 非空单行,且无换行符
  k1 = "[^\n]+"
  --~ 玩家讯所在函式
  k2 = "Debug%.SetPlayerInfo.+"
  --~ 玩家编号
  k3 = "[0-9]+"
  --~ 玩家血量
  k4 = "[0-9]+"
  --~ 文
  function d.局筛血(o1)
    local h1_0
    --~ 血排
    h1_0 = 历文库.历文(o1, string.gmatch, k1)
    h1_0 = 历排库.历排(h1_0, string.match, k2)
    h1_0 = 历排库.历排(h1_0, string.gsub, k3, "", 1)
    return 历排库.历排(h1_0, string.match, k4)
    end
  end
do
  local k1, k2, k3
  --~ 非空单行,且无换行符
  k1 = "[^\n]+"
  --~ 残局讯所在函式
  k2 = 文库.连("Debug", "%.", "ReloadFieldBegin", ".+")
  --~ 则数
  k3 = "[0-9]"
  --~ 文
  function d.局筛则数(o1)
    local k4
    local h1_0
    --~ 则数排
    h1_0 = 历文库.历文(o1, string.gmatch, k1)
    h1_0 = 历排库.历排(h1_0, string.match, k2)
    --~ 则数
    k4 = string.match(h1_0[1], k3)
    assert(k4, o1)
    return k4 or 5
    end
  end
--~ 卡对排
--~ 血排
function d.荐名(o1_0, o2_0)
  local k1, k2, k3
  local h1_0
  --~ 攻击力排
  h1_0 = 历排库.历排(o1_0, 筛卡库.筛怪兽卡)
  h1_0 = 历排库.历排(h1_0, 筛卡库.筛攻击力)
  --~ 总攻
  k1 = 排算库.总和(h1_0)
  --~ 总血
  k2 = 排算库.总和(o2_0)
  --~ 荐名
  k3 = 基算库.除法(k1, k2)
  k3 = 数库.指数次(k3, 2)
  if 数库.是否错值(k3) then
    return 0
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
  if k1 == o1 then
  else
    写文件库.写文件(o3, k1)
    end
  end
--~ 目对
function d.残局改名(o1_0)
  local k1_0, k2_0, k3_0, k4_0, k5_0, k6_0, k7_0, k8_0, k9_0
  local k10_0, k11_0, k12_0
  --~ 文件名排
  k1_0 = 历文库.历文(o1_0.文件目, 文件系库.dir)
  k1_0 = 历排库.历排(k1_0, 后缀库.全筛后缀, ".lua")
  --~ 文件排
  k2_0 = 历排库.历排(k1_0, 后缀库.全筛后缀, ".lua")
  k2_0 = 历排库.历排(k2_0, 前缀库.加前缀, o1_0.文件目)
  k2_0 = 历排库.历排(k2_0, 读文件库.读文件)
  k2_0 = 历排库.历排(k2_0, 删注库.删注)
  --~ 则数排
  k3_0 = 历排库.历排(k2_0, d.局筛则数)
  --~ 各文件的卡编排
  k4_0 = 历排库.历排(k2_0, d.局筛卡编)
  --~ 各文件的卡对排
  k5_0 = 历排库.历排(k4_0, d.取卡对_一维)
  --~ 有效果卡的卡对排
  k6_0 = 历排库.历排(k5_0, d.筛有效果卡)
  --~ 有效果卡的张数排
  k7_0 = 历排库.历排(k6_0, table.maxn)
  --~ 血排
  k11_0 = 历排库.历排(k2_0, d.局筛血)
  --~ 荐名排
  k8_0 = 历排库.历二排(k6_0, k11_0, d.荐名)
  --~ 新名排
  k9_0 = 历排库.历排(k1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "")
  --~ 编号排
  k10_0 = 历排库.历排(k1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "")
  k9_0 = 历排库.历排(k9_0, string.gsub, 文库.连("%.", "lua", "$"), "")
  for o1 = 1, #k1_0 do
    k9_0[o1] = 文库.连(字集库.a_to_u8(o1_0.文件目), 字集库.a_to_u8(k9_0[o1]), " ", k3_0[o1], "_", 数库.几位整数(k7_0[o1], 2))
    if k8_0[o1] == 0 then
      k9_0[o1] = 文库.连(k9_0[o1], ".", "lua")
    else
      k9_0[o1] = 文库.连(k9_0[o1], "_", k8_0[o1], ".", "lua")
      end
    end
  k1_0 = 历排库.历排(k1_0, 前缀库.加前缀, o1_0.文件目)
  k9_0 = 历排库.历排(k9_0, 字集库.u8_to_a)
  历排库.历二排(k1_0, k9_0, os.rename)
  k10_0 = 历排库.历排(k10_0, 字集库.a_to_u8)
  --~ 文排
  k12_0 = 历排库.历排(k9_0, 读文件库.读文件)
  历排库.历三排(k12_0, k10_0, k9_0, d.察编号)
  end
d.目对 = {
  ["文件目"] = "../single/"
  , ["卡档路"] = [[D:\install\YGOPro\cards.cdb]]
  }
d.目对 = 历对库.历值(d.目对, 基类库.操类, "string", 字集库.u8_to_a)
卡档库.启卡档(d.目对.卡档路)
d.残局改名(d.目对)







|


|
|

|


















|

|

|







|

|












118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
  if k1 == o1 then
  else
    写文件库.写文件(o3, k1)
    end
  end
--~ 目对
function d.残局改名(o1_0)
  local h1_0, k2_0, k3_0, k4_0, k5_0, k6_0, k7_0, k8_0, k9_0
  local k10_0, k11_0, k12_0
  --~ 文件名排
  h1_0 = 历文库.历文(o1_0.文件目, 文件系库.dir)
  h1_0 = 历排库.历排(h1_0, 后缀库.全筛后缀, ".lua")
  --~ 文件排
  k2_0 = 历排库.历排(h1_0, 后缀库.全筛后缀, ".lua")
  k2_0 = 历排库.历排(k2_0, 前缀库.加前缀, o1_0.文件目)
  k2_0 = 历排库.历排(k2_0, 读文件库.读文件)
  k2_0 = 历排库.历排(k2_0, 删注库.删注)
  --~ 则数排
  k3_0 = 历排库.历排(k2_0, d.局筛则数)
  --~ 各文件的卡编排
  k4_0 = 历排库.历排(k2_0, d.局筛卡编)
  --~ 各文件的卡对排
  k5_0 = 历排库.历排(k4_0, d.取卡对_一维)
  --~ 有效果卡的卡对排
  k6_0 = 历排库.历排(k5_0, d.筛有效果卡)
  --~ 有效果卡的张数排
  k7_0 = 历排库.历排(k6_0, table.maxn)
  --~ 血排
  k11_0 = 历排库.历排(k2_0, d.局筛血)
  --~ 荐名排
  k8_0 = 历排库.历二排(k6_0, k11_0, d.荐名)
  --~ 新名排
  k9_0 = 历排库.历排(h1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "")
  --~ 编号排
  k10_0 = 历排库.历排(h1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "")
  k9_0 = 历排库.历排(k9_0, string.gsub, 文库.连("%.", "lua", "$"), "")
  for o1 = 1, #h1_0 do
    k9_0[o1] = 文库.连(字集库.a_to_u8(o1_0.文件目), 字集库.a_to_u8(k9_0[o1]), " ", k3_0[o1], "_", 数库.几位整数(k7_0[o1], 2))
    if k8_0[o1] == 0 then
      k9_0[o1] = 文库.连(k9_0[o1], ".", "lua")
    else
      k9_0[o1] = 文库.连(k9_0[o1], "_", k8_0[o1], ".", "lua")
      end
    end
  h1_0 = 历排库.历排(h1_0, 前缀库.加前缀, o1_0.文件目)
  k9_0 = 历排库.历排(k9_0, 字集库.u8_to_a)
  历排库.历二排(h1_0, k9_0, os.rename)
  k10_0 = 历排库.历排(k10_0, 字集库.a_to_u8)
  --~ 文排
  k12_0 = 历排库.历排(k9_0, 读文件库.读文件)
  历排库.历三排(k12_0, k10_0, k9_0, d.察编号)
  end
d.目对 = {
  ["文件目"] = "../single/"
  , ["卡档路"] = [[D:\install\YGOPro\cards.cdb]]
  }
d.目对 = 历对库.历值(d.目对, 基类库.操类, "string", 字集库.u8_to_a)
卡档库.启卡档(d.目对.卡档路)
d.残局改名(d.目对)