游戏王残局简化版

普常量.lua at [38666857ba]
Login

普常量.lua at [38666857ba]

File 残局文料/副_容冗/普常量.lua artifact 91f415d58f part of check-in 38666857ba


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