about summary refs log tree commit diff stats
path: root/AnodyneArchipelago/ArchipelagoManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'AnodyneArchipelago/ArchipelagoManager.cs')
-rw-r--r--AnodyneArchipelago/ArchipelagoManager.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/AnodyneArchipelago/ArchipelagoManager.cs b/AnodyneArchipelago/ArchipelagoManager.cs index 4ffa3af..4ceb68a 100644 --- a/AnodyneArchipelago/ArchipelagoManager.cs +++ b/AnodyneArchipelago/ArchipelagoManager.cs
@@ -131,7 +131,8 @@ namespace AnodyneArchipelago
131 131
132 string mapName = GetMapNameForDungeon(dungeonName); 132 string mapName = GetMapNameForDungeon(dungeonName);
133 GlobalState.inventory.AddMapKey(mapName, 1); 133 GlobalState.inventory.AddMapKey(mapName, 1);
134 } else if (itemName == "Green Key") 134 }
135 else if (itemName == "Green Key")
135 { 136 {
136 GlobalState.inventory.BigKeyStatus[0] = true; 137 GlobalState.inventory.BigKeyStatus[0] = true;
137 } 138 }
@@ -142,10 +143,16 @@ namespace AnodyneArchipelago
142 else if (itemName == "Red Key") 143 else if (itemName == "Red Key")
143 { 144 {
144 GlobalState.inventory.BigKeyStatus[1] = true; 145 GlobalState.inventory.BigKeyStatus[1] = true;
145 } else if (itemName == "Jump Shoes") 146 }
147 else if (itemName == "Jump Shoes")
146 { 148 {
147 GlobalState.inventory.CanJump = true; 149 GlobalState.inventory.CanJump = true;
148 } 150 }
151 else if (itemName == "Health Cicada")
152 {
153 GlobalState.MAX_HEALTH += 1;
154 GlobalState.CUR_HEALTH = GlobalState.MAX_HEALTH;
155 }
149 } 156 }
150 } 157 }
151} 158}