Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pret
GitHub Repository: pret/pokered
Path: blob/master/data/moves/tmhm_moves.asm
1271 views
1
; The add_hm and add_tm macros in constants/item_constants.asm simultaneously
2
; define constants for the item IDs and for the corresponding move values.
3
4
TechnicalMachines:
5
table_width 1
6
7
FOR n, 1, NUM_TMS + 1
8
db TM{02d:n}_MOVE
9
ENDR
10
assert_table_length NUM_TMS
11
12
FOR n, 1, NUM_HMS + 1
13
db HM{02d:n}_MOVE
14
ENDR
15
assert_table_length NUM_TM_HM
16
17