Animations reload when switching Forms
This commit is contained in:
parent
e95020c59a
commit
5d7ac2171f
1 changed files with 4 additions and 1 deletions
|
@ -943,7 +943,7 @@ static void UpdateBattleBg(u8 taskId, bool8 increment)
|
||||||
{
|
{
|
||||||
struct PokemonDebugMenu *data = GetStructPtr(taskId);
|
struct PokemonDebugMenu *data = GetStructPtr(taskId);
|
||||||
|
|
||||||
if (data->battleBgType == 0)
|
if (data->battleBgType == MAP_BATTLE_SCENE_NORMAL)
|
||||||
{
|
{
|
||||||
if (increment)
|
if (increment)
|
||||||
{
|
{
|
||||||
|
@ -1337,6 +1337,9 @@ static void UpdateSubmenuOneOptionValue(u8 taskId, bool8 increment)
|
||||||
else
|
else
|
||||||
modArrows->currValue = GetFormSpeciesId(data->currentmonId, formId - 1);
|
modArrows->currValue = GetFormSpeciesId(data->currentmonId, formId - 1);
|
||||||
}
|
}
|
||||||
|
data->animIdBack = GetSpeciesBackAnimSet(modArrows->currValue) + 1;
|
||||||
|
data->animIdFront = sMonFrontAnimIdsTable[modArrows->currValue - 1];
|
||||||
|
UpdateMonAnimNames(taskId);
|
||||||
|
|
||||||
UpdateBattlerValue(data);
|
UpdateBattlerValue(data);
|
||||||
ReloadPokemonSprites(data);
|
ReloadPokemonSprites(data);
|
||||||
|
|
Loading…
Reference in a new issue