mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
Animations reload when switching Forms
This commit is contained in:
parent
e95020c59a
commit
5d7ac2171f
@ -943,7 +943,7 @@ static void UpdateBattleBg(u8 taskId, bool8 increment)
|
||||
{
|
||||
struct PokemonDebugMenu *data = GetStructPtr(taskId);
|
||||
|
||||
if (data->battleBgType == 0)
|
||||
if (data->battleBgType == MAP_BATTLE_SCENE_NORMAL)
|
||||
{
|
||||
if (increment)
|
||||
{
|
||||
@ -1337,6 +1337,9 @@ static void UpdateSubmenuOneOptionValue(u8 taskId, bool8 increment)
|
||||
else
|
||||
modArrows->currValue = GetFormSpeciesId(data->currentmonId, formId - 1);
|
||||
}
|
||||
data->animIdBack = GetSpeciesBackAnimSet(modArrows->currValue) + 1;
|
||||
data->animIdFront = sMonFrontAnimIdsTable[modArrows->currValue - 1];
|
||||
UpdateMonAnimNames(taskId);
|
||||
|
||||
UpdateBattlerValue(data);
|
||||
ReloadPokemonSprites(data);
|
||||
|
Loading…
Reference in New Issue
Block a user