diff options
| author | YamaArashi <shadow962@live.com> | 2015-07-14 23:16:06 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2015-07-14 23:16:06 -0700 |
| commit | 994c2cbf289efa2e23eabf1af96ba62e4f066005 (patch) | |
| tree | 74674d580b4ca868d727aae9ac71795d8d98b9c7 /engine/battle/bank_e_misc.asm | |
| parent | hall of fame / credits (diff) | |
| download | pokeyellow-994c2cbf289efa2e23eabf1af96ba62e4f066005.tar.gz pokeyellow-994c2cbf289efa2e23eabf1af96ba62e4f066005.tar.xz pokeyellow-994c2cbf289efa2e23eabf1af96ba62e4f066005.zip | |
named wram variables
Diffstat (limited to 'engine/battle/bank_e_misc.asm')
| -rwxr-xr-x | engine/battle/bank_e_misc.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/battle/bank_e_misc.asm b/engine/battle/bank_e_misc.asm index 2f3944e9..47242057 100755 --- a/engine/battle/bank_e_misc.asm +++ b/engine/battle/bank_e_misc.asm @@ -24,7 +24,7 @@ FormatMovesString: ; 39b87 (e:5b87) jr .copyNameLoop .doneCopyingName ld a, b - ld [wcd6c], a + ld [wNumMovesMinusOne], a inc b ld a, $4e ; line break ld [de], a @@ -70,7 +70,7 @@ InitList: ; 39bd5 (e:5bd5) .notPlayer cp INIT_MON_LIST jr nz, .notMonster - ld hl, wStringBuffer2 + 11 + ld hl, wItemList ld de, MonsterNames ld a, MONSTER_NAME jr .done @@ -82,15 +82,15 @@ InitList: ; 39bd5 (e:5bd5) ld a, ITEM_NAME jr .done .notBag - ld hl, wStringBuffer2 + 11 + ld hl, wItemList ld de, ItemNames ld a, ITEM_NAME .done ld [wNameListType], a ld a, l - ld [wList], a + ld [wListPointer], a ld a, h - ld [wList + 1], a + ld [wListPointer + 1], a ld a, e ld [wcf8d], a ld a, d |
