aboutsummaryrefslogtreecommitdiffstats
path: root/data/moves
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-04-17 21:00:28 -0500
committerdannye <33dannye@gmail.com>2021-04-17 21:00:28 -0500
commitd4154b289176647ff20e19879de70073bd6d9a30 (patch)
treef4175a9303dd0e1430f4c42e79a4d5ffb1f32c00 /data/moves
parentMerge remote-tracking branch 'remotes/pokered/master' (diff)
parentPrevent some gcc versions from complaining about {0} in tools/scan_includes.c (diff)
downloadpokeyellow-d4154b289176647ff20e19879de70073bd6d9a30.tar.gz
pokeyellow-d4154b289176647ff20e19879de70073bd6d9a30.tar.xz
pokeyellow-d4154b289176647ff20e19879de70073bd6d9a30.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'data/moves')
-rw-r--r--data/moves/tmhm_moves.asm24
1 files changed, 4 insertions, 20 deletions
diff --git a/data/moves/tmhm_moves.asm b/data/moves/tmhm_moves.asm
index 850b24b4..0e4a79af 100644
--- a/data/moves/tmhm_moves.asm
+++ b/data/moves/tmhm_moves.asm
@@ -4,29 +4,13 @@
TechnicalMachines:
table_width 1, TechnicalMachines
-n = 1
-REPT NUM_TMS
-IF n < 10
-MOVE_FOR_TM EQUS "TM0{d:n}_MOVE"
-ELSE
-MOVE_FOR_TM EQUS "TM{d:n}_MOVE"
-ENDC
- db MOVE_FOR_TM
-PURGE MOVE_FOR_TM
-n = n + 1
+FOR n, 1, NUM_TMS + 1
+ db TM{02d:n}_MOVE
ENDR
assert_table_length NUM_TMS
-n = 1
-REPT NUM_HMS
-IF n < 10
-MOVE_FOR_HM EQUS "HM0{d:n}_MOVE"
-ELSE
-MOVE_FOR_HM EQUS "HM{d:n}_MOVE"
-ENDC
- db MOVE_FOR_HM
-PURGE MOVE_FOR_HM
-n = n + 1
+FOR n, 1, NUM_HMS + 1
+ db HM{02d:n}_MOVE
ENDR
assert_table_length NUM_TM_HM