This can be confusing to use at first, but it's a very useful patch for all kinds of gimmicks. To customize it, you'll need to find the part of the ASM file which says "levels:" (it should be right after the "freedata" directive). Each level number in there corresponds to a Map16 number in the "acts:" table right below. You can add as many levels as you want.
During the moderation, I included the levelnum patch within this patch. The custom code expects the level number to be stored to $010B, which is not a vanilla feature. Seeing as the levelnum patch is inserted by UberASM and PIXI, two essential tools, I didn't deem this a rejection reason.