From f74fd6903f90e30c3bf1dbde93153ddec62a450a Mon Sep 17 00:00:00 2001 From: Scott Norton Date: Mon, 29 Jun 2015 22:24:45 -0400 Subject: - Renamed "Functiond283" to "GetPocketCapacity" and updated the pointers and constants to better reflect their hypothesized purposes. - Using yenatch's version of the macro and constant handling, rewrote the tmhm bit array as a macro-defined environment. --- home.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'home.asm') diff --git a/home.asm b/home.asm index 1cf26978a..9f8dd4fd1 100644 --- a/home.asm +++ b/home.asm @@ -991,7 +991,7 @@ GetItemName:: ; 3468 push bc ld a, [wd265] - cp TM_01 + cp TM01 jr nc, .TM ld [CurSpecies], a @@ -1019,7 +1019,7 @@ GetTMHMName:: ; 3487 push af ; TM/HM prefix - cp HM_01 + cp HM01 push af jr c, .TM @@ -1094,7 +1094,7 @@ GetTMHMName:: ; 3487 IsHM:: ; 34df - cp HM_01 + cp HM01 jr c, .NotHM scf ret -- cgit v1.2.3