# G540 — MAP-125 route, AUTHORED (not recorded) from the user's button sequence:
#   debug mode -> Down (D-pad) -> R2 -> R1 x2 -> Right (D-pad) x5 -> Circle
#
# Entered with DC2_DEBUG_MENU=1, so the debug menu is already up at f=0.
#
# BUTTON MASKS. DC2_PAD_INPUT is keyed on scriptFrame and takes the BYTE-SWAPPED (game-space)
# scePad mask, i.e. the raw active-high bit with its two bytes exchanged. Confirmed against every
# existing route in this directory:
#   Down     raw 0x0040 -> 0x4000   (route5/6/7, run_g477_perf.ps1 default)
#   Right    raw 0x0020 -> 0x2000   (route7-map15-sky)
#   Circle   raw 0x2000 -> 0x0020   (run_g477_perf.ps1 default, route7)
#   Cross    raw 0x4000 -> 0x0040   (route8)
#   Triangle raw 0x1000 -> 0x0010   (run_g189_inventory_ab.ps1)
#   R1       raw 0x0800 -> 0x0008   (route7-map15-sky)
#   R2       raw 0x0200 -> 0x0002   (tools/run_g218_map4_zoom.ps1 header states this explicitly)
#
# TIMING is modelled on route7-map15-sky (Down@57 -> R1@114 -> Right x5 @ ~55-frame spacing ->
# Circle@444): each press is held ~16 scriptFrames and presses are ~55 apart, which is what the
# debug menu's own input repeat needs. No analog channel — this route is menu navigation only.
#
# Sequence -> schedule:
#   Down    @  57..73     select the map-warp entry
#   R2      @ 112..128    page/field modifier
#   R1      @ 167..183    +1
#   R1      @ 222..238    +1
#   Right   @ 277..291    +1
#   Right   @ 332..346    +1
#   Right   @ 387..401    +1
#   Right   @ 442..456    +1
#   Right   @ 497..511    +1
#   Circle  @ 552..556    confirm -> load MAP-125
DC2_PAD_INPUT="57..73:0x4000;112..128:0x0002;167..183:0x0008;222..238:0x0008;277..291:0x2000;332..346:0x2000;387..401:0x2000;442..456:0x2000;497..511:0x2000;552..556:0x0020"
