diff options
author | YamaArashi <shadow962@live.com> | 2015-07-14 15:48:34 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-14 15:48:34 -0700 |
commit | a0ed5bd4aa28745d4d3a47471636d2b9f4235b67 (patch) | |
tree | 95ccf81266e2e41f8400286a8f3d978a9ee841fe /engine | |
parent | 01631a2e5910b5334ba0f7cc534bc5d7e5b60ccc (diff) |
field moves
Diffstat (limited to 'engine')
-rwxr-xr-x | engine/menu/start_sub_menus.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/menu/start_sub_menus.asm b/engine/menu/start_sub_menus.asm index 825360a6..0fbc0735 100755 --- a/engine/menu/start_sub_menus.asm +++ b/engine/menu/start_sub_menus.asm @@ -33,14 +33,14 @@ StartMenu_Pokemon: ; 130a9 (4:70a9) ld a,FIELD_MOVE_MON_MENU ld [wTextBoxID],a call DisplayTextBoxID ; display pokemon menu options - ld hl,wWhichTrade + ld hl,wFieldMoves ld bc,$020c ; max menu item ID, top menu item Y ld e,5 .adjustMenuVariablesLoop dec e jr z,.storeMenuVariables ld a,[hli] - and a + and a ; end of field moves? jr z,.storeMenuVariables inc b dec c @@ -50,7 +50,7 @@ StartMenu_Pokemon: ; 130a9 (4:70a9) ld hl,wTopMenuItemY ld a,c ld [hli],a ; top menu item Y - ld a,[$fff7] + ld a,[hFieldMoveMonMenuTopMenuItemX] ld [hli],a ; top menu item X xor a ld [hli],a ; current menu item ID |