Object adoption: Difference between revisions
(I am not totally sure the exact conditions for this to work and such also I need to add links to other articles etc. grammar is not good right now goodnight) |
m (MMMMMMMMMMMMM moved page Object Adoption to Object adoption: Sentence casify the wiki) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[File:pupiladoption.png|thumb|A Mr. I Pupil attached to a newly spawned coin using Object Adoption]] | |||
Object Adoption is the process of eliminating a parent object and having a new object load into the parent’s object slot. By doing this, the loaded object is considered the new parent object and can “adopt” the original child object. This has a few interesting applications. | Object Adoption is the process of eliminating a parent object and having a new object load into the parent’s object slot. By doing this, the loaded object is considered the new parent object and can “adopt” the original child object. This has a few interesting applications. | ||
==Spiny Adoption== | ==Spiny Adoption== | ||
Spiny Adoption occurs when Spiny’s parent object, Lakitu, is killed and another object loads into Lakitu’s slot. The Lakitu object contains an attribute stored in object field 0x1B which keeps track of the number of Spinies currently alive. If another object is spawned into Lakitu’s slot, and then the Spiny is killed, it will decrement the new object’s attribute at 0x1B. There | Spiny Adoption occurs when Spiny’s parent object, [[Lakitu]], is killed and another object loads into Lakitu’s slot. The Lakitu object contains an attribute stored in object field 0x1B which keeps track of the number of Spinies currently alive. If another object is spawned into Lakitu’s slot, and then the Spiny is killed, it will decrement the new object’s attribute at 0x1B. There are currently two places in the vanilla game where interesting results can occur from this. In [[Tiny-Huge Island]], there is a Lakitu located near a group of 3 Giant Goombas loaded by a triplet spawner. By performing the adoption on one of these Goombas and despawning the Spiny, the [[Goomba]] will take on the size value of 0, that of a regular Goomba. This means the Goomba can be killed with a punch, unlike regular giant Goombas. In [[Rainbow Ride]], if the adoption is done on a Bob-omb respawner, the Bob-omb will respawn with a different model than before. In theory a maximum of 3 decrements of the value are possible, giving a Butterfly, a fish with a shadow, or a fish without a shadow as the Bob-omb's model. | ||
==Pupil Adoption== | ==Pupil Adoption== | ||
Pupil Adoption occurs when the Mr. I | Pupil Adoption occurs when the Mr. I Pupil’s parent object, Mr. I, is killed and another object loads in its slot before the Pupil updates. Since the pupil considers the new object its parent and is programmed to stay out in front of its parent, the pupil will stay out in front of the new object. | ||
==References== | ==References== | ||
[https://www.youtube.com/watch?v=i1oNxV3mKsk Video of Spiny Adoption] | [https://www.youtube.com/watch?v=i1oNxV3mKsk Video of Spiny Adoption on a Goomba] | ||
[https://www.youtube.com/watch?v=MgOWfeNlCx0 Video of Pupil Adoption] | [https://www.youtube.com/watch?v=MgOWfeNlCx0 Video of Pupil Adoption] | ||
[https://www.youtube.com/watch?v=fVFeQHvyBco Video of Spiny adoption on a respawner] | |||
{{Glitches}} | {{Glitches}} |
Latest revision as of 01:47, 11 May 2021
Object Adoption is the process of eliminating a parent object and having a new object load into the parent’s object slot. By doing this, the loaded object is considered the new parent object and can “adopt” the original child object. This has a few interesting applications.
Spiny Adoption
Spiny Adoption occurs when Spiny’s parent object, Lakitu, is killed and another object loads into Lakitu’s slot. The Lakitu object contains an attribute stored in object field 0x1B which keeps track of the number of Spinies currently alive. If another object is spawned into Lakitu’s slot, and then the Spiny is killed, it will decrement the new object’s attribute at 0x1B. There are currently two places in the vanilla game where interesting results can occur from this. In Tiny-Huge Island, there is a Lakitu located near a group of 3 Giant Goombas loaded by a triplet spawner. By performing the adoption on one of these Goombas and despawning the Spiny, the Goomba will take on the size value of 0, that of a regular Goomba. This means the Goomba can be killed with a punch, unlike regular giant Goombas. In Rainbow Ride, if the adoption is done on a Bob-omb respawner, the Bob-omb will respawn with a different model than before. In theory a maximum of 3 decrements of the value are possible, giving a Butterfly, a fish with a shadow, or a fish without a shadow as the Bob-omb's model.
Pupil Adoption
Pupil Adoption occurs when the Mr. I Pupil’s parent object, Mr. I, is killed and another object loads in its slot before the Pupil updates. Since the pupil considers the new object its parent and is programmed to stay out in front of its parent, the pupil will stay out in front of the new object.
References
Video of Spiny Adoption on a Goomba
Video of Spiny adoption on a respawner
|