64 King the Memer

64 King the Memer v0.9.1

This update fixes issues with global gMarioIsKing[] and adds a new one, gKSkinInfo[]

gKingExists and g64kExists - These simply check if each mod is active which is necessary to use anything below
1762062760540.png

1762062787899.png


1762062597233.png
gMarioIsKing[]

This can be used in mods as a simple
check for whether the given Mario is
King

1762062566789.png
gKSkinInfo[]

This is useful for grabbing things like
King's current icon, set of models,
display name, assigned sound effect,
and even whether his smaller hitbox is
being used


Additionally, three global functions regarding Star King have been added

1762062957094.png
SAVE_FLAG_UNLOCKED_STAR_KING


This is save flag 64 King the Memer uses
to store whether Star King is unlocked

1762063042530.png
star_king_is_enabled(m)

This simply checks whether the given
Mario is King and has Star King enabled

1762063095072.png
star_king_enable(m)

Enables Star King if the given Mario is
King and Star King hasn't been recently
enabled

1762063127625.png
star_king_disable(m)

Similar to the last, disabled Star King
if the given Mario is King

Luckily for the people who are obviously still gonna click the spoiler I will not reveal how to unlock Star King

Additional Notes:

  • The unused second name feature in kSkins was removed
  • gKingStates is no longer global


and the first update wasnt about mario
ill be damned