mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-05 00:53:16 +01:00
removed ability
This commit is contained in:
parent
e6ab3122e8
commit
c03109904e
13
src/debug.c
13
src/debug.c
@ -1733,14 +1733,21 @@ static void DebugAction_Give_Pokemon_SelectNature(u8 taskId)
|
|||||||
gTasks[taskId].data[3] = 1;
|
gTasks[taskId].data[3] = 1;
|
||||||
gTasks[taskId].data[4] = 0;
|
gTasks[taskId].data[4] = 0;
|
||||||
|
|
||||||
|
// StringCopy(gStringVar2, gText_DigitIndicator[gTasks[taskId].data[4]]);
|
||||||
|
// ConvertIntToDecimalStringN(gStringVar3, gTasks[taskId].data[3], STR_CONV_MODE_LEADING_ZEROS, 2);
|
||||||
|
// StringCopyPadded(gStringVar3, gStringVar3, CHAR_SPACE, 15);
|
||||||
|
// StringCopy(gStringVar1, gAbilityNames[gTasks[taskId].data[3]]);
|
||||||
|
// StringExpandPlaceholders(gStringVar4, gDebugText_PokemonAbility);
|
||||||
|
// AddTextPrinterParameterized(gTasks[taskId].data[2], 1, gStringVar4, 1, 1, 0, NULL);
|
||||||
|
|
||||||
|
// gTasks[taskId].func = DebugAction_Give_Pokemon_SelectAbility;
|
||||||
StringCopy(gStringVar2, gText_DigitIndicator[gTasks[taskId].data[4]]);
|
StringCopy(gStringVar2, gText_DigitIndicator[gTasks[taskId].data[4]]);
|
||||||
ConvertIntToDecimalStringN(gStringVar3, gTasks[taskId].data[3], STR_CONV_MODE_LEADING_ZEROS, 2);
|
ConvertIntToDecimalStringN(gStringVar3, gTasks[taskId].data[3], STR_CONV_MODE_LEADING_ZEROS, 2);
|
||||||
StringCopyPadded(gStringVar3, gStringVar3, CHAR_SPACE, 15);
|
StringCopyPadded(gStringVar3, gStringVar3, CHAR_SPACE, 15);
|
||||||
StringCopy(gStringVar1, gAbilityNames[gTasks[taskId].data[3]]);
|
StringExpandPlaceholders(gStringVar4, gDebugText_PokemonIVs);
|
||||||
StringExpandPlaceholders(gStringVar4, gDebugText_PokemonAbility);
|
|
||||||
AddTextPrinterParameterized(gTasks[taskId].data[2], 1, gStringVar4, 1, 1, 0, NULL);
|
AddTextPrinterParameterized(gTasks[taskId].data[2], 1, gStringVar4, 1, 1, 0, NULL);
|
||||||
|
|
||||||
gTasks[taskId].func = DebugAction_Give_Pokemon_SelectAbility;
|
gTasks[taskId].func = DebugAction_Give_Pokemon_SelectIVs;
|
||||||
}
|
}
|
||||||
else if (gMain.newKeys & B_BUTTON)
|
else if (gMain.newKeys & B_BUTTON)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user