diff options
author | yenatch <yenatch@gmail.com> | 2014-06-04 17:23:57 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-06-04 17:23:57 -0400 |
commit | dfe221b9d15bd8ff90253d52796d86e5dfd4c222 (patch) | |
tree | a75de4f8c9cb6cb9094d7e616a072912f254d937 /misc/crystal_misc.asm | |
parent | 1f3091903752841a00f86141543ec5f42c992ec7 (diff) | |
parent | 55972bfb83780f597ab30fd1c42475a194f3f0d1 (diff) |
Merge pull request #254 from yenatch/master
Better compression, macro cleanup, use MAX_LEVEL everywhere.
- move stats -> data (like pokered).
- remove FuncCoord and use {hl,bc,de}coord for all tilemap loads.
- use MAX_LEVEL where needed.
- update pokemontools for better compression, and recomment related code.
- growth rate constants
Diffstat (limited to 'misc/crystal_misc.asm')
-rw-r--r-- | misc/crystal_misc.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/crystal_misc.asm b/misc/crystal_misc.asm index 1b402b61c..8e6b15acc 100644 --- a/misc/crystal_misc.asm +++ b/misc/crystal_misc.asm @@ -481,10 +481,10 @@ Function17a964: ; 17a964 (5e:6964) ; known jump sources: 17a75b (5e:675b) Function17a97b: ; 17a97b (5e:697b) - ld hl, $c4b5 + hlcoord 1, 1 ld bc, $212 call ClearBox - ld hl, $c4cb + hlcoord 3, 2 ld de, Buffer1 ; $d1ea (aliases: MagikarpLength) ld a, [$d08c] and a @@ -505,11 +505,11 @@ Function17a97b: ; 17a97b (5e:697b) ; known jump sources: 17a92f (5e:692f) Function17a99e: ; 17a99e (5e:699e) - ld hl, $c590 + hlcoord 0, 12 ld b, $4 ld c, $12 call Function17ac46 - ld hl, $c5ba + hlcoord 2, 14 ld de, $69b2 call PlaceString ret @@ -784,7 +784,7 @@ Function17ac0c: ; 17ac0c (5e:6c0c) ; known jump sources: 17a7e3 (5e:67e3), 17a804 (5e:6804), 17a826 (5e:6826), 17ac0c (5e:6c0c) Function17ac1d: ; 17ac1d (5e:6c1d) ld hl, $6cd5 - ld de, $c4f0 + decoord 0, 4 ld bc, $118 call CopyBytes ret |