Difference between revisions of "Disable animated tiles in sonic 2"
From Sonic Retro
Lavagaming1 (talk | contribs) |
Lavagaming1 (talk | contribs) |
||
Line 3: | Line 3: | ||
in sonic 2 adding extra tiles glitches the art of non animated tiles with the | in sonic 2 adding extra tiles glitches the art of non animated tiles with the | ||
art of animated tiles like the flowers in emerald hill zone | art of animated tiles like the flowers in emerald hill zone | ||
− | to fix this go to your | + | to fix this go to your s2.asm file |
you'll find these lines | you'll find these lines | ||
<syntaxhighlight lang="asm"> | <syntaxhighlight lang="asm"> | ||
Line 60: | Line 60: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Fixing the bug== | ==Fixing the bug== | ||
− | this points where the animated tiles are stored in the game and | + | this points where the animated tiles are stored in the game and which zone are these tiles are for |
if you want to disable them change the Dynamic and Animated to Null this will prevent the tiles to glitch in your level | if you want to disable them change the Dynamic and Animated to Null this will prevent the tiles to glitch in your level | ||
it should look like this | it should look like this | ||
Line 67: | Line 67: | ||
zoneOffsetTableEntry.w Animated_Null | zoneOffsetTableEntry.w Animated_Null | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | ==HAPPY HACKING== | |
{{S2Howtos}} | {{S2Howtos}} |
Latest revision as of 15:02, 16 February 2020
(Original guide by lavagaming1)
preview
in sonic 2 adding extra tiles glitches the art of non animated tiles with the art of animated tiles like the flowers in emerald hill zone to fix this go to your s2.asm file you'll find these lines
PLC_DYNANM: zoneOrderedOffsetTable 2,2 ; Zone ID
zoneOffsetTableEntry.w Dynamic_Null ; $00
zoneOffsetTableEntry.w Animated_Null
zoneOffsetTableEntry.w Dynamic_Null ; $01
zoneOffsetTableEntry.w Animated_Null
zoneOffsetTableEntry.w Dynamic_Null ; $02
zoneOffsetTableEntry.w Animated_Null
zoneOffsetTableEntry.w Dynamic_Null ; $03
zoneOffsetTableEntry.w Animated_Null
zoneOffsetTableEntry.w Dynamic_Normal ; $04
zoneOffsetTableEntry.w Animated_MTZ
zoneOffsetTableEntry.w Dynamic_Normal ; $05
zoneOffsetTableEntry.w Animated_MTZ
zoneOffsetTableEntry.w Dynamic_Null ; $06
zoneOffsetTableEntry.w Animated_Null
zoneOffsetTableEntry.w Dynamic_HTZ ; $07
zoneOffsetTableEntry.w Animated_HTZ
zoneOffsetTableEntry.w Dynamic_Normal ; $08
zoneOffsetTableEntry.w Animated_HPZ
zoneOffsetTableEntry.w Dynamic_Null ; $09
zoneOffsetTableEntry.w Animated_Null
zoneOffsetTableEntry.w Dynamic_Null ; $0A
zoneOffsetTableEntry.w Animated_Null
zoneOffsetTableEntry.w Dynamic_Null ; $0B
zoneOffsetTableEntry.w Animated_Null
zoneOffsetTableEntry.w Dynamic_CNZ ; $0C
zoneOffsetTableEntry.w Animated_CNZ
zoneOffsetTableEntry.w Dynamic_Normal ; $0D
zoneOffsetTableEntry.w Animated_CPZ
zoneOffsetTableEntry.w Dynamic_Normal ; $0E
zoneOffsetTableEntry.w Animated_DEZ
zoneOffsetTableEntry.w Dynamic_ARZ ; $0F
zoneOffsetTableEntry.w Animated_ARZ
zoneOffsetTableEntry.w Dynamic_Null ; $10
zoneOffsetTableEntry.w Animated_Null
zoneTableEnd
Fixing the bug
this points where the animated tiles are stored in the game and which zone are these tiles are for if you want to disable them change the Dynamic and Animated to Null this will prevent the tiles to glitch in your level it should look like this
zoneOffsetTableEntry.w Dynamic_Null ; $00
zoneOffsetTableEntry.w Animated_Null