-- name: Fix Romhack Camera -- description: Toggles Invert X for you if you're using the romhack camera, because for some reason it's the only mode other than Free Camera that is affected by that option.\n\nREMEMBER: You can also simply go to "Camera" under "Options" and toggle on "Invert X" yourself. local xOverride = false function update() local m = gMarioStates[0] if m.area and m.area.camera and m.area.camera.mode == CAMERA_MODE_ROM_HACK then xOverride = true camera_config_invert_x(true) elseif xOverride then camera_reset_overrides() end end hook_event(HOOK_UPDATE, update)