mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-12-27 15:38:07 +00:00
adds 100% to UI
This commit is contained in:
parent
6145e1e234
commit
57bce5fd86
|
@ -409,7 +409,8 @@ local function _itemData()
|
||||||
objBadEnd = objective("Bad Ending", "<FL+6003"),
|
objBadEnd = objective("Bad Ending", "<FL+6003"),
|
||||||
objNormalEnd = objective("Normal Ending", "<FL+6000"),
|
objNormalEnd = objective("Normal Ending", "<FL+6000"),
|
||||||
objBestEnd = objective("Best Ending", "<FL+6001"),
|
objBestEnd = objective("Best Ending", "<FL+6001"),
|
||||||
objAllBosses = objective("All Bosses", "<FL+6002<IT+0005")
|
objAllBosses = objective("All Bosses", "<FL+6002<IT+0005"),
|
||||||
|
obj100Percent = objective("100%", "<FL+6004<IT+0005")
|
||||||
}
|
}
|
||||||
|
|
||||||
local hintArray = {
|
local hintArray = {
|
||||||
|
|
|
@ -359,6 +359,8 @@ function C:_updateSharecode(seed)
|
||||||
settings = bit.bor(settings, bit.blshift(2, obj))
|
settings = bit.bor(settings, bit.blshift(2, obj))
|
||||||
elseif self.obj == "objAllBosses" then
|
elseif self.obj == "objAllBosses" then
|
||||||
settings = bit.bor(settings, bit.blshift(3, obj))
|
settings = bit.bor(settings, bit.blshift(3, obj))
|
||||||
|
elseif self.obj == "obj100Percent" then
|
||||||
|
settings = bit.bor(settings, bit.blshift(4, obj))
|
||||||
end
|
end
|
||||||
if self.puppy then settings = bit.bor(settings, bit.blshift(1, pup)) end
|
if self.puppy then settings = bit.bor(settings, bit.blshift(1, pup)) end
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,8 @@ function C:loadObjective(obj)
|
||||||
settings.objective.index = 2
|
settings.objective.index = 2
|
||||||
elseif obj == "objAllBosses" or obj == 3 then
|
elseif obj == "objAllBosses" or obj == 3 then
|
||||||
settings.objective.index = 4
|
settings.objective.index = 4
|
||||||
|
elseif obj == "obj100Percent" or obj == 4 then
|
||||||
|
settings.objective.index = 5
|
||||||
else
|
else
|
||||||
settings.objective.index = 3
|
settings.objective.index = 3
|
||||||
end
|
end
|
||||||
|
|
|
@ -33,7 +33,8 @@ return { style = 'dialog',
|
||||||
{ text = "Bad ending", value = "objBadEnd" },
|
{ text = "Bad ending", value = "objBadEnd" },
|
||||||
{ text = "Normal ending", value = "objNormalEnd" },
|
{ text = "Normal ending", value = "objNormalEnd" },
|
||||||
{ text = "Best ending", value = "objBestEnd" },
|
{ text = "Best ending", value = "objBestEnd" },
|
||||||
{ text = "All bosses", value = "objAllBosses"}
|
{ text = "All bosses", value = "objAllBosses" },
|
||||||
|
{ text = "100%", value = "obj100Percent" }
|
||||||
},
|
},
|
||||||
{ type = 'label', text = 'Player Sprite', minheight = 32 },
|
{ type = 'label', text = 'Player Sprite', minheight = 32 },
|
||||||
{ type = 'stepper', id = 'mychar', align = 'middle left', height = 48, width = 200,
|
{ type = 'stepper', id = 'mychar', align = 'middle left', height = 48, width = 200,
|
||||||
|
|
Loading…
Reference in a new issue