游戏王残局简化版

Check-in [f4c48d2eb7]
Login

Check-in [f4c48d2eb7]

Overview
Comment:记不住加减乘除了
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f4c48d2eb7c3f287bdc4e57551fde308b9e1e8d44307a00a53ed6c14a378eeb1
User & Date: 顽雨沉风 on 2024-02-05 03:47:24
Other Links: manifest | tags
Context
2024-02-05
09:10
遇到瓶颈了 check-in: 7a7894a746 user: 顽雨沉风 tags: trunk
03:47
记不住加减乘除了 check-in: f4c48d2eb7 user: 顽雨沉风 tags: trunk
2024-02-04
11:43
11小于16 check-in: f38085debc user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lua_lib/常用库.lua from [44b26a6c6f] to [c86f65342f].

23
24
25
26
27
28
29















30
31
32
33
34
35
36
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







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







  --~ 集排
  k1_0 = {}
  for o3_0 in o2(o1, o1_0, o2_0) do
    k1_0[#k1_0 + 1] = o3_0
    end
  return k1_0
  end
function d.历对(o1_0, o1)
  local k1_0, k2_0, k3_0
  --~ 对
  k1_0 = {}
  for o2_0, o3_0 in pairs(o1_0) do
    --~ 键
    --~ 值
    k2_0, k3_0 = o1(o2_0, o3_0)
    if k2_0 then
      k1_0[k2_0] = k3_0
    else
      end
    end
  return k1_0
  end
--~ 表中值
--~ 值类
--~ 办值的能
function d.操类(o1_0, o1, o2)
  if type(o1_0) == o1 then
    return o2(o1_0)
  else
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
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







-
-
-
-




















+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

  k1 = k1_3:read("a")
  k1_3:flush()
  k1_3:close()
  return k1
  end
--~ 常量排
function d.加对限(o1_0)
  for o1 = 1, #o1_0 do
    o1_0[o1] = d.加前缀(o1_0[o1], [[k1_0["]])
    o1_0[o1] = string.gsub(o1_0[o1], "=", "\"]=", 1)
    end
  table.insert(o1_0, 1, "local k1_0 = {}")
  table.insert(o1_0, "return k1_0")
  return table.concat(o1_0, "\n")
  end
--~ 文
--~ 文件路
--~ 式
function d.写文件(o1, o2, o3)
  local k1_3
  --~ 文件
  k1_3 = io.open(o2, o3 or "w")
  k1_3:write(o1)
  k1_3:flush()
  k1_3:close()
  end
--~ 文
function d.删左右空白(o1)
  o1 = string.gsub(o1, "^%s+", "")
  return string.gsub(o1, "%s+$", "")
  end
--~ 对
--~ 对
function d.连两对(o1_0, o2_0)
  for o3_0, o4_0 in pairs(o2_0) do
    o1_0[o3_0] = o4_0
    end
  return o1_0
  end
--~ 键
--~ 值
function d.修对类(o1_0, o2_0)
  if tonumber(o1_0) then
    return tonumber(o1_0), o2_0
  else
    return o1_0, o2_0
    end
  end
do
  --~ 加数
  local k1 = 0
  function d.递增()
    k1 = k1 + 1
    return k1
    end
  end
--~ 左加数
--~ 右加数
function d.加法(o1, o2)
  return o1 + o2
  end
--~ 左减数
--~ 右减数
function d.减法(o1, o2)
  return o1 - o2
  end
--~ 左乘数
--~ 右乘数
function d.乘法(o1, o2)
  return o1 * o2
  end
--~ 左除数
--~ 右除数
function d.除法(o1, o2)
  return o1 / o2
  end
return d

Modified 残局文料/字段名.lua from [7e853f08e3] to [4d7ddc676a].

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




































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































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_11 = {}
k1_11["0x1"]=正义盟军
k1_11["0x2"]=次世代
k1_11["0x1002"]=真次世代
k1_11["0x4"]=亚马逊
k1_11["0x5"]=秘仪之力
k1_11["0x6"]=暗黑界
k1_11["0x7"]=古代的机械
k1_11["0x8"]=英雄
k1_11["0x3008"]=元素英雄
k1_11["0x5008"]=幻影英雄
k1_11["0x6008"]=邪心英雄
k1_11["0xa008"]=假面英雄
k1_11["0xc008"]=命运英雄
k1_11["0x9"]=新宇
k1_11["0xa"]=入魔
k1_11["0x100a"]=侵入魔鬼
k1_11["0xb"]=永火
k1_11["0xc"]=外星
k1_11["0xd"]=剑士
k1_11["0x100d"]=X-剑士
k1_11["0x400d"]=元素灵剑士
k1_11["0xe"]=电气
k1_11["0xf"]=扰乱
k1_11["0x10"]=薰风
k1_11["0x11"]=机巧
k1_11["0x12"]=青蛙
k1_11["0x13"]=机皇
k1_11["0x3013"]=机皇帝
k1_11["0x5013"]=机皇神
k1_11["0x6013"]=机皇兵
k1_11["0x15"]=巨大战舰
k1_11["0x16"]=机人
k1_11["0x1016"]=交通机人
k1_11["0x2016"]=疾行机人
k1_11["0x17"]=同调
k1_11["0x1017"]=同调士
k1_11["0x2017"]=同调龙
k1_11["0x18"]=云魔物
k1_11["0x19"]=剑斗兽
k1_11["0x1a"]=黑蝎
k1_11["0x1b"]=幻兽
k1_11["0x101b"]=幻兽机
k1_11["0x1c"]=死之信息
k1_11["0x1d"]=核成
k1_11["0x1e"]=茧状体
k1_11["0x1f"]=新空间侠
k1_11["0x20"]=紫炎
k1_11["0x21"]=地缚
k1_11["0x1021"]=地缚神
k1_11["0x22"]=朱罗纪
k1_11["0x23"]=罪
k1_11["0x24"]=废铁
k1_11["0x25"]=链
k1_11["0x26"]=变形斗士
k1_11["0x27"]=科技属
k1_11["0x28"]=电池人
k1_11["0x29"]=龙骑兵团
k1_11["0x2a"]=自然
k1_11["0x2b"]=忍者
k1_11["0x2c"]=炎狱
k1_11["0x2e"]=守墓
k1_11["0x2f"]=冰结界
k1_11["0x30"]=大日
k1_11["0x31"]=命运女郎
k1_11["0x32"]=火山
k1_11["0x33"]=黑羽
k1_11["0x1033"]=强袭黑羽
k1_11["0x34"]=宝玉
k1_11["0x1034"]=宝玉兽
k1_11["0x2034"]=究极宝玉神
k1_11["0x5034"]=高等宝玉兽
k1_11["0x35"]=魔轰神
k1_11["0x36"]=机甲
k1_11["0x37"]=霞之谷
k1_11["0x38"]=光道
k1_11["0x39"]=熔岩
k1_11["0x3a"]=遗式
k1_11["0x3b"]=真红眼
k1_11["0x3c"]=爬虫妖
k1_11["0x3d"]=六武众
k1_11["0x103d"]=影六武众
k1_11["0x3e"]=异虫
k1_11["0x3f"]=救世
k1_11["0x40"]=被封印
k1_11["0x41"]=LV
k1_11["0x42"]=极星
k1_11["0x3042"]=极星天
k1_11["0x5042"]=极星宝
k1_11["0x6042"]=极星兽
k1_11["0xa042"]=极星灵
k1_11["0x43"]=废品
k1_11["0x44"]=代行者
k1_11["0x45"]=恶魔
k1_11["0x1045"]=红莲魔
k1_11["0x46"]=融合
k1_11["0x1046"]=融合龙
k1_11["0x47"]=宝石
k1_11["0x1047"]=宝石骑士
k1_11["0x48"]=No.
k1_11["0x1048"]=混沌No.
k1_11["0x49"]=铳士
k1_11["0x4a"]=时械神
k1_11["0x4b"]=极神
k1_11["0x4c"]=落穴
k1_11["0x304e"]=进化虫
k1_11["0x504e"]=进化帝
k1_11["0x604e"]=进化龙
k1_11["0x104f"]=/爆裂体
k1_11["0x50"]=蛇毒
k1_11["0x1050"]=凶饿毒
k1_11["0x51"]=零件
k1_11["0x52"]=守护者
k1_11["0x1052"]=门之守护神
k1_11["0x53"]=星圣
k1_11["0x54"]=我我我
k1_11["0x55"]=光子
k1_11["0x56"]=甲虫装机
k1_11["0x57"]=共鸣者
k1_11["0x58"]=发条
k1_11["0x59"]=隆隆隆
k1_11["0x5a"]=企鹅
k1_11["0x5b"]=番茄小子
k1_11["0x5c"]=斯芬克斯
k1_11["0x60"]=竹光
k1_11["0x61"]=忍法
k1_11["0x62"]=卡通
k1_11["0x63"]=反应机
k1_11["0x64"]=鹰身
k1_11["0x65"]=侵略的
k1_11["0x66"]=战士
k1_11["0x1066"]=音响战士
k1_11["0x2066"]=磁石战士
k1_11["0x69"]=圣刻
k1_11["0x6a"]=幻蝶刺客
k1_11["0x6b"]=保镖
k1_11["0x6d"]=魔人
k1_11["0x6e"]=魔导
k1_11["0x106e"]=魔导书
k1_11["0x6f"]=英豪
k1_11["0x106f"]=英豪挑战者
k1_11["0x70"]=先史遗产
k1_11["0x71"]=魔偶甜点
k1_11["0x72"]=齿轮齿轮
k1_11["0x1072"]=齿轮齿轮人
k1_11["0x73"]=超量
k1_11["0x1073"]=混沌超量
k1_11["0x2073"]=超量龙
k1_11["0x4073"]=铠装超量
k1_11["0x74"]=水精鳞
k1_11["0x75"]=深渊
k1_11["0x76"]=纹章兽
k1_11["0x77"]=海皇
k1_11["0x78"]=迅捷
k1_11["0x79"]=炎星
k1_11["0x107a"]=圣骑士
k1_11["0x207a"]=圣剑
k1_11["0x507a"]=焰圣骑士
k1_11["0x607a"]=焰圣剑
k1_11["0x7b"]=银河
k1_11["0x107b"]=银河眼
k1_11["0x307b"]=银河眼时空龙
k1_11["0x7c"]=炎舞
k1_11["0x7d"]=阳炎
k1_11["0x107d"]=阳炎兽
k1_11["0x7e"]=异热同心
k1_11["0x107e"]=异热同心武器
k1_11["0x207e"]=异热同心从者
k1_11["0x7f"]=霍普
k1_11["0x107f"]=希望皇 霍普
k1_11["0x207f"]=未来皇 霍普
k1_11["0x80"]=尘妖
k1_11["0x81"]=炎王
k1_11["0x1081"]=炎王兽
k1_11["0x82"]=怒怒怒
k1_11["0x83"]=人偶
k1_11["0x1083"]=机关傀儡
k1_11["0x1084"]=燃烧拳击手
k1_11["0x2084"]=燃烧拳
k1_11["0x85"]=超级防卫机器人
k1_11["0x86"]=光天使
k1_11["0x87"]=阴影
k1_11["0x88"]=武神
k1_11["0x89"]=洞
k1_11["0x108a"]=虫惑魔
k1_11["0x8b"]=食恶
k1_11["0x8d"]=鬼计
k1_11["0x8e"]=吸血鬼
k1_11["0x8f"]=刷拉拉
k1_11["0x90"]=森罗
k1_11["0x91"]=王家长眠之谷
k1_11["0x92"]=纹章
k1_11["0x93"]=电子
k1_11["0x1093"]=电子龙
k1_11["0x2093"]=电子化天使
k1_11["0x4093"]=电子暗黑
k1_11["0x94"]=电子科技
k1_11["0x95"]=升阶魔法
k1_11["0x96"]=电子鱼人
k1_11["0x97"]=古遗物
k1_11["0x98"]=魔术师
k1_11["0x99"]=异色眼
k1_11["0x9a"]=超重武者
k1_11["0x109a"]=超重武者装留
k1_11["0x9b"]=幻奏
k1_11["0x109b"]=幻奏的音姬
k1_11["0x9c"]=星骑士
k1_11["0x109c"]=星辉士
k1_11["0x9d"]=影依
k1_11["0x9e"]=龙星
k1_11["0x9f"]=娱乐伙伴
k1_11["0xa0"]=传说的骑士
k1_11["0xa1"]=传说之龙
k1_11["0x10a2"]=黑魔术
k1_11["0x20a2"]=魔术少女
k1_11["0x30a2"]=黑魔术少女
k1_11["0xa3"]=星尘
k1_11["0xa4"]=栗子球
k1_11["0x10a4"]=羽翼栗子球
k1_11["0xa5"]=变化
k1_11["0xa6"]=幼芽
k1_11["0xa7"]=阿托利斯
k1_11["0xa8"]=兰斯洛特
k1_11["0xa9"]=毛绒动物
k1_11["0xaa"]=机壳
k1_11["0x10aa"]=隐藏的机壳
k1_11["0xab"]=文具电子人
k1_11["0xac"]=哥布林
k1_11["0xad"]=魔玩具
k1_11["0xae"]=契约书
k1_11["0xaf"]=DD
k1_11["0x10af"]=DDD
k1_11["0xb0"]=加特姆士
k1_11["0xb1"]=彼岸
k1_11["0xb2"]=超级运动员
k1_11["0xb3"]=妖仙兽
k1_11["0xb4"]=影灵衣
k1_11["0xb5"]=灵兽
k1_11["0x10b5"]=灵兽使
k1_11["0x20b5"]=精灵兽
k1_11["0x40b5"]=圣灵兽骑
k1_11["0xb6"]=外神
k1_11["0xb7"]=旧神
k1_11["0xb8"]=古神
k1_11["0xb9"]=烈焰加农炮
k1_11["0xba"]=急袭猛禽
k1_11["0xbb"]=狱火机
k1_11["0xbc"]=人造人
k1_11["0xbd"]=暗黑骑士 盖亚
k1_11["0xbe"]=帝王
k1_11["0xbf"]=灵使
k1_11["0xc0"]=凭依
k1_11["0x10c0"]=凭依装着
k1_11["0xc1"]=PSY骨架
k1_11["0x10c1"]=PSY骨架装备
k1_11["0xc2"]=动力工具
k1_11["0xc3"]=锋利小鬼
k1_11["0xc4"]=神数
k1_11["0xc5"]=炼狱
k1_11["0xc6"]=娱乐法师
k1_11["0xc7"]=龙剑士
k1_11["0xc8"]=点火骑士
k1_11["0xc9"]=芳香
k1_11["0xca"]=魔装战士
k1_11["0xcb"]=以太神兵龙
k1_11["0xcc"]=占术姬
k1_11["0xcd"]=水伶女
k1_11["0xce"]=水族馆
k1_11["0xcf"]=混沌
k1_11["0x10cf"]=混沌战士
k1_11["0xd0"]=威风妖怪
k1_11["0xd1"]=灰篮
k1_11["0xd2"]=星际仙踪
k1_11["0xd3"]=坏兽
k1_11["0xd4"]=伯吉斯异兽
k1_11["0xd5"]=但丁
k1_11["0xd6"]=破坏剑
k1_11["0xd7"]=破坏之剑士
k1_11["0xd8"]=雾动机龙
k1_11["0xd9"]=不知火
k1_11["0x10d9"]=妖刀-不知火
k1_11["0xda"]=龙魔王
k1_11["0xdb"]=幻影
k1_11["0x10db"]=幻影骑士团
k1_11["0xdc"]=超级量子
k1_11["0x10dc"]=超级量子战士
k1_11["0x20dc"]=超级量子机兽
k1_11["0xdd"]=青眼
k1_11["0xde"]=艾克佐迪亚
k1_11["0xdf"]=月光
k1_11["0xe0"]=无形噬体
k1_11["0xe1"]=炼装
k1_11["0xe2"]=三形金字塔
k1_11["0xe3"]=方界
k1_11["0xe4"]=精灵剑士
k1_11["0xe5"]=光波
k1_11["0x10e5"]=光波龙
k1_11["0xe6"]=花札卫
k1_11["0xe7"]=沉默剑士
k1_11["0xe8"]=沉默魔术师
k1_11["0xe9"]=磁石战士
k1_11["0xea"]=水晶机巧
k1_11["0xeb"]=化合兽
k1_11["0x10ec"]=魔界剧团
k1_11["0x20ec"]=魔界台本
k1_11["0xed"]=地中族
k1_11["0x10ed"]=地中族邪界
k1_11["0xee"]=秘旋谍
k1_11["0x10ee"]=秘旋谍装备
k1_11["0x20ee"]=秘旋谍任务
k1_11["0xef"]=堕天使
k1_11["0xf0"]=风魔女
k1_11["0xf1"]=十二兽
k1_11["0xf2"]=灵摆
k1_11["0x10f2"]=灵摆龙
k1_11["0x20f2"]=灵摆读阵
k1_11["0xf3"]=捕食
k1_11["0x10f3"]=捕食植物
k1_11["0xf4"]=召唤兽
k1_11["0xf5"]=甘多拉
k1_11["0xf6"]=摩天楼
k1_11["0xf7"]=抒情歌鸲
k1_11["0x10f8"]=霸王门
k1_11["0x20f8"]=霸王眷龙
k1_11["0xf9"]=真龙
k1_11["0xfa"]=幻煌龙
k1_11["0xfb"]=淘气仙星
k1_11["0xfc"]=刚鬼
k1_11["0xfd"]=星杯
k1_11["0xfe"]=星遗物
k1_11["0xff"]=幻透翼
k1_11["0x100"]=化学结合
k1_11["0x101"]=码语者
k1_11["0x102"]=弹丸
k1_11["0x103"]=幻变骚灵
k1_11["0x104"]=机怪虫
k1_11["0x105"]=玄化
k1_11["0x106"]=复仇死者
k1_11["0x107"]=方程式运动员
k1_11["0x108"]=魔弹
k1_11["0x109"]=天气
k1_11["0x10a"]=珀耳修斯
k1_11["0x10b"]=廷达魔三角
k1_11["0x10c"]=机界骑士
k1_11["0x10d"]=魔导兽
k1_11["0x10e"]=进化药
k1_11["0x10f"]=枪管
k1_11["0x110"]=纳祭
k1_11["0x1110"]=眼纳祭神
k1_11["0x111"]=武装龙
k1_11["0x112"]=幻崩
k1_11["0x113"]=灵神
k1_11["0x114"]=空牙团
k1_11["0x115"]=闪刀
k1_11["0x1115"]=闪刀姬
k1_11["0x116"]=圣像骑士
k1_11["0x117"]=魔神仪
k1_11["0x118"]=电脑网
k1_11["0x119"]=转生炎兽
k1_11["0x11a"]=恐龙摔跤手
k1_11["0x11b"]=自奏圣乐
k1_11["0x11c"]=雷龙
k1_11["0x11d"]=禁忌的
k1_11["0x11e"]=未界域
k1_11["0x11f"]=奈芙提斯
k1_11["0x120"]=调皮宝贝
k1_11["0x121"]=魔妖
k1_11["0x122"]=女武神
k1_11["0x123"]=蔷薇
k1_11["0x1123"]=蔷薇龙
k1_11["0x124"]=机械天使
k1_11["0x125"]=笑容
k1_11["0x126"]=时间潜行者
k1_11["0x127"]=无限起动
k1_11["0x128"]=魔女术
k1_11["0x129"]=咒眼
k1_11["0x12a"]=恩底弥翁
k1_11["0x12b"]=海晶少女
k1_11["0x12c"]=天威
k1_11["0x12d"]=斯摩夫
k1_11["0x12e"]=占卜魔女
k1_11["0x12f"]=蜂军
k1_11["0x130"]=破械
k1_11["0x1130"]=破械神
k1_11["0x131"]=梦魔镜
k1_11["0x132"]=斩机
k1_11["0x133"]=半龙女仆
k1_11["0x134"]=王战
k1_11["0x135"]=@火灵天星
k1_11["0x136"]=“艾”
k1_11["0x137"]=战华
k1_11["0x138"]=巨石遗物
k1_11["0x139"]=守护神官
k1_11["0x13a"]=拟声
k1_11["0x13b"]=叛逆
k1_11["0x13c"]=代码破坏者
k1_11["0x13d"]=星义
k1_11["0x13e"]=巴巴罗斯
k1_11["0x13f"]=海造贼
k1_11["0x140"]=魔救
k1_11["0x141"]=六花
k1_11["0x1142"]=黄金国巫妖
k1_11["0x2142"]=黄金国永生药
k1_11["0x143"]=黄金乡
k1_11["0x144"]=幻魔
k1_11["0x145"]=教导
k1_11["0x146"]=童话动物
k1_11["0x147"]=波波
k1_11["0x148"]=罗兰
k1_11["0x149"]=化石
k1_11["0x14a"]=源数
k1_11["0x114a"]=源数之门
k1_11["0x14b"]=机块
k1_11["0x314c"]=地灵术
k1_11["0x514c"]=水灵术
k1_11["0x614c"]=火灵术
k1_11["0x914c"]=风灵术
k1_11["0x14d"]=铁兽
k1_11["0x14e"]=电脑堺
k1_11["0x114e"]=电脑堺门
k1_11["0x14f"]=双天
k1_11["0x150"]=大贤者
k1_11["0x1151"]=直播☆双子
k1_11["0x2151"]=邪恶★双子
k1_11["0x152"]=姬丝基勒
k1_11["0x153"]=璃拉
k1_11["0x154"]=龙辉巧
k1_11["0x155"]=护宝炮妖
k1_11["0x156"]=治安战警队
k1_11["0x157"]=秘异三变
k1_11["0x1158"]=圣蔓
k1_11["0x2158"]=圣天树
k1_11["0x4158"]=圣种
k1_11["0x159"]=圣夜骑士
k1_11["0x15a"]=人偶怪兽
k1_11["0x15b"]=惊乐
k1_11["0x15c"]=游乐设施
k1_11["0x15d"]=烙印
k1_11["0x15e"]=降阶魔法
k1_11["0x15f"]=战吼
k1_11["0x160"]=原质炉
k1_11["0x161"]=溟界
k1_11["0x162"]=七音服
k1_11["0x1162"]=大钢琴之七音服
k1_11["0x163"]=北极天熊
k1_11["0x164"]=死狱乡
k1_11["0x165"]=魔键
k1_11["0x166"]=军贯
k1_11["0x1167"]=森之圣兽
k1_11["0x2167"]=森之圣灵
k1_11["0x168"]=隐形水母怪
k1_11["0x169"]=原数天灵
k1_11["0x16a"]=编号系
k1_11["0x16b"]=相剑
k1_11["0x16c"]=冰水
k1_11["0x16d"]=随风旅鸟
k1_11["0x16e"]=拓扑
k1_11["0x16f"]=许珀里翁
k1_11["0x170"]=骑甲虫
k1_11["0x171"]=朋克
k1_11["0x172"]=救祓少女
k1_11["0x173"]=恐啡肽狂龙
k1_11["0x174"]=恶魔娘
k1_11["0x175"]=七皇
k1_11["0x176"]=异晶人的
k1_11["0x177"]=海龙神
k1_11["0x178"]=潜海
k1_11["0x179"]=兽带斗神
k1_11["0x17a"]=恐吓爪牙族
k1_11["0x17b"]=野蛮人
k1_11["0x17c"]=书灵师
k1_11["0x17d"]=群豪
k1_11["0x17e"]=拉比林斯迷宫
k1_11["0x117e"]=拉比林斯迷宫欢迎
k1_11["0x17f"]=神碑
k1_11["0x180"]=卫星闪灵
k1_11["0x181"]=珠泪哀歌族
k1_11["0x182"]=春化精
k1_11["0x183"]=悠悠
k1_11["0x184"]=翼侠
k1_11["0x1185"]=涂鸦兽
k1_11["0x2185"]=涂鸦本
k1_11["0x186"]=G石人
k1_11["0x187"]=桥梁
k1_11["0x188"]=深渊之兽
k1_11["0x189"]=俱舍怒威族
k1_11["0x18a"]=魊影
k1_11["0x18b"]=救援ACE队
k1_11["0x18c"]=纯爱妖精
k1_11["0x18d"]=御巫
k1_11["0x18e"]=仪水镜
k1_11["0x18f"]=防火
k1_11["0x190"]=末那愚子族
k1_11["0x191"]=妮穆蕾莉娅
k1_11["0x192"]=金傲大奖赛
k1_11["0x193"]=迷宫壁
k1_11["0x194"]=至爱
k1_11["0x195"]=征服斗魂
k1_11["0x196"]=新式魔厨
k1_11["0x197"]=食谱
k1_11["0x198"]=维萨斯
k1_11["0x199"]=反击
k1_11["0x19a"]=吠陀
k1_11["0x19b"]=迪亚贝尔斯塔尔
k1_11["0x19c"]=蛇眼
k1_11["0x19d"]=荷鲁斯
k1_11["0x19e"]=罪宝
k1_11["0x19f"]=圣菓使
k1_11["0x1a0"]=哈特
k1_11["0x1a1"]=莫忘
k1_11["0x1a2"]=百夫长骑士
k1_11["0x1a3"]=异响鸣
k1_11["0x1a4"]=蒂斯蒂娜
return k1_11
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

Modified 残局文料/普常量.lua from [2e8fe413f8] to [a780aab93e].

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






































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































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_11 = {}
k1_11["MIN_ID"]=1000
k1_11["MAX_ID"]=268435455
k1_11["MAX_COUNTER"]=65535
k1_11["MAX_PARAMETER"]=0xffff
k1_11["LOCATION_DECK"]=0x01
k1_11["LOCATION_HAND"]=0x02
k1_11["LOCATION_MZONE"]=0x04
k1_11["LOCATION_SZONE"]=0x08
k1_11["LOCATION_GRAVE"]=0x10
k1_11["LOCATION_REMOVED"]=0x20
k1_11["LOCATION_EXTRA"]=0x40
k1_11["LOCATION_OVERLAY"]=0x80
k1_11["LOCATION_ONFIELD"]=0x0c
k1_11["LOCATION_DECKBOT"]=0x10001
k1_11["LOCATION_DECKSHF"]=0x20001
k1_11["SEQ_DECKTOP"]=0
k1_11["SEQ_DECKBOTTOM"]=1
k1_11["SEQ_DECKSHUFFLE"]=2
k1_11["LOCATION_FZONE"]=0x100
k1_11["LOCATION_PZONE"]=0x200
k1_11["POS_FACEUP_ATTACK"]=0x1
k1_11["POS_FACEDOWN_ATTACK"]=0x2
k1_11["POS_FACEUP_DEFENSE"]=0x4
k1_11["POS_FACEDOWN_DEFENSE"]=0x8
k1_11["POS_FACEUP"]=0x5
k1_11["POS_FACEDOWN"]=0xa
k1_11["POS_ATTACK"]=0x3
k1_11["POS_DEFENSE"]=0xc
k1_11["NO_FLIP_EFFECT"]=0x10000
k1_11["TYPE_MONSTER"]=0x1
k1_11["TYPE_SPELL"]=0x2
k1_11["TYPE_TRAP"]=0x4
k1_11["TYPE_NORMAL"]=0x10
k1_11["TYPE_EFFECT"]=0x20
k1_11["TYPE_FUSION"]=0x40
k1_11["TYPE_RITUAL"]=0x80
k1_11["TYPE_TRAPMONSTER"]=0x100
k1_11["TYPE_SPIRIT"]=0x200
k1_11["TYPE_UNION"]=0x400
k1_11["TYPE_DUAL"]=0x800
k1_11["TYPE_TUNER"]=0x1000
k1_11["TYPE_SYNCHRO"]=0x2000
k1_11["TYPE_TOKEN"]=0x4000
k1_11["TYPE_QUICKPLAY"]=0x10000
k1_11["TYPE_CONTINUOUS"]=0x20000
k1_11["TYPE_EQUIP"]=0x40000
k1_11["TYPE_FIELD"]=0x80000
k1_11["TYPE_COUNTER"]=0x100000
k1_11["TYPE_FLIP"]=0x200000
k1_11["TYPE_TOON"]=0x400000
k1_11["TYPE_XYZ"]=0x800000
k1_11["TYPE_PENDULUM"]=0x1000000
k1_11["TYPE_SPSUMMON"]=0x2000000
k1_11["TYPE_LINK"]=0x4000000
k1_11["TYPES_TOKEN_MONSTER"]=0x4011
k1_11["TYPES_NORMAL_TRAP_MONSTER"]=0x111
k1_11["TYPES_EFFECT_TRAP_MONSTER"]=0x121
k1_11["ATTRIBUTE_ALL"]=0x7f
k1_11["ATTRIBUTE_EARTH"]=0x01
k1_11["ATTRIBUTE_WATER"]=0x02
k1_11["ATTRIBUTE_FIRE"]=0x04
k1_11["ATTRIBUTE_WIND"]=0x08
k1_11["ATTRIBUTE_LIGHT"]=0x10
k1_11["ATTRIBUTE_DARK"]=0x20
k1_11["ATTRIBUTE_DIVINE"]=0x40
k1_11["RACE_ALL"]=0x3ffffff
k1_11["RACE_WARRIOR"]=0x1
k1_11["RACE_SPELLCASTER"]=0x2
k1_11["RACE_FAIRY"]=0x4
k1_11["RACE_FIEND"]=0x8
k1_11["RACE_ZOMBIE"]=0x10
k1_11["RACE_MACHINE"]=0x20
k1_11["RACE_AQUA"]=0x40
k1_11["RACE_PYRO"]=0x80
k1_11["RACE_ROCK"]=0x100
k1_11["RACE_WINDBEAST"]=0x200
k1_11["RACE_PLANT"]=0x400
k1_11["RACE_INSECT"]=0x800
k1_11["RACE_THUNDER"]=0x1000
k1_11["RACE_DRAGON"]=0x2000
k1_11["RACE_BEAST"]=0x4000
k1_11["RACE_BEASTWARRIOR"]=0x8000
k1_11["RACE_DINOSAUR"]=0x10000
k1_11["RACE_FISH"]=0x20000
k1_11["RACE_SEASERPENT"]=0x40000
k1_11["RACE_REPTILE"]=0x80000
k1_11["RACE_PSYCHO"]=0x100000
k1_11["RACE_DIVINE"]=0x200000
k1_11["RACE_CREATORGOD"]=0x400000
k1_11["RACE_WYRM"]=0x800000
k1_11["RACE_CYBERSE"]=0x1000000
k1_11["RACE_ILLUSION"]=0x2000000
k1_11["REASON_DESTROY"]=0x1
k1_11["REASON_RELEASE"]=0x2
k1_11["REASON_TEMPORARY"]=0x4
k1_11["REASON_MATERIAL"]=0x8
k1_11["REASON_SUMMON"]=0x10
k1_11["REASON_BATTLE"]=0x20
k1_11["REASON_EFFECT"]=0x40
k1_11["REASON_COST"]=0x80
k1_11["REASON_ADJUST"]=0x100
k1_11["REASON_LOST_TARGET"]=0x200
k1_11["REASON_RULE"]=0x400
k1_11["REASON_SPSUMMON"]=0x800
k1_11["REASON_DISSUMMON"]=0x1000
k1_11["REASON_FLIP"]=0x2000
k1_11["REASON_DISCARD"]=0x4000
k1_11["REASON_RDAMAGE"]=0x8000
k1_11["REASON_RRECOVER"]=0x10000
k1_11["REASON_RETURN"]=0x20000
k1_11["REASON_FUSION"]=0x40000
k1_11["REASON_SYNCHRO"]=0x80000
k1_11["REASON_RITUAL"]=0x100000
k1_11["REASON_XYZ"]=0x200000
k1_11["REASON_REPLACE"]=0x1000000
k1_11["REASON_DRAW"]=0x2000000
k1_11["REASON_REDIRECT"]=0x4000000
k1_11["REASON_REVEAL"]=0x8000000
k1_11["REASON_LINK"]=0x10000000
k1_11["REASON_LOST_OVERLAY"]=0x20000000
k1_11["LOCATION_REASON_TOFIELD"]=0x1
k1_11["LOCATION_REASON_CONTROL"]=0x2
k1_11["SUMMON_TYPE_NORMAL"]=0x10000000
k1_11["SUMMON_TYPE_ADVANCE"]=0x11000000
k1_11["SUMMON_TYPE_DUAL"]=0x12000000
k1_11["SUMMON_TYPE_FLIP"]=0x20000000
k1_11["SUMMON_TYPE_SPECIAL"]=0x40000000
k1_11["SUMMON_TYPE_FUSION"]=0x43000000
k1_11["SUMMON_TYPE_RITUAL"]=0x45000000
k1_11["SUMMON_TYPE_SYNCHRO"]=0x46000000
k1_11["SUMMON_TYPE_XYZ"]=0x49000000
k1_11["SUMMON_TYPE_PENDULUM"]=0x4a000000
k1_11["SUMMON_TYPE_LINK"]=0x4c000000
k1_11["SUMMON_VALUE_SELF"]=0x1
k1_11["SUMMON_VALUE_BLACK_GARDEN"]=0x10
k1_11["SUMMON_VALUE_SYNCHRO_MATERIAL"]=0x11
k1_11["SUMMON_VALUE_DARK_SANCTUARY"]=0x12
k1_11["SUMMON_VALUE_MONSTER_REBORN"]=0x13
k1_11["SUMMON_VALUE_LV"]=0x1000
k1_11["SUMMON_VALUE_GLADIATOR"]=0x2000
k1_11["SUMMON_VALUE_EVOLTILE"]=0x4000
k1_11["SUMMON_VALUE_NOUVELLEZ"]=0x8000
k1_11["STATUS_DISABLED"]=0x0001
k1_11["STATUS_TO_ENABLE"]=0x0002
k1_11["STATUS_TO_DISABLE"]=0x0004
k1_11["STATUS_PROC_COMPLETE"]=0x0008
k1_11["STATUS_SET_TURN"]=0x0010
k1_11["STATUS_NO_LEVEL"]=0x0020
k1_11["STATUS_BATTLE_RESULT"]=0x0040
k1_11["STATUS_SPSUMMON_STEP"]=0x0080
k1_11["STATUS_FORM_CHANGED"]=0x0100
k1_11["STATUS_SUMMONING"]=0x0200
k1_11["STATUS_EFFECT_ENABLED"]=0x0400
k1_11["STATUS_SUMMON_TURN"]=0x0800
k1_11["STATUS_DESTROY_CONFIRMED"]=0x1000
k1_11["STATUS_LEAVE_CONFIRMED"]=0x2000
k1_11["STATUS_BATTLE_DESTROYED"]=0x4000
k1_11["STATUS_COPYING_EFFECT"]=0x8000
k1_11["STATUS_CHAINING"]=0x10000
k1_11["STATUS_SUMMON_DISABLED"]=0x20000
k1_11["STATUS_ACTIVATE_DISABLED"]=0x40000
k1_11["STATUS_EFFECT_REPLACED"]=0x80000
k1_11["STATUS_FUTURE_FUSION"]=0x100000
k1_11["STATUS_ATTACK_CANCELED"]=0x200000
k1_11["STATUS_INITIALIZING"]=0x400000
k1_11["STATUS_TO_HAND_WITHOUT_CONFIRM"]=0x800000
k1_11["STATUS_JUST_POS"]=0x1000000
k1_11["STATUS_CONTINUOUS_POS"]=0x2000000
k1_11["STATUS_FORBIDDEN"]=0x4000000
k1_11["STATUS_ACT_FROM_HAND"]=0x8000000
k1_11["STATUS_OPPO_BATTLE"]=0x10000000
k1_11["STATUS_FLIP_SUMMON_TURN"]=0x20000000
k1_11["STATUS_SPSUMMON_TURN"]=0x40000000
k1_11["ASSUME_CODE"]=1
k1_11["ASSUME_TYPE"]=2
k1_11["ASSUME_LEVEL"]=3
k1_11["ASSUME_RANK"]=4
k1_11["ASSUME_ATTRIBUTE"]=5
k1_11["ASSUME_RACE"]=6
k1_11["ASSUME_ATTACK"]=7
k1_11["ASSUME_DEFENSE"]=8
k1_11["LINK_MARKER_BOTTOM_LEFT"]=0x001
k1_11["LINK_MARKER_BOTTOM"]=0x002
k1_11["LINK_MARKER_BOTTOM_RIGHT"]=0x004
k1_11["LINK_MARKER_LEFT"]=0x008
k1_11["LINK_MARKER_RIGHT"]=0x020
k1_11["LINK_MARKER_TOP_LEFT"]=0x040
k1_11["LINK_MARKER_TOP"]=0x080
k1_11["LINK_MARKER_TOP_RIGHT"]=0x100
k1_11["COUNTER_WITHOUT_PERMIT"]=0x1000
k1_11["COUNTER_NEED_ENABLE"]=0x2000
k1_11["PHASE_DRAW"]=0x01
k1_11["PHASE_STANDBY"]=0x02
k1_11["PHASE_MAIN1"]=0x04
k1_11["PHASE_BATTLE_START"]=0x08
k1_11["PHASE_BATTLE_STEP"]=0x10
k1_11["PHASE_DAMAGE"]=0x20
k1_11["PHASE_DAMAGE_CAL"]=0x40
k1_11["PHASE_BATTLE"]=0x80
k1_11["PHASE_MAIN2"]=0x100
k1_11["PHASE_END"]=0x200
k1_11["PLAYER_NONE"]=2
k1_11["PLAYER_ALL"]=3
k1_11["CHAININFO_CHAIN_COUNT"]=0x01
k1_11["CHAININFO_TRIGGERING_EFFECT"]=0x02
k1_11["CHAININFO_TRIGGERING_PLAYER"]=0x04
k1_11["CHAININFO_TRIGGERING_CONTROLER"]=0x08
k1_11["CHAININFO_TRIGGERING_LOCATION"]=0x10
k1_11["CHAININFO_TRIGGERING_SEQUENCE"]=0x20
k1_11["CHAININFO_TARGET_CARDS"]=0x40
k1_11["CHAININFO_TARGET_PLAYER"]=0x80
k1_11["CHAININFO_TARGET_PARAM"]=0x100
k1_11["CHAININFO_DISABLE_REASON"]=0x200
k1_11["CHAININFO_DISABLE_PLAYER"]=0x400
k1_11["CHAININFO_CHAIN_ID"]=0x800
k1_11["CHAININFO_TYPE"]=0x1000
k1_11["CHAININFO_EXTTYPE"]=0x2000
k1_11["CHAININFO_TRIGGERING_POSITION"]=0x4000
k1_11["CHAININFO_TRIGGERING_CODE"]=0x8000
k1_11["CHAININFO_TRIGGERING_CODE2"]=0x10000
k1_11["CHAININFO_TRIGGERING_LEVEL"]=0x40000
k1_11["CHAININFO_TRIGGERING_RANK"]=0x80000
k1_11["CHAININFO_TRIGGERING_ATTRIBUTE"]=0x100000
k1_11["CHAININFO_TRIGGERING_RACE"]=0x200000
k1_11["CHAININFO_TRIGGERING_ATTACK"]=0x400000
k1_11["CHAININFO_TRIGGERING_DEFENSE"]=0x800000
k1_11["RESET_SELF_TURN"]=0x10000000
k1_11["RESET_OPPO_TURN"]=0x20000000
k1_11["RESET_PHASE"]=0x40000000
k1_11["RESET_CHAIN"]=0x80000000
k1_11["RESET_EVENT"]=0x1000
k1_11["RESET_CARD"]=0x2000
k1_11["RESET_CODE"]=0x4000
k1_11["RESET_COPY"]=0x8000
k1_11["RESET_DISABLE"]=0x00010000
k1_11["RESET_TURN_SET"]=0x00020000
k1_11["RESET_TOGRAVE"]=0x00040000
k1_11["RESET_REMOVE"]=0x00080000
k1_11["RESET_TEMP_REMOVE"]=0x00100000
k1_11["RESET_TOHAND"]=0x00200000
k1_11["RESET_TODECK"]=0x00400000
k1_11["RESET_LEAVE"]=0x00800000
k1_11["RESET_TOFIELD"]=0x01000000
k1_11["RESET_CONTROL"]=0x02000000
k1_11["RESET_OVERLAY"]=0x04000000
k1_11["RESET_MSCHANGE"]=0x08000000
k1_11["RESETS_STANDARD"]=0x1fe0000
k1_11["RESETS_REDIRECT"]=0xc7e0000
k1_11["RESETS_WITHOUT_TEMP_REMOVE"]=0x56e0000
k1_11["EFFECT_TYPE_SINGLE"]=0x0001
k1_11["EFFECT_TYPE_FIELD"]=0x0002
k1_11["EFFECT_TYPE_EQUIP"]=0x0004
k1_11["EFFECT_TYPE_ACTIONS"]=0x0008
k1_11["EFFECT_TYPE_ACTIVATE"]=0x0010
k1_11["EFFECT_TYPE_FLIP"]=0x0020
k1_11["EFFECT_TYPE_IGNITION"]=0x0040
k1_11["EFFECT_TYPE_TRIGGER_O"]=0x0080
k1_11["EFFECT_TYPE_QUICK_O"]=0x0100
k1_11["EFFECT_TYPE_TRIGGER_F"]=0x0200
k1_11["EFFECT_TYPE_QUICK_F"]=0x0400
k1_11["EFFECT_TYPE_CONTINUOUS"]=0x0800
k1_11["EFFECT_TYPE_XMATERIAL"]=0x1000
k1_11["EFFECT_TYPE_GRANT"]=0x2000
k1_11["EFFECT_TYPE_TARGET"]=0x4000
k1_11["EFFECT_FLAG_INITIAL"]=0x0001
k1_11["EFFECT_FLAG_FUNC_VALUE"]=0x0002
k1_11["EFFECT_FLAG_COUNT_LIMIT"]=0x0004
k1_11["EFFECT_FLAG_FIELD_ONLY"]=0x0008
k1_11["EFFECT_FLAG_CARD_TARGET"]=0x0010
k1_11["EFFECT_FLAG_IGNORE_RANGE"]=0x0020
k1_11["EFFECT_FLAG_ABSOLUTE_TARGET"]=0x0040
k1_11["EFFECT_FLAG_IGNORE_IMMUNE"]=0x0080
k1_11["EFFECT_FLAG_SET_AVAILABLE"]=0x0100
k1_11["EFFECT_FLAG_CANNOT_NEGATE"]=0x0200
k1_11["EFFECT_FLAG_CANNOT_DISABLE"]=0x0400
k1_11["EFFECT_FLAG_PLAYER_TARGET"]=0x0800
k1_11["EFFECT_FLAG_BOTH_SIDE"]=0x1000
k1_11["EFFECT_FLAG_COPY_INHERIT"]=0x2000
k1_11["EFFECT_FLAG_DAMAGE_STEP"]=0x4000
k1_11["EFFECT_FLAG_DAMAGE_CAL"]=0x8000
k1_11["EFFECT_FLAG_DELAY"]=0x10000
k1_11["EFFECT_FLAG_SINGLE_RANGE"]=0x20000
k1_11["EFFECT_FLAG_UNCOPYABLE"]=0x40000
k1_11["EFFECT_FLAG_OATH"]=0x80000
k1_11["EFFECT_FLAG_SPSUM_PARAM"]=0x100000
k1_11["EFFECT_FLAG_REPEAT"]=0x200000
k1_11["EFFECT_FLAG_NO_TURN_RESET"]=0x400000
k1_11["EFFECT_FLAG_EVENT_PLAYER"]=0x800000
k1_11["EFFECT_FLAG_OWNER_RELATE"]=0x1000000
k1_11["EFFECT_FLAG_CANNOT_INACTIVATE"]=0x2000000
k1_11["EFFECT_FLAG_CLIENT_HINT"]=0x4000000
k1_11["EFFECT_FLAG_CONTINUOUS_TARGET"]=0x8000000
k1_11["EFFECT_FLAG_LIMIT_ZONE"]=0x10000000
k1_11["EFFECT_FLAG_COF"]=0x20000000
k1_11["EFFECT_FLAG_CVAL_CHECK"]=0x40000000
k1_11["EFFECT_FLAG_IMMEDIATELY_APPLY"]=0x80000000
k1_11["EFFECT_FLAG2_REPEAT_UPDATE"]=0x0001
k1_11["EFFECT_FLAG2_COF"]=0x0002
k1_11["EFFECT_FLAG2_WICKED"]=0x0004
k1_11["EFFECT_FLAG2_OPTION"]=0x0008
k1_11["EFFECT_IMMUNE_EFFECT"]=1
k1_11["EFFECT_DISABLE"]=2
k1_11["EFFECT_CANNOT_DISABLE"]=3
k1_11["EFFECT_SET_CONTROL"]=4
k1_11["EFFECT_CANNOT_CHANGE_CONTROL"]=5
k1_11["EFFECT_CANNOT_ACTIVATE"]=6
k1_11["EFFECT_CANNOT_TRIGGER"]=7
k1_11["EFFECT_DISABLE_EFFECT"]=8
k1_11["EFFECT_DISABLE_CHAIN"]=9
k1_11["EFFECT_DISABLE_TRAPMONSTER"]=10
k1_11["EFFECT_CANNOT_INACTIVATE"]=12
k1_11["EFFECT_CANNOT_DISEFFECT"]=13
k1_11["EFFECT_CANNOT_CHANGE_POSITION"]=14
k1_11["EFFECT_TRAP_ACT_IN_HAND"]=15
k1_11["EFFECT_TRAP_ACT_IN_SET_TURN"]=16
k1_11["EFFECT_REMAIN_FIELD"]=17
k1_11["EFFECT_MONSTER_SSET"]=18
k1_11["EFFECT_CANNOT_SUMMON"]=20
k1_11["EFFECT_CANNOT_FLIP_SUMMON"]=21
k1_11["EFFECT_CANNOT_SPECIAL_SUMMON"]=22
k1_11["EFFECT_CANNOT_MSET"]=23
k1_11["EFFECT_CANNOT_SSET"]=24
k1_11["EFFECT_CANNOT_DRAW"]=25
k1_11["EFFECT_CANNOT_DISABLE_SUMMON"]=26
k1_11["EFFECT_CANNOT_DISABLE_SPSUMMON"]=27
k1_11["EFFECT_SET_SUMMON_COUNT_LIMIT"]=28
k1_11["EFFECT_EXTRA_SUMMON_COUNT"]=29
k1_11["EFFECT_SPSUMMON_CONDITION"]=30
k1_11["EFFECT_REVIVE_LIMIT"]=31
k1_11["EFFECT_SUMMON_PROC"]=32
k1_11["EFFECT_LIMIT_SUMMON_PROC"]=33
k1_11["EFFECT_SPSUMMON_PROC"]=34
k1_11["EFFECT_EXTRA_SET_COUNT"]=35
k1_11["EFFECT_SET_PROC"]=36
k1_11["EFFECT_LIMIT_SET_PROC"]=37
k1_11["EFFECT_DIVINE_LIGHT"]=38
k1_11["EFFECT_CANNOT_DISABLE_FLIP_SUMMON"]=39
k1_11["EFFECT_INDESTRUCTABLE"]=40
k1_11["EFFECT_INDESTRUCTABLE_EFFECT"]=41
k1_11["EFFECT_INDESTRUCTABLE_BATTLE"]=42
k1_11["EFFECT_UNRELEASABLE_SUM"]=43
k1_11["EFFECT_UNRELEASABLE_NONSUM"]=44
k1_11["EFFECT_DESTROY_SUBSTITUTE"]=45
k1_11["EFFECT_CANNOT_RELEASE"]=46
k1_11["EFFECT_INDESTRUCTABLE_COUNT"]=47
k1_11["EFFECT_UNRELEASABLE_EFFECT"]=48
k1_11["EFFECT_DESTROY_REPLACE"]=50
k1_11["EFFECT_RELEASE_REPLACE"]=51
k1_11["EFFECT_SEND_REPLACE"]=52
k1_11["EFFECT_CANNOT_DISCARD_HAND"]=55
k1_11["EFFECT_CANNOT_DISCARD_DECK"]=56
k1_11["EFFECT_CANNOT_USE_AS_COST"]=57
k1_11["EFFECT_CANNOT_PLACE_COUNTER"]=58
k1_11["EFFECT_CANNOT_TO_GRAVE_AS_COST"]=59
k1_11["EFFECT_LEAVE_FIELD_REDIRECT"]=60
k1_11["EFFECT_TO_HAND_REDIRECT"]=61
k1_11["EFFECT_TO_DECK_REDIRECT"]=62
k1_11["EFFECT_TO_GRAVE_REDIRECT"]=63
k1_11["EFFECT_REMOVE_REDIRECT"]=64
k1_11["EFFECT_CANNOT_TO_HAND"]=65
k1_11["EFFECT_CANNOT_TO_DECK"]=66
k1_11["EFFECT_CANNOT_REMOVE"]=67
k1_11["EFFECT_CANNOT_TO_GRAVE"]=68
k1_11["EFFECT_CANNOT_TURN_SET"]=69
k1_11["EFFECT_CANNOT_BE_BATTLE_TARGET"]=70
k1_11["EFFECT_CANNOT_BE_EFFECT_TARGET"]=71
k1_11["EFFECT_IGNORE_BATTLE_TARGET"]=72
k1_11["EFFECT_CANNOT_DIRECT_ATTACK"]=73
k1_11["EFFECT_DIRECT_ATTACK"]=74
k1_11["EFFECT_DUAL_STATUS"]=75
k1_11["EFFECT_EQUIP_LIMIT"]=76
k1_11["EFFECT_DUAL_SUMMONABLE"]=77
k1_11["EFFECT_UNION_LIMIT"]=78
k1_11["EFFECT_REVERSE_DAMAGE"]=80
k1_11["EFFECT_REVERSE_RECOVER"]=81
k1_11["EFFECT_CHANGE_DAMAGE"]=82
k1_11["EFFECT_REFLECT_DAMAGE"]=83
k1_11["EFFECT_CANNOT_ATTACK"]=85
k1_11["EFFECT_CANNOT_ATTACK_ANNOUNCE"]=86
k1_11["EFFECT_CANNOT_CHANGE_POS_E"]=87
k1_11["EFFECT_ACTIVATE_COST"]=90
k1_11["EFFECT_SUMMON_COST"]=91
k1_11["EFFECT_SPSUMMON_COST"]=92
k1_11["EFFECT_FLIPSUMMON_COST"]=93
k1_11["EFFECT_MSET_COST"]=94
k1_11["EFFECT_SSET_COST"]=95
k1_11["EFFECT_ATTACK_COST"]=96
k1_11["EFFECT_UPDATE_ATTACK"]=100
k1_11["EFFECT_SET_ATTACK"]=101
k1_11["EFFECT_SET_ATTACK_FINAL"]=102
k1_11["EFFECT_SET_BASE_ATTACK"]=103
k1_11["EFFECT_UPDATE_DEFENSE"]=104
k1_11["EFFECT_SET_DEFENSE"]=105
k1_11["EFFECT_SET_DEFENSE_FINAL"]=106
k1_11["EFFECT_SET_BASE_DEFENSE"]=107
k1_11["EFFECT_REVERSE_UPDATE"]=108
k1_11["EFFECT_SWAP_AD"]=109
k1_11["EFFECT_SWAP_BASE_AD"]=110
k1_11["EFFECT_SET_BASE_ATTACK_FINAL"]=111
k1_11["EFFECT_SET_BASE_DEFENSE_FINAL"]=112
k1_11["EFFECT_ADD_CODE"]=113
k1_11["EFFECT_CHANGE_CODE"]=114
k1_11["EFFECT_ADD_TYPE"]=115
k1_11["EFFECT_REMOVE_TYPE"]=116
k1_11["EFFECT_CHANGE_TYPE"]=117
k1_11["EFFECT_ADD_RACE"]=120
k1_11["EFFECT_REMOVE_RACE"]=121
k1_11["EFFECT_CHANGE_RACE"]=122
k1_11["EFFECT_ADD_ATTRIBUTE"]=125
k1_11["EFFECT_REMOVE_ATTRIBUTE"]=126
k1_11["EFFECT_CHANGE_ATTRIBUTE"]=127
k1_11["EFFECT_UPDATE_LEVEL"]=130
k1_11["EFFECT_CHANGE_LEVEL"]=131
k1_11["EFFECT_UPDATE_RANK"]=132
k1_11["EFFECT_CHANGE_RANK"]=133
k1_11["EFFECT_UPDATE_LSCALE"]=134
k1_11["EFFECT_CHANGE_LSCALE"]=135
k1_11["EFFECT_UPDATE_RSCALE"]=136
k1_11["EFFECT_CHANGE_RSCALE"]=137
k1_11["EFFECT_SET_POSITION"]=140
k1_11["EFFECT_SELF_DESTROY"]=141
k1_11["EFFECT_SELF_TOGRAVE"]=142
k1_11["EFFECT_DOUBLE_TRIBUTE"]=150
k1_11["EFFECT_DECREASE_TRIBUTE"]=151
k1_11["EFFECT_DECREASE_TRIBUTE_SET"]=152
k1_11["EFFECT_EXTRA_RELEASE"]=153
k1_11["EFFECT_TRIBUTE_LIMIT"]=154
k1_11["EFFECT_EXTRA_RELEASE_SUM"]=155
k1_11["EFFECT_TRIPLE_TRIBUTE"]=156
k1_11["EFFECT_ADD_EXTRA_TRIBUTE"]=157
k1_11["EFFECT_EXTRA_RELEASE_NONSUM"]=158
k1_11["EFFECT_PUBLIC"]=160
k1_11["EFFECT_COUNTER_PERMIT"]=0x10000
k1_11["EFFECT_COUNTER_LIMIT"]=0x20000
k1_11["EFFECT_RCOUNTER_REPLACE"]=0x30000
k1_11["EFFECT_LPCOST_CHANGE"]=170
k1_11["EFFECT_LPCOST_REPLACE"]=171
k1_11["EFFECT_SKIP_DP"]=180
k1_11["EFFECT_SKIP_SP"]=181
k1_11["EFFECT_SKIP_M1"]=182
k1_11["EFFECT_SKIP_BP"]=183
k1_11["EFFECT_SKIP_M2"]=184
k1_11["EFFECT_CANNOT_BP"]=185
k1_11["EFFECT_CANNOT_M2"]=186
k1_11["EFFECT_CANNOT_EP"]=187
k1_11["EFFECT_SKIP_TURN"]=188
k1_11["EFFECT_DEFENSE_ATTACK"]=190
k1_11["EFFECT_MUST_ATTACK"]=191
k1_11["EFFECT_FIRST_ATTACK"]=192
k1_11["EFFECT_ATTACK_ALL"]=193
k1_11["EFFECT_EXTRA_ATTACK"]=194
k1_11["EFFECT_MUST_BE_ATTACKED"]=195
k1_11["EFFECT_ONLY_BE_ATTACKED"]=196
k1_11["EFFECT_ATTACK_DISABLED"]=197
k1_11["EFFECT_NO_BATTLE_DAMAGE"]=200
k1_11["EFFECT_AVOID_BATTLE_DAMAGE"]=201
k1_11["EFFECT_REFLECT_BATTLE_DAMAGE"]=202
k1_11["EFFECT_PIERCE"]=203
k1_11["EFFECT_BATTLE_DESTROY_REDIRECT"]=204
k1_11["EFFECT_BATTLE_DAMAGE_TO_EFFECT"]=205
k1_11["EFFECT_BOTH_BATTLE_DAMAGE"]=206
k1_11["EFFECT_ALSO_BATTLE_DAMAGE"]=207
k1_11["EFFECT_CHANGE_BATTLE_DAMAGE"]=208
k1_11["EFFECT_TOSS_COIN_REPLACE"]=220
k1_11["EFFECT_TOSS_DICE_REPLACE"]=221
k1_11["EFFECT_FUSION_MATERIAL"]=230
k1_11["EFFECT_CHAIN_MATERIAL"]=231
k1_11["EFFECT_EXTRA_SYNCHRO_MATERIAL"]=232
k1_11["EFFECT_XYZ_MATERIAL"]=233
k1_11["EFFECT_FUSION_SUBSTITUTE"]=234
k1_11["EFFECT_CANNOT_BE_FUSION_MATERIAL"]=235
k1_11["EFFECT_CANNOT_BE_SYNCHRO_MATERIAL"]=236
k1_11["EFFECT_SYNCHRO_MATERIAL_CUSTOM"]=237
k1_11["EFFECT_CANNOT_BE_XYZ_MATERIAL"]=238
k1_11["EFFECT_CANNOT_BE_LINK_MATERIAL"]=239
k1_11["EFFECT_SYNCHRO_LEVEL"]=240
k1_11["EFFECT_RITUAL_LEVEL"]=241
k1_11["EFFECT_XYZ_LEVEL"]=242
k1_11["EFFECT_EXTRA_RITUAL_MATERIAL"]=243
k1_11["EFFECT_NONTUNER"]=244
k1_11["EFFECT_OVERLAY_REMOVE_REPLACE"]=245
k1_11["EFFECT_SCRAP_CHIMERA"]=246
k1_11["EFFECT_TUNE_MAGICIAN_X"]=247
k1_11["EFFECT_TUNE_MAGICIAN_F"]=248
k1_11["EFFECT_PRE_MONSTER"]=250
k1_11["EFFECT_MATERIAL_CHECK"]=251
k1_11["EFFECT_DISABLE_FIELD"]=260
k1_11["EFFECT_USE_EXTRA_MZONE"]=261
k1_11["EFFECT_USE_EXTRA_SZONE"]=262
k1_11["EFFECT_MAX_MZONE"]=263
k1_11["EFFECT_MAX_SZONE"]=264
k1_11["EFFECT_MUST_USE_MZONE"]=265
k1_11["EFFECT_HAND_LIMIT"]=270
k1_11["EFFECT_DRAW_COUNT"]=271
k1_11["EFFECT_SPIRIT_DONOT_RETURN"]=280
k1_11["EFFECT_SPIRIT_MAYNOT_RETURN"]=281
k1_11["EFFECT_CHANGE_ENVIRONMENT"]=290
k1_11["EFFECT_NECRO_VALLEY"]=291
k1_11["EFFECT_FORBIDDEN"]=292
k1_11["EFFECT_NECRO_VALLEY_IM"]=293
k1_11["EFFECT_REVERSE_DECK"]=294
k1_11["EFFECT_REMOVE_BRAINWASHING"]=295
k1_11["EFFECT_BP_TWICE"]=296
k1_11["EFFECT_UNIQUE_CHECK"]=297
k1_11["EFFECT_MATCH_KILL"]=300
k1_11["EFFECT_SYNCHRO_CHECK"]=310
k1_11["EFFECT_QP_ACT_IN_NTPHAND"]=311
k1_11["EFFECT_MUST_BE_SMATERIAL"]=312
k1_11["EFFECT_TO_GRAVE_REDIRECT_CB"]=313
k1_11["EFFECT_CHANGE_INVOLVING_BATTLE_DAMAGE"]=314
k1_11["EFFECT_CHANGE_RANK_FINAL"]=315
k1_11["EFFECT_MUST_BE_FMATERIAL"]=316
k1_11["EFFECT_MUST_BE_XMATERIAL"]=317
k1_11["EFFECT_MUST_BE_LMATERIAL"]=318
k1_11["EFFECT_SPSUMMON_PROC_G"]=320
k1_11["EFFECT_SPSUMMON_COUNT_LIMIT"]=330
k1_11["EFFECT_LEFT_SPSUMMON_COUNT"]=331
k1_11["EFFECT_CANNOT_SELECT_BATTLE_TARGET"]=332
k1_11["EFFECT_CANNOT_SELECT_EFFECT_TARGET"]=333
k1_11["EFFECT_ADD_SETCODE"]=334
k1_11["EFFECT_NO_EFFECT_DAMAGE"]=335
k1_11["EFFECT_UNSUMMONABLE_CARD"]=336
k1_11["EFFECT_DISABLE_CHAIN_FIELD"]=337
k1_11["EFFECT_DISCARD_COST_CHANGE"]=338
k1_11["EFFECT_HAND_SYNCHRO"]=339
k1_11["EFFECT_ADD_FUSION_CODE"]=340
k1_11["EFFECT_ADD_FUSION_SETCODE"]=341
k1_11["EFFECT_RISE_TO_FULL_HEIGHT"]=342
k1_11["EFFECT_ONLY_ATTACK_MONSTER"]=343
k1_11["EFFECT_MUST_ATTACK_MONSTER"]=344
k1_11["EFFECT_PATRICIAN_OF_DARKNESS"]=345
k1_11["EFFECT_EXTRA_ATTACK_MONSTER"]=346
k1_11["EFFECT_UNION_STATUS"]=347
k1_11["EFFECT_OLDUNION_STATUS"]=348
k1_11["EFFECT_ADD_FUSION_ATTRIBUTE"]=349
k1_11["EFFECT_REMOVE_FUSION_ATTRIBUTE"]=350
k1_11["EFFECT_CHANGE_FUSION_ATTRIBUTE"]=351
k1_11["EFFECT_EXTRA_FUSION_MATERIAL"]=352
k1_11["EFFECT_TUNER_MATERIAL_LIMIT"]=353
k1_11["EFFECT_ADD_LINK_CODE"]=354
k1_11["EFFECT_ADD_LINK_SETCODE"]=355
k1_11["EFFECT_ADD_LINK_ATTRIBUTE"]=356
k1_11["EFFECT_ADD_LINK_RACE"]=357
k1_11["EFFECT_EXTRA_LINK_MATERIAL"]=358
k1_11["EFFECT_QP_ACT_IN_SET_TURN"]=359
k1_11["EFFECT_EXTRA_PENDULUM_SUMMON"]=360
k1_11["EFFECT_MATERIAL_LIMIT"]=361
k1_11["EFFECT_SET_BATTLE_ATTACK"]=362
k1_11["EFFECT_SET_BATTLE_DEFENSE"]=363
k1_11["EFFECT_OVERLAY_RITUAL_MATERIAL"]=364
k1_11["EFFECT_CHANGE_GRAVE_ATTRIBUTE"]=365
k1_11["EFFECT_CHANGE_GRAVE_RACE"]=366
k1_11["EFFECT_ACTIVATION_COUNT_LIMIT"]=367
k1_11["EFFECT_LIMIT_SPECIAL_SUMMON_POSITION"]=368
k1_11["EFFECT_TUNER"]=369
k1_11["EFFECT_KAISER_COLOSSEUM"]=370
k1_11["EFFECT_REPLACE_DAMAGE"]=371
k1_11["EFFECT_FLAG_EFFECT"]=0x20000000
k1_11["EVENT_STARTUP"]=1000
k1_11["EVENT_FLIP"]=1001
k1_11["EVENT_FREE_CHAIN"]=1002
k1_11["EVENT_DESTROY"]=1010
k1_11["EVENT_REMOVE"]=1011
k1_11["EVENT_TO_HAND"]=1012
k1_11["EVENT_TO_DECK"]=1013
k1_11["EVENT_TO_GRAVE"]=1014
k1_11["EVENT_LEAVE_FIELD"]=1015
k1_11["EVENT_CHANGE_POS"]=1016
k1_11["EVENT_RELEASE"]=1017
k1_11["EVENT_DISCARD"]=1018
k1_11["EVENT_LEAVE_FIELD_P"]=1019
k1_11["EVENT_CHAIN_SOLVING"]=1020
k1_11["EVENT_CHAIN_ACTIVATING"]=1021
k1_11["EVENT_CHAIN_SOLVED"]=1022
k1_11["EVENT_CHAIN_ACTIVATED"]=1023
k1_11["EVENT_CHAIN_NEGATED"]=1024
k1_11["EVENT_CHAIN_DISABLED"]=1025
k1_11["EVENT_CHAIN_END"]=1026
k1_11["EVENT_CHAINING"]=1027
k1_11["EVENT_BECOME_TARGET"]=1028
k1_11["EVENT_DESTROYED"]=1029
k1_11["EVENT_MOVE"]=1030
k1_11["EVENT_LEAVE_GRAVE"]=1031
k1_11["EVENT_LEAVE_DECK"]=1032
k1_11["EVENT_ADJUST"]=1040
k1_11["EVENT_BREAK_EFFECT"]=1050
k1_11["EVENT_SUMMON_SUCCESS"]=1100
k1_11["EVENT_FLIP_SUMMON_SUCCESS"]=1101
k1_11["EVENT_SPSUMMON_SUCCESS"]=1102
k1_11["EVENT_SUMMON"]=1103
k1_11["EVENT_FLIP_SUMMON"]=1104
k1_11["EVENT_SPSUMMON"]=1105
k1_11["EVENT_MSET"]=1106
k1_11["EVENT_SSET"]=1107
k1_11["EVENT_BE_MATERIAL"]=1108
k1_11["EVENT_BE_PRE_MATERIAL"]=1109
k1_11["EVENT_DRAW"]=1110
k1_11["EVENT_DAMAGE"]=1111
k1_11["EVENT_RECOVER"]=1112
k1_11["EVENT_PREDRAW"]=1113
k1_11["EVENT_SUMMON_NEGATED"]=1114
k1_11["EVENT_FLIP_SUMMON_NEGATED"]=1115
k1_11["EVENT_SPSUMMON_NEGATED"]=1116
k1_11["EVENT_CONTROL_CHANGED"]=1120
k1_11["EVENT_EQUIP"]=1121
k1_11["EVENT_ATTACK_ANNOUNCE"]=1130
k1_11["EVENT_BE_BATTLE_TARGET"]=1131
k1_11["EVENT_BATTLE_START"]=1132
k1_11["EVENT_BATTLE_CONFIRM"]=1133
k1_11["EVENT_PRE_DAMAGE_CALCULATE"]=1134
k1_11["EVENT_DAMAGE_CALCULATING"]=1135
k1_11["EVENT_PRE_BATTLE_DAMAGE"]=1136
k1_11["EVENT_BATTLE_END"]=1137
k1_11["EVENT_BATTLED"]=1138
k1_11["EVENT_BATTLE_DESTROYING"]=1139
k1_11["EVENT_BATTLE_DESTROYED"]=1140
k1_11["EVENT_DAMAGE_STEP_END"]=1141
k1_11["EVENT_ATTACK_DISABLED"]=1142
k1_11["EVENT_BATTLE_DAMAGE"]=1143
k1_11["EVENT_TOSS_DICE"]=1150
k1_11["EVENT_TOSS_COIN"]=1151
k1_11["EVENT_TOSS_COIN_NEGATE"]=1152
k1_11["EVENT_TOSS_DICE_NEGATE"]=1153
k1_11["EVENT_LEVEL_UP"]=1200
k1_11["EVENT_PAY_LPCOST"]=1201
k1_11["EVENT_DETACH_MATERIAL"]=1202
k1_11["EVENT_RETURN_TO_GRAVE"]=1203
k1_11["EVENT_TURN_END"]=1210
k1_11["EVENT_PHASE"]=0x1000
k1_11["EVENT_PHASE_START"]=0x2000
k1_11["EVENT_ADD_COUNTER"]=0x10000
k1_11["EVENT_REMOVE_COUNTER"]=0x20000
k1_11["EVENT_CUSTOM"]=0x10000000
k1_11["CATEGORY_DESTROY"]=0x1
k1_11["CATEGORY_RELEASE"]=0x2
k1_11["CATEGORY_REMOVE"]=0x4
k1_11["CATEGORY_TOHAND"]=0x8
k1_11["CATEGORY_TODECK"]=0x10
k1_11["CATEGORY_TOGRAVE"]=0x20
k1_11["CATEGORY_DECKDES"]=0x40
k1_11["CATEGORY_HANDES"]=0x80
k1_11["CATEGORY_SUMMON"]=0x100
k1_11["CATEGORY_SPECIAL_SUMMON"]=0x200
k1_11["CATEGORY_TOKEN"]=0x400
k1_11["CATEGORY_GRAVE_ACTION"]=0x800
k1_11["CATEGORY_POSITION"]=0x1000
k1_11["CATEGORY_CONTROL"]=0x2000
k1_11["CATEGORY_DISABLE"]=0x4000
k1_11["CATEGORY_DISABLE_SUMMON"]=0x8000
k1_11["CATEGORY_DRAW"]=0x10000
k1_11["CATEGORY_SEARCH"]=0x20000
k1_11["CATEGORY_EQUIP"]=0x40000
k1_11["CATEGORY_DAMAGE"]=0x80000
k1_11["CATEGORY_RECOVER"]=0x100000
k1_11["CATEGORY_ATKCHANGE"]=0x200000
k1_11["CATEGORY_DEFCHANGE"]=0x400000
k1_11["CATEGORY_COUNTER"]=0x800000
k1_11["CATEGORY_COIN"]=0x1000000
k1_11["CATEGORY_DICE"]=0x2000000
k1_11["CATEGORY_LEAVE_GRAVE"]=0x4000000
k1_11["CATEGORY_GRAVE_SPSUMMON"]=0x8000000
k1_11["CATEGORY_NEGATE"]=0x10000000
k1_11["CATEGORY_ANNOUNCE"]=0x20000000
k1_11["CATEGORY_FUSION_SUMMON"]=0x40000000
k1_11["CATEGORY_TOEXTRA"]=0x80000000
k1_11["HINT_EVENT"]=1
k1_11["HINT_MESSAGE"]=2
k1_11["HINT_SELECTMSG"]=3
k1_11["HINT_OPSELECTED"]=4
k1_11["HINT_EFFECT"]=5
k1_11["HINT_RACE"]=6
k1_11["HINT_ATTRIB"]=7
k1_11["HINT_CODE"]=8
k1_11["HINT_NUMBER"]=9
k1_11["HINT_CARD"]=10
k1_11["HINT_ZONE"]=11
k1_11["CHINT_TURN"]=1
k1_11["CHINT_CARD"]=2
k1_11["CHINT_RACE"]=3
k1_11["CHINT_ATTRIBUTE"]=4
k1_11["CHINT_NUMBER"]=5
k1_11["CHINT_DESC"]=6
k1_11["OPCODE_ADD"]=0x40000000
k1_11["OPCODE_SUB"]=0x40000001
k1_11["OPCODE_MUL"]=0x40000002
k1_11["OPCODE_DIV"]=0x40000003
k1_11["OPCODE_AND"]=0x40000004
k1_11["OPCODE_OR"]=0x40000005
k1_11["OPCODE_NEG"]=0x40000006
k1_11["OPCODE_NOT"]=0x40000007
k1_11["OPCODE_ISCODE"]=0x40000100
k1_11["OPCODE_ISSETCARD"]=0x40000101
k1_11["OPCODE_ISTYPE"]=0x40000102
k1_11["OPCODE_ISRACE"]=0x40000103
k1_11["OPCODE_ISATTRIBUTE"]=0x40000104
k1_11["DOUBLE_DAMAGE"]=0x80000000
k1_11["HALF_DAMAGE"]=0x80000001
k1_11["HINTMSG_RELEASE"]=500
k1_11["HINTMSG_DISCARD"]=501
k1_11["HINTMSG_DESTROY"]=502
k1_11["HINTMSG_REMOVE"]=503
k1_11["HINTMSG_TOGRAVE"]=504
k1_11["HINTMSG_RTOHAND"]=505
k1_11["HINTMSG_ATOHAND"]=506
k1_11["HINTMSG_TODECK"]=507
k1_11["HINTMSG_SUMMON"]=508
k1_11["HINTMSG_SPSUMMON"]=509
k1_11["HINTMSG_SET"]=510
k1_11["HINTMSG_FMATERIAL"]=511
k1_11["HINTMSG_SMATERIAL"]=512
k1_11["HINTMSG_XMATERIAL"]=513
k1_11["HINTMSG_FACEUP"]=514
k1_11["HINTMSG_FACEDOWN"]=515
k1_11["HINTMSG_ATTACK"]=516
k1_11["HINTMSG_DEFENSE"]=517
k1_11["HINTMSG_EQUIP"]=518
k1_11["HINTMSG_REMOVEXYZ"]=519
k1_11["HINTMSG_CONTROL"]=520
k1_11["HINTMSG_DESREPLACE"]=521
k1_11["HINTMSG_FACEUPATTACK"]=522
k1_11["HINTMSG_FACEUPDEFENSE"]=523
k1_11["HINTMSG_FACEDOWNATTACK"]=524
k1_11["HINTMSG_FACEDOWNDEFENSE"]=525
k1_11["HINTMSG_CONFIRM"]=526
k1_11["HINTMSG_TOFIELD"]=527
k1_11["HINTMSG_POSCHANGE"]=528
k1_11["HINTMSG_SELF"]=529
k1_11["HINTMSG_OPPO"]=530
k1_11["HINTMSG_TRIBUTE"]=531
k1_11["HINTMSG_DEATTACHFROM"]=532
k1_11["HINTMSG_LMATERIAL"]=533
k1_11["HINTMSG_ATTACKTARGET"]=549
k1_11["HINTMSG_EFFECT"]=550
k1_11["HINTMSG_TARGET"]=551
k1_11["HINTMSG_COIN"]=552
k1_11["HINTMSG_DICE"]=553
k1_11["HINTMSG_CARDTYPE"]=554
k1_11["HINTMSG_OPTION"]=555
k1_11["HINTMSG_RESOLVEEFFECT"]=556
k1_11["HINTMSG_SELECT"]=560
k1_11["HINTMSG_POSITION"]=561
k1_11["HINTMSG_ATTRIBUTE"]=562
k1_11["HINTMSG_RACE"]=563
k1_11["HINTMSG_CODE"]=564
k1_11["HINGMSG_NUMBER"]=565
k1_11["HINGMSG_LVRANK"]=567
k1_11["HINTMSG_RESOLVECARD"]=568
k1_11["HINTMSG_ZONE"]=569
k1_11["HINTMSG_DISABLEZONE"]=570
k1_11["HINTMSG_TOZONE"]=571
k1_11["HINTMSG_COUNTER"]=572
k1_11["HINTMSG_DISABLE"]=573
k1_11["HINTMSG_OPERATECARD"]=574
k1_11["SELECT_HEADS"]=60
k1_11["SELECT_TAILS"]=61
k1_11["TIMING_DRAW_PHASE"]=0x1
k1_11["TIMING_STANDBY_PHASE"]=0x2
k1_11["TIMING_MAIN_END"]=0x4
k1_11["TIMING_BATTLE_START"]=0x8
k1_11["TIMING_BATTLE_END"]=0x10
k1_11["TIMING_END_PHASE"]=0x20
k1_11["TIMING_SUMMON"]=0x40
k1_11["TIMING_SPSUMMON"]=0x80
k1_11["TIMING_FLIPSUMMON"]=0x100
k1_11["TIMING_MSET"]=0x200
k1_11["TIMING_SSET"]=0x400
k1_11["TIMING_POS_CHANGE"]=0x800
k1_11["TIMING_ATTACK"]=0x1000
k1_11["TIMING_DAMAGE_STEP"]=0x2000
k1_11["TIMING_DAMAGE_CAL"]=0x4000
k1_11["TIMING_CHAIN_END"]=0x8000
k1_11["TIMING_DRAW"]=0x10000
k1_11["TIMING_DAMAGE"]=0x20000
k1_11["TIMING_RECOVER"]=0x40000
k1_11["TIMING_DESTROY"]=0x80000
k1_11["TIMING_REMOVE"]=0x100000
k1_11["TIMING_TOHAND"]=0x200000
k1_11["TIMING_TODECK"]=0x400000
k1_11["TIMING_TOGRAVE"]=0x800000
k1_11["TIMING_BATTLE_PHASE"]=0x1000000
k1_11["TIMING_EQUIP"]=0x2000000
k1_11["TIMING_BATTLE_STEP_END"]=0x4000000
k1_11["TIMING_BATTLED"]=0x8000000
k1_11["TIMINGS_CHECK_MONSTER"]=0x1c0
k1_11["GLOBALFLAG_DECK_REVERSE_CHECK"]=0x1
k1_11["GLOBALFLAG_BRAINWASHING_CHECK"]=0x2
k1_11["GLOBALFLAG_SCRAP_CHIMERA"]=0x4
k1_11["GLOBALFLAG_DELAYED_QUICKEFFECT"]=0x8
k1_11["GLOBALFLAG_DETACH_EVENT"]=0x10
k1_11["GLOBALFLAG_MUST_BE_SMATERIAL"]=0x20
k1_11["GLOBALFLAG_SPSUMMON_COUNT"]=0x40
k1_11["GLOBALFLAG_XMAT_COUNT_LIMIT"]=0x80
k1_11["GLOBALFLAG_SELF_TOGRAVE"]=0x100
k1_11["GLOBALFLAG_SPSUMMON_ONCE"]=0x200
k1_11["GLOBALFLAG_TUNE_MAGICIAN"]=0x400
k1_11["EFFECT_COUNT_CODE_OATH"]=0x10000000
k1_11["EFFECT_COUNT_CODE_DUEL"]=0x20000000
k1_11["EFFECT_COUNT_CODE_CHAIN"]=0x40000000
k1_11["EFFECT_COUNT_CODE_SINGLE"]=0x1
k1_11["DUEL_TEST_MODE"]=0x01
k1_11["DUEL_ATTACK_FIRST_TURN"]=0x02
k1_11["DUEL_OLD_REPLAY"]=0x04
k1_11["DUEL_OBSOLETE_RULING"]=0x08
k1_11["DUEL_PSEUDO_SHUFFLE"]=0x10
k1_11["DUEL_TAG_MODE"]=0x20
k1_11["DUEL_SIMPLE_AI"]=0x40
k1_11["DUEL_RETURN_DECK_TOP"]=0x80
k1_11["ACTIVITY_SUMMON"]=1
k1_11["ACTIVITY_NORMALSUMMON"]=2
k1_11["ACTIVITY_SPSUMMON"]=3
k1_11["ACTIVITY_FLIPSUMMON"]=4
k1_11["ACTIVITY_ATTACK"]=5
k1_11["ACTIVITY_BATTLE_PHASE"]=6
k1_11["ACTIVITY_CHAIN"]=7
k1_11["CARD_MARINE_DOLPHIN"]=78734254
k1_11["CARD_TWINKLE_MOSS"]=13857930
k1_11["CARD_QUESTION"]=38723936
return k1_11
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

Modified 残局文料/残局改名.lua from [fd337b59c5] to [9fdcbe1ee7].

1
2
3
4
5

6
7
8
9
10
11
12
1
2
3
4
5
6
7
8
9
10
11
12
13





+







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 字段名对 = require(u8("字段名"))
local 简文件库 = require("lfs")
local 简数据库库 = require("lsqlite3")
local d = {}
do
  local TYPE_SPELL = 0x2
  local TYPE_TRAP = 0x4
  local TYPE_EFFECT = 0x20
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
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







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+









-
+












+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







  end
--~ 各文件的卡编排
function d.取卡对_一维(o1_0)
  return f.历排(o1_0, d.取卡对)
  end
--~ 卡编
function d.取卡对(o1)
  local k1_0, k2_0
  --~ 卡文对
  k1_0 = d.取卡文(o1)
  --~ 卡数据对
  k2_0 = d.取卡数据(o1)
  return f.连两对(k1_0, k2_0)
  end
--~ 卡编
function d.取卡文(o1)
  for o1_4 in 数据库:nrows("select * from texts where id = " .. o1) do
    return o1_4
    end
  end
--~ 卡编
function d.取卡数据(o1)
  for o1_4 in 数据库:nrows("select * from datas where id = " .. o1) do
    return o1_4
    end
  end
--~ 文
function d.局筛卡编(o1)
  local k1_0
  --~ 卡编排
  k1_0 = f.历文(o1, string.gmatch, "[^\n]+")
  k1_0 = f.历排(k1_0, f.全筛前缀, "Debug.AddCard")
  k1_0 = f.历排(k1_0, string.match, "Debug%.AddCard.+")
  return f.历排(k1_0, string.match, "[0-9]+")
  end
--~ 文
function d.局筛则数(o1)
  local k1
  local k1_0
  --~ 则数排
  k1_0 = f.历文(o1, string.gmatch, "[^\n]+")
  k1_0 = f.历排(k1_0, f.全筛前缀, "Debug.ReloadFieldBegin")
  --~ 则数
  k1 = string.match(k1_0[1], "[0-9]")
  return k1 or 3
  end
--~ 卡对排
function d.荐名(o1_0)
  --~ print(o1_0[1].name)
  --~ return o1_0[1]
  d.荐字段名(o1_0)
  end
--~ 卡对排
function d.荐字段名(o1_0)
  local k1, k2
  local k1_0
  --~ 字段对
  k1_0 = {}
  for o1 = 1, #o1_0 do
    --~ 大字段号
    k1 = bit.band(o1_0[o1].setcode, 0xffff)
    print(o1_0[o1].setcode)
    if k1 > 0xfff then
      --~ 字段名
      k2 = 字段名对[k1]
      print(k1, k2)
      if k1_0[k2] then
        k1_0[k2] = k1_0[k2] + 1
      else
        k1_0[k2] = 1
        end
      end
    --~ 小字段号
    k1 = bit.band(o1_0[o1].setcode, 0xfff)
    --~ 字段名
    k2 = 字段名对[k1]
    if k1_0[k2] then
      k1_0[k2] = k1_0[k2] + 1
    elseif k2 == nil then
    else
      k1_0[k2] = 1
      end
    end
  end
--~ 目对
function d.残局改名(o1_0)
  local k1_0, k2_0, k3_0, k4_0, k5_0, k6_0
  --~ 文件排
  k1_0 = f.历文(o1_0.文件目, 简文件库.dir)
  k1_0 = f.历排(k1_0, f.全筛后缀, ".lua")
92
93
94
95
96
97
98
99
100



101
102
103
104
105
106
107
108
109
110
146
147
148
149
150
151
152


153
154
155
156
157
158
159
160
161
162
163
164
165







-
-
+
+
+










  --~ 各文件的卡编排
  k3_0 = f.历排(k1_0, d.局筛卡编)
  _G.数据库 = 简数据库库.open(o1_0.数据库路)
  --~ 各文件的卡对排
  k4_0 = f.历排(k3_0, d.取卡对_一维)
  --~ 有效果卡的张数排
  k5_0 = f.历排(k4_0, d.筛有效果卡的张数)
  --~ 卡文--~ k6_0 = f.历排(k3_0, d.取卡文)
  --~ 荐名排
  k6_0 = f.历排(k4_0, d.荐名)
  --~ print(k6_0[0])
  --~ print(k5_0[2])
  end
d.目对 = {
  ["文件目"] = "../single/"
  , ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]
  }
for o1_0, o2_0 in pairs(d.目对) do
  d.目对[o1_0] = f.操类(o2_0, "string", u8)
  end
d.残局改名(d.目对)

Modified 残局文料/集YGOPro常量并据此产lua文件.lua from [8cfc48f536] to [6228214cb9].

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
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_11
  local k1_0
  --~ 文
  k1 = f.读文件(o1)
  k1 = string.gsub(k1, "%-%-" .. "[^\n]*", "")
  k1 = string.gsub(k1, "[ \t]", "")
  --~ 常量排
  k1_11 = f.历文(k1, string.gmatch, "[^\n]+")
  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_11)
  k2 = f.加对限(k1_0)
  f.写文件(k2, o2)
  end
--~ 文件路
--~ 字段名文件名
function d_3.产字段名文件(o1, o2)
  local k1, k2
  local k1_11
  local k1_0
  --~ 文
  k1 = f.读文件(o1)
  --~ 常量排
  k1_11 = f.历文(k1, string.gmatch, "[^\n]+")
  k1_11 = f.历排(k1_11, f.全筛文, "^!setname")
  for o3 = 1, #k1_11 do
    k1_11[o3] = f.删左右空白(k1_11[o3])
    k1_11[o3] = string.gsub(k1_11[o3], "^!setname ", "")
    k1_11[o3] = string.gsub(k1_11[o3], "[|\t].+", "")
    k1_11[o3] = string.gsub(k1_11[o3], " ", "=", 1)
  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_11)
  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"))