menu_helpers.c & field_special_scene.c

This commit is contained in:
jiangzhengwenjz
2019-06-24 02:07:25 +08:00
parent 34bebdc56e
commit bc7ff2226d
32 changed files with 6442 additions and 726 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ bool8 MEScrCmd_givepokemon(struct ScriptContext *ctx)
}
heldItem = GetMonData(&gPlayerParty[5], MON_DATA_HELD_ITEM);
if (itemid_is_mail(heldItem))
if (ItemIsMail(heldItem))
GiveMailToMon2(&gPlayerParty[5], &mail);
CompactPartySlots();
CalculatePlayerPartyCount();