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/Credits/DeathEggRobot.txt
1480 views
1
// ----------------------------------
2
// RSDK Project: Sonic 2
3
// Script Description: Death Egg Robot Object
4
// Script Author: Christian Whitehead/Simon Thomley
5
// Unpacked by Rubberduckycooly's script unpacker
6
// ----------------------------------
7
8
// ========================
9
// Events
10
// ========================
11
12
event ObjectUpdate
13
object.inkEffect = INK_ALPHA
14
object.alpha = 0x80
15
end event
16
17
18
event ObjectDraw
19
DrawSpriteFX(0, FX_INK, object.xpos, object.ypos)
20
end event
21
22
23
event ObjectStartup
24
LoadSpriteSheet("Ending/Fall.gif")
25
SpriteFrame(-51, -20, 102, 40, 153, 87)
26
end event
27
28
29
// ========================
30
// Editor Events
31
// ========================
32
33
event RSDKDraw
34
DrawSprite(0)
35
end event
36
37
38
event RSDKLoad
39
LoadSpriteSheet("Ending/Fall.gif")
40
SpriteFrame(-51, -20, 102, 40, 153, 87)
41
42
SetVariableAlias(ALIAS_VAR_PROPVAL, "unused")
43
end event
44
45