void LivesUpdate(){ int continuedmap = Game->LastEntranceDMap; //Game->ContinueScreen = entScreen; int entScreen = Game->LastEntranceScreen; //int contpoint = Game->DMapContinue(); if ( Game->Counter[CR_LIVES] >= 1 && Link->HP < 1 ){ Link->HP += 999; Game->Counter[CR_LIVES] -= 1; Link->Invisible = false; //Use Faerores Wind EquipB = GetEquipmentB(); //Get present value of B. SetItemB(65); //set B to Farore's Wind Link->InputB = true; //tell game that B was pressed Waitframes(1); //wait a frame so game triggers B //SkipContinue = true; closingWipe(30); SetItemB(EquipB); //reset B Waitframes(10); openingWipe(30); if ( gogglesOn ){ gogglesOn = false; } } else if ((Game->Counter[CR_LIVES] == 0) && (Link->HP <= 0 )){ SkipContinue = false; return; } }