Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-1-Sonic-2-2013-Script-Decompilation
Path: blob/master/Sonic 2/Scripts/MBZ/BGDimmer.txt
1482 views
1
// ----------------------------------
2
// RSDK Project: Sonic 2
3
// Script Description: BG Dimmer Object
4
// Script Author: Christian Whitehead/Simon Thomley
5
// Unpacked by Rubberduckycooly's script unpacker
6
// ----------------------------------
7
8
// ========================
9
// Aliases
10
// ========================
11
12
private alias object.value10 : MBZSetup.isDimming
13
14
15
// ========================
16
// Events
17
// ========================
18
19
event ObjectUpdate
20
// Start the fade-in
21
MBZSetup[10].isDimming = true
22
end event
23
24
25
// ========================
26
// Editor Events
27
// ========================
28
29
event RSDKDraw
30
DrawSprite(0)
31
end event
32
33
34
event RSDKLoad
35
LoadSpriteSheet("Global/Display.gif")
36
SpriteFrame(-8, -8, 16, 16, 168, 18)
37
38
SetVariableAlias(ALIAS_VAR_PROPVAL, "unused")
39
end event
40
41