summaryrefslogtreecommitdiff
path: root/home/map.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-18 23:45:39 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-18 23:45:39 -0400
commit60cd04b02300c288a01a2f78a44cb39cbe6861d1 (patch)
treeef5bb2bd660a2020864c909fb5dda73f027a9e7c /home/map.asm
parente674869018ffe8f9be2351b2b569eb7300910e6a (diff)
Trainer data structure and field move functions
Trainer data in map scripts is now a macro-defined structure. Field move functions in main.asm are now nearly completely annotated, with local references. Trailing white space deleted.
Diffstat (limited to 'home/map.asm')
-rw-r--r--home/map.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/map.asm b/home/map.asm
index 78ec839c5..8cd185b61 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -1774,9 +1774,9 @@ Function2a3c:: ; 2a3c
GetBlockLocation:: ; 2a66
ld a, [MapWidth]
- add $6
+ add 6
ld c, a
- ld b, $0
+ ld b, 0
ld hl, wc801
add hl, bc
ld a, e
@@ -1797,7 +1797,7 @@ GetBlockLocation:: ; 2a66
.nope
ld c, d
srl c
- ld b, $0
+ ld b, 0
add hl, bc
ret
; 2a8b