map_constants.asm 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. mapconst: MACRO
  2. const \1
  3. \1_HEIGHT EQU \2
  4. \1_WIDTH EQU \3
  5. ENDM
  6. const_def
  7. mapconst PALLET_TOWN, 9, 10 ; $00
  8. mapconst VIRIDIAN_CITY, 18, 20 ; $01
  9. mapconst PEWTER_CITY, 18, 20 ; $02
  10. mapconst CERULEAN_CITY, 18, 20 ; $03
  11. mapconst LAVENDER_TOWN, 9, 10 ; $04
  12. mapconst VERMILION_CITY, 18, 20 ; $05
  13. mapconst CELADON_CITY, 18, 25 ; $06
  14. mapconst FUCHSIA_CITY, 18, 20 ; $07
  15. mapconst CINNABAR_ISLAND, 9, 10 ; $08
  16. mapconst INDIGO_PLATEAU, 9, 10 ; $09
  17. mapconst SAFFRON_CITY, 18, 20 ; $0A
  18. mapconst UNUSED_MAP_0B, 0, 0 ; $0B
  19. mapconst ROUTE_1, 18, 10 ; $0C
  20. mapconst ROUTE_2, 36, 10 ; $0D
  21. mapconst ROUTE_3, 9, 35 ; $0E
  22. mapconst ROUTE_4, 9, 45 ; $0F
  23. mapconst ROUTE_5, 18, 10 ; $10
  24. mapconst ROUTE_6, 18, 10 ; $11
  25. mapconst ROUTE_7, 9, 10 ; $12
  26. mapconst ROUTE_8, 9, 30 ; $13
  27. mapconst ROUTE_9, 9, 30 ; $14
  28. mapconst ROUTE_10, 36, 10 ; $15
  29. mapconst ROUTE_11, 9, 30 ; $16
  30. mapconst ROUTE_12, 54, 10 ; $17
  31. mapconst ROUTE_13, 9, 30 ; $18
  32. mapconst ROUTE_14, 27, 10 ; $19
  33. mapconst ROUTE_15, 9, 30 ; $1A
  34. mapconst ROUTE_16, 9, 20 ; $1B
  35. mapconst ROUTE_17, 72, 10 ; $1C
  36. mapconst ROUTE_18, 9, 25 ; $1D
  37. mapconst ROUTE_19, 27, 10 ; $1E
  38. mapconst ROUTE_20, 9, 50 ; $1F
  39. mapconst ROUTE_21, 45, 10 ; $20
  40. mapconst ROUTE_22, 9, 20 ; $21
  41. mapconst ROUTE_23, 72, 10 ; $22
  42. mapconst ROUTE_24, 18, 10 ; $23
  43. mapconst ROUTE_25, 9, 30 ; $24
  44. mapconst REDS_HOUSE_1F, 4, 4 ; $25
  45. mapconst REDS_HOUSE_2F, 4, 4 ; $26
  46. mapconst BLUES_HOUSE, 4, 4 ; $27
  47. mapconst OAKS_LAB, 6, 5 ; $28
  48. mapconst VIRIDIAN_POKECENTER, 4, 7 ; $29
  49. mapconst VIRIDIAN_MART, 4, 4 ; $2A
  50. mapconst VIRIDIAN_SCHOOL, 4, 4 ; $2B
  51. mapconst VIRIDIAN_HOUSE, 4, 4 ; $2C
  52. mapconst VIRIDIAN_GYM, 9, 10 ; $2D
  53. mapconst DIGLETTS_CAVE_EXIT, 4, 4 ; $2E
  54. mapconst VIRIDIAN_FOREST_EXIT, 4, 5 ; $2F
  55. mapconst ROUTE_2_HOUSE, 4, 4 ; $30
  56. mapconst ROUTE_2_GATE, 4, 5 ; $31
  57. mapconst VIRIDIAN_FOREST_ENTRANCE, 4, 5 ; $32
  58. mapconst VIRIDIAN_FOREST, 24, 17 ; $33
  59. mapconst MUSEUM_1F, 4, 10 ; $34
  60. mapconst MUSEUM_2F, 4, 7 ; $35
  61. mapconst PEWTER_GYM, 7, 5 ; $36
  62. mapconst PEWTER_HOUSE_1, 4, 4 ; $37
  63. mapconst PEWTER_MART, 4, 4 ; $38
  64. mapconst PEWTER_HOUSE_2, 4, 4 ; $39
  65. mapconst PEWTER_POKECENTER, 4, 7 ; $3A
  66. mapconst MT_MOON_1, 18, 20 ; $3B
  67. mapconst MT_MOON_2, 14, 14 ; $3C
  68. mapconst MT_MOON_3, 18, 20 ; $3D
  69. mapconst TRASHED_HOUSE, 4, 4 ; $3E
  70. mapconst CERULEAN_HOUSE_1, 4, 4 ; $3F
  71. mapconst CERULEAN_POKECENTER, 4, 7 ; $40
  72. mapconst CERULEAN_GYM, 7, 5 ; $41
  73. mapconst BIKE_SHOP, 4, 4 ; $42
  74. mapconst CERULEAN_MART, 4, 4 ; $43
  75. mapconst MT_MOON_POKECENTER, 4, 7 ; $44
  76. mapconst TRASHED_HOUSE_COPY, 4, 4 ; $45
  77. mapconst ROUTE_5_GATE, 3, 4 ; $46
  78. mapconst PATH_ENTRANCE_ROUTE_5, 4, 4 ; $47
  79. mapconst DAYCAREM, 4, 4 ; $48
  80. mapconst ROUTE_6_GATE, 3, 4 ; $49
  81. mapconst PATH_ENTRANCE_ROUTE_6, 4, 4 ; $4A
  82. mapconst PATH_ENTRANCE_ROUTE_6_COPY, 4, 4 ; $4B
  83. mapconst ROUTE_7_GATE, 4, 3 ; $4C
  84. mapconst PATH_ENTRANCE_ROUTE_7, 4, 4 ; $4D
  85. mapconst PATH_ENTRANCE_ROUTE_7_COPY, 4, 4 ; $4E
  86. mapconst ROUTE_8_GATE, 4, 3 ; $4F
  87. mapconst PATH_ENTRANCE_ROUTE_8, 4, 4 ; $50
  88. mapconst ROCK_TUNNEL_POKECENTER, 4, 7 ; $51
  89. mapconst ROCK_TUNNEL_1, 18, 20 ; $52
  90. mapconst POWER_PLANT, 18, 20 ; $53
  91. mapconst ROUTE_11_GATE_1F, 5, 4 ; $54
  92. mapconst DIGLETTS_CAVE_ENTRANCE, 4, 4 ; $55
  93. mapconst ROUTE_11_GATE_2F, 4, 4 ; $56
  94. mapconst ROUTE_12_GATE_1F, 4, 5 ; $57
  95. mapconst BILLS_HOUSE, 4, 4 ; $58
  96. mapconst VERMILION_POKECENTER, 4, 7 ; $59
  97. mapconst POKEMON_FAN_CLUB, 4, 4 ; $5A
  98. mapconst VERMILION_MART, 4, 4 ; $5B
  99. mapconst VERMILION_GYM, 9, 5 ; $5C
  100. mapconst VERMILION_HOUSE_1, 4, 4 ; $5D
  101. mapconst VERMILION_DOCK, 6, 14 ; $5E
  102. mapconst SS_ANNE_1, 9, 20 ; $5F
  103. mapconst SS_ANNE_2, 9, 20 ; $60
  104. mapconst SS_ANNE_3, 3, 10 ; $61
  105. mapconst SS_ANNE_4, 4, 15 ; $62
  106. mapconst SS_ANNE_5, 7, 10 ; $63
  107. mapconst SS_ANNE_6, 8, 7 ; $64
  108. mapconst SS_ANNE_7, 4, 3 ; $65
  109. mapconst SS_ANNE_8, 8, 12 ; $66
  110. mapconst SS_ANNE_9, 8, 12 ; $67
  111. mapconst SS_ANNE_10, 8, 12 ; $68
  112. mapconst UNUSED_MAP_69, 0, 0 ; $69
  113. mapconst UNUSED_MAP_6A, 0, 0 ; $6A
  114. mapconst UNUSED_MAP_6B, 0, 0 ; $6B
  115. mapconst VICTORY_ROAD_1, 9, 10 ; $6C
  116. mapconst UNUSED_MAP_6D, 0, 0 ; $6D
  117. mapconst UNUSED_MAP_6E, 0, 0 ; $6E
  118. mapconst UNUSED_MAP_6F, 0, 0 ; $6F
  119. mapconst UNUSED_MAP_70, 0, 0 ; $70
  120. mapconst LANCES_ROOM, 13, 13 ; $71
  121. mapconst UNUSED_MAP_72, 0, 0 ; $72
  122. mapconst UNUSED_MAP_73, 0, 0 ; $73
  123. mapconst UNUSED_MAP_74, 0, 0 ; $74
  124. mapconst UNUSED_MAP_75, 0, 0 ; $75
  125. mapconst HALL_OF_FAME, 4, 5 ; $76
  126. mapconst UNDERGROUND_PATH_NS, 24, 4 ; $77
  127. mapconst CHAMPIONS_ROOM, 4, 4 ; $78
  128. mapconst UNDERGROUND_PATH_WE, 4, 25 ; $79
  129. mapconst CELADON_MART_1, 4, 10 ; $7A
  130. mapconst CELADON_MART_2, 4, 10 ; $7B
  131. mapconst CELADON_MART_3, 4, 10 ; $7C
  132. mapconst CELADON_MART_4, 4, 10 ; $7D
  133. mapconst CELADON_MART_ROOF, 4, 10 ; $7E
  134. mapconst CELADON_MART_ELEVATOR, 2, 2 ; $7F
  135. mapconst CELADON_MANSION_1, 6, 4 ; $80
  136. mapconst CELADON_MANSION_2, 6, 4 ; $81
  137. mapconst CELADON_MANSION_3, 6, 4 ; $82
  138. mapconst CELADON_MANSION_4, 6, 4 ; $83
  139. mapconst CELADON_MANSION_5, 4, 4 ; $84
  140. mapconst CELADON_POKECENTER, 4, 7 ; $85
  141. mapconst CELADON_GYM, 9, 5 ; $86
  142. mapconst GAME_CORNER, 9, 10 ; $87
  143. mapconst CELADON_MART_5, 4, 10 ; $88
  144. mapconst CELADON_PRIZE_ROOM, 4, 5 ; $89
  145. mapconst CELADON_DINER, 4, 5 ; $8A
  146. mapconst CELADON_HOUSE, 4, 4 ; $8B
  147. mapconst CELADON_HOTEL, 4, 7 ; $8C
  148. mapconst LAVENDER_POKECENTER, 4, 7 ; $8D
  149. mapconst POKEMONTOWER_1, 9, 10 ; $8E
  150. mapconst POKEMONTOWER_2, 9, 10 ; $8F
  151. mapconst POKEMONTOWER_3, 9, 10 ; $90
  152. mapconst POKEMONTOWER_4, 9, 10 ; $91
  153. mapconst POKEMONTOWER_5, 9, 10 ; $92
  154. mapconst POKEMONTOWER_6, 9, 10 ; $93
  155. mapconst POKEMONTOWER_7, 9, 10 ; $94
  156. mapconst LAVENDER_HOUSE_1, 4, 4 ; $95
  157. mapconst LAVENDER_MART, 4, 4 ; $96
  158. mapconst LAVENDER_HOUSE_2, 4, 4 ; $97
  159. mapconst FUCHSIA_MART, 4, 4 ; $98
  160. mapconst FUCHSIA_HOUSE_1, 4, 4 ; $99
  161. mapconst FUCHSIA_POKECENTER, 4, 7 ; $9A
  162. mapconst FUCHSIA_HOUSE_2, 4, 5 ; $9B
  163. mapconst SAFARI_ZONE_ENTRANCE, 3, 4 ; $9C
  164. mapconst FUCHSIA_GYM, 9, 5 ; $9D
  165. mapconst FUCHSIA_MEETING_ROOM, 4, 7 ; $9E
  166. mapconst SEAFOAM_ISLANDS_2, 9, 15 ; $9F
  167. mapconst SEAFOAM_ISLANDS_3, 9, 15 ; $A0
  168. mapconst SEAFOAM_ISLANDS_4, 9, 15 ; $A1
  169. mapconst SEAFOAM_ISLANDS_5, 9, 15 ; $A2
  170. mapconst VERMILION_HOUSE_2, 4, 4 ; $A3
  171. mapconst FUCHSIA_HOUSE_3, 4, 4 ; $A4
  172. mapconst MANSION_1, 14, 15 ; $A5
  173. mapconst CINNABAR_GYM, 9, 10 ; $A6
  174. mapconst CINNABAR_LAB_1, 4, 9 ; $A7
  175. mapconst CINNABAR_LAB_2, 4, 4 ; $A8
  176. mapconst CINNABAR_LAB_3, 4, 4 ; $A9
  177. mapconst CINNABAR_LAB_4, 4, 4 ; $AA
  178. mapconst CINNABAR_POKECENTER, 4, 7 ; $AB
  179. mapconst CINNABAR_MART, 4, 4 ; $AC
  180. mapconst CINNABAR_MART_COPY, 4, 4 ; $AD
  181. mapconst INDIGO_PLATEAU_LOBBY, 6, 8 ; $AE
  182. mapconst COPYCATS_HOUSE_1F, 4, 4 ; $AF
  183. mapconst COPYCATS_HOUSE_2F, 4, 4 ; $B0
  184. mapconst FIGHTING_DOJO, 6, 5 ; $B1
  185. mapconst SAFFRON_GYM, 9, 10 ; $B2
  186. mapconst SAFFRON_HOUSE_1, 4, 4 ; $B3
  187. mapconst SAFFRON_MART, 4, 4 ; $B4
  188. mapconst SILPH_CO_1F, 9, 15 ; $B5
  189. mapconst SAFFRON_POKECENTER, 4, 7 ; $B6
  190. mapconst SAFFRON_HOUSE_2, 4, 4 ; $B7
  191. mapconst ROUTE_15_GATE_1F, 5, 4 ; $B8
  192. mapconst ROUTE_15_GATE_2F, 4, 4 ; $B9
  193. mapconst ROUTE_16_GATE_1F, 7, 4 ; $BA
  194. mapconst ROUTE_16_GATE_2F, 4, 4 ; $BB
  195. mapconst ROUTE_16_HOUSE, 4, 4 ; $BC
  196. mapconst ROUTE_12_HOUSE, 4, 4 ; $BD
  197. mapconst ROUTE_18_GATE_1F, 5, 4 ; $BE
  198. mapconst ROUTE_18_GATE_2F, 4, 4 ; $BF
  199. mapconst SEAFOAM_ISLANDS_1, 9, 15 ; $C0
  200. mapconst ROUTE_22_GATE, 4, 5 ; $C1
  201. mapconst VICTORY_ROAD_2, 9, 15 ; $C2
  202. mapconst ROUTE_12_GATE_2F, 4, 4 ; $C3
  203. mapconst VERMILION_HOUSE_3, 4, 4 ; $C4
  204. mapconst DIGLETTS_CAVE, 18, 20 ; $C5
  205. mapconst VICTORY_ROAD_3, 9, 15 ; $C6
  206. mapconst ROCKET_HIDEOUT_1, 14, 15 ; $C7
  207. mapconst ROCKET_HIDEOUT_2, 14, 15 ; $C8
  208. mapconst ROCKET_HIDEOUT_3, 14, 15 ; $C9
  209. mapconst ROCKET_HIDEOUT_4, 12, 15 ; $CA
  210. mapconst ROCKET_HIDEOUT_ELEVATOR, 4, 3 ; $CB
  211. mapconst UNUSED_MAP_CC, 0, 0 ; $CC
  212. mapconst UNUSED_MAP_CD, 0, 0 ; $CD
  213. mapconst UNUSED_MAP_CE, 0, 0 ; $CE
  214. mapconst SILPH_CO_2F, 9, 15 ; $CF
  215. mapconst SILPH_CO_3F, 9, 15 ; $D0
  216. mapconst SILPH_CO_4F, 9, 15 ; $D1
  217. mapconst SILPH_CO_5F, 9, 15 ; $D2
  218. mapconst SILPH_CO_6F, 9, 13 ; $D3
  219. mapconst SILPH_CO_7F, 9, 13 ; $D4
  220. mapconst SILPH_CO_8F, 9, 13 ; $D5
  221. mapconst MANSION_2, 14, 15 ; $D6
  222. mapconst MANSION_3, 9, 15 ; $D7
  223. mapconst MANSION_4, 14, 15 ; $D8
  224. mapconst SAFARI_ZONE_EAST, 13, 15 ; $D9
  225. mapconst SAFARI_ZONE_NORTH, 18, 20 ; $DA
  226. mapconst SAFARI_ZONE_WEST, 13, 15 ; $DB
  227. mapconst SAFARI_ZONE_CENTER, 13, 15 ; $DC
  228. mapconst SAFARI_ZONE_REST_HOUSE_1, 4, 4 ; $DD
  229. mapconst SAFARI_ZONE_SECRET_HOUSE, 4, 4 ; $DE
  230. mapconst SAFARI_ZONE_REST_HOUSE_2, 4, 4 ; $DF
  231. mapconst SAFARI_ZONE_REST_HOUSE_3, 4, 4 ; $E0
  232. mapconst SAFARI_ZONE_REST_HOUSE_4, 4, 4 ; $E1
  233. mapconst UNKNOWN_DUNGEON_2, 9, 15 ; $E2
  234. mapconst UNKNOWN_DUNGEON_3, 9, 15 ; $E3
  235. mapconst UNKNOWN_DUNGEON_1, 9, 15 ; $E4
  236. mapconst NAME_RATERS_HOUSE, 4, 4 ; $E5
  237. mapconst CERULEAN_HOUSE_2, 4, 4 ; $E6
  238. mapconst UNUSED_MAP_E7, 0, 0 ; $E7
  239. mapconst ROCK_TUNNEL_2, 18, 20 ; $E8
  240. mapconst SILPH_CO_9F, 9, 13 ; $E9
  241. mapconst SILPH_CO_10F, 9, 8 ; $EA
  242. mapconst SILPH_CO_11F, 9, 9 ; $EB
  243. mapconst SILPH_CO_ELEVATOR, 2, 2 ; $EC
  244. mapconst UNUSED_MAP_ED, 0, 0 ; $ED
  245. mapconst UNUSED_MAP_EE, 0, 0 ; $EE
  246. mapconst TRADE_CENTER, 4, 5 ; $EF
  247. mapconst COLOSSEUM, 4, 5 ; $F0
  248. mapconst UNUSED_MAP_F1, 0, 0 ; $F1
  249. mapconst UNUSED_MAP_F2, 0, 0 ; $F2
  250. mapconst UNUSED_MAP_F3, 0, 0 ; $F3
  251. mapconst UNUSED_MAP_F4, 0, 0 ; $F4
  252. mapconst LORELEIS_ROOM, 6, 5 ; $F5
  253. mapconst BRUNOS_ROOM, 6, 5 ; $F6
  254. mapconst AGATHAS_ROOM, 6, 5 ; $F7