custom states

This commit is contained in:
Yoshman29
2022-11-30 23:15:32 +01:00
parent 368df4b82c
commit 73ce356d54
4 changed files with 20 additions and 5 deletions
+7 -2
View File
@@ -32,10 +32,11 @@ class Script extends FlxBasic implements IFlxDestroyable {
// Flixel related stuff
"FlxG" => flixel.FlxG,
"FlxSprite" => flixel.FlxSprite,
"FlxEase" => flixel.tweens.FlxEase,
"FlxTween" => flixel.tweens.FlxTween,
"FlxBasic" => flixel.FlxBasic,
"FlxCamera" => flixel.FlxCamera,
"state" => flixel.FlxG.state,
"FlxEase" => flixel.tweens.FlxEase,
"FlxTween" => flixel.tweens.FlxTween,
"FlxSound" => flixel.system.FlxSound,
"FlxAssets" => flixel.system.FlxAssets,
"FlxMath" => flixel.math.FlxMath,
@@ -53,6 +54,7 @@ class Script extends FlxBasic implements IFlxDestroyable {
build: funkin.macros.BuildCounterMacro.getBuildNumber(),
name: "Codename Engine"
},
"ModState" => funkin.scripting.ModState,
"PlayState" => funkin.game.PlayState,
"GameOverSubstate" => funkin.game.GameOverSubstate,
"Note" => funkin.game.Note,
@@ -68,8 +70,11 @@ class Script extends FlxBasic implements IFlxDestroyable {
"Paths" => funkin.system.Paths,
"Conductor" => funkin.system.Conductor,
"CoolUtil" => funkin.system.CoolUtil,
"XMLUtil" => funkin.system.XMLUtil,
"FunkinShader" => funkin.shaders.FunkinShader,
"CustomShader" => funkin.shaders.CustomShader,
"FunkinText" => funkin.ui.FunkinText,
"Alphabet" => funkin.ui.Alphabet,
];
}
/**