mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
832b0b525f
- Thanks to Sanqui for many Ruby/Sapphire names. https://github.com/Sanqui/romhacking/blob/master/pokemon/location-area-names
16 lines
302 B
ArmAsm
16 lines
302 B
ArmAsm
.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
|