mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-26 13:31:03 +01:00
Fix Substitute typo
This commit is contained in:
parent
de3b32f76b
commit
a8fab62c89
@ -1120,7 +1120,7 @@ BattleScript_SubstituteAnim::
|
||||
healthbarupdate BS_ATTACKER
|
||||
datahpupdate BS_ATTACKER
|
||||
BattleScript_SubstituteString::
|
||||
printfromtable gSubsituteUsedStringIds
|
||||
printfromtable gSubstituteUsedStringIds
|
||||
waitmessage B_WAIT_TIME_LONG
|
||||
goto BattleScript_MoveEnd
|
||||
BattleScript_AlreadyHasSubstitute::
|
||||
|
@ -502,7 +502,7 @@
|
||||
#define B_MSG_TRANSFORMED 0
|
||||
#define B_MSG_TRANSFORM_FAILED 1
|
||||
|
||||
// gSubsituteUsedStringIds
|
||||
// gSubstituteUsedStringIds
|
||||
#define B_MSG_SET_SUBSTITUTE 0
|
||||
#define B_MSG_SUBSTITUTE_FAILED 1
|
||||
|
||||
|
@ -40,7 +40,7 @@ extern const struct SpriteTemplate gSpriteTemplate_EnemyShadow;
|
||||
static u8 GetBattlePalaceMoveGroup(u16 move);
|
||||
static u16 GetBattlePalaceTarget(void);
|
||||
static void SpriteCB_TrainerSlideVertical(struct Sprite *sprite);
|
||||
static bool8 ShouldAnimBeDoneRegardlessOfSubsitute(u8 animId);
|
||||
static bool8 ShouldAnimBeDoneRegardlessOfSubstitute(u8 animId);
|
||||
static void Task_ClearBitWhenBattleTableAnimDone(u8 taskId);
|
||||
static void Task_ClearBitWhenSpecialAnimDone(u8 taskId);
|
||||
static void ClearSpritesBattlerHealthboxAnimData(void);
|
||||
@ -444,7 +444,7 @@ bool8 TryHandleLaunchBattleTableAnimation(u8 activeBattler, u8 atkBattler, u8 de
|
||||
return TRUE;
|
||||
}
|
||||
if (gBattleSpritesDataPtr->battlerData[activeBattler].behindSubstitute
|
||||
&& !ShouldAnimBeDoneRegardlessOfSubsitute(tableId))
|
||||
&& !ShouldAnimBeDoneRegardlessOfSubstitute(tableId))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
@ -480,7 +480,7 @@ static void Task_ClearBitWhenBattleTableAnimDone(u8 taskId)
|
||||
|
||||
#undef tBattlerId
|
||||
|
||||
static bool8 ShouldAnimBeDoneRegardlessOfSubsitute(u8 animId)
|
||||
static bool8 ShouldAnimBeDoneRegardlessOfSubstitute(u8 animId)
|
||||
{
|
||||
switch (animId)
|
||||
{
|
||||
|
@ -1067,7 +1067,7 @@ const u16 gTransformUsedStringIds[] =
|
||||
[B_MSG_TRANSFORM_FAILED] = STRINGID_BUTITFAILED
|
||||
};
|
||||
|
||||
const u16 gSubsituteUsedStringIds[] =
|
||||
const u16 gSubstituteUsedStringIds[] =
|
||||
{
|
||||
[B_MSG_SET_SUBSTITUTE] = STRINGID_PKMNMADESUBSTITUTE,
|
||||
[B_MSG_SUBSTITUTE_FAILED] = STRINGID_TOOWEAKFORSUBSTITUTE
|
||||
|
Loading…
x
Reference in New Issue
Block a user