Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-CD-2011-Script-Decompilation
Path: blob/main/Scripts/Special/UFONode.txt
1319 views
1
//------------------Sonic CD UFO Node Script------------------//
2
//--------Scripted by Christian Whitehead 'The Taxman'--------//
3
//-------Unpacked By Rubberduckycooly's Script Unpacker-------//
4
5
6
// This object doesn't really do much...
7
// It acts as a node for its parent UFO to use, but the UFO does all the handling so no events even exist here at all
8
9
10
// ========================
11
// Editor Subs
12
// ========================
13
14
sub RSDKDraw
15
DrawSprite(0)
16
end sub
17
18
19
sub RSDKLoad
20
LoadSpriteSheet("Special/Objects.gif")
21
SpriteFrame(-8, -8, 16, 16, 206, 112)
22
23
// Even if the object's blank, its Property Value is still used!
24
SetVariableAlias(ALIAS_VAR_PROPVAL, "ufoDelay")
25
end sub
26
27