[ul] [li]If Frog is overlapping portal AND IsInPortal = 0 (touching a portal for the first time)[/li]
[/ul] IsInPortal = 1
For each portal Alert portal.Type
[li]If Frog is overlapping portal at offset(-Frog.Height, 0) IsInPortal = 0 (finished operlapping)[/li]
I would have expected the loop to occur only once, at the entry. However, it happens on entry, and when it fully overlaps, it runs the loop each frame until it exists the portal... so I thought if the pivot of the frog is 0,0 then that would explain it, since it does overlap a lot. but the pivot is in the middle of the frog (16, 16)
What am I missing?