Merge branch 'main' into translations-system

This commit is contained in:
Ne_Eo
2024-08-16 17:17:13 +02:00
23 changed files with 229 additions and 51 deletions
@@ -11,7 +11,11 @@ import funkin.backend.system.Conductor;
class GlobalScript {
public static var scripts:ScriptPack;
private static var initalized:Bool = false;
public static function init() {
if(initalized) return;
initalized = true;
#if MOD_SUPPORT
ModsFolder.onModSwitch.add(onModSwitch);
#end
@@ -0,0 +1,13 @@
package funkin.backend.scripting.events;
final class HealthIconChangeEvent extends CancellableEvent {
/**
* Amount
*/
public var amount:Int;
/**
* The health icon
*/
public var healthIcon:funkin.game.HealthIcon;
}