Hey Zeturic! I was trying to use your Move Item modification for pokeemerald but ran into a couple issues. I completed every step in your post except I was unable to find the unnamed enum list in src/data/party_menu.h I tried searching for every instance of enum but couldn't find anything. I attempted to compile with every step completed correctly except that one but returned the following errors:
Quote:
agbcc: warnings being treated as errors
src/party_menu.c: In function `CursorCb_MoveItemCallback':
src/party_menu.c:6892: warning: implicit declaration of function `sub_81221EC'
src/party_menu.c:6905: `SE_HAZURE' undeclared (first use in this function)
src/party_menu.c:6905: (Each undeclared identifier is reported only once
src/party_menu.c:6905: for each function it appears in.)
src/party_menu.c:6958: warning: implicit declaration of function `schedule_bg_copy_tilemap_to_vram'
tools/agbcc/bin/agbcc <flags> -o build/emerald/src/region_map.o src/region_map.c
make: *** [build/emerald/src/party_menu.o] Error 1
make: *** Deleting file `build/emerald/src/party_menu.o'
make: *** Waiting for unfinished jobs....
|
Despite my skipping the enum step in party_menu.h it seems like most of the problems are from the code added to party_menu.c? I was hoping you could advise me if there's anything I can change or something I did wrong? I'm also using the pokeemerald-expansion, don't know if that affects anything. Thanks!
Edit: Never mind I figured it out! sub_81221EC is now MenuHelpers_ShouldWaitForLinkRecv , SE_HAZURE is now SE_FAILURE , and schedule_bg_copy_tilemap_to_vram is now ScheduleBgCopyTilemapToVram
Thank you for your help and resources, it's now working perfectly!