diff options
author | yenatch <yenatch@gmail.com> | 2014-02-04 21:29:13 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-02-04 21:30:27 -0500 |
commit | 30218eb3d6c0b523a302ac38601b4630c564aeb1 (patch) | |
tree | 3f67f455cd500e7a3c1956ee15ed6ffedfaa2edb /items | |
parent | 7c02c2bb31317c31446a5907fe68f26dabb4858f (diff) |
Use globals to implicitly define labels before passing them into BANK().
Diffstat (limited to 'items')
-rw-r--r-- | items/item_effects.asm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm index d1bb8a3a3..f34f95c70 100644 --- a/items/item_effects.asm +++ b/items/item_effects.asm @@ -770,6 +770,12 @@ GetPokedexEntryBank: ; ec38 ret .PokedexEntryBanks + +GLOBAL PokedexEntries1 +GLOBAL PokedexEntries2 +GLOBAL PokedexEntries3 +GLOBAL PokedexEntries4 + db BANK(PokedexEntries1) db BANK(PokedexEntries2) db BANK(PokedexEntries3) @@ -895,6 +901,10 @@ Function_0xeccc: ; eccc Function_0xecdd: ; ecdd + +GLOBAL EvosAttacks +GLOBAL EvosAttacksPointers + push bc ld a, [TempEnemyMonSpecies] dec a |