Version differences: Difference between revisions

thanks quate! behaviors/piranha_plant
(updated)
(thanks quate! behaviors/piranha_plant)
Line 124: Line 124:
| game/behaviors/mr_i.c.inc || style="background-color: #FFFF90" | In ActionMrI0, the Mr. I will set its MoveAngle's to 0 on the J version. On the U version, it calls set_object_angle(o, 0, 0, 0), which sets both its FaceAngle's and MoveAngle's to 0.
| game/behaviors/mr_i.c.inc || style="background-color: #FFFF90" | In ActionMrI0, the Mr. I will set its MoveAngle's to 0 on the J version. On the U version, it calls set_object_angle(o, 0, 0, 0), which sets both its FaceAngle's and MoveAngle's to 0.
|-
|-
| game/behaviors/piranha_plant.c.inc || style="background-color: #FFFF90" | In ActionPiranhaPlant20, the piranha plant's size is set back to normal only on the U version.
| game/behaviors/piranha_plant.c.inc || style="background-color: #9F9" | piranha_plant_reset_when_far is only declared in the U version. It resets the piranha plant if it is far away from Mario. This was done to patch [https://www.youtube.com/watch?v=zkA3WFlHS9g this J-specific glitch.]
|-
|-
| game/behaviors/piranha_plant.c.inc || style="background-color: #FFFF90" | In ActionPiranhaPlant21, o->oDamageOrCoinValue is set to 0 only on the U version.
| game/behaviors/piranha_plant.c.inc || style="background-color: #9F9" | When the piranha plant is idle, its size is constantly set to normal. This is to make the piranha plant not permanently small when the aforementioned glitch is tried on U.
|-
|-
| game/behaviors/piranha_plant.c.inc || style="background-color: #FFFF90" | In ActionPiranhaPlant23, o->oDamageOrCoinValue is set to 3 only on the U version.
| game/behaviors/piranha_plant.c.inc || style="background-color: #9F9" | Mario can run into a sleeping piranha plant and receive knockback. On the U version, he will not get hurt, but on the J version, he will.
|-
| game/behaviors/piranha_plant.c.inc || style="background-color: #9F9" | func_u_802BE0B8 is only declared in the U version. It resets the piranha plant if it is far away from Mario. This was done to patch [https://www.youtube.com/watch?v=zkA3WFlHS9g this J-specific glitch.]
|-
|-
| game/behaviors/racing_penguin.c.inc || style="background-color: #FFFF90" | When the penguin is turning to face Mario at the end of the race (todo: confirm this), func_802BE3B4(1) is called but only on the U version.
| game/behaviors/racing_penguin.c.inc || style="background-color: #FFFF90" | When the penguin is turning to face Mario at the end of the race (todo: confirm this), func_802BE3B4(1) is called but only on the U version.