Always a delight, used your Fallout 4 trainer before it became part of the WeMod family.
There is one thing about some trainers’ jump codes that Skyrim and Fallout mods should note in particular but holds true to an extent in other games; Falling or jumping down is a separate function. This may seem obvious but it is amazing how many jump trainers and mods fail to address this point.
(I can speak of this as a very very minor modder in my own right, having penned a few simple batch files for both games and making damn sure to cancel or fend off falling damage to something like twice the height I can jump specifically to not die if I bone the landing point)
I mention this to you in particular as your “fly” code… is the mocking flight effect placed in earlier Elder Scrolls games making a comeback. Once upon a time (I couldn’t resist) there was an Elder Scrolls game with a spell scroll, the Scroll of Icarian Flight. The fact the flight style is named after Icarus should be a clue… What it did was kick up the Acrobatics skill and increase potential jump height alarmingly as it did nothing to so much as mitigate fall damage. Unless you had Slow fall ready or a body of water for the landing you were liable to die. Skyrim freely borrowed the effect itself and repurposed it, as getting whammed even at a near miss from a giant’s club would launch you; also, the scene with the beacon was an enhanced version that stuck you at map-viewing height and thankfully let you survive the landings. Simply put, Icarian Flight is baked into the game engine. Your fly code is Icarian Flight. No fall damage is a real thing and a real necessity in Skyrim and Fallout 4. As they got funky about the outright perk for Fallout 4 you might try accessing the setgs fjumpfallheightmin effect and setting it to an absurdly high number. Thus fall damage is there but you’ll never fall far enough for it to kick in.