Triggering event upon depositing pokemon

itman312

Rookie
Member
Joined
Jan 13, 2019
Posts
6
When I deposit a particular pokemon species holding a particular item into the PC, I want to be able to change that item. I'm assuming I can check for the held item with something like this:

if isConst?(pkmn.item,PBItems,:QUICKCLAW)

or something like that. The problem is finding out where in the scripts I should add this code. I've tried pbMoveCaughtToBox and pbStoreCaught without any success. Does anyone know where I would need to add this code?
 
Top