I revisited Xenoblade Chronicles 2 (TID:0100E95004038000 BID:F77F1559371C0EC6) - and with my expanded code knowledge from working on other games, I managed to make a [mostly] safe moonjump code (compared to the old one) - but it does require Atmosphere code type support:
Code:
['Safe' Moonjump (ZR+B)]
80000202
580F0000 00EA3878
580F1000 00000058
580F1000 000000A8
780F0000 00000044
540E2F00 00000000
94AEE100 40000000
A4EF0000
20000000
Notes: the old 2.0.2 code would teleport Rex (so it didn't work if he wasn't the currently controlled character - and especially not in other game modes or when he wasn't in the party) to a specific, very large height coordinate - which usually resulted in you dying and resetting to the last Skip-Travel point when you fell back down (including landing on the ceiling in the case of the Uraya map) unless you triggered a glitched invincible state (that was patched out in v2.1.0 iirc). This new code uses a pointer so now it works on any currently controlled character (even in the Torna side game/add-on) and makes use of two newer Atmosphere code types that were not available in the basic AR/SX-OS code format present at the time of the old code (and thus are not supported in many non-Atmosphere environments) .