aboutsummaryrefslogtreecommitdiffstats
path: root/home/start_menu.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:51:02 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 10:51:02 -0500
commit6fe56af2cd63abaf30040cc5031e3db5358cf638 (patch)
treeb024aa8480912ebf2667184068466ee7f354012c /home/start_menu.asm
parentMerge pull request #59 from Rangi42/master (diff)
downloadpokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.tar.gz
pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.tar.xz
pokeyellow-6fe56af2cd63abaf30040cc5031e3db5358cf638.zip
Organize home and macro code
Diffstat (limited to 'home/start_menu.asm')
-rwxr-xr-xhome/start_menu.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/start_menu.asm b/home/start_menu.asm
index bd1b24bf..8edccfe2 100755
--- a/home/start_menu.asm
+++ b/home/start_menu.asm
@@ -1,5 +1,6 @@
DisplayStartMenu::
- switchbank StartMenu_Pokedex ; also bank for other functions
+ ld a, BANK(StartMenu_Pokedex) ; also bank for other functions
+ call BankswitchCommon
ld a, [wWalkBikeSurfState] ; walking/biking/surfing
ld [wWalkBikeSurfStateCopy], a
ld a, SFX_START_MENU