summaryrefslogtreecommitdiff
path: root/data/moves
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-04-19 16:31:37 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-04-19 16:31:37 -0400
commit316fa4b69558a1930a1a1ae44a40221a1ddd4f26 (patch)
tree4706eaec78ee5706e16e944eba4abfe1e7316168 /data/moves
parent35219230960f0dc85c0cb6a5723877b247609e46 (diff)
Use rgbds 0.5.0
Diffstat (limited to 'data/moves')
-rw-r--r--data/moves/tmhm_moves.asm37
1 files changed, 7 insertions, 30 deletions
diff --git a/data/moves/tmhm_moves.asm b/data/moves/tmhm_moves.asm
index 50f423596..bc3d5b685 100644
--- a/data/moves/tmhm_moves.asm
+++ b/data/moves/tmhm_moves.asm
@@ -6,44 +6,21 @@ 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_TMS + NUM_HMS
-; Move tutor
+; Move tutors
n = 1
-rept NUM_TUTORS
-if n < 10
-MOVE_FOR_MT EQUS "MT0{d:n}_MOVE"
-else
-MOVE_FOR_MT EQUS "MT{d:n}_MOVE"
-endc
- db MOVE_FOR_MT
-PURGE MOVE_FOR_MT
-n = n + 1
+for n, 1, NUM_TUTORS + 1
+ db MT{02d:n}_MOVE
endr
assert_table_length NUM_TM_HM_TUTOR