I just had another thought…
HomeAll.g stores the configuration for the inductive probe (as does config.g, just for safety sake). Homez.g stores the configuration for the nozzle offset switch.
Then, using bed.g
[[language]] M561 ; clear any bed transform ; Probe the bed at 4 points G28 G30 P0 X10 Y10 H0.33 Z-99999 G30 P1 X10 Y290 H0.33 Z-99999 G30 P2 X290 Y290 H0.33 Z-99999 G30 P3 X290 Y10 H0.33 Z-99999 S4 ; Nozzle offset home G28 Z