Hide mobile HP and SP numeric labels

This commit is contained in:
shen
2026-10-19 15:09:44 -07:00
parent 60c66b7ba7
commit 3f72cb7cc4
4 changed files with 5 additions and 25 deletions
+1 -2
View File
@@ -518,8 +518,7 @@ int main(int argc, char** argv)
"assert not _hud.menuExpanded and not _hud.menuBackdrop.IsShow()\n"
"assert _hud.window.interface.wndInventory.IsShow()\n"
"_hud.window.interface.wndInventory.Hide()\n"
"assert player.FeatureLocaleToUTF8(_hud.status.hp.GetText()).decode('utf-8').startswith(u'\\u751f\\u547d ')\n"
"assert player.FeatureLocaleToUTF8(_hud.status.sp.GetText()).decode('utf-8').startswith(u'\\u6cd5\\u529b ')"));
"assert _hud.status.gauge.IsShow() and _hud.status.frame.IsShow()"));
CHECK(py("_hud.ToggleMore()\n_menu_b=_hud.drawer[0]"));
std::string drawerXY;
CHECK(PythonBoot::Evaluate("'%d %d' % _menu_b.GetGlobalPosition()", &drawerXY, nullptr));