Revert accidental changes

This commit is contained in:
Garrett Cox 2022-08-05 23:40:43 -05:00
parent 733ce5d28f
commit cc4300ef8b

View File

@ -1776,19 +1776,19 @@ u8 Item_Give(GlobalContext* globalCtx, u8 item) {
} else if ((item >= ITEM_GERUDO_FORTRESS_SMALL_KEY) && (item <= ITEM_GANONS_CASTLE_SMALL_KEY)) { } else if ((item >= ITEM_GERUDO_FORTRESS_SMALL_KEY) && (item <= ITEM_GANONS_CASTLE_SMALL_KEY)) {
int mapIndex = gSaveContext.mapIndex; int mapIndex = gSaveContext.mapIndex;
switch (item) { switch (item) {
case ITEM_FOREST_TEMPLE_BOSS_KEY: case ITEM_FOREST_TEMPLE_SMALL_KEY:
mapIndex = SCENE_BMORI1; mapIndex = SCENE_BMORI1;
break; break;
case ITEM_FIRE_TEMPLE_BOSS_KEY: case ITEM_FIRE_TEMPLE_SMALL_KEY:
mapIndex = SCENE_HIDAN; mapIndex = SCENE_HIDAN;
break; break;
case ITEM_WATER_TEMPLE_BOSS_KEY: case ITEM_WATER_TEMPLE_SMALL_KEY:
mapIndex = SCENE_MIZUSIN; mapIndex = SCENE_MIZUSIN;
break; break;
case ITEM_SPIRIT_TEMPLE_BOSS_KEY: case ITEM_SPIRIT_TEMPLE_SMALL_KEY:
mapIndex = SCENE_JYASINZOU; mapIndex = SCENE_JYASINZOU;
break; break;
case ITEM_SHADOW_TEMPLE_BOSS_KEY: case ITEM_SHADOW_TEMPLE_SMALL_KEY:
mapIndex = SCENE_HAKADAN; mapIndex = SCENE_HAKADAN;
break; break;
case ITEM_BOTTOM_OF_THE_WELL_SMALL_KEY: case ITEM_BOTTOM_OF_THE_WELL_SMALL_KEY: