summaryrefslogtreecommitdiff
path: root/data/moves
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-04-20 21:17:09 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-04-20 21:17:09 -0400
commit40dbe0df049a51bd2f0553c51579b80009072ea6 (patch)
treee029d3b7f8da22868b85dc5d349be3e7c50a6123 /data/moves
parent2449cd915436fd204a4096620db99fb5f9dde8fd (diff)
Use rgbds 0.5.0
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 47e92c59..43b6f255 100644
--- a/data/moves/tmhm_moves.asm
+++ b/data/moves/tmhm_moves.asm
@@ -6,30 +6,14 @@ TMHMMoves:
table_width 1, TMHMMoves
; TMs
-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
; HMs
-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