Version differences: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 68: Line 68:
| game/behaviors/boo.c.inc || style="background-color: #FFFF90" | boo_stop() is called in ActionBooGivingStar4 only on the U version.
| game/behaviors/boo.c.inc || style="background-color: #FFFF90" | boo_stop() is called in ActionBooGivingStar4 only on the U version.
|-
|-
| game/behaviors/boo.c.inc || style="background-color: #FFFF90" | On the J version, SetSound(0x806AA081,D_803320E0) is called in a certain part of BehSpawnBigBooLoop. In the U version, play_puzzle_jingle() is called instead.
| game/behaviors/boo.c.inc || style="background-color: #9F9" | On the J version, SetSound(0x806AA081, D_803320E0) is called when the Merry-Go-Round Big Boo is spawned. In the U version, play_puzzle_jingle() is called instead. The difference between the 2 sounds is shown in [https://youtu.be/eu9f6QEoLCU this video.]
|-
|-
| game/behaviors/bowser.c.inc || style="background-color: #FFFF90" | Bowser's "body anchor"'s InteractType is set to 0x800000 whenever Bowser's action is 4 in the J version. In the U version, it's set to 0x800000 when Bowser's action is 4 and his subaction is not 11; if it is 11, the anchor's InteractType is set to 0.
| game/behaviors/bowser.c.inc || style="background-color: #FFFF90" | Bowser's "body anchor"'s InteractType is set to 0x800000 whenever Bowser's action is 4 in the J version. In the U version, it's set to 0x800000 when Bowser's action is 4 and his subaction is not 11; if it is 11, the anchor's InteractType is set to 0.
Line 80: Line 80:
| game/behaviors/bowser.c.inc || style="background-color: #FFFF90" | In ActionBowser2, when Bowser's subaction is 2, func_u_802B4AF4 is called in the U version.
| game/behaviors/bowser.c.inc || style="background-color: #FFFF90" | In ActionBowser2, when Bowser's subaction is 2, func_u_802B4AF4 is called in the U version.
|-
|-
| game/behaviors/bowser_key.c.inc || style="background-color: #9F9" | The sound of a Bowser key bouncing on the ground has a higher pitch in the J version than in the U version.
| game/behaviors/bowser_key.c.inc || style="background-color: #FFFF90" | The sound of a Bowser key bouncing has higher priority in the U version, probably to stop it getting overriden by other sounds. It also has a flag set on the U version which seems to indicate that the sound is affected by distance (to/from something unknown) somehow.
|-
|-
| game/behaviors/bully.c.inc || style="background-color: #99F" | The sound a bully makes when it spawns a coin after being killed has a slightly higher pitch in the J version than in the U version.
| game/behaviors/bully.c.inc || style="background-color: #FFFF90" | The sound a bully makes when it spawns a coin after being killed in the U version has a flag set which seems to indicate that the sound is affected by distance (to/from something unknown) somehow.
|-
|-
| game/behaviors/camera_lakitu.c.inc || style="background-color: #9F9" | The "Lakitu's Message" music clip that plays when Lakitu comes near Mario to explain the camera controls at the start of the game isn't played or doesn't exist on J version.
| game/behaviors/camera_lakitu.c.inc || style="background-color: #9F9" | The "Lakitu's Message" music clip that plays when Lakitu comes near Mario to explain the camera controls at the start of the game isn't played or doesn't exist on J version.
Line 90: Line 90:
| game/behaviors/celebration_star.c.inc || style="background-color: #FFFF90" | On the J version, when a celebration star is turning to face the camera, it is scaled by 1/10 units per frame. On the U version, it checks if it's a key. If it's a key, it scales 1/30 units per frame; if it's the BitS star, it scales 1/10 units per frame. (todo: check if the bits star ever faces the camera)
| game/behaviors/celebration_star.c.inc || style="background-color: #FFFF90" | On the J version, when a celebration star is turning to face the camera, it is scaled by 1/10 units per frame. On the U version, it checks if it's a key. If it's a key, it scales 1/30 units per frame; if it's the BitS star, it scales 1/10 units per frame. (todo: check if the bits star ever faces the camera)
|-
|-
| game/behaviors/coin.c.inc ||  style="background-color: #99F" | The sound a coin makes when it spawns (through beh_single_coin_gets_spawned) has a slightly higher pitch in the J version than in the U version.
| game/behaviors/coin.c.inc ||  style="background-color: #FFFF90" | The sound a coin makes when it spawns (through beh_single_coin_gets_spawned) in the U version has a flag set which seems to indicate that the sound is affected by distance (to/from something unknown) somehow.
|-
|-
| game/behaviors/coin.c.inc || style="background-color: #9F9" | On the U version, coins will unload if they land on the death barrier. On the J version, they will continue to exist.
| game/behaviors/coin.c.inc || style="background-color: #9F9" | On the U version, coins will unload if they land on the death barrier. On the J version, they will continue to exist.
|-
|-
| game/behaviors/coin.c.inc || style="background-color: #FFFF90" | On the U version, if the coin has move flag 0x2000 set and has o->oUnk1B0 < 5, it will play a sound (namely, 0x30364081). Then it will increment o->oUnk1B0. On the J version, it will neither check nor increment o->oUnk1B0.
| game/behaviors/coin.c.inc || style="background-color: #FFFF90" | On the U version, if the coin has move flag 0x2000 set and has o->oUnk1B0 < 5, it will play a sound (namely, 0x30364081). Then it will increment o->oUnk1B0. On the J version, it will neither check nor increment o->oUnk1B0; it'll play the sound whenever the coin has the flag set.
|-
|-
| game/behaviors/cruiser.c.inc || style="background-color: #9F9" | On the U version, the wings on the RR cruiser will play a sound (namely, 0x30750081) every 64 frames. (It waits for the timer to become 64, then plays the sound and sets it to 0.) On the J version, it won't do any of this.
| game/behaviors/cruiser.c.inc || style="background-color: #9F9" | On the U version, the wings on the RR cruiser will play a sound (namely, 0x30750081) every 64 frames. (It waits for the timer to become 64, then plays the sound and sets it to 0.) On the J version, it won't do any of this.
Line 134: Line 134:
| game/behaviors/sparkle_spawn_star.c.inc || style="background-color: #FFFF90" | In BehUnused080CLoop, when the object's action is 0, its Y-velocity is negative, it's under its home, and the bitmask o->oUnk190 has flag 0x400 set, the object will call func_803212A0(0) in the J version and func_803212A0(1) in the U version.
| game/behaviors/sparkle_spawn_star.c.inc || style="background-color: #FFFF90" | In BehUnused080CLoop, when the object's action is 0, its Y-velocity is negative, it's under its home, and the bitmask o->oUnk190 has flag 0x400 set, the object will call func_803212A0(0) in the J version and func_803212A0(1) in the U version.
|-
|-
| game/behaviors/tox_box.c.inc ||  style="background-color: #99F" | When slamming into the ground, the tox box plays sound 0x30460081 on the J version, and 0x30468081 on the U version. (todo: check if these are different sounds)
| game/behaviors/tox_box.c.inc ||  style="background-color: #FFFF90" | The sound the tox-box plays when slamming into the ground has flag 0x8000 set on the U version but not on the J version.
|-
|-
| game/behaviors/tuxie.c.inc || style="background-color: #9F9" | The Mother Penguin will spawn the star in a completely different location in the U version than in the J version.
| game/behaviors/tuxie.c.inc || style="background-color: #9F9" | The Mother Penguin will spawn the star in a completely different location in the U version than in the J version.