mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-25 13:45:49 +00:00
readd Save from char unlock
This commit is contained in:
parent
9f5c154b1d
commit
cfcfc773da
|
|
@ -125,6 +125,7 @@ class Save
|
||||||
{
|
{
|
||||||
// Default to having seen the default character.
|
// Default to having seen the default character.
|
||||||
charactersSeen: ["bf"],
|
charactersSeen: ["bf"],
|
||||||
|
oldChar: false
|
||||||
},
|
},
|
||||||
|
|
||||||
optionsChartEditor:
|
optionsChartEditor:
|
||||||
|
|
@ -406,6 +407,18 @@ class Save
|
||||||
return data.unlocks.charactersSeen;
|
return data.unlocks.charactersSeen;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public var oldChar(get, set):Bool;
|
||||||
|
|
||||||
|
function get_oldChar():Bool
|
||||||
|
{
|
||||||
|
return data.unlocks.oldChar;
|
||||||
|
}
|
||||||
|
|
||||||
|
function set_oldChar(value:Bool):Bool
|
||||||
|
{
|
||||||
|
return data.unlocks.oldChar = value;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* When we've seen a character unlock, add it to the list of characters seen.
|
* When we've seen a character unlock, add it to the list of characters seen.
|
||||||
* @param character
|
* @param character
|
||||||
|
|
@ -1027,6 +1040,12 @@ typedef SaveDataUnlocks =
|
||||||
* add it to this list so that we don't show it again.
|
* add it to this list so that we don't show it again.
|
||||||
*/
|
*/
|
||||||
var charactersSeen:Array<String>;
|
var charactersSeen:Array<String>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is a conditional when the player enters the character state
|
||||||
|
* For the first time ever
|
||||||
|
*/
|
||||||
|
var oldChar:Bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue