diff options
author | yenatch <yenatch@gmail.com> | 2014-06-16 11:20:01 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-06-16 11:20:01 -0700 |
commit | 8639fcd29b0e929ec6cc236a209d0e07a495db14 (patch) | |
tree | c5021a1842b931ff41b63a884739342fa31f0a9e /battle/ai/items.asm | |
parent | 0b7dfeb9b208a16682e92de9cf15e19fb8cf8a94 (diff) |
Use a predef macro that takes labels instead of juggling constants.
Besides making predefs convenient, naming a predef no longer requires
adding or renaming a predef constant. This also lets predefs be rearranged at will.
Diffstat (limited to 'battle/ai/items.asm')
-rw-r--r-- | battle/ai/items.asm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/battle/ai/items.asm b/battle/ai/items.asm index dcdf39feb..a70e84faa 100644 --- a/battle/ai/items.asm +++ b/battle/ai/items.asm @@ -643,8 +643,7 @@ asm_38436: ; 38436 (e:4436) xor a ld [$d10a], a call Function3839a - ld a, $b - call Predef + predef Functionc6e0 jp Function38387 |