Mad Piano: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(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]]

Latest revision as of 03:36, 8 May 2021

Mad Piano
STROOP- Mad Piano.png
Technical Constants
Object Group General Actor
Actor Group Group 9
Physical Constants
Gravity 0
Friction 1000
Buoyancy 200
Hitbox
Interaction Type Damage
Damage 3
Health 99
Radius 200
Height 150
Down Offset 0

Mad Piano is an enemy appearing in Big Boo's Haunt.

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.

References