Version differences: Difference between revisions

m
color
(wip)
m (color)
Line 384: Line 384:
| game/mario_actions_stationary.c || style="background-color: #FFFF90" | On the U version, when Mario is waking up and his action timer is greater than 0, func_803205E8 is called three times, with SOUND_MARIO_SNORING1, SOUND_MARIO_SNORING2, and SOUND_MARIO_SNORING3. On the J version, it's only called twice; the SOUND_MARIO_SNORING3 call doesn't exist.
| game/mario_actions_stationary.c || style="background-color: #FFFF90" | On the U version, when Mario is waking up and his action timer is greater than 0, func_803205E8 is called three times, with SOUND_MARIO_SNORING1, SOUND_MARIO_SNORING2, and SOUND_MARIO_SNORING3. On the J version, it's only called twice; the SOUND_MARIO_SNORING3 call doesn't exist.
|-
|-
| game/mario_step.c || The place where the wind sound for vertical wind plays was moved from apply_vertical_wind to Mario's general update function in the U version. In apply_vertical_wind, Mario is only affected by vertical wind if his Y position is between -4500 and 500; this is where the sound is played in J. This means that when Mario is outside of this range, the wind sound will not play and Mario's velocity will not change because of the wind, yet wind particles will show and Mario will enter the wind action.
| game/mario_step.c || style="background-color: #9F9" | The place where the wind sound for vertical wind plays was moved from apply_vertical_wind to Mario's general update function in the U version. In apply_vertical_wind, Mario is only affected by vertical wind if his Y position is between -4500 and 500; this is where the sound is played in J. This means that when Mario is outside of this range, the wind sound will not play and Mario's velocity will not change because of the wind, yet wind particles will show and Mario will enter the wind action.
|-
|-
| game/object_helpers.c || style="background-color: #F99" | In the U version of Geo18_8029D924, when the "run" parameter is set to TRUE, sp34 is set to D_8032CFA0 casted to an object pointer. If the object is not fully opaque, it checks to see if the object is [[Bowser]] and is fully transparent. If it is, Bowser's animation state is set to 2. It will also check to see if the GFX node's unk18 property is not set to 10, and if the object has active flag UNK7 set; if both of these are true, gDPSetAlphaCompare is called. On the J version, the opacity/Bowser check is removed, and gDPSetAlphaCompare will be called if the node's unk18 is 10 and gDebugInfo[DEBUG_PAGE_ENEMYINFO][3] is set to TRUE.
| game/object_helpers.c || style="background-color: #F99" | In the U version of Geo18_8029D924, when the "run" parameter is set to TRUE, sp34 is set to D_8032CFA0 casted to an object pointer. If the object is not fully opaque, it checks to see if the object is [[Bowser]] and is fully transparent. If it is, Bowser's animation state is set to 2. It will also check to see if the GFX node's unk18 property is not set to 10, and if the object has active flag UNK7 set; if both of these are true, gDPSetAlphaCompare is called. On the J version, the opacity/Bowser check is removed, and gDPSetAlphaCompare will be called if the node's unk18 is 10 and gDebugInfo[DEBUG_PAGE_ENEMYINFO][3] is set to TRUE.