Mad Piano: Difference between revisions

Reference to behavior file
(Created page with "{{object_infobox_2 |title= Mad Piano |image= STROOP- Mad Piano.png |group= General Actor |group2 = Group 9 |tangibility= |draw= |gravity=0 |friction=1000 |buoyancy=200 |intera...")
 
(Reference to behavior file)
 
Line 21: Line 21:


'''Mad Piano''' is an enemy appearing in [[Big Boo's Haunt]].
'''Mad Piano''' is an enemy appearing in [[Big Boo's Haunt]].
==Behavior==
==Behavior==
When not attacking, Mad Piano is stationary in its original position. When Mario is within 500 units of the Mad Piano, after 20 frames if Mario is moving forward Mad Piano attacks and becomes tangible. When Mad Piano attacks, it moves forward at 5 units per frame while turning toward Mario. If Mario moves more than 500 units from the Piano, a timer begins. If Mario does not move back into the 500 unit radius within 80 frames, when Mad Piano's attack animation ends it goes back to being stationary.  
When not attacking, Mad Piano is stationary in its original position. When Mario is within 500 units of the Mad Piano, after 20 frames if Mario is moving forward Mad Piano attacks and becomes tangible. When Mad Piano attacks, it moves forward at 5 units per frame while turning toward Mario. If Mario moves more than 500 units from the Piano, a timer begins. If Mario does not move back into the 500 unit radius within 80 frames, when Mad Piano's attack animation ends it goes back to being stationary.  
==References==
* [https://github.com/n64decomp/sm64/blob/master/src/game/behaviors/mad_piano.inc.c Mad Piano behavior file]


{{objects}}
{{objects}}
[[Category:Enemies]]
[[Category:Enemies]]
217

edits