Ya I understand, look back through your scripts of each event and see if you ether placed a different flag than the one you used for the bext event. For example,
If you make an event for Ash to recieve Pikachu and he cant leave till he gets it then that would be a checkflag command to se,e lets see flag 0x800. Then after you do the Pikachu event you would use the setflag 0x800 comand then you should be good. Just look after for the certain flags you set and make sure they follow in a order of events. If you set the flag 0x801 after the spearow event then there should be a checkflag command allowing you to advance further on into the hack.