This won't compile on an up-to-date repo.
Use this function instead:
void ItemUseOutOfBattle_SootSack(u8 taskId)
{
ConvertIntToDecimalStringN(gStringVar1, GetAshCount(), STR_CONV_MODE_LEFT_ALIGN, 4);
StringExpandPlaceholders(gStringVar4, gText_AshQty);
if...