summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorScott Norton <PikalaxALT@gmail.com>2015-06-29 22:24:45 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-03 13:46:38 -0400
commitf74fd6903f90e30c3bf1dbde93153ddec62a450a (patch)
tree3d90d694665388922af9a1137e962db30d95427b /home.asm
parente2c2e20f93f43848542362a5deee677e88f9507d (diff)
- 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.
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm6
1 files changed, 3 insertions, 3 deletions
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