Difference between revisions of "Change spike behaviour in Sonic 2"
From Sonic Retro
m (Text replacement - "\[\[Category:SCHG How-tos.*" to "") |
m |
||
Line 1: | Line 1: | ||
− | Guide | + | {{Guide|Shadow05}} |
To change the [[Spike damage behavior|spike behaviour]] to that of ''[[Sonic the Hedgehog (16-bit)|Sonic the Hedgehog]]'', find the following lines: | To change the [[Spike damage behavior|spike behaviour]] to that of ''[[Sonic the Hedgehog (16-bit)|Sonic the Hedgehog]]'', find the following lines: |
Latest revision as of 02:29, 16 November 2019
To change the spike behaviour to that of Sonic the Hedgehog, find the following lines:
GitHub
tst.w invulnerable_time(a1) ; is character invulnerable?
bne.s + ; rts ; if yes, branch
Delete them.
Xerowhirl
tst.w invulnerable_time(a1)
bne.s return_15AC4
]]