Add savegame clearing function.

This commit is contained in:
Anna Rose 2019-12-11 18:20:13 -05:00
parent 77f3d49ba9
commit 109283a383

View File

@ -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