From 354685efd751cd2d05ff45c500e1af6da845f83d Mon Sep 17 00:00:00 2001 From: padz Date: Sat, 22 Sep 2012 19:27:57 -0400 Subject: treemon and assorted minor changes --- constants.asm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'constants.asm') diff --git a/constants.asm b/constants.asm index 3d75a8f0d..eb9def7fb 100644 --- a/constants.asm +++ b/constants.asm @@ -1,5 +1,10 @@ _CRYSTAL EQU 1 +dwb: MACRO + dw \1 + db \2 + ENDM + TX_FAR: MACRO db $16 dw \1 -- cgit v1.2.3 From ea897c2a371d66b6f4fa1b07fb37d4a8b8f10edc Mon Sep 17 00:00:00 2001 From: padz Date: Sun, 23 Sep 2012 12:50:44 -0400 Subject: fix last commit --- constants.asm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'constants.asm') diff --git a/constants.asm b/constants.asm index eb9def7fb..be11efcc6 100644 --- a/constants.asm +++ b/constants.asm @@ -263,6 +263,8 @@ LUGIA EQU 249 HO_OH EQU 250 CELEBI EQU 251 +EGG EQU 253 + ; move name constants POUND EQU $01 KARATE_CHOP EQU $02 @@ -2988,3 +2990,7 @@ OPTION EQU 2 MYSTERY_GIFT EQU 3 MOBILE EQU 4 MOBILE_STUDIUM EQU 5 + +; name length +PLAYER_NAME_LENGTH EQU 8 +PKMN_NAME_LENGTH EQU 11 \ No newline at end of file -- cgit v1.2.3 From 399a5ab171e75fff03b25ef35bbfd90521c3953a Mon Sep 17 00:00:00 2001 From: padz Date: Wed, 26 Sep 2012 15:43:48 -0400 Subject: emergency fix --- constants.asm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'constants.asm') diff --git a/constants.asm b/constants.asm index be11efcc6..408cd884d 100644 --- a/constants.asm +++ b/constants.asm @@ -5,6 +5,18 @@ dwb: MACRO db \2 ENDM +callab: MACRO + ld hl, \1 + ld a, BANK(\1) + rst $08 + ENDM + +callba: MACRO + ld a, BANK(\1) + ld hl, \1 + rst $08 + ENDM + TX_FAR: MACRO db $16 dw \1 -- cgit v1.2.3