Difference between revisions of "Change spike behaviour in Sonic 2"
From Sonic Retro
Line 1: | Line 1: | ||
+ | Guide by [[User:Shadow05]]. | ||
− | To change the [[Spike damage behavior|spike behaviour]] to that of ''[[Sonic the Hedgehog (16-bit)|Sonic the Hedgehog]]'', | + | To change the [[Spike damage behavior|spike behaviour]] to that of ''[[Sonic the Hedgehog (16-bit)|Sonic the Hedgehog]]'', find the following lines: |
− | + | ==GitHub== | |
<syntaxhighlight lang="asm"> | <syntaxhighlight lang="asm"> | ||
Line 9: | Line 10: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Delete them. | |
+ | |||
+ | ==Xerowhirl== | ||
<syntaxhighlight lang="asm"> | <syntaxhighlight lang="asm"> | ||
Line 16: | Line 19: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
{{S2Howtos}} | {{S2Howtos}} | ||
[[Category:SCHG How-tos]] | [[Category:SCHG How-tos]] |
Revision as of 01:19, 14 June 2018
Guide by User:Shadow05.
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