ref: e538027c822863e95004ef99c90b2c338b92184c
parent: d7cdd0ac7383fd120a2b8114af08541058cb691c
author: yenatch <[email protected]>
date: Sun Dec 1 10:56:51 EST 2013
enumerate move constants
--- a/constants/move_constants.asm
+++ b/constants/move_constants.asm
@@ -1,251 +1,259 @@
-POUND EQU $01
-KARATE_CHOP EQU $02
-DOUBLESLAP EQU $03
-COMET_PUNCH EQU $04
-MEGA_PUNCH EQU $05
-PAY_DAY EQU $06
-FIRE_PUNCH EQU $07
-ICE_PUNCH EQU $08
-THUNDERPUNCH EQU $09
-SCRATCH EQU $0A
-VICEGRIP EQU $0B
-GUILLOTINE EQU $0C
-RAZOR_WIND EQU $0D
-SWORDS_DANCE EQU $0E
-CUT EQU $0F
-GUST EQU $10
-WING_ATTACK EQU $11
-WHIRLWIND EQU $12
-FLY EQU $13
-BIND EQU $14
-SLAM EQU $15
-VINE_WHIP EQU $16
-STOMP EQU $17
-DOUBLE_KICK EQU $18
-MEGA_KICK EQU $19
-JUMP_KICK EQU $1A
-ROLLING_KICK EQU $1B
-SAND_ATTACK EQU $1C
-HEADBUTT EQU $1D
-HORN_ATTACK EQU $1E
-FURY_ATTACK EQU $1F
-HORN_DRILL EQU $20
-TACKLE EQU $21
-BODY_SLAM EQU $22
-WRAP EQU $23
-TAKE_DOWN EQU $24
-THRASH EQU $25
-DOUBLE_EDGE EQU $26
-TAIL_WHIP EQU $27
-POISON_STING EQU $28
-TWINEEDLE EQU $29
-PIN_MISSILE EQU $2A
-LEER EQU $2B
-BITE EQU $2C
-GROWL EQU $2D
-ROAR EQU $2E
-SING EQU $2F
-SUPERSONIC EQU $30
-SONICBOOM EQU $31
-DISABLE EQU $32
-ACID EQU $33
-EMBER EQU $34
-FLAMETHROWER EQU $35
-MIST EQU $36
-WATER_GUN EQU $37
-HYDRO_PUMP EQU $38
-SURF EQU $39
-ICE_BEAM EQU $3A
-BLIZZARD EQU $3B
-PSYBEAM EQU $3C
-BUBBLEBEAM EQU $3D
-AURORA_BEAM EQU $3E
-HYPER_BEAM EQU $3F
-PECK EQU $40
-DRILL_PECK EQU $41
-SUBMISSION EQU $42
-LOW_KICK EQU $43
-COUNTER EQU $44
-SEISMIC_TOSS EQU $45
-STRENGTH EQU $46
-ABSORB EQU $47
-MEGA_DRAIN EQU $48
-LEECH_SEED EQU $49
-GROWTH EQU $4A
-RAZOR_LEAF EQU $4B
-SOLARBEAM EQU $4C
-POISONPOWDER EQU $4D
-STUN_SPORE EQU $4E
-SLEEP_POWDER EQU $4F
-PETAL_DANCE EQU $50
-STRING_SHOT EQU $51
-DRAGON_RAGE EQU $52
-FIRE_SPIN EQU $53
-THUNDERSHOCK EQU $54
-THUNDERBOLT EQU $55
-THUNDER_WAVE EQU $56
-THUNDER EQU $57
-ROCK_THROW EQU $58
-EARTHQUAKE EQU $59
-FISSURE EQU $5A
-DIG EQU $5B
-TOXIC EQU $5C
-CONFUSION EQU $5D
-PSYCHIC_M EQU $5E
-HYPNOSIS EQU $5F
-MEDITATE EQU $60
-AGILITY EQU $61
-QUICK_ATTACK EQU $62
-RAGE EQU $63
-TELEPORT EQU $64
-NIGHT_SHADE EQU $65
-MIMIC EQU $66
-SCREECH EQU $67
-DOUBLE_TEAM EQU $68
-RECOVER EQU $69
-HARDEN EQU $6A
-MINIMIZE EQU $6B
-SMOKESCREEN EQU $6C
-CONFUSE_RAY EQU $6D
-WITHDRAW EQU $6E
-DEFENSE_CURL EQU $6F
-BARRIER EQU $70
-LIGHT_SCREEN EQU $71
-HAZE EQU $72
-REFLECT EQU $73
-FOCUS_ENERGY EQU $74
-BIDE EQU $75
-METRONOME EQU $76
-MIRROR_MOVE EQU $77
-SELFDESTRUCT EQU $78
-EGG_BOMB EQU $79
-LICK EQU $7A
-SMOG EQU $7B
-SLUDGE EQU $7C
-BONE_CLUB EQU $7D
-FIRE_BLAST EQU $7E
-WATERFALL EQU $7F
-CLAMP EQU $80
-SWIFT EQU $81
-SKULL_BASH EQU $82
-SPIKE_CANNON EQU $83
-CONSTRICT EQU $84
-AMNESIA EQU $85
-KINESIS EQU $86
-SOFTBOILED EQU $87
-HI_JUMP_KICK EQU $88
-GLARE EQU $89
-DREAM_EATER EQU $8A
-POISON_GAS EQU $8B
-BARRAGE EQU $8C
-LEECH_LIFE EQU $8D
-LOVELY_KISS EQU $8E
-SKY_ATTACK EQU $8F
-TRANSFORM EQU $90
-BUBBLE EQU $91
-DIZZY_PUNCH EQU $92
-SPORE EQU $93
-FLASH EQU $94
-PSYWAVE EQU $95
-SPLASH EQU $96
-ACID_ARMOR EQU $97
-CRABHAMMER EQU $98
-EXPLOSION EQU $99
-FURY_SWIPES EQU $9A
-BONEMERANG EQU $9B
-REST EQU $9C
-ROCK_SLIDE EQU $9D
-HYPER_FANG EQU $9E
-SHARPEN EQU $9F
-CONVERSION EQU $A0
-TRI_ATTACK EQU $A1
-SUPER_FANG EQU $A2
-SLASH EQU $A3
-SUBSTITUTE EQU $A4
-STRUGGLE EQU $A5
-SKETCH EQU $A6
-TRIPLE_KICK EQU $A7
-THIEF EQU $A8
-SPIDER_WEB EQU $A9
-MIND_READER EQU $AA
-NIGHTMARE EQU $AB
-FLAME_WHEEL EQU $AC
-SNORE EQU $AD
-CURSE EQU $AE
-FLAIL EQU $AF
-CONVERSION2 EQU $B0
-AEROBLAST EQU $B1
-COTTON_SPORE EQU $B2
-REVERSAL EQU $B3
-SPITE EQU $B4
-POWDER_SNOW EQU $B5
-PROTECT EQU $B6
-MACH_PUNCH EQU $B7
-SCARY_FACE EQU $B8
-FAINT_ATTACK EQU $B9
-SWEET_KISS EQU $BA
-BELLY_DRUM EQU $BB
-SLUDGE_BOMB EQU $BC
-MUD_SLAP EQU $BD
-OCTAZOOKA EQU $BE
-SPIKES EQU $BF
-ZAP_CANNON EQU $C0
-FORESIGHT EQU $C1
-DESTINY_BOND EQU $C2
-PERISH_SONG EQU $C3
-ICY_WIND EQU $C4
-DETECT EQU $C5
-BONE_RUSH EQU $C6
-LOCK_ON EQU $C7
-OUTRAGE EQU $C8
-SANDSTORM EQU $C9
-GIGA_DRAIN EQU $CA
-ENDURE EQU $CB
-CHARM EQU $CC
-ROLLOUT EQU $CD
-FALSE_SWIPE EQU $CE
-SWAGGER EQU $CF
-MILK_DRINK EQU $D0
-SPARK EQU $D1
-FURY_CUTTER EQU $D2
-STEEL_WING EQU $D3
-MEAN_LOOK EQU $D4
-ATTRACT EQU $D5
-SLEEP_TALK EQU $D6
-HEAL_BELL EQU $D7
-RETURN EQU $D8
-PRESENT EQU $D9
-FRUSTRATION EQU $DA
-SAFEGUARD EQU $DB
-PAIN_SPLIT EQU $DC
-SACRED_FIRE EQU $DD
-MAGNITUDE EQU $DE
-DYNAMICPUNCH EQU $DF
-MEGAHORN EQU $E0
-DRAGONBREATH EQU $E1
-BATON_PASS EQU $E2
-ENCORE EQU $E3
-PURSUIT EQU $E4
-RAPID_SPIN EQU $E5
-SWEET_SCENT EQU $E6
-IRON_TAIL EQU $E7
-METAL_CLAW EQU $E8
-VITAL_THROW EQU $E9
-MORNING_SUN EQU $EA
-SYNTHESIS EQU $EB
-MOONLIGHT EQU $EC
-HIDDEN_POWER EQU $ED
-CROSS_CHOP EQU $EE
-TWISTER EQU $EF
-RAIN_DANCE EQU $F0
-SUNNY_DAY EQU $F1
-CRUNCH EQU $F2
-MIRROR_COAT EQU $F3
-PSYCH_UP EQU $F4
-EXTREMESPEED EQU $F5
-ANCIENTPOWER EQU $F6
-SHADOW_BALL EQU $F7
-FUTURE_SIGHT EQU $F8
-ROCK_SMASH EQU $F9
-WHIRLPOOL EQU $FA
-BEAT_UP EQU $FB
+
+ const_def
+ const NO_MOVE
+ const POUND
+ const KARATE_CHOP
+ const DOUBLESLAP
+ const COMET_PUNCH
+ const MEGA_PUNCH
+ const PAY_DAY
+ const FIRE_PUNCH
+ const ICE_PUNCH
+ const THUNDERPUNCH
+ const SCRATCH
+ const VICEGRIP
+ const GUILLOTINE
+ const RAZOR_WIND
+ const SWORDS_DANCE
+ const CUT
+ const GUST
+ const WING_ATTACK
+ const WHIRLWIND
+ const FLY
+ const BIND
+ const SLAM
+ const VINE_WHIP
+ const STOMP
+ const DOUBLE_KICK
+ const MEGA_KICK
+ const JUMP_KICK
+ const ROLLING_KICK
+ const SAND_ATTACK
+ const HEADBUTT
+ const HORN_ATTACK
+ const FURY_ATTACK
+ const HORN_DRILL
+ const TACKLE
+ const BODY_SLAM
+ const WRAP
+ const TAKE_DOWN
+ const THRASH
+ const DOUBLE_EDGE
+ const TAIL_WHIP
+ const POISON_STING
+ const TWINEEDLE
+ const PIN_MISSILE
+ const LEER
+ const BITE
+ const GROWL
+ const ROAR
+ const SING
+ const SUPERSONIC
+ const SONICBOOM
+ const DISABLE
+ const ACID
+ const EMBER
+ const FLAMETHROWER
+ const MIST
+ const WATER_GUN
+ const HYDRO_PUMP
+ const SURF
+ const ICE_BEAM
+ const BLIZZARD
+ const PSYBEAM
+ const BUBBLEBEAM
+ const AURORA_BEAM
+ const HYPER_BEAM
+ const PECK
+ const DRILL_PECK
+ const SUBMISSION
+ const LOW_KICK
+ const COUNTER
+ const SEISMIC_TOSS
+ const STRENGTH
+ const ABSORB
+ const MEGA_DRAIN
+ const LEECH_SEED
+ const GROWTH
+ const RAZOR_LEAF
+ const SOLARBEAM
+ const POISONPOWDER
+ const STUN_SPORE
+ const SLEEP_POWDER
+ const PETAL_DANCE
+ const STRING_SHOT
+ const DRAGON_RAGE
+ const FIRE_SPIN
+ const THUNDERSHOCK
+ const THUNDERBOLT
+ const THUNDER_WAVE
+ const THUNDER
+ const ROCK_THROW
+ const EARTHQUAKE
+ const FISSURE
+ const DIG
+ const TOXIC
+ const CONFUSION
+ const PSYCHIC_M
+ const HYPNOSIS
+ const MEDITATE
+ const AGILITY
+ const QUICK_ATTACK
+ const RAGE
+ const TELEPORT
+ const NIGHT_SHADE
+ const MIMIC
+ const SCREECH
+ const DOUBLE_TEAM
+ const RECOVER
+ const HARDEN
+ const MINIMIZE
+ const SMOKESCREEN
+ const CONFUSE_RAY
+ const WITHDRAW
+ const DEFENSE_CURL
+ const BARRIER
+ const LIGHT_SCREEN
+ const HAZE
+ const REFLECT
+ const FOCUS_ENERGY
+ const BIDE
+ const METRONOME
+ const MIRROR_MOVE
+ const SELFDESTRUCT
+ const EGG_BOMB
+ const LICK
+ const SMOG
+ const SLUDGE
+ const BONE_CLUB
+ const FIRE_BLAST
+ const WATERFALL
+ const CLAMP
+ const SWIFT
+ const SKULL_BASH
+ const SPIKE_CANNON
+ const CONSTRICT
+ const AMNESIA
+ const KINESIS
+ const SOFTBOILED
+ const HI_JUMP_KICK
+ const GLARE
+ const DREAM_EATER
+ const POISON_GAS
+ const BARRAGE
+ const LEECH_LIFE
+ const LOVELY_KISS
+ const SKY_ATTACK
+ const TRANSFORM
+ const BUBBLE
+ const DIZZY_PUNCH
+ const SPORE
+ const FLASH
+ const PSYWAVE
+ const SPLASH
+ const ACID_ARMOR
+ const CRABHAMMER
+ const EXPLOSION
+ const FURY_SWIPES
+ const BONEMERANG
+ const REST
+ const ROCK_SLIDE
+ const HYPER_FANG
+ const SHARPEN
+ const CONVERSION
+ const TRI_ATTACK
+ const SUPER_FANG
+ const SLASH
+ const SUBSTITUTE
+ const STRUGGLE
+ const SKETCH
+ const TRIPLE_KICK
+ const THIEF
+ const SPIDER_WEB
+ const MIND_READER
+ const NIGHTMARE
+ const FLAME_WHEEL
+ const SNORE
+ const CURSE
+ const FLAIL
+ const CONVERSION2
+ const AEROBLAST
+ const COTTON_SPORE
+ const REVERSAL
+ const SPITE
+ const POWDER_SNOW
+ const PROTECT
+ const MACH_PUNCH
+ const SCARY_FACE
+ const FAINT_ATTACK
+ const SWEET_KISS
+ const BELLY_DRUM
+ const SLUDGE_BOMB
+ const MUD_SLAP
+ const OCTAZOOKA
+ const SPIKES
+ const ZAP_CANNON
+ const FORESIGHT
+ const DESTINY_BOND
+ const PERISH_SONG
+ const ICY_WIND
+ const DETECT
+ const BONE_RUSH
+ const LOCK_ON
+ const OUTRAGE
+ const SANDSTORM
+ const GIGA_DRAIN
+ const ENDURE
+ const CHARM
+ const ROLLOUT
+ const FALSE_SWIPE
+ const SWAGGER
+ const MILK_DRINK
+ const SPARK
+ const FURY_CUTTER
+ const STEEL_WING
+ const MEAN_LOOK
+ const ATTRACT
+ const SLEEP_TALK
+ const HEAL_BELL
+ const RETURN
+ const PRESENT
+ const FRUSTRATION
+ const SAFEGUARD
+ const PAIN_SPLIT
+ const SACRED_FIRE
+ const MAGNITUDE
+ const DYNAMICPUNCH
+ const MEGAHORN
+ const DRAGONBREATH
+ const BATON_PASS
+ const ENCORE
+ const PURSUIT
+ const RAPID_SPIN
+ const SWEET_SCENT
+ const IRON_TAIL
+ const METAL_CLAW
+ const VITAL_THROW
+ const MORNING_SUN
+ const SYNTHESIS
+ const MOONLIGHT
+ const HIDDEN_POWER
+ const CROSS_CHOP
+ const TWISTER
+ const RAIN_DANCE
+ const SUNNY_DAY
+ const CRUNCH
+ const MIRROR_COAT
+ const PSYCH_UP
+ const EXTREMESPEED
+ const ANCIENTPOWER
+ const SHADOW_BALL
+ const FUTURE_SIGHT
+ const ROCK_SMASH
+ const WHIRLPOOL
+ const BEAT_UP
+
+const_value SET const_value + -1
+
+ const NUM_ATTACKS
+