summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-07-30 05:40:12 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-07-31 07:58:09 +0800
commit1f986e65435c10f3d62b3777beb8acf712dcbbf2 (patch)
tree04000711936b2d7f083346bca0b65c3c59f7bd81
parent3f866d2a60cde838d9170bf080b075f120d81ed5 (diff)
fixed incorrect comment
-rw-r--r--src/battle_util2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_util2.c b/src/battle_util2.c
index 5254ab25b..83014a83b 100644
--- a/src/battle_util2.c
+++ b/src/battle_util2.c
@@ -19,7 +19,7 @@ void AllocateBattleResources(void)
*ptr++ = AllocZeroed(8);
while (--i >= 0);
}
- // TODO: Figure out whether 0x200 is really the size of *gBattleResources.
+ // TODO: Figure out whether 0x200 is really the size of *gBattleStruct.
// The following works in pokeem:
// gBattleStruct = AllocZeroed(sizeof(*gBattleStruct));
gBattleStruct = AllocZeroed(0x200);