Merge pull request #362 from jlmjlm/save_fa-so-fg

Track more missing game state in saves.
This commit is contained in:
Zeno Rogue 2024-02-28 15:25:26 +01:00 committed by GitHub
commit b152bac377
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -166,7 +166,7 @@ EX void achievement_gain_once(const string& s, char flags IS(0)) {
namespace rg {
char check(bool b, char val = special_geometry) { return b ? val : fail; }
};
}
EX char specgeom_zebra() { return rg::check(geometry == gZebraQuotient && !disksize && BITRUNCATED && firstland == laDesert); }
EX char specgeom_lovasz() { return rg::check(geometry == gKleinQuartic && variation == eVariation::untruncated && gp::param == gp::loc(1,1) && !disksize && in_lovasz()); }

View File

@ -596,17 +596,19 @@ EX void applyBoxes() {
for(int i=0; i<43; i++) {
if(loading) kills[i] = 0;
bool fake = (i == moREMOVED || i == moLesserM || i == moTentacletail);
if(i == moWormtail) applyBoxM(moCrystalSage);
else if(i == moWormwait) applyBoxM(moFireFairy);
else if(i == moTentacleEscaping) applyBoxM(moMiner);
else if(i == moREMOVED) applyBoxI(itFatigue);
else if(i == moGolemMoved) applyBoxM(moIllusion);
else if(i == moTentacletail) applyBoxI(itSnake);
else if(i == moTentaclewait) applyBoxOrb(itOrbThorns);
else if(i == moGreater) applyBoxOrb(itOrbDragon);
else if(i == moGreaterM) applyBoxOrb(itOrbIllusion);
else if(i == moLesserM) applyBoxM(moFriendlyGhost);
else if(i == moWolfMoved) applyBoxM(moWorldTurtle);
else if(i == moNone) applyBoxNum(kills[i], "icewalls melted");
else applyBoxM(eMonster(i), fake);
else applyBoxM(eMonster(i));
}
if(saving) {