summaryrefslogtreecommitdiff
path: root/src/battle_gfx_sfx_util.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2019-01-29 17:22:13 -0600
committerGitHub <noreply@github.com>2019-01-29 17:22:13 -0600
commitd2c17c7fb3ba6149b4e278bd3b644cd4d4d240e2 (patch)
tree6b7125b6172aa023d2cc7ccabe294812df809913 /src/battle_gfx_sfx_util.c
parent14641e916e94cfce9f70f9a16843a8e4a31b065f (diff)
parentd46e60765d4dca8e160368949fad5376af82fa71 (diff)
Merge pull request #529 from DizzyEggg/rename
Rename a palace battle field
Diffstat (limited to 'src/battle_gfx_sfx_util.c')
-rw-r--r--src/battle_gfx_sfx_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c
index 089d09558..7c6b74304 100644
--- a/src/battle_gfx_sfx_util.c
+++ b/src/battle_gfx_sfx_util.c
@@ -205,13 +205,13 @@ u16 ChooseMoveAndTargetInBattlePalace(void)
if (Random() % 100 > 49)
{
- gProtectStructs[gActiveBattler].palaceAbleToUseMove = 1;
+ gProtectStructs[gActiveBattler].palaceUnableToUseMove = 1;
return 0;
}
}
else
{
- gProtectStructs[gActiveBattler].palaceAbleToUseMove = 1;
+ gProtectStructs[gActiveBattler].palaceUnableToUseMove = 1;
return 0;
}
}