Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-CD-2011-Script-Decompilation
Path: blob/main/Scripts/R8/HotaruTrail.txt
1319 views
1
//---------------Sonic CD Hotaru Trail Script-----------------//
2
//--------Scripted by Christian Whitehead 'The Taxman'--------//
3
//-------Unpacked By Rubberduckycooly's Script Unpacker-------//
4
5
sub ObjectMain
6
if Object.Alpha > 0
7
Object.Alpha -= 8
8
else
9
Object.Type = TypeName[Blank Object]
10
end if
11
end sub
12
13
14
sub ObjectDraw
15
DrawSpriteFX(0, FX_INK, Object.XPos, Object.YPos)
16
end sub
17
18
19
sub ObjectStartup
20
LoadSpriteSheet("R8/Objects3.gif")
21
22
SpriteFrame(-12, -10, 24, 24, 146, 133) // #0 - Hotaru Trail
23
end sub
24
25
26
// ========================
27
// Editor Subs
28
// ========================
29
30
sub RSDKDraw
31
DrawSprite(0)
32
end sub
33
34
35
sub RSDKLoad
36
LoadSpriteSheet("R8/Objects3.gif")
37
38
SpriteFrame(-12, -10, 24, 24, 146, 133) // #0 - Hotaru Trail
39
40
SetVariableAlias(ALIAS_VAR_PROPVAL, "unused")
41
end sub
42
43