2020-07-06 16:53:05 -04:00
|
|
|
; The add_tm, add_hm, and add_mt macros in constants/item_constants.asm simultaneously
|
|
|
|
; define constants for the item IDs and for the corresponding move values.
|
|
|
|
|
2018-06-24 16:09:41 +02:00
|
|
|
TMHMMoves:
|
2020-07-08 15:30:23 -04:00
|
|
|
; entries correspond to *_TMNUM constants (see constants/item_constants.asm)
|
2021-03-03 22:22:41 -05:00
|
|
|
table_width 1, TMHMMoves
|
2020-07-06 16:53:05 -04:00
|
|
|
|
2017-12-11 13:47:58 -05:00
|
|
|
; TMs
|
2021-04-19 16:31:37 -04:00
|
|
|
for n, 1, NUM_TMS + 1
|
|
|
|
db TM{02d:n}_MOVE
|
2020-07-06 16:53:05 -04:00
|
|
|
endr
|
2021-03-22 16:41:17 -04:00
|
|
|
assert_table_length NUM_TMS
|
2020-07-06 16:53:05 -04:00
|
|
|
|
2017-12-11 13:47:58 -05:00
|
|
|
; HMs
|
2021-04-19 16:31:37 -04:00
|
|
|
for n, 1, NUM_HMS + 1
|
|
|
|
db HM{02d:n}_MOVE
|
2020-07-06 16:53:05 -04:00
|
|
|
endr
|
2021-03-22 16:41:17 -04:00
|
|
|
assert_table_length NUM_TMS + NUM_HMS
|
2020-07-06 16:53:05 -04:00
|
|
|
|
2021-04-19 16:31:37 -04:00
|
|
|
; Move tutors
|
2022-06-06 16:25:42 -05:00
|
|
|
DEF n = 1
|
2021-04-19 16:31:37 -04:00
|
|
|
for n, 1, NUM_TUTORS + 1
|
|
|
|
db MT{02d:n}_MOVE
|
2020-07-06 16:53:05 -04:00
|
|
|
endr
|
2021-03-03 22:22:41 -05:00
|
|
|
assert_table_length NUM_TM_HM_TUTOR
|
|
|
|
|
2017-12-11 13:47:58 -05:00
|
|
|
db 0 ; end
|