This routine loads pointers from tbl_8000 (1nd quest) or tbl_802A (2nd quest). You can find these tables in this file. There are 10 pointers inside each table (overworld (00) + 9 dungeons (01-09)), which also point to data inside this file. Then another subroutine copies 300h bytes of data from there into RAM. ROM offsets are written at the beginning of each line.
There are around 16 locations in the code where it reads current quest, and this particular code does the most impact on the game depending on current quest, in my opinion, so I figured it's probably what you're looking for.