Difference between revisions of "Change spike behaviour in Sonic 2"
From Sonic Retro
m (Hivebrain moved page Change spike behaviour sonic 2 to SCHG How-to:Change spike behaviour in Sonic 2) |
|||
Line 1: | Line 1: | ||
− | + | To change the [[Spike damage behavior|spike behaviour]] to that of ''[[Sonic the Hedgehog (16-bit)|Sonic the Hedgehog]]'', delete the following lines: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<syntaxhighlight lang="asm"> | <syntaxhighlight lang="asm"> | ||
tst.w invulnerable_time(a1) ; is character invulnerable? | tst.w invulnerable_time(a1) ; is character invulnerable? | ||
Line 15: | Line 6: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Guide by [[User:Shadow05]]. | |
− | |||
− | |||
{{S2Howtos}} | {{S2Howtos}} | ||
− | [[Category:SCHG How-tos | + | [[Category:SCHG How-tos]] |
Revision as of 16:34, 9 September 2017
To change the spike behaviour to that of Sonic the Hedgehog, delete the following lines:
tst.w invulnerable_time(a1) ; is character invulnerable?
bne.s + ; rts ; if yes, branch
Guide by User:Shadow05.