Difference between revisions of "Change spike behaviour in Sonic 2"
From Sonic Retro
m |
|||
(One intermediate revision by one other user not shown) | |||
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: | ||
Line 20: | Line 20: | ||
{{S2Howtos}} | {{S2Howtos}} | ||
− | + | ]] |
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
]]