Question: are 3ds games saved on the cartridge?
Answer: According to Nintendo, all 3DS games are saved to the cartridges they are played on (unless they are games downloaded from the eShop). The only information saved to the 3DS system itself by some games is StreetPass and SpotPass info. Pokémon Ultra Moon is no exception, all information is stored on the Game Card.