diff --git a/savegame.lua b/savegame.lua index 3d37d86..f1ef788 100644 --- a/savegame.lua +++ b/savegame.lua @@ -13,3 +13,8 @@ function save_game() dset(0, player_x) dset(1, player_y) end + +-- delete the save data +function clear_save() + memset(0x5e00, 0, 256) +end