- 124
- Posts
- 9
- Years
- Seen Apr 5, 2024
So I wanted to make an ingame trade that will literally take anything Pokemon I give it and it will trade me the same Pokemon back with the same level but with better IVs. Here is the code for the trade I made but cant seem to make it work Im getting lots of errors.
[INGAME_TRADE_PERFECT] =
{
.nickname = _(""),
.species = VAR_TEMP_1,
.ivs = {31, 31, 31, 31, 31, 31},
.abilityNum = 1,
.otId = 12345,
.conditions = {30, 5, 5, 5, 5},
.personality = 0x84,
.heldItem = ITEM_NONE,
.mailNum = -1,
.otName = _("GUY"),
.otGender = MALE,
.sheen = 10,
.requestedSpecies = VAR_TEMP_2
},
and I also added it in the trade.h
#define INGAME_TRADE_PERFECT 4
Please help! Let me know if its even possible!
[INGAME_TRADE_PERFECT] =
{
.nickname = _(""),
.species = VAR_TEMP_1,
.ivs = {31, 31, 31, 31, 31, 31},
.abilityNum = 1,
.otId = 12345,
.conditions = {30, 5, 5, 5, 5},
.personality = 0x84,
.heldItem = ITEM_NONE,
.mailNum = -1,
.otName = _("GUY"),
.otGender = MALE,
.sheen = 10,
.requestedSpecies = VAR_TEMP_2
},
and I also added it in the trade.h
#define INGAME_TRADE_PERFECT 4
Please help! Let me know if its even possible!