Skip to content

About

Undertale Save File Loader for Kristal

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Undertale Loader

An Undertale save loader library for Kristal. Built off Sylvi's Deltarune save loader library.

Usage

With the library installed, run UndertaleLoader.load(filter) early in your mod:

function Mod:init()
  -- Loads your Undertale save file
  UndertaleLoader.load()
end

After loading, run UndertaleLoader.getSave() to get the save data

Here is an example that loads your Undertale save data as soon as you load the game, if you're in a new file.

function Mod:postInit(new_file)
    if new_file then
        -- Get the Undertale save from the current save slot
        local save = UndertaleLoader.getSave()
        
        -- If save file exists, loads it
        if save then
            save:load()
        end
    end
end

This returns a UndertaleSave instance

About

Undertale Save File Loader for Kristal

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages