Add savegame clearing function.
This commit is contained in:
parent
77f3d49ba9
commit
109283a383
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user