Talk:MegaMan 2 PTC/@comment-5483792-20141212142551/@comment-15296152-20141212173504

Both bugs have been squashed, and will be part of the v1.0.2 release. The first involved not returning control of sprites to the top screen. The second involved the calculations with Heatman with regard to where he charges. Whenever Megaman is touching the ground, Heatman records his position, and uses it when he begins his charge that will be directed at that position. Then, as he charges (at a constant speed of 4 pixels per frame), he checks each frame to see if he's within a certain distance. If he is, then he stops his charge. Unfortunately, it would appear that when he's already within that distance as he starts the charge, he ends up getting out-of-range of it by the time the check is made because it increments before the check, not after. So, I made the check before the increment (plus made the distance check a little larger, just in case).