Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-CD-2011-Script-Decompilation
Path: blob/main/Scripts/Menu/Decorations.txt
1319 views
1
//----------------Sonic CD Decorations Script-----------------//
2
//--------Scripted by Christian Whitehead 'The Taxman'--------//
3
//-------Unpacked By Rubberduckycooly's Script Unpacker-------//
4
//---This Object is normally only used by Mobile Data files---//
5
6
7
sub ObjectDraw
8
Object.Scale = 128
9
DrawSpriteFX(Object.PropertyValue, FX_SCALE, Object.XPos, Object.YPos)
10
end sub
11
12
13
sub ObjectStartup
14
LoadSpriteSheet("Menu/MetalSonic.gif")
15
16
SpriteFrame(-32, -64, 64, 128, 191, 384) // #0 - Blue Hexagon
17
SpriteFrame(-32, -64, 64, 128, 125, 384) // #1 - Green Triangle
18
SpriteFrame(-32, -64, 64, 128, 59, 384) // #2 - Red Triangle
19
SpriteFrame(-32, -20, 64, 39, 157, 343) // #3 - ^
20
SpriteFrame(-20, -32, 39, 64, 114, 275) // #4 - >
21
SpriteFrame(-32, -32, 64, 64, 49, 317) // #5 - Red Diamond
22
end sub
23
24
25
// ========================
26
// Editor Subs
27
// ========================
28
29
sub RSDKDraw
30
DrawSprite(0)
31
end sub
32
33
34
sub RSDKLoad
35
LoadSpriteSheet("Global/Display.gif")
36
SpriteFrame(-16, -16, 32, 32, 1, 143) // #0 - "Script" Icon
37
38
SetVariableAlias(ALIAS_VAR_PROPVAL, "unused")
39
end sub
40
41