summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-11-05 13:25:45 -0700
committerYamaArashi <shadow962@live.com>2016-11-05 13:25:45 -0700
commitd26298bd4e742218a39ce7b635e502f704f73eba (patch)
tree03c49001a651e243fa79d587e43f028a674d3324 /src
parent45e50b871d9a9e3d389b0eb1536a597d511e4f77 (diff)
rename some parameters
Diffstat (limited to 'src')
-rw-r--r--src/battle_setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/battle_setup.c b/src/battle_setup.c
index f6fe85b46..9a28b2d35 100644
--- a/src/battle_setup.c
+++ b/src/battle_setup.c
@@ -742,11 +742,11 @@ u8 *TrainerBattleConfigure(u8 *data)
}
}
-void TrainerWantsBattle(u8 ptr, u8 *a2)
+void TrainerWantsBattle(u8 trainerMapObjId, u8 *trainerScript)
{
- gSelectedMapObject = ptr;
- gUnknown_0202E8DE = gMapObjects[ptr].localId;
- TrainerBattleConfigure(a2 + 1);
+ gSelectedMapObject = trainerMapObjId;
+ gUnknown_0202E8DE = gMapObjects[trainerMapObjId].localId;
+ TrainerBattleConfigure(trainerScript + 1);
ScriptContext1_SetupScript(gUnknown_0819F80B);
ScriptContext2_Enable();
}