Code: Select all
#Demo loop
%patch $3C2F $33 $C0 $50 $9A $03ED1A31RL $83 $C4 $02 $EB $65 $9A #Play demo 1
$03ED18B8RL $EB $5E $B8 $0001W $50 $9A $03ED1A31RL $83 $C4 $02 #Story screen\demo 2
$EB $50 $9A $03ED1D55RL $EB $49 $B8 $0002W $50 $9A #Highscores
$03ED1A31RL $83 $C4 $02 $EB $3B $33 $FF $B8 $0003W $50 $9A #Demo 3
$03ED1A31RL $83 $C4 $02 #Demo 4
What can it be used for? A few things. To remove an item from the loop simply replace its '$9A $xxxxxxxxRL' string with '$90 $90 $90 $90 $90' Items can also be rearranged, though this takes a little more nuance.
It is also possible to rearrange the order the demos play in by changing the numbers before the demo calls.