Bully: Difference between revisions

Jump to navigation Jump to search
249 bytes added ,  28 September 2024
minor #cww
(→‎Use in Challenges: added ETitV as a use and link to first instance of BitFS)
(minor #cww)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{object_infobox
{{object_infobox
|title= Bully
|title= Bully<ref>[https://github.com/n64decomp/sm64/blob/master/src/game/behaviors/bully.inc.c Bully Behavior Code]</ref><ref>[https://github.com/n64decomp/sm64/blob/master/data/behavior_data.c#L4050 Bully Initialization Codes]</ref>
|gallery= <gallery>
|gallery= <gallery>
STROOP- Bully.png|Bully
STROOP- Bully.png|Bully
Line 16: Line 16:
|expand=
|expand=
}}
}}
'''Bullies''' are uncommon enemies in ''[[Super Mario 64]]'', appearing in Lethal Lava Land, Bowser in the Fire Sea, and Snowman's Land. Bullies attack by running in to Mario, knocking him back. They can be defeated by knocking them into lava. The regular Bully model is loaded in actor group 2, while the Chill Bully model is loaded in with actor group 16.
'''Bullies''' are uncommon enemies in ''[[Super Mario 64]]'', appearing in Lethal Lava Land, Bowser in the Fire Sea, and Snowman's Land. Bullies attack by running in to Mario, knocking him back. They can be defeated by knocking them into lava. The regular Bully model is loaded in actor group 2, while the Chill Bully model is loaded in with actor group 16.


== Locations ==
== Locations ==
Line 34: Line 34:
The Bully enemy's knockback logic contains a step that involves dividing by the horizontal distance between Mario and the Bully. Thus, the game will crash from a divide by 0 error if the operation is performed while the distance between Mario and the Bully is 0. Causing this crash requires very specific conditions. Mario must be next to an area out-of-bounds so that he will not be moved away from the bully before the crash can occur and Mario must be in a state to receive knockback from the bully, making the exact movement needed to cause the crash very precise.
The Bully enemy's knockback logic contains a step that involves dividing by the horizontal distance between Mario and the Bully. Thus, the game will crash from a divide by 0 error if the operation is performed while the distance between Mario and the Bully is 0. Causing this crash requires very specific conditions. Mario must be next to an area out-of-bounds so that he will not be moved away from the bully before the crash can occur and Mario must be in a state to receive knockback from the bully, making the exact movement needed to cause the crash very precise.


==References==
<references/>
[[Category:Enemies]]
[[Category:Enemies]]
{{objects}}
{{objects}}
4

edits

Navigation menu