You're attempting to play a video on the surface of an entity that no longer exists. When you call level_load the entity execution setupLevel1 gets removed. Hence executing bmap_for_entity(my,0) one frame later will crash.
Please use code tags when posting code.
Always learn from history, to be sure you make the same mistakes again...