.s -> .inc

This commit is contained in:
YamaArashi committed 2016-11-01 08:29:13 -07:00
1 parent 2ec5b0cedd
commit a793e62d83
179 files changed
+196 -564

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
.macro new_map_group
.set cur_map_group, cur_map_group + 1
.set cur_map_num, 0
.endm
.macro map_group map_name
.set GROUP_\map_name, cur_map_group
.set MAP_\map_name, cur_map_num
.set cur_map_num, cur_map_num + 1
.endm
.macro map map_name
.byte GROUP_\map_name
.byte MAP_\map_name
.endm