shithub: pokered

Download patch

ref: 92b4f52d6eb8cc6d58ecb817aa0e544240d42a9f
parent: a252a149d92c3784575260f0e150472eb8369705
author: IIMarckus <iimarckus@gmail.com>
date: Sun Dec 26 15:24:05 EST 2010

Add map ID constants

hg-commit-id: 73591e9194ac


--- a/constants.asm
+++ b/constants.asm
@@ -785,3 +785,42 @@
 PAL_BADGE     EQU $22
 PAL_CAVE      EQU $23
 ; XXX
+
+; map name constants
+PALLET_TOWN     EQU $00
+VIRIDIAN_CITY   EQU $01
+PEWTER_CITY     EQU $02
+CERULEAN_CITY   EQU $03
+LAVENDER_TOWN   EQU $04
+VERMILION_CITY  EQU $05
+CELADON_CITY    EQU $06
+FUCHSIA_CITY    EQU $07
+CINNABAR_ISLAND EQU $08
+INDIGO_PLATEAU  EQU $09
+SAFFRON_CITY    EQU $0A
+; unused        EQU $0B
+ROUTE_1         EQU $0C
+ROUTE_2         EQU $0D
+ROUTE_3         EQU $0E
+ROUTE_4         EQU $0F
+ROUTE_5         EQU $10
+ROUTE_6         EQU $11
+ROUTE_7         EQU $12
+ROUTE_8         EQU $13
+ROUTE_9         EQU $14
+ROUTE_10        EQU $15
+ROUTE_11        EQU $16
+ROUTE_12        EQU $17
+ROUTE_13        EQU $18
+ROUTE_14        EQU $19
+ROUTE_15        EQU $1A
+ROUTE_16        EQU $1B
+ROUTE_17        EQU $1C
+ROUTE_18        EQU $1D
+ROUTE_19        EQU $1E
+ROUTE_20        EQU $1F
+ROUTE_21        EQU $20
+ROUTE_22        EQU $21
+ROUTE_23        EQU $22
+ROUTE_24        EQU $23
+ROUTE_25        EQU $24