diff options
author | yenatch <yenatch@gmail.com> | 2017-12-10 01:47:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 01:47:10 -0500 |
commit | 94c7def4883fbdbcd3987a067443a2069b8bb610 (patch) | |
tree | 171c67509afba62571266bd6bebbfdb829d2a876 /battle/menu.asm | |
parent | 89b9292db0898f8ad2b6ea8513a3190762eb58c8 (diff) | |
parent | d554b997c590825f030bd1be71989653b16a2ae0 (diff) |
Merge pull request #409 from roukaour/master
Document constants with comments, actual names, and more thorough usage
Diffstat (limited to 'battle/menu.asm')
-rwxr-xr-x | battle/menu.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/battle/menu.asm b/battle/menu.asm index 3efcc0079..07d3e6081 100755 --- a/battle/menu.asm +++ b/battle/menu.asm @@ -1,11 +1,11 @@ LoadBattleMenu: ; 24ef2 ld hl, BattleMenuDataHeader call LoadMenuDataHeader - ld a, [wd0d2] + ld a, [wBattleMenuCursorBuffer] ld [wMenuCursorBuffer], a call InterpretBattleMenu ld a, [wMenuCursorBuffer] - ld [wd0d2], a + ld [wBattleMenuCursorBuffer], a call ExitMenu ret ; 24f0b @@ -23,11 +23,11 @@ ContestBattleMenu: ; 24f13 ; 24f19 Function24f19: ; 24f19 - ld a, [wd0d2] + ld a, [wBattleMenuCursorBuffer] ld [wMenuCursorBuffer], a call _2DMenu ld a, [wMenuCursorBuffer] - ld [wd0d2], a + ld [wBattleMenuCursorBuffer], a call ExitMenu ret ; 24f2c |