summaryrefslogtreecommitdiff
path: root/src/script_pokemon_util_80F99CC.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2017-12-22 14:51:12 -0600
committercamthesaxman <cameronghall@cox.net>2017-12-22 14:51:12 -0600
commit9c9bcee1e2fbd3fd374023146f99d0417cd8ab52 (patch)
tree848c1688fe743dd0410183b182024ee961f07980 /src/script_pokemon_util_80F99CC.c
parentce74d72c31a3ebda26adc6ae888700213f64b113 (diff)
parent62bdd4d480ced306b85791c828ee8497e9fa2acc (diff)
fix merge conflicts
Diffstat (limited to 'src/script_pokemon_util_80F99CC.c')
-rw-r--r--src/script_pokemon_util_80F99CC.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/script_pokemon_util_80F99CC.c b/src/script_pokemon_util_80F99CC.c
index aed11bb7e..33e7620f7 100644
--- a/src/script_pokemon_util_80F99CC.c
+++ b/src/script_pokemon_util_80F99CC.c
@@ -23,7 +23,7 @@ extern u8 gPlayerPartyCount;
extern u16 gSpecialVar_0x8004;
extern u16 gSpecialVar_0x8005;
extern u8 gUnknown_02038694;
-extern u16 gScriptResult;
+extern u16 gSpecialVar_Result;
extern void (*gFieldCallback)(void);
@@ -281,11 +281,11 @@ void ScrSpecial_CountPokemonMoves(void) // count pokemon moves
{
u8 i;
- gScriptResult = 0;
+ gSpecialVar_Result = 0;
for (i = 0; i < 4; i++) // checks MOVE1-MOVE4
if (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_MOVE1 + i))
- gScriptResult++;
+ gSpecialVar_Result++;
}
void ScrSpecial_GetPokemonNicknameAndMoveName(void)
@@ -437,8 +437,8 @@ void sub_80FA0DC(void)
void sub_80FA148(void)
{
struct Pokemon *party = &gPlayerParty[gSpecialVar_0x8004];
- gScriptResult = 0;
+ gSpecialVar_Result = 0;
if (GetMonData(party, MON_DATA_IS_EGG))
- gScriptResult = 1;
+ gSpecialVar_Result = 1;
}