pokecrystal-board/data/moves/tmhm_moves.asm

28 lines
575 B
NASM
Raw Normal View History

; 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 07:09:41 -07:00
TMHMMoves:
; entries correspond to *_TMNUM constants (see constants/item_constants.asm)
table_width 1, TMHMMoves
; TMs
2021-04-19 13:31:37 -07:00
for n, 1, NUM_TMS + 1
db TM{02d:n}_MOVE
endr
2021-03-22 13:41:17 -07:00
assert_table_length NUM_TMS
; HMs
2021-04-19 13:31:37 -07:00
for n, 1, NUM_HMS + 1
db HM{02d:n}_MOVE
endr
2021-03-22 13:41:17 -07:00
assert_table_length NUM_TMS + NUM_HMS
2021-04-19 13:31:37 -07:00
; Move tutors
DEF n = 1
2021-04-19 13:31:37 -07:00
for n, 1, NUM_TUTORS + 1
db MT{02d:n}_MOVE
endr
assert_table_length NUM_TM_HM_TUTOR
db 0 ; end