Adjustments to change age cheat and time travel enhancement (#4512)
This commit is contained in:
@@ -1607,10 +1607,8 @@ void Inventory_SwapAgeEquipment(void) {
|
||||
s16 i;
|
||||
u16 shieldEquipValue;
|
||||
|
||||
// Mod Enhancments can utilise the rando flow path
|
||||
if (IS_RANDO || CVarGetInteger(CVAR_GENERAL("SwitchAge"), 0) || CVarGetInteger(CVAR_GENERAL("SwitchTimeline"), 0)) {
|
||||
if (IS_RANDO) {
|
||||
Rando_Inventory_SwapAgeEquipment();
|
||||
CVarSetInteger(CVAR_GENERAL("SwitchTimeline"), 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -10811,7 +10811,7 @@ void Player_Init(Actor* thisx, PlayState* play2) {
|
||||
if (respawnFlag == -3) {
|
||||
thisx->params = gSaveContext.respawn[RESPAWN_MODE_RETURN].playerParams;
|
||||
} else {
|
||||
if ((respawnFlag == 1) || (respawnFlag == -1)) {
|
||||
if (GameInteractor_Should(VB_INFLICT_VOID_DAMAGE, (respawnFlag == 1) || (respawnFlag == -1), respawnFlag)) {
|
||||
this->unk_A86 = -2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user