forked from Rangi42/polishedcrystal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmove_constants.asm
309 lines (307 loc) · 8.16 KB
/
move_constants.asm
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
; move ids
; indexes for:
; - Moves (see data/moves/moves.asm)
; - MoveNames (see data/moves/names.asm)
; - MoveDescriptions (see data/moves/descriptions.asm)
; - BattleAnimations (see data/moves/animations.asm)
const_def
const NO_MOVE ; $00
const ACROBATICS ; $01
const KARATE_CHOP ; $02
const DOUBLE_SLAP ; $03
const AERIAL_ACE ; $04
const DRAGON_CLAW ; $05
const PAY_DAY ; $06
const FIRE_PUNCH ; $07
const ICE_PUNCH ; $08
const THUNDERPUNCH ; $09
const SCRATCH ; $0a
const X_SCISSOR ; $0b
const NIGHT_SLASH ; $0c
const AIR_SLASH ; $0d
const SWORDS_DANCE ; $0e
const CUT ; $0f
const GUST ; $10
const WING_ATTACK ; $11
const SUCKER_PUNCH ; $12
const FLY ; $13
const DAZZLINGLEAM ; $14
const VOLT_SWITCH ; $15
const VINE_WHIP ; $16
const STOMP ; $17
const DOUBLE_KICK ; $18
const FLARE_BLITZ ; $19
const STONE_EDGE ; $1a
const FOCUS_BLAST ; $1b
const TOXIC_SPIKES ; $1c
const HEADBUTT ; $1d
const HORN_ATTACK ; $1e
const TRICK ; $1f
const HEX ; $20
const TACKLE ; $21
const BODY_SLAM ; $22
const WRAP ; $23
const TAKE_DOWN ; $24
const THRASH ; $25
const DOUBLE_EDGE ; $26
const HAIL ; $27
const POISON_STING ; $28
const U_TURN ; $29
const PIN_MISSILE ; $2a
const LEER ; $2b
const BITE ; $2c
const GROWL ; $2d
const ROAR ; $2e
const SING ; $2f
const SUPERSONIC ; $30
const SONIC_BOOM ; $31
const DISABLE ; $32
const ACID ; $33
const EMBER ; $34
const FLAMETHROWER ; $35
const CALM_MIND ; $36
const WATER_GUN ; $37
const HYDRO_PUMP ; $38
const SURF ; $39
const ICE_BEAM ; $3a
const BLIZZARD ; $3b
const PSYBEAM ; $3c
const BUBBLE_BEAM ; $3d
const AURORA_BEAM ; $3e
const HYPER_BEAM ; $3f
const PECK ; $40
const DRILL_PECK ; $41
const CLOSE_COMBAT ; $42
const LOW_KICK ; $43
const COUNTER ; $44
const SEISMIC_TOSS ; $45
const STRENGTH ; $46
const ABSORB ; $47
const MEGA_DRAIN ; $48
const LEECH_SEED ; $49
const GROWTH ; $4a
const RAZOR_LEAF ; $4b
const SOLAR_BEAM ; $4c
const POISONPOWDER ; $4d
const STUN_SPORE ; $4e
const SLEEP_POWDER ; $4f
const PETAL_DANCE ; $50
const STRING_SHOT ; $51
const DRAGON_RAGE ; $52
const FIRE_SPIN ; $53
const THUNDERSHOCK ; $54
const THUNDERBOLT ; $55
const THUNDER_WAVE ; $56
const THUNDER ; $57
const ROCK_THROW ; $58
const EARTHQUAKE ; $59
const AVALANCHE ; $5a
const DIG ; $5b
const TOXIC ; $5c
const CONFUSION ; $5d
const PSYCHIC_M ; $5e
const HYPNOSIS ; $5f
const HONE_CLAWS ; $60
const AGILITY ; $61
const QUICK_ATTACK ; $62
const RAGE ; $63
const TELEPORT ; $64
const NIGHT_SHADE ; $65
const DRAGON_PULSE ; $66
const SCREECH ; $67
const DOUBLE_TEAM ; $68
const RECOVER ; $69
const ROCK_BLAST ; $6a
const MINIMIZE ; $6b
const SMOKESCREEN ; $6c
const CONFUSE_RAY ; $6d
const AQUA_TAIL ; $6e
const DEFENSE_CURL ; $6f
const BARRIER ; $70
const LIGHT_SCREEN ; $71
const HAZE ; $72
const REFLECT ; $73
const FOCUS_ENERGY ; $74
const FLASH_CANNON ; $75
const METRONOME ; $76
const SCALD ; $77
const TRICK_ROOM ; $78
const SKILL_SWAP ; $79
const LICK ; $7a
const GUNK_SHOT ; $7b
const VENOSHOCK ; $7c
const EARTH_POWER ; $7d
const FIRE_BLAST ; $7e
const WATERFALL ; $7f
const ICICLE_CRASH ; $80
const SWIFT ; $81
const IRON_HEAD ; $82
const ICICLE_SPEAR ; $83
const BULLDOZE ; $84
const AMNESIA ; $85
const ROOST ; $86
const FRESH_SNACK ; $87
const HI_JUMP_KICK ; $88
const GLARE ; $89
const DREAM_EATER ; $8a
const POISON_JAB ; $8b
const BULLET_PUNCH ; $8c
const LEECH_LIFE ; $8d
const DRAIN_KISS ; $8e
const BRAVE_BIRD ; $8f
const TRANSFORM ; $90
const WATER_PULSE ; $91
const DIZZY_PUNCH ; $92
const SPORE ; $93
const FLASH ; $94
const EXTRASENSORY ; $95
const SPLASH ; $96
const DRAGON_DANCE ; $97
const CRABHAMMER ; $98
const EXPLOSION ; $99
const FURY_STRIKES ; $9a
const BONEMERANG ; $9b
const REST ; $9c
const ROCK_SLIDE ; $9d
const HYPER_FANG ; $9e
const BULK_UP ; $9f
const CONVERSION ; $a0
const TRI_ATTACK ; $a1
const SUPER_FANG ; $a2
const SLASH ; $a3
const SUBSTITUTE ; $a4
const GIGA_IMPACT ; $a5
const SKETCH ; $a6
const DRAIN_PUNCH ; $a7
const THIEF ; $a8
const WILL_O_WISP ; $a9
const ZEN_HEADBUTT ; $aa
const FACADE ; $ab
const FLAME_CHARGE ; $ac
const HYPER_VOICE ; $ad
const CURSE ; $ae
const GYRO_BALL ; $af
const ENERGY_BALL ; $b0
const AEROBLAST ; $b1
const SEED_BOMB ; $b2
const REVERSAL ; $b3
const ASTONISH ; $b4
const ICE_SHARD ; $b5
const PROTECT ; $b6
const MACH_PUNCH ; $b7
const SCARY_FACE ; $b8
const FEINT_ATTACK ; $b9
const SWEET_KISS ; $ba
const BELLY_DRUM ; $bb
const SLUDGE_BOMB ; $bc
const MUD_SLAP ; $bd
const OCTAZOOKA ; $be
const SPIKES ; $bf
const ZAP_CANNON ; $c0
const FORESIGHT ; $c1
const DESTINY_BOND ; $c2
const PERISH_SONG ; $c3
const ICY_WIND ; $c4
const POWER_GEM ; $c5
const WILD_CHARGE ; $c6
const POWER_WHIP ; $c7
const OUTRAGE ; $c8
const SANDSTORM ; $c9
const GIGA_DRAIN ; $ca
const ENDURE ; $cb
const CHARM ; $cc
const ROLLOUT ; $cd
const FALSE_SWIPE ; $ce
const SWAGGER ; $cf
const SHELL_SMASH ; $d0
const SPARK ; $d1
const BUG_BITE ; $d2
const STEEL_WING ; $d3
const MEAN_LOOK ; $d4
const ATTRACT ; $d5
const SLEEP_TALK ; $d6
const HEAL_BELL ; $d7
const RETURN ; $d8
const PSYSTRIKE ; $d9
const BUG_BUZZ ; $da
const SAFEGUARD ; $db
const PAIN_SPLIT ; $dc
const SACRED_FIRE ; $dd
const MAGNITUDE ; $de
const DYNAMICPUNCH ; $df
const MEGAHORN ; $e0
const DRAGONBREATH ; $e1
const BATON_PASS ; $e2
const ENCORE ; $e3
const PURSUIT ; $e4
const RAPID_SPIN ; $e5
const SHADOW_CLAW ; $e6
const IRON_TAIL ; $e7
const METAL_CLAW ; $e8
const AURA_SPHERE ; $e9
const HEALINGLIGHT ; $ea
const HURRICANE ; $eb
const KNOCK_OFF ; $ec
const HIDDEN_POWER ; $ed
const CROSS_CHOP ; $ee
const AQUA_JET ; $ef
const RAIN_DANCE ; $f0
const SUNNY_DAY ; $f1
const CRUNCH ; $f2
const MIRROR_COAT ; $f3
const NASTY_PLOT ; $f4
const EXTREMESPEED ; $f5
const ANCIENTPOWER ; $f6
const SHADOW_BALL ; $f7
const FUTURE_SIGHT ; $f8
const ROCK_SMASH ; $f9
if !DEF(FAITHFUL)
BRICK_BREAK EQU ROCK_SMASH
endc
const WHIRLPOOL ; $fa
const DARK_PULSE ; $fb
const MOONBLAST ; $fc
const PLAY_ROUGH ; $fd
const DISARM_VOICE ; $fe
const STRUGGLE ; $ff
NUM_ATTACKS EQU const_value - 1
; Battle animations use the same constants as the moves up to this point
const_next $100
const ANIM_THROW_POKE_BALL ; $100
const ANIM_SEND_OUT_MON ; $101
const ANIM_RETURN_MON ; $102
const ANIM_CONFUSED ; $103
const ANIM_SLP ; $104
const ANIM_BRN ; $105
const ANIM_PSN ; $106
const ANIM_SAP ; $107
const ANIM_FRZ ; $108
const ANIM_PAR ; $109
const ANIM_IN_LOVE ; $10a
const ANIM_IN_SANDSTORM ; $10b
const ANIM_IN_HAIL ; $10c
const ANIM_UNDER_CURSE ; $10d
const ANIM_IN_WHIRLPOOL ; $10e
; battle anims
const ANIM_MISS ; $10f
const ANIM_ENEMY_DAMAGE ; $110
const ANIM_ENEMY_STAT_DOWN ; $111
const ANIM_PLAYER_STAT_DOWN ; $112
const ANIM_PLAYER_DAMAGE ; $113
const ANIM_WOBBLE ; $114
const ANIM_SHAKE ; $115
const ANIM_HIT_CONFUSION ; $116
const ANIM_SHARPEN ; $117
const ANIM_STAT_UP ; $118
const ANIM_STAT_DOWN ; $119
NUM_BATTLE_ANIMS EQU const_value - 1
; wNumHits uses offsets from ANIM_MISS
const_def
const BATTLEANIM_NONE
const BATTLEANIM_ENEMY_DAMAGE
const BATTLEANIM_ENEMY_STAT_DOWN
const BATTLEANIM_PLAYER_STAT_DOWN
const BATTLEANIM_PLAYER_DAMAGE
const BATTLEANIM_WOBBLE
const BATTLEANIM_SHAKE
const BATTLEANIM_HIT_CONFUSION