Version differences: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 131: Line 131:
| game/behaviors/boo.c.inc || 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 || 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/bowser.c.inc ||  
| game/behaviors/bowser.c.inc || 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 ||  
| game/behaviors/bowser.c.inc || In the US version, the BitDW demo will always start with Bowser's action set to 14. In the J version, it has a 1/10 chance it'll start with action 3 like in normal gameplay.
|-
|-
| game/behaviors/bowser.c.inc ||  
| game/behaviors/bowser.c.inc || func_u_802B4AF4() is only declared in the U version.
|-
|-
| game/behaviors/bowser.c.inc ||  
| game/behaviors/bowser.c.inc || In ActionBowser13, func_u_802B4AF4 is called only in the U version if "o->oSubAction == 1" and "o->oBehParams2ndByte == 2 && o->oUnknownUnkF4_S32 & 0x10000".
|-
|-
| game/behaviors/bowser.c.inc ||  
| game/behaviors/bowser.c.inc || In ActionBowser2, func_u_802B4AF4 is called only in the U version if Bowser's subaction is 2.
|-
|-
| game/behaviors/bowser_key.c.inc || If bowser key action is 0, plays sound 0x30370081 on J but 0x38378081 on U (todo: check if these are actually different sounds)
| game/behaviors/bowser_key.c.inc || If bowser key action is 0, plays sound 0x30370081 on J but 0x38378081 on U (todo: check if these are actually different sounds)
Line 151: Line 151:
| game/behaviors/celebration_star.c.inc ||  
| game/behaviors/celebration_star.c.inc ||  
|-
|-
| game/behaviors/coin.c.inc ||  
| game/behaviors/coin.c.inc || BehCoinLoop plays sound 0x30300081 on J but 0x38300081 on U when the timer is set to 0 (todo: check if these are actually different sounds)
|-
|-
| game/behaviors/coin.c.inc ||  
| game/behaviors/coin.c.inc || On the U version, if the coin has move flags 0x1, 0x800, and 0x4000 set, it will mark itself for deletion. On the J version, the 0x4000 check doesn't exist.
|-
|-
| game/behaviors/coin.c.inc ||  
| game/behaviors/coin.c.inc || 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 not check nor increment o->oUnk1B0.
|-
|-
| game/behaviors/cruiser.c.inc ||  
| game/behaviors/cruiser.c.inc || 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/dorrie.c.inc ||  
| game/behaviors/dorrie.c.inc || Two if-elseif statements swap places between the J and U versions (todo: elaborate on what effects this has). Also, in the J version, it will raise its head along with Mario if the forward distance to Mario is greater than 830 (i.e. Mario is greater than 830 units away from Dorrie's center) and if set_mario_npc_dialogue returns the expected result indicating a success. In the U version, 830 is changed to 780, and another condition is added: Dorrie's Y offset has to be equal to -17.
|-
|-
| game/behaviors/hidden_star.c.inc ||  
| game/behaviors/hidden_star.c.inc || As you collect more secrets, the sound played when collecting secrets gets higher in pitch on the U version. It doesn't change on the J version.
|-
|-
| game/behaviors/king_bobomb.c.inc ||  
| game/behaviors/king_bobomb.c.inc ||