FAQ: Difference between revisions

8 bytes removed ,  19 August 2018
No edit summary
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 79: Line 79:
==Why does Mario lose his hat when he dies from going out-of-bounds (OOB)?==
==Why does Mario lose his hat when he dies from going out-of-bounds (OOB)?==


The default hat state is to not wear a hat, and each frame it checks if he's wearing a hat and sets that graphics flag. But when Mario goes OOB happens, most mario code doesn't execute, including that check. So Mario doesn't actually lose his hat, he just forgets he's wearing it.
The default hat state is to not wear a hat, and each frame it checks if he's wearing a hat and sets that graphics flag. But when Mario goes OOB, most mario code doesn't execute, including that check. So Mario doesn't actually lose his hat, he just forgets he's wearing it.
709

edits