Merge branch 'rh-hideout:master' into master
This commit is contained in:
commit
d49d284cb2
@ -4594,7 +4594,6 @@ void SetMoveEffect(bool32 primary, bool32 certain)
|
||||
|
||||
static bool32 CanApplyAdditionalEffect(const struct AdditionalEffect *additionalEffect)
|
||||
{
|
||||
// Self-targeting move effects only apply after the last mon has been hit
|
||||
if (additionalEffect->self
|
||||
&& NumAffectedSpreadMoveTargets() > 1
|
||||
&& GetNextTarget(GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove), TRUE) != MAX_BATTLERS_COUNT)
|
||||
|
||||
@ -1840,13 +1840,10 @@ u8 CreateObjectGraphicsSprite(u16 graphicsId, void (*callback)(struct Sprite *),
|
||||
const struct ObjectEventGraphicsInfo *graphicsInfo = GetObjectEventGraphicsInfo(graphicsId);
|
||||
struct Sprite *sprite;
|
||||
u8 spriteId;
|
||||
bool32 isShiny = graphicsId & OBJ_EVENT_MON_SHINY;
|
||||
|
||||
spriteTemplate = Alloc(sizeof(struct SpriteTemplate));
|
||||
CopyObjectGraphicsInfoToSpriteTemplate(graphicsId, callback, spriteTemplate, &subspriteTables);
|
||||
|
||||
if (isShiny)
|
||||
graphicsId -= SPECIES_SHINY_TAG;
|
||||
|
||||
if (OW_GFX_COMPRESS)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user