That's basically the whole error message.
PalletTown_OnTransition:
setvar VAR_PALLET_TOWN_STATE, 0
end
Pallet_Town_MapCoordEvents:
coord_event 9, 0, 0, VAR_PALLET_TOWN_STATE, 0, PalletTown_EventScript_NeedPokemonTriggerLeft
And this is the only place where it is. I want to make a trigger...