Decompile 2 functions in Source/UI/Buttons/UITextButton.cpp
Batch #12735 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_10280 SkillUseTextPercent: byte-identical - fn_10281 SkillUseTextFlat: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
b385220301
commit
1994f0eb8a
1 changed files with 6 additions and 6 deletions
|
|
@ -479,21 +479,21 @@ void UITabControl::Slot28(int x, int y) {
|
|||
// OFFSET: 0x00822660
|
||||
// FUNCTION: fn_10280
|
||||
std::string SkillUseTextPercent(const char* name, int level, int sp, int ap) {
|
||||
if (ap == 0) {
|
||||
return FormatOwnedString("%s Use Lv %d (Sp : %d%%)", name, level, sp);
|
||||
if (ap != 0) {
|
||||
return FormatOwnedString("%s Use Lv %d (Sp : %d%%, Ap : %d)", name, level, sp, ap);
|
||||
}
|
||||
|
||||
return FormatOwnedString("%s Use Lv %d (Sp : %d%%, Ap : %d)", name, level, sp, ap);
|
||||
return FormatOwnedString("%s Use Lv %d (Sp : %d%%)", name, level, sp);
|
||||
}
|
||||
|
||||
// OFFSET: 0x008226F0
|
||||
// FUNCTION: fn_10281
|
||||
std::string SkillUseTextFlat(const char* name, int level, int sp, int ap) {
|
||||
if (ap == 0) {
|
||||
return FormatOwnedString("%s Use Lv %d (Sp : %d)", name, level, sp);
|
||||
if (ap != 0) {
|
||||
return FormatOwnedString("%s Use Lv %d (Sp : %d, Ap : %d)", name, level, sp, ap);
|
||||
}
|
||||
|
||||
return FormatOwnedString("%s Use Lv %d (Sp : %d, Ap : %d)", name, level, sp, ap);
|
||||
return FormatOwnedString("%s Use Lv %d (Sp : %d)", name, level, sp);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00891350
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue