577
edits
No edit summary |
m (reformat with new template) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
|group=General Actor | |group=General Actor | ||
|group2 = Common 0 | |group2 = Common 0 | ||
|modelID=0xC2 | |||
|tangibility=1000 | |tangibility=1000 | ||
|draw= | |draw= | ||
Line 18: | Line 19: | ||
|offset=40 | |offset=40 | ||
|coins= | |coins= | ||
|behaviorScript=[https://github.com/n64decomp/sm64/blob/master/data/behavior_data.c#L3865 Circling Amp Initialization File] | |||
|behaviorCode=[https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/behaviors/amp.inc.c Amp behavior file] | |||
}} | }} | ||
'''Amp''' is an enemy that appears in many levels. There are two types of Amp; a homing Amp, and an Amp that moves in a circle. The circling Amp can also be stationary if the circle's radius is set to 0. When Mario collides with an Amp, he is shocked and takes 1 damage. | '''Amp''' is an enemy that appears in many levels. There are two types of Amp; a homing Amp, and an Amp that moves in a circle. The circling Amp can also be stationary if the circle's radius is set to 0. When Mario collides with an Amp, he is shocked and takes 1 damage. | ||
Line 39: | Line 42: | ||
The Circling Amp can be initialized with 4 different radii: 200 units, 300 units, 400 units and 0 units. If the Amp has a circling radius of 0 units, the amp remains in a fixed position while turning toward Mario and oscillating 40 units around its initial Y-value. If the Amp’s circling radius is not 0, it moves in a circle of the specified radius around its home with a period of 64 frames and oscillates 60 units around its initial Y-value. | The Circling Amp can be initialized with 4 different radii: 200 units, 300 units, 400 units and 0 units. If the Amp has a circling radius of 0 units, the amp remains in a fixed position while turning toward Mario and oscillating 40 units around its initial Y-value. If the Amp’s circling radius is not 0, it moves in a circle of the specified radius around its home with a period of 64 frames and oscillates 60 units around its initial Y-value. | ||
==References== | ==References== | ||
<references/> | |||
[[Category:Enemies]] | [[Category:Enemies]] | ||
{{objects}} | {{objects}} |
edits