Skip to content

Instantly share code, notes, and snippets.

@Jesuszilla
Last active January 30, 2024 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jesuszilla/02b51e716e3ec3387618e8b9f20e7694 to your computer and use it in GitHub Desktop.
Save Jesuszilla/02b51e716e3ec3387618e8b9f20e7694 to your computer and use it in GitHub Desktop.
IKEMEN-Go QOL improvements for Jesuszilla and Warusaki3 CvS2 characters to display EX portraits and use height code (nightly only)
[Statedef -4]
ignorehitpause {
if gameMode = "demo" {
lifeset {value: LifeMax}
}
# Change Jesuszilla and Warusaki3 characters to EX portraits
if ((authorName = "Jesuszilla" && fVar(17) = 1 && var(24) > 0 && name != "cvsfelicia") ||
(authorName = "Warusaki3" && fVar(39) = 1 && var(12) > 0)) && !map(_IFESys_SetEXMode) {
remapSprite { preset: "EX"; reset: 1; }
map(_IFESys_SetEXMode) := 1;
}
# Convert Helper 247 height code to real height code
if numHelper(247) {
if helper(247), var(40) || helper(247), var(41) || helper(247), var(42) || helper(247), var(43) {
height { value: -const(Size.Height) - helper(247), var(41), helper(247), var(43); }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment