709
edits
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 | 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. |