; Quick-warp menu, opened with SELECT in the overworld (hooked in ; home/overworld.asm). Reuses the game's fly-warp machinery: set the ; destination map and the fly-warp flags, then return to the overworld loop, ; which fades out and warps us in at the destination's fly coordinates. SECTION "Warp Menu", ROMX WarpMenu:: ; B1 (pipeline validation): unconditionally warp to Pallet Town. ld a, PALLET_TOWN ld [wDestinationMap], a ld hl, wStatusFlags6 set BIT_FLY_WARP, [hl] ASSERT wStatusFlags6 + 1 == wStatusFlags7 inc hl set BIT_USED_FLY, [hl] ret