diff options
author | Bryan Bishop <kanzure@gmail.com> | 2014-02-05 00:16:48 -0800 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2014-02-05 00:16:48 -0800 |
commit | ff6306400b2272a863fb55edbc00c6a22f24230f (patch) | |
tree | 3f67f455cd500e7a3c1956ee15ed6ffedfaa2edb /home.asm | |
parent | 1202e68d2f695d4b91d184bd43139dbe10cb8131 (diff) | |
parent | 30218eb3d6c0b523a302ac38601b4630c564aeb1 (diff) |
Merge pull request #229 from yenatch/nuke-globals
Use globals to implicitly define labels before passing them into BANK().
Diffstat (limited to 'home.asm')
-rw-r--r-- | home.asm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2395,6 +2395,8 @@ BattleTextBox:: ; 3ac3 StdBattleTextBox:: ; 3ad5 ; Open a textbox and print battle text at 20:hl. +GLOBAL BattleText + ld a, [hROMBank] push af @@ -2411,6 +2413,9 @@ StdBattleTextBox:: ; 3ad5 Function3ae1:: ; 3ae1 +GLOBAL BattleAnimations +GLOBAL BattleAnimCommands + ld a, BANK(BattleAnimations) rst Bankswitch @@ -2566,6 +2571,7 @@ UpdateSound:: ; 3b6a _LoadMusicByte:: ; 3b86 ; CurMusicByte = [a:de] +GLOBAL LoadMusicByte ld [hROMBank], a ld [MBC3RomBank], a |