Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-CD-2011-Script-Decompilation
Path: blob/main/Scripts/Menu/MetalSonic.txt
1319 views
1
//-----------------Sonic CD Metal Sonic 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 = Object.PropertyValue
9
Object.Scale <<= 1
10
DrawSpriteFX(0, FX_SCALE, Object.XPos, Object.YPos)
11
end sub
12
13
14
sub ObjectStartup
15
LoadSpriteSheet("Menu/MetalSonic.gif")
16
17
SpriteFrame(-63, -127, 126, 254, 1, 1) // #0 - Metal Sonic
18
end sub
19
20
21
// ========================
22
// Editor Subs
23
// ========================
24
25
sub RSDKDraw
26
DrawSprite(0)
27
end sub
28
29
30
sub RSDKLoad
31
LoadSpriteSheet("Menu/MetalSonic.gif")
32
SpriteFrame(-63, -127, 126, 254, 1, 1) // #0 - Metal Sonic
33
34
SetVariableAlias(ALIAS_VAR_PROPVAL, "unused")
35
end sub
36
37