You are not logged in.
My example is the first rival battle. In data/trainers/parties.asm, RIVAL1 (3) uses Totodile. I am attempting to give it a Berry to simulate actually having stolen it from the lab since your starter also holds a Berry.
By changing the trainer type to "TRAINERTYPE_ITEM" and then adding it to the line beneath it "TOTODILE, BERRY", it does nothing. I even made sure by checking the Pokefan entries to make sure my syntax is correct. The rom builds just fine, but in game it does nothing when getting low on health, as if it wasn't holding anything, the amount of spaces between Totodile and Berry don't seem to make a difference either despite seeming like it should by other trainers.
I also thought to go a step further by simply changing the trainer type to "TRAINERTYPE_ITEM_MOVES" and then adding it to the line beneath it "TOTODILE, BERRY, WATER_GUN, NO_MOVE, NO_MOVE, NO_MOVE".
Again, checking some Cooltrainer entries like BETH confirms my syntax seems correct. In this example, the movepool test, only knowing water gun, works, Totodile never scratches, only uses water gun like it should, but again, the Berry does not work. Even if I use per se, "PSNCUREBERRY", poisoning him does nothing to trigger the held berry either.
Is it possible that Berries only work by Pokefan teams, and items as a whole with custom movesets only by certain cooltrainers? Can I not make a trainer use items that doesn't normally? Adding custom movesets is fine it would seem, with or without custom held items, just the held items themselves seem finicky?
I must be missing something simple since some Crystal mods have Gym Leaders with held items functioning just fine.
Hmpf! Figures I oversaw this. I checked the hardcoded logic section before and must've missed it. I apologise for my ignorance. I wonder if anything can be done sometime though, Spawn points when you start and finish the game allows you to change the map and coordinates, so I wonder if anything will budge here. Well thanks so much again.
Now to figure out Lv 1 Eggs and Gym Leader & E4 rematches. Of course I probably missed a tutorial somewhere again, so I'll start there.