Version differences: Difference between revisions

Jump to navigation Jump to search
object_helpers.c
(new audio files)
(object_helpers.c)
Line 14: Line 14:
| audio/dac.c || style="background-color: #F99" | In func_80316928, D_80226D7C is (in the U version) set to 172,320 times what it would be set to in the J version.
| audio/dac.c || style="background-color: #F99" | In func_80316928, D_80226D7C is (in the U version) set to 172,320 times what it would be set to in the J version.
|-
|-
| audio/data.c || style="background-color: #F99" | D_80332190 has different data in J and U versions.
| audio/data.c || style="background-color: #F99" | D_80332190 has different data in J and U versions. This may be related to sound glitch.
|-
|-
| audio/dma.c || style="background-color: #F99" | In func_80317270, osInvalDCache isn't called on the J version.
| audio/dma.c || style="background-color: #F99" | In func_80317270, osInvalDCache isn't called on the J version.
Line 20: Line 20:
| audio/interface_1.c || style="background-color: #F99" | Large non-decompiled ASM block
| audio/interface_1.c || style="background-color: #F99" | Large non-decompiled ASM block
|-
|-
| audio/interface_1.c || style="background-color: #F99" | In the J version of func_8031C0C4, arg1 is cast to an f32. In the U version, it's cast to an s32 and then to an f32.
| audio/interface_1.c || style="background-color: #9F9" | In the J version of func_8031C0C4, arg1 is cast to an f32. In the U version, it's cast to an s32 and then to an f32. This was done to simplify the compiled ASM, and has no effect on the game.
|-
|-
| audio/interface_1.c || style="background-color: #F99" | Large non-decompiled ASM block
| audio/interface_1.c || style="background-color: #F99" | Large non-decompiled ASM block
Line 436: Line 436:
| game/mario_step.c ||  
| game/mario_step.c ||  
|-
|-
| game/object_helpers.c ||  
| 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 ||  
| game/object_helpers.c || style="background-color: #9F9" | The move flag OBJ_MOVE_ABOVE_DEATH_BARRIER (1 << 13) is only used in the U version, by coins. Coins use it to unload when they come into contact with the death barrier. In the U version, it is set in obj_update_floor if the object is above the death barrier. In the J version, it is not set.
|-
|-
| game/object_helpers.c ||  
| game/object_helpers.c || style="background-color: #FFFF90" | In obj_update_floor_and_resolve_wall_collisions, the object's move flag OBJ_MOVE_ABOVE_LAVA is cleared. In the U version, OBJ_MOVE_ABOVE_DEATH_BARRIER is cleared alongside it.
|-
|-
| game/object_helpers.c ||  
| game/object_helpers.c || style="background-color: #9F9" | The [[Timestop|timestop glitch]] is patched on the U version.
|-
| game/object_helpers.c ||
|-
|-
| game/object_helpers.c || style="background-color: #FFFF90" | obj_spawn_star_at_y_offset is only declared in the U version.
| game/object_helpers.c || style="background-color: #FFFF90" | obj_spawn_star_at_y_offset is only declared in the U version.

Navigation menu