mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Various loader implementations
This commit is contained in:
@@ -488,6 +488,8 @@ void CMain::Give(hecl::Console* console, const std::vector<std::string>& args)
|
||||
{
|
||||
pState->IncrPickup(eType, 9999);
|
||||
console->report(hecl::Console::Level::Info, "Cheater....., Greatly increasing Metroid encounters, have fun!");
|
||||
if (g_StateManager)
|
||||
g_StateManager->Player()->AsyncLoadSuit(*g_StateManager);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -517,7 +519,8 @@ void CMain::Give(hecl::Console* console, const std::vector<std::string>& args)
|
||||
else
|
||||
pState->DecrPickup(eType, zeus::clamp(0u, u32(abs(itemAmt)), pState->GetItemAmount(eType)));
|
||||
}
|
||||
g_StateManager->Player()->AsyncLoadSuit(*g_StateManager);
|
||||
if (g_StateManager)
|
||||
g_StateManager->Player()->AsyncLoadSuit(*g_StateManager);
|
||||
console->report(hecl::Console::Level::Info, "Cheater....., Greatly increasing Metroid encounters, have fun!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user