Use globals to implicitly define labels before passing them into BANK().

This commit is contained in:
yenatch
2014-02-04 21:29:13 -05:00
parent 7c02c2bb31
commit 30218eb3d6
3 changed files with 22 additions and 0 deletions

View File

@@ -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