Path: blob/main/Scripts/R8/BossSpark.txt
1319 views
//----------------Sonic CD Boss Spark Script------------------//1//--------Scripted by Christian Whitehead 'The Taxman'--------//2//-------Unpacked By Rubberduckycooly's Script Unpacker-------//34// Aliases5#alias Object.Value2 : Object.YVelocity678sub ObjectMain9Object.YVelocity += 0x100010Object.YPos += Object.YVelocity1112if Object.Alpha > 013Object.Alpha -= 814else15Object.Type = TypeName[Blank Object]16end if17end sub181920sub ObjectDraw21TempValue0 = Object.AnimationTimer22TempValue0 >>= 223DrawSpriteFX(TempValue0, FX_INK, Object.XPos, Object.YPos)2425Object.AnimationTimer++26Object.AnimationTimer &= 727end sub282930sub ObjectStartup31LoadSpriteSheet("R8/Objects3.gif")3233SpriteFrame(-8, -4, 16, 8, 238, 67) // #0 - Boss Spark34SpriteFrame(-8, -4, 16, 8, 238, 76) // #1 - Boss Spark flipped35end sub363738// ========================39// Editor Subs40// ========================4142sub RSDKDraw43DrawSprite(0)44end sub454647sub RSDKLoad48LoadSpriteSheet("R8/Objects3.gif")4950SpriteFrame(-8, -4, 16, 8, 238, 67) // #0 - Boss Spark5152SetVariableAlias(ALIAS_VAR_PROPVAL, "unused")53end sub545556