Version differences: Difference between revisions

Line 114: Line 114:
| game/behaviors/king_bobomb.inc.c || style="background-color: #9F9" | In ActionKingBobomb0, King Bob-omb's velocity is only set to 0 in the U version. It is not touched in the J version. This is the cause of [https://t.co/rSZBnhKCAT this J-specific glitch.]
| game/behaviors/king_bobomb.inc.c || style="background-color: #9F9" | In ActionKingBobomb0, King Bob-omb's velocity is only set to 0 in the U version. It is not touched in the J version. This is the cause of [https://t.co/rSZBnhKCAT this J-specific glitch.]
|-
|-
| game/behaviors/king_bobomb.inc.c || style="background-color: #FFFF90" | When spawning the star in the J version, the invisible defeated King Bob-omb is raised by 100 units and CreateStar is called to spawn the star. In the U version, King Bob-omb is not raised directly but rather through obj_spawn_star_at_y_offset which is called instead of CreateStar. The Y-offset passed into obj_spawn_star_at_y_offset is 200. TODO: Figure out if the star actually spawns ''from'' 100 units higher in U
| game/behaviors/king_bobomb.inc.c || style="background-color: #FFFF90" | When spawning the star in the J version, the invisible defeated King Bob-omb is raised by 100 units and CreateStar is called to spawn the star. In the U version, King Bob-omb is not raised directly but rather through obj_spawn_star_at_y_offset which is called instead of CreateStar. The Y-offset passed into obj_spawn_star_at_y_offset is 200. This causes the star to spawn from 100 units lower on U.
|-
|-
| game/behaviors/mips.inc.c || style="background-color: #9F9" | When MIPS has action 1 in the J version, his forward velocity is set to 45. In the U version, it's set to o->oUnk1AC_F32, which is 40 for the 1st MIPS and 45 for the 2nd MIPS. This was probably done to slow him down a bit.
| game/behaviors/mips.inc.c || style="background-color: #9F9" | When MIPS has action 1 in the J version, his forward velocity is set to 45. In the U version, it's set to o->oUnk1AC_F32, which is 40 for the 1st MIPS and 45 for the 2nd MIPS. This was probably done to slow him down a bit.
Line 132: Line 132:
| game/behaviors/racing_penguin.inc.c || 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.inc.c || 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.inc.c || style="background-color: #FFFF90" | On the U version, obj_spawn_star_at_y_offset is used to spawn the star instead of CreateStar. (todo: check if there are star height differences)
| game/behaviors/racing_penguin.inc.c || style="background-color: #FFFF90" | On the U version, obj_spawn_star_at_y_offset is used to spawn the star instead of CreateStar. This causes the star to spawn from 200 units lower on U.
|-
|-
| game/behaviors/red_coin.inc.c || style="background-color: #9F9" | As you collect more red coins, the sound played when collecting secrets gets higher in pitch on the U version. It doesn't change on the J version.
| game/behaviors/red_coin.inc.c || style="background-color: #9F9" | As you collect more red coins, the sound played when collecting secrets gets higher in pitch on the U version. It doesn't change on the J version.