summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-12-02 21:44:50 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2017-12-02 21:44:50 +0100
commitce6e97fa0b24e69582615048dbbac17a55afe8ac (patch)
tree86a33fbae8c608dce543b08affd6b6ed2414d8e9 /src/battle_script_commands.c
parent2fe25da65a07edef2b1beaf895911b18a8c1dbc8 (diff)
sprite data fields to array
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index d9b35c053..f91a52480 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -6782,8 +6782,8 @@ static bool8 sub_804F344(void)
return (gBattle_BG2_X != 0x1A0);
}
-#define sDestroy data0
-#define sSavedLvlUpBoxXPosition data1
+#define sDestroy data[0]
+#define sSavedLvlUpBoxXPosition data[1]
static void PutMonIconOnLvlUpBox(void)
{