diff options
| author | yenatch <yenatch@gmail.com> | 2014-08-07 21:17:44 -0700 |
|---|---|---|
| committer | yenatch <yenatch@gmail.com> | 2014-08-07 21:17:44 -0700 |
| commit | 1cf79b6f15761ec95ba1b0f9d6d83781c4240612 (patch) | |
| tree | 705b9c16082db98d1badd90ad214e433b95f9256 /engine/battle/4_2.asm | |
| parent | Add a comment to the "compare" target. (diff) | |
| download | pokeyellow-1cf79b6f15761ec95ba1b0f9d6d83781c4240612.tar.gz pokeyellow-1cf79b6f15761ec95ba1b0f9d6d83781c4240612.tar.xz pokeyellow-1cf79b6f15761ec95ba1b0f9d6d83781c4240612.zip | |
Fix static banks passed into GetName.
This appears to be the only other use of wPredefBank.
Chances are there are more uncaught banks. Known cases are marked as "hardcoded" or similar.
Diffstat (limited to 'engine/battle/4_2.asm')
| -rwxr-xr-x | engine/battle/4_2.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/4_2.asm b/engine/battle/4_2.asm index c5c62796..b53ea6e4 100755 --- a/engine/battle/4_2.asm +++ b/engine/battle/4_2.asm @@ -391,7 +391,7 @@ GetTrainerName_: ; 13a58 (4:7a58) ld [wd0b5], a ld a, TRAINER_NAME ld [W_LISTTYPE], a - ld a, $e + ld a, BANK(TrainerNames) ld [wPredefBank], a call GetName ld hl, wcd6d |
