Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

i still has one problem about gift pokemon, so instead in party i using the box to store. Can you give me the full code to manually send to empty party or box? 

Something like this:

var namp;
namp = amp_get_new_party_id()
if(namp != NONE){
     //Fits in party
     amp_generate_monster(namp, SPECIES, LEVEL)
}
else{
     namp = amp_get_new_box_id()
     if(namp != NONE){
         //Placed in box
         amp_generate_monster(namp, SPECIES, LEVEL)
     }
     else{
         //No room, can't be taken
     }
}
(+1)

thanks yal 😁