ported battle_controller_player from pokeem and matched several new functions

This commit is contained in:
jiangzhengwenjz committed 2019-08-05 08:15:58 +08:00
1 parent 5568895b04
commit b9d547a02f
33 files changed
+3154 -11135

No files matched your search

+1 -1
View File
@@ -530,7 +530,7 @@ static u32 GetOpponentMonData(u8 monId, u8 *dst)
moveData.pp[size] = GetMonData(&gEnemyParty[monId], MON_DATA_PP1 + size);
}
moveData.ppBonuses = GetMonData(&gEnemyParty[monId], MON_DATA_PP_BONUSES);
src = (u8*)(&moveData);
src = (u8 *)(&moveData);
for (size = 0; size < sizeof(moveData); ++size)
dst[size] = src[size];
break;