aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/e.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-08-07 21:17:44 -0700
committeryenatch <yenatch@gmail.com>2014-08-07 21:17:44 -0700
commit1cf79b6f15761ec95ba1b0f9d6d83781c4240612 (patch)
tree705b9c16082db98d1badd90ad214e433b95f9256 /engine/battle/e.asm
parentAdd a comment to the "compare" target. (diff)
downloadpokeyellow-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/e.asm')
-rwxr-xr-xengine/battle/e.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/e.asm b/engine/battle/e.asm
index 8b0476ca..a0d9d80c 100755
--- a/engine/battle/e.asm
+++ b/engine/battle/e.asm
@@ -587,7 +587,7 @@ Func_39b87: ; 39b87 (e:5b87)
jr z, .asm_39bc1
push hl
ld [wd0b5], a
- ld a, $2c
+ ld a, BANK(MoveNames)
ld [wPredefBank], a
ld a, MOVE_NAME
ld [W_LISTTYPE], a