func DoInit(int first_player) { ClearFreeRect(530,1135, 50,2); // Start Intro. StartSequence("Intro", 0, g_flagpole); return true; }
func DoInit(int first_player) { var relaunch_rule = GetRelaunchRule(); relaunch_rule->SetInventoryTransfer(true); relaunch_rule->SetFreeCrew(true); relaunch_rule->SetRespawnDelay(1); relaunch_rule->SetBaseRespawn(true); relaunch_rule->SetDefaultRelaunchCount(nil); relaunch_rule->SetAllowPlayerRestart(true); relaunch_rule->SetLastClonkRespawn(true); relaunch_rule->SetInitialRelaunch(false); ClearFreeRect(530,1135, 50,2); if (g_last_stone_door) g_last_stone_door->DoDamage(170 - g_last_stone_door->GetDamage()); if (g_golden_idol) { g_golden_idol->SetLightRange(150,15); g_golden_idol->SetLightColor(0xffc000); } if (g_golden_shovel) { g_golden_shovel->SetLightRange(25,15); g_golden_shovel->SetLightColor(0xffc000); } npc_dagobert->SetAlternativeSkin("Beggar"); // Start Intro. StartSequence("Intro", 0, g_flagpole); return true; }