Path: blob/main/Scripts/Mission/SonicSpeedUp.txt
1319 views
//---------------Sonic CD Sonic Speed Up Script---------------//1//--------Scripted by Christian Whitehead 'The Taxman'--------//2//-------Unpacked By Rubberduckycooly's Script Unpacker-------//3//-----------Used in Missions "M086 - Gotta Go Fast"----------//4//------------and "M110 - Extreme! Gotta Go Fast"-------------//56sub ObjectStartup78// Set Sonic double his normal speed, matching speed values of Speed Shoes910// Base Acceleration of 0.09375 pixels per frame11Player.Acceleration = 0x18001213// Aerial Acceleration of 0.1875 pixels per frame14Player.AirAcceleration = 0x30001516// Maximum Speed of 12 pixels per frame17Player.TopSpeed = 0xC00001819end sub202122// ========================23// Editor Subs24// ========================2526sub RSDKDraw27DrawSprite(0)28end sub293031sub RSDKLoad32LoadSpriteSheet("Global/Items.gif")33SpriteFrame(-8, -8, 16, 16, 26, 106)3435SetVariableAlias(ALIAS_VAR_PROPVAL, "unused")36end sub3738394041