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/evos_moves.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/evos_moves.asm')
| -rwxr-xr-x | engine/evos_moves.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/evos_moves.asm b/engine/evos_moves.asm index fd93fa14..9869153e 100755 --- a/engine/evos_moves.asm +++ b/engine/evos_moves.asm @@ -135,7 +135,7 @@ Func_3ad71: ; 3ad71 (e:6d71) ld [wHPBarMaxHP + 1], a ld a, MONSTER_NAME ld [W_LISTTYPE], a - ld a, $e + ld a, BANK(TrainerNames) ; bank is not used for monster names ld [wPredefBank], a call GetName push hl |
