
Mania HUD With ECF And MISC Support
Mania HUD With JNVL And Misc Support
This Mania HUD Has Super/Hyper Activation,ECF,and MISC Support.
The GB Version Is Outdated so this is the latest version of this mod.
Sonic 3 A.I.R Mod
Soo, How do I Add Compat for my misc or ECF Character? Well I'm Glad you asked,
For Misc, Go to the Helper Functions script you should see something like this:
// Changes the lives icon for HUD
function string getCharacterLivesIcon(u8 character)
{
// example, change to your own slot
if MISC.player1.character == CHARACTER_CUSTOM
return "hud_lives_icon_custom"
return base.getCharacterLivesIcon(character)
}
Simply replace CUSTOM with your character and in new condition add the name of the new sprite, leaving the one below intact.
function string getCharacterLivesIcon(u8 character)
{
// example, change to your own slot
if (MISC.player1.character == CHARACTER_CUSTOM && Mods.isModActive("SMP-HUD")) //new condition
    return "hud_lives_icon_custom_Mania"
  else if MISC.player1.character == CHARACTER_GOKU //script default
    return "hud_lives_icon_custom"
return base.getCharacterLivesIcon(character)
}
For ECF fans!
replace ID Number With Whatever your ECF ID Char Number is!
function string getCharacterLivesIcon(u8 character)
{
// example, change to your own slot
if (getECFCharBufferId(A0) == ID Number && Mods.isModActive("SMP-HUD")) //new condition
    return "hud_lives_icon_custom_Mania"
  else
    return "hud_lives_icon_custom"
return base.getCharacterLivesIcon(character)
}









